Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libXfixes 5.0.3.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 
    202   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    203     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    204     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     PATH=/empty FPATH=/empty; export PATH FPATH
    207     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    208       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1
    209 test \$(( 1 + 1 )) = 2 || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='libXfixes'
    593 PACKAGE_TARNAME='libXfixes'
    594 PACKAGE_VERSION='5.0.3'
    595 PACKAGE_STRING='libXfixes 5.0.3'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 FIXESEXT_LIBS
    641 FIXESEXT_CFLAGS
    642 FIXESEXT_VERSION
    643 MAN_SUBSTS
    644 XORG_MAN_PAGE
    645 ADMIN_MAN_DIR
    646 DRIVER_MAN_DIR
    647 MISC_MAN_DIR
    648 FILE_MAN_DIR
    649 LIB_MAN_DIR
    650 APP_MAN_DIR
    651 ADMIN_MAN_SUFFIX
    652 DRIVER_MAN_SUFFIX
    653 MISC_MAN_SUFFIX
    654 FILE_MAN_SUFFIX
    655 LIB_MAN_SUFFIX
    656 APP_MAN_SUFFIX
    657 INSTALL_CMD
    658 PKG_CONFIG_LIBDIR
    659 PKG_CONFIG_PATH
    660 PKG_CONFIG
    661 CHANGELOG_CMD
    662 STRICT_CFLAGS
    663 CWARNFLAGS
    664 BASE_CFLAGS
    665 CPP
    666 OTOOL64
    667 OTOOL
    668 LIPO
    669 NMEDIT
    670 DSYMUTIL
    671 MANIFEST_TOOL
    672 RANLIB
    673 ac_ct_AR
    674 AR
    675 DLLTOOL
    676 OBJDUMP
    677 LN_S
    678 NM
    679 ac_ct_DUMPBIN
    680 DUMPBIN
    681 LD
    682 FGREP
    683 EGREP
    684 GREP
    685 SED
    686 am__fastdepCC_FALSE
    687 am__fastdepCC_TRUE
    688 CCDEPMODE
    689 am__nodep
    690 AMDEPBACKSLASH
    691 AMDEP_FALSE
    692 AMDEP_TRUE
    693 am__quote
    694 am__include
    695 DEPDIR
    696 OBJEXT
    697 EXEEXT
    698 ac_ct_CC
    699 CPPFLAGS
    700 LDFLAGS
    701 CFLAGS
    702 CC
    703 host_os
    704 host_vendor
    705 host_cpu
    706 host
    707 build_os
    708 build_vendor
    709 build_cpu
    710 build
    711 LIBTOOL
    712 AM_BACKSLASH
    713 AM_DEFAULT_VERBOSITY
    714 AM_DEFAULT_V
    715 AM_V
    716 am__untar
    717 am__tar
    718 AMTAR
    719 am__leading_dot
    720 SET_MAKE
    721 AWK
    722 mkdir_p
    723 MKDIR_P
    724 INSTALL_STRIP_PROGRAM
    725 STRIP
    726 install_sh
    727 MAKEINFO
    728 AUTOHEADER
    729 AUTOMAKE
    730 AUTOCONF
    731 ACLOCAL
    732 VERSION
    733 PACKAGE
    734 CYGPATH_W
    735 am__isrc
    736 INSTALL_DATA
    737 INSTALL_SCRIPT
    738 INSTALL_PROGRAM
    739 target_alias
    740 host_alias
    741 build_alias
    742 LIBS
    743 ECHO_T
    744 ECHO_N
    745 ECHO_C
    746 DEFS
    747 mandir
    748 localedir
    749 libdir
    750 psdir
    751 pdfdir
    752 dvidir
    753 htmldir
    754 infodir
    755 docdir
    756 oldincludedir
    757 includedir
    758 localstatedir
    759 sharedstatedir
    760 sysconfdir
    761 datadir
    762 datarootdir
    763 libexecdir
    764 sbindir
    765 bindir
    766 program_transform_name
    767 prefix
    768 exec_prefix
    769 PACKAGE_URL
    770 PACKAGE_BUGREPORT
    771 PACKAGE_STRING
    772 PACKAGE_VERSION
    773 PACKAGE_TARNAME
    774 PACKAGE_NAME
    775 PATH_SEPARATOR
    776 SHELL'
    777 ac_subst_files=''
    778 ac_user_opts='
    779 enable_option_checking
    780 enable_silent_rules
    781 enable_shared
    782 enable_static
    783 with_pic
    784 enable_fast_install
    785 enable_dependency_tracking
    786 with_gnu_ld
    787 with_sysroot
    788 enable_libtool_lock
    789 enable_selective_werror
    790 enable_strict_compilation
    791 '
    792       ac_precious_vars='build_alias
    793 host_alias
    794 target_alias
    795 CC
    796 CFLAGS
    797 LDFLAGS
    798 LIBS
    799 CPPFLAGS
    800 CPP
    801 PKG_CONFIG
    802 PKG_CONFIG_PATH
    803 PKG_CONFIG_LIBDIR
    804 FIXESEXT_CFLAGS
    805 FIXESEXT_LIBS'
    806 
    807 
    808 # Initialize some variables set by options.
    809 ac_init_help=
    810 ac_init_version=false
    811 ac_unrecognized_opts=
    812 ac_unrecognized_sep=
    813 # The variables have the same names as the options, with
    814 # dashes changed to underlines.
    815 cache_file=/dev/null
    816 exec_prefix=NONE
    817 no_create=
    818 no_recursion=
    819 prefix=NONE
    820 program_prefix=NONE
    821 program_suffix=NONE
    822 program_transform_name=s,x,x,
    823 silent=
    824 site=
    825 srcdir=
    826 verbose=
    827 x_includes=NONE
    828 x_libraries=NONE
    829 
    830 # Installation directory options.
    831 # These are left unexpanded so users can "make install exec_prefix=/foo"
    832 # and all the variables that are supposed to be based on exec_prefix
    833 # by default will actually change.
    834 # Use braces instead of parens because sh, perl, etc. also accept them.
    835 # (The list follows the same order as the GNU Coding Standards.)
    836 bindir='${exec_prefix}/bin'
    837 sbindir='${exec_prefix}/sbin'
    838 libexecdir='${exec_prefix}/libexec'
    839 datarootdir='${prefix}/share'
    840 datadir='${datarootdir}'
    841 sysconfdir='${prefix}/etc'
    842 sharedstatedir='${prefix}/com'
    843 localstatedir='${prefix}/var'
    844 includedir='${prefix}/include'
    845 oldincludedir='/usr/include'
    846 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    847 infodir='${datarootdir}/info'
    848 htmldir='${docdir}'
    849 dvidir='${docdir}'
    850 pdfdir='${docdir}'
    851 psdir='${docdir}'
    852 libdir='${exec_prefix}/lib'
    853 localedir='${datarootdir}/locale'
    854 mandir='${datarootdir}/man'
    855 
    856 ac_prev=
    857 ac_dashdash=
    858 for ac_option
    859 do
    860   # If the previous option needs an argument, assign it.
    861   if test -n "$ac_prev"; then
    862     eval $ac_prev=\$ac_option
    863     ac_prev=
    864     continue
    865   fi
    866 
    867   case $ac_option in
    868   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    869   *=)   ac_optarg= ;;
    870   *)    ac_optarg=yes ;;
    871   esac
    872 
    873   # Accept the important Cygnus configure options, so we can diagnose typos.
    874 
    875   case $ac_dashdash$ac_option in
    876   --)
    877     ac_dashdash=yes ;;
    878 
    879   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    880     ac_prev=bindir ;;
    881   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    882     bindir=$ac_optarg ;;
    883 
    884   -build | --build | --buil | --bui | --bu)
    885     ac_prev=build_alias ;;
    886   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    887     build_alias=$ac_optarg ;;
    888 
    889   -cache-file | --cache-file | --cache-fil | --cache-fi \
    890   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    891     ac_prev=cache_file ;;
    892   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    893   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    894     cache_file=$ac_optarg ;;
    895 
    896   --config-cache | -C)
    897     cache_file=config.cache ;;
    898 
    899   -datadir | --datadir | --datadi | --datad)
    900     ac_prev=datadir ;;
    901   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    902     datadir=$ac_optarg ;;
    903 
    904   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    905   | --dataroo | --dataro | --datar)
    906     ac_prev=datarootdir ;;
    907   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    908   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    909     datarootdir=$ac_optarg ;;
    910 
    911   -disable-* | --disable-*)
    912     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    913     # Reject names that are not valid shell variable names.
    914     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    915       as_fn_error $? "invalid feature name: $ac_useropt"
    916     ac_useropt_orig=$ac_useropt
    917     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    918     case $ac_user_opts in
    919       *"
    920 "enable_$ac_useropt"
    921 "*) ;;
    922       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    923 	 ac_unrecognized_sep=', ';;
    924     esac
    925     eval enable_$ac_useropt=no ;;
    926 
    927   -docdir | --docdir | --docdi | --doc | --do)
    928     ac_prev=docdir ;;
    929   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    930     docdir=$ac_optarg ;;
    931 
    932   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    933     ac_prev=dvidir ;;
    934   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    935     dvidir=$ac_optarg ;;
    936 
    937   -enable-* | --enable-*)
    938     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    939     # Reject names that are not valid shell variable names.
    940     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    941       as_fn_error $? "invalid feature name: $ac_useropt"
    942     ac_useropt_orig=$ac_useropt
    943     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    944     case $ac_user_opts in
    945       *"
    946 "enable_$ac_useropt"
    947 "*) ;;
    948       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    949 	 ac_unrecognized_sep=', ';;
    950     esac
    951     eval enable_$ac_useropt=\$ac_optarg ;;
    952 
    953   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    954   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    955   | --exec | --exe | --ex)
    956     ac_prev=exec_prefix ;;
    957   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    958   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    959   | --exec=* | --exe=* | --ex=*)
    960     exec_prefix=$ac_optarg ;;
    961 
    962   -gas | --gas | --ga | --g)
    963     # Obsolete; use --with-gas.
    964     with_gas=yes ;;
    965 
    966   -help | --help | --hel | --he | -h)
    967     ac_init_help=long ;;
    968   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    969     ac_init_help=recursive ;;
    970   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    971     ac_init_help=short ;;
    972 
    973   -host | --host | --hos | --ho)
    974     ac_prev=host_alias ;;
    975   -host=* | --host=* | --hos=* | --ho=*)
    976     host_alias=$ac_optarg ;;
    977 
    978   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    979     ac_prev=htmldir ;;
    980   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    981   | --ht=*)
    982     htmldir=$ac_optarg ;;
    983 
    984   -includedir | --includedir | --includedi | --included | --include \
    985   | --includ | --inclu | --incl | --inc)
    986     ac_prev=includedir ;;
    987   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    988   | --includ=* | --inclu=* | --incl=* | --inc=*)
    989     includedir=$ac_optarg ;;
    990 
    991   -infodir | --infodir | --infodi | --infod | --info | --inf)
    992     ac_prev=infodir ;;
    993   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    994     infodir=$ac_optarg ;;
    995 
    996   -libdir | --libdir | --libdi | --libd)
    997     ac_prev=libdir ;;
    998   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    999     libdir=$ac_optarg ;;
   1000 
   1001   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1002   | --libexe | --libex | --libe)
   1003     ac_prev=libexecdir ;;
   1004   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1005   | --libexe=* | --libex=* | --libe=*)
   1006     libexecdir=$ac_optarg ;;
   1007 
   1008   -localedir | --localedir | --localedi | --localed | --locale)
   1009     ac_prev=localedir ;;
   1010   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1011     localedir=$ac_optarg ;;
   1012 
   1013   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1014   | --localstate | --localstat | --localsta | --localst | --locals)
   1015     ac_prev=localstatedir ;;
   1016   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1017   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1018     localstatedir=$ac_optarg ;;
   1019 
   1020   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1021     ac_prev=mandir ;;
   1022   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1023     mandir=$ac_optarg ;;
   1024 
   1025   -nfp | --nfp | --nf)
   1026     # Obsolete; use --without-fp.
   1027     with_fp=no ;;
   1028 
   1029   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1030   | --no-cr | --no-c | -n)
   1031     no_create=yes ;;
   1032 
   1033   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1034   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1035     no_recursion=yes ;;
   1036 
   1037   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1038   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1039   | --oldin | --oldi | --old | --ol | --o)
   1040     ac_prev=oldincludedir ;;
   1041   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1042   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1043   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1044     oldincludedir=$ac_optarg ;;
   1045 
   1046   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1047     ac_prev=prefix ;;
   1048   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1049     prefix=$ac_optarg ;;
   1050 
   1051   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1052   | --program-pre | --program-pr | --program-p)
   1053     ac_prev=program_prefix ;;
   1054   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1055   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1056     program_prefix=$ac_optarg ;;
   1057 
   1058   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1059   | --program-suf | --program-su | --program-s)
   1060     ac_prev=program_suffix ;;
   1061   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1062   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1063     program_suffix=$ac_optarg ;;
   1064 
   1065   -program-transform-name | --program-transform-name \
   1066   | --program-transform-nam | --program-transform-na \
   1067   | --program-transform-n | --program-transform- \
   1068   | --program-transform | --program-transfor \
   1069   | --program-transfo | --program-transf \
   1070   | --program-trans | --program-tran \
   1071   | --progr-tra | --program-tr | --program-t)
   1072     ac_prev=program_transform_name ;;
   1073   -program-transform-name=* | --program-transform-name=* \
   1074   | --program-transform-nam=* | --program-transform-na=* \
   1075   | --program-transform-n=* | --program-transform-=* \
   1076   | --program-transform=* | --program-transfor=* \
   1077   | --program-transfo=* | --program-transf=* \
   1078   | --program-trans=* | --program-tran=* \
   1079   | --progr-tra=* | --program-tr=* | --program-t=*)
   1080     program_transform_name=$ac_optarg ;;
   1081 
   1082   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1083     ac_prev=pdfdir ;;
   1084   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1085     pdfdir=$ac_optarg ;;
   1086 
   1087   -psdir | --psdir | --psdi | --psd | --ps)
   1088     ac_prev=psdir ;;
   1089   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1090     psdir=$ac_optarg ;;
   1091 
   1092   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1093   | -silent | --silent | --silen | --sile | --sil)
   1094     silent=yes ;;
   1095 
   1096   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1097     ac_prev=sbindir ;;
   1098   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1099   | --sbi=* | --sb=*)
   1100     sbindir=$ac_optarg ;;
   1101 
   1102   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1103   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1104   | --sharedst | --shareds | --shared | --share | --shar \
   1105   | --sha | --sh)
   1106     ac_prev=sharedstatedir ;;
   1107   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1108   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1109   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1110   | --sha=* | --sh=*)
   1111     sharedstatedir=$ac_optarg ;;
   1112 
   1113   -site | --site | --sit)
   1114     ac_prev=site ;;
   1115   -site=* | --site=* | --sit=*)
   1116     site=$ac_optarg ;;
   1117 
   1118   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1119     ac_prev=srcdir ;;
   1120   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1121     srcdir=$ac_optarg ;;
   1122 
   1123   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1124   | --syscon | --sysco | --sysc | --sys | --sy)
   1125     ac_prev=sysconfdir ;;
   1126   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1127   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1128     sysconfdir=$ac_optarg ;;
   1129 
   1130   -target | --target | --targe | --targ | --tar | --ta | --t)
   1131     ac_prev=target_alias ;;
   1132   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1133     target_alias=$ac_optarg ;;
   1134 
   1135   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1136     verbose=yes ;;
   1137 
   1138   -version | --version | --versio | --versi | --vers | -V)
   1139     ac_init_version=: ;;
   1140 
   1141   -with-* | --with-*)
   1142     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1143     # Reject names that are not valid shell variable names.
   1144     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1145       as_fn_error $? "invalid package name: $ac_useropt"
   1146     ac_useropt_orig=$ac_useropt
   1147     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1148     case $ac_user_opts in
   1149       *"
   1150 "with_$ac_useropt"
   1151 "*) ;;
   1152       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1153 	 ac_unrecognized_sep=', ';;
   1154     esac
   1155     eval with_$ac_useropt=\$ac_optarg ;;
   1156 
   1157   -without-* | --without-*)
   1158     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1159     # Reject names that are not valid shell variable names.
   1160     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1161       as_fn_error $? "invalid package name: $ac_useropt"
   1162     ac_useropt_orig=$ac_useropt
   1163     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1164     case $ac_user_opts in
   1165       *"
   1166 "with_$ac_useropt"
   1167 "*) ;;
   1168       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1169 	 ac_unrecognized_sep=', ';;
   1170     esac
   1171     eval with_$ac_useropt=no ;;
   1172 
   1173   --x)
   1174     # Obsolete; use --with-x.
   1175     with_x=yes ;;
   1176 
   1177   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1178   | --x-incl | --x-inc | --x-in | --x-i)
   1179     ac_prev=x_includes ;;
   1180   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1181   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1182     x_includes=$ac_optarg ;;
   1183 
   1184   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1185   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1186     ac_prev=x_libraries ;;
   1187   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1188   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1189     x_libraries=$ac_optarg ;;
   1190 
   1191   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1192 Try \`$0 --help' for more information"
   1193     ;;
   1194 
   1195   *=*)
   1196     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1197     # Reject names that are not valid shell variable names.
   1198     case $ac_envvar in #(
   1199       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1200       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1201     esac
   1202     eval $ac_envvar=\$ac_optarg
   1203     export $ac_envvar ;;
   1204 
   1205   *)
   1206     # FIXME: should be removed in autoconf 3.0.
   1207     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1208     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1209       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1210     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1211     ;;
   1212 
   1213   esac
   1214 done
   1215 
   1216 if test -n "$ac_prev"; then
   1217   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1218   as_fn_error $? "missing argument to $ac_option"
   1219 fi
   1220 
   1221 if test -n "$ac_unrecognized_opts"; then
   1222   case $enable_option_checking in
   1223     no) ;;
   1224     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1225     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1226   esac
   1227 fi
   1228 
   1229 # Check all directory arguments for consistency.
   1230 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1231 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1232 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1233 		libdir localedir mandir
   1234 do
   1235   eval ac_val=\$$ac_var
   1236   # Remove trailing slashes.
   1237   case $ac_val in
   1238     */ )
   1239       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1240       eval $ac_var=\$ac_val;;
   1241   esac
   1242   # Be sure to have absolute directory names.
   1243   case $ac_val in
   1244     [\\/$]* | ?:[\\/]* )  continue;;
   1245     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1246   esac
   1247   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1248 done
   1249 
   1250 # There might be people who depend on the old broken behavior: `$host'
   1251 # used to hold the argument of --host etc.
   1252 # FIXME: To remove some day.
   1253 build=$build_alias
   1254 host=$host_alias
   1255 target=$target_alias
   1256 
   1257 # FIXME: To remove some day.
   1258 if test "x$host_alias" != x; then
   1259   if test "x$build_alias" = x; then
   1260     cross_compiling=maybe
   1261   elif test "x$build_alias" != "x$host_alias"; then
   1262     cross_compiling=yes
   1263   fi
   1264 fi
   1265 
   1266 ac_tool_prefix=
   1267 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1268 
   1269 test "$silent" = yes && exec 6>/dev/null
   1270 
   1271 
   1272 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1273 ac_ls_di=`ls -di .` &&
   1274 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1275   as_fn_error $? "working directory cannot be determined"
   1276 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1277   as_fn_error $? "pwd does not report name of working directory"
   1278 
   1279 
   1280 # Find the source files, if location was not specified.
   1281 if test -z "$srcdir"; then
   1282   ac_srcdir_defaulted=yes
   1283   # Try the directory containing this script, then the parent directory.
   1284   ac_confdir=`$as_dirname -- "$as_myself" ||
   1285 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1286 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1287 	 X"$as_myself" : 'X\(//\)$' \| \
   1288 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1289 $as_echo X"$as_myself" |
   1290     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1291 	    s//\1/
   1292 	    q
   1293 	  }
   1294 	  /^X\(\/\/\)[^/].*/{
   1295 	    s//\1/
   1296 	    q
   1297 	  }
   1298 	  /^X\(\/\/\)$/{
   1299 	    s//\1/
   1300 	    q
   1301 	  }
   1302 	  /^X\(\/\).*/{
   1303 	    s//\1/
   1304 	    q
   1305 	  }
   1306 	  s/.*/./; q'`
   1307   srcdir=$ac_confdir
   1308   if test ! -r "$srcdir/$ac_unique_file"; then
   1309     srcdir=..
   1310   fi
   1311 else
   1312   ac_srcdir_defaulted=no
   1313 fi
   1314 if test ! -r "$srcdir/$ac_unique_file"; then
   1315   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1316   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1317 fi
   1318 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1319 ac_abs_confdir=`(
   1320 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1321 	pwd)`
   1322 # When building in place, set srcdir=.
   1323 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1324   srcdir=.
   1325 fi
   1326 # Remove unnecessary trailing slashes from srcdir.
   1327 # Double slashes in file names in object file debugging info
   1328 # mess up M-x gdb in Emacs.
   1329 case $srcdir in
   1330 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1331 esac
   1332 for ac_var in $ac_precious_vars; do
   1333   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1334   eval ac_env_${ac_var}_value=\$${ac_var}
   1335   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1336   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1337 done
   1338 
   1339 #
   1340 # Report the --help message.
   1341 #
   1342 if test "$ac_init_help" = "long"; then
   1343   # Omit some internal or obsolete options to make the list less imposing.
   1344   # This message is too long to be a string in the A/UX 3.1 sh.
   1345   cat <<_ACEOF
   1346 \`configure' configures libXfixes 5.0.3 to adapt to many kinds of systems.
   1347 
   1348 Usage: $0 [OPTION]... [VAR=VALUE]...
   1349 
   1350 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1351 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1352 
   1353 Defaults for the options are specified in brackets.
   1354 
   1355 Configuration:
   1356   -h, --help              display this help and exit
   1357       --help=short        display options specific to this package
   1358       --help=recursive    display the short help of all the included packages
   1359   -V, --version           display version information and exit
   1360   -q, --quiet, --silent   do not print \`checking ...' messages
   1361       --cache-file=FILE   cache test results in FILE [disabled]
   1362   -C, --config-cache      alias for \`--cache-file=config.cache'
   1363   -n, --no-create         do not create output files
   1364       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1365 
   1366 Installation directories:
   1367   --prefix=PREFIX         install architecture-independent files in PREFIX
   1368                           [$ac_default_prefix]
   1369   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1370                           [PREFIX]
   1371 
   1372 By default, \`make install' will install all the files in
   1373 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1374 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1375 for instance \`--prefix=\$HOME'.
   1376 
   1377 For better control, use the options below.
   1378 
   1379 Fine tuning of the installation directories:
   1380   --bindir=DIR            user executables [EPREFIX/bin]
   1381   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1382   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1383   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1384   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1385   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1386   --libdir=DIR            object code libraries [EPREFIX/lib]
   1387   --includedir=DIR        C header files [PREFIX/include]
   1388   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1389   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1390   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1391   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1392   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1393   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1394   --docdir=DIR            documentation root [DATAROOTDIR/doc/libXfixes]
   1395   --htmldir=DIR           html documentation [DOCDIR]
   1396   --dvidir=DIR            dvi documentation [DOCDIR]
   1397   --pdfdir=DIR            pdf documentation [DOCDIR]
   1398   --psdir=DIR             ps documentation [DOCDIR]
   1399 _ACEOF
   1400 
   1401   cat <<\_ACEOF
   1402 
   1403 Program names:
   1404   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1405   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1406   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1407 
   1408 System types:
   1409   --build=BUILD     configure for building on BUILD [guessed]
   1410   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1411 _ACEOF
   1412 fi
   1413 
   1414 if test -n "$ac_init_help"; then
   1415   case $ac_init_help in
   1416      short | recursive ) echo "Configuration of libXfixes 5.0.3:";;
   1417    esac
   1418   cat <<\_ACEOF
   1419 
   1420 Optional Features:
   1421   --disable-option-checking  ignore unrecognized --enable/--with options
   1422   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1423   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1424   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1425   --disable-silent-rules  verbose build output (undo: "make V=0")
   1426   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1427   --enable-static[=PKGS]  build static libraries [default=yes]
   1428   --enable-fast-install[=PKGS]
   1429                           optimize for fast installation [default=yes]
   1430   --enable-dependency-tracking
   1431                           do not reject slow dependency extractors
   1432   --disable-dependency-tracking
   1433                           speeds up one-time build
   1434   --disable-libtool-lock  avoid locking (might break parallel builds)
   1435   --disable-selective-werror
   1436                           Turn off selective compiler errors. (default:
   1437                           enabled)
   1438   --enable-strict-compilation
   1439                           Enable all warnings from compiler and make them
   1440                           errors (default: disabled)
   1441 
   1442 Optional Packages:
   1443   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1444   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1445   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1446                           both]
   1447   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1448   --with-sysroot=DIR Search for dependent libraries within DIR
   1449                         (or the compiler's sysroot if not specified).
   1450 
   1451 Some influential environment variables:
   1452   CC          C compiler command
   1453   CFLAGS      C compiler flags
   1454   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1455               nonstandard directory <lib dir>
   1456   LIBS        libraries to pass to the linker, e.g. -l<library>
   1457   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1458               you have headers in a nonstandard directory <include dir>
   1459   CPP         C preprocessor
   1460   PKG_CONFIG  path to pkg-config utility
   1461   PKG_CONFIG_PATH
   1462               directories to add to pkg-config's search path
   1463   PKG_CONFIG_LIBDIR
   1464               path overriding pkg-config's built-in search path
   1465   FIXESEXT_CFLAGS
   1466               C compiler flags for FIXESEXT, overriding pkg-config
   1467   FIXESEXT_LIBS
   1468               linker flags for FIXESEXT, overriding pkg-config
   1469 
   1470 Use these variables to override the choices made by `configure' or to help
   1471 it to find libraries and programs with nonstandard names/locations.
   1472 
   1473 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1474 _ACEOF
   1475 ac_status=$?
   1476 fi
   1477 
   1478 if test "$ac_init_help" = "recursive"; then
   1479   # If there are subdirs, report their specific --help.
   1480   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1481     test -d "$ac_dir" ||
   1482       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1483       continue
   1484     ac_builddir=.
   1485 
   1486 case "$ac_dir" in
   1487 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1488 *)
   1489   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1490   # A ".." for each directory in $ac_dir_suffix.
   1491   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1492   case $ac_top_builddir_sub in
   1493   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1494   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1495   esac ;;
   1496 esac
   1497 ac_abs_top_builddir=$ac_pwd
   1498 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1499 # for backward compatibility:
   1500 ac_top_builddir=$ac_top_build_prefix
   1501 
   1502 case $srcdir in
   1503   .)  # We are building in place.
   1504     ac_srcdir=.
   1505     ac_top_srcdir=$ac_top_builddir_sub
   1506     ac_abs_top_srcdir=$ac_pwd ;;
   1507   [\\/]* | ?:[\\/]* )  # Absolute name.
   1508     ac_srcdir=$srcdir$ac_dir_suffix;
   1509     ac_top_srcdir=$srcdir
   1510     ac_abs_top_srcdir=$srcdir ;;
   1511   *) # Relative name.
   1512     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1513     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1514     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1515 esac
   1516 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1517 
   1518     cd "$ac_dir" || { ac_status=$?; continue; }
   1519     # Check for guested configure.
   1520     if test -f "$ac_srcdir/configure.gnu"; then
   1521       echo &&
   1522       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1523     elif test -f "$ac_srcdir/configure"; then
   1524       echo &&
   1525       $SHELL "$ac_srcdir/configure" --help=recursive
   1526     else
   1527       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1528     fi || ac_status=$?
   1529     cd "$ac_pwd" || { ac_status=$?; break; }
   1530   done
   1531 fi
   1532 
   1533 test -n "$ac_init_help" && exit $ac_status
   1534 if $ac_init_version; then
   1535   cat <<\_ACEOF
   1536 libXfixes configure 5.0.3
   1537 generated by GNU Autoconf 2.69
   1538 
   1539 Copyright (C) 2012 Free Software Foundation, Inc.
   1540 This configure script is free software; the Free Software Foundation
   1541 gives unlimited permission to copy, distribute and modify it.
   1542 _ACEOF
   1543   exit
   1544 fi
   1545 
   1546 ## ------------------------ ##
   1547 ## Autoconf initialization. ##
   1548 ## ------------------------ ##
   1549 
   1550 # ac_fn_c_try_compile LINENO
   1551 # --------------------------
   1552 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1553 ac_fn_c_try_compile ()
   1554 {
   1555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1556   rm -f conftest.$ac_objext
   1557   if { { ac_try="$ac_compile"
   1558 case "(($ac_try" in
   1559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1560   *) ac_try_echo=$ac_try;;
   1561 esac
   1562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1563 $as_echo "$ac_try_echo"; } >&5
   1564   (eval "$ac_compile") 2>conftest.err
   1565   ac_status=$?
   1566   if test -s conftest.err; then
   1567     grep -v '^ *+' conftest.err >conftest.er1
   1568     cat conftest.er1 >&5
   1569     mv -f conftest.er1 conftest.err
   1570   fi
   1571   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1572   test $ac_status = 0; } && {
   1573 	 test -z "$ac_c_werror_flag" ||
   1574 	 test ! -s conftest.err
   1575        } && test -s conftest.$ac_objext; then :
   1576   ac_retval=0
   1577 else
   1578   $as_echo "$as_me: failed program was:" >&5
   1579 sed 's/^/| /' conftest.$ac_ext >&5
   1580 
   1581 	ac_retval=1
   1582 fi
   1583   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1584   as_fn_set_status $ac_retval
   1585 
   1586 } # ac_fn_c_try_compile
   1587 
   1588 # ac_fn_c_try_link LINENO
   1589 # -----------------------
   1590 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1591 ac_fn_c_try_link ()
   1592 {
   1593   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1594   rm -f conftest.$ac_objext conftest$ac_exeext
   1595   if { { ac_try="$ac_link"
   1596 case "(($ac_try" in
   1597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1598   *) ac_try_echo=$ac_try;;
   1599 esac
   1600 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1601 $as_echo "$ac_try_echo"; } >&5
   1602   (eval "$ac_link") 2>conftest.err
   1603   ac_status=$?
   1604   if test -s conftest.err; then
   1605     grep -v '^ *+' conftest.err >conftest.er1
   1606     cat conftest.er1 >&5
   1607     mv -f conftest.er1 conftest.err
   1608   fi
   1609   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1610   test $ac_status = 0; } && {
   1611 	 test -z "$ac_c_werror_flag" ||
   1612 	 test ! -s conftest.err
   1613        } && test -s conftest$ac_exeext && {
   1614 	 test "$cross_compiling" = yes ||
   1615 	 test -x conftest$ac_exeext
   1616        }; then :
   1617   ac_retval=0
   1618 else
   1619   $as_echo "$as_me: failed program was:" >&5
   1620 sed 's/^/| /' conftest.$ac_ext >&5
   1621 
   1622 	ac_retval=1
   1623 fi
   1624   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1625   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1626   # interfere with the next link command; also delete a directory that is
   1627   # left behind by Apple's compiler.  We do this before executing the actions.
   1628   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1629   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1630   as_fn_set_status $ac_retval
   1631 
   1632 } # ac_fn_c_try_link
   1633 
   1634 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1635 # -------------------------------------------------------
   1636 # Tests whether HEADER exists and can be compiled using the include files in
   1637 # INCLUDES, setting the cache variable VAR accordingly.
   1638 ac_fn_c_check_header_compile ()
   1639 {
   1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1641   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1642 $as_echo_n "checking for $2... " >&6; }
   1643 if eval \${$3+:} false; then :
   1644   $as_echo_n "(cached) " >&6
   1645 else
   1646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1647 /* end confdefs.h.  */
   1648 $4
   1649 #include <$2>
   1650 _ACEOF
   1651 if ac_fn_c_try_compile "$LINENO"; then :
   1652   eval "$3=yes"
   1653 else
   1654   eval "$3=no"
   1655 fi
   1656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1657 fi
   1658 eval ac_res=\$$3
   1659 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1660 $as_echo "$ac_res" >&6; }
   1661   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1662 
   1663 } # ac_fn_c_check_header_compile
   1664 
   1665 # ac_fn_c_try_cpp LINENO
   1666 # ----------------------
   1667 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1668 ac_fn_c_try_cpp ()
   1669 {
   1670   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1671   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1672 case "(($ac_try" in
   1673   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1674   *) ac_try_echo=$ac_try;;
   1675 esac
   1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1677 $as_echo "$ac_try_echo"; } >&5
   1678   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1679   ac_status=$?
   1680   if test -s conftest.err; then
   1681     grep -v '^ *+' conftest.err >conftest.er1
   1682     cat conftest.er1 >&5
   1683     mv -f conftest.er1 conftest.err
   1684   fi
   1685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1686   test $ac_status = 0; } > conftest.i && {
   1687 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1688 	 test ! -s conftest.err
   1689        }; then :
   1690   ac_retval=0
   1691 else
   1692   $as_echo "$as_me: failed program was:" >&5
   1693 sed 's/^/| /' conftest.$ac_ext >&5
   1694 
   1695     ac_retval=1
   1696 fi
   1697   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1698   as_fn_set_status $ac_retval
   1699 
   1700 } # ac_fn_c_try_cpp
   1701 
   1702 # ac_fn_c_try_run LINENO
   1703 # ----------------------
   1704 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1705 # that executables *can* be run.
   1706 ac_fn_c_try_run ()
   1707 {
   1708   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1709   if { { ac_try="$ac_link"
   1710 case "(($ac_try" in
   1711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1712   *) ac_try_echo=$ac_try;;
   1713 esac
   1714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1715 $as_echo "$ac_try_echo"; } >&5
   1716   (eval "$ac_link") 2>&5
   1717   ac_status=$?
   1718   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1719   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1720   { { case "(($ac_try" in
   1721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1722   *) ac_try_echo=$ac_try;;
   1723 esac
   1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1725 $as_echo "$ac_try_echo"; } >&5
   1726   (eval "$ac_try") 2>&5
   1727   ac_status=$?
   1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1729   test $ac_status = 0; }; }; then :
   1730   ac_retval=0
   1731 else
   1732   $as_echo "$as_me: program exited with status $ac_status" >&5
   1733        $as_echo "$as_me: failed program was:" >&5
   1734 sed 's/^/| /' conftest.$ac_ext >&5
   1735 
   1736        ac_retval=$ac_status
   1737 fi
   1738   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1740   as_fn_set_status $ac_retval
   1741 
   1742 } # ac_fn_c_try_run
   1743 
   1744 # ac_fn_c_check_func LINENO FUNC VAR
   1745 # ----------------------------------
   1746 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1747 ac_fn_c_check_func ()
   1748 {
   1749   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1750   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1751 $as_echo_n "checking for $2... " >&6; }
   1752 if eval \${$3+:} false; then :
   1753   $as_echo_n "(cached) " >&6
   1754 else
   1755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1756 /* end confdefs.h.  */
   1757 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1758    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1759 #define $2 innocuous_$2
   1760 
   1761 /* System header to define __stub macros and hopefully few prototypes,
   1762     which can conflict with char $2 (); below.
   1763     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1764     <limits.h> exists even on freestanding compilers.  */
   1765 
   1766 #ifdef __STDC__
   1767 # include <limits.h>
   1768 #else
   1769 # include <assert.h>
   1770 #endif
   1771 
   1772 #undef $2
   1773 
   1774 /* Override any GCC internal prototype to avoid an error.
   1775    Use char because int might match the return type of a GCC
   1776    builtin and then its argument prototype would still apply.  */
   1777 #ifdef __cplusplus
   1778 extern "C"
   1779 #endif
   1780 char $2 ();
   1781 /* The GNU C library defines this for functions which it implements
   1782     to always fail with ENOSYS.  Some functions are actually named
   1783     something starting with __ and the normal name is an alias.  */
   1784 #if defined __stub_$2 || defined __stub___$2
   1785 choke me
   1786 #endif
   1787 
   1788 int
   1789 main ()
   1790 {
   1791 return $2 ();
   1792   ;
   1793   return 0;
   1794 }
   1795 _ACEOF
   1796 if ac_fn_c_try_link "$LINENO"; then :
   1797   eval "$3=yes"
   1798 else
   1799   eval "$3=no"
   1800 fi
   1801 rm -f core conftest.err conftest.$ac_objext \
   1802     conftest$ac_exeext conftest.$ac_ext
   1803 fi
   1804 eval ac_res=\$$3
   1805 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1806 $as_echo "$ac_res" >&6; }
   1807   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1808 
   1809 } # ac_fn_c_check_func
   1810 
   1811 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1812 # ---------------------------------------------
   1813 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1814 # accordingly.
   1815 ac_fn_c_check_decl ()
   1816 {
   1817   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1818   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1819   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1820   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1821 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1822 if eval \${$3+:} false; then :
   1823   $as_echo_n "(cached) " >&6
   1824 else
   1825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1826 /* end confdefs.h.  */
   1827 $4
   1828 int
   1829 main ()
   1830 {
   1831 #ifndef $as_decl_name
   1832 #ifdef __cplusplus
   1833   (void) $as_decl_use;
   1834 #else
   1835   (void) $as_decl_name;
   1836 #endif
   1837 #endif
   1838 
   1839   ;
   1840   return 0;
   1841 }
   1842 _ACEOF
   1843 if ac_fn_c_try_compile "$LINENO"; then :
   1844   eval "$3=yes"
   1845 else
   1846   eval "$3=no"
   1847 fi
   1848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1849 fi
   1850 eval ac_res=\$$3
   1851 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1852 $as_echo "$ac_res" >&6; }
   1853   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1854 
   1855 } # ac_fn_c_check_decl
   1856 cat >config.log <<_ACEOF
   1857 This file contains any messages produced by compilers while
   1858 running configure, to aid debugging if configure makes a mistake.
   1859 
   1860 It was created by libXfixes $as_me 5.0.3, which was
   1861 generated by GNU Autoconf 2.69.  Invocation command line was
   1862 
   1863   $ $0 $@
   1864 
   1865 _ACEOF
   1866 exec 5>>config.log
   1867 {
   1868 cat <<_ASUNAME
   1869 ## --------- ##
   1870 ## Platform. ##
   1871 ## --------- ##
   1872 
   1873 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1874 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1875 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1876 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1877 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1878 
   1879 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1880 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1881 
   1882 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1883 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1884 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1885 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1886 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1887 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1888 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1889 
   1890 _ASUNAME
   1891 
   1892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1893 for as_dir in $PATH
   1894 do
   1895   IFS=$as_save_IFS
   1896   test -z "$as_dir" && as_dir=.
   1897     $as_echo "PATH: $as_dir"
   1898   done
   1899 IFS=$as_save_IFS
   1900 
   1901 } >&5
   1902 
   1903 cat >&5 <<_ACEOF
   1904 
   1905 
   1906 ## ----------- ##
   1907 ## Core tests. ##
   1908 ## ----------- ##
   1909 
   1910 _ACEOF
   1911 
   1912 
   1913 # Keep a trace of the command line.
   1914 # Strip out --no-create and --no-recursion so they do not pile up.
   1915 # Strip out --silent because we don't want to record it for future runs.
   1916 # Also quote any args containing shell meta-characters.
   1917 # Make two passes to allow for proper duplicate-argument suppression.
   1918 ac_configure_args=
   1919 ac_configure_args0=
   1920 ac_configure_args1=
   1921 ac_must_keep_next=false
   1922 for ac_pass in 1 2
   1923 do
   1924   for ac_arg
   1925   do
   1926     case $ac_arg in
   1927     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1928     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1929     | -silent | --silent | --silen | --sile | --sil)
   1930       continue ;;
   1931     *\'*)
   1932       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1933     esac
   1934     case $ac_pass in
   1935     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1936     2)
   1937       as_fn_append ac_configure_args1 " '$ac_arg'"
   1938       if test $ac_must_keep_next = true; then
   1939 	ac_must_keep_next=false # Got value, back to normal.
   1940       else
   1941 	case $ac_arg in
   1942 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1943 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1944 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1945 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1946 	    case "$ac_configure_args0 " in
   1947 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1948 	    esac
   1949 	    ;;
   1950 	  -* ) ac_must_keep_next=true ;;
   1951 	esac
   1952       fi
   1953       as_fn_append ac_configure_args " '$ac_arg'"
   1954       ;;
   1955     esac
   1956   done
   1957 done
   1958 { ac_configure_args0=; unset ac_configure_args0;}
   1959 { ac_configure_args1=; unset ac_configure_args1;}
   1960 
   1961 # When interrupted or exit'd, cleanup temporary files, and complete
   1962 # config.log.  We remove comments because anyway the quotes in there
   1963 # would cause problems or look ugly.
   1964 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1965 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1966 trap 'exit_status=$?
   1967   # Save into config.log some information that might help in debugging.
   1968   {
   1969     echo
   1970 
   1971     $as_echo "## ---------------- ##
   1972 ## Cache variables. ##
   1973 ## ---------------- ##"
   1974     echo
   1975     # The following way of writing the cache mishandles newlines in values,
   1976 (
   1977   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1978     eval ac_val=\$$ac_var
   1979     case $ac_val in #(
   1980     *${as_nl}*)
   1981       case $ac_var in #(
   1982       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1983 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1984       esac
   1985       case $ac_var in #(
   1986       _ | IFS | as_nl) ;; #(
   1987       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   1988       *) { eval $ac_var=; unset $ac_var;} ;;
   1989       esac ;;
   1990     esac
   1991   done
   1992   (set) 2>&1 |
   1993     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   1994     *${as_nl}ac_space=\ *)
   1995       sed -n \
   1996 	"s/'\''/'\''\\\\'\'''\''/g;
   1997 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   1998       ;; #(
   1999     *)
   2000       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2001       ;;
   2002     esac |
   2003     sort
   2004 )
   2005     echo
   2006 
   2007     $as_echo "## ----------------- ##
   2008 ## Output variables. ##
   2009 ## ----------------- ##"
   2010     echo
   2011     for ac_var in $ac_subst_vars
   2012     do
   2013       eval ac_val=\$$ac_var
   2014       case $ac_val in
   2015       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2016       esac
   2017       $as_echo "$ac_var='\''$ac_val'\''"
   2018     done | sort
   2019     echo
   2020 
   2021     if test -n "$ac_subst_files"; then
   2022       $as_echo "## ------------------- ##
   2023 ## File substitutions. ##
   2024 ## ------------------- ##"
   2025       echo
   2026       for ac_var in $ac_subst_files
   2027       do
   2028 	eval ac_val=\$$ac_var
   2029 	case $ac_val in
   2030 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2031 	esac
   2032 	$as_echo "$ac_var='\''$ac_val'\''"
   2033       done | sort
   2034       echo
   2035     fi
   2036 
   2037     if test -s confdefs.h; then
   2038       $as_echo "## ----------- ##
   2039 ## confdefs.h. ##
   2040 ## ----------- ##"
   2041       echo
   2042       cat confdefs.h
   2043       echo
   2044     fi
   2045     test "$ac_signal" != 0 &&
   2046       $as_echo "$as_me: caught signal $ac_signal"
   2047     $as_echo "$as_me: exit $exit_status"
   2048   } >&5
   2049   rm -f core *.core core.conftest.* &&
   2050     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2051     exit $exit_status
   2052 ' 0
   2053 for ac_signal in 1 2 13 15; do
   2054   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2055 done
   2056 ac_signal=0
   2057 
   2058 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2059 rm -f -r conftest* confdefs.h
   2060 
   2061 $as_echo "/* confdefs.h */" > confdefs.h
   2062 
   2063 # Predefined preprocessor variables.
   2064 
   2065 cat >>confdefs.h <<_ACEOF
   2066 #define PACKAGE_NAME "$PACKAGE_NAME"
   2067 _ACEOF
   2068 
   2069 cat >>confdefs.h <<_ACEOF
   2070 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2071 _ACEOF
   2072 
   2073 cat >>confdefs.h <<_ACEOF
   2074 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2075 _ACEOF
   2076 
   2077 cat >>confdefs.h <<_ACEOF
   2078 #define PACKAGE_STRING "$PACKAGE_STRING"
   2079 _ACEOF
   2080 
   2081 cat >>confdefs.h <<_ACEOF
   2082 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2083 _ACEOF
   2084 
   2085 cat >>confdefs.h <<_ACEOF
   2086 #define PACKAGE_URL "$PACKAGE_URL"
   2087 _ACEOF
   2088 
   2089 
   2090 # Let the site file select an alternate cache file if it wants to.
   2091 # Prefer an explicitly selected file to automatically selected ones.
   2092 ac_site_file1=NONE
   2093 ac_site_file2=NONE
   2094 if test -n "$CONFIG_SITE"; then
   2095   # We do not want a PATH search for config.site.
   2096   case $CONFIG_SITE in #((
   2097     -*)  ac_site_file1=./$CONFIG_SITE;;
   2098     */*) ac_site_file1=$CONFIG_SITE;;
   2099     *)   ac_site_file1=./$CONFIG_SITE;;
   2100   esac
   2101 elif test "x$prefix" != xNONE; then
   2102   ac_site_file1=$prefix/share/config.site
   2103   ac_site_file2=$prefix/etc/config.site
   2104 else
   2105   ac_site_file1=$ac_default_prefix/share/config.site
   2106   ac_site_file2=$ac_default_prefix/etc/config.site
   2107 fi
   2108 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2109 do
   2110   test "x$ac_site_file" = xNONE && continue
   2111   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2112     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2113 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2114     sed 's/^/| /' "$ac_site_file" >&5
   2115     . "$ac_site_file" \
   2116       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2117 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2118 as_fn_error $? "failed to load site script $ac_site_file
   2119 See \`config.log' for more details" "$LINENO" 5; }
   2120   fi
   2121 done
   2122 
   2123 if test -r "$cache_file"; then
   2124   # Some versions of bash will fail to source /dev/null (special files
   2125   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2126   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2127     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2128 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2129     case $cache_file in
   2130       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2131       *)                      . "./$cache_file";;
   2132     esac
   2133   fi
   2134 else
   2135   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2136 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2137   >$cache_file
   2138 fi
   2139 
   2140 # Check that the precious variables saved in the cache have kept the same
   2141 # value.
   2142 ac_cache_corrupted=false
   2143 for ac_var in $ac_precious_vars; do
   2144   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2145   eval ac_new_set=\$ac_env_${ac_var}_set
   2146   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2147   eval ac_new_val=\$ac_env_${ac_var}_value
   2148   case $ac_old_set,$ac_new_set in
   2149     set,)
   2150       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2151 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2152       ac_cache_corrupted=: ;;
   2153     ,set)
   2154       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2155 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2156       ac_cache_corrupted=: ;;
   2157     ,);;
   2158     *)
   2159       if test "x$ac_old_val" != "x$ac_new_val"; then
   2160 	# differences in whitespace do not lead to failure.
   2161 	ac_old_val_w=`echo x $ac_old_val`
   2162 	ac_new_val_w=`echo x $ac_new_val`
   2163 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2164 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2165 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2166 	  ac_cache_corrupted=:
   2167 	else
   2168 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2169 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2170 	  eval $ac_var=\$ac_old_val
   2171 	fi
   2172 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2173 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2174 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2175 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2176       fi;;
   2177   esac
   2178   # Pass precious variables to config.status.
   2179   if test "$ac_new_set" = set; then
   2180     case $ac_new_val in
   2181     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2182     *) ac_arg=$ac_var=$ac_new_val ;;
   2183     esac
   2184     case " $ac_configure_args " in
   2185       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2186       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2187     esac
   2188   fi
   2189 done
   2190 if $ac_cache_corrupted; then
   2191   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2193   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2194 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2195   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2196 fi
   2197 ## -------------------- ##
   2198 ## Main body of script. ##
   2199 ## -------------------- ##
   2200 
   2201 ac_ext=c
   2202 ac_cpp='$CPP $CPPFLAGS'
   2203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2206 
   2207 
   2208 
   2209 ac_config_headers="$ac_config_headers config.h"
   2210 
   2211 
   2212 # Initialize Automake
   2213 am__api_version='1.14'
   2214 
   2215 ac_aux_dir=
   2216 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2217   if test -f "$ac_dir/install-sh"; then
   2218     ac_aux_dir=$ac_dir
   2219     ac_install_sh="$ac_aux_dir/install-sh -c"
   2220     break
   2221   elif test -f "$ac_dir/install.sh"; then
   2222     ac_aux_dir=$ac_dir
   2223     ac_install_sh="$ac_aux_dir/install.sh -c"
   2224     break
   2225   elif test -f "$ac_dir/shtool"; then
   2226     ac_aux_dir=$ac_dir
   2227     ac_install_sh="$ac_aux_dir/shtool install -c"
   2228     break
   2229   fi
   2230 done
   2231 if test -z "$ac_aux_dir"; then
   2232   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2233 fi
   2234 
   2235 # These three variables are undocumented and unsupported,
   2236 # and are intended to be withdrawn in a future Autoconf release.
   2237 # They can cause serious problems if a builder's source tree is in a directory
   2238 # whose full name contains unusual characters.
   2239 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2240 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2241 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2242 
   2243 
   2244 # Find a good install program.  We prefer a C program (faster),
   2245 # so one script is as good as another.  But avoid the broken or
   2246 # incompatible versions:
   2247 # SysV /etc/install, /usr/sbin/install
   2248 # SunOS /usr/etc/install
   2249 # IRIX /sbin/install
   2250 # AIX /bin/install
   2251 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2252 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2253 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2254 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2255 # OS/2's system install, which has a completely different semantic
   2256 # ./install, which can be erroneously created by make from ./install.sh.
   2257 # Reject install programs that cannot install multiple files.
   2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2259 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2260 if test -z "$INSTALL"; then
   2261 if ${ac_cv_path_install+:} false; then :
   2262   $as_echo_n "(cached) " >&6
   2263 else
   2264   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2265 for as_dir in $PATH
   2266 do
   2267   IFS=$as_save_IFS
   2268   test -z "$as_dir" && as_dir=.
   2269     # Account for people who put trailing slashes in PATH elements.
   2270 case $as_dir/ in #((
   2271   ./ | .// | /[cC]/* | \
   2272   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2273   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2274   /usr/ucb/* ) ;;
   2275   *)
   2276     # OSF1 and SCO ODT 3.0 have their own names for install.
   2277     # Don't use installbsd from OSF since it installs stuff as root
   2278     # by default.
   2279     for ac_prog in ginstall scoinst install; do
   2280       for ac_exec_ext in '' $ac_executable_extensions; do
   2281 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2282 	  if test $ac_prog = install &&
   2283 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2284 	    # AIX install.  It has an incompatible calling convention.
   2285 	    :
   2286 	  elif test $ac_prog = install &&
   2287 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2288 	    # program-specific install script used by HP pwplus--don't use.
   2289 	    :
   2290 	  else
   2291 	    rm -rf conftest.one conftest.two conftest.dir
   2292 	    echo one > conftest.one
   2293 	    echo two > conftest.two
   2294 	    mkdir conftest.dir
   2295 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2296 	      test -s conftest.one && test -s conftest.two &&
   2297 	      test -s conftest.dir/conftest.one &&
   2298 	      test -s conftest.dir/conftest.two
   2299 	    then
   2300 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2301 	      break 3
   2302 	    fi
   2303 	  fi
   2304 	fi
   2305       done
   2306     done
   2307     ;;
   2308 esac
   2309 
   2310   done
   2311 IFS=$as_save_IFS
   2312 
   2313 rm -rf conftest.one conftest.two conftest.dir
   2314 
   2315 fi
   2316   if test "${ac_cv_path_install+set}" = set; then
   2317     INSTALL=$ac_cv_path_install
   2318   else
   2319     # As a last resort, use the slow shell script.  Don't cache a
   2320     # value for INSTALL within a source directory, because that will
   2321     # break other packages using the cache if that directory is
   2322     # removed, or if the value is a relative name.
   2323     INSTALL=$ac_install_sh
   2324   fi
   2325 fi
   2326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2327 $as_echo "$INSTALL" >&6; }
   2328 
   2329 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2330 # It thinks the first close brace ends the variable substitution.
   2331 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2332 
   2333 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2334 
   2335 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2336 
   2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2338 $as_echo_n "checking whether build environment is sane... " >&6; }
   2339 # Reject unsafe characters in $srcdir or the absolute working directory
   2340 # name.  Accept space and tab only in the latter.
   2341 am_lf='
   2342 '
   2343 case `pwd` in
   2344   *[\\\"\#\$\&\'\`$am_lf]*)
   2345     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2346 esac
   2347 case $srcdir in
   2348   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2349     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2350 esac
   2351 
   2352 # Do 'set' in a subshell so we don't clobber the current shell's
   2353 # arguments.  Must try -L first in case configure is actually a
   2354 # symlink; some systems play weird games with the mod time of symlinks
   2355 # (eg FreeBSD returns the mod time of the symlink's containing
   2356 # directory).
   2357 if (
   2358    am_has_slept=no
   2359    for am_try in 1 2; do
   2360      echo "timestamp, slept: $am_has_slept" > conftest.file
   2361      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2362      if test "$*" = "X"; then
   2363 	# -L didn't work.
   2364 	set X `ls -t "$srcdir/configure" conftest.file`
   2365      fi
   2366      if test "$*" != "X $srcdir/configure conftest.file" \
   2367 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2368 
   2369 	# If neither matched, then we have a broken ls.  This can happen
   2370 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2371 	# broken ls alias from the environment.  This has actually
   2372 	# happened.  Such a system could not be considered "sane".
   2373 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2374   alias in your environment" "$LINENO" 5
   2375      fi
   2376      if test "$2" = conftest.file || test $am_try -eq 2; then
   2377        break
   2378      fi
   2379      # Just in case.
   2380      sleep 1
   2381      am_has_slept=yes
   2382    done
   2383    test "$2" = conftest.file
   2384    )
   2385 then
   2386    # Ok.
   2387    :
   2388 else
   2389    as_fn_error $? "newly created file is older than distributed files!
   2390 Check your system clock" "$LINENO" 5
   2391 fi
   2392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2393 $as_echo "yes" >&6; }
   2394 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2395 # generated files are strictly newer.
   2396 am_sleep_pid=
   2397 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2398   ( sleep 1 ) &
   2399   am_sleep_pid=$!
   2400 fi
   2401 
   2402 rm -f conftest.file
   2403 
   2404 test "$program_prefix" != NONE &&
   2405   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2406 # Use a double $ so make ignores it.
   2407 test "$program_suffix" != NONE &&
   2408   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2409 # Double any \ or $.
   2410 # By default was `s,x,x', remove it if useless.
   2411 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2412 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2413 
   2414 # expand $ac_aux_dir to an absolute path
   2415 am_aux_dir=`cd $ac_aux_dir && pwd`
   2416 
   2417 if test x"${MISSING+set}" != xset; then
   2418   case $am_aux_dir in
   2419   *\ * | *\	*)
   2420     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2421   *)
   2422     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2423   esac
   2424 fi
   2425 # Use eval to expand $SHELL
   2426 if eval "$MISSING --is-lightweight"; then
   2427   am_missing_run="$MISSING "
   2428 else
   2429   am_missing_run=
   2430   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2431 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2432 fi
   2433 
   2434 if test x"${install_sh}" != xset; then
   2435   case $am_aux_dir in
   2436   *\ * | *\	*)
   2437     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2438   *)
   2439     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2440   esac
   2441 fi
   2442 
   2443 # Installed binaries are usually stripped using 'strip' when the user
   2444 # run "make install-strip".  However 'strip' might not be the right
   2445 # tool to use in cross-compilation environments, therefore Automake
   2446 # will honor the 'STRIP' environment variable to overrule this program.
   2447 if test "$cross_compiling" != no; then
   2448   if test -n "$ac_tool_prefix"; then
   2449   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2450 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2452 $as_echo_n "checking for $ac_word... " >&6; }
   2453 if ${ac_cv_prog_STRIP+:} false; then :
   2454   $as_echo_n "(cached) " >&6
   2455 else
   2456   if test -n "$STRIP"; then
   2457   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2458 else
   2459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2460 for as_dir in $PATH
   2461 do
   2462   IFS=$as_save_IFS
   2463   test -z "$as_dir" && as_dir=.
   2464     for ac_exec_ext in '' $ac_executable_extensions; do
   2465   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2466     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2467     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2468     break 2
   2469   fi
   2470 done
   2471   done
   2472 IFS=$as_save_IFS
   2473 
   2474 fi
   2475 fi
   2476 STRIP=$ac_cv_prog_STRIP
   2477 if test -n "$STRIP"; then
   2478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2479 $as_echo "$STRIP" >&6; }
   2480 else
   2481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2482 $as_echo "no" >&6; }
   2483 fi
   2484 
   2485 
   2486 fi
   2487 if test -z "$ac_cv_prog_STRIP"; then
   2488   ac_ct_STRIP=$STRIP
   2489   # Extract the first word of "strip", so it can be a program name with args.
   2490 set dummy strip; ac_word=$2
   2491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2492 $as_echo_n "checking for $ac_word... " >&6; }
   2493 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2494   $as_echo_n "(cached) " >&6
   2495 else
   2496   if test -n "$ac_ct_STRIP"; then
   2497   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2498 else
   2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2500 for as_dir in $PATH
   2501 do
   2502   IFS=$as_save_IFS
   2503   test -z "$as_dir" && as_dir=.
   2504     for ac_exec_ext in '' $ac_executable_extensions; do
   2505   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2506     ac_cv_prog_ac_ct_STRIP="strip"
   2507     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2508     break 2
   2509   fi
   2510 done
   2511   done
   2512 IFS=$as_save_IFS
   2513 
   2514 fi
   2515 fi
   2516 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2517 if test -n "$ac_ct_STRIP"; then
   2518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2519 $as_echo "$ac_ct_STRIP" >&6; }
   2520 else
   2521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2522 $as_echo "no" >&6; }
   2523 fi
   2524 
   2525   if test "x$ac_ct_STRIP" = x; then
   2526     STRIP=":"
   2527   else
   2528     case $cross_compiling:$ac_tool_warned in
   2529 yes:)
   2530 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2531 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2532 ac_tool_warned=yes ;;
   2533 esac
   2534     STRIP=$ac_ct_STRIP
   2535   fi
   2536 else
   2537   STRIP="$ac_cv_prog_STRIP"
   2538 fi
   2539 
   2540 fi
   2541 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2542 
   2543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2544 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2545 if test -z "$MKDIR_P"; then
   2546   if ${ac_cv_path_mkdir+:} false; then :
   2547   $as_echo_n "(cached) " >&6
   2548 else
   2549   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2550 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2551 do
   2552   IFS=$as_save_IFS
   2553   test -z "$as_dir" && as_dir=.
   2554     for ac_prog in mkdir gmkdir; do
   2555 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2556 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2557 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2558 	     'mkdir (GNU coreutils) '* | \
   2559 	     'mkdir (coreutils) '* | \
   2560 	     'mkdir (fileutils) '4.1*)
   2561 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2562 	       break 3;;
   2563 	   esac
   2564 	 done
   2565        done
   2566   done
   2567 IFS=$as_save_IFS
   2568 
   2569 fi
   2570 
   2571   test -d ./--version && rmdir ./--version
   2572   if test "${ac_cv_path_mkdir+set}" = set; then
   2573     MKDIR_P="$ac_cv_path_mkdir -p"
   2574   else
   2575     # As a last resort, use the slow shell script.  Don't cache a
   2576     # value for MKDIR_P within a source directory, because that will
   2577     # break other packages using the cache if that directory is
   2578     # removed, or if the value is a relative name.
   2579     MKDIR_P="$ac_install_sh -d"
   2580   fi
   2581 fi
   2582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2583 $as_echo "$MKDIR_P" >&6; }
   2584 
   2585 for ac_prog in gawk mawk nawk awk
   2586 do
   2587   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2588 set dummy $ac_prog; ac_word=$2
   2589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2590 $as_echo_n "checking for $ac_word... " >&6; }
   2591 if ${ac_cv_prog_AWK+:} false; then :
   2592   $as_echo_n "(cached) " >&6
   2593 else
   2594   if test -n "$AWK"; then
   2595   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2596 else
   2597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2598 for as_dir in $PATH
   2599 do
   2600   IFS=$as_save_IFS
   2601   test -z "$as_dir" && as_dir=.
   2602     for ac_exec_ext in '' $ac_executable_extensions; do
   2603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2604     ac_cv_prog_AWK="$ac_prog"
   2605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2606     break 2
   2607   fi
   2608 done
   2609   done
   2610 IFS=$as_save_IFS
   2611 
   2612 fi
   2613 fi
   2614 AWK=$ac_cv_prog_AWK
   2615 if test -n "$AWK"; then
   2616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2617 $as_echo "$AWK" >&6; }
   2618 else
   2619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2620 $as_echo "no" >&6; }
   2621 fi
   2622 
   2623 
   2624   test -n "$AWK" && break
   2625 done
   2626 
   2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2628 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2629 set x ${MAKE-make}
   2630 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2631 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2632   $as_echo_n "(cached) " >&6
   2633 else
   2634   cat >conftest.make <<\_ACEOF
   2635 SHELL = /bin/sh
   2636 all:
   2637 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2638 _ACEOF
   2639 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2640 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2641   *@@@%%%=?*=@@@%%%*)
   2642     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2643   *)
   2644     eval ac_cv_prog_make_${ac_make}_set=no;;
   2645 esac
   2646 rm -f conftest.make
   2647 fi
   2648 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2649   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2650 $as_echo "yes" >&6; }
   2651   SET_MAKE=
   2652 else
   2653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2654 $as_echo "no" >&6; }
   2655   SET_MAKE="MAKE=${MAKE-make}"
   2656 fi
   2657 
   2658 rm -rf .tst 2>/dev/null
   2659 mkdir .tst 2>/dev/null
   2660 if test -d .tst; then
   2661   am__leading_dot=.
   2662 else
   2663   am__leading_dot=_
   2664 fi
   2665 rmdir .tst 2>/dev/null
   2666 
   2667 # Check whether --enable-silent-rules was given.
   2668 if test "${enable_silent_rules+set}" = set; then :
   2669   enableval=$enable_silent_rules;
   2670 fi
   2671 
   2672 case $enable_silent_rules in # (((
   2673   yes) AM_DEFAULT_VERBOSITY=0;;
   2674    no) AM_DEFAULT_VERBOSITY=1;;
   2675     *) AM_DEFAULT_VERBOSITY=1;;
   2676 esac
   2677 am_make=${MAKE-make}
   2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2679 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2680 if ${am_cv_make_support_nested_variables+:} false; then :
   2681   $as_echo_n "(cached) " >&6
   2682 else
   2683   if $as_echo 'TRUE=$(BAR$(V))
   2684 BAR0=false
   2685 BAR1=true
   2686 V=1
   2687 am__doit:
   2688 	@$(TRUE)
   2689 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2690   am_cv_make_support_nested_variables=yes
   2691 else
   2692   am_cv_make_support_nested_variables=no
   2693 fi
   2694 fi
   2695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2696 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2697 if test $am_cv_make_support_nested_variables = yes; then
   2698     AM_V='$(V)'
   2699   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2700 else
   2701   AM_V=$AM_DEFAULT_VERBOSITY
   2702   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2703 fi
   2704 AM_BACKSLASH='\'
   2705 
   2706 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2707   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2708   # is not polluted with repeated "-I."
   2709   am__isrc=' -I$(srcdir)'
   2710   # test to see if srcdir already configured
   2711   if test -f $srcdir/config.status; then
   2712     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2713   fi
   2714 fi
   2715 
   2716 # test whether we have cygpath
   2717 if test -z "$CYGPATH_W"; then
   2718   if (cygpath --version) >/dev/null 2>/dev/null; then
   2719     CYGPATH_W='cygpath -w'
   2720   else
   2721     CYGPATH_W=echo
   2722   fi
   2723 fi
   2724 
   2725 
   2726 # Define the identity of the package.
   2727  PACKAGE='libXfixes'
   2728  VERSION='5.0.3'
   2729 
   2730 
   2731 cat >>confdefs.h <<_ACEOF
   2732 #define PACKAGE "$PACKAGE"
   2733 _ACEOF
   2734 
   2735 
   2736 cat >>confdefs.h <<_ACEOF
   2737 #define VERSION "$VERSION"
   2738 _ACEOF
   2739 
   2740 # Some tools Automake needs.
   2741 
   2742 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2743 
   2744 
   2745 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2746 
   2747 
   2748 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2749 
   2750 
   2751 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2752 
   2753 
   2754 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2755 
   2756 # For better backward compatibility.  To be removed once Automake 1.9.x
   2757 # dies out for good.  For more background, see:
   2758 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2759 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2760 mkdir_p='$(MKDIR_P)'
   2761 
   2762 # We need awk for the "check" target.  The system "awk" is bad on
   2763 # some platforms.
   2764 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2765 # in the wild :-(  We should find a proper way to deprecate it ...
   2766 AMTAR='$${TAR-tar}'
   2767 
   2768 
   2769 # We'll loop over all known methods to create a tar archive until one works.
   2770 _am_tools='gnutar  pax cpio none'
   2771 
   2772 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2773 
   2774 
   2775 
   2776 
   2777 
   2778 
   2779 # POSIX will say in a future version that running "rm -f" with no argument
   2780 # is OK; and we want to be able to make that assumption in our Makefile
   2781 # recipes.  So use an aggressive probe to check that the usage we want is
   2782 # actually supported "in the wild" to an acceptable degree.
   2783 # See automake bug#10828.
   2784 # To make any issue more visible, cause the running configure to be aborted
   2785 # by default if the 'rm' program in use doesn't match our expectations; the
   2786 # user can still override this though.
   2787 if rm -f && rm -fr && rm -rf; then : OK; else
   2788   cat >&2 <<'END'
   2789 Oops!
   2790 
   2791 Your 'rm' program seems unable to run without file operands specified
   2792 on the command line, even when the '-f' option is present.  This is contrary
   2793 to the behaviour of most rm programs out there, and not conforming with
   2794 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2795 
   2796 Please tell bug-automake@gnu.org about your system, including the value
   2797 of your $PATH and any error possibly output before this message.  This
   2798 can help us improve future automake versions.
   2799 
   2800 END
   2801   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2802     echo 'Configuration will proceed anyway, since you have set the' >&2
   2803     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2804     echo >&2
   2805   else
   2806     cat >&2 <<'END'
   2807 Aborting the configuration process, to ensure you take notice of the issue.
   2808 
   2809 You can download and install GNU coreutils to get an 'rm' implementation
   2810 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2811 
   2812 If you want to complete the configuration process using your problematic
   2813 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2814 to "yes", and re-run configure.
   2815 
   2816 END
   2817     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2818   fi
   2819 fi
   2820 
   2821 # Initialize libtool
   2822 case `pwd` in
   2823   *\ * | *\	*)
   2824     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2825 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2826 esac
   2827 
   2828 
   2829 
   2830 macro_version='2.4.2'
   2831 macro_revision='1.3337'
   2832 
   2833 
   2834 
   2835 
   2836 
   2837 
   2838 
   2839 
   2840 
   2841 
   2842 
   2843 
   2844 
   2845 ltmain="$ac_aux_dir/ltmain.sh"
   2846 
   2847 # Make sure we can run config.sub.
   2848 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2849   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2850 
   2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2852 $as_echo_n "checking build system type... " >&6; }
   2853 if ${ac_cv_build+:} false; then :
   2854   $as_echo_n "(cached) " >&6
   2855 else
   2856   ac_build_alias=$build_alias
   2857 test "x$ac_build_alias" = x &&
   2858   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2859 test "x$ac_build_alias" = x &&
   2860   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2861 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2862   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2863 
   2864 fi
   2865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2866 $as_echo "$ac_cv_build" >&6; }
   2867 case $ac_cv_build in
   2868 *-*-*) ;;
   2869 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2870 esac
   2871 build=$ac_cv_build
   2872 ac_save_IFS=$IFS; IFS='-'
   2873 set x $ac_cv_build
   2874 shift
   2875 build_cpu=$1
   2876 build_vendor=$2
   2877 shift; shift
   2878 # Remember, the first character of IFS is used to create $*,
   2879 # except with old shells:
   2880 build_os=$*
   2881 IFS=$ac_save_IFS
   2882 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2883 
   2884 
   2885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2886 $as_echo_n "checking host system type... " >&6; }
   2887 if ${ac_cv_host+:} false; then :
   2888   $as_echo_n "(cached) " >&6
   2889 else
   2890   if test "x$host_alias" = x; then
   2891   ac_cv_host=$ac_cv_build
   2892 else
   2893   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2894     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2895 fi
   2896 
   2897 fi
   2898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2899 $as_echo "$ac_cv_host" >&6; }
   2900 case $ac_cv_host in
   2901 *-*-*) ;;
   2902 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2903 esac
   2904 host=$ac_cv_host
   2905 ac_save_IFS=$IFS; IFS='-'
   2906 set x $ac_cv_host
   2907 shift
   2908 host_cpu=$1
   2909 host_vendor=$2
   2910 shift; shift
   2911 # Remember, the first character of IFS is used to create $*,
   2912 # except with old shells:
   2913 host_os=$*
   2914 IFS=$ac_save_IFS
   2915 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2916 
   2917 
   2918 # Backslashify metacharacters that are still active within
   2919 # double-quoted strings.
   2920 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2921 
   2922 # Same as above, but do not quote variable references.
   2923 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2924 
   2925 # Sed substitution to delay expansion of an escaped shell variable in a
   2926 # double_quote_subst'ed string.
   2927 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2928 
   2929 # Sed substitution to delay expansion of an escaped single quote.
   2930 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2931 
   2932 # Sed substitution to avoid accidental globbing in evaled expressions
   2933 no_glob_subst='s/\*/\\\*/g'
   2934 
   2935 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2936 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2937 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2938 
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2940 $as_echo_n "checking how to print strings... " >&6; }
   2941 # Test print first, because it will be a builtin if present.
   2942 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2943    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2944   ECHO='print -r --'
   2945 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2946   ECHO='printf %s\n'
   2947 else
   2948   # Use this function as a fallback that always works.
   2949   func_fallback_echo ()
   2950   {
   2951     eval 'cat <<_LTECHO_EOF
   2952 $1
   2953 _LTECHO_EOF'
   2954   }
   2955   ECHO='func_fallback_echo'
   2956 fi
   2957 
   2958 # func_echo_all arg...
   2959 # Invoke $ECHO with all args, space-separated.
   2960 func_echo_all ()
   2961 {
   2962     $ECHO ""
   2963 }
   2964 
   2965 case "$ECHO" in
   2966   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2967 $as_echo "printf" >&6; } ;;
   2968   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2969 $as_echo "print -r" >&6; } ;;
   2970   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2971 $as_echo "cat" >&6; } ;;
   2972 esac
   2973 
   2974 
   2975 
   2976 
   2977 
   2978 
   2979 
   2980 
   2981 
   2982 
   2983 
   2984 
   2985 
   2986 
   2987 DEPDIR="${am__leading_dot}deps"
   2988 
   2989 ac_config_commands="$ac_config_commands depfiles"
   2990 
   2991 
   2992 am_make=${MAKE-make}
   2993 cat > confinc << 'END'
   2994 am__doit:
   2995 	@echo this is the am__doit target
   2996 .PHONY: am__doit
   2997 END
   2998 # If we don't find an include directive, just comment out the code.
   2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3000 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3001 am__include="#"
   3002 am__quote=
   3003 _am_result=none
   3004 # First try GNU make style include.
   3005 echo "include confinc" > confmf
   3006 # Ignore all kinds of additional output from 'make'.
   3007 case `$am_make -s -f confmf 2> /dev/null` in #(
   3008 *the\ am__doit\ target*)
   3009   am__include=include
   3010   am__quote=
   3011   _am_result=GNU
   3012   ;;
   3013 esac
   3014 # Now try BSD make style include.
   3015 if test "$am__include" = "#"; then
   3016    echo '.include "confinc"' > confmf
   3017    case `$am_make -s -f confmf 2> /dev/null` in #(
   3018    *the\ am__doit\ target*)
   3019      am__include=.include
   3020      am__quote="\""
   3021      _am_result=BSD
   3022      ;;
   3023    esac
   3024 fi
   3025 
   3026 
   3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3028 $as_echo "$_am_result" >&6; }
   3029 rm -f confinc confmf
   3030 
   3031 # Check whether --enable-dependency-tracking was given.
   3032 if test "${enable_dependency_tracking+set}" = set; then :
   3033   enableval=$enable_dependency_tracking;
   3034 fi
   3035 
   3036 if test "x$enable_dependency_tracking" != xno; then
   3037   am_depcomp="$ac_aux_dir/depcomp"
   3038   AMDEPBACKSLASH='\'
   3039   am__nodep='_no'
   3040 fi
   3041  if test "x$enable_dependency_tracking" != xno; then
   3042   AMDEP_TRUE=
   3043   AMDEP_FALSE='#'
   3044 else
   3045   AMDEP_TRUE='#'
   3046   AMDEP_FALSE=
   3047 fi
   3048 
   3049 
   3050 ac_ext=c
   3051 ac_cpp='$CPP $CPPFLAGS'
   3052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3055 if test -n "$ac_tool_prefix"; then
   3056   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3057 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3059 $as_echo_n "checking for $ac_word... " >&6; }
   3060 if ${ac_cv_prog_CC+:} false; then :
   3061   $as_echo_n "(cached) " >&6
   3062 else
   3063   if test -n "$CC"; then
   3064   ac_cv_prog_CC="$CC" # Let the user override the test.
   3065 else
   3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3067 for as_dir in $PATH
   3068 do
   3069   IFS=$as_save_IFS
   3070   test -z "$as_dir" && as_dir=.
   3071     for ac_exec_ext in '' $ac_executable_extensions; do
   3072   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3073     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3074     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3075     break 2
   3076   fi
   3077 done
   3078   done
   3079 IFS=$as_save_IFS
   3080 
   3081 fi
   3082 fi
   3083 CC=$ac_cv_prog_CC
   3084 if test -n "$CC"; then
   3085   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3086 $as_echo "$CC" >&6; }
   3087 else
   3088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3089 $as_echo "no" >&6; }
   3090 fi
   3091 
   3092 
   3093 fi
   3094 if test -z "$ac_cv_prog_CC"; then
   3095   ac_ct_CC=$CC
   3096   # Extract the first word of "gcc", so it can be a program name with args.
   3097 set dummy gcc; ac_word=$2
   3098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3099 $as_echo_n "checking for $ac_word... " >&6; }
   3100 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3101   $as_echo_n "(cached) " >&6
   3102 else
   3103   if test -n "$ac_ct_CC"; then
   3104   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3105 else
   3106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3107 for as_dir in $PATH
   3108 do
   3109   IFS=$as_save_IFS
   3110   test -z "$as_dir" && as_dir=.
   3111     for ac_exec_ext in '' $ac_executable_extensions; do
   3112   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3113     ac_cv_prog_ac_ct_CC="gcc"
   3114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3115     break 2
   3116   fi
   3117 done
   3118   done
   3119 IFS=$as_save_IFS
   3120 
   3121 fi
   3122 fi
   3123 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3124 if test -n "$ac_ct_CC"; then
   3125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3126 $as_echo "$ac_ct_CC" >&6; }
   3127 else
   3128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3129 $as_echo "no" >&6; }
   3130 fi
   3131 
   3132   if test "x$ac_ct_CC" = x; then
   3133     CC=""
   3134   else
   3135     case $cross_compiling:$ac_tool_warned in
   3136 yes:)
   3137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3138 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3139 ac_tool_warned=yes ;;
   3140 esac
   3141     CC=$ac_ct_CC
   3142   fi
   3143 else
   3144   CC="$ac_cv_prog_CC"
   3145 fi
   3146 
   3147 if test -z "$CC"; then
   3148           if test -n "$ac_tool_prefix"; then
   3149     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3150 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3152 $as_echo_n "checking for $ac_word... " >&6; }
   3153 if ${ac_cv_prog_CC+:} false; then :
   3154   $as_echo_n "(cached) " >&6
   3155 else
   3156   if test -n "$CC"; then
   3157   ac_cv_prog_CC="$CC" # Let the user override the test.
   3158 else
   3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3160 for as_dir in $PATH
   3161 do
   3162   IFS=$as_save_IFS
   3163   test -z "$as_dir" && as_dir=.
   3164     for ac_exec_ext in '' $ac_executable_extensions; do
   3165   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3166     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3168     break 2
   3169   fi
   3170 done
   3171   done
   3172 IFS=$as_save_IFS
   3173 
   3174 fi
   3175 fi
   3176 CC=$ac_cv_prog_CC
   3177 if test -n "$CC"; then
   3178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3179 $as_echo "$CC" >&6; }
   3180 else
   3181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3182 $as_echo "no" >&6; }
   3183 fi
   3184 
   3185 
   3186   fi
   3187 fi
   3188 if test -z "$CC"; then
   3189   # Extract the first word of "cc", so it can be a program name with args.
   3190 set dummy cc; ac_word=$2
   3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3192 $as_echo_n "checking for $ac_word... " >&6; }
   3193 if ${ac_cv_prog_CC+:} false; then :
   3194   $as_echo_n "(cached) " >&6
   3195 else
   3196   if test -n "$CC"; then
   3197   ac_cv_prog_CC="$CC" # Let the user override the test.
   3198 else
   3199   ac_prog_rejected=no
   3200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3201 for as_dir in $PATH
   3202 do
   3203   IFS=$as_save_IFS
   3204   test -z "$as_dir" && as_dir=.
   3205     for ac_exec_ext in '' $ac_executable_extensions; do
   3206   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3207     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3208        ac_prog_rejected=yes
   3209        continue
   3210      fi
   3211     ac_cv_prog_CC="cc"
   3212     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3213     break 2
   3214   fi
   3215 done
   3216   done
   3217 IFS=$as_save_IFS
   3218 
   3219 if test $ac_prog_rejected = yes; then
   3220   # We found a bogon in the path, so make sure we never use it.
   3221   set dummy $ac_cv_prog_CC
   3222   shift
   3223   if test $# != 0; then
   3224     # We chose a different compiler from the bogus one.
   3225     # However, it has the same basename, so the bogon will be chosen
   3226     # first if we set CC to just the basename; use the full file name.
   3227     shift
   3228     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3229   fi
   3230 fi
   3231 fi
   3232 fi
   3233 CC=$ac_cv_prog_CC
   3234 if test -n "$CC"; then
   3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3236 $as_echo "$CC" >&6; }
   3237 else
   3238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3239 $as_echo "no" >&6; }
   3240 fi
   3241 
   3242 
   3243 fi
   3244 if test -z "$CC"; then
   3245   if test -n "$ac_tool_prefix"; then
   3246   for ac_prog in cl.exe
   3247   do
   3248     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3251 $as_echo_n "checking for $ac_word... " >&6; }
   3252 if ${ac_cv_prog_CC+:} false; then :
   3253   $as_echo_n "(cached) " >&6
   3254 else
   3255   if test -n "$CC"; then
   3256   ac_cv_prog_CC="$CC" # Let the user override the test.
   3257 else
   3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3259 for as_dir in $PATH
   3260 do
   3261   IFS=$as_save_IFS
   3262   test -z "$as_dir" && as_dir=.
   3263     for ac_exec_ext in '' $ac_executable_extensions; do
   3264   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3265     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3266     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3267     break 2
   3268   fi
   3269 done
   3270   done
   3271 IFS=$as_save_IFS
   3272 
   3273 fi
   3274 fi
   3275 CC=$ac_cv_prog_CC
   3276 if test -n "$CC"; then
   3277   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3278 $as_echo "$CC" >&6; }
   3279 else
   3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3281 $as_echo "no" >&6; }
   3282 fi
   3283 
   3284 
   3285     test -n "$CC" && break
   3286   done
   3287 fi
   3288 if test -z "$CC"; then
   3289   ac_ct_CC=$CC
   3290   for ac_prog in cl.exe
   3291 do
   3292   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3293 set dummy $ac_prog; ac_word=$2
   3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3295 $as_echo_n "checking for $ac_word... " >&6; }
   3296 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3297   $as_echo_n "(cached) " >&6
   3298 else
   3299   if test -n "$ac_ct_CC"; then
   3300   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3301 else
   3302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3303 for as_dir in $PATH
   3304 do
   3305   IFS=$as_save_IFS
   3306   test -z "$as_dir" && as_dir=.
   3307     for ac_exec_ext in '' $ac_executable_extensions; do
   3308   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3309     ac_cv_prog_ac_ct_CC="$ac_prog"
   3310     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3311     break 2
   3312   fi
   3313 done
   3314   done
   3315 IFS=$as_save_IFS
   3316 
   3317 fi
   3318 fi
   3319 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3320 if test -n "$ac_ct_CC"; then
   3321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3322 $as_echo "$ac_ct_CC" >&6; }
   3323 else
   3324   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3325 $as_echo "no" >&6; }
   3326 fi
   3327 
   3328 
   3329   test -n "$ac_ct_CC" && break
   3330 done
   3331 
   3332   if test "x$ac_ct_CC" = x; then
   3333     CC=""
   3334   else
   3335     case $cross_compiling:$ac_tool_warned in
   3336 yes:)
   3337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3339 ac_tool_warned=yes ;;
   3340 esac
   3341     CC=$ac_ct_CC
   3342   fi
   3343 fi
   3344 
   3345 fi
   3346 
   3347 
   3348 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3350 as_fn_error $? "no acceptable C compiler found in \$PATH
   3351 See \`config.log' for more details" "$LINENO" 5; }
   3352 
   3353 # Provide some information about the compiler.
   3354 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3355 set X $ac_compile
   3356 ac_compiler=$2
   3357 for ac_option in --version -v -V -qversion; do
   3358   { { ac_try="$ac_compiler $ac_option >&5"
   3359 case "(($ac_try" in
   3360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3361   *) ac_try_echo=$ac_try;;
   3362 esac
   3363 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3364 $as_echo "$ac_try_echo"; } >&5
   3365   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3366   ac_status=$?
   3367   if test -s conftest.err; then
   3368     sed '10a\
   3369 ... rest of stderr output deleted ...
   3370          10q' conftest.err >conftest.er1
   3371     cat conftest.er1 >&5
   3372   fi
   3373   rm -f conftest.er1 conftest.err
   3374   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3375   test $ac_status = 0; }
   3376 done
   3377 
   3378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3379 /* end confdefs.h.  */
   3380 
   3381 int
   3382 main ()
   3383 {
   3384 
   3385   ;
   3386   return 0;
   3387 }
   3388 _ACEOF
   3389 ac_clean_files_save=$ac_clean_files
   3390 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3391 # Try to create an executable without -o first, disregard a.out.
   3392 # It will help us diagnose broken compilers, and finding out an intuition
   3393 # of exeext.
   3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3395 $as_echo_n "checking whether the C compiler works... " >&6; }
   3396 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3397 
   3398 # The possible output files:
   3399 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3400 
   3401 ac_rmfiles=
   3402 for ac_file in $ac_files
   3403 do
   3404   case $ac_file in
   3405     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3406     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3407   esac
   3408 done
   3409 rm -f $ac_rmfiles
   3410 
   3411 if { { ac_try="$ac_link_default"
   3412 case "(($ac_try" in
   3413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3414   *) ac_try_echo=$ac_try;;
   3415 esac
   3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3417 $as_echo "$ac_try_echo"; } >&5
   3418   (eval "$ac_link_default") 2>&5
   3419   ac_status=$?
   3420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3421   test $ac_status = 0; }; then :
   3422   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3423 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3424 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3425 # so that the user can short-circuit this test for compilers unknown to
   3426 # Autoconf.
   3427 for ac_file in $ac_files ''
   3428 do
   3429   test -f "$ac_file" || continue
   3430   case $ac_file in
   3431     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3432 	;;
   3433     [ab].out )
   3434 	# We found the default executable, but exeext='' is most
   3435 	# certainly right.
   3436 	break;;
   3437     *.* )
   3438 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3439 	then :; else
   3440 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3441 	fi
   3442 	# We set ac_cv_exeext here because the later test for it is not
   3443 	# safe: cross compilers may not add the suffix if given an `-o'
   3444 	# argument, so we may need to know it at that point already.
   3445 	# Even if this section looks crufty: it has the advantage of
   3446 	# actually working.
   3447 	break;;
   3448     * )
   3449 	break;;
   3450   esac
   3451 done
   3452 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3453 
   3454 else
   3455   ac_file=''
   3456 fi
   3457 if test -z "$ac_file"; then :
   3458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3459 $as_echo "no" >&6; }
   3460 $as_echo "$as_me: failed program was:" >&5
   3461 sed 's/^/| /' conftest.$ac_ext >&5
   3462 
   3463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3465 as_fn_error 77 "C compiler cannot create executables
   3466 See \`config.log' for more details" "$LINENO" 5; }
   3467 else
   3468   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3469 $as_echo "yes" >&6; }
   3470 fi
   3471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3472 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3474 $as_echo "$ac_file" >&6; }
   3475 ac_exeext=$ac_cv_exeext
   3476 
   3477 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3478 ac_clean_files=$ac_clean_files_save
   3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3480 $as_echo_n "checking for suffix of executables... " >&6; }
   3481 if { { ac_try="$ac_link"
   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_link") 2>&5
   3489   ac_status=$?
   3490   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3491   test $ac_status = 0; }; then :
   3492   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3493 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3494 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3495 # `rm'.
   3496 for ac_file in conftest.exe conftest conftest.*; do
   3497   test -f "$ac_file" || continue
   3498   case $ac_file in
   3499     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3500     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3501 	  break;;
   3502     * ) break;;
   3503   esac
   3504 done
   3505 else
   3506   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3507 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3508 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3509 See \`config.log' for more details" "$LINENO" 5; }
   3510 fi
   3511 rm -f conftest conftest$ac_cv_exeext
   3512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3513 $as_echo "$ac_cv_exeext" >&6; }
   3514 
   3515 rm -f conftest.$ac_ext
   3516 EXEEXT=$ac_cv_exeext
   3517 ac_exeext=$EXEEXT
   3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3519 /* end confdefs.h.  */
   3520 #include <stdio.h>
   3521 int
   3522 main ()
   3523 {
   3524 FILE *f = fopen ("conftest.out", "w");
   3525  return ferror (f) || fclose (f) != 0;
   3526 
   3527   ;
   3528   return 0;
   3529 }
   3530 _ACEOF
   3531 ac_clean_files="$ac_clean_files conftest.out"
   3532 # Check that the compiler produces executables we can run.  If not, either
   3533 # the compiler is broken, or we cross compile.
   3534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3535 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3536 if test "$cross_compiling" != yes; then
   3537   { { ac_try="$ac_link"
   3538 case "(($ac_try" in
   3539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3540   *) ac_try_echo=$ac_try;;
   3541 esac
   3542 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3543 $as_echo "$ac_try_echo"; } >&5
   3544   (eval "$ac_link") 2>&5
   3545   ac_status=$?
   3546   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3547   test $ac_status = 0; }
   3548   if { ac_try='./conftest$ac_cv_exeext'
   3549   { { case "(($ac_try" in
   3550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3551   *) ac_try_echo=$ac_try;;
   3552 esac
   3553 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3554 $as_echo "$ac_try_echo"; } >&5
   3555   (eval "$ac_try") 2>&5
   3556   ac_status=$?
   3557   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3558   test $ac_status = 0; }; }; then
   3559     cross_compiling=no
   3560   else
   3561     if test "$cross_compiling" = maybe; then
   3562 	cross_compiling=yes
   3563     else
   3564 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3566 as_fn_error $? "cannot run C compiled programs.
   3567 If you meant to cross compile, use \`--host'.
   3568 See \`config.log' for more details" "$LINENO" 5; }
   3569     fi
   3570   fi
   3571 fi
   3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3573 $as_echo "$cross_compiling" >&6; }
   3574 
   3575 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3576 ac_clean_files=$ac_clean_files_save
   3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3578 $as_echo_n "checking for suffix of object files... " >&6; }
   3579 if ${ac_cv_objext+:} false; then :
   3580   $as_echo_n "(cached) " >&6
   3581 else
   3582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3583 /* end confdefs.h.  */
   3584 
   3585 int
   3586 main ()
   3587 {
   3588 
   3589   ;
   3590   return 0;
   3591 }
   3592 _ACEOF
   3593 rm -f conftest.o conftest.obj
   3594 if { { ac_try="$ac_compile"
   3595 case "(($ac_try" in
   3596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3597   *) ac_try_echo=$ac_try;;
   3598 esac
   3599 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3600 $as_echo "$ac_try_echo"; } >&5
   3601   (eval "$ac_compile") 2>&5
   3602   ac_status=$?
   3603   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3604   test $ac_status = 0; }; then :
   3605   for ac_file in conftest.o conftest.obj conftest.*; do
   3606   test -f "$ac_file" || continue;
   3607   case $ac_file in
   3608     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3609     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3610        break;;
   3611   esac
   3612 done
   3613 else
   3614   $as_echo "$as_me: failed program was:" >&5
   3615 sed 's/^/| /' conftest.$ac_ext >&5
   3616 
   3617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3619 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3620 See \`config.log' for more details" "$LINENO" 5; }
   3621 fi
   3622 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3623 fi
   3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3625 $as_echo "$ac_cv_objext" >&6; }
   3626 OBJEXT=$ac_cv_objext
   3627 ac_objext=$OBJEXT
   3628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3629 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3630 if ${ac_cv_c_compiler_gnu+:} false; then :
   3631   $as_echo_n "(cached) " >&6
   3632 else
   3633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3634 /* end confdefs.h.  */
   3635 
   3636 int
   3637 main ()
   3638 {
   3639 #ifndef __GNUC__
   3640        choke me
   3641 #endif
   3642 
   3643   ;
   3644   return 0;
   3645 }
   3646 _ACEOF
   3647 if ac_fn_c_try_compile "$LINENO"; then :
   3648   ac_compiler_gnu=yes
   3649 else
   3650   ac_compiler_gnu=no
   3651 fi
   3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3653 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3654 
   3655 fi
   3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3657 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3658 if test $ac_compiler_gnu = yes; then
   3659   GCC=yes
   3660 else
   3661   GCC=
   3662 fi
   3663 ac_test_CFLAGS=${CFLAGS+set}
   3664 ac_save_CFLAGS=$CFLAGS
   3665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3666 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3667 if ${ac_cv_prog_cc_g+:} false; then :
   3668   $as_echo_n "(cached) " >&6
   3669 else
   3670   ac_save_c_werror_flag=$ac_c_werror_flag
   3671    ac_c_werror_flag=yes
   3672    ac_cv_prog_cc_g=no
   3673    CFLAGS="-g"
   3674    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3675 /* end confdefs.h.  */
   3676 
   3677 int
   3678 main ()
   3679 {
   3680 
   3681   ;
   3682   return 0;
   3683 }
   3684 _ACEOF
   3685 if ac_fn_c_try_compile "$LINENO"; then :
   3686   ac_cv_prog_cc_g=yes
   3687 else
   3688   CFLAGS=""
   3689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3690 /* end confdefs.h.  */
   3691 
   3692 int
   3693 main ()
   3694 {
   3695 
   3696   ;
   3697   return 0;
   3698 }
   3699 _ACEOF
   3700 if ac_fn_c_try_compile "$LINENO"; then :
   3701 
   3702 else
   3703   ac_c_werror_flag=$ac_save_c_werror_flag
   3704 	 CFLAGS="-g"
   3705 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3706 /* end confdefs.h.  */
   3707 
   3708 int
   3709 main ()
   3710 {
   3711 
   3712   ;
   3713   return 0;
   3714 }
   3715 _ACEOF
   3716 if ac_fn_c_try_compile "$LINENO"; then :
   3717   ac_cv_prog_cc_g=yes
   3718 fi
   3719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3720 fi
   3721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3722 fi
   3723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3724    ac_c_werror_flag=$ac_save_c_werror_flag
   3725 fi
   3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3727 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3728 if test "$ac_test_CFLAGS" = set; then
   3729   CFLAGS=$ac_save_CFLAGS
   3730 elif test $ac_cv_prog_cc_g = yes; then
   3731   if test "$GCC" = yes; then
   3732     CFLAGS="-g -O2"
   3733   else
   3734     CFLAGS="-g"
   3735   fi
   3736 else
   3737   if test "$GCC" = yes; then
   3738     CFLAGS="-O2"
   3739   else
   3740     CFLAGS=
   3741   fi
   3742 fi
   3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3744 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3745 if ${ac_cv_prog_cc_c89+:} false; then :
   3746   $as_echo_n "(cached) " >&6
   3747 else
   3748   ac_cv_prog_cc_c89=no
   3749 ac_save_CC=$CC
   3750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3751 /* end confdefs.h.  */
   3752 #include <stdarg.h>
   3753 #include <stdio.h>
   3754 struct stat;
   3755 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3756 struct buf { int x; };
   3757 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3758 static char *e (p, i)
   3759      char **p;
   3760      int i;
   3761 {
   3762   return p[i];
   3763 }
   3764 static char *f (char * (*g) (char **, int), char **p, ...)
   3765 {
   3766   char *s;
   3767   va_list v;
   3768   va_start (v,p);
   3769   s = g (p, va_arg (v,int));
   3770   va_end (v);
   3771   return s;
   3772 }
   3773 
   3774 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3775    function prototypes and stuff, but not '\xHH' hex character constants.
   3776    These don't provoke an error unfortunately, instead are silently treated
   3777    as 'x'.  The following induces an error, until -std is added to get
   3778    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3779    array size at least.  It's necessary to write '\x00'==0 to get something
   3780    that's true only with -std.  */
   3781 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3782 
   3783 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3784    inside strings and character constants.  */
   3785 #define FOO(x) 'x'
   3786 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3787 
   3788 int test (int i, double x);
   3789 struct s1 {int (*f) (int a);};
   3790 struct s2 {int (*f) (double a);};
   3791 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3792 int argc;
   3793 char **argv;
   3794 int
   3795 main ()
   3796 {
   3797 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3798   ;
   3799   return 0;
   3800 }
   3801 _ACEOF
   3802 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3803 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3804 do
   3805   CC="$ac_save_CC $ac_arg"
   3806   if ac_fn_c_try_compile "$LINENO"; then :
   3807   ac_cv_prog_cc_c89=$ac_arg
   3808 fi
   3809 rm -f core conftest.err conftest.$ac_objext
   3810   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3811 done
   3812 rm -f conftest.$ac_ext
   3813 CC=$ac_save_CC
   3814 
   3815 fi
   3816 # AC_CACHE_VAL
   3817 case "x$ac_cv_prog_cc_c89" in
   3818   x)
   3819     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3820 $as_echo "none needed" >&6; } ;;
   3821   xno)
   3822     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3823 $as_echo "unsupported" >&6; } ;;
   3824   *)
   3825     CC="$CC $ac_cv_prog_cc_c89"
   3826     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3827 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3828 esac
   3829 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3830 
   3831 fi
   3832 
   3833 ac_ext=c
   3834 ac_cpp='$CPP $CPPFLAGS'
   3835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3838 
   3839 ac_ext=c
   3840 ac_cpp='$CPP $CPPFLAGS'
   3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3845 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3846 if ${am_cv_prog_cc_c_o+:} false; then :
   3847   $as_echo_n "(cached) " >&6
   3848 else
   3849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3850 /* end confdefs.h.  */
   3851 
   3852 int
   3853 main ()
   3854 {
   3855 
   3856   ;
   3857   return 0;
   3858 }
   3859 _ACEOF
   3860   # Make sure it works both with $CC and with simple cc.
   3861   # Following AC_PROG_CC_C_O, we do the test twice because some
   3862   # compilers refuse to overwrite an existing .o file with -o,
   3863   # though they will create one.
   3864   am_cv_prog_cc_c_o=yes
   3865   for am_i in 1 2; do
   3866     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3867    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3868    ac_status=$?
   3869    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3870    (exit $ac_status); } \
   3871          && test -f conftest2.$ac_objext; then
   3872       : OK
   3873     else
   3874       am_cv_prog_cc_c_o=no
   3875       break
   3876     fi
   3877   done
   3878   rm -f core conftest*
   3879   unset am_i
   3880 fi
   3881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3882 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3883 if test "$am_cv_prog_cc_c_o" != yes; then
   3884    # Losing compiler, so override with the script.
   3885    # FIXME: It is wrong to rewrite CC.
   3886    # But if we don't then we get into trouble of one sort or another.
   3887    # A longer-term fix would be to have automake use am__CC in this case,
   3888    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3889    CC="$am_aux_dir/compile $CC"
   3890 fi
   3891 ac_ext=c
   3892 ac_cpp='$CPP $CPPFLAGS'
   3893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3896 
   3897 
   3898 depcc="$CC"   am_compiler_list=
   3899 
   3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3901 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3902 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3903   $as_echo_n "(cached) " >&6
   3904 else
   3905   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3906   # We make a subdir and do the tests there.  Otherwise we can end up
   3907   # making bogus files that we don't know about and never remove.  For
   3908   # instance it was reported that on HP-UX the gcc test will end up
   3909   # making a dummy file named 'D' -- because '-MD' means "put the output
   3910   # in D".
   3911   rm -rf conftest.dir
   3912   mkdir conftest.dir
   3913   # Copy depcomp to subdir because otherwise we won't find it if we're
   3914   # using a relative directory.
   3915   cp "$am_depcomp" conftest.dir
   3916   cd conftest.dir
   3917   # We will build objects and dependencies in a subdirectory because
   3918   # it helps to detect inapplicable dependency modes.  For instance
   3919   # both Tru64's cc and ICC support -MD to output dependencies as a
   3920   # side effect of compilation, but ICC will put the dependencies in
   3921   # the current directory while Tru64 will put them in the object
   3922   # directory.
   3923   mkdir sub
   3924 
   3925   am_cv_CC_dependencies_compiler_type=none
   3926   if test "$am_compiler_list" = ""; then
   3927      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3928   fi
   3929   am__universal=false
   3930   case " $depcc " in #(
   3931      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3932      esac
   3933 
   3934   for depmode in $am_compiler_list; do
   3935     # Setup a source with many dependencies, because some compilers
   3936     # like to wrap large dependency lists on column 80 (with \), and
   3937     # we should not choose a depcomp mode which is confused by this.
   3938     #
   3939     # We need to recreate these files for each test, as the compiler may
   3940     # overwrite some of them when testing with obscure command lines.
   3941     # This happens at least with the AIX C compiler.
   3942     : > sub/conftest.c
   3943     for i in 1 2 3 4 5 6; do
   3944       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3945       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3946       # Solaris 10 /bin/sh.
   3947       echo '/* dummy */' > sub/conftst$i.h
   3948     done
   3949     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3950 
   3951     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3952     # mode.  It turns out that the SunPro C++ compiler does not properly
   3953     # handle '-M -o', and we need to detect this.  Also, some Intel
   3954     # versions had trouble with output in subdirs.
   3955     am__obj=sub/conftest.${OBJEXT-o}
   3956     am__minus_obj="-o $am__obj"
   3957     case $depmode in
   3958     gcc)
   3959       # This depmode causes a compiler race in universal mode.
   3960       test "$am__universal" = false || continue
   3961       ;;
   3962     nosideeffect)
   3963       # After this tag, mechanisms are not by side-effect, so they'll
   3964       # only be used when explicitly requested.
   3965       if test "x$enable_dependency_tracking" = xyes; then
   3966 	continue
   3967       else
   3968 	break
   3969       fi
   3970       ;;
   3971     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3972       # This compiler won't grok '-c -o', but also, the minuso test has
   3973       # not run yet.  These depmodes are late enough in the game, and
   3974       # so weak that their functioning should not be impacted.
   3975       am__obj=conftest.${OBJEXT-o}
   3976       am__minus_obj=
   3977       ;;
   3978     none) break ;;
   3979     esac
   3980     if depmode=$depmode \
   3981        source=sub/conftest.c object=$am__obj \
   3982        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3983        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3984          >/dev/null 2>conftest.err &&
   3985        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3986        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3987        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3988        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3989       # icc doesn't choke on unknown options, it will just issue warnings
   3990       # or remarks (even with -Werror).  So we grep stderr for any message
   3991       # that says an option was ignored or not supported.
   3992       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3993       #   icc: Command line warning: ignoring option '-M'; no argument required
   3994       # The diagnosis changed in icc 8.0:
   3995       #   icc: Command line remark: option '-MP' not supported
   3996       if (grep 'ignoring option' conftest.err ||
   3997           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3998         am_cv_CC_dependencies_compiler_type=$depmode
   3999         break
   4000       fi
   4001     fi
   4002   done
   4003 
   4004   cd ..
   4005   rm -rf conftest.dir
   4006 else
   4007   am_cv_CC_dependencies_compiler_type=none
   4008 fi
   4009 
   4010 fi
   4011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4012 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4013 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4014 
   4015  if
   4016   test "x$enable_dependency_tracking" != xno \
   4017   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4018   am__fastdepCC_TRUE=
   4019   am__fastdepCC_FALSE='#'
   4020 else
   4021   am__fastdepCC_TRUE='#'
   4022   am__fastdepCC_FALSE=
   4023 fi
   4024 
   4025 
   4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4027 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4028 if ${ac_cv_path_SED+:} false; then :
   4029   $as_echo_n "(cached) " >&6
   4030 else
   4031             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4032      for ac_i in 1 2 3 4 5 6 7; do
   4033        ac_script="$ac_script$as_nl$ac_script"
   4034      done
   4035      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4036      { ac_script=; unset ac_script;}
   4037      if test -z "$SED"; then
   4038   ac_path_SED_found=false
   4039   # Loop through the user's path and test for each of PROGNAME-LIST
   4040   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4041 for as_dir in $PATH
   4042 do
   4043   IFS=$as_save_IFS
   4044   test -z "$as_dir" && as_dir=.
   4045     for ac_prog in sed gsed; do
   4046     for ac_exec_ext in '' $ac_executable_extensions; do
   4047       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4048       as_fn_executable_p "$ac_path_SED" || continue
   4049 # Check for GNU ac_path_SED and select it if it is found.
   4050   # Check for GNU $ac_path_SED
   4051 case `"$ac_path_SED" --version 2>&1` in
   4052 *GNU*)
   4053   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4054 *)
   4055   ac_count=0
   4056   $as_echo_n 0123456789 >"conftest.in"
   4057   while :
   4058   do
   4059     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4060     mv "conftest.tmp" "conftest.in"
   4061     cp "conftest.in" "conftest.nl"
   4062     $as_echo '' >> "conftest.nl"
   4063     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4064     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4065     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4066     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4067       # Best one so far, save it but keep looking for a better one
   4068       ac_cv_path_SED="$ac_path_SED"
   4069       ac_path_SED_max=$ac_count
   4070     fi
   4071     # 10*(2^10) chars as input seems more than enough
   4072     test $ac_count -gt 10 && break
   4073   done
   4074   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4075 esac
   4076 
   4077       $ac_path_SED_found && break 3
   4078     done
   4079   done
   4080   done
   4081 IFS=$as_save_IFS
   4082   if test -z "$ac_cv_path_SED"; then
   4083     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4084   fi
   4085 else
   4086   ac_cv_path_SED=$SED
   4087 fi
   4088 
   4089 fi
   4090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4091 $as_echo "$ac_cv_path_SED" >&6; }
   4092  SED="$ac_cv_path_SED"
   4093   rm -f conftest.sed
   4094 
   4095 test -z "$SED" && SED=sed
   4096 Xsed="$SED -e 1s/^X//"
   4097 
   4098 
   4099 
   4100 
   4101 
   4102 
   4103 
   4104 
   4105 
   4106 
   4107 
   4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4109 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4110 if ${ac_cv_path_GREP+:} false; then :
   4111   $as_echo_n "(cached) " >&6
   4112 else
   4113   if test -z "$GREP"; then
   4114   ac_path_GREP_found=false
   4115   # Loop through the user's path and test for each of PROGNAME-LIST
   4116   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4117 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4118 do
   4119   IFS=$as_save_IFS
   4120   test -z "$as_dir" && as_dir=.
   4121     for ac_prog in grep ggrep; do
   4122     for ac_exec_ext in '' $ac_executable_extensions; do
   4123       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4124       as_fn_executable_p "$ac_path_GREP" || continue
   4125 # Check for GNU ac_path_GREP and select it if it is found.
   4126   # Check for GNU $ac_path_GREP
   4127 case `"$ac_path_GREP" --version 2>&1` in
   4128 *GNU*)
   4129   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4130 *)
   4131   ac_count=0
   4132   $as_echo_n 0123456789 >"conftest.in"
   4133   while :
   4134   do
   4135     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4136     mv "conftest.tmp" "conftest.in"
   4137     cp "conftest.in" "conftest.nl"
   4138     $as_echo 'GREP' >> "conftest.nl"
   4139     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4140     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4141     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4142     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4143       # Best one so far, save it but keep looking for a better one
   4144       ac_cv_path_GREP="$ac_path_GREP"
   4145       ac_path_GREP_max=$ac_count
   4146     fi
   4147     # 10*(2^10) chars as input seems more than enough
   4148     test $ac_count -gt 10 && break
   4149   done
   4150   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4151 esac
   4152 
   4153       $ac_path_GREP_found && break 3
   4154     done
   4155   done
   4156   done
   4157 IFS=$as_save_IFS
   4158   if test -z "$ac_cv_path_GREP"; then
   4159     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4160   fi
   4161 else
   4162   ac_cv_path_GREP=$GREP
   4163 fi
   4164 
   4165 fi
   4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4167 $as_echo "$ac_cv_path_GREP" >&6; }
   4168  GREP="$ac_cv_path_GREP"
   4169 
   4170 
   4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4172 $as_echo_n "checking for egrep... " >&6; }
   4173 if ${ac_cv_path_EGREP+:} false; then :
   4174   $as_echo_n "(cached) " >&6
   4175 else
   4176   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4177    then ac_cv_path_EGREP="$GREP -E"
   4178    else
   4179      if test -z "$EGREP"; then
   4180   ac_path_EGREP_found=false
   4181   # Loop through the user's path and test for each of PROGNAME-LIST
   4182   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4183 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4184 do
   4185   IFS=$as_save_IFS
   4186   test -z "$as_dir" && as_dir=.
   4187     for ac_prog in egrep; do
   4188     for ac_exec_ext in '' $ac_executable_extensions; do
   4189       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4190       as_fn_executable_p "$ac_path_EGREP" || continue
   4191 # Check for GNU ac_path_EGREP and select it if it is found.
   4192   # Check for GNU $ac_path_EGREP
   4193 case `"$ac_path_EGREP" --version 2>&1` in
   4194 *GNU*)
   4195   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4196 *)
   4197   ac_count=0
   4198   $as_echo_n 0123456789 >"conftest.in"
   4199   while :
   4200   do
   4201     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4202     mv "conftest.tmp" "conftest.in"
   4203     cp "conftest.in" "conftest.nl"
   4204     $as_echo 'EGREP' >> "conftest.nl"
   4205     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4206     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4207     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4208     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4209       # Best one so far, save it but keep looking for a better one
   4210       ac_cv_path_EGREP="$ac_path_EGREP"
   4211       ac_path_EGREP_max=$ac_count
   4212     fi
   4213     # 10*(2^10) chars as input seems more than enough
   4214     test $ac_count -gt 10 && break
   4215   done
   4216   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4217 esac
   4218 
   4219       $ac_path_EGREP_found && break 3
   4220     done
   4221   done
   4222   done
   4223 IFS=$as_save_IFS
   4224   if test -z "$ac_cv_path_EGREP"; then
   4225     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4226   fi
   4227 else
   4228   ac_cv_path_EGREP=$EGREP
   4229 fi
   4230 
   4231    fi
   4232 fi
   4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4234 $as_echo "$ac_cv_path_EGREP" >&6; }
   4235  EGREP="$ac_cv_path_EGREP"
   4236 
   4237 
   4238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4239 $as_echo_n "checking for fgrep... " >&6; }
   4240 if ${ac_cv_path_FGREP+:} false; then :
   4241   $as_echo_n "(cached) " >&6
   4242 else
   4243   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4244    then ac_cv_path_FGREP="$GREP -F"
   4245    else
   4246      if test -z "$FGREP"; then
   4247   ac_path_FGREP_found=false
   4248   # Loop through the user's path and test for each of PROGNAME-LIST
   4249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4250 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4251 do
   4252   IFS=$as_save_IFS
   4253   test -z "$as_dir" && as_dir=.
   4254     for ac_prog in fgrep; do
   4255     for ac_exec_ext in '' $ac_executable_extensions; do
   4256       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4257       as_fn_executable_p "$ac_path_FGREP" || continue
   4258 # Check for GNU ac_path_FGREP and select it if it is found.
   4259   # Check for GNU $ac_path_FGREP
   4260 case `"$ac_path_FGREP" --version 2>&1` in
   4261 *GNU*)
   4262   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4263 *)
   4264   ac_count=0
   4265   $as_echo_n 0123456789 >"conftest.in"
   4266   while :
   4267   do
   4268     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4269     mv "conftest.tmp" "conftest.in"
   4270     cp "conftest.in" "conftest.nl"
   4271     $as_echo 'FGREP' >> "conftest.nl"
   4272     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4273     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4274     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4275     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4276       # Best one so far, save it but keep looking for a better one
   4277       ac_cv_path_FGREP="$ac_path_FGREP"
   4278       ac_path_FGREP_max=$ac_count
   4279     fi
   4280     # 10*(2^10) chars as input seems more than enough
   4281     test $ac_count -gt 10 && break
   4282   done
   4283   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4284 esac
   4285 
   4286       $ac_path_FGREP_found && break 3
   4287     done
   4288   done
   4289   done
   4290 IFS=$as_save_IFS
   4291   if test -z "$ac_cv_path_FGREP"; then
   4292     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4293   fi
   4294 else
   4295   ac_cv_path_FGREP=$FGREP
   4296 fi
   4297 
   4298    fi
   4299 fi
   4300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4301 $as_echo "$ac_cv_path_FGREP" >&6; }
   4302  FGREP="$ac_cv_path_FGREP"
   4303 
   4304 
   4305 test -z "$GREP" && GREP=grep
   4306 
   4307 
   4308 
   4309 
   4310 
   4311 
   4312 
   4313 
   4314 
   4315 
   4316 
   4317 
   4318 
   4319 
   4320 
   4321 
   4322 
   4323 
   4324 
   4325 # Check whether --with-gnu-ld was given.
   4326 if test "${with_gnu_ld+set}" = set; then :
   4327   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4328 else
   4329   with_gnu_ld=no
   4330 fi
   4331 
   4332 ac_prog=ld
   4333 if test "$GCC" = yes; then
   4334   # Check if gcc -print-prog-name=ld gives a path.
   4335   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4336 $as_echo_n "checking for ld used by $CC... " >&6; }
   4337   case $host in
   4338   *-*-mingw*)
   4339     # gcc leaves a trailing carriage return which upsets mingw
   4340     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4341   *)
   4342     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4343   esac
   4344   case $ac_prog in
   4345     # Accept absolute paths.
   4346     [\\/]* | ?:[\\/]*)
   4347       re_direlt='/[^/][^/]*/\.\./'
   4348       # Canonicalize the pathname of ld
   4349       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4350       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4351 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4352       done
   4353       test -z "$LD" && LD="$ac_prog"
   4354       ;;
   4355   "")
   4356     # If it fails, then pretend we aren't using GCC.
   4357     ac_prog=ld
   4358     ;;
   4359   *)
   4360     # If it is relative, then search for the first ld in PATH.
   4361     with_gnu_ld=unknown
   4362     ;;
   4363   esac
   4364 elif test "$with_gnu_ld" = yes; then
   4365   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4366 $as_echo_n "checking for GNU ld... " >&6; }
   4367 else
   4368   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4369 $as_echo_n "checking for non-GNU ld... " >&6; }
   4370 fi
   4371 if ${lt_cv_path_LD+:} false; then :
   4372   $as_echo_n "(cached) " >&6
   4373 else
   4374   if test -z "$LD"; then
   4375   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4376   for ac_dir in $PATH; do
   4377     IFS="$lt_save_ifs"
   4378     test -z "$ac_dir" && ac_dir=.
   4379     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4380       lt_cv_path_LD="$ac_dir/$ac_prog"
   4381       # Check to see if the program is GNU ld.  I'd rather use --version,
   4382       # but apparently some variants of GNU ld only accept -v.
   4383       # Break only if it was the GNU/non-GNU ld that we prefer.
   4384       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4385       *GNU* | *'with BFD'*)
   4386 	test "$with_gnu_ld" != no && break
   4387 	;;
   4388       *)
   4389 	test "$with_gnu_ld" != yes && break
   4390 	;;
   4391       esac
   4392     fi
   4393   done
   4394   IFS="$lt_save_ifs"
   4395 else
   4396   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4397 fi
   4398 fi
   4399 
   4400 LD="$lt_cv_path_LD"
   4401 if test -n "$LD"; then
   4402   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4403 $as_echo "$LD" >&6; }
   4404 else
   4405   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4406 $as_echo "no" >&6; }
   4407 fi
   4408 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4410 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4411 if ${lt_cv_prog_gnu_ld+:} false; then :
   4412   $as_echo_n "(cached) " >&6
   4413 else
   4414   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4415 case `$LD -v 2>&1 </dev/null` in
   4416 *GNU* | *'with BFD'*)
   4417   lt_cv_prog_gnu_ld=yes
   4418   ;;
   4419 *)
   4420   lt_cv_prog_gnu_ld=no
   4421   ;;
   4422 esac
   4423 fi
   4424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4425 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4426 with_gnu_ld=$lt_cv_prog_gnu_ld
   4427 
   4428 
   4429 
   4430 
   4431 
   4432 
   4433 
   4434 
   4435 
   4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4437 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4438 if ${lt_cv_path_NM+:} false; then :
   4439   $as_echo_n "(cached) " >&6
   4440 else
   4441   if test -n "$NM"; then
   4442   # Let the user override the test.
   4443   lt_cv_path_NM="$NM"
   4444 else
   4445   lt_nm_to_check="${ac_tool_prefix}nm"
   4446   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4447     lt_nm_to_check="$lt_nm_to_check nm"
   4448   fi
   4449   for lt_tmp_nm in $lt_nm_to_check; do
   4450     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4451     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4452       IFS="$lt_save_ifs"
   4453       test -z "$ac_dir" && ac_dir=.
   4454       tmp_nm="$ac_dir/$lt_tmp_nm"
   4455       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4456 	# Check to see if the nm accepts a BSD-compat flag.
   4457 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4458 	#   nm: unknown option "B" ignored
   4459 	# Tru64's nm complains that /dev/null is an invalid object file
   4460 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4461 	*/dev/null* | *'Invalid file or object type'*)
   4462 	  lt_cv_path_NM="$tmp_nm -B"
   4463 	  break
   4464 	  ;;
   4465 	*)
   4466 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4467 	  */dev/null*)
   4468 	    lt_cv_path_NM="$tmp_nm -p"
   4469 	    break
   4470 	    ;;
   4471 	  *)
   4472 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4473 	    continue # so that we can try to find one that supports BSD flags
   4474 	    ;;
   4475 	  esac
   4476 	  ;;
   4477 	esac
   4478       fi
   4479     done
   4480     IFS="$lt_save_ifs"
   4481   done
   4482   : ${lt_cv_path_NM=no}
   4483 fi
   4484 fi
   4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4486 $as_echo "$lt_cv_path_NM" >&6; }
   4487 if test "$lt_cv_path_NM" != "no"; then
   4488   NM="$lt_cv_path_NM"
   4489 else
   4490   # Didn't find any BSD compatible name lister, look for dumpbin.
   4491   if test -n "$DUMPBIN"; then :
   4492     # Let the user override the test.
   4493   else
   4494     if test -n "$ac_tool_prefix"; then
   4495   for ac_prog in dumpbin "link -dump"
   4496   do
   4497     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4498 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4500 $as_echo_n "checking for $ac_word... " >&6; }
   4501 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4502   $as_echo_n "(cached) " >&6
   4503 else
   4504   if test -n "$DUMPBIN"; then
   4505   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4506 else
   4507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4508 for as_dir in $PATH
   4509 do
   4510   IFS=$as_save_IFS
   4511   test -z "$as_dir" && as_dir=.
   4512     for ac_exec_ext in '' $ac_executable_extensions; do
   4513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4514     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4516     break 2
   4517   fi
   4518 done
   4519   done
   4520 IFS=$as_save_IFS
   4521 
   4522 fi
   4523 fi
   4524 DUMPBIN=$ac_cv_prog_DUMPBIN
   4525 if test -n "$DUMPBIN"; then
   4526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4527 $as_echo "$DUMPBIN" >&6; }
   4528 else
   4529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4530 $as_echo "no" >&6; }
   4531 fi
   4532 
   4533 
   4534     test -n "$DUMPBIN" && break
   4535   done
   4536 fi
   4537 if test -z "$DUMPBIN"; then
   4538   ac_ct_DUMPBIN=$DUMPBIN
   4539   for ac_prog in dumpbin "link -dump"
   4540 do
   4541   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4542 set dummy $ac_prog; ac_word=$2
   4543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4544 $as_echo_n "checking for $ac_word... " >&6; }
   4545 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4546   $as_echo_n "(cached) " >&6
   4547 else
   4548   if test -n "$ac_ct_DUMPBIN"; then
   4549   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4550 else
   4551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4552 for as_dir in $PATH
   4553 do
   4554   IFS=$as_save_IFS
   4555   test -z "$as_dir" && as_dir=.
   4556     for ac_exec_ext in '' $ac_executable_extensions; do
   4557   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4558     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4559     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4560     break 2
   4561   fi
   4562 done
   4563   done
   4564 IFS=$as_save_IFS
   4565 
   4566 fi
   4567 fi
   4568 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4569 if test -n "$ac_ct_DUMPBIN"; then
   4570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4571 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4572 else
   4573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4574 $as_echo "no" >&6; }
   4575 fi
   4576 
   4577 
   4578   test -n "$ac_ct_DUMPBIN" && break
   4579 done
   4580 
   4581   if test "x$ac_ct_DUMPBIN" = x; then
   4582     DUMPBIN=":"
   4583   else
   4584     case $cross_compiling:$ac_tool_warned in
   4585 yes:)
   4586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4587 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4588 ac_tool_warned=yes ;;
   4589 esac
   4590     DUMPBIN=$ac_ct_DUMPBIN
   4591   fi
   4592 fi
   4593 
   4594     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4595     *COFF*)
   4596       DUMPBIN="$DUMPBIN -symbols"
   4597       ;;
   4598     *)
   4599       DUMPBIN=:
   4600       ;;
   4601     esac
   4602   fi
   4603 
   4604   if test "$DUMPBIN" != ":"; then
   4605     NM="$DUMPBIN"
   4606   fi
   4607 fi
   4608 test -z "$NM" && NM=nm
   4609 
   4610 
   4611 
   4612 
   4613 
   4614 
   4615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4616 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4617 if ${lt_cv_nm_interface+:} false; then :
   4618   $as_echo_n "(cached) " >&6
   4619 else
   4620   lt_cv_nm_interface="BSD nm"
   4621   echo "int some_variable = 0;" > conftest.$ac_ext
   4622   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4623   (eval "$ac_compile" 2>conftest.err)
   4624   cat conftest.err >&5
   4625   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4626   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4627   cat conftest.err >&5
   4628   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4629   cat conftest.out >&5
   4630   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4631     lt_cv_nm_interface="MS dumpbin"
   4632   fi
   4633   rm -f conftest*
   4634 fi
   4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4636 $as_echo "$lt_cv_nm_interface" >&6; }
   4637 
   4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4639 $as_echo_n "checking whether ln -s works... " >&6; }
   4640 LN_S=$as_ln_s
   4641 if test "$LN_S" = "ln -s"; then
   4642   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4643 $as_echo "yes" >&6; }
   4644 else
   4645   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4646 $as_echo "no, using $LN_S" >&6; }
   4647 fi
   4648 
   4649 # find the maximum length of command line arguments
   4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4651 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4652 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4653   $as_echo_n "(cached) " >&6
   4654 else
   4655     i=0
   4656   teststring="ABCD"
   4657 
   4658   case $build_os in
   4659   msdosdjgpp*)
   4660     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4661     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4662     # during glob expansion).  Even if it were fixed, the result of this
   4663     # check would be larger than it should be.
   4664     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4665     ;;
   4666 
   4667   gnu*)
   4668     # Under GNU Hurd, this test is not required because there is
   4669     # no limit to the length of command line arguments.
   4670     # Libtool will interpret -1 as no limit whatsoever
   4671     lt_cv_sys_max_cmd_len=-1;
   4672     ;;
   4673 
   4674   cygwin* | mingw* | cegcc*)
   4675     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4676     # about 5 minutes as the teststring grows exponentially.
   4677     # Worse, since 9x/ME are not pre-emptively multitasking,
   4678     # you end up with a "frozen" computer, even though with patience
   4679     # the test eventually succeeds (with a max line length of 256k).
   4680     # Instead, let's just punt: use the minimum linelength reported by
   4681     # all of the supported platforms: 8192 (on NT/2K/XP).
   4682     lt_cv_sys_max_cmd_len=8192;
   4683     ;;
   4684 
   4685   mint*)
   4686     # On MiNT this can take a long time and run out of memory.
   4687     lt_cv_sys_max_cmd_len=8192;
   4688     ;;
   4689 
   4690   amigaos*)
   4691     # On AmigaOS with pdksh, this test takes hours, literally.
   4692     # So we just punt and use a minimum line length of 8192.
   4693     lt_cv_sys_max_cmd_len=8192;
   4694     ;;
   4695 
   4696   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4697     # This has been around since 386BSD, at least.  Likely further.
   4698     if test -x /sbin/sysctl; then
   4699       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4700     elif test -x /usr/sbin/sysctl; then
   4701       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4702     else
   4703       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4704     fi
   4705     # And add a safety zone
   4706     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4707     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4708     ;;
   4709 
   4710   interix*)
   4711     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4712     lt_cv_sys_max_cmd_len=196608
   4713     ;;
   4714 
   4715   os2*)
   4716     # The test takes a long time on OS/2.
   4717     lt_cv_sys_max_cmd_len=8192
   4718     ;;
   4719 
   4720   osf*)
   4721     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4722     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4723     # nice to cause kernel panics so lets avoid the loop below.
   4724     # First set a reasonable default.
   4725     lt_cv_sys_max_cmd_len=16384
   4726     #
   4727     if test -x /sbin/sysconfig; then
   4728       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4729         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4730       esac
   4731     fi
   4732     ;;
   4733   sco3.2v5*)
   4734     lt_cv_sys_max_cmd_len=102400
   4735     ;;
   4736   sysv5* | sco5v6* | sysv4.2uw2*)
   4737     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4738     if test -n "$kargmax"; then
   4739       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4740     else
   4741       lt_cv_sys_max_cmd_len=32768
   4742     fi
   4743     ;;
   4744   *)
   4745     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4746     if test -n "$lt_cv_sys_max_cmd_len" && \
   4747 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   4748       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4749       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4750     else
   4751       # Make teststring a little bigger before we do anything with it.
   4752       # a 1K string should be a reasonable start.
   4753       for i in 1 2 3 4 5 6 7 8 ; do
   4754         teststring=$teststring$teststring
   4755       done
   4756       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4757       # If test is not a shell built-in, we'll probably end up computing a
   4758       # maximum length that is only half of the actual maximum length, but
   4759       # we can't tell.
   4760       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4761 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4762 	      test $i != 17 # 1/2 MB should be enough
   4763       do
   4764         i=`expr $i + 1`
   4765         teststring=$teststring$teststring
   4766       done
   4767       # Only check the string length outside the loop.
   4768       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4769       teststring=
   4770       # Add a significant safety factor because C++ compilers can tack on
   4771       # massive amounts of additional arguments before passing them to the
   4772       # linker.  It appears as though 1/2 is a usable value.
   4773       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4774     fi
   4775     ;;
   4776   esac
   4777 
   4778 fi
   4779 
   4780 if test -n $lt_cv_sys_max_cmd_len ; then
   4781   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4782 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4783 else
   4784   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4785 $as_echo "none" >&6; }
   4786 fi
   4787 max_cmd_len=$lt_cv_sys_max_cmd_len
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 : ${CP="cp -f"}
   4795 : ${MV="mv -f"}
   4796 : ${RM="rm -f"}
   4797 
   4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4799 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4800 # Try some XSI features
   4801 xsi_shell=no
   4802 ( _lt_dummy="a/b/c"
   4803   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4804       = c,a/b,b/c, \
   4805     && eval 'test $(( 1 + 1 )) -eq 2 \
   4806     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4807   && xsi_shell=yes
   4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4809 $as_echo "$xsi_shell" >&6; }
   4810 
   4811 
   4812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4813 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4814 lt_shell_append=no
   4815 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4816     >/dev/null 2>&1 \
   4817   && lt_shell_append=yes
   4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4819 $as_echo "$lt_shell_append" >&6; }
   4820 
   4821 
   4822 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4823   lt_unset=unset
   4824 else
   4825   lt_unset=false
   4826 fi
   4827 
   4828 
   4829 
   4830 
   4831 
   4832 # test EBCDIC or ASCII
   4833 case `echo X|tr X '\101'` in
   4834  A) # ASCII based system
   4835     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4836   lt_SP2NL='tr \040 \012'
   4837   lt_NL2SP='tr \015\012 \040\040'
   4838   ;;
   4839  *) # EBCDIC based system
   4840   lt_SP2NL='tr \100 \n'
   4841   lt_NL2SP='tr \r\n \100\100'
   4842   ;;
   4843 esac
   4844 
   4845 
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 
   4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4854 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4855 if ${lt_cv_to_host_file_cmd+:} false; then :
   4856   $as_echo_n "(cached) " >&6
   4857 else
   4858   case $host in
   4859   *-*-mingw* )
   4860     case $build in
   4861       *-*-mingw* ) # actually msys
   4862         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4863         ;;
   4864       *-*-cygwin* )
   4865         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4866         ;;
   4867       * ) # otherwise, assume *nix
   4868         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4869         ;;
   4870     esac
   4871     ;;
   4872   *-*-cygwin* )
   4873     case $build in
   4874       *-*-mingw* ) # actually msys
   4875         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4876         ;;
   4877       *-*-cygwin* )
   4878         lt_cv_to_host_file_cmd=func_convert_file_noop
   4879         ;;
   4880       * ) # otherwise, assume *nix
   4881         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4882         ;;
   4883     esac
   4884     ;;
   4885   * ) # unhandled hosts (and "normal" native builds)
   4886     lt_cv_to_host_file_cmd=func_convert_file_noop
   4887     ;;
   4888 esac
   4889 
   4890 fi
   4891 
   4892 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4894 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4895 
   4896 
   4897 
   4898 
   4899 
   4900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4901 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4902 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4903   $as_echo_n "(cached) " >&6
   4904 else
   4905   #assume ordinary cross tools, or native build.
   4906 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4907 case $host in
   4908   *-*-mingw* )
   4909     case $build in
   4910       *-*-mingw* ) # actually msys
   4911         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4912         ;;
   4913     esac
   4914     ;;
   4915 esac
   4916 
   4917 fi
   4918 
   4919 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4921 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4922 
   4923 
   4924 
   4925 
   4926 
   4927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4928 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4929 if ${lt_cv_ld_reload_flag+:} false; then :
   4930   $as_echo_n "(cached) " >&6
   4931 else
   4932   lt_cv_ld_reload_flag='-r'
   4933 fi
   4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4935 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4936 reload_flag=$lt_cv_ld_reload_flag
   4937 case $reload_flag in
   4938 "" | " "*) ;;
   4939 *) reload_flag=" $reload_flag" ;;
   4940 esac
   4941 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4942 case $host_os in
   4943   cygwin* | mingw* | pw32* | cegcc*)
   4944     if test "$GCC" != yes; then
   4945       reload_cmds=false
   4946     fi
   4947     ;;
   4948   darwin*)
   4949     if test "$GCC" = yes; then
   4950       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4951     else
   4952       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4953     fi
   4954     ;;
   4955 esac
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 if test -n "$ac_tool_prefix"; then
   4966   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4967 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4969 $as_echo_n "checking for $ac_word... " >&6; }
   4970 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4971   $as_echo_n "(cached) " >&6
   4972 else
   4973   if test -n "$OBJDUMP"; then
   4974   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4975 else
   4976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4977 for as_dir in $PATH
   4978 do
   4979   IFS=$as_save_IFS
   4980   test -z "$as_dir" && as_dir=.
   4981     for ac_exec_ext in '' $ac_executable_extensions; do
   4982   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4983     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4984     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4985     break 2
   4986   fi
   4987 done
   4988   done
   4989 IFS=$as_save_IFS
   4990 
   4991 fi
   4992 fi
   4993 OBJDUMP=$ac_cv_prog_OBJDUMP
   4994 if test -n "$OBJDUMP"; then
   4995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4996 $as_echo "$OBJDUMP" >&6; }
   4997 else
   4998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4999 $as_echo "no" >&6; }
   5000 fi
   5001 
   5002 
   5003 fi
   5004 if test -z "$ac_cv_prog_OBJDUMP"; then
   5005   ac_ct_OBJDUMP=$OBJDUMP
   5006   # Extract the first word of "objdump", so it can be a program name with args.
   5007 set dummy objdump; ac_word=$2
   5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5009 $as_echo_n "checking for $ac_word... " >&6; }
   5010 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   if test -n "$ac_ct_OBJDUMP"; then
   5014   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5015 else
   5016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5017 for as_dir in $PATH
   5018 do
   5019   IFS=$as_save_IFS
   5020   test -z "$as_dir" && as_dir=.
   5021     for ac_exec_ext in '' $ac_executable_extensions; do
   5022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5023     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5025     break 2
   5026   fi
   5027 done
   5028   done
   5029 IFS=$as_save_IFS
   5030 
   5031 fi
   5032 fi
   5033 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5034 if test -n "$ac_ct_OBJDUMP"; then
   5035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5036 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5037 else
   5038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5039 $as_echo "no" >&6; }
   5040 fi
   5041 
   5042   if test "x$ac_ct_OBJDUMP" = x; then
   5043     OBJDUMP="false"
   5044   else
   5045     case $cross_compiling:$ac_tool_warned in
   5046 yes:)
   5047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5048 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5049 ac_tool_warned=yes ;;
   5050 esac
   5051     OBJDUMP=$ac_ct_OBJDUMP
   5052   fi
   5053 else
   5054   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5055 fi
   5056 
   5057 test -z "$OBJDUMP" && OBJDUMP=objdump
   5058 
   5059 
   5060 
   5061 
   5062 
   5063 
   5064 
   5065 
   5066 
   5067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5068 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5069 if ${lt_cv_deplibs_check_method+:} false; then :
   5070   $as_echo_n "(cached) " >&6
   5071 else
   5072   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5073 lt_cv_file_magic_test_file=
   5074 lt_cv_deplibs_check_method='unknown'
   5075 # Need to set the preceding variable on all platforms that support
   5076 # interlibrary dependencies.
   5077 # 'none' -- dependencies not supported.
   5078 # `unknown' -- same as none, but documents that we really don't know.
   5079 # 'pass_all' -- all dependencies passed with no checks.
   5080 # 'test_compile' -- check by making test program.
   5081 # 'file_magic [[regex]]' -- check by looking for files in library path
   5082 # which responds to the $file_magic_cmd with a given extended regex.
   5083 # If you have `file' or equivalent on your system and you're not sure
   5084 # whether `pass_all' will *always* work, you probably want this one.
   5085 
   5086 case $host_os in
   5087 aix[4-9]*)
   5088   lt_cv_deplibs_check_method=pass_all
   5089   ;;
   5090 
   5091 beos*)
   5092   lt_cv_deplibs_check_method=pass_all
   5093   ;;
   5094 
   5095 bsdi[45]*)
   5096   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5097   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5098   lt_cv_file_magic_test_file=/shlib/libc.so
   5099   ;;
   5100 
   5101 cygwin*)
   5102   # func_win32_libid is a shell function defined in ltmain.sh
   5103   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5104   lt_cv_file_magic_cmd='func_win32_libid'
   5105   ;;
   5106 
   5107 mingw* | pw32*)
   5108   # Base MSYS/MinGW do not provide the 'file' command needed by
   5109   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5110   # unless we find 'file', for example because we are cross-compiling.
   5111   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5112   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5113     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5114     lt_cv_file_magic_cmd='func_win32_libid'
   5115   else
   5116     # Keep this pattern in sync with the one in func_win32_libid.
   5117     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5118     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5119   fi
   5120   ;;
   5121 
   5122 cegcc*)
   5123   # use the weaker test based on 'objdump'. See mingw*.
   5124   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5125   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5126   ;;
   5127 
   5128 darwin* | rhapsody*)
   5129   lt_cv_deplibs_check_method=pass_all
   5130   ;;
   5131 
   5132 freebsd* | dragonfly*)
   5133   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5134     case $host_cpu in
   5135     i*86 )
   5136       # Not sure whether the presence of OpenBSD here was a mistake.
   5137       # Let's accept both of them until this is cleared up.
   5138       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5139       lt_cv_file_magic_cmd=/usr/bin/file
   5140       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5141       ;;
   5142     esac
   5143   else
   5144     lt_cv_deplibs_check_method=pass_all
   5145   fi
   5146   ;;
   5147 
   5148 haiku*)
   5149   lt_cv_deplibs_check_method=pass_all
   5150   ;;
   5151 
   5152 hpux10.20* | hpux11*)
   5153   lt_cv_file_magic_cmd=/usr/bin/file
   5154   case $host_cpu in
   5155   ia64*)
   5156     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5157     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5158     ;;
   5159   hppa*64*)
   5160     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]'
   5161     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5162     ;;
   5163   *)
   5164     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5165     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5166     ;;
   5167   esac
   5168   ;;
   5169 
   5170 interix[3-9]*)
   5171   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5172   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5173   ;;
   5174 
   5175 irix5* | irix6* | nonstopux*)
   5176   case $LD in
   5177   *-32|*"-32 ") libmagic=32-bit;;
   5178   *-n32|*"-n32 ") libmagic=N32;;
   5179   *-64|*"-64 ") libmagic=64-bit;;
   5180   *) libmagic=never-match;;
   5181   esac
   5182   lt_cv_deplibs_check_method=pass_all
   5183   ;;
   5184 
   5185 # This must be glibc/ELF.
   5186 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5187   lt_cv_deplibs_check_method=pass_all
   5188   ;;
   5189 
   5190 netbsd* | netbsdelf*-gnu)
   5191   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5192     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5193   else
   5194     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5195   fi
   5196   ;;
   5197 
   5198 newos6*)
   5199   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5200   lt_cv_file_magic_cmd=/usr/bin/file
   5201   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5202   ;;
   5203 
   5204 *nto* | *qnx*)
   5205   lt_cv_deplibs_check_method=pass_all
   5206   ;;
   5207 
   5208 openbsd*)
   5209   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5210     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5211   else
   5212     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5213   fi
   5214   ;;
   5215 
   5216 osf3* | osf4* | osf5*)
   5217   lt_cv_deplibs_check_method=pass_all
   5218   ;;
   5219 
   5220 rdos*)
   5221   lt_cv_deplibs_check_method=pass_all
   5222   ;;
   5223 
   5224 solaris*)
   5225   lt_cv_deplibs_check_method=pass_all
   5226   ;;
   5227 
   5228 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5229   lt_cv_deplibs_check_method=pass_all
   5230   ;;
   5231 
   5232 sysv4 | sysv4.3*)
   5233   case $host_vendor in
   5234   motorola)
   5235     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]'
   5236     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5237     ;;
   5238   ncr)
   5239     lt_cv_deplibs_check_method=pass_all
   5240     ;;
   5241   sequent)
   5242     lt_cv_file_magic_cmd='/bin/file'
   5243     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5244     ;;
   5245   sni)
   5246     lt_cv_file_magic_cmd='/bin/file'
   5247     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5248     lt_cv_file_magic_test_file=/lib/libc.so
   5249     ;;
   5250   siemens)
   5251     lt_cv_deplibs_check_method=pass_all
   5252     ;;
   5253   pc)
   5254     lt_cv_deplibs_check_method=pass_all
   5255     ;;
   5256   esac
   5257   ;;
   5258 
   5259 tpf*)
   5260   lt_cv_deplibs_check_method=pass_all
   5261   ;;
   5262 esac
   5263 
   5264 fi
   5265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5266 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5267 
   5268 file_magic_glob=
   5269 want_nocaseglob=no
   5270 if test "$build" = "$host"; then
   5271   case $host_os in
   5272   mingw* | pw32*)
   5273     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5274       want_nocaseglob=yes
   5275     else
   5276       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5277     fi
   5278     ;;
   5279   esac
   5280 fi
   5281 
   5282 file_magic_cmd=$lt_cv_file_magic_cmd
   5283 deplibs_check_method=$lt_cv_deplibs_check_method
   5284 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 
   5293 
   5294 
   5295 
   5296 
   5297 
   5298 
   5299 
   5300 
   5301 
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 if test -n "$ac_tool_prefix"; then
   5308   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5309 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5311 $as_echo_n "checking for $ac_word... " >&6; }
   5312 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5313   $as_echo_n "(cached) " >&6
   5314 else
   5315   if test -n "$DLLTOOL"; then
   5316   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5317 else
   5318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5319 for as_dir in $PATH
   5320 do
   5321   IFS=$as_save_IFS
   5322   test -z "$as_dir" && as_dir=.
   5323     for ac_exec_ext in '' $ac_executable_extensions; do
   5324   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5325     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5326     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5327     break 2
   5328   fi
   5329 done
   5330   done
   5331 IFS=$as_save_IFS
   5332 
   5333 fi
   5334 fi
   5335 DLLTOOL=$ac_cv_prog_DLLTOOL
   5336 if test -n "$DLLTOOL"; then
   5337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5338 $as_echo "$DLLTOOL" >&6; }
   5339 else
   5340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5341 $as_echo "no" >&6; }
   5342 fi
   5343 
   5344 
   5345 fi
   5346 if test -z "$ac_cv_prog_DLLTOOL"; then
   5347   ac_ct_DLLTOOL=$DLLTOOL
   5348   # Extract the first word of "dlltool", so it can be a program name with args.
   5349 set dummy dlltool; ac_word=$2
   5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5351 $as_echo_n "checking for $ac_word... " >&6; }
   5352 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5353   $as_echo_n "(cached) " >&6
   5354 else
   5355   if test -n "$ac_ct_DLLTOOL"; then
   5356   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5357 else
   5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5359 for as_dir in $PATH
   5360 do
   5361   IFS=$as_save_IFS
   5362   test -z "$as_dir" && as_dir=.
   5363     for ac_exec_ext in '' $ac_executable_extensions; do
   5364   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5365     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5366     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5367     break 2
   5368   fi
   5369 done
   5370   done
   5371 IFS=$as_save_IFS
   5372 
   5373 fi
   5374 fi
   5375 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5376 if test -n "$ac_ct_DLLTOOL"; then
   5377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5378 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5379 else
   5380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5381 $as_echo "no" >&6; }
   5382 fi
   5383 
   5384   if test "x$ac_ct_DLLTOOL" = x; then
   5385     DLLTOOL="false"
   5386   else
   5387     case $cross_compiling:$ac_tool_warned in
   5388 yes:)
   5389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5391 ac_tool_warned=yes ;;
   5392 esac
   5393     DLLTOOL=$ac_ct_DLLTOOL
   5394   fi
   5395 else
   5396   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5397 fi
   5398 
   5399 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 
   5407 
   5408 
   5409 
   5410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5411 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5412 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5413   $as_echo_n "(cached) " >&6
   5414 else
   5415   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5416 
   5417 case $host_os in
   5418 cygwin* | mingw* | pw32* | cegcc*)
   5419   # two different shell functions defined in ltmain.sh
   5420   # decide which to use based on capabilities of $DLLTOOL
   5421   case `$DLLTOOL --help 2>&1` in
   5422   *--identify-strict*)
   5423     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5424     ;;
   5425   *)
   5426     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5427     ;;
   5428   esac
   5429   ;;
   5430 *)
   5431   # fallback: assume linklib IS sharedlib
   5432   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5433   ;;
   5434 esac
   5435 
   5436 fi
   5437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5438 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5439 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5440 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 if test -n "$ac_tool_prefix"; then
   5450   for ac_prog in ar
   5451   do
   5452     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5453 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5455 $as_echo_n "checking for $ac_word... " >&6; }
   5456 if ${ac_cv_prog_AR+:} false; then :
   5457   $as_echo_n "(cached) " >&6
   5458 else
   5459   if test -n "$AR"; then
   5460   ac_cv_prog_AR="$AR" # Let the user override the test.
   5461 else
   5462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5463 for as_dir in $PATH
   5464 do
   5465   IFS=$as_save_IFS
   5466   test -z "$as_dir" && as_dir=.
   5467     for ac_exec_ext in '' $ac_executable_extensions; do
   5468   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5469     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5470     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5471     break 2
   5472   fi
   5473 done
   5474   done
   5475 IFS=$as_save_IFS
   5476 
   5477 fi
   5478 fi
   5479 AR=$ac_cv_prog_AR
   5480 if test -n "$AR"; then
   5481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5482 $as_echo "$AR" >&6; }
   5483 else
   5484   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5485 $as_echo "no" >&6; }
   5486 fi
   5487 
   5488 
   5489     test -n "$AR" && break
   5490   done
   5491 fi
   5492 if test -z "$AR"; then
   5493   ac_ct_AR=$AR
   5494   for ac_prog in ar
   5495 do
   5496   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5497 set dummy $ac_prog; ac_word=$2
   5498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5499 $as_echo_n "checking for $ac_word... " >&6; }
   5500 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5501   $as_echo_n "(cached) " >&6
   5502 else
   5503   if test -n "$ac_ct_AR"; then
   5504   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5505 else
   5506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5507 for as_dir in $PATH
   5508 do
   5509   IFS=$as_save_IFS
   5510   test -z "$as_dir" && as_dir=.
   5511     for ac_exec_ext in '' $ac_executable_extensions; do
   5512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5513     ac_cv_prog_ac_ct_AR="$ac_prog"
   5514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5515     break 2
   5516   fi
   5517 done
   5518   done
   5519 IFS=$as_save_IFS
   5520 
   5521 fi
   5522 fi
   5523 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5524 if test -n "$ac_ct_AR"; then
   5525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5526 $as_echo "$ac_ct_AR" >&6; }
   5527 else
   5528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5529 $as_echo "no" >&6; }
   5530 fi
   5531 
   5532 
   5533   test -n "$ac_ct_AR" && break
   5534 done
   5535 
   5536   if test "x$ac_ct_AR" = x; then
   5537     AR="false"
   5538   else
   5539     case $cross_compiling:$ac_tool_warned in
   5540 yes:)
   5541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5543 ac_tool_warned=yes ;;
   5544 esac
   5545     AR=$ac_ct_AR
   5546   fi
   5547 fi
   5548 
   5549 : ${AR=ar}
   5550 : ${AR_FLAGS=cru}
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5563 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5564 if ${lt_cv_ar_at_file+:} false; then :
   5565   $as_echo_n "(cached) " >&6
   5566 else
   5567   lt_cv_ar_at_file=no
   5568    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5569 /* end confdefs.h.  */
   5570 
   5571 int
   5572 main ()
   5573 {
   5574 
   5575   ;
   5576   return 0;
   5577 }
   5578 _ACEOF
   5579 if ac_fn_c_try_compile "$LINENO"; then :
   5580   echo conftest.$ac_objext > conftest.lst
   5581       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5582       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5583   (eval $lt_ar_try) 2>&5
   5584   ac_status=$?
   5585   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5586   test $ac_status = 0; }
   5587       if test "$ac_status" -eq 0; then
   5588 	# Ensure the archiver fails upon bogus file names.
   5589 	rm -f conftest.$ac_objext libconftest.a
   5590 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5591   (eval $lt_ar_try) 2>&5
   5592   ac_status=$?
   5593   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5594   test $ac_status = 0; }
   5595 	if test "$ac_status" -ne 0; then
   5596           lt_cv_ar_at_file=@
   5597         fi
   5598       fi
   5599       rm -f conftest.* libconftest.a
   5600 
   5601 fi
   5602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5603 
   5604 fi
   5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5606 $as_echo "$lt_cv_ar_at_file" >&6; }
   5607 
   5608 if test "x$lt_cv_ar_at_file" = xno; then
   5609   archiver_list_spec=
   5610 else
   5611   archiver_list_spec=$lt_cv_ar_at_file
   5612 fi
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 if test -n "$ac_tool_prefix"; then
   5621   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5622 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5624 $as_echo_n "checking for $ac_word... " >&6; }
   5625 if ${ac_cv_prog_STRIP+:} false; then :
   5626   $as_echo_n "(cached) " >&6
   5627 else
   5628   if test -n "$STRIP"; then
   5629   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5630 else
   5631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5632 for as_dir in $PATH
   5633 do
   5634   IFS=$as_save_IFS
   5635   test -z "$as_dir" && as_dir=.
   5636     for ac_exec_ext in '' $ac_executable_extensions; do
   5637   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5638     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5639     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5640     break 2
   5641   fi
   5642 done
   5643   done
   5644 IFS=$as_save_IFS
   5645 
   5646 fi
   5647 fi
   5648 STRIP=$ac_cv_prog_STRIP
   5649 if test -n "$STRIP"; then
   5650   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5651 $as_echo "$STRIP" >&6; }
   5652 else
   5653   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5654 $as_echo "no" >&6; }
   5655 fi
   5656 
   5657 
   5658 fi
   5659 if test -z "$ac_cv_prog_STRIP"; then
   5660   ac_ct_STRIP=$STRIP
   5661   # Extract the first word of "strip", so it can be a program name with args.
   5662 set dummy strip; ac_word=$2
   5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5664 $as_echo_n "checking for $ac_word... " >&6; }
   5665 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5666   $as_echo_n "(cached) " >&6
   5667 else
   5668   if test -n "$ac_ct_STRIP"; then
   5669   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5670 else
   5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5672 for as_dir in $PATH
   5673 do
   5674   IFS=$as_save_IFS
   5675   test -z "$as_dir" && as_dir=.
   5676     for ac_exec_ext in '' $ac_executable_extensions; do
   5677   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5678     ac_cv_prog_ac_ct_STRIP="strip"
   5679     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5680     break 2
   5681   fi
   5682 done
   5683   done
   5684 IFS=$as_save_IFS
   5685 
   5686 fi
   5687 fi
   5688 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5689 if test -n "$ac_ct_STRIP"; then
   5690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5691 $as_echo "$ac_ct_STRIP" >&6; }
   5692 else
   5693   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5694 $as_echo "no" >&6; }
   5695 fi
   5696 
   5697   if test "x$ac_ct_STRIP" = x; then
   5698     STRIP=":"
   5699   else
   5700     case $cross_compiling:$ac_tool_warned in
   5701 yes:)
   5702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5704 ac_tool_warned=yes ;;
   5705 esac
   5706     STRIP=$ac_ct_STRIP
   5707   fi
   5708 else
   5709   STRIP="$ac_cv_prog_STRIP"
   5710 fi
   5711 
   5712 test -z "$STRIP" && STRIP=:
   5713 
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 if test -n "$ac_tool_prefix"; then
   5720   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5721 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5723 $as_echo_n "checking for $ac_word... " >&6; }
   5724 if ${ac_cv_prog_RANLIB+:} false; then :
   5725   $as_echo_n "(cached) " >&6
   5726 else
   5727   if test -n "$RANLIB"; then
   5728   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5729 else
   5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5731 for as_dir in $PATH
   5732 do
   5733   IFS=$as_save_IFS
   5734   test -z "$as_dir" && as_dir=.
   5735     for ac_exec_ext in '' $ac_executable_extensions; do
   5736   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5737     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5738     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5739     break 2
   5740   fi
   5741 done
   5742   done
   5743 IFS=$as_save_IFS
   5744 
   5745 fi
   5746 fi
   5747 RANLIB=$ac_cv_prog_RANLIB
   5748 if test -n "$RANLIB"; then
   5749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5750 $as_echo "$RANLIB" >&6; }
   5751 else
   5752   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5753 $as_echo "no" >&6; }
   5754 fi
   5755 
   5756 
   5757 fi
   5758 if test -z "$ac_cv_prog_RANLIB"; then
   5759   ac_ct_RANLIB=$RANLIB
   5760   # Extract the first word of "ranlib", so it can be a program name with args.
   5761 set dummy ranlib; ac_word=$2
   5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5763 $as_echo_n "checking for $ac_word... " >&6; }
   5764 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5765   $as_echo_n "(cached) " >&6
   5766 else
   5767   if test -n "$ac_ct_RANLIB"; then
   5768   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5769 else
   5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5771 for as_dir in $PATH
   5772 do
   5773   IFS=$as_save_IFS
   5774   test -z "$as_dir" && as_dir=.
   5775     for ac_exec_ext in '' $ac_executable_extensions; do
   5776   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5777     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5778     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5779     break 2
   5780   fi
   5781 done
   5782   done
   5783 IFS=$as_save_IFS
   5784 
   5785 fi
   5786 fi
   5787 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5788 if test -n "$ac_ct_RANLIB"; then
   5789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5790 $as_echo "$ac_ct_RANLIB" >&6; }
   5791 else
   5792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5793 $as_echo "no" >&6; }
   5794 fi
   5795 
   5796   if test "x$ac_ct_RANLIB" = x; then
   5797     RANLIB=":"
   5798   else
   5799     case $cross_compiling:$ac_tool_warned in
   5800 yes:)
   5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5803 ac_tool_warned=yes ;;
   5804 esac
   5805     RANLIB=$ac_ct_RANLIB
   5806   fi
   5807 else
   5808   RANLIB="$ac_cv_prog_RANLIB"
   5809 fi
   5810 
   5811 test -z "$RANLIB" && RANLIB=:
   5812 
   5813 
   5814 
   5815 
   5816 
   5817 
   5818 # Determine commands to create old-style static archives.
   5819 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5820 old_postinstall_cmds='chmod 644 $oldlib'
   5821 old_postuninstall_cmds=
   5822 
   5823 if test -n "$RANLIB"; then
   5824   case $host_os in
   5825   openbsd*)
   5826     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5827     ;;
   5828   *)
   5829     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5830     ;;
   5831   esac
   5832   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5833 fi
   5834 
   5835 case $host_os in
   5836   darwin*)
   5837     lock_old_archive_extraction=yes ;;
   5838   *)
   5839     lock_old_archive_extraction=no ;;
   5840 esac
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 
   5873 
   5874 
   5875 
   5876 
   5877 
   5878 
   5879 
   5880 # If no C compiler was specified, use CC.
   5881 LTCC=${LTCC-"$CC"}
   5882 
   5883 # If no C compiler flags were specified, use CFLAGS.
   5884 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5885 
   5886 # Allow CC to be a program name with arguments.
   5887 compiler=$CC
   5888 
   5889 
   5890 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5892 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5893 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5894   $as_echo_n "(cached) " >&6
   5895 else
   5896 
   5897 # These are sane defaults that work on at least a few old systems.
   5898 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5899 
   5900 # Character class describing NM global symbol codes.
   5901 symcode='[BCDEGRST]'
   5902 
   5903 # Regexp to match symbols that can be accessed directly from C.
   5904 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5905 
   5906 # Define system-specific variables.
   5907 case $host_os in
   5908 aix*)
   5909   symcode='[BCDT]'
   5910   ;;
   5911 cygwin* | mingw* | pw32* | cegcc*)
   5912   symcode='[ABCDGISTW]'
   5913   ;;
   5914 hpux*)
   5915   if test "$host_cpu" = ia64; then
   5916     symcode='[ABCDEGRST]'
   5917   fi
   5918   ;;
   5919 irix* | nonstopux*)
   5920   symcode='[BCDEGRST]'
   5921   ;;
   5922 osf*)
   5923   symcode='[BCDEGQRST]'
   5924   ;;
   5925 solaris*)
   5926   symcode='[BDRT]'
   5927   ;;
   5928 sco3.2v5*)
   5929   symcode='[DT]'
   5930   ;;
   5931 sysv4.2uw2*)
   5932   symcode='[DT]'
   5933   ;;
   5934 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5935   symcode='[ABDT]'
   5936   ;;
   5937 sysv4)
   5938   symcode='[DFNSTU]'
   5939   ;;
   5940 esac
   5941 
   5942 # If we're using GNU nm, then use its standard symbol codes.
   5943 case `$NM -V 2>&1` in
   5944 *GNU* | *'with BFD'*)
   5945   symcode='[ABCDGIRSTW]' ;;
   5946 esac
   5947 
   5948 # Transform an extracted symbol line into a proper C declaration.
   5949 # Some systems (esp. on ia64) link data and code symbols differently,
   5950 # so use this general approach.
   5951 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5952 
   5953 # Transform an extracted symbol line into symbol name and symbol address
   5954 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5955 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'"
   5956 
   5957 # Handle CRLF in mingw tool chain
   5958 opt_cr=
   5959 case $build_os in
   5960 mingw*)
   5961   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5962   ;;
   5963 esac
   5964 
   5965 # Try without a prefix underscore, then with it.
   5966 for ac_symprfx in "" "_"; do
   5967 
   5968   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5969   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5970 
   5971   # Write the raw and C identifiers.
   5972   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5973     # Fake it for dumpbin and say T for any non-static function
   5974     # and D for any global variable.
   5975     # Also find C++ and __fastcall symbols from MSVC++,
   5976     # which start with @ or ?.
   5977     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5978 "     {last_section=section; section=\$ 3};"\
   5979 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5980 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5981 "     \$ 0!~/External *\|/{next};"\
   5982 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5983 "     {if(hide[section]) next};"\
   5984 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5985 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5986 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5987 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5988 "     ' prfx=^$ac_symprfx"
   5989   else
   5990     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5991   fi
   5992   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5993 
   5994   # Check to see that the pipe works correctly.
   5995   pipe_works=no
   5996 
   5997   rm -f conftest*
   5998   cat > conftest.$ac_ext <<_LT_EOF
   5999 #ifdef __cplusplus
   6000 extern "C" {
   6001 #endif
   6002 char nm_test_var;
   6003 void nm_test_func(void);
   6004 void nm_test_func(void){}
   6005 #ifdef __cplusplus
   6006 }
   6007 #endif
   6008 int main(){nm_test_var='a';nm_test_func();return(0);}
   6009 _LT_EOF
   6010 
   6011   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6012   (eval $ac_compile) 2>&5
   6013   ac_status=$?
   6014   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6015   test $ac_status = 0; }; then
   6016     # Now try to grab the symbols.
   6017     nlist=conftest.nm
   6018     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6019   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6020   ac_status=$?
   6021   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6022   test $ac_status = 0; } && test -s "$nlist"; then
   6023       # Try sorting and uniquifying the output.
   6024       if sort "$nlist" | uniq > "$nlist"T; then
   6025 	mv -f "$nlist"T "$nlist"
   6026       else
   6027 	rm -f "$nlist"T
   6028       fi
   6029 
   6030       # Make sure that we snagged all the symbols we need.
   6031       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6032 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6033 	  cat <<_LT_EOF > conftest.$ac_ext
   6034 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6035 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6036 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6037    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6038 # define LT_DLSYM_CONST
   6039 #elif defined(__osf__)
   6040 /* This system does not cope well with relocations in const data.  */
   6041 # define LT_DLSYM_CONST
   6042 #else
   6043 # define LT_DLSYM_CONST const
   6044 #endif
   6045 
   6046 #ifdef __cplusplus
   6047 extern "C" {
   6048 #endif
   6049 
   6050 _LT_EOF
   6051 	  # Now generate the symbol file.
   6052 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6053 
   6054 	  cat <<_LT_EOF >> conftest.$ac_ext
   6055 
   6056 /* The mapping between symbol names and symbols.  */
   6057 LT_DLSYM_CONST struct {
   6058   const char *name;
   6059   void       *address;
   6060 }
   6061 lt__PROGRAM__LTX_preloaded_symbols[] =
   6062 {
   6063   { "@PROGRAM@", (void *) 0 },
   6064 _LT_EOF
   6065 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6066 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6067   {0, (void *) 0}
   6068 };
   6069 
   6070 /* This works around a problem in FreeBSD linker */
   6071 #ifdef FREEBSD_WORKAROUND
   6072 static const void *lt_preloaded_setup() {
   6073   return lt__PROGRAM__LTX_preloaded_symbols;
   6074 }
   6075 #endif
   6076 
   6077 #ifdef __cplusplus
   6078 }
   6079 #endif
   6080 _LT_EOF
   6081 	  # Now try linking the two files.
   6082 	  mv conftest.$ac_objext conftstm.$ac_objext
   6083 	  lt_globsym_save_LIBS=$LIBS
   6084 	  lt_globsym_save_CFLAGS=$CFLAGS
   6085 	  LIBS="conftstm.$ac_objext"
   6086 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6087 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6088   (eval $ac_link) 2>&5
   6089   ac_status=$?
   6090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6091   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6092 	    pipe_works=yes
   6093 	  fi
   6094 	  LIBS=$lt_globsym_save_LIBS
   6095 	  CFLAGS=$lt_globsym_save_CFLAGS
   6096 	else
   6097 	  echo "cannot find nm_test_func in $nlist" >&5
   6098 	fi
   6099       else
   6100 	echo "cannot find nm_test_var in $nlist" >&5
   6101       fi
   6102     else
   6103       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6104     fi
   6105   else
   6106     echo "$progname: failed program was:" >&5
   6107     cat conftest.$ac_ext >&5
   6108   fi
   6109   rm -rf conftest* conftst*
   6110 
   6111   # Do not use the global_symbol_pipe unless it works.
   6112   if test "$pipe_works" = yes; then
   6113     break
   6114   else
   6115     lt_cv_sys_global_symbol_pipe=
   6116   fi
   6117 done
   6118 
   6119 fi
   6120 
   6121 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6122   lt_cv_sys_global_symbol_to_cdecl=
   6123 fi
   6124 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6126 $as_echo "failed" >&6; }
   6127 else
   6128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6129 $as_echo "ok" >&6; }
   6130 fi
   6131 
   6132 # Response file support.
   6133 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6134   nm_file_list_spec='@'
   6135 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6136   nm_file_list_spec='@'
   6137 fi
   6138 
   6139 
   6140 
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 
   6157 
   6158 
   6159 
   6160 
   6161 
   6162 
   6163 
   6164 
   6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6166 $as_echo_n "checking for sysroot... " >&6; }
   6167 
   6168 # Check whether --with-sysroot was given.
   6169 if test "${with_sysroot+set}" = set; then :
   6170   withval=$with_sysroot;
   6171 else
   6172   with_sysroot=no
   6173 fi
   6174 
   6175 
   6176 lt_sysroot=
   6177 case ${with_sysroot} in #(
   6178  yes)
   6179    if test "$GCC" = yes; then
   6180      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6181    fi
   6182    ;; #(
   6183  /*)
   6184    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6185    ;; #(
   6186  no|'')
   6187    ;; #(
   6188  *)
   6189    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6190 $as_echo "${with_sysroot}" >&6; }
   6191    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6192    ;;
   6193 esac
   6194 
   6195  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6196 $as_echo "${lt_sysroot:-no}" >&6; }
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 # Check whether --enable-libtool-lock was given.
   6203 if test "${enable_libtool_lock+set}" = set; then :
   6204   enableval=$enable_libtool_lock;
   6205 fi
   6206 
   6207 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6208 
   6209 # Some flags need to be propagated to the compiler or linker for good
   6210 # libtool support.
   6211 case $host in
   6212 ia64-*-hpux*)
   6213   # Find out which ABI we are using.
   6214   echo 'int i;' > conftest.$ac_ext
   6215   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6216   (eval $ac_compile) 2>&5
   6217   ac_status=$?
   6218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6219   test $ac_status = 0; }; then
   6220     case `/usr/bin/file conftest.$ac_objext` in
   6221       *ELF-32*)
   6222 	HPUX_IA64_MODE="32"
   6223 	;;
   6224       *ELF-64*)
   6225 	HPUX_IA64_MODE="64"
   6226 	;;
   6227     esac
   6228   fi
   6229   rm -rf conftest*
   6230   ;;
   6231 *-*-irix6*)
   6232   # Find out which ABI we are using.
   6233   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6234   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6235   (eval $ac_compile) 2>&5
   6236   ac_status=$?
   6237   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6238   test $ac_status = 0; }; then
   6239     if test "$lt_cv_prog_gnu_ld" = yes; then
   6240       case `/usr/bin/file conftest.$ac_objext` in
   6241 	*32-bit*)
   6242 	  LD="${LD-ld} -melf32bsmip"
   6243 	  ;;
   6244 	*N32*)
   6245 	  LD="${LD-ld} -melf32bmipn32"
   6246 	  ;;
   6247 	*64-bit*)
   6248 	  LD="${LD-ld} -melf64bmip"
   6249 	;;
   6250       esac
   6251     else
   6252       case `/usr/bin/file conftest.$ac_objext` in
   6253 	*32-bit*)
   6254 	  LD="${LD-ld} -32"
   6255 	  ;;
   6256 	*N32*)
   6257 	  LD="${LD-ld} -n32"
   6258 	  ;;
   6259 	*64-bit*)
   6260 	  LD="${LD-ld} -64"
   6261 	  ;;
   6262       esac
   6263     fi
   6264   fi
   6265   rm -rf conftest*
   6266   ;;
   6267 
   6268 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6269 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6270   # Find out which ABI we are using.
   6271   echo 'int i;' > conftest.$ac_ext
   6272   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6273   (eval $ac_compile) 2>&5
   6274   ac_status=$?
   6275   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6276   test $ac_status = 0; }; then
   6277     case `/usr/bin/file conftest.o` in
   6278       *32-bit*)
   6279 	case $host in
   6280 	  x86_64-*kfreebsd*-gnu)
   6281 	    LD="${LD-ld} -m elf_i386_fbsd"
   6282 	    ;;
   6283 	  x86_64-*linux*)
   6284 	    case `/usr/bin/file conftest.o` in
   6285 	      *x86-64*)
   6286 		LD="${LD-ld} -m elf32_x86_64"
   6287 		;;
   6288 	      *)
   6289 		LD="${LD-ld} -m elf_i386"
   6290 		;;
   6291 	    esac
   6292 	    ;;
   6293 	  powerpc64le-*)
   6294 	    LD="${LD-ld} -m elf32lppclinux"
   6295 	    ;;
   6296 	  powerpc64-*)
   6297 	    LD="${LD-ld} -m elf32ppclinux"
   6298 	    ;;
   6299 	  s390x-*linux*)
   6300 	    LD="${LD-ld} -m elf_s390"
   6301 	    ;;
   6302 	  sparc64-*linux*)
   6303 	    LD="${LD-ld} -m elf32_sparc"
   6304 	    ;;
   6305 	esac
   6306 	;;
   6307       *64-bit*)
   6308 	case $host in
   6309 	  x86_64-*kfreebsd*-gnu)
   6310 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6311 	    ;;
   6312 	  x86_64-*linux*)
   6313 	    LD="${LD-ld} -m elf_x86_64"
   6314 	    ;;
   6315 	  powerpcle-*)
   6316 	    LD="${LD-ld} -m elf64lppc"
   6317 	    ;;
   6318 	  powerpc-*)
   6319 	    LD="${LD-ld} -m elf64ppc"
   6320 	    ;;
   6321 	  s390*-*linux*|s390*-*tpf*)
   6322 	    LD="${LD-ld} -m elf64_s390"
   6323 	    ;;
   6324 	  sparc*-*linux*)
   6325 	    LD="${LD-ld} -m elf64_sparc"
   6326 	    ;;
   6327 	esac
   6328 	;;
   6329     esac
   6330   fi
   6331   rm -rf conftest*
   6332   ;;
   6333 
   6334 *-*-sco3.2v5*)
   6335   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6336   SAVE_CFLAGS="$CFLAGS"
   6337   CFLAGS="$CFLAGS -belf"
   6338   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6339 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6340 if ${lt_cv_cc_needs_belf+:} false; then :
   6341   $as_echo_n "(cached) " >&6
   6342 else
   6343   ac_ext=c
   6344 ac_cpp='$CPP $CPPFLAGS'
   6345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6348 
   6349      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6350 /* end confdefs.h.  */
   6351 
   6352 int
   6353 main ()
   6354 {
   6355 
   6356   ;
   6357   return 0;
   6358 }
   6359 _ACEOF
   6360 if ac_fn_c_try_link "$LINENO"; then :
   6361   lt_cv_cc_needs_belf=yes
   6362 else
   6363   lt_cv_cc_needs_belf=no
   6364 fi
   6365 rm -f core conftest.err conftest.$ac_objext \
   6366     conftest$ac_exeext conftest.$ac_ext
   6367      ac_ext=c
   6368 ac_cpp='$CPP $CPPFLAGS'
   6369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6372 
   6373 fi
   6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6375 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6376   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6377     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6378     CFLAGS="$SAVE_CFLAGS"
   6379   fi
   6380   ;;
   6381 *-*solaris*)
   6382   # Find out which ABI we are using.
   6383   echo 'int i;' > conftest.$ac_ext
   6384   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6385   (eval $ac_compile) 2>&5
   6386   ac_status=$?
   6387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6388   test $ac_status = 0; }; then
   6389     case `/usr/bin/file conftest.o` in
   6390     *64-bit*)
   6391       case $lt_cv_prog_gnu_ld in
   6392       yes*)
   6393         case $host in
   6394         i?86-*-solaris*)
   6395           LD="${LD-ld} -m elf_x86_64"
   6396           ;;
   6397         sparc*-*-solaris*)
   6398           LD="${LD-ld} -m elf64_sparc"
   6399           ;;
   6400         esac
   6401         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6402         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6403           LD="${LD-ld}_sol2"
   6404         fi
   6405         ;;
   6406       *)
   6407 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6408 	  LD="${LD-ld} -64"
   6409 	fi
   6410 	;;
   6411       esac
   6412       ;;
   6413     esac
   6414   fi
   6415   rm -rf conftest*
   6416   ;;
   6417 esac
   6418 
   6419 need_locks="$enable_libtool_lock"
   6420 
   6421 if test -n "$ac_tool_prefix"; then
   6422   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6423 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6425 $as_echo_n "checking for $ac_word... " >&6; }
   6426 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6427   $as_echo_n "(cached) " >&6
   6428 else
   6429   if test -n "$MANIFEST_TOOL"; then
   6430   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6431 else
   6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6433 for as_dir in $PATH
   6434 do
   6435   IFS=$as_save_IFS
   6436   test -z "$as_dir" && as_dir=.
   6437     for ac_exec_ext in '' $ac_executable_extensions; do
   6438   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6439     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6440     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6441     break 2
   6442   fi
   6443 done
   6444   done
   6445 IFS=$as_save_IFS
   6446 
   6447 fi
   6448 fi
   6449 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6450 if test -n "$MANIFEST_TOOL"; then
   6451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6452 $as_echo "$MANIFEST_TOOL" >&6; }
   6453 else
   6454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6455 $as_echo "no" >&6; }
   6456 fi
   6457 
   6458 
   6459 fi
   6460 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6461   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6462   # Extract the first word of "mt", so it can be a program name with args.
   6463 set dummy mt; ac_word=$2
   6464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6465 $as_echo_n "checking for $ac_word... " >&6; }
   6466 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6467   $as_echo_n "(cached) " >&6
   6468 else
   6469   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6470   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6471 else
   6472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6473 for as_dir in $PATH
   6474 do
   6475   IFS=$as_save_IFS
   6476   test -z "$as_dir" && as_dir=.
   6477     for ac_exec_ext in '' $ac_executable_extensions; do
   6478   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6479     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6481     break 2
   6482   fi
   6483 done
   6484   done
   6485 IFS=$as_save_IFS
   6486 
   6487 fi
   6488 fi
   6489 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6490 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6492 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6493 else
   6494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6495 $as_echo "no" >&6; }
   6496 fi
   6497 
   6498   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6499     MANIFEST_TOOL=":"
   6500   else
   6501     case $cross_compiling:$ac_tool_warned in
   6502 yes:)
   6503 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6504 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6505 ac_tool_warned=yes ;;
   6506 esac
   6507     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6508   fi
   6509 else
   6510   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6511 fi
   6512 
   6513 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6515 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6516 if ${lt_cv_path_mainfest_tool+:} false; then :
   6517   $as_echo_n "(cached) " >&6
   6518 else
   6519   lt_cv_path_mainfest_tool=no
   6520   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6521   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6522   cat conftest.err >&5
   6523   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6524     lt_cv_path_mainfest_tool=yes
   6525   fi
   6526   rm -f conftest*
   6527 fi
   6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6529 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6530 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6531   MANIFEST_TOOL=:
   6532 fi
   6533 
   6534 
   6535 
   6536 
   6537 
   6538 
   6539   case $host_os in
   6540     rhapsody* | darwin*)
   6541     if test -n "$ac_tool_prefix"; then
   6542   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6543 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6545 $as_echo_n "checking for $ac_word... " >&6; }
   6546 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6547   $as_echo_n "(cached) " >&6
   6548 else
   6549   if test -n "$DSYMUTIL"; then
   6550   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6551 else
   6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6553 for as_dir in $PATH
   6554 do
   6555   IFS=$as_save_IFS
   6556   test -z "$as_dir" && as_dir=.
   6557     for ac_exec_ext in '' $ac_executable_extensions; do
   6558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6559     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6561     break 2
   6562   fi
   6563 done
   6564   done
   6565 IFS=$as_save_IFS
   6566 
   6567 fi
   6568 fi
   6569 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6570 if test -n "$DSYMUTIL"; then
   6571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6572 $as_echo "$DSYMUTIL" >&6; }
   6573 else
   6574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6575 $as_echo "no" >&6; }
   6576 fi
   6577 
   6578 
   6579 fi
   6580 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6581   ac_ct_DSYMUTIL=$DSYMUTIL
   6582   # Extract the first word of "dsymutil", so it can be a program name with args.
   6583 set dummy dsymutil; ac_word=$2
   6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6585 $as_echo_n "checking for $ac_word... " >&6; }
   6586 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6587   $as_echo_n "(cached) " >&6
   6588 else
   6589   if test -n "$ac_ct_DSYMUTIL"; then
   6590   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6591 else
   6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6593 for as_dir in $PATH
   6594 do
   6595   IFS=$as_save_IFS
   6596   test -z "$as_dir" && as_dir=.
   6597     for ac_exec_ext in '' $ac_executable_extensions; do
   6598   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6599     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6600     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6601     break 2
   6602   fi
   6603 done
   6604   done
   6605 IFS=$as_save_IFS
   6606 
   6607 fi
   6608 fi
   6609 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6610 if test -n "$ac_ct_DSYMUTIL"; then
   6611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6612 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6613 else
   6614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6615 $as_echo "no" >&6; }
   6616 fi
   6617 
   6618   if test "x$ac_ct_DSYMUTIL" = x; then
   6619     DSYMUTIL=":"
   6620   else
   6621     case $cross_compiling:$ac_tool_warned in
   6622 yes:)
   6623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6625 ac_tool_warned=yes ;;
   6626 esac
   6627     DSYMUTIL=$ac_ct_DSYMUTIL
   6628   fi
   6629 else
   6630   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6631 fi
   6632 
   6633     if test -n "$ac_tool_prefix"; then
   6634   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6635 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6637 $as_echo_n "checking for $ac_word... " >&6; }
   6638 if ${ac_cv_prog_NMEDIT+:} false; then :
   6639   $as_echo_n "(cached) " >&6
   6640 else
   6641   if test -n "$NMEDIT"; then
   6642   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6643 else
   6644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6645 for as_dir in $PATH
   6646 do
   6647   IFS=$as_save_IFS
   6648   test -z "$as_dir" && as_dir=.
   6649     for ac_exec_ext in '' $ac_executable_extensions; do
   6650   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6651     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6652     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6653     break 2
   6654   fi
   6655 done
   6656   done
   6657 IFS=$as_save_IFS
   6658 
   6659 fi
   6660 fi
   6661 NMEDIT=$ac_cv_prog_NMEDIT
   6662 if test -n "$NMEDIT"; then
   6663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6664 $as_echo "$NMEDIT" >&6; }
   6665 else
   6666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6667 $as_echo "no" >&6; }
   6668 fi
   6669 
   6670 
   6671 fi
   6672 if test -z "$ac_cv_prog_NMEDIT"; then
   6673   ac_ct_NMEDIT=$NMEDIT
   6674   # Extract the first word of "nmedit", so it can be a program name with args.
   6675 set dummy nmedit; ac_word=$2
   6676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6677 $as_echo_n "checking for $ac_word... " >&6; }
   6678 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6679   $as_echo_n "(cached) " >&6
   6680 else
   6681   if test -n "$ac_ct_NMEDIT"; then
   6682   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6683 else
   6684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6685 for as_dir in $PATH
   6686 do
   6687   IFS=$as_save_IFS
   6688   test -z "$as_dir" && as_dir=.
   6689     for ac_exec_ext in '' $ac_executable_extensions; do
   6690   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6691     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6692     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6693     break 2
   6694   fi
   6695 done
   6696   done
   6697 IFS=$as_save_IFS
   6698 
   6699 fi
   6700 fi
   6701 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6702 if test -n "$ac_ct_NMEDIT"; then
   6703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6704 $as_echo "$ac_ct_NMEDIT" >&6; }
   6705 else
   6706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6707 $as_echo "no" >&6; }
   6708 fi
   6709 
   6710   if test "x$ac_ct_NMEDIT" = x; then
   6711     NMEDIT=":"
   6712   else
   6713     case $cross_compiling:$ac_tool_warned in
   6714 yes:)
   6715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6717 ac_tool_warned=yes ;;
   6718 esac
   6719     NMEDIT=$ac_ct_NMEDIT
   6720   fi
   6721 else
   6722   NMEDIT="$ac_cv_prog_NMEDIT"
   6723 fi
   6724 
   6725     if test -n "$ac_tool_prefix"; then
   6726   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6727 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6729 $as_echo_n "checking for $ac_word... " >&6; }
   6730 if ${ac_cv_prog_LIPO+:} false; then :
   6731   $as_echo_n "(cached) " >&6
   6732 else
   6733   if test -n "$LIPO"; then
   6734   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6735 else
   6736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6737 for as_dir in $PATH
   6738 do
   6739   IFS=$as_save_IFS
   6740   test -z "$as_dir" && as_dir=.
   6741     for ac_exec_ext in '' $ac_executable_extensions; do
   6742   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6743     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6744     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6745     break 2
   6746   fi
   6747 done
   6748   done
   6749 IFS=$as_save_IFS
   6750 
   6751 fi
   6752 fi
   6753 LIPO=$ac_cv_prog_LIPO
   6754 if test -n "$LIPO"; then
   6755   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6756 $as_echo "$LIPO" >&6; }
   6757 else
   6758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6759 $as_echo "no" >&6; }
   6760 fi
   6761 
   6762 
   6763 fi
   6764 if test -z "$ac_cv_prog_LIPO"; then
   6765   ac_ct_LIPO=$LIPO
   6766   # Extract the first word of "lipo", so it can be a program name with args.
   6767 set dummy lipo; ac_word=$2
   6768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6769 $as_echo_n "checking for $ac_word... " >&6; }
   6770 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6771   $as_echo_n "(cached) " >&6
   6772 else
   6773   if test -n "$ac_ct_LIPO"; then
   6774   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6775 else
   6776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6777 for as_dir in $PATH
   6778 do
   6779   IFS=$as_save_IFS
   6780   test -z "$as_dir" && as_dir=.
   6781     for ac_exec_ext in '' $ac_executable_extensions; do
   6782   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6783     ac_cv_prog_ac_ct_LIPO="lipo"
   6784     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6785     break 2
   6786   fi
   6787 done
   6788   done
   6789 IFS=$as_save_IFS
   6790 
   6791 fi
   6792 fi
   6793 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6794 if test -n "$ac_ct_LIPO"; then
   6795   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6796 $as_echo "$ac_ct_LIPO" >&6; }
   6797 else
   6798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6799 $as_echo "no" >&6; }
   6800 fi
   6801 
   6802   if test "x$ac_ct_LIPO" = x; then
   6803     LIPO=":"
   6804   else
   6805     case $cross_compiling:$ac_tool_warned in
   6806 yes:)
   6807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6809 ac_tool_warned=yes ;;
   6810 esac
   6811     LIPO=$ac_ct_LIPO
   6812   fi
   6813 else
   6814   LIPO="$ac_cv_prog_LIPO"
   6815 fi
   6816 
   6817     if test -n "$ac_tool_prefix"; then
   6818   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6819 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6821 $as_echo_n "checking for $ac_word... " >&6; }
   6822 if ${ac_cv_prog_OTOOL+:} false; then :
   6823   $as_echo_n "(cached) " >&6
   6824 else
   6825   if test -n "$OTOOL"; then
   6826   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6827 else
   6828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6829 for as_dir in $PATH
   6830 do
   6831   IFS=$as_save_IFS
   6832   test -z "$as_dir" && as_dir=.
   6833     for ac_exec_ext in '' $ac_executable_extensions; do
   6834   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6835     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6836     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6837     break 2
   6838   fi
   6839 done
   6840   done
   6841 IFS=$as_save_IFS
   6842 
   6843 fi
   6844 fi
   6845 OTOOL=$ac_cv_prog_OTOOL
   6846 if test -n "$OTOOL"; then
   6847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6848 $as_echo "$OTOOL" >&6; }
   6849 else
   6850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6851 $as_echo "no" >&6; }
   6852 fi
   6853 
   6854 
   6855 fi
   6856 if test -z "$ac_cv_prog_OTOOL"; then
   6857   ac_ct_OTOOL=$OTOOL
   6858   # Extract the first word of "otool", so it can be a program name with args.
   6859 set dummy otool; ac_word=$2
   6860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6861 $as_echo_n "checking for $ac_word... " >&6; }
   6862 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6863   $as_echo_n "(cached) " >&6
   6864 else
   6865   if test -n "$ac_ct_OTOOL"; then
   6866   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6867 else
   6868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6869 for as_dir in $PATH
   6870 do
   6871   IFS=$as_save_IFS
   6872   test -z "$as_dir" && as_dir=.
   6873     for ac_exec_ext in '' $ac_executable_extensions; do
   6874   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6875     ac_cv_prog_ac_ct_OTOOL="otool"
   6876     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6877     break 2
   6878   fi
   6879 done
   6880   done
   6881 IFS=$as_save_IFS
   6882 
   6883 fi
   6884 fi
   6885 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6886 if test -n "$ac_ct_OTOOL"; then
   6887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6888 $as_echo "$ac_ct_OTOOL" >&6; }
   6889 else
   6890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6891 $as_echo "no" >&6; }
   6892 fi
   6893 
   6894   if test "x$ac_ct_OTOOL" = x; then
   6895     OTOOL=":"
   6896   else
   6897     case $cross_compiling:$ac_tool_warned in
   6898 yes:)
   6899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6901 ac_tool_warned=yes ;;
   6902 esac
   6903     OTOOL=$ac_ct_OTOOL
   6904   fi
   6905 else
   6906   OTOOL="$ac_cv_prog_OTOOL"
   6907 fi
   6908 
   6909     if test -n "$ac_tool_prefix"; then
   6910   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6911 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6913 $as_echo_n "checking for $ac_word... " >&6; }
   6914 if ${ac_cv_prog_OTOOL64+:} false; then :
   6915   $as_echo_n "(cached) " >&6
   6916 else
   6917   if test -n "$OTOOL64"; then
   6918   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6919 else
   6920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6921 for as_dir in $PATH
   6922 do
   6923   IFS=$as_save_IFS
   6924   test -z "$as_dir" && as_dir=.
   6925     for ac_exec_ext in '' $ac_executable_extensions; do
   6926   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6927     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6928     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6929     break 2
   6930   fi
   6931 done
   6932   done
   6933 IFS=$as_save_IFS
   6934 
   6935 fi
   6936 fi
   6937 OTOOL64=$ac_cv_prog_OTOOL64
   6938 if test -n "$OTOOL64"; then
   6939   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6940 $as_echo "$OTOOL64" >&6; }
   6941 else
   6942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6943 $as_echo "no" >&6; }
   6944 fi
   6945 
   6946 
   6947 fi
   6948 if test -z "$ac_cv_prog_OTOOL64"; then
   6949   ac_ct_OTOOL64=$OTOOL64
   6950   # Extract the first word of "otool64", so it can be a program name with args.
   6951 set dummy otool64; ac_word=$2
   6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6953 $as_echo_n "checking for $ac_word... " >&6; }
   6954 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6955   $as_echo_n "(cached) " >&6
   6956 else
   6957   if test -n "$ac_ct_OTOOL64"; then
   6958   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6959 else
   6960 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6961 for as_dir in $PATH
   6962 do
   6963   IFS=$as_save_IFS
   6964   test -z "$as_dir" && as_dir=.
   6965     for ac_exec_ext in '' $ac_executable_extensions; do
   6966   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6967     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6968     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6969     break 2
   6970   fi
   6971 done
   6972   done
   6973 IFS=$as_save_IFS
   6974 
   6975 fi
   6976 fi
   6977 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6978 if test -n "$ac_ct_OTOOL64"; then
   6979   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6980 $as_echo "$ac_ct_OTOOL64" >&6; }
   6981 else
   6982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6983 $as_echo "no" >&6; }
   6984 fi
   6985 
   6986   if test "x$ac_ct_OTOOL64" = x; then
   6987     OTOOL64=":"
   6988   else
   6989     case $cross_compiling:$ac_tool_warned in
   6990 yes:)
   6991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6992 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6993 ac_tool_warned=yes ;;
   6994 esac
   6995     OTOOL64=$ac_ct_OTOOL64
   6996   fi
   6997 else
   6998   OTOOL64="$ac_cv_prog_OTOOL64"
   6999 fi
   7000 
   7001 
   7002 
   7003 
   7004 
   7005 
   7006 
   7007 
   7008 
   7009 
   7010 
   7011 
   7012 
   7013 
   7014 
   7015 
   7016 
   7017 
   7018 
   7019 
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7028 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7029 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7030   $as_echo_n "(cached) " >&6
   7031 else
   7032   lt_cv_apple_cc_single_mod=no
   7033       if test -z "${LT_MULTI_MODULE}"; then
   7034 	# By default we will add the -single_module flag. You can override
   7035 	# by either setting the environment variable LT_MULTI_MODULE
   7036 	# non-empty at configure time, or by adding -multi_module to the
   7037 	# link flags.
   7038 	rm -rf libconftest.dylib*
   7039 	echo "int foo(void){return 1;}" > conftest.c
   7040 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7041 -dynamiclib -Wl,-single_module conftest.c" >&5
   7042 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7043 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7044         _lt_result=$?
   7045 	# If there is a non-empty error log, and "single_module"
   7046 	# appears in it, assume the flag caused a linker warning
   7047         if test -s conftest.err && $GREP single_module conftest.err; then
   7048 	  cat conftest.err >&5
   7049 	# Otherwise, if the output was created with a 0 exit code from
   7050 	# the compiler, it worked.
   7051 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7052 	  lt_cv_apple_cc_single_mod=yes
   7053 	else
   7054 	  cat conftest.err >&5
   7055 	fi
   7056 	rm -rf libconftest.dylib*
   7057 	rm -f conftest.*
   7058       fi
   7059 fi
   7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7061 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7062 
   7063     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7064 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7065 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7066   $as_echo_n "(cached) " >&6
   7067 else
   7068   lt_cv_ld_exported_symbols_list=no
   7069       save_LDFLAGS=$LDFLAGS
   7070       echo "_main" > conftest.sym
   7071       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7072       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7073 /* end confdefs.h.  */
   7074 
   7075 int
   7076 main ()
   7077 {
   7078 
   7079   ;
   7080   return 0;
   7081 }
   7082 _ACEOF
   7083 if ac_fn_c_try_link "$LINENO"; then :
   7084   lt_cv_ld_exported_symbols_list=yes
   7085 else
   7086   lt_cv_ld_exported_symbols_list=no
   7087 fi
   7088 rm -f core conftest.err conftest.$ac_objext \
   7089     conftest$ac_exeext conftest.$ac_ext
   7090 	LDFLAGS="$save_LDFLAGS"
   7091 
   7092 fi
   7093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7094 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7095 
   7096     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7097 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7098 if ${lt_cv_ld_force_load+:} false; then :
   7099   $as_echo_n "(cached) " >&6
   7100 else
   7101   lt_cv_ld_force_load=no
   7102       cat > conftest.c << _LT_EOF
   7103 int forced_loaded() { return 2;}
   7104 _LT_EOF
   7105       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7106       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7107       echo "$AR cru libconftest.a conftest.o" >&5
   7108       $AR cru libconftest.a conftest.o 2>&5
   7109       echo "$RANLIB libconftest.a" >&5
   7110       $RANLIB libconftest.a 2>&5
   7111       cat > conftest.c << _LT_EOF
   7112 int main() { return 0;}
   7113 _LT_EOF
   7114       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7115       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7116       _lt_result=$?
   7117       if test -s conftest.err && $GREP force_load conftest.err; then
   7118 	cat conftest.err >&5
   7119       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7120 	lt_cv_ld_force_load=yes
   7121       else
   7122 	cat conftest.err >&5
   7123       fi
   7124         rm -f conftest.err libconftest.a conftest conftest.c
   7125         rm -rf conftest.dSYM
   7126 
   7127 fi
   7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7129 $as_echo "$lt_cv_ld_force_load" >&6; }
   7130     case $host_os in
   7131     rhapsody* | darwin1.[012])
   7132       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7133     darwin1.*)
   7134       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7135     darwin*) # darwin 5.x on
   7136       # if running on 10.5 or later, the deployment target defaults
   7137       # to the OS version, if on x86, and 10.4, the deployment
   7138       # target defaults to 10.4. Don't you love it?
   7139       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7140 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7141 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7142 	10.[012]*)
   7143 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7144 	10.*)
   7145 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7146       esac
   7147     ;;
   7148   esac
   7149     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7150       _lt_dar_single_mod='$single_module'
   7151     fi
   7152     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7153       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7154     else
   7155       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7156     fi
   7157     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7158       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7159     else
   7160       _lt_dsymutil=
   7161     fi
   7162     ;;
   7163   esac
   7164 
   7165 ac_ext=c
   7166 ac_cpp='$CPP $CPPFLAGS'
   7167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7171 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7172 # On Suns, sometimes $CPP names a directory.
   7173 if test -n "$CPP" && test -d "$CPP"; then
   7174   CPP=
   7175 fi
   7176 if test -z "$CPP"; then
   7177   if ${ac_cv_prog_CPP+:} false; then :
   7178   $as_echo_n "(cached) " >&6
   7179 else
   7180       # Double quotes because CPP needs to be expanded
   7181     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7182     do
   7183       ac_preproc_ok=false
   7184 for ac_c_preproc_warn_flag in '' yes
   7185 do
   7186   # Use a header file that comes with gcc, so configuring glibc
   7187   # with a fresh cross-compiler works.
   7188   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7189   # <limits.h> exists even on freestanding compilers.
   7190   # On the NeXT, cc -E runs the code through the compiler's parser,
   7191   # not just through cpp. "Syntax error" is here to catch this case.
   7192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7193 /* end confdefs.h.  */
   7194 #ifdef __STDC__
   7195 # include <limits.h>
   7196 #else
   7197 # include <assert.h>
   7198 #endif
   7199 		     Syntax error
   7200 _ACEOF
   7201 if ac_fn_c_try_cpp "$LINENO"; then :
   7202 
   7203 else
   7204   # Broken: fails on valid input.
   7205 continue
   7206 fi
   7207 rm -f conftest.err conftest.i conftest.$ac_ext
   7208 
   7209   # OK, works on sane cases.  Now check whether nonexistent headers
   7210   # can be detected and how.
   7211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7212 /* end confdefs.h.  */
   7213 #include <ac_nonexistent.h>
   7214 _ACEOF
   7215 if ac_fn_c_try_cpp "$LINENO"; then :
   7216   # Broken: success on invalid input.
   7217 continue
   7218 else
   7219   # Passes both tests.
   7220 ac_preproc_ok=:
   7221 break
   7222 fi
   7223 rm -f conftest.err conftest.i conftest.$ac_ext
   7224 
   7225 done
   7226 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7227 rm -f conftest.i conftest.err conftest.$ac_ext
   7228 if $ac_preproc_ok; then :
   7229   break
   7230 fi
   7231 
   7232     done
   7233     ac_cv_prog_CPP=$CPP
   7234 
   7235 fi
   7236   CPP=$ac_cv_prog_CPP
   7237 else
   7238   ac_cv_prog_CPP=$CPP
   7239 fi
   7240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7241 $as_echo "$CPP" >&6; }
   7242 ac_preproc_ok=false
   7243 for ac_c_preproc_warn_flag in '' yes
   7244 do
   7245   # Use a header file that comes with gcc, so configuring glibc
   7246   # with a fresh cross-compiler works.
   7247   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7248   # <limits.h> exists even on freestanding compilers.
   7249   # On the NeXT, cc -E runs the code through the compiler's parser,
   7250   # not just through cpp. "Syntax error" is here to catch this case.
   7251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7252 /* end confdefs.h.  */
   7253 #ifdef __STDC__
   7254 # include <limits.h>
   7255 #else
   7256 # include <assert.h>
   7257 #endif
   7258 		     Syntax error
   7259 _ACEOF
   7260 if ac_fn_c_try_cpp "$LINENO"; then :
   7261 
   7262 else
   7263   # Broken: fails on valid input.
   7264 continue
   7265 fi
   7266 rm -f conftest.err conftest.i conftest.$ac_ext
   7267 
   7268   # OK, works on sane cases.  Now check whether nonexistent headers
   7269   # can be detected and how.
   7270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7271 /* end confdefs.h.  */
   7272 #include <ac_nonexistent.h>
   7273 _ACEOF
   7274 if ac_fn_c_try_cpp "$LINENO"; then :
   7275   # Broken: success on invalid input.
   7276 continue
   7277 else
   7278   # Passes both tests.
   7279 ac_preproc_ok=:
   7280 break
   7281 fi
   7282 rm -f conftest.err conftest.i conftest.$ac_ext
   7283 
   7284 done
   7285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7286 rm -f conftest.i conftest.err conftest.$ac_ext
   7287 if $ac_preproc_ok; then :
   7288 
   7289 else
   7290   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7292 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7293 See \`config.log' for more details" "$LINENO" 5; }
   7294 fi
   7295 
   7296 ac_ext=c
   7297 ac_cpp='$CPP $CPPFLAGS'
   7298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7301 
   7302 
   7303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7304 $as_echo_n "checking for ANSI C header files... " >&6; }
   7305 if ${ac_cv_header_stdc+:} false; then :
   7306   $as_echo_n "(cached) " >&6
   7307 else
   7308   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7309 /* end confdefs.h.  */
   7310 #include <stdlib.h>
   7311 #include <stdarg.h>
   7312 #include <string.h>
   7313 #include <float.h>
   7314 
   7315 int
   7316 main ()
   7317 {
   7318 
   7319   ;
   7320   return 0;
   7321 }
   7322 _ACEOF
   7323 if ac_fn_c_try_compile "$LINENO"; then :
   7324   ac_cv_header_stdc=yes
   7325 else
   7326   ac_cv_header_stdc=no
   7327 fi
   7328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7329 
   7330 if test $ac_cv_header_stdc = yes; then
   7331   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7333 /* end confdefs.h.  */
   7334 #include <string.h>
   7335 
   7336 _ACEOF
   7337 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7338   $EGREP "memchr" >/dev/null 2>&1; then :
   7339 
   7340 else
   7341   ac_cv_header_stdc=no
   7342 fi
   7343 rm -f conftest*
   7344 
   7345 fi
   7346 
   7347 if test $ac_cv_header_stdc = yes; then
   7348   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7350 /* end confdefs.h.  */
   7351 #include <stdlib.h>
   7352 
   7353 _ACEOF
   7354 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7355   $EGREP "free" >/dev/null 2>&1; then :
   7356 
   7357 else
   7358   ac_cv_header_stdc=no
   7359 fi
   7360 rm -f conftest*
   7361 
   7362 fi
   7363 
   7364 if test $ac_cv_header_stdc = yes; then
   7365   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7366   if test "$cross_compiling" = yes; then :
   7367   :
   7368 else
   7369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7370 /* end confdefs.h.  */
   7371 #include <ctype.h>
   7372 #include <stdlib.h>
   7373 #if ((' ' & 0x0FF) == 0x020)
   7374 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7375 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7376 #else
   7377 # define ISLOWER(c) \
   7378 		   (('a' <= (c) && (c) <= 'i') \
   7379 		     || ('j' <= (c) && (c) <= 'r') \
   7380 		     || ('s' <= (c) && (c) <= 'z'))
   7381 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7382 #endif
   7383 
   7384 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7385 int
   7386 main ()
   7387 {
   7388   int i;
   7389   for (i = 0; i < 256; i++)
   7390     if (XOR (islower (i), ISLOWER (i))
   7391 	|| toupper (i) != TOUPPER (i))
   7392       return 2;
   7393   return 0;
   7394 }
   7395 _ACEOF
   7396 if ac_fn_c_try_run "$LINENO"; then :
   7397 
   7398 else
   7399   ac_cv_header_stdc=no
   7400 fi
   7401 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7402   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7403 fi
   7404 
   7405 fi
   7406 fi
   7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7408 $as_echo "$ac_cv_header_stdc" >&6; }
   7409 if test $ac_cv_header_stdc = yes; then
   7410 
   7411 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7412 
   7413 fi
   7414 
   7415 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7416 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7417 		  inttypes.h stdint.h unistd.h
   7418 do :
   7419   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7420 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7421 "
   7422 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7423   cat >>confdefs.h <<_ACEOF
   7424 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7425 _ACEOF
   7426 
   7427 fi
   7428 
   7429 done
   7430 
   7431 
   7432 for ac_header in dlfcn.h
   7433 do :
   7434   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7435 "
   7436 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7437   cat >>confdefs.h <<_ACEOF
   7438 #define HAVE_DLFCN_H 1
   7439 _ACEOF
   7440 
   7441 fi
   7442 
   7443 done
   7444 
   7445 
   7446 
   7447 
   7448 
   7449 # Set options
   7450 
   7451 
   7452 
   7453         enable_dlopen=no
   7454 
   7455 
   7456   enable_win32_dll=no
   7457 
   7458 
   7459             # Check whether --enable-shared was given.
   7460 if test "${enable_shared+set}" = set; then :
   7461   enableval=$enable_shared; p=${PACKAGE-default}
   7462     case $enableval in
   7463     yes) enable_shared=yes ;;
   7464     no) enable_shared=no ;;
   7465     *)
   7466       enable_shared=no
   7467       # Look at the argument we got.  We use all the common list separators.
   7468       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7469       for pkg in $enableval; do
   7470 	IFS="$lt_save_ifs"
   7471 	if test "X$pkg" = "X$p"; then
   7472 	  enable_shared=yes
   7473 	fi
   7474       done
   7475       IFS="$lt_save_ifs"
   7476       ;;
   7477     esac
   7478 else
   7479   enable_shared=yes
   7480 fi
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490   # Check whether --enable-static was given.
   7491 if test "${enable_static+set}" = set; then :
   7492   enableval=$enable_static; p=${PACKAGE-default}
   7493     case $enableval in
   7494     yes) enable_static=yes ;;
   7495     no) enable_static=no ;;
   7496     *)
   7497      enable_static=no
   7498       # Look at the argument we got.  We use all the common list separators.
   7499       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7500       for pkg in $enableval; do
   7501 	IFS="$lt_save_ifs"
   7502 	if test "X$pkg" = "X$p"; then
   7503 	  enable_static=yes
   7504 	fi
   7505       done
   7506       IFS="$lt_save_ifs"
   7507       ;;
   7508     esac
   7509 else
   7510   enable_static=yes
   7511 fi
   7512 
   7513 
   7514 
   7515 
   7516 
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 # Check whether --with-pic was given.
   7523 if test "${with_pic+set}" = set; then :
   7524   withval=$with_pic; lt_p=${PACKAGE-default}
   7525     case $withval in
   7526     yes|no) pic_mode=$withval ;;
   7527     *)
   7528       pic_mode=default
   7529       # Look at the argument we got.  We use all the common list separators.
   7530       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7531       for lt_pkg in $withval; do
   7532 	IFS="$lt_save_ifs"
   7533 	if test "X$lt_pkg" = "X$lt_p"; then
   7534 	  pic_mode=yes
   7535 	fi
   7536       done
   7537       IFS="$lt_save_ifs"
   7538       ;;
   7539     esac
   7540 else
   7541   pic_mode=default
   7542 fi
   7543 
   7544 
   7545 test -z "$pic_mode" && pic_mode=default
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553   # Check whether --enable-fast-install was given.
   7554 if test "${enable_fast_install+set}" = set; then :
   7555   enableval=$enable_fast_install; p=${PACKAGE-default}
   7556     case $enableval in
   7557     yes) enable_fast_install=yes ;;
   7558     no) enable_fast_install=no ;;
   7559     *)
   7560       enable_fast_install=no
   7561       # Look at the argument we got.  We use all the common list separators.
   7562       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7563       for pkg in $enableval; do
   7564 	IFS="$lt_save_ifs"
   7565 	if test "X$pkg" = "X$p"; then
   7566 	  enable_fast_install=yes
   7567 	fi
   7568       done
   7569       IFS="$lt_save_ifs"
   7570       ;;
   7571     esac
   7572 else
   7573   enable_fast_install=yes
   7574 fi
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 
   7581 
   7582 
   7583 
   7584 
   7585 
   7586 # This can be used to rebuild libtool when needed
   7587 LIBTOOL_DEPS="$ltmain"
   7588 
   7589 # Always use our own libtool.
   7590 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 
   7598 
   7599 
   7600 
   7601 
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 test -z "$LN_S" && LN_S="ln -s"
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 if test -n "${ZSH_VERSION+set}" ; then
   7637    setopt NO_GLOB_SUBST
   7638 fi
   7639 
   7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7641 $as_echo_n "checking for objdir... " >&6; }
   7642 if ${lt_cv_objdir+:} false; then :
   7643   $as_echo_n "(cached) " >&6
   7644 else
   7645   rm -f .libs 2>/dev/null
   7646 mkdir .libs 2>/dev/null
   7647 if test -d .libs; then
   7648   lt_cv_objdir=.libs
   7649 else
   7650   # MS-DOS does not allow filenames that begin with a dot.
   7651   lt_cv_objdir=_libs
   7652 fi
   7653 rmdir .libs 2>/dev/null
   7654 fi
   7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7656 $as_echo "$lt_cv_objdir" >&6; }
   7657 objdir=$lt_cv_objdir
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 cat >>confdefs.h <<_ACEOF
   7664 #define LT_OBJDIR "$lt_cv_objdir/"
   7665 _ACEOF
   7666 
   7667 
   7668 
   7669 
   7670 case $host_os in
   7671 aix3*)
   7672   # AIX sometimes has problems with the GCC collect2 program.  For some
   7673   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7674   # vanish in a puff of smoke.
   7675   if test "X${COLLECT_NAMES+set}" != Xset; then
   7676     COLLECT_NAMES=
   7677     export COLLECT_NAMES
   7678   fi
   7679   ;;
   7680 esac
   7681 
   7682 # Global variables:
   7683 ofile=libtool
   7684 can_build_shared=yes
   7685 
   7686 # All known linkers require a `.a' archive for static linking (except MSVC,
   7687 # which needs '.lib').
   7688 libext=a
   7689 
   7690 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7691 
   7692 old_CC="$CC"
   7693 old_CFLAGS="$CFLAGS"
   7694 
   7695 # Set sane defaults for various variables
   7696 test -z "$CC" && CC=cc
   7697 test -z "$LTCC" && LTCC=$CC
   7698 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7699 test -z "$LD" && LD=ld
   7700 test -z "$ac_objext" && ac_objext=o
   7701 
   7702 for cc_temp in $compiler""; do
   7703   case $cc_temp in
   7704     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7705     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7706     \-*) ;;
   7707     *) break;;
   7708   esac
   7709 done
   7710 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7711 
   7712 
   7713 # Only perform the check for file, if the check method requires it
   7714 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7715 case $deplibs_check_method in
   7716 file_magic*)
   7717   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7718     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7719 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7720 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7721   $as_echo_n "(cached) " >&6
   7722 else
   7723   case $MAGIC_CMD in
   7724 [\\/*] |  ?:[\\/]*)
   7725   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7726   ;;
   7727 *)
   7728   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7729   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7730   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7731   for ac_dir in $ac_dummy; do
   7732     IFS="$lt_save_ifs"
   7733     test -z "$ac_dir" && ac_dir=.
   7734     if test -f $ac_dir/${ac_tool_prefix}file; then
   7735       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7736       if test -n "$file_magic_test_file"; then
   7737 	case $deplibs_check_method in
   7738 	"file_magic "*)
   7739 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7740 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7741 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7742 	    $EGREP "$file_magic_regex" > /dev/null; then
   7743 	    :
   7744 	  else
   7745 	    cat <<_LT_EOF 1>&2
   7746 
   7747 *** Warning: the command libtool uses to detect shared libraries,
   7748 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7749 *** The result is that libtool may fail to recognize shared libraries
   7750 *** as such.  This will affect the creation of libtool libraries that
   7751 *** depend on shared libraries, but programs linked with such libtool
   7752 *** libraries will work regardless of this problem.  Nevertheless, you
   7753 *** may want to report the problem to your system manager and/or to
   7754 *** bug-libtool@gnu.org
   7755 
   7756 _LT_EOF
   7757 	  fi ;;
   7758 	esac
   7759       fi
   7760       break
   7761     fi
   7762   done
   7763   IFS="$lt_save_ifs"
   7764   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7765   ;;
   7766 esac
   7767 fi
   7768 
   7769 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7770 if test -n "$MAGIC_CMD"; then
   7771   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7772 $as_echo "$MAGIC_CMD" >&6; }
   7773 else
   7774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7775 $as_echo "no" >&6; }
   7776 fi
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7783   if test -n "$ac_tool_prefix"; then
   7784     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7785 $as_echo_n "checking for file... " >&6; }
   7786 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7787   $as_echo_n "(cached) " >&6
   7788 else
   7789   case $MAGIC_CMD in
   7790 [\\/*] |  ?:[\\/]*)
   7791   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7792   ;;
   7793 *)
   7794   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7795   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7796   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7797   for ac_dir in $ac_dummy; do
   7798     IFS="$lt_save_ifs"
   7799     test -z "$ac_dir" && ac_dir=.
   7800     if test -f $ac_dir/file; then
   7801       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7802       if test -n "$file_magic_test_file"; then
   7803 	case $deplibs_check_method in
   7804 	"file_magic "*)
   7805 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7806 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7807 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7808 	    $EGREP "$file_magic_regex" > /dev/null; then
   7809 	    :
   7810 	  else
   7811 	    cat <<_LT_EOF 1>&2
   7812 
   7813 *** Warning: the command libtool uses to detect shared libraries,
   7814 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7815 *** The result is that libtool may fail to recognize shared libraries
   7816 *** as such.  This will affect the creation of libtool libraries that
   7817 *** depend on shared libraries, but programs linked with such libtool
   7818 *** libraries will work regardless of this problem.  Nevertheless, you
   7819 *** may want to report the problem to your system manager and/or to
   7820 *** bug-libtool@gnu.org
   7821 
   7822 _LT_EOF
   7823 	  fi ;;
   7824 	esac
   7825       fi
   7826       break
   7827     fi
   7828   done
   7829   IFS="$lt_save_ifs"
   7830   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7831   ;;
   7832 esac
   7833 fi
   7834 
   7835 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7836 if test -n "$MAGIC_CMD"; then
   7837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7838 $as_echo "$MAGIC_CMD" >&6; }
   7839 else
   7840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7841 $as_echo "no" >&6; }
   7842 fi
   7843 
   7844 
   7845   else
   7846     MAGIC_CMD=:
   7847   fi
   7848 fi
   7849 
   7850   fi
   7851   ;;
   7852 esac
   7853 
   7854 # Use C for the default configuration in the libtool script
   7855 
   7856 lt_save_CC="$CC"
   7857 ac_ext=c
   7858 ac_cpp='$CPP $CPPFLAGS'
   7859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7862 
   7863 
   7864 # Source file extension for C test sources.
   7865 ac_ext=c
   7866 
   7867 # Object file extension for compiled C test sources.
   7868 objext=o
   7869 objext=$objext
   7870 
   7871 # Code to be used in simple compile tests
   7872 lt_simple_compile_test_code="int some_variable = 0;"
   7873 
   7874 # Code to be used in simple link tests
   7875 lt_simple_link_test_code='int main(){return(0);}'
   7876 
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 # If no C compiler was specified, use CC.
   7884 LTCC=${LTCC-"$CC"}
   7885 
   7886 # If no C compiler flags were specified, use CFLAGS.
   7887 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7888 
   7889 # Allow CC to be a program name with arguments.
   7890 compiler=$CC
   7891 
   7892 # Save the default compiler, since it gets overwritten when the other
   7893 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7894 compiler_DEFAULT=$CC
   7895 
   7896 # save warnings/boilerplate of simple test code
   7897 ac_outfile=conftest.$ac_objext
   7898 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7899 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7900 _lt_compiler_boilerplate=`cat conftest.err`
   7901 $RM conftest*
   7902 
   7903 ac_outfile=conftest.$ac_objext
   7904 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7905 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7906 _lt_linker_boilerplate=`cat conftest.err`
   7907 $RM -r conftest*
   7908 
   7909 
   7910 if test -n "$compiler"; then
   7911 
   7912 lt_prog_compiler_no_builtin_flag=
   7913 
   7914 if test "$GCC" = yes; then
   7915   case $cc_basename in
   7916   nvcc*)
   7917     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7918   *)
   7919     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7920   esac
   7921 
   7922   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7923 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7924 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7925   $as_echo_n "(cached) " >&6
   7926 else
   7927   lt_cv_prog_compiler_rtti_exceptions=no
   7928    ac_outfile=conftest.$ac_objext
   7929    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7930    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7931    # Insert the option either (1) after the last *FLAGS variable, or
   7932    # (2) before a word containing "conftest.", or (3) at the end.
   7933    # Note that $ac_compile itself does not contain backslashes and begins
   7934    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7935    # The option is referenced via a variable to avoid confusing sed.
   7936    lt_compile=`echo "$ac_compile" | $SED \
   7937    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7938    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7939    -e 's:$: $lt_compiler_flag:'`
   7940    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7941    (eval "$lt_compile" 2>conftest.err)
   7942    ac_status=$?
   7943    cat conftest.err >&5
   7944    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7945    if (exit $ac_status) && test -s "$ac_outfile"; then
   7946      # The compiler can only warn and ignore the option if not recognized
   7947      # So say no if there are warnings other than the usual output.
   7948      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7949      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7950      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7951        lt_cv_prog_compiler_rtti_exceptions=yes
   7952      fi
   7953    fi
   7954    $RM conftest*
   7955 
   7956 fi
   7957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7958 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7959 
   7960 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7961     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7962 else
   7963     :
   7964 fi
   7965 
   7966 fi
   7967 
   7968 
   7969 
   7970 
   7971 
   7972 
   7973   lt_prog_compiler_wl=
   7974 lt_prog_compiler_pic=
   7975 lt_prog_compiler_static=
   7976 
   7977 
   7978   if test "$GCC" = yes; then
   7979     lt_prog_compiler_wl='-Wl,'
   7980     lt_prog_compiler_static='-static'
   7981 
   7982     case $host_os in
   7983       aix*)
   7984       # All AIX code is PIC.
   7985       if test "$host_cpu" = ia64; then
   7986 	# AIX 5 now supports IA64 processor
   7987 	lt_prog_compiler_static='-Bstatic'
   7988       fi
   7989       ;;
   7990 
   7991     amigaos*)
   7992       case $host_cpu in
   7993       powerpc)
   7994             # see comment about AmigaOS4 .so support
   7995             lt_prog_compiler_pic='-fPIC'
   7996         ;;
   7997       m68k)
   7998             # FIXME: we need at least 68020 code to build shared libraries, but
   7999             # adding the `-m68020' flag to GCC prevents building anything better,
   8000             # like `-m68040'.
   8001             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8002         ;;
   8003       esac
   8004       ;;
   8005 
   8006     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8007       # PIC is the default for these OSes.
   8008       ;;
   8009 
   8010     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8011       # This hack is so that the source file can tell whether it is being
   8012       # built for inclusion in a dll (and should export symbols for example).
   8013       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8014       # (--disable-auto-import) libraries
   8015       lt_prog_compiler_pic='-DDLL_EXPORT'
   8016       ;;
   8017 
   8018     darwin* | rhapsody*)
   8019       # PIC is the default on this platform
   8020       # Common symbols not allowed in MH_DYLIB files
   8021       lt_prog_compiler_pic='-fno-common'
   8022       ;;
   8023 
   8024     haiku*)
   8025       # PIC is the default for Haiku.
   8026       # The "-static" flag exists, but is broken.
   8027       lt_prog_compiler_static=
   8028       ;;
   8029 
   8030     hpux*)
   8031       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8032       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8033       # sets the default TLS model and affects inlining.
   8034       case $host_cpu in
   8035       hppa*64*)
   8036 	# +Z the default
   8037 	;;
   8038       *)
   8039 	lt_prog_compiler_pic='-fPIC'
   8040 	;;
   8041       esac
   8042       ;;
   8043 
   8044     interix[3-9]*)
   8045       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8046       # Instead, we relocate shared libraries at runtime.
   8047       ;;
   8048 
   8049     msdosdjgpp*)
   8050       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8051       # on systems that don't support them.
   8052       lt_prog_compiler_can_build_shared=no
   8053       enable_shared=no
   8054       ;;
   8055 
   8056     *nto* | *qnx*)
   8057       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8058       # it will coredump.
   8059       lt_prog_compiler_pic='-fPIC -shared'
   8060       ;;
   8061 
   8062     sysv4*MP*)
   8063       if test -d /usr/nec; then
   8064 	lt_prog_compiler_pic=-Kconform_pic
   8065       fi
   8066       ;;
   8067 
   8068     *)
   8069       lt_prog_compiler_pic='-fPIC'
   8070       ;;
   8071     esac
   8072 
   8073     case $cc_basename in
   8074     nvcc*) # Cuda Compiler Driver 2.2
   8075       lt_prog_compiler_wl='-Xlinker '
   8076       if test -n "$lt_prog_compiler_pic"; then
   8077         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8078       fi
   8079       ;;
   8080     esac
   8081   else
   8082     # PORTME Check for flag to pass linker flags through the system compiler.
   8083     case $host_os in
   8084     aix*)
   8085       lt_prog_compiler_wl='-Wl,'
   8086       if test "$host_cpu" = ia64; then
   8087 	# AIX 5 now supports IA64 processor
   8088 	lt_prog_compiler_static='-Bstatic'
   8089       else
   8090 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8091       fi
   8092       ;;
   8093 
   8094     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8095       # This hack is so that the source file can tell whether it is being
   8096       # built for inclusion in a dll (and should export symbols for example).
   8097       lt_prog_compiler_pic='-DDLL_EXPORT'
   8098       ;;
   8099 
   8100     hpux9* | hpux10* | hpux11*)
   8101       lt_prog_compiler_wl='-Wl,'
   8102       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8103       # not for PA HP-UX.
   8104       case $host_cpu in
   8105       hppa*64*|ia64*)
   8106 	# +Z the default
   8107 	;;
   8108       *)
   8109 	lt_prog_compiler_pic='+Z'
   8110 	;;
   8111       esac
   8112       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8113       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8114       ;;
   8115 
   8116     irix5* | irix6* | nonstopux*)
   8117       lt_prog_compiler_wl='-Wl,'
   8118       # PIC (with -KPIC) is the default.
   8119       lt_prog_compiler_static='-non_shared'
   8120       ;;
   8121 
   8122     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8123       case $cc_basename in
   8124       # old Intel for x86_64 which still supported -KPIC.
   8125       ecc*)
   8126 	lt_prog_compiler_wl='-Wl,'
   8127 	lt_prog_compiler_pic='-KPIC'
   8128 	lt_prog_compiler_static='-static'
   8129         ;;
   8130       # icc used to be incompatible with GCC.
   8131       # ICC 10 doesn't accept -KPIC any more.
   8132       icc* | ifort*)
   8133 	lt_prog_compiler_wl='-Wl,'
   8134 	lt_prog_compiler_pic='-fPIC'
   8135 	lt_prog_compiler_static='-static'
   8136         ;;
   8137       # Lahey Fortran 8.1.
   8138       lf95*)
   8139 	lt_prog_compiler_wl='-Wl,'
   8140 	lt_prog_compiler_pic='--shared'
   8141 	lt_prog_compiler_static='--static'
   8142 	;;
   8143       nagfor*)
   8144 	# NAG Fortran compiler
   8145 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8146 	lt_prog_compiler_pic='-PIC'
   8147 	lt_prog_compiler_static='-Bstatic'
   8148 	;;
   8149       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8150         # Portland Group compilers (*not* the Pentium gcc compiler,
   8151 	# which looks to be a dead project)
   8152 	lt_prog_compiler_wl='-Wl,'
   8153 	lt_prog_compiler_pic='-fpic'
   8154 	lt_prog_compiler_static='-Bstatic'
   8155         ;;
   8156       ccc*)
   8157         lt_prog_compiler_wl='-Wl,'
   8158         # All Alpha code is PIC.
   8159         lt_prog_compiler_static='-non_shared'
   8160         ;;
   8161       xl* | bgxl* | bgf* | mpixl*)
   8162 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8163 	lt_prog_compiler_wl='-Wl,'
   8164 	lt_prog_compiler_pic='-qpic'
   8165 	lt_prog_compiler_static='-qstaticlink'
   8166 	;;
   8167       *)
   8168 	case `$CC -V 2>&1 | sed 5q` in
   8169 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8170 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8171 	  lt_prog_compiler_pic='-KPIC'
   8172 	  lt_prog_compiler_static='-Bstatic'
   8173 	  lt_prog_compiler_wl=''
   8174 	  ;;
   8175 	*Sun\ F* | *Sun*Fortran*)
   8176 	  lt_prog_compiler_pic='-KPIC'
   8177 	  lt_prog_compiler_static='-Bstatic'
   8178 	  lt_prog_compiler_wl='-Qoption ld '
   8179 	  ;;
   8180 	*Sun\ C*)
   8181 	  # Sun C 5.9
   8182 	  lt_prog_compiler_pic='-KPIC'
   8183 	  lt_prog_compiler_static='-Bstatic'
   8184 	  lt_prog_compiler_wl='-Wl,'
   8185 	  ;;
   8186         *Intel*\ [CF]*Compiler*)
   8187 	  lt_prog_compiler_wl='-Wl,'
   8188 	  lt_prog_compiler_pic='-fPIC'
   8189 	  lt_prog_compiler_static='-static'
   8190 	  ;;
   8191 	*Portland\ Group*)
   8192 	  lt_prog_compiler_wl='-Wl,'
   8193 	  lt_prog_compiler_pic='-fpic'
   8194 	  lt_prog_compiler_static='-Bstatic'
   8195 	  ;;
   8196 	esac
   8197 	;;
   8198       esac
   8199       ;;
   8200 
   8201     newsos6)
   8202       lt_prog_compiler_pic='-KPIC'
   8203       lt_prog_compiler_static='-Bstatic'
   8204       ;;
   8205 
   8206     *nto* | *qnx*)
   8207       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8208       # it will coredump.
   8209       lt_prog_compiler_pic='-fPIC -shared'
   8210       ;;
   8211 
   8212     osf3* | osf4* | osf5*)
   8213       lt_prog_compiler_wl='-Wl,'
   8214       # All OSF/1 code is PIC.
   8215       lt_prog_compiler_static='-non_shared'
   8216       ;;
   8217 
   8218     rdos*)
   8219       lt_prog_compiler_static='-non_shared'
   8220       ;;
   8221 
   8222     solaris*)
   8223       lt_prog_compiler_pic='-KPIC'
   8224       lt_prog_compiler_static='-Bstatic'
   8225       case $cc_basename in
   8226       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8227 	lt_prog_compiler_wl='-Qoption ld ';;
   8228       *)
   8229 	lt_prog_compiler_wl='-Wl,';;
   8230       esac
   8231       ;;
   8232 
   8233     sunos4*)
   8234       lt_prog_compiler_wl='-Qoption ld '
   8235       lt_prog_compiler_pic='-PIC'
   8236       lt_prog_compiler_static='-Bstatic'
   8237       ;;
   8238 
   8239     sysv4 | sysv4.2uw2* | sysv4.3*)
   8240       lt_prog_compiler_wl='-Wl,'
   8241       lt_prog_compiler_pic='-KPIC'
   8242       lt_prog_compiler_static='-Bstatic'
   8243       ;;
   8244 
   8245     sysv4*MP*)
   8246       if test -d /usr/nec ;then
   8247 	lt_prog_compiler_pic='-Kconform_pic'
   8248 	lt_prog_compiler_static='-Bstatic'
   8249       fi
   8250       ;;
   8251 
   8252     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8253       lt_prog_compiler_wl='-Wl,'
   8254       lt_prog_compiler_pic='-KPIC'
   8255       lt_prog_compiler_static='-Bstatic'
   8256       ;;
   8257 
   8258     unicos*)
   8259       lt_prog_compiler_wl='-Wl,'
   8260       lt_prog_compiler_can_build_shared=no
   8261       ;;
   8262 
   8263     uts4*)
   8264       lt_prog_compiler_pic='-pic'
   8265       lt_prog_compiler_static='-Bstatic'
   8266       ;;
   8267 
   8268     *)
   8269       lt_prog_compiler_can_build_shared=no
   8270       ;;
   8271     esac
   8272   fi
   8273 
   8274 case $host_os in
   8275   # For platforms which do not support PIC, -DPIC is meaningless:
   8276   *djgpp*)
   8277     lt_prog_compiler_pic=
   8278     ;;
   8279   *)
   8280     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8281     ;;
   8282 esac
   8283 
   8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8285 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8286 if ${lt_cv_prog_compiler_pic+:} false; then :
   8287   $as_echo_n "(cached) " >&6
   8288 else
   8289   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8290 fi
   8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8292 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8293 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8294 
   8295 #
   8296 # Check to make sure the PIC flag actually works.
   8297 #
   8298 if test -n "$lt_prog_compiler_pic"; then
   8299   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8300 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8301 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8302   $as_echo_n "(cached) " >&6
   8303 else
   8304   lt_cv_prog_compiler_pic_works=no
   8305    ac_outfile=conftest.$ac_objext
   8306    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8307    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8308    # Insert the option either (1) after the last *FLAGS variable, or
   8309    # (2) before a word containing "conftest.", or (3) at the end.
   8310    # Note that $ac_compile itself does not contain backslashes and begins
   8311    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8312    # The option is referenced via a variable to avoid confusing sed.
   8313    lt_compile=`echo "$ac_compile" | $SED \
   8314    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8315    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8316    -e 's:$: $lt_compiler_flag:'`
   8317    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8318    (eval "$lt_compile" 2>conftest.err)
   8319    ac_status=$?
   8320    cat conftest.err >&5
   8321    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8322    if (exit $ac_status) && test -s "$ac_outfile"; then
   8323      # The compiler can only warn and ignore the option if not recognized
   8324      # So say no if there are warnings other than the usual output.
   8325      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8326      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8327      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8328        lt_cv_prog_compiler_pic_works=yes
   8329      fi
   8330    fi
   8331    $RM conftest*
   8332 
   8333 fi
   8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8335 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8336 
   8337 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8338     case $lt_prog_compiler_pic in
   8339      "" | " "*) ;;
   8340      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8341      esac
   8342 else
   8343     lt_prog_compiler_pic=
   8344      lt_prog_compiler_can_build_shared=no
   8345 fi
   8346 
   8347 fi
   8348 
   8349 
   8350 
   8351 
   8352 
   8353 
   8354 
   8355 
   8356 
   8357 
   8358 
   8359 #
   8360 # Check to make sure the static flag actually works.
   8361 #
   8362 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8364 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8365 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8366   $as_echo_n "(cached) " >&6
   8367 else
   8368   lt_cv_prog_compiler_static_works=no
   8369    save_LDFLAGS="$LDFLAGS"
   8370    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8371    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8372    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8373      # The linker can only warn and ignore the option if not recognized
   8374      # So say no if there are warnings
   8375      if test -s conftest.err; then
   8376        # Append any errors to the config.log.
   8377        cat conftest.err 1>&5
   8378        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8379        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8380        if diff conftest.exp conftest.er2 >/dev/null; then
   8381          lt_cv_prog_compiler_static_works=yes
   8382        fi
   8383      else
   8384        lt_cv_prog_compiler_static_works=yes
   8385      fi
   8386    fi
   8387    $RM -r conftest*
   8388    LDFLAGS="$save_LDFLAGS"
   8389 
   8390 fi
   8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8392 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8393 
   8394 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8395     :
   8396 else
   8397     lt_prog_compiler_static=
   8398 fi
   8399 
   8400 
   8401 
   8402 
   8403 
   8404 
   8405 
   8406   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8407 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8408 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8409   $as_echo_n "(cached) " >&6
   8410 else
   8411   lt_cv_prog_compiler_c_o=no
   8412    $RM -r conftest 2>/dev/null
   8413    mkdir conftest
   8414    cd conftest
   8415    mkdir out
   8416    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8417 
   8418    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8419    # Insert the option either (1) after the last *FLAGS variable, or
   8420    # (2) before a word containing "conftest.", or (3) at the end.
   8421    # Note that $ac_compile itself does not contain backslashes and begins
   8422    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8423    lt_compile=`echo "$ac_compile" | $SED \
   8424    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8425    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8426    -e 's:$: $lt_compiler_flag:'`
   8427    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8428    (eval "$lt_compile" 2>out/conftest.err)
   8429    ac_status=$?
   8430    cat out/conftest.err >&5
   8431    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8432    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8433    then
   8434      # The compiler can only warn and ignore the option if not recognized
   8435      # So say no if there are warnings
   8436      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8437      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8438      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8439        lt_cv_prog_compiler_c_o=yes
   8440      fi
   8441    fi
   8442    chmod u+w . 2>&5
   8443    $RM conftest*
   8444    # SGI C++ compiler will create directory out/ii_files/ for
   8445    # template instantiation
   8446    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8447    $RM out/* && rmdir out
   8448    cd ..
   8449    $RM -r conftest
   8450    $RM conftest*
   8451 
   8452 fi
   8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8454 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8455 
   8456 
   8457 
   8458 
   8459 
   8460 
   8461   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8462 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8463 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8464   $as_echo_n "(cached) " >&6
   8465 else
   8466   lt_cv_prog_compiler_c_o=no
   8467    $RM -r conftest 2>/dev/null
   8468    mkdir conftest
   8469    cd conftest
   8470    mkdir out
   8471    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8472 
   8473    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8474    # Insert the option either (1) after the last *FLAGS variable, or
   8475    # (2) before a word containing "conftest.", or (3) at the end.
   8476    # Note that $ac_compile itself does not contain backslashes and begins
   8477    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8478    lt_compile=`echo "$ac_compile" | $SED \
   8479    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8480    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8481    -e 's:$: $lt_compiler_flag:'`
   8482    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8483    (eval "$lt_compile" 2>out/conftest.err)
   8484    ac_status=$?
   8485    cat out/conftest.err >&5
   8486    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8487    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8488    then
   8489      # The compiler can only warn and ignore the option if not recognized
   8490      # So say no if there are warnings
   8491      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8492      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8493      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8494        lt_cv_prog_compiler_c_o=yes
   8495      fi
   8496    fi
   8497    chmod u+w . 2>&5
   8498    $RM conftest*
   8499    # SGI C++ compiler will create directory out/ii_files/ for
   8500    # template instantiation
   8501    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8502    $RM out/* && rmdir out
   8503    cd ..
   8504    $RM -r conftest
   8505    $RM conftest*
   8506 
   8507 fi
   8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8509 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8510 
   8511 
   8512 
   8513 
   8514 hard_links="nottested"
   8515 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8516   # do not overwrite the value of need_locks provided by the user
   8517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8518 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8519   hard_links=yes
   8520   $RM conftest*
   8521   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8522   touch conftest.a
   8523   ln conftest.a conftest.b 2>&5 || hard_links=no
   8524   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8526 $as_echo "$hard_links" >&6; }
   8527   if test "$hard_links" = no; then
   8528     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8529 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8530     need_locks=warn
   8531   fi
   8532 else
   8533   need_locks=no
   8534 fi
   8535 
   8536 
   8537 
   8538 
   8539 
   8540 
   8541   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8542 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8543 
   8544   runpath_var=
   8545   allow_undefined_flag=
   8546   always_export_symbols=no
   8547   archive_cmds=
   8548   archive_expsym_cmds=
   8549   compiler_needs_object=no
   8550   enable_shared_with_static_runtimes=no
   8551   export_dynamic_flag_spec=
   8552   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8553   hardcode_automatic=no
   8554   hardcode_direct=no
   8555   hardcode_direct_absolute=no
   8556   hardcode_libdir_flag_spec=
   8557   hardcode_libdir_separator=
   8558   hardcode_minus_L=no
   8559   hardcode_shlibpath_var=unsupported
   8560   inherit_rpath=no
   8561   link_all_deplibs=unknown
   8562   module_cmds=
   8563   module_expsym_cmds=
   8564   old_archive_from_new_cmds=
   8565   old_archive_from_expsyms_cmds=
   8566   thread_safe_flag_spec=
   8567   whole_archive_flag_spec=
   8568   # include_expsyms should be a list of space-separated symbols to be *always*
   8569   # included in the symbol list
   8570   include_expsyms=
   8571   # exclude_expsyms can be an extended regexp of symbols to exclude
   8572   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8573   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8574   # as well as any symbol that contains `d'.
   8575   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8576   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8577   # platforms (ab)use it in PIC code, but their linkers get confused if
   8578   # the symbol is explicitly referenced.  Since portable code cannot
   8579   # rely on this symbol name, it's probably fine to never include it in
   8580   # preloaded symbol tables.
   8581   # Exclude shared library initialization/finalization symbols.
   8582   extract_expsyms_cmds=
   8583 
   8584   case $host_os in
   8585   cygwin* | mingw* | pw32* | cegcc*)
   8586     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8587     # When not using gcc, we currently assume that we are using
   8588     # Microsoft Visual C++.
   8589     if test "$GCC" != yes; then
   8590       with_gnu_ld=no
   8591     fi
   8592     ;;
   8593   interix*)
   8594     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8595     with_gnu_ld=yes
   8596     ;;
   8597   openbsd*)
   8598     with_gnu_ld=no
   8599     ;;
   8600   linux* | k*bsd*-gnu | gnu*)
   8601     link_all_deplibs=no
   8602     ;;
   8603   esac
   8604 
   8605   ld_shlibs=yes
   8606 
   8607   # On some targets, GNU ld is compatible enough with the native linker
   8608   # that we're better off using the native interface for both.
   8609   lt_use_gnu_ld_interface=no
   8610   if test "$with_gnu_ld" = yes; then
   8611     case $host_os in
   8612       aix*)
   8613 	# The AIX port of GNU ld has always aspired to compatibility
   8614 	# with the native linker.  However, as the warning in the GNU ld
   8615 	# block says, versions before 2.19.5* couldn't really create working
   8616 	# shared libraries, regardless of the interface used.
   8617 	case `$LD -v 2>&1` in
   8618 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8619 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8620 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8621 	  *)
   8622 	    lt_use_gnu_ld_interface=yes
   8623 	    ;;
   8624 	esac
   8625 	;;
   8626       *)
   8627 	lt_use_gnu_ld_interface=yes
   8628 	;;
   8629     esac
   8630   fi
   8631 
   8632   if test "$lt_use_gnu_ld_interface" = yes; then
   8633     # If archive_cmds runs LD, not CC, wlarc should be empty
   8634     wlarc='${wl}'
   8635 
   8636     # Set some defaults for GNU ld with shared library support. These
   8637     # are reset later if shared libraries are not supported. Putting them
   8638     # here allows them to be overridden if necessary.
   8639     runpath_var=LD_RUN_PATH
   8640     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8641     export_dynamic_flag_spec='${wl}--export-dynamic'
   8642     # ancient GNU ld didn't support --whole-archive et. al.
   8643     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8644       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8645     else
   8646       whole_archive_flag_spec=
   8647     fi
   8648     supports_anon_versioning=no
   8649     case `$LD -v 2>&1` in
   8650       *GNU\ gold*) supports_anon_versioning=yes ;;
   8651       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8652       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8653       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8654       *\ 2.11.*) ;; # other 2.11 versions
   8655       *) supports_anon_versioning=yes ;;
   8656     esac
   8657 
   8658     # See if GNU ld supports shared libraries.
   8659     case $host_os in
   8660     aix[3-9]*)
   8661       # On AIX/PPC, the GNU linker is very broken
   8662       if test "$host_cpu" != ia64; then
   8663 	ld_shlibs=no
   8664 	cat <<_LT_EOF 1>&2
   8665 
   8666 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8667 *** to be unable to reliably create shared libraries on AIX.
   8668 *** Therefore, libtool is disabling shared libraries support.  If you
   8669 *** really care for shared libraries, you may want to install binutils
   8670 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8671 *** You will then need to restart the configuration process.
   8672 
   8673 _LT_EOF
   8674       fi
   8675       ;;
   8676 
   8677     amigaos*)
   8678       case $host_cpu in
   8679       powerpc)
   8680             # see comment about AmigaOS4 .so support
   8681             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8682             archive_expsym_cmds=''
   8683         ;;
   8684       m68k)
   8685             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)'
   8686             hardcode_libdir_flag_spec='-L$libdir'
   8687             hardcode_minus_L=yes
   8688         ;;
   8689       esac
   8690       ;;
   8691 
   8692     beos*)
   8693       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8694 	allow_undefined_flag=unsupported
   8695 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8696 	# support --undefined.  This deserves some investigation.  FIXME
   8697 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8698       else
   8699 	ld_shlibs=no
   8700       fi
   8701       ;;
   8702 
   8703     cygwin* | mingw* | pw32* | cegcc*)
   8704       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8705       # as there is no search path for DLLs.
   8706       hardcode_libdir_flag_spec='-L$libdir'
   8707       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8708       allow_undefined_flag=unsupported
   8709       always_export_symbols=no
   8710       enable_shared_with_static_runtimes=yes
   8711       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'
   8712       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8713 
   8714       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8715         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8716 	# If the export-symbols file already is a .def file (1st line
   8717 	# is EXPORTS), use it as is; otherwise, prepend...
   8718 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8719 	  cp $export_symbols $output_objdir/$soname.def;
   8720 	else
   8721 	  echo EXPORTS > $output_objdir/$soname.def;
   8722 	  cat $export_symbols >> $output_objdir/$soname.def;
   8723 	fi~
   8724 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8725       else
   8726 	ld_shlibs=no
   8727       fi
   8728       ;;
   8729 
   8730     haiku*)
   8731       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8732       link_all_deplibs=yes
   8733       ;;
   8734 
   8735     interix[3-9]*)
   8736       hardcode_direct=no
   8737       hardcode_shlibpath_var=no
   8738       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8739       export_dynamic_flag_spec='${wl}-E'
   8740       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8741       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8742       # default) and relocated if they conflict, which is a slow very memory
   8743       # consuming and fragmenting process.  To avoid this, we pick a random,
   8744       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8745       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8746       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8747       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'
   8748       ;;
   8749 
   8750     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8751       tmp_diet=no
   8752       if test "$host_os" = linux-dietlibc; then
   8753 	case $cc_basename in
   8754 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8755 	esac
   8756       fi
   8757       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8758 	 && test "$tmp_diet" = no
   8759       then
   8760 	tmp_addflag=' $pic_flag'
   8761 	tmp_sharedflag='-shared'
   8762 	case $cc_basename,$host_cpu in
   8763         pgcc*)				# Portland Group C compiler
   8764 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8765 	  tmp_addflag=' $pic_flag'
   8766 	  ;;
   8767 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8768 					# Portland Group f77 and f90 compilers
   8769 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
   8770 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8771 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8772 	  tmp_addflag=' -i_dynamic' ;;
   8773 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8774 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8775 	ifc* | ifort*)			# Intel Fortran compiler
   8776 	  tmp_addflag=' -nofor_main' ;;
   8777 	lf95*)				# Lahey Fortran 8.1
   8778 	  whole_archive_flag_spec=
   8779 	  tmp_sharedflag='--shared' ;;
   8780 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8781 	  tmp_sharedflag='-qmkshrobj'
   8782 	  tmp_addflag= ;;
   8783 	nvcc*)	# Cuda Compiler Driver 2.2
   8784 	  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'
   8785 	  compiler_needs_object=yes
   8786 	  ;;
   8787 	esac
   8788 	case `$CC -V 2>&1 | sed 5q` in
   8789 	*Sun\ C*)			# Sun C 5.9
   8790 	  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'
   8791 	  compiler_needs_object=yes
   8792 	  tmp_sharedflag='-G' ;;
   8793 	*Sun\ F*)			# Sun Fortran 8.3
   8794 	  tmp_sharedflag='-G' ;;
   8795 	esac
   8796 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8797 
   8798         if test "x$supports_anon_versioning" = xyes; then
   8799           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8800 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8801 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8802 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8803         fi
   8804 
   8805 	case $cc_basename in
   8806 	xlf* | bgf* | bgxlf* | mpixlf*)
   8807 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8808 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8809 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8810 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8811 	  if test "x$supports_anon_versioning" = xyes; then
   8812 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8813 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8814 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8815 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8816 	  fi
   8817 	  ;;
   8818 	esac
   8819       else
   8820         ld_shlibs=no
   8821       fi
   8822       ;;
   8823 
   8824     netbsd* | netbsdelf*-gnu)
   8825       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8826 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8827 	wlarc=
   8828       else
   8829 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8830 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8831       fi
   8832       ;;
   8833 
   8834     solaris*)
   8835       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8836 	ld_shlibs=no
   8837 	cat <<_LT_EOF 1>&2
   8838 
   8839 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8840 *** create shared libraries on Solaris systems.  Therefore, libtool
   8841 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8842 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8843 *** your PATH or compiler configuration so that the native linker is
   8844 *** used, and then restart.
   8845 
   8846 _LT_EOF
   8847       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8848 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8849 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8850       else
   8851 	ld_shlibs=no
   8852       fi
   8853       ;;
   8854 
   8855     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8856       case `$LD -v 2>&1` in
   8857         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8858 	ld_shlibs=no
   8859 	cat <<_LT_EOF 1>&2
   8860 
   8861 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8862 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8863 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8864 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8865 *** your PATH or compiler configuration so that the native linker is
   8866 *** used, and then restart.
   8867 
   8868 _LT_EOF
   8869 	;;
   8870 	*)
   8871 	  # For security reasons, it is highly recommended that you always
   8872 	  # use absolute paths for naming shared libraries, and exclude the
   8873 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8874 	  # requires that you compile everything twice, which is a pain.
   8875 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8876 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8877 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8878 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8879 	  else
   8880 	    ld_shlibs=no
   8881 	  fi
   8882 	;;
   8883       esac
   8884       ;;
   8885 
   8886     sunos4*)
   8887       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8888       wlarc=
   8889       hardcode_direct=yes
   8890       hardcode_shlibpath_var=no
   8891       ;;
   8892 
   8893     *)
   8894       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8895 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8896 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8897       else
   8898 	ld_shlibs=no
   8899       fi
   8900       ;;
   8901     esac
   8902 
   8903     if test "$ld_shlibs" = no; then
   8904       runpath_var=
   8905       hardcode_libdir_flag_spec=
   8906       export_dynamic_flag_spec=
   8907       whole_archive_flag_spec=
   8908     fi
   8909   else
   8910     # PORTME fill in a description of your system's linker (not GNU ld)
   8911     case $host_os in
   8912     aix3*)
   8913       allow_undefined_flag=unsupported
   8914       always_export_symbols=yes
   8915       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'
   8916       # Note: this linker hardcodes the directories in LIBPATH if there
   8917       # are no directories specified by -L.
   8918       hardcode_minus_L=yes
   8919       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8920 	# Neither direct hardcoding nor static linking is supported with a
   8921 	# broken collect2.
   8922 	hardcode_direct=unsupported
   8923       fi
   8924       ;;
   8925 
   8926     aix[4-9]*)
   8927       if test "$host_cpu" = ia64; then
   8928 	# On IA64, the linker does run time linking by default, so we don't
   8929 	# have to do anything special.
   8930 	aix_use_runtimelinking=no
   8931 	exp_sym_flag='-Bexport'
   8932 	no_entry_flag=""
   8933       else
   8934 	# If we're using GNU nm, then we don't want the "-C" option.
   8935 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8936 	# Also, AIX nm treats weak defined symbols like other global
   8937 	# defined symbols, whereas GNU nm marks them as "W".
   8938 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8939 	  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'
   8940 	else
   8941 	  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'
   8942 	fi
   8943 	aix_use_runtimelinking=no
   8944 
   8945 	# Test if we are trying to use run time linking or normal
   8946 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8947 	# need to do runtime linking.
   8948 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8949 	  for ld_flag in $LDFLAGS; do
   8950 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8951 	    aix_use_runtimelinking=yes
   8952 	    break
   8953 	  fi
   8954 	  done
   8955 	  ;;
   8956 	esac
   8957 
   8958 	exp_sym_flag='-bexport'
   8959 	no_entry_flag='-bnoentry'
   8960       fi
   8961 
   8962       # When large executables or shared objects are built, AIX ld can
   8963       # have problems creating the table of contents.  If linking a library
   8964       # or program results in "error TOC overflow" add -mminimal-toc to
   8965       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8966       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8967 
   8968       archive_cmds=''
   8969       hardcode_direct=yes
   8970       hardcode_direct_absolute=yes
   8971       hardcode_libdir_separator=':'
   8972       link_all_deplibs=yes
   8973       file_list_spec='${wl}-f,'
   8974 
   8975       if test "$GCC" = yes; then
   8976 	case $host_os in aix4.[012]|aix4.[012].*)
   8977 	# We only want to do this on AIX 4.2 and lower, the check
   8978 	# below for broken collect2 doesn't work under 4.3+
   8979 	  collect2name=`${CC} -print-prog-name=collect2`
   8980 	  if test -f "$collect2name" &&
   8981 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8982 	  then
   8983 	  # We have reworked collect2
   8984 	  :
   8985 	  else
   8986 	  # We have old collect2
   8987 	  hardcode_direct=unsupported
   8988 	  # It fails to find uninstalled libraries when the uninstalled
   8989 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8990 	  # to unsupported forces relinking
   8991 	  hardcode_minus_L=yes
   8992 	  hardcode_libdir_flag_spec='-L$libdir'
   8993 	  hardcode_libdir_separator=
   8994 	  fi
   8995 	  ;;
   8996 	esac
   8997 	shared_flag='-shared'
   8998 	if test "$aix_use_runtimelinking" = yes; then
   8999 	  shared_flag="$shared_flag "'${wl}-G'
   9000 	fi
   9001 	link_all_deplibs=no
   9002       else
   9003 	# not using gcc
   9004 	if test "$host_cpu" = ia64; then
   9005 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9006 	# chokes on -Wl,-G. The following line is correct:
   9007 	  shared_flag='-G'
   9008 	else
   9009 	  if test "$aix_use_runtimelinking" = yes; then
   9010 	    shared_flag='${wl}-G'
   9011 	  else
   9012 	    shared_flag='${wl}-bM:SRE'
   9013 	  fi
   9014 	fi
   9015       fi
   9016 
   9017       export_dynamic_flag_spec='${wl}-bexpall'
   9018       # It seems that -bexpall does not export symbols beginning with
   9019       # underscore (_), so it is better to generate a list of symbols to export.
   9020       always_export_symbols=yes
   9021       if test "$aix_use_runtimelinking" = yes; then
   9022 	# Warning - without using the other runtime loading flags (-brtl),
   9023 	# -berok will link without error, but may produce a broken library.
   9024 	allow_undefined_flag='-berok'
   9025         # Determine the default libpath from the value encoded in an
   9026         # empty executable.
   9027         if test "${lt_cv_aix_libpath+set}" = set; then
   9028   aix_libpath=$lt_cv_aix_libpath
   9029 else
   9030   if ${lt_cv_aix_libpath_+:} false; then :
   9031   $as_echo_n "(cached) " >&6
   9032 else
   9033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9034 /* end confdefs.h.  */
   9035 
   9036 int
   9037 main ()
   9038 {
   9039 
   9040   ;
   9041   return 0;
   9042 }
   9043 _ACEOF
   9044 if ac_fn_c_try_link "$LINENO"; then :
   9045 
   9046   lt_aix_libpath_sed='
   9047       /Import File Strings/,/^$/ {
   9048 	  /^0/ {
   9049 	      s/^0  *\([^ ]*\) *$/\1/
   9050 	      p
   9051 	  }
   9052       }'
   9053   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9054   # Check for a 64-bit object if we didn't find anything.
   9055   if test -z "$lt_cv_aix_libpath_"; then
   9056     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9057   fi
   9058 fi
   9059 rm -f core conftest.err conftest.$ac_objext \
   9060     conftest$ac_exeext conftest.$ac_ext
   9061   if test -z "$lt_cv_aix_libpath_"; then
   9062     lt_cv_aix_libpath_="/usr/lib:/lib"
   9063   fi
   9064 
   9065 fi
   9066 
   9067   aix_libpath=$lt_cv_aix_libpath_
   9068 fi
   9069 
   9070         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9071         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"
   9072       else
   9073 	if test "$host_cpu" = ia64; then
   9074 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9075 	  allow_undefined_flag="-z nodefs"
   9076 	  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"
   9077 	else
   9078 	 # Determine the default libpath from the value encoded in an
   9079 	 # empty executable.
   9080 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9081   aix_libpath=$lt_cv_aix_libpath
   9082 else
   9083   if ${lt_cv_aix_libpath_+:} false; then :
   9084   $as_echo_n "(cached) " >&6
   9085 else
   9086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9087 /* end confdefs.h.  */
   9088 
   9089 int
   9090 main ()
   9091 {
   9092 
   9093   ;
   9094   return 0;
   9095 }
   9096 _ACEOF
   9097 if ac_fn_c_try_link "$LINENO"; then :
   9098 
   9099   lt_aix_libpath_sed='
   9100       /Import File Strings/,/^$/ {
   9101 	  /^0/ {
   9102 	      s/^0  *\([^ ]*\) *$/\1/
   9103 	      p
   9104 	  }
   9105       }'
   9106   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9107   # Check for a 64-bit object if we didn't find anything.
   9108   if test -z "$lt_cv_aix_libpath_"; then
   9109     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9110   fi
   9111 fi
   9112 rm -f core conftest.err conftest.$ac_objext \
   9113     conftest$ac_exeext conftest.$ac_ext
   9114   if test -z "$lt_cv_aix_libpath_"; then
   9115     lt_cv_aix_libpath_="/usr/lib:/lib"
   9116   fi
   9117 
   9118 fi
   9119 
   9120   aix_libpath=$lt_cv_aix_libpath_
   9121 fi
   9122 
   9123 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9124 	  # Warning - without using the other run time loading flags,
   9125 	  # -berok will link without error, but may produce a broken library.
   9126 	  no_undefined_flag=' ${wl}-bernotok'
   9127 	  allow_undefined_flag=' ${wl}-berok'
   9128 	  if test "$with_gnu_ld" = yes; then
   9129 	    # We only use this code for GNU lds that support --whole-archive.
   9130 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9131 	  else
   9132 	    # Exported symbols can be pulled into shared objects from archives
   9133 	    whole_archive_flag_spec='$convenience'
   9134 	  fi
   9135 	  archive_cmds_need_lc=yes
   9136 	  # This is similar to how AIX traditionally builds its shared libraries.
   9137 	  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'
   9138 	fi
   9139       fi
   9140       ;;
   9141 
   9142     amigaos*)
   9143       case $host_cpu in
   9144       powerpc)
   9145             # see comment about AmigaOS4 .so support
   9146             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9147             archive_expsym_cmds=''
   9148         ;;
   9149       m68k)
   9150             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)'
   9151             hardcode_libdir_flag_spec='-L$libdir'
   9152             hardcode_minus_L=yes
   9153         ;;
   9154       esac
   9155       ;;
   9156 
   9157     bsdi[45]*)
   9158       export_dynamic_flag_spec=-rdynamic
   9159       ;;
   9160 
   9161     cygwin* | mingw* | pw32* | cegcc*)
   9162       # When not using gcc, we currently assume that we are using
   9163       # Microsoft Visual C++.
   9164       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9165       # no search path for DLLs.
   9166       case $cc_basename in
   9167       cl*)
   9168 	# Native MSVC
   9169 	hardcode_libdir_flag_spec=' '
   9170 	allow_undefined_flag=unsupported
   9171 	always_export_symbols=yes
   9172 	file_list_spec='@'
   9173 	# Tell ltmain to make .lib files, not .a files.
   9174 	libext=lib
   9175 	# Tell ltmain to make .dll files, not .so files.
   9176 	shrext_cmds=".dll"
   9177 	# FIXME: Setting linknames here is a bad hack.
   9178 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9179 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9180 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9181 	  else
   9182 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9183 	  fi~
   9184 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9185 	  linknames='
   9186 	# The linker will not automatically build a static lib if we build a DLL.
   9187 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9188 	enable_shared_with_static_runtimes=yes
   9189 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9190 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9191 	# Don't use ranlib
   9192 	old_postinstall_cmds='chmod 644 $oldlib'
   9193 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9194 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9195 	  case $lt_outputfile in
   9196 	    *.exe|*.EXE) ;;
   9197 	    *)
   9198 	      lt_outputfile="$lt_outputfile.exe"
   9199 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9200 	      ;;
   9201 	  esac~
   9202 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9203 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9204 	    $RM "$lt_outputfile.manifest";
   9205 	  fi'
   9206 	;;
   9207       *)
   9208 	# Assume MSVC wrapper
   9209 	hardcode_libdir_flag_spec=' '
   9210 	allow_undefined_flag=unsupported
   9211 	# Tell ltmain to make .lib files, not .a files.
   9212 	libext=lib
   9213 	# Tell ltmain to make .dll files, not .so files.
   9214 	shrext_cmds=".dll"
   9215 	# FIXME: Setting linknames here is a bad hack.
   9216 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9217 	# The linker will automatically build a .lib file if we build a DLL.
   9218 	old_archive_from_new_cmds='true'
   9219 	# FIXME: Should let the user specify the lib program.
   9220 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9221 	enable_shared_with_static_runtimes=yes
   9222 	;;
   9223       esac
   9224       ;;
   9225 
   9226     darwin* | rhapsody*)
   9227 
   9228 
   9229   archive_cmds_need_lc=no
   9230   hardcode_direct=no
   9231   hardcode_automatic=yes
   9232   hardcode_shlibpath_var=unsupported
   9233   if test "$lt_cv_ld_force_load" = "yes"; then
   9234     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\"`'
   9235 
   9236   else
   9237     whole_archive_flag_spec=''
   9238   fi
   9239   link_all_deplibs=yes
   9240   allow_undefined_flag="$_lt_dar_allow_undefined"
   9241   case $cc_basename in
   9242      ifort*) _lt_dar_can_shared=yes ;;
   9243      *) _lt_dar_can_shared=$GCC ;;
   9244   esac
   9245   if test "$_lt_dar_can_shared" = "yes"; then
   9246     output_verbose_link_cmd=func_echo_all
   9247     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9248     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9249     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}"
   9250     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}"
   9251 
   9252   else
   9253   ld_shlibs=no
   9254   fi
   9255 
   9256       ;;
   9257 
   9258     dgux*)
   9259       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9260       hardcode_libdir_flag_spec='-L$libdir'
   9261       hardcode_shlibpath_var=no
   9262       ;;
   9263 
   9264     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9265     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9266     # does not break anything, and helps significantly (at the cost of a little
   9267     # extra space).
   9268     freebsd2.2*)
   9269       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9270       hardcode_libdir_flag_spec='-R$libdir'
   9271       hardcode_direct=yes
   9272       hardcode_shlibpath_var=no
   9273       ;;
   9274 
   9275     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9276     freebsd2.*)
   9277       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9278       hardcode_direct=yes
   9279       hardcode_minus_L=yes
   9280       hardcode_shlibpath_var=no
   9281       ;;
   9282 
   9283     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9284     freebsd* | dragonfly*)
   9285       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9286       hardcode_libdir_flag_spec='-R$libdir'
   9287       hardcode_direct=yes
   9288       hardcode_shlibpath_var=no
   9289       ;;
   9290 
   9291     hpux9*)
   9292       if test "$GCC" = yes; then
   9293 	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'
   9294       else
   9295 	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'
   9296       fi
   9297       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9298       hardcode_libdir_separator=:
   9299       hardcode_direct=yes
   9300 
   9301       # hardcode_minus_L: Not really in the search PATH,
   9302       # but as the default location of the library.
   9303       hardcode_minus_L=yes
   9304       export_dynamic_flag_spec='${wl}-E'
   9305       ;;
   9306 
   9307     hpux10*)
   9308       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9309 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9310       else
   9311 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9312       fi
   9313       if test "$with_gnu_ld" = no; then
   9314 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9315 	hardcode_libdir_separator=:
   9316 	hardcode_direct=yes
   9317 	hardcode_direct_absolute=yes
   9318 	export_dynamic_flag_spec='${wl}-E'
   9319 	# hardcode_minus_L: Not really in the search PATH,
   9320 	# but as the default location of the library.
   9321 	hardcode_minus_L=yes
   9322       fi
   9323       ;;
   9324 
   9325     hpux11*)
   9326       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9327 	case $host_cpu in
   9328 	hppa*64*)
   9329 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9330 	  ;;
   9331 	ia64*)
   9332 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9333 	  ;;
   9334 	*)
   9335 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9336 	  ;;
   9337 	esac
   9338       else
   9339 	case $host_cpu in
   9340 	hppa*64*)
   9341 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9342 	  ;;
   9343 	ia64*)
   9344 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9345 	  ;;
   9346 	*)
   9347 
   9348 	  # Older versions of the 11.00 compiler do not understand -b yet
   9349 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9350 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9351 $as_echo_n "checking if $CC understands -b... " >&6; }
   9352 if ${lt_cv_prog_compiler__b+:} false; then :
   9353   $as_echo_n "(cached) " >&6
   9354 else
   9355   lt_cv_prog_compiler__b=no
   9356    save_LDFLAGS="$LDFLAGS"
   9357    LDFLAGS="$LDFLAGS -b"
   9358    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9359    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9360      # The linker can only warn and ignore the option if not recognized
   9361      # So say no if there are warnings
   9362      if test -s conftest.err; then
   9363        # Append any errors to the config.log.
   9364        cat conftest.err 1>&5
   9365        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9366        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9367        if diff conftest.exp conftest.er2 >/dev/null; then
   9368          lt_cv_prog_compiler__b=yes
   9369        fi
   9370      else
   9371        lt_cv_prog_compiler__b=yes
   9372      fi
   9373    fi
   9374    $RM -r conftest*
   9375    LDFLAGS="$save_LDFLAGS"
   9376 
   9377 fi
   9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9379 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9380 
   9381 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9382     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9383 else
   9384     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9385 fi
   9386 
   9387 	  ;;
   9388 	esac
   9389       fi
   9390       if test "$with_gnu_ld" = no; then
   9391 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9392 	hardcode_libdir_separator=:
   9393 
   9394 	case $host_cpu in
   9395 	hppa*64*|ia64*)
   9396 	  hardcode_direct=no
   9397 	  hardcode_shlibpath_var=no
   9398 	  ;;
   9399 	*)
   9400 	  hardcode_direct=yes
   9401 	  hardcode_direct_absolute=yes
   9402 	  export_dynamic_flag_spec='${wl}-E'
   9403 
   9404 	  # hardcode_minus_L: Not really in the search PATH,
   9405 	  # but as the default location of the library.
   9406 	  hardcode_minus_L=yes
   9407 	  ;;
   9408 	esac
   9409       fi
   9410       ;;
   9411 
   9412     irix5* | irix6* | nonstopux*)
   9413       if test "$GCC" = yes; then
   9414 	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'
   9415 	# Try to use the -exported_symbol ld option, if it does not
   9416 	# work, assume that -exports_file does not work either and
   9417 	# implicitly export all symbols.
   9418 	# This should be the same for all languages, so no per-tag cache variable.
   9419 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9420 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9421 if ${lt_cv_irix_exported_symbol+:} false; then :
   9422   $as_echo_n "(cached) " >&6
   9423 else
   9424   save_LDFLAGS="$LDFLAGS"
   9425 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9426 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9427 /* end confdefs.h.  */
   9428 int foo (void) { return 0; }
   9429 _ACEOF
   9430 if ac_fn_c_try_link "$LINENO"; then :
   9431   lt_cv_irix_exported_symbol=yes
   9432 else
   9433   lt_cv_irix_exported_symbol=no
   9434 fi
   9435 rm -f core conftest.err conftest.$ac_objext \
   9436     conftest$ac_exeext conftest.$ac_ext
   9437            LDFLAGS="$save_LDFLAGS"
   9438 fi
   9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9440 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9441 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9442           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'
   9443 	fi
   9444       else
   9445 	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'
   9446 	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'
   9447       fi
   9448       archive_cmds_need_lc='no'
   9449       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9450       hardcode_libdir_separator=:
   9451       inherit_rpath=yes
   9452       link_all_deplibs=yes
   9453       ;;
   9454 
   9455     netbsd* | netbsdelf*-gnu)
   9456       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9457 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9458       else
   9459 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9460       fi
   9461       hardcode_libdir_flag_spec='-R$libdir'
   9462       hardcode_direct=yes
   9463       hardcode_shlibpath_var=no
   9464       ;;
   9465 
   9466     newsos6)
   9467       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9468       hardcode_direct=yes
   9469       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9470       hardcode_libdir_separator=:
   9471       hardcode_shlibpath_var=no
   9472       ;;
   9473 
   9474     *nto* | *qnx*)
   9475       ;;
   9476 
   9477     openbsd*)
   9478       if test -f /usr/libexec/ld.so; then
   9479 	hardcode_direct=yes
   9480 	hardcode_shlibpath_var=no
   9481 	hardcode_direct_absolute=yes
   9482 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9483 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9484 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9485 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9486 	  export_dynamic_flag_spec='${wl}-E'
   9487 	else
   9488 	  case $host_os in
   9489 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9490 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9491 	     hardcode_libdir_flag_spec='-R$libdir'
   9492 	     ;;
   9493 	   *)
   9494 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9495 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9496 	     ;;
   9497 	  esac
   9498 	fi
   9499       else
   9500 	ld_shlibs=no
   9501       fi
   9502       ;;
   9503 
   9504     os2*)
   9505       hardcode_libdir_flag_spec='-L$libdir'
   9506       hardcode_minus_L=yes
   9507       allow_undefined_flag=unsupported
   9508       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'
   9509       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9510       ;;
   9511 
   9512     osf3*)
   9513       if test "$GCC" = yes; then
   9514 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9515 	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'
   9516       else
   9517 	allow_undefined_flag=' -expect_unresolved \*'
   9518 	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'
   9519       fi
   9520       archive_cmds_need_lc='no'
   9521       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9522       hardcode_libdir_separator=:
   9523       ;;
   9524 
   9525     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9526       if test "$GCC" = yes; then
   9527 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9528 	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'
   9529 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9530       else
   9531 	allow_undefined_flag=' -expect_unresolved \*'
   9532 	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'
   9533 	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~
   9534 	$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'
   9535 
   9536 	# Both c and cxx compiler support -rpath directly
   9537 	hardcode_libdir_flag_spec='-rpath $libdir'
   9538       fi
   9539       archive_cmds_need_lc='no'
   9540       hardcode_libdir_separator=:
   9541       ;;
   9542 
   9543     solaris*)
   9544       no_undefined_flag=' -z defs'
   9545       if test "$GCC" = yes; then
   9546 	wlarc='${wl}'
   9547 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9548 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9549 	  $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'
   9550       else
   9551 	case `$CC -V 2>&1` in
   9552 	*"Compilers 5.0"*)
   9553 	  wlarc=''
   9554 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9555 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9556 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9557 	  ;;
   9558 	*)
   9559 	  wlarc='${wl}'
   9560 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9561 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9562 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9563 	  ;;
   9564 	esac
   9565       fi
   9566       hardcode_libdir_flag_spec='-R$libdir'
   9567       hardcode_shlibpath_var=no
   9568       case $host_os in
   9569       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9570       *)
   9571 	# The compiler driver will combine and reorder linker options,
   9572 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9573 	# but is careful enough not to reorder.
   9574 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9575 	if test "$GCC" = yes; then
   9576 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9577 	else
   9578 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9579 	fi
   9580 	;;
   9581       esac
   9582       link_all_deplibs=yes
   9583       ;;
   9584 
   9585     sunos4*)
   9586       if test "x$host_vendor" = xsequent; then
   9587 	# Use $CC to link under sequent, because it throws in some extra .o
   9588 	# files that make .init and .fini sections work.
   9589 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9590       else
   9591 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9592       fi
   9593       hardcode_libdir_flag_spec='-L$libdir'
   9594       hardcode_direct=yes
   9595       hardcode_minus_L=yes
   9596       hardcode_shlibpath_var=no
   9597       ;;
   9598 
   9599     sysv4)
   9600       case $host_vendor in
   9601 	sni)
   9602 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9603 	  hardcode_direct=yes # is this really true???
   9604 	;;
   9605 	siemens)
   9606 	  ## LD is ld it makes a PLAMLIB
   9607 	  ## CC just makes a GrossModule.
   9608 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9609 	  reload_cmds='$CC -r -o $output$reload_objs'
   9610 	  hardcode_direct=no
   9611         ;;
   9612 	motorola)
   9613 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9614 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9615 	;;
   9616       esac
   9617       runpath_var='LD_RUN_PATH'
   9618       hardcode_shlibpath_var=no
   9619       ;;
   9620 
   9621     sysv4.3*)
   9622       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9623       hardcode_shlibpath_var=no
   9624       export_dynamic_flag_spec='-Bexport'
   9625       ;;
   9626 
   9627     sysv4*MP*)
   9628       if test -d /usr/nec; then
   9629 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9630 	hardcode_shlibpath_var=no
   9631 	runpath_var=LD_RUN_PATH
   9632 	hardcode_runpath_var=yes
   9633 	ld_shlibs=yes
   9634       fi
   9635       ;;
   9636 
   9637     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9638       no_undefined_flag='${wl}-z,text'
   9639       archive_cmds_need_lc=no
   9640       hardcode_shlibpath_var=no
   9641       runpath_var='LD_RUN_PATH'
   9642 
   9643       if test "$GCC" = yes; then
   9644 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9645 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9646       else
   9647 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9648 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9649       fi
   9650       ;;
   9651 
   9652     sysv5* | sco3.2v5* | sco5v6*)
   9653       # Note: We can NOT use -z defs as we might desire, because we do not
   9654       # link with -lc, and that would cause any symbols used from libc to
   9655       # always be unresolved, which means just about no library would
   9656       # ever link correctly.  If we're not using GNU ld we use -z text
   9657       # though, which does catch some bad symbols but isn't as heavy-handed
   9658       # as -z defs.
   9659       no_undefined_flag='${wl}-z,text'
   9660       allow_undefined_flag='${wl}-z,nodefs'
   9661       archive_cmds_need_lc=no
   9662       hardcode_shlibpath_var=no
   9663       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9664       hardcode_libdir_separator=':'
   9665       link_all_deplibs=yes
   9666       export_dynamic_flag_spec='${wl}-Bexport'
   9667       runpath_var='LD_RUN_PATH'
   9668 
   9669       if test "$GCC" = yes; then
   9670 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9671 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9672       else
   9673 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9674 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9675       fi
   9676       ;;
   9677 
   9678     uts4*)
   9679       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9680       hardcode_libdir_flag_spec='-L$libdir'
   9681       hardcode_shlibpath_var=no
   9682       ;;
   9683 
   9684     *)
   9685       ld_shlibs=no
   9686       ;;
   9687     esac
   9688 
   9689     if test x$host_vendor = xsni; then
   9690       case $host in
   9691       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9692 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9693 	;;
   9694       esac
   9695     fi
   9696   fi
   9697 
   9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9699 $as_echo "$ld_shlibs" >&6; }
   9700 test "$ld_shlibs" = no && can_build_shared=no
   9701 
   9702 with_gnu_ld=$with_gnu_ld
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 #
   9719 # Do we need to explicitly link libc?
   9720 #
   9721 case "x$archive_cmds_need_lc" in
   9722 x|xyes)
   9723   # Assume -lc should be added
   9724   archive_cmds_need_lc=yes
   9725 
   9726   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9727     case $archive_cmds in
   9728     *'~'*)
   9729       # FIXME: we may have to deal with multi-command sequences.
   9730       ;;
   9731     '$CC '*)
   9732       # Test whether the compiler implicitly links with -lc since on some
   9733       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9734       # to ld, don't add -lc before -lgcc.
   9735       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9736 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9737 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9738   $as_echo_n "(cached) " >&6
   9739 else
   9740   $RM conftest*
   9741 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9742 
   9743 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9744   (eval $ac_compile) 2>&5
   9745   ac_status=$?
   9746   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9747   test $ac_status = 0; } 2>conftest.err; then
   9748 	  soname=conftest
   9749 	  lib=conftest
   9750 	  libobjs=conftest.$ac_objext
   9751 	  deplibs=
   9752 	  wl=$lt_prog_compiler_wl
   9753 	  pic_flag=$lt_prog_compiler_pic
   9754 	  compiler_flags=-v
   9755 	  linker_flags=-v
   9756 	  verstring=
   9757 	  output_objdir=.
   9758 	  libname=conftest
   9759 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9760 	  allow_undefined_flag=
   9761 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9762   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9763   ac_status=$?
   9764   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9765   test $ac_status = 0; }
   9766 	  then
   9767 	    lt_cv_archive_cmds_need_lc=no
   9768 	  else
   9769 	    lt_cv_archive_cmds_need_lc=yes
   9770 	  fi
   9771 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9772 	else
   9773 	  cat conftest.err 1>&5
   9774 	fi
   9775 	$RM conftest*
   9776 
   9777 fi
   9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9779 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9780       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9781       ;;
   9782     esac
   9783   fi
   9784   ;;
   9785 esac
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864 
   9865 
   9866 
   9867 
   9868 
   9869 
   9870 
   9871 
   9872 
   9873 
   9874 
   9875 
   9876 
   9877 
   9878 
   9879 
   9880 
   9881 
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 
   9898 
   9899 
   9900 
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907 
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 
   9924 
   9925 
   9926 
   9927 
   9928 
   9929 
   9930 
   9931 
   9932 
   9933 
   9934 
   9935 
   9936 
   9937 
   9938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9939 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9940 
   9941 if test "$GCC" = yes; then
   9942   case $host_os in
   9943     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9944     *) lt_awk_arg="/^libraries:/" ;;
   9945   esac
   9946   case $host_os in
   9947     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9948     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9949   esac
   9950   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9951   case $lt_search_path_spec in
   9952   *\;*)
   9953     # if the path contains ";" then we assume it to be the separator
   9954     # otherwise default to the standard path separator (i.e. ":") - it is
   9955     # assumed that no part of a normal pathname contains ";" but that should
   9956     # okay in the real world where ";" in dirpaths is itself problematic.
   9957     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9958     ;;
   9959   *)
   9960     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9961     ;;
   9962   esac
   9963   # Ok, now we have the path, separated by spaces, we can step through it
   9964   # and add multilib dir if necessary.
   9965   lt_tmp_lt_search_path_spec=
   9966   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9967   for lt_sys_path in $lt_search_path_spec; do
   9968     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9969       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9970     else
   9971       test -d "$lt_sys_path" && \
   9972 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9973     fi
   9974   done
   9975   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9976 BEGIN {RS=" "; FS="/|\n";} {
   9977   lt_foo="";
   9978   lt_count=0;
   9979   for (lt_i = NF; lt_i > 0; lt_i--) {
   9980     if ($lt_i != "" && $lt_i != ".") {
   9981       if ($lt_i == "..") {
   9982         lt_count++;
   9983       } else {
   9984         if (lt_count == 0) {
   9985           lt_foo="/" $lt_i lt_foo;
   9986         } else {
   9987           lt_count--;
   9988         }
   9989       }
   9990     }
   9991   }
   9992   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9993   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9994 }'`
   9995   # AWK program above erroneously prepends '/' to C:/dos/paths
   9996   # for these hosts.
   9997   case $host_os in
   9998     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9999       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10000   esac
   10001   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10002 else
   10003   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10004 fi
   10005 library_names_spec=
   10006 libname_spec='lib$name'
   10007 soname_spec=
   10008 shrext_cmds=".so"
   10009 postinstall_cmds=
   10010 postuninstall_cmds=
   10011 finish_cmds=
   10012 finish_eval=
   10013 shlibpath_var=
   10014 shlibpath_overrides_runpath=unknown
   10015 version_type=none
   10016 dynamic_linker="$host_os ld.so"
   10017 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10018 need_lib_prefix=unknown
   10019 hardcode_into_libs=no
   10020 
   10021 # when you set need_version to no, make sure it does not cause -set_version
   10022 # flags to be left without arguments
   10023 need_version=unknown
   10024 
   10025 case $host_os in
   10026 aix3*)
   10027   version_type=linux # correct to gnu/linux during the next big refactor
   10028   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10029   shlibpath_var=LIBPATH
   10030 
   10031   # AIX 3 has no versioning support, so we append a major version to the name.
   10032   soname_spec='${libname}${release}${shared_ext}$major'
   10033   ;;
   10034 
   10035 aix[4-9]*)
   10036   version_type=linux # correct to gnu/linux during the next big refactor
   10037   need_lib_prefix=no
   10038   need_version=no
   10039   hardcode_into_libs=yes
   10040   if test "$host_cpu" = ia64; then
   10041     # AIX 5 supports IA64
   10042     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10043     shlibpath_var=LD_LIBRARY_PATH
   10044   else
   10045     # With GCC up to 2.95.x, collect2 would create an import file
   10046     # for dependence libraries.  The import file would start with
   10047     # the line `#! .'.  This would cause the generated library to
   10048     # depend on `.', always an invalid library.  This was fixed in
   10049     # development snapshots of GCC prior to 3.0.
   10050     case $host_os in
   10051       aix4 | aix4.[01] | aix4.[01].*)
   10052       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10053 	   echo ' yes '
   10054 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10055 	:
   10056       else
   10057 	can_build_shared=no
   10058       fi
   10059       ;;
   10060     esac
   10061     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10062     # soname into executable. Probably we can add versioning support to
   10063     # collect2, so additional links can be useful in future.
   10064     if test "$aix_use_runtimelinking" = yes; then
   10065       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10066       # instead of lib<name>.a to let people know that these are not
   10067       # typical AIX shared libraries.
   10068       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10069     else
   10070       # We preserve .a as extension for shared libraries through AIX4.2
   10071       # and later when we are not doing run time linking.
   10072       library_names_spec='${libname}${release}.a $libname.a'
   10073       soname_spec='${libname}${release}${shared_ext}$major'
   10074     fi
   10075     shlibpath_var=LIBPATH
   10076   fi
   10077   ;;
   10078 
   10079 amigaos*)
   10080   case $host_cpu in
   10081   powerpc)
   10082     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10083     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10084     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10085     ;;
   10086   m68k)
   10087     library_names_spec='$libname.ixlibrary $libname.a'
   10088     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10089     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'
   10090     ;;
   10091   esac
   10092   ;;
   10093 
   10094 beos*)
   10095   library_names_spec='${libname}${shared_ext}'
   10096   dynamic_linker="$host_os ld.so"
   10097   shlibpath_var=LIBRARY_PATH
   10098   ;;
   10099 
   10100 bsdi[45]*)
   10101   version_type=linux # correct to gnu/linux during the next big refactor
   10102   need_version=no
   10103   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10104   soname_spec='${libname}${release}${shared_ext}$major'
   10105   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10106   shlibpath_var=LD_LIBRARY_PATH
   10107   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10108   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10109   # the default ld.so.conf also contains /usr/contrib/lib and
   10110   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10111   # libtool to hard-code these into programs
   10112   ;;
   10113 
   10114 cygwin* | mingw* | pw32* | cegcc*)
   10115   version_type=windows
   10116   shrext_cmds=".dll"
   10117   need_version=no
   10118   need_lib_prefix=no
   10119 
   10120   case $GCC,$cc_basename in
   10121   yes,*)
   10122     # gcc
   10123     library_names_spec='$libname.dll.a'
   10124     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10125     postinstall_cmds='base_file=`basename \${file}`~
   10126       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10127       dldir=$destdir/`dirname \$dlpath`~
   10128       test -d \$dldir || mkdir -p \$dldir~
   10129       $install_prog $dir/$dlname \$dldir/$dlname~
   10130       chmod a+x \$dldir/$dlname~
   10131       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10132         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10133       fi'
   10134     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10135       dlpath=$dir/\$dldll~
   10136        $RM \$dlpath'
   10137     shlibpath_overrides_runpath=yes
   10138 
   10139     case $host_os in
   10140     cygwin*)
   10141       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10142       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10143 
   10144       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10145       ;;
   10146     mingw* | cegcc*)
   10147       # MinGW DLLs use traditional 'lib' prefix
   10148       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10149       ;;
   10150     pw32*)
   10151       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10152       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10153       ;;
   10154     esac
   10155     dynamic_linker='Win32 ld.exe'
   10156     ;;
   10157 
   10158   *,cl*)
   10159     # Native MSVC
   10160     libname_spec='$name'
   10161     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10162     library_names_spec='${libname}.dll.lib'
   10163 
   10164     case $build_os in
   10165     mingw*)
   10166       sys_lib_search_path_spec=
   10167       lt_save_ifs=$IFS
   10168       IFS=';'
   10169       for lt_path in $LIB
   10170       do
   10171         IFS=$lt_save_ifs
   10172         # Let DOS variable expansion print the short 8.3 style file name.
   10173         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10174         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10175       done
   10176       IFS=$lt_save_ifs
   10177       # Convert to MSYS style.
   10178       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10179       ;;
   10180     cygwin*)
   10181       # Convert to unix form, then to dos form, then back to unix form
   10182       # but this time dos style (no spaces!) so that the unix form looks
   10183       # like /cygdrive/c/PROGRA~1:/cygdr...
   10184       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10185       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10186       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10187       ;;
   10188     *)
   10189       sys_lib_search_path_spec="$LIB"
   10190       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10191         # It is most probably a Windows format PATH.
   10192         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10193       else
   10194         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10195       fi
   10196       # FIXME: find the short name or the path components, as spaces are
   10197       # common. (e.g. "Program Files" -> "PROGRA~1")
   10198       ;;
   10199     esac
   10200 
   10201     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10202     postinstall_cmds='base_file=`basename \${file}`~
   10203       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10204       dldir=$destdir/`dirname \$dlpath`~
   10205       test -d \$dldir || mkdir -p \$dldir~
   10206       $install_prog $dir/$dlname \$dldir/$dlname'
   10207     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10208       dlpath=$dir/\$dldll~
   10209        $RM \$dlpath'
   10210     shlibpath_overrides_runpath=yes
   10211     dynamic_linker='Win32 link.exe'
   10212     ;;
   10213 
   10214   *)
   10215     # Assume MSVC wrapper
   10216     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10217     dynamic_linker='Win32 ld.exe'
   10218     ;;
   10219   esac
   10220   # FIXME: first we should search . and the directory the executable is in
   10221   shlibpath_var=PATH
   10222   ;;
   10223 
   10224 darwin* | rhapsody*)
   10225   dynamic_linker="$host_os dyld"
   10226   version_type=darwin
   10227   need_lib_prefix=no
   10228   need_version=no
   10229   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10230   soname_spec='${libname}${release}${major}$shared_ext'
   10231   shlibpath_overrides_runpath=yes
   10232   shlibpath_var=DYLD_LIBRARY_PATH
   10233   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10234 
   10235   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10236   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10237   ;;
   10238 
   10239 dgux*)
   10240   version_type=linux # correct to gnu/linux during the next big refactor
   10241   need_lib_prefix=no
   10242   need_version=no
   10243   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10244   soname_spec='${libname}${release}${shared_ext}$major'
   10245   shlibpath_var=LD_LIBRARY_PATH
   10246   ;;
   10247 
   10248 freebsd* | dragonfly*)
   10249   # DragonFly does not have aout.  When/if they implement a new
   10250   # versioning mechanism, adjust this.
   10251   if test -x /usr/bin/objformat; then
   10252     objformat=`/usr/bin/objformat`
   10253   else
   10254     case $host_os in
   10255     freebsd[23].*) objformat=aout ;;
   10256     *) objformat=elf ;;
   10257     esac
   10258   fi
   10259   version_type=freebsd-$objformat
   10260   case $version_type in
   10261     freebsd-elf*)
   10262       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10263       need_version=no
   10264       need_lib_prefix=no
   10265       ;;
   10266     freebsd-*)
   10267       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10268       need_version=yes
   10269       ;;
   10270   esac
   10271   shlibpath_var=LD_LIBRARY_PATH
   10272   case $host_os in
   10273   freebsd2.*)
   10274     shlibpath_overrides_runpath=yes
   10275     ;;
   10276   freebsd3.[01]* | freebsdelf3.[01]*)
   10277     shlibpath_overrides_runpath=yes
   10278     hardcode_into_libs=yes
   10279     ;;
   10280   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10281   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10282     shlibpath_overrides_runpath=no
   10283     hardcode_into_libs=yes
   10284     ;;
   10285   *) # from 4.6 on, and DragonFly
   10286     shlibpath_overrides_runpath=yes
   10287     hardcode_into_libs=yes
   10288     ;;
   10289   esac
   10290   ;;
   10291 
   10292 haiku*)
   10293   version_type=linux # correct to gnu/linux during the next big refactor
   10294   need_lib_prefix=no
   10295   need_version=no
   10296   dynamic_linker="$host_os runtime_loader"
   10297   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10298   soname_spec='${libname}${release}${shared_ext}$major'
   10299   shlibpath_var=LIBRARY_PATH
   10300   shlibpath_overrides_runpath=yes
   10301   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10302   hardcode_into_libs=yes
   10303   ;;
   10304 
   10305 hpux9* | hpux10* | hpux11*)
   10306   # Give a soname corresponding to the major version so that dld.sl refuses to
   10307   # link against other versions.
   10308   version_type=sunos
   10309   need_lib_prefix=no
   10310   need_version=no
   10311   case $host_cpu in
   10312   ia64*)
   10313     shrext_cmds='.so'
   10314     hardcode_into_libs=yes
   10315     dynamic_linker="$host_os dld.so"
   10316     shlibpath_var=LD_LIBRARY_PATH
   10317     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10318     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10319     soname_spec='${libname}${release}${shared_ext}$major'
   10320     if test "X$HPUX_IA64_MODE" = X32; then
   10321       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10322     else
   10323       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10324     fi
   10325     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10326     ;;
   10327   hppa*64*)
   10328     shrext_cmds='.sl'
   10329     hardcode_into_libs=yes
   10330     dynamic_linker="$host_os dld.sl"
   10331     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10332     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10333     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10334     soname_spec='${libname}${release}${shared_ext}$major'
   10335     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10336     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10337     ;;
   10338   *)
   10339     shrext_cmds='.sl'
   10340     dynamic_linker="$host_os dld.sl"
   10341     shlibpath_var=SHLIB_PATH
   10342     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10343     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10344     soname_spec='${libname}${release}${shared_ext}$major'
   10345     ;;
   10346   esac
   10347   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10348   postinstall_cmds='chmod 555 $lib'
   10349   # or fails outright, so override atomically:
   10350   install_override_mode=555
   10351   ;;
   10352 
   10353 interix[3-9]*)
   10354   version_type=linux # correct to gnu/linux during the next big refactor
   10355   need_lib_prefix=no
   10356   need_version=no
   10357   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10358   soname_spec='${libname}${release}${shared_ext}$major'
   10359   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10360   shlibpath_var=LD_LIBRARY_PATH
   10361   shlibpath_overrides_runpath=no
   10362   hardcode_into_libs=yes
   10363   ;;
   10364 
   10365 irix5* | irix6* | nonstopux*)
   10366   case $host_os in
   10367     nonstopux*) version_type=nonstopux ;;
   10368     *)
   10369 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10370 		version_type=linux # correct to gnu/linux during the next big refactor
   10371 	else
   10372 		version_type=irix
   10373 	fi ;;
   10374   esac
   10375   need_lib_prefix=no
   10376   need_version=no
   10377   soname_spec='${libname}${release}${shared_ext}$major'
   10378   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10379   case $host_os in
   10380   irix5* | nonstopux*)
   10381     libsuff= shlibsuff=
   10382     ;;
   10383   *)
   10384     case $LD in # libtool.m4 will add one of these switches to LD
   10385     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10386       libsuff= shlibsuff= libmagic=32-bit;;
   10387     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10388       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10389     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10390       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10391     *) libsuff= shlibsuff= libmagic=never-match;;
   10392     esac
   10393     ;;
   10394   esac
   10395   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10396   shlibpath_overrides_runpath=no
   10397   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10398   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10399   hardcode_into_libs=yes
   10400   ;;
   10401 
   10402 # No shared lib support for Linux oldld, aout, or coff.
   10403 linux*oldld* | linux*aout* | linux*coff*)
   10404   dynamic_linker=no
   10405   ;;
   10406 
   10407 # This must be glibc/ELF.
   10408 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10409   version_type=linux # correct to gnu/linux during the next big refactor
   10410   need_lib_prefix=no
   10411   need_version=no
   10412   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10413   soname_spec='${libname}${release}${shared_ext}$major'
   10414   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10415   shlibpath_var=LD_LIBRARY_PATH
   10416   shlibpath_overrides_runpath=no
   10417 
   10418   # Some binutils ld are patched to set DT_RUNPATH
   10419   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10420   $as_echo_n "(cached) " >&6
   10421 else
   10422   lt_cv_shlibpath_overrides_runpath=no
   10423     save_LDFLAGS=$LDFLAGS
   10424     save_libdir=$libdir
   10425     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10426 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10427     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10428 /* end confdefs.h.  */
   10429 
   10430 int
   10431 main ()
   10432 {
   10433 
   10434   ;
   10435   return 0;
   10436 }
   10437 _ACEOF
   10438 if ac_fn_c_try_link "$LINENO"; then :
   10439   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10440   lt_cv_shlibpath_overrides_runpath=yes
   10441 fi
   10442 fi
   10443 rm -f core conftest.err conftest.$ac_objext \
   10444     conftest$ac_exeext conftest.$ac_ext
   10445     LDFLAGS=$save_LDFLAGS
   10446     libdir=$save_libdir
   10447 
   10448 fi
   10449 
   10450   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10451 
   10452   # This implies no fast_install, which is unacceptable.
   10453   # Some rework will be needed to allow for fast_install
   10454   # before this can be enabled.
   10455   hardcode_into_libs=yes
   10456 
   10457   # Append ld.so.conf contents to the search path
   10458   if test -f /etc/ld.so.conf; then
   10459     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' ' '`
   10460     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   10461   fi
   10462 
   10463   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10464   # powerpc, because MkLinux only supported shared libraries with the
   10465   # GNU dynamic linker.  Since this was broken with cross compilers,
   10466   # most powerpc-linux boxes support dynamic linking these days and
   10467   # people can always --disable-shared, the test was removed, and we
   10468   # assume the GNU/Linux dynamic linker is in use.
   10469   dynamic_linker='GNU/Linux ld.so'
   10470   ;;
   10471 
   10472 netbsdelf*-gnu)
   10473   version_type=linux
   10474   need_lib_prefix=no
   10475   need_version=no
   10476   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10477   soname_spec='${libname}${release}${shared_ext}$major'
   10478   shlibpath_var=LD_LIBRARY_PATH
   10479   shlibpath_overrides_runpath=no
   10480   hardcode_into_libs=yes
   10481   dynamic_linker='NetBSD ld.elf_so'
   10482   ;;
   10483 
   10484 netbsd*)
   10485   version_type=sunos
   10486   need_lib_prefix=no
   10487   need_version=no
   10488   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10489     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10490     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10491     dynamic_linker='NetBSD (a.out) ld.so'
   10492   else
   10493     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10494     soname_spec='${libname}${release}${shared_ext}$major'
   10495     dynamic_linker='NetBSD ld.elf_so'
   10496   fi
   10497   shlibpath_var=LD_LIBRARY_PATH
   10498   shlibpath_overrides_runpath=yes
   10499   hardcode_into_libs=yes
   10500   ;;
   10501 
   10502 newsos6)
   10503   version_type=linux # correct to gnu/linux during the next big refactor
   10504   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10505   shlibpath_var=LD_LIBRARY_PATH
   10506   shlibpath_overrides_runpath=yes
   10507   ;;
   10508 
   10509 *nto* | *qnx*)
   10510   version_type=qnx
   10511   need_lib_prefix=no
   10512   need_version=no
   10513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10514   soname_spec='${libname}${release}${shared_ext}$major'
   10515   shlibpath_var=LD_LIBRARY_PATH
   10516   shlibpath_overrides_runpath=no
   10517   hardcode_into_libs=yes
   10518   dynamic_linker='ldqnx.so'
   10519   ;;
   10520 
   10521 openbsd*)
   10522   version_type=sunos
   10523   sys_lib_dlsearch_path_spec="/usr/lib"
   10524   need_lib_prefix=no
   10525   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10526   case $host_os in
   10527     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10528     *)				need_version=no  ;;
   10529   esac
   10530   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10531   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10532   shlibpath_var=LD_LIBRARY_PATH
   10533   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10534     case $host_os in
   10535       openbsd2.[89] | openbsd2.[89].*)
   10536 	shlibpath_overrides_runpath=no
   10537 	;;
   10538       *)
   10539 	shlibpath_overrides_runpath=yes
   10540 	;;
   10541       esac
   10542   else
   10543     shlibpath_overrides_runpath=yes
   10544   fi
   10545   ;;
   10546 
   10547 os2*)
   10548   libname_spec='$name'
   10549   shrext_cmds=".dll"
   10550   need_lib_prefix=no
   10551   library_names_spec='$libname${shared_ext} $libname.a'
   10552   dynamic_linker='OS/2 ld.exe'
   10553   shlibpath_var=LIBPATH
   10554   ;;
   10555 
   10556 osf3* | osf4* | osf5*)
   10557   version_type=osf
   10558   need_lib_prefix=no
   10559   need_version=no
   10560   soname_spec='${libname}${release}${shared_ext}$major'
   10561   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10562   shlibpath_var=LD_LIBRARY_PATH
   10563   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10564   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10565   ;;
   10566 
   10567 rdos*)
   10568   dynamic_linker=no
   10569   ;;
   10570 
   10571 solaris*)
   10572   version_type=linux # correct to gnu/linux during the next big refactor
   10573   need_lib_prefix=no
   10574   need_version=no
   10575   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10576   soname_spec='${libname}${release}${shared_ext}$major'
   10577   shlibpath_var=LD_LIBRARY_PATH
   10578   shlibpath_overrides_runpath=yes
   10579   hardcode_into_libs=yes
   10580   # ldd complains unless libraries are executable
   10581   postinstall_cmds='chmod +x $lib'
   10582   ;;
   10583 
   10584 sunos4*)
   10585   version_type=sunos
   10586   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10587   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10588   shlibpath_var=LD_LIBRARY_PATH
   10589   shlibpath_overrides_runpath=yes
   10590   if test "$with_gnu_ld" = yes; then
   10591     need_lib_prefix=no
   10592   fi
   10593   need_version=yes
   10594   ;;
   10595 
   10596 sysv4 | sysv4.3*)
   10597   version_type=linux # correct to gnu/linux during the next big refactor
   10598   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10599   soname_spec='${libname}${release}${shared_ext}$major'
   10600   shlibpath_var=LD_LIBRARY_PATH
   10601   case $host_vendor in
   10602     sni)
   10603       shlibpath_overrides_runpath=no
   10604       need_lib_prefix=no
   10605       runpath_var=LD_RUN_PATH
   10606       ;;
   10607     siemens)
   10608       need_lib_prefix=no
   10609       ;;
   10610     motorola)
   10611       need_lib_prefix=no
   10612       need_version=no
   10613       shlibpath_overrides_runpath=no
   10614       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10615       ;;
   10616   esac
   10617   ;;
   10618 
   10619 sysv4*MP*)
   10620   if test -d /usr/nec ;then
   10621     version_type=linux # correct to gnu/linux during the next big refactor
   10622     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10623     soname_spec='$libname${shared_ext}.$major'
   10624     shlibpath_var=LD_LIBRARY_PATH
   10625   fi
   10626   ;;
   10627 
   10628 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10629   version_type=freebsd-elf
   10630   need_lib_prefix=no
   10631   need_version=no
   10632   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10633   soname_spec='${libname}${release}${shared_ext}$major'
   10634   shlibpath_var=LD_LIBRARY_PATH
   10635   shlibpath_overrides_runpath=yes
   10636   hardcode_into_libs=yes
   10637   if test "$with_gnu_ld" = yes; then
   10638     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10639   else
   10640     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10641     case $host_os in
   10642       sco3.2v5*)
   10643         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10644 	;;
   10645     esac
   10646   fi
   10647   sys_lib_dlsearch_path_spec='/usr/lib'
   10648   ;;
   10649 
   10650 tpf*)
   10651   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10652   version_type=linux # correct to gnu/linux during the next big refactor
   10653   need_lib_prefix=no
   10654   need_version=no
   10655   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10656   shlibpath_var=LD_LIBRARY_PATH
   10657   shlibpath_overrides_runpath=no
   10658   hardcode_into_libs=yes
   10659   ;;
   10660 
   10661 uts4*)
   10662   version_type=linux # correct to gnu/linux during the next big refactor
   10663   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10664   soname_spec='${libname}${release}${shared_ext}$major'
   10665   shlibpath_var=LD_LIBRARY_PATH
   10666   ;;
   10667 
   10668 *)
   10669   dynamic_linker=no
   10670   ;;
   10671 esac
   10672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10673 $as_echo "$dynamic_linker" >&6; }
   10674 test "$dynamic_linker" = no && can_build_shared=no
   10675 
   10676 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10677 if test "$GCC" = yes; then
   10678   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10679 fi
   10680 
   10681 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10682   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10683 fi
   10684 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10685   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10686 fi
   10687 
   10688 
   10689 
   10690 
   10691 
   10692 
   10693 
   10694 
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 
   10715 
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 
   10734 
   10735 
   10736 
   10737 
   10738 
   10739 
   10740 
   10741 
   10742 
   10743 
   10744 
   10745 
   10746 
   10747 
   10748 
   10749 
   10750 
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 
   10758 
   10759 
   10760 
   10761 
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774 
   10775 
   10776 
   10777 
   10778 
   10779   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10780 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10781 hardcode_action=
   10782 if test -n "$hardcode_libdir_flag_spec" ||
   10783    test -n "$runpath_var" ||
   10784    test "X$hardcode_automatic" = "Xyes" ; then
   10785 
   10786   # We can hardcode non-existent directories.
   10787   if test "$hardcode_direct" != no &&
   10788      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10789      # have to relink, otherwise we might link with an installed library
   10790      # when we should be linking with a yet-to-be-installed one
   10791      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10792      test "$hardcode_minus_L" != no; then
   10793     # Linking always hardcodes the temporary library directory.
   10794     hardcode_action=relink
   10795   else
   10796     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10797     hardcode_action=immediate
   10798   fi
   10799 else
   10800   # We cannot hardcode anything, or else we can only hardcode existing
   10801   # directories.
   10802   hardcode_action=unsupported
   10803 fi
   10804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10805 $as_echo "$hardcode_action" >&6; }
   10806 
   10807 if test "$hardcode_action" = relink ||
   10808    test "$inherit_rpath" = yes; then
   10809   # Fast installation is not supported
   10810   enable_fast_install=no
   10811 elif test "$shlibpath_overrides_runpath" = yes ||
   10812      test "$enable_shared" = no; then
   10813   # Fast installation is not necessary
   10814   enable_fast_install=needless
   10815 fi
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822   if test "x$enable_dlopen" != xyes; then
   10823   enable_dlopen=unknown
   10824   enable_dlopen_self=unknown
   10825   enable_dlopen_self_static=unknown
   10826 else
   10827   lt_cv_dlopen=no
   10828   lt_cv_dlopen_libs=
   10829 
   10830   case $host_os in
   10831   beos*)
   10832     lt_cv_dlopen="load_add_on"
   10833     lt_cv_dlopen_libs=
   10834     lt_cv_dlopen_self=yes
   10835     ;;
   10836 
   10837   mingw* | pw32* | cegcc*)
   10838     lt_cv_dlopen="LoadLibrary"
   10839     lt_cv_dlopen_libs=
   10840     ;;
   10841 
   10842   cygwin*)
   10843     lt_cv_dlopen="dlopen"
   10844     lt_cv_dlopen_libs=
   10845     ;;
   10846 
   10847   darwin*)
   10848   # if libdl is installed we need to link against it
   10849     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10850 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10851 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10852   $as_echo_n "(cached) " >&6
   10853 else
   10854   ac_check_lib_save_LIBS=$LIBS
   10855 LIBS="-ldl  $LIBS"
   10856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10857 /* end confdefs.h.  */
   10858 
   10859 /* Override any GCC internal prototype to avoid an error.
   10860    Use char because int might match the return type of a GCC
   10861    builtin and then its argument prototype would still apply.  */
   10862 #ifdef __cplusplus
   10863 extern "C"
   10864 #endif
   10865 char dlopen ();
   10866 int
   10867 main ()
   10868 {
   10869 return dlopen ();
   10870   ;
   10871   return 0;
   10872 }
   10873 _ACEOF
   10874 if ac_fn_c_try_link "$LINENO"; then :
   10875   ac_cv_lib_dl_dlopen=yes
   10876 else
   10877   ac_cv_lib_dl_dlopen=no
   10878 fi
   10879 rm -f core conftest.err conftest.$ac_objext \
   10880     conftest$ac_exeext conftest.$ac_ext
   10881 LIBS=$ac_check_lib_save_LIBS
   10882 fi
   10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10884 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10885 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10886   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10887 else
   10888 
   10889     lt_cv_dlopen="dyld"
   10890     lt_cv_dlopen_libs=
   10891     lt_cv_dlopen_self=yes
   10892 
   10893 fi
   10894 
   10895     ;;
   10896 
   10897   *)
   10898     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10899 if test "x$ac_cv_func_shl_load" = xyes; then :
   10900   lt_cv_dlopen="shl_load"
   10901 else
   10902   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10903 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10904 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10905   $as_echo_n "(cached) " >&6
   10906 else
   10907   ac_check_lib_save_LIBS=$LIBS
   10908 LIBS="-ldld  $LIBS"
   10909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10910 /* end confdefs.h.  */
   10911 
   10912 /* Override any GCC internal prototype to avoid an error.
   10913    Use char because int might match the return type of a GCC
   10914    builtin and then its argument prototype would still apply.  */
   10915 #ifdef __cplusplus
   10916 extern "C"
   10917 #endif
   10918 char shl_load ();
   10919 int
   10920 main ()
   10921 {
   10922 return shl_load ();
   10923   ;
   10924   return 0;
   10925 }
   10926 _ACEOF
   10927 if ac_fn_c_try_link "$LINENO"; then :
   10928   ac_cv_lib_dld_shl_load=yes
   10929 else
   10930   ac_cv_lib_dld_shl_load=no
   10931 fi
   10932 rm -f core conftest.err conftest.$ac_objext \
   10933     conftest$ac_exeext conftest.$ac_ext
   10934 LIBS=$ac_check_lib_save_LIBS
   10935 fi
   10936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10937 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10938 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10939   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10940 else
   10941   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10942 if test "x$ac_cv_func_dlopen" = xyes; then :
   10943   lt_cv_dlopen="dlopen"
   10944 else
   10945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10946 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10947 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10948   $as_echo_n "(cached) " >&6
   10949 else
   10950   ac_check_lib_save_LIBS=$LIBS
   10951 LIBS="-ldl  $LIBS"
   10952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10953 /* end confdefs.h.  */
   10954 
   10955 /* Override any GCC internal prototype to avoid an error.
   10956    Use char because int might match the return type of a GCC
   10957    builtin and then its argument prototype would still apply.  */
   10958 #ifdef __cplusplus
   10959 extern "C"
   10960 #endif
   10961 char dlopen ();
   10962 int
   10963 main ()
   10964 {
   10965 return dlopen ();
   10966   ;
   10967   return 0;
   10968 }
   10969 _ACEOF
   10970 if ac_fn_c_try_link "$LINENO"; then :
   10971   ac_cv_lib_dl_dlopen=yes
   10972 else
   10973   ac_cv_lib_dl_dlopen=no
   10974 fi
   10975 rm -f core conftest.err conftest.$ac_objext \
   10976     conftest$ac_exeext conftest.$ac_ext
   10977 LIBS=$ac_check_lib_save_LIBS
   10978 fi
   10979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10980 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10981 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10982   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10983 else
   10984   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10985 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10986 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10987   $as_echo_n "(cached) " >&6
   10988 else
   10989   ac_check_lib_save_LIBS=$LIBS
   10990 LIBS="-lsvld  $LIBS"
   10991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10992 /* end confdefs.h.  */
   10993 
   10994 /* Override any GCC internal prototype to avoid an error.
   10995    Use char because int might match the return type of a GCC
   10996    builtin and then its argument prototype would still apply.  */
   10997 #ifdef __cplusplus
   10998 extern "C"
   10999 #endif
   11000 char dlopen ();
   11001 int
   11002 main ()
   11003 {
   11004 return dlopen ();
   11005   ;
   11006   return 0;
   11007 }
   11008 _ACEOF
   11009 if ac_fn_c_try_link "$LINENO"; then :
   11010   ac_cv_lib_svld_dlopen=yes
   11011 else
   11012   ac_cv_lib_svld_dlopen=no
   11013 fi
   11014 rm -f core conftest.err conftest.$ac_objext \
   11015     conftest$ac_exeext conftest.$ac_ext
   11016 LIBS=$ac_check_lib_save_LIBS
   11017 fi
   11018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11019 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11020 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11021   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11022 else
   11023   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11024 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11025 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11026   $as_echo_n "(cached) " >&6
   11027 else
   11028   ac_check_lib_save_LIBS=$LIBS
   11029 LIBS="-ldld  $LIBS"
   11030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11031 /* end confdefs.h.  */
   11032 
   11033 /* Override any GCC internal prototype to avoid an error.
   11034    Use char because int might match the return type of a GCC
   11035    builtin and then its argument prototype would still apply.  */
   11036 #ifdef __cplusplus
   11037 extern "C"
   11038 #endif
   11039 char dld_link ();
   11040 int
   11041 main ()
   11042 {
   11043 return dld_link ();
   11044   ;
   11045   return 0;
   11046 }
   11047 _ACEOF
   11048 if ac_fn_c_try_link "$LINENO"; then :
   11049   ac_cv_lib_dld_dld_link=yes
   11050 else
   11051   ac_cv_lib_dld_dld_link=no
   11052 fi
   11053 rm -f core conftest.err conftest.$ac_objext \
   11054     conftest$ac_exeext conftest.$ac_ext
   11055 LIBS=$ac_check_lib_save_LIBS
   11056 fi
   11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11058 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11059 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11060   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11061 fi
   11062 
   11063 
   11064 fi
   11065 
   11066 
   11067 fi
   11068 
   11069 
   11070 fi
   11071 
   11072 
   11073 fi
   11074 
   11075 
   11076 fi
   11077 
   11078     ;;
   11079   esac
   11080 
   11081   if test "x$lt_cv_dlopen" != xno; then
   11082     enable_dlopen=yes
   11083   else
   11084     enable_dlopen=no
   11085   fi
   11086 
   11087   case $lt_cv_dlopen in
   11088   dlopen)
   11089     save_CPPFLAGS="$CPPFLAGS"
   11090     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11091 
   11092     save_LDFLAGS="$LDFLAGS"
   11093     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11094 
   11095     save_LIBS="$LIBS"
   11096     LIBS="$lt_cv_dlopen_libs $LIBS"
   11097 
   11098     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11099 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11100 if ${lt_cv_dlopen_self+:} false; then :
   11101   $as_echo_n "(cached) " >&6
   11102 else
   11103   	  if test "$cross_compiling" = yes; then :
   11104   lt_cv_dlopen_self=cross
   11105 else
   11106   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11107   lt_status=$lt_dlunknown
   11108   cat > conftest.$ac_ext <<_LT_EOF
   11109 #line $LINENO "configure"
   11110 #include "confdefs.h"
   11111 
   11112 #if HAVE_DLFCN_H
   11113 #include <dlfcn.h>
   11114 #endif
   11115 
   11116 #include <stdio.h>
   11117 
   11118 #ifdef RTLD_GLOBAL
   11119 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11120 #else
   11121 #  ifdef DL_GLOBAL
   11122 #    define LT_DLGLOBAL		DL_GLOBAL
   11123 #  else
   11124 #    define LT_DLGLOBAL		0
   11125 #  endif
   11126 #endif
   11127 
   11128 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11129    find out it does not work in some platform. */
   11130 #ifndef LT_DLLAZY_OR_NOW
   11131 #  ifdef RTLD_LAZY
   11132 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11133 #  else
   11134 #    ifdef DL_LAZY
   11135 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11136 #    else
   11137 #      ifdef RTLD_NOW
   11138 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11139 #      else
   11140 #        ifdef DL_NOW
   11141 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11142 #        else
   11143 #          define LT_DLLAZY_OR_NOW	0
   11144 #        endif
   11145 #      endif
   11146 #    endif
   11147 #  endif
   11148 #endif
   11149 
   11150 /* When -fvisbility=hidden is used, assume the code has been annotated
   11151    correspondingly for the symbols needed.  */
   11152 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11153 int fnord () __attribute__((visibility("default")));
   11154 #endif
   11155 
   11156 int fnord () { return 42; }
   11157 int main ()
   11158 {
   11159   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11160   int status = $lt_dlunknown;
   11161 
   11162   if (self)
   11163     {
   11164       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11165       else
   11166         {
   11167 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11168           else puts (dlerror ());
   11169 	}
   11170       /* dlclose (self); */
   11171     }
   11172   else
   11173     puts (dlerror ());
   11174 
   11175   return status;
   11176 }
   11177 _LT_EOF
   11178   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11179   (eval $ac_link) 2>&5
   11180   ac_status=$?
   11181   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11182   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11183     (./conftest; exit; ) >&5 2>/dev/null
   11184     lt_status=$?
   11185     case x$lt_status in
   11186       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11187       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11188       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11189     esac
   11190   else :
   11191     # compilation failed
   11192     lt_cv_dlopen_self=no
   11193   fi
   11194 fi
   11195 rm -fr conftest*
   11196 
   11197 
   11198 fi
   11199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11200 $as_echo "$lt_cv_dlopen_self" >&6; }
   11201 
   11202     if test "x$lt_cv_dlopen_self" = xyes; then
   11203       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11204       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11205 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11206 if ${lt_cv_dlopen_self_static+:} false; then :
   11207   $as_echo_n "(cached) " >&6
   11208 else
   11209   	  if test "$cross_compiling" = yes; then :
   11210   lt_cv_dlopen_self_static=cross
   11211 else
   11212   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11213   lt_status=$lt_dlunknown
   11214   cat > conftest.$ac_ext <<_LT_EOF
   11215 #line $LINENO "configure"
   11216 #include "confdefs.h"
   11217 
   11218 #if HAVE_DLFCN_H
   11219 #include <dlfcn.h>
   11220 #endif
   11221 
   11222 #include <stdio.h>
   11223 
   11224 #ifdef RTLD_GLOBAL
   11225 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11226 #else
   11227 #  ifdef DL_GLOBAL
   11228 #    define LT_DLGLOBAL		DL_GLOBAL
   11229 #  else
   11230 #    define LT_DLGLOBAL		0
   11231 #  endif
   11232 #endif
   11233 
   11234 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11235    find out it does not work in some platform. */
   11236 #ifndef LT_DLLAZY_OR_NOW
   11237 #  ifdef RTLD_LAZY
   11238 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11239 #  else
   11240 #    ifdef DL_LAZY
   11241 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11242 #    else
   11243 #      ifdef RTLD_NOW
   11244 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11245 #      else
   11246 #        ifdef DL_NOW
   11247 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11248 #        else
   11249 #          define LT_DLLAZY_OR_NOW	0
   11250 #        endif
   11251 #      endif
   11252 #    endif
   11253 #  endif
   11254 #endif
   11255 
   11256 /* When -fvisbility=hidden is used, assume the code has been annotated
   11257    correspondingly for the symbols needed.  */
   11258 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11259 int fnord () __attribute__((visibility("default")));
   11260 #endif
   11261 
   11262 int fnord () { return 42; }
   11263 int main ()
   11264 {
   11265   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11266   int status = $lt_dlunknown;
   11267 
   11268   if (self)
   11269     {
   11270       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11271       else
   11272         {
   11273 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11274           else puts (dlerror ());
   11275 	}
   11276       /* dlclose (self); */
   11277     }
   11278   else
   11279     puts (dlerror ());
   11280 
   11281   return status;
   11282 }
   11283 _LT_EOF
   11284   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11285   (eval $ac_link) 2>&5
   11286   ac_status=$?
   11287   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11288   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11289     (./conftest; exit; ) >&5 2>/dev/null
   11290     lt_status=$?
   11291     case x$lt_status in
   11292       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11293       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11294       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11295     esac
   11296   else :
   11297     # compilation failed
   11298     lt_cv_dlopen_self_static=no
   11299   fi
   11300 fi
   11301 rm -fr conftest*
   11302 
   11303 
   11304 fi
   11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11306 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11307     fi
   11308 
   11309     CPPFLAGS="$save_CPPFLAGS"
   11310     LDFLAGS="$save_LDFLAGS"
   11311     LIBS="$save_LIBS"
   11312     ;;
   11313   esac
   11314 
   11315   case $lt_cv_dlopen_self in
   11316   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11317   *) enable_dlopen_self=unknown ;;
   11318   esac
   11319 
   11320   case $lt_cv_dlopen_self_static in
   11321   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11322   *) enable_dlopen_self_static=unknown ;;
   11323   esac
   11324 fi
   11325 
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 striplib=
   11343 old_striplib=
   11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11345 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11346 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11347   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11348   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11349   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11350 $as_echo "yes" >&6; }
   11351 else
   11352 # FIXME - insert some real tests, host_os isn't really good enough
   11353   case $host_os in
   11354   darwin*)
   11355     if test -n "$STRIP" ; then
   11356       striplib="$STRIP -x"
   11357       old_striplib="$STRIP -S"
   11358       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11359 $as_echo "yes" >&6; }
   11360     else
   11361       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11362 $as_echo "no" >&6; }
   11363     fi
   11364     ;;
   11365   *)
   11366     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11367 $as_echo "no" >&6; }
   11368     ;;
   11369   esac
   11370 fi
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383   # Report which library types will actually be built
   11384   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11385 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11387 $as_echo "$can_build_shared" >&6; }
   11388 
   11389   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11390 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11391   test "$can_build_shared" = "no" && enable_shared=no
   11392 
   11393   # On AIX, shared libraries and static libraries use the same namespace, and
   11394   # are all built from PIC.
   11395   case $host_os in
   11396   aix3*)
   11397     test "$enable_shared" = yes && enable_static=no
   11398     if test -n "$RANLIB"; then
   11399       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11400       postinstall_cmds='$RANLIB $lib'
   11401     fi
   11402     ;;
   11403 
   11404   aix[4-9]*)
   11405     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11406       test "$enable_shared" = yes && enable_static=no
   11407     fi
   11408     ;;
   11409   esac
   11410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11411 $as_echo "$enable_shared" >&6; }
   11412 
   11413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11414 $as_echo_n "checking whether to build static libraries... " >&6; }
   11415   # Make sure either enable_shared or enable_static is yes.
   11416   test "$enable_shared" = yes || enable_static=yes
   11417   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11418 $as_echo "$enable_static" >&6; }
   11419 
   11420 
   11421 
   11422 
   11423 fi
   11424 ac_ext=c
   11425 ac_cpp='$CPP $CPPFLAGS'
   11426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11429 
   11430 CC="$lt_save_CC"
   11431 
   11432 
   11433 
   11434 
   11435 
   11436 
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 
   11444 
   11445 
   11446         ac_config_commands="$ac_config_commands libtool"
   11447 
   11448 
   11449 
   11450 
   11451 # Only expand once:
   11452 
   11453 
   11454 
   11455 # Require xorg-macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11468 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11469 if ${ac_cv_prog_cc_c99+:} false; then :
   11470   $as_echo_n "(cached) " >&6
   11471 else
   11472   ac_cv_prog_cc_c99=no
   11473 ac_save_CC=$CC
   11474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11475 /* end confdefs.h.  */
   11476 #include <stdarg.h>
   11477 #include <stdbool.h>
   11478 #include <stdlib.h>
   11479 #include <wchar.h>
   11480 #include <stdio.h>
   11481 
   11482 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11483 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11484 #define showlist(...) puts (#__VA_ARGS__)
   11485 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11486 static void
   11487 test_varargs_macros (void)
   11488 {
   11489   int x = 1234;
   11490   int y = 5678;
   11491   debug ("Flag");
   11492   debug ("X = %d\n", x);
   11493   showlist (The first, second, and third items.);
   11494   report (x>y, "x is %d but y is %d", x, y);
   11495 }
   11496 
   11497 // Check long long types.
   11498 #define BIG64 18446744073709551615ull
   11499 #define BIG32 4294967295ul
   11500 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11501 #if !BIG_OK
   11502   your preprocessor is broken;
   11503 #endif
   11504 #if BIG_OK
   11505 #else
   11506   your preprocessor is broken;
   11507 #endif
   11508 static long long int bignum = -9223372036854775807LL;
   11509 static unsigned long long int ubignum = BIG64;
   11510 
   11511 struct incomplete_array
   11512 {
   11513   int datasize;
   11514   double data[];
   11515 };
   11516 
   11517 struct named_init {
   11518   int number;
   11519   const wchar_t *name;
   11520   double average;
   11521 };
   11522 
   11523 typedef const char *ccp;
   11524 
   11525 static inline int
   11526 test_restrict (ccp restrict text)
   11527 {
   11528   // See if C++-style comments work.
   11529   // Iterate through items via the restricted pointer.
   11530   // Also check for declarations in for loops.
   11531   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11532     continue;
   11533   return 0;
   11534 }
   11535 
   11536 // Check varargs and va_copy.
   11537 static void
   11538 test_varargs (const char *format, ...)
   11539 {
   11540   va_list args;
   11541   va_start (args, format);
   11542   va_list args_copy;
   11543   va_copy (args_copy, args);
   11544 
   11545   const char *str;
   11546   int number;
   11547   float fnumber;
   11548 
   11549   while (*format)
   11550     {
   11551       switch (*format++)
   11552 	{
   11553 	case 's': // string
   11554 	  str = va_arg (args_copy, const char *);
   11555 	  break;
   11556 	case 'd': // int
   11557 	  number = va_arg (args_copy, int);
   11558 	  break;
   11559 	case 'f': // float
   11560 	  fnumber = va_arg (args_copy, double);
   11561 	  break;
   11562 	default:
   11563 	  break;
   11564 	}
   11565     }
   11566   va_end (args_copy);
   11567   va_end (args);
   11568 }
   11569 
   11570 int
   11571 main ()
   11572 {
   11573 
   11574   // Check bool.
   11575   _Bool success = false;
   11576 
   11577   // Check restrict.
   11578   if (test_restrict ("String literal") == 0)
   11579     success = true;
   11580   char *restrict newvar = "Another string";
   11581 
   11582   // Check varargs.
   11583   test_varargs ("s, d' f .", "string", 65, 34.234);
   11584   test_varargs_macros ();
   11585 
   11586   // Check flexible array members.
   11587   struct incomplete_array *ia =
   11588     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11589   ia->datasize = 10;
   11590   for (int i = 0; i < ia->datasize; ++i)
   11591     ia->data[i] = i * 1.234;
   11592 
   11593   // Check named initializers.
   11594   struct named_init ni = {
   11595     .number = 34,
   11596     .name = L"Test wide string",
   11597     .average = 543.34343,
   11598   };
   11599 
   11600   ni.number = 58;
   11601 
   11602   int dynamic_array[ni.number];
   11603   dynamic_array[ni.number - 1] = 543;
   11604 
   11605   // work around unused variable warnings
   11606   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11607 	  || dynamic_array[ni.number - 1] != 543);
   11608 
   11609   ;
   11610   return 0;
   11611 }
   11612 _ACEOF
   11613 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11614 do
   11615   CC="$ac_save_CC $ac_arg"
   11616   if ac_fn_c_try_compile "$LINENO"; then :
   11617   ac_cv_prog_cc_c99=$ac_arg
   11618 fi
   11619 rm -f core conftest.err conftest.$ac_objext
   11620   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11621 done
   11622 rm -f conftest.$ac_ext
   11623 CC=$ac_save_CC
   11624 
   11625 fi
   11626 # AC_CACHE_VAL
   11627 case "x$ac_cv_prog_cc_c99" in
   11628   x)
   11629     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11630 $as_echo "none needed" >&6; } ;;
   11631   xno)
   11632     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11633 $as_echo "unsupported" >&6; } ;;
   11634   *)
   11635     CC="$CC $ac_cv_prog_cc_c99"
   11636     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11637 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11638 esac
   11639 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11640 
   11641 fi
   11642 
   11643 
   11644 
   11645 
   11646 
   11647 
   11648 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11649 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11650   CLANGCC="yes"
   11651 else
   11652   CLANGCC="no"
   11653 fi
   11654 
   11655 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11656 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11657   INTELCC="yes"
   11658 else
   11659   INTELCC="no"
   11660 fi
   11661 
   11662 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11663 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11664   SUNCC="yes"
   11665 else
   11666   SUNCC="no"
   11667 fi
   11668 
   11669 
   11670 
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11678 	if test -n "$ac_tool_prefix"; then
   11679   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11680 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11682 $as_echo_n "checking for $ac_word... " >&6; }
   11683 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11684   $as_echo_n "(cached) " >&6
   11685 else
   11686   case $PKG_CONFIG in
   11687   [\\/]* | ?:[\\/]*)
   11688   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11689   ;;
   11690   *)
   11691   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11692 for as_dir in $PATH
   11693 do
   11694   IFS=$as_save_IFS
   11695   test -z "$as_dir" && as_dir=.
   11696     for ac_exec_ext in '' $ac_executable_extensions; do
   11697   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11698     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11699     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11700     break 2
   11701   fi
   11702 done
   11703   done
   11704 IFS=$as_save_IFS
   11705 
   11706   ;;
   11707 esac
   11708 fi
   11709 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11710 if test -n "$PKG_CONFIG"; then
   11711   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11712 $as_echo "$PKG_CONFIG" >&6; }
   11713 else
   11714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11715 $as_echo "no" >&6; }
   11716 fi
   11717 
   11718 
   11719 fi
   11720 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11721   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11722   # Extract the first word of "pkg-config", so it can be a program name with args.
   11723 set dummy pkg-config; ac_word=$2
   11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11725 $as_echo_n "checking for $ac_word... " >&6; }
   11726 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11727   $as_echo_n "(cached) " >&6
   11728 else
   11729   case $ac_pt_PKG_CONFIG in
   11730   [\\/]* | ?:[\\/]*)
   11731   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11732   ;;
   11733   *)
   11734   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11735 for as_dir in $PATH
   11736 do
   11737   IFS=$as_save_IFS
   11738   test -z "$as_dir" && as_dir=.
   11739     for ac_exec_ext in '' $ac_executable_extensions; do
   11740   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11741     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11742     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11743     break 2
   11744   fi
   11745 done
   11746   done
   11747 IFS=$as_save_IFS
   11748 
   11749   ;;
   11750 esac
   11751 fi
   11752 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11753 if test -n "$ac_pt_PKG_CONFIG"; then
   11754   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11755 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11756 else
   11757   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11758 $as_echo "no" >&6; }
   11759 fi
   11760 
   11761   if test "x$ac_pt_PKG_CONFIG" = x; then
   11762     PKG_CONFIG=""
   11763   else
   11764     case $cross_compiling:$ac_tool_warned in
   11765 yes:)
   11766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11767 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11768 ac_tool_warned=yes ;;
   11769 esac
   11770     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11771   fi
   11772 else
   11773   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11774 fi
   11775 
   11776 fi
   11777 if test -n "$PKG_CONFIG"; then
   11778 	_pkg_min_version=0.9.0
   11779 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11780 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11781 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11783 $as_echo "yes" >&6; }
   11784 	else
   11785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11786 $as_echo "no" >&6; }
   11787 		PKG_CONFIG=""
   11788 	fi
   11789 fi
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 # Check whether --enable-selective-werror was given.
   11796 if test "${enable_selective_werror+set}" = set; then :
   11797   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11798 else
   11799   SELECTIVE_WERROR=yes
   11800 fi
   11801 
   11802 
   11803 
   11804 
   11805 
   11806 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11807 if test "x$SUNCC" = "xyes"; then
   11808     BASE_CFLAGS="-v"
   11809 else
   11810     BASE_CFLAGS=""
   11811 fi
   11812 
   11813 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11814 
   11815 
   11816 
   11817 
   11818 
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 xorg_testset_save_CFLAGS="$CFLAGS"
   11828 
   11829 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11830 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11832 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11833 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11834   $as_echo_n "(cached) " >&6
   11835 else
   11836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11837 /* end confdefs.h.  */
   11838 int i;
   11839 _ACEOF
   11840 if ac_fn_c_try_compile "$LINENO"; then :
   11841   xorg_cv_cc_flag_unknown_warning_option=yes
   11842 else
   11843   xorg_cv_cc_flag_unknown_warning_option=no
   11844 fi
   11845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11846 fi
   11847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11848 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11849 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11850 	CFLAGS="$xorg_testset_save_CFLAGS"
   11851 fi
   11852 
   11853 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11854 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11855 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11856 	fi
   11857 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11858 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11859 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11860 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11861   $as_echo_n "(cached) " >&6
   11862 else
   11863   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11864 /* end confdefs.h.  */
   11865 int i;
   11866 _ACEOF
   11867 if ac_fn_c_try_compile "$LINENO"; then :
   11868   xorg_cv_cc_flag_unused_command_line_argument=yes
   11869 else
   11870   xorg_cv_cc_flag_unused_command_line_argument=no
   11871 fi
   11872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11873 fi
   11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11875 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11876 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11877 	CFLAGS="$xorg_testset_save_CFLAGS"
   11878 fi
   11879 
   11880 found="no"
   11881 
   11882 	if test $found = "no" ; then
   11883 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11884 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11885 		fi
   11886 
   11887 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11888 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11889 		fi
   11890 
   11891 		CFLAGS="$CFLAGS -Wall"
   11892 
   11893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11894 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11895 		cacheid=xorg_cv_cc_flag__Wall
   11896 		if eval \${$cacheid+:} false; then :
   11897   $as_echo_n "(cached) " >&6
   11898 else
   11899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11900 /* end confdefs.h.  */
   11901 int i;
   11902 int
   11903 main ()
   11904 {
   11905 
   11906   ;
   11907   return 0;
   11908 }
   11909 _ACEOF
   11910 if ac_fn_c_try_link "$LINENO"; then :
   11911   eval $cacheid=yes
   11912 else
   11913   eval $cacheid=no
   11914 fi
   11915 rm -f core conftest.err conftest.$ac_objext \
   11916     conftest$ac_exeext conftest.$ac_ext
   11917 fi
   11918 
   11919 
   11920 		CFLAGS="$xorg_testset_save_CFLAGS"
   11921 
   11922 		eval supported=\$$cacheid
   11923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11924 $as_echo "$supported" >&6; }
   11925 		if test "$supported" = "yes" ; then
   11926 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11927 			found="yes"
   11928 		fi
   11929 	fi
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 xorg_testset_save_CFLAGS="$CFLAGS"
   11946 
   11947 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11948 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11950 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11951 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11952   $as_echo_n "(cached) " >&6
   11953 else
   11954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11955 /* end confdefs.h.  */
   11956 int i;
   11957 _ACEOF
   11958 if ac_fn_c_try_compile "$LINENO"; then :
   11959   xorg_cv_cc_flag_unknown_warning_option=yes
   11960 else
   11961   xorg_cv_cc_flag_unknown_warning_option=no
   11962 fi
   11963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11964 fi
   11965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11966 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11967 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11968 	CFLAGS="$xorg_testset_save_CFLAGS"
   11969 fi
   11970 
   11971 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11972 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11973 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11974 	fi
   11975 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11976 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11977 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11978 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11979   $as_echo_n "(cached) " >&6
   11980 else
   11981   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11982 /* end confdefs.h.  */
   11983 int i;
   11984 _ACEOF
   11985 if ac_fn_c_try_compile "$LINENO"; then :
   11986   xorg_cv_cc_flag_unused_command_line_argument=yes
   11987 else
   11988   xorg_cv_cc_flag_unused_command_line_argument=no
   11989 fi
   11990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11991 fi
   11992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11993 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11994 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11995 	CFLAGS="$xorg_testset_save_CFLAGS"
   11996 fi
   11997 
   11998 found="no"
   11999 
   12000 	if test $found = "no" ; then
   12001 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12002 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12003 		fi
   12004 
   12005 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12006 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12007 		fi
   12008 
   12009 		CFLAGS="$CFLAGS -Wpointer-arith"
   12010 
   12011 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12012 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12013 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12014 		if eval \${$cacheid+:} false; then :
   12015   $as_echo_n "(cached) " >&6
   12016 else
   12017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12018 /* end confdefs.h.  */
   12019 int i;
   12020 int
   12021 main ()
   12022 {
   12023 
   12024   ;
   12025   return 0;
   12026 }
   12027 _ACEOF
   12028 if ac_fn_c_try_link "$LINENO"; then :
   12029   eval $cacheid=yes
   12030 else
   12031   eval $cacheid=no
   12032 fi
   12033 rm -f core conftest.err conftest.$ac_objext \
   12034     conftest$ac_exeext conftest.$ac_ext
   12035 fi
   12036 
   12037 
   12038 		CFLAGS="$xorg_testset_save_CFLAGS"
   12039 
   12040 		eval supported=\$$cacheid
   12041 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12042 $as_echo "$supported" >&6; }
   12043 		if test "$supported" = "yes" ; then
   12044 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12045 			found="yes"
   12046 		fi
   12047 	fi
   12048 
   12049 
   12050 
   12051 
   12052 
   12053 
   12054 
   12055 
   12056 
   12057 
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 xorg_testset_save_CFLAGS="$CFLAGS"
   12064 
   12065 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12066 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12068 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12069 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12070   $as_echo_n "(cached) " >&6
   12071 else
   12072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12073 /* end confdefs.h.  */
   12074 int i;
   12075 _ACEOF
   12076 if ac_fn_c_try_compile "$LINENO"; then :
   12077   xorg_cv_cc_flag_unknown_warning_option=yes
   12078 else
   12079   xorg_cv_cc_flag_unknown_warning_option=no
   12080 fi
   12081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12082 fi
   12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12084 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12085 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12086 	CFLAGS="$xorg_testset_save_CFLAGS"
   12087 fi
   12088 
   12089 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12090 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12091 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12092 	fi
   12093 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12094 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12095 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12096 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12097   $as_echo_n "(cached) " >&6
   12098 else
   12099   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12100 /* end confdefs.h.  */
   12101 int i;
   12102 _ACEOF
   12103 if ac_fn_c_try_compile "$LINENO"; then :
   12104   xorg_cv_cc_flag_unused_command_line_argument=yes
   12105 else
   12106   xorg_cv_cc_flag_unused_command_line_argument=no
   12107 fi
   12108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12109 fi
   12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12111 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12112 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12113 	CFLAGS="$xorg_testset_save_CFLAGS"
   12114 fi
   12115 
   12116 found="no"
   12117 
   12118 	if test $found = "no" ; then
   12119 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12120 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12121 		fi
   12122 
   12123 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12124 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12125 		fi
   12126 
   12127 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12128 
   12129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12130 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12131 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12132 		if eval \${$cacheid+:} false; then :
   12133   $as_echo_n "(cached) " >&6
   12134 else
   12135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12136 /* end confdefs.h.  */
   12137 int i;
   12138 int
   12139 main ()
   12140 {
   12141 
   12142   ;
   12143   return 0;
   12144 }
   12145 _ACEOF
   12146 if ac_fn_c_try_link "$LINENO"; then :
   12147   eval $cacheid=yes
   12148 else
   12149   eval $cacheid=no
   12150 fi
   12151 rm -f core conftest.err conftest.$ac_objext \
   12152     conftest$ac_exeext conftest.$ac_ext
   12153 fi
   12154 
   12155 
   12156 		CFLAGS="$xorg_testset_save_CFLAGS"
   12157 
   12158 		eval supported=\$$cacheid
   12159 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12160 $as_echo "$supported" >&6; }
   12161 		if test "$supported" = "yes" ; then
   12162 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12163 			found="yes"
   12164 		fi
   12165 	fi
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 
   12176 
   12177 
   12178 
   12179 
   12180 
   12181 xorg_testset_save_CFLAGS="$CFLAGS"
   12182 
   12183 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12184 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12186 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12187 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12188   $as_echo_n "(cached) " >&6
   12189 else
   12190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12191 /* end confdefs.h.  */
   12192 int i;
   12193 _ACEOF
   12194 if ac_fn_c_try_compile "$LINENO"; then :
   12195   xorg_cv_cc_flag_unknown_warning_option=yes
   12196 else
   12197   xorg_cv_cc_flag_unknown_warning_option=no
   12198 fi
   12199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12200 fi
   12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12202 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12203 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12204 	CFLAGS="$xorg_testset_save_CFLAGS"
   12205 fi
   12206 
   12207 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12208 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12209 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12210 	fi
   12211 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12213 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12214 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12215   $as_echo_n "(cached) " >&6
   12216 else
   12217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12218 /* end confdefs.h.  */
   12219 int i;
   12220 _ACEOF
   12221 if ac_fn_c_try_compile "$LINENO"; then :
   12222   xorg_cv_cc_flag_unused_command_line_argument=yes
   12223 else
   12224   xorg_cv_cc_flag_unused_command_line_argument=no
   12225 fi
   12226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12227 fi
   12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12229 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12230 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12231 	CFLAGS="$xorg_testset_save_CFLAGS"
   12232 fi
   12233 
   12234 found="no"
   12235 
   12236 	if test $found = "no" ; then
   12237 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12238 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12239 		fi
   12240 
   12241 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12242 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12243 		fi
   12244 
   12245 		CFLAGS="$CFLAGS -Wformat=2"
   12246 
   12247 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12248 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12249 		cacheid=xorg_cv_cc_flag__Wformat_2
   12250 		if eval \${$cacheid+:} false; then :
   12251   $as_echo_n "(cached) " >&6
   12252 else
   12253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12254 /* end confdefs.h.  */
   12255 int i;
   12256 int
   12257 main ()
   12258 {
   12259 
   12260   ;
   12261   return 0;
   12262 }
   12263 _ACEOF
   12264 if ac_fn_c_try_link "$LINENO"; then :
   12265   eval $cacheid=yes
   12266 else
   12267   eval $cacheid=no
   12268 fi
   12269 rm -f core conftest.err conftest.$ac_objext \
   12270     conftest$ac_exeext conftest.$ac_ext
   12271 fi
   12272 
   12273 
   12274 		CFLAGS="$xorg_testset_save_CFLAGS"
   12275 
   12276 		eval supported=\$$cacheid
   12277 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12278 $as_echo "$supported" >&6; }
   12279 		if test "$supported" = "yes" ; then
   12280 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12281 			found="yes"
   12282 		fi
   12283 	fi
   12284 
   12285 	if test $found = "no" ; then
   12286 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12287 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12288 		fi
   12289 
   12290 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12291 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12292 		fi
   12293 
   12294 		CFLAGS="$CFLAGS -Wformat"
   12295 
   12296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12297 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12298 		cacheid=xorg_cv_cc_flag__Wformat
   12299 		if eval \${$cacheid+:} false; then :
   12300   $as_echo_n "(cached) " >&6
   12301 else
   12302   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12303 /* end confdefs.h.  */
   12304 int i;
   12305 int
   12306 main ()
   12307 {
   12308 
   12309   ;
   12310   return 0;
   12311 }
   12312 _ACEOF
   12313 if ac_fn_c_try_link "$LINENO"; then :
   12314   eval $cacheid=yes
   12315 else
   12316   eval $cacheid=no
   12317 fi
   12318 rm -f core conftest.err conftest.$ac_objext \
   12319     conftest$ac_exeext conftest.$ac_ext
   12320 fi
   12321 
   12322 
   12323 		CFLAGS="$xorg_testset_save_CFLAGS"
   12324 
   12325 		eval supported=\$$cacheid
   12326 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12327 $as_echo "$supported" >&6; }
   12328 		if test "$supported" = "yes" ; then
   12329 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12330 			found="yes"
   12331 		fi
   12332 	fi
   12333 
   12334 
   12335 
   12336 
   12337 
   12338 
   12339 
   12340 
   12341 
   12342 
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 xorg_testset_save_CFLAGS="$CFLAGS"
   12351 
   12352 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12353 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12354 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12355 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12356 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12357   $as_echo_n "(cached) " >&6
   12358 else
   12359   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12360 /* end confdefs.h.  */
   12361 int i;
   12362 _ACEOF
   12363 if ac_fn_c_try_compile "$LINENO"; then :
   12364   xorg_cv_cc_flag_unknown_warning_option=yes
   12365 else
   12366   xorg_cv_cc_flag_unknown_warning_option=no
   12367 fi
   12368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12369 fi
   12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12371 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12372 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12373 	CFLAGS="$xorg_testset_save_CFLAGS"
   12374 fi
   12375 
   12376 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12377 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12378 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12379 	fi
   12380 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12381 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12382 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12383 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12384   $as_echo_n "(cached) " >&6
   12385 else
   12386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12387 /* end confdefs.h.  */
   12388 int i;
   12389 _ACEOF
   12390 if ac_fn_c_try_compile "$LINENO"; then :
   12391   xorg_cv_cc_flag_unused_command_line_argument=yes
   12392 else
   12393   xorg_cv_cc_flag_unused_command_line_argument=no
   12394 fi
   12395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12396 fi
   12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12398 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12399 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12400 	CFLAGS="$xorg_testset_save_CFLAGS"
   12401 fi
   12402 
   12403 found="no"
   12404 
   12405 	if test $found = "no" ; then
   12406 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12407 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12408 		fi
   12409 
   12410 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12411 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12412 		fi
   12413 
   12414 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12415 
   12416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12417 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12418 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12419 		if eval \${$cacheid+:} false; then :
   12420   $as_echo_n "(cached) " >&6
   12421 else
   12422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12423 /* end confdefs.h.  */
   12424 int i;
   12425 int
   12426 main ()
   12427 {
   12428 
   12429   ;
   12430   return 0;
   12431 }
   12432 _ACEOF
   12433 if ac_fn_c_try_link "$LINENO"; then :
   12434   eval $cacheid=yes
   12435 else
   12436   eval $cacheid=no
   12437 fi
   12438 rm -f core conftest.err conftest.$ac_objext \
   12439     conftest$ac_exeext conftest.$ac_ext
   12440 fi
   12441 
   12442 
   12443 		CFLAGS="$xorg_testset_save_CFLAGS"
   12444 
   12445 		eval supported=\$$cacheid
   12446 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12447 $as_echo "$supported" >&6; }
   12448 		if test "$supported" = "yes" ; then
   12449 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12450 			found="yes"
   12451 		fi
   12452 	fi
   12453 
   12454 
   12455 
   12456 
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 xorg_testset_save_CFLAGS="$CFLAGS"
   12469 
   12470 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12471 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12473 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12474 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12475   $as_echo_n "(cached) " >&6
   12476 else
   12477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12478 /* end confdefs.h.  */
   12479 int i;
   12480 _ACEOF
   12481 if ac_fn_c_try_compile "$LINENO"; then :
   12482   xorg_cv_cc_flag_unknown_warning_option=yes
   12483 else
   12484   xorg_cv_cc_flag_unknown_warning_option=no
   12485 fi
   12486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12487 fi
   12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12489 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12490 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12491 	CFLAGS="$xorg_testset_save_CFLAGS"
   12492 fi
   12493 
   12494 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12495 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12496 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12497 	fi
   12498 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12499 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12500 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12501 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12502   $as_echo_n "(cached) " >&6
   12503 else
   12504   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12505 /* end confdefs.h.  */
   12506 int i;
   12507 _ACEOF
   12508 if ac_fn_c_try_compile "$LINENO"; then :
   12509   xorg_cv_cc_flag_unused_command_line_argument=yes
   12510 else
   12511   xorg_cv_cc_flag_unused_command_line_argument=no
   12512 fi
   12513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12514 fi
   12515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12516 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12517 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12518 	CFLAGS="$xorg_testset_save_CFLAGS"
   12519 fi
   12520 
   12521 found="no"
   12522 
   12523 	if test $found = "no" ; then
   12524 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12525 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12526 		fi
   12527 
   12528 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12529 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12530 		fi
   12531 
   12532 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12533 
   12534 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12535 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12536 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12537 		if eval \${$cacheid+:} false; then :
   12538   $as_echo_n "(cached) " >&6
   12539 else
   12540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12541 /* end confdefs.h.  */
   12542 int i;
   12543 int
   12544 main ()
   12545 {
   12546 
   12547   ;
   12548   return 0;
   12549 }
   12550 _ACEOF
   12551 if ac_fn_c_try_link "$LINENO"; then :
   12552   eval $cacheid=yes
   12553 else
   12554   eval $cacheid=no
   12555 fi
   12556 rm -f core conftest.err conftest.$ac_objext \
   12557     conftest$ac_exeext conftest.$ac_ext
   12558 fi
   12559 
   12560 
   12561 		CFLAGS="$xorg_testset_save_CFLAGS"
   12562 
   12563 		eval supported=\$$cacheid
   12564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12565 $as_echo "$supported" >&6; }
   12566 		if test "$supported" = "yes" ; then
   12567 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12568 			found="yes"
   12569 		fi
   12570 	fi
   12571 
   12572 
   12573 
   12574 
   12575 
   12576 
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 xorg_testset_save_CFLAGS="$CFLAGS"
   12587 
   12588 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12589 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12591 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12592 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12593   $as_echo_n "(cached) " >&6
   12594 else
   12595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12596 /* end confdefs.h.  */
   12597 int i;
   12598 _ACEOF
   12599 if ac_fn_c_try_compile "$LINENO"; then :
   12600   xorg_cv_cc_flag_unknown_warning_option=yes
   12601 else
   12602   xorg_cv_cc_flag_unknown_warning_option=no
   12603 fi
   12604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12605 fi
   12606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12607 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12608 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12609 	CFLAGS="$xorg_testset_save_CFLAGS"
   12610 fi
   12611 
   12612 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12613 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12614 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12615 	fi
   12616 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12617 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12618 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12619 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12620   $as_echo_n "(cached) " >&6
   12621 else
   12622   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12623 /* end confdefs.h.  */
   12624 int i;
   12625 _ACEOF
   12626 if ac_fn_c_try_compile "$LINENO"; then :
   12627   xorg_cv_cc_flag_unused_command_line_argument=yes
   12628 else
   12629   xorg_cv_cc_flag_unused_command_line_argument=no
   12630 fi
   12631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12632 fi
   12633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12634 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12635 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12636 	CFLAGS="$xorg_testset_save_CFLAGS"
   12637 fi
   12638 
   12639 found="no"
   12640 
   12641 	if test $found = "no" ; then
   12642 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12643 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12644 		fi
   12645 
   12646 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12647 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12648 		fi
   12649 
   12650 		CFLAGS="$CFLAGS -Wnested-externs"
   12651 
   12652 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12653 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12654 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12655 		if eval \${$cacheid+:} false; then :
   12656   $as_echo_n "(cached) " >&6
   12657 else
   12658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12659 /* end confdefs.h.  */
   12660 int i;
   12661 int
   12662 main ()
   12663 {
   12664 
   12665   ;
   12666   return 0;
   12667 }
   12668 _ACEOF
   12669 if ac_fn_c_try_link "$LINENO"; then :
   12670   eval $cacheid=yes
   12671 else
   12672   eval $cacheid=no
   12673 fi
   12674 rm -f core conftest.err conftest.$ac_objext \
   12675     conftest$ac_exeext conftest.$ac_ext
   12676 fi
   12677 
   12678 
   12679 		CFLAGS="$xorg_testset_save_CFLAGS"
   12680 
   12681 		eval supported=\$$cacheid
   12682 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12683 $as_echo "$supported" >&6; }
   12684 		if test "$supported" = "yes" ; then
   12685 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12686 			found="yes"
   12687 		fi
   12688 	fi
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 xorg_testset_save_CFLAGS="$CFLAGS"
   12705 
   12706 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12707 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12709 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12710 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12711   $as_echo_n "(cached) " >&6
   12712 else
   12713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12714 /* end confdefs.h.  */
   12715 int i;
   12716 _ACEOF
   12717 if ac_fn_c_try_compile "$LINENO"; then :
   12718   xorg_cv_cc_flag_unknown_warning_option=yes
   12719 else
   12720   xorg_cv_cc_flag_unknown_warning_option=no
   12721 fi
   12722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12723 fi
   12724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12725 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12726 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12727 	CFLAGS="$xorg_testset_save_CFLAGS"
   12728 fi
   12729 
   12730 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12731 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12732 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12733 	fi
   12734 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12735 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12736 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12737 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12738   $as_echo_n "(cached) " >&6
   12739 else
   12740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12741 /* end confdefs.h.  */
   12742 int i;
   12743 _ACEOF
   12744 if ac_fn_c_try_compile "$LINENO"; then :
   12745   xorg_cv_cc_flag_unused_command_line_argument=yes
   12746 else
   12747   xorg_cv_cc_flag_unused_command_line_argument=no
   12748 fi
   12749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12750 fi
   12751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12752 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12753 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12754 	CFLAGS="$xorg_testset_save_CFLAGS"
   12755 fi
   12756 
   12757 found="no"
   12758 
   12759 	if test $found = "no" ; then
   12760 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12761 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12762 		fi
   12763 
   12764 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12765 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12766 		fi
   12767 
   12768 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12769 
   12770 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12771 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12772 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12773 		if eval \${$cacheid+:} false; then :
   12774   $as_echo_n "(cached) " >&6
   12775 else
   12776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12777 /* end confdefs.h.  */
   12778 int i;
   12779 int
   12780 main ()
   12781 {
   12782 
   12783   ;
   12784   return 0;
   12785 }
   12786 _ACEOF
   12787 if ac_fn_c_try_link "$LINENO"; then :
   12788   eval $cacheid=yes
   12789 else
   12790   eval $cacheid=no
   12791 fi
   12792 rm -f core conftest.err conftest.$ac_objext \
   12793     conftest$ac_exeext conftest.$ac_ext
   12794 fi
   12795 
   12796 
   12797 		CFLAGS="$xorg_testset_save_CFLAGS"
   12798 
   12799 		eval supported=\$$cacheid
   12800 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12801 $as_echo "$supported" >&6; }
   12802 		if test "$supported" = "yes" ; then
   12803 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12804 			found="yes"
   12805 		fi
   12806 	fi
   12807 
   12808 
   12809 
   12810 
   12811 
   12812 
   12813 
   12814 
   12815 
   12816 
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 xorg_testset_save_CFLAGS="$CFLAGS"
   12823 
   12824 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12825 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12827 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12828 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12829   $as_echo_n "(cached) " >&6
   12830 else
   12831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12832 /* end confdefs.h.  */
   12833 int i;
   12834 _ACEOF
   12835 if ac_fn_c_try_compile "$LINENO"; then :
   12836   xorg_cv_cc_flag_unknown_warning_option=yes
   12837 else
   12838   xorg_cv_cc_flag_unknown_warning_option=no
   12839 fi
   12840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12841 fi
   12842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12843 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12844 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12845 	CFLAGS="$xorg_testset_save_CFLAGS"
   12846 fi
   12847 
   12848 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12849 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12850 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12851 	fi
   12852 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12853 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12854 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12855 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12856   $as_echo_n "(cached) " >&6
   12857 else
   12858   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12859 /* end confdefs.h.  */
   12860 int i;
   12861 _ACEOF
   12862 if ac_fn_c_try_compile "$LINENO"; then :
   12863   xorg_cv_cc_flag_unused_command_line_argument=yes
   12864 else
   12865   xorg_cv_cc_flag_unused_command_line_argument=no
   12866 fi
   12867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12868 fi
   12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12870 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12871 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12872 	CFLAGS="$xorg_testset_save_CFLAGS"
   12873 fi
   12874 
   12875 found="no"
   12876 
   12877 	if test $found = "no" ; then
   12878 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12879 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12880 		fi
   12881 
   12882 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12883 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12884 		fi
   12885 
   12886 		CFLAGS="$CFLAGS -Wold-style-definition"
   12887 
   12888 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12889 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12890 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12891 		if eval \${$cacheid+:} false; then :
   12892   $as_echo_n "(cached) " >&6
   12893 else
   12894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12895 /* end confdefs.h.  */
   12896 int i;
   12897 int
   12898 main ()
   12899 {
   12900 
   12901   ;
   12902   return 0;
   12903 }
   12904 _ACEOF
   12905 if ac_fn_c_try_link "$LINENO"; then :
   12906   eval $cacheid=yes
   12907 else
   12908   eval $cacheid=no
   12909 fi
   12910 rm -f core conftest.err conftest.$ac_objext \
   12911     conftest$ac_exeext conftest.$ac_ext
   12912 fi
   12913 
   12914 
   12915 		CFLAGS="$xorg_testset_save_CFLAGS"
   12916 
   12917 		eval supported=\$$cacheid
   12918 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12919 $as_echo "$supported" >&6; }
   12920 		if test "$supported" = "yes" ; then
   12921 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12922 			found="yes"
   12923 		fi
   12924 	fi
   12925 
   12926 	if test $found = "no" ; then
   12927 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12928 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12929 		fi
   12930 
   12931 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12932 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12933 		fi
   12934 
   12935 		CFLAGS="$CFLAGS -fd"
   12936 
   12937 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   12938 $as_echo_n "checking if $CC supports -fd... " >&6; }
   12939 		cacheid=xorg_cv_cc_flag__fd
   12940 		if eval \${$cacheid+:} false; then :
   12941   $as_echo_n "(cached) " >&6
   12942 else
   12943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12944 /* end confdefs.h.  */
   12945 int i;
   12946 int
   12947 main ()
   12948 {
   12949 
   12950   ;
   12951   return 0;
   12952 }
   12953 _ACEOF
   12954 if ac_fn_c_try_link "$LINENO"; then :
   12955   eval $cacheid=yes
   12956 else
   12957   eval $cacheid=no
   12958 fi
   12959 rm -f core conftest.err conftest.$ac_objext \
   12960     conftest$ac_exeext conftest.$ac_ext
   12961 fi
   12962 
   12963 
   12964 		CFLAGS="$xorg_testset_save_CFLAGS"
   12965 
   12966 		eval supported=\$$cacheid
   12967 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12968 $as_echo "$supported" >&6; }
   12969 		if test "$supported" = "yes" ; then
   12970 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   12971 			found="yes"
   12972 		fi
   12973 	fi
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 xorg_testset_save_CFLAGS="$CFLAGS"
   12990 
   12991 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12992 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12993 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12994 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12995 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12996   $as_echo_n "(cached) " >&6
   12997 else
   12998   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12999 /* end confdefs.h.  */
   13000 int i;
   13001 _ACEOF
   13002 if ac_fn_c_try_compile "$LINENO"; then :
   13003   xorg_cv_cc_flag_unknown_warning_option=yes
   13004 else
   13005   xorg_cv_cc_flag_unknown_warning_option=no
   13006 fi
   13007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13008 fi
   13009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13010 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13011 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13012 	CFLAGS="$xorg_testset_save_CFLAGS"
   13013 fi
   13014 
   13015 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13016 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13017 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13018 	fi
   13019 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13020 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13021 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13022 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13023   $as_echo_n "(cached) " >&6
   13024 else
   13025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13026 /* end confdefs.h.  */
   13027 int i;
   13028 _ACEOF
   13029 if ac_fn_c_try_compile "$LINENO"; then :
   13030   xorg_cv_cc_flag_unused_command_line_argument=yes
   13031 else
   13032   xorg_cv_cc_flag_unused_command_line_argument=no
   13033 fi
   13034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13035 fi
   13036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13037 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13038 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13039 	CFLAGS="$xorg_testset_save_CFLAGS"
   13040 fi
   13041 
   13042 found="no"
   13043 
   13044 	if test $found = "no" ; then
   13045 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13046 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13047 		fi
   13048 
   13049 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13050 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13051 		fi
   13052 
   13053 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13054 
   13055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13056 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13057 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13058 		if eval \${$cacheid+:} false; then :
   13059   $as_echo_n "(cached) " >&6
   13060 else
   13061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13062 /* end confdefs.h.  */
   13063 int i;
   13064 int
   13065 main ()
   13066 {
   13067 
   13068   ;
   13069   return 0;
   13070 }
   13071 _ACEOF
   13072 if ac_fn_c_try_link "$LINENO"; then :
   13073   eval $cacheid=yes
   13074 else
   13075   eval $cacheid=no
   13076 fi
   13077 rm -f core conftest.err conftest.$ac_objext \
   13078     conftest$ac_exeext conftest.$ac_ext
   13079 fi
   13080 
   13081 
   13082 		CFLAGS="$xorg_testset_save_CFLAGS"
   13083 
   13084 		eval supported=\$$cacheid
   13085 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13086 $as_echo "$supported" >&6; }
   13087 		if test "$supported" = "yes" ; then
   13088 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13089 			found="yes"
   13090 		fi
   13091 	fi
   13092 
   13093 
   13094 
   13095 
   13096 
   13097 # This chunk adds additional warnings that could catch undesired effects.
   13098 
   13099 
   13100 
   13101 
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 
   13108 
   13109 
   13110 
   13111 xorg_testset_save_CFLAGS="$CFLAGS"
   13112 
   13113 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13114 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13116 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13117 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13118   $as_echo_n "(cached) " >&6
   13119 else
   13120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13121 /* end confdefs.h.  */
   13122 int i;
   13123 _ACEOF
   13124 if ac_fn_c_try_compile "$LINENO"; then :
   13125   xorg_cv_cc_flag_unknown_warning_option=yes
   13126 else
   13127   xorg_cv_cc_flag_unknown_warning_option=no
   13128 fi
   13129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13130 fi
   13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13132 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13133 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13134 	CFLAGS="$xorg_testset_save_CFLAGS"
   13135 fi
   13136 
   13137 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13138 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13139 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13140 	fi
   13141 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13142 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13143 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13144 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13145   $as_echo_n "(cached) " >&6
   13146 else
   13147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13148 /* end confdefs.h.  */
   13149 int i;
   13150 _ACEOF
   13151 if ac_fn_c_try_compile "$LINENO"; then :
   13152   xorg_cv_cc_flag_unused_command_line_argument=yes
   13153 else
   13154   xorg_cv_cc_flag_unused_command_line_argument=no
   13155 fi
   13156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13157 fi
   13158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13159 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13160 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13161 	CFLAGS="$xorg_testset_save_CFLAGS"
   13162 fi
   13163 
   13164 found="no"
   13165 
   13166 	if test $found = "no" ; then
   13167 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13168 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13169 		fi
   13170 
   13171 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13172 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13173 		fi
   13174 
   13175 		CFLAGS="$CFLAGS -Wunused"
   13176 
   13177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13178 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13179 		cacheid=xorg_cv_cc_flag__Wunused
   13180 		if eval \${$cacheid+:} false; then :
   13181   $as_echo_n "(cached) " >&6
   13182 else
   13183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13184 /* end confdefs.h.  */
   13185 int i;
   13186 int
   13187 main ()
   13188 {
   13189 
   13190   ;
   13191   return 0;
   13192 }
   13193 _ACEOF
   13194 if ac_fn_c_try_link "$LINENO"; then :
   13195   eval $cacheid=yes
   13196 else
   13197   eval $cacheid=no
   13198 fi
   13199 rm -f core conftest.err conftest.$ac_objext \
   13200     conftest$ac_exeext conftest.$ac_ext
   13201 fi
   13202 
   13203 
   13204 		CFLAGS="$xorg_testset_save_CFLAGS"
   13205 
   13206 		eval supported=\$$cacheid
   13207 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13208 $as_echo "$supported" >&6; }
   13209 		if test "$supported" = "yes" ; then
   13210 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13211 			found="yes"
   13212 		fi
   13213 	fi
   13214 
   13215 
   13216 
   13217 
   13218 
   13219 
   13220 
   13221 
   13222 
   13223 
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 xorg_testset_save_CFLAGS="$CFLAGS"
   13230 
   13231 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13232 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13234 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13235 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13236   $as_echo_n "(cached) " >&6
   13237 else
   13238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13239 /* end confdefs.h.  */
   13240 int i;
   13241 _ACEOF
   13242 if ac_fn_c_try_compile "$LINENO"; then :
   13243   xorg_cv_cc_flag_unknown_warning_option=yes
   13244 else
   13245   xorg_cv_cc_flag_unknown_warning_option=no
   13246 fi
   13247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13248 fi
   13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13250 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13251 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13252 	CFLAGS="$xorg_testset_save_CFLAGS"
   13253 fi
   13254 
   13255 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13256 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13257 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13258 	fi
   13259 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13260 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13261 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13262 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13263   $as_echo_n "(cached) " >&6
   13264 else
   13265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13266 /* end confdefs.h.  */
   13267 int i;
   13268 _ACEOF
   13269 if ac_fn_c_try_compile "$LINENO"; then :
   13270   xorg_cv_cc_flag_unused_command_line_argument=yes
   13271 else
   13272   xorg_cv_cc_flag_unused_command_line_argument=no
   13273 fi
   13274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13275 fi
   13276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13277 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13278 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13279 	CFLAGS="$xorg_testset_save_CFLAGS"
   13280 fi
   13281 
   13282 found="no"
   13283 
   13284 	if test $found = "no" ; then
   13285 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13286 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13287 		fi
   13288 
   13289 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13290 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13291 		fi
   13292 
   13293 		CFLAGS="$CFLAGS -Wuninitialized"
   13294 
   13295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13296 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13297 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13298 		if eval \${$cacheid+:} false; then :
   13299   $as_echo_n "(cached) " >&6
   13300 else
   13301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13302 /* end confdefs.h.  */
   13303 int i;
   13304 int
   13305 main ()
   13306 {
   13307 
   13308   ;
   13309   return 0;
   13310 }
   13311 _ACEOF
   13312 if ac_fn_c_try_link "$LINENO"; then :
   13313   eval $cacheid=yes
   13314 else
   13315   eval $cacheid=no
   13316 fi
   13317 rm -f core conftest.err conftest.$ac_objext \
   13318     conftest$ac_exeext conftest.$ac_ext
   13319 fi
   13320 
   13321 
   13322 		CFLAGS="$xorg_testset_save_CFLAGS"
   13323 
   13324 		eval supported=\$$cacheid
   13325 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13326 $as_echo "$supported" >&6; }
   13327 		if test "$supported" = "yes" ; then
   13328 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13329 			found="yes"
   13330 		fi
   13331 	fi
   13332 
   13333 
   13334 
   13335 
   13336 
   13337 
   13338 
   13339 
   13340 
   13341 
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 xorg_testset_save_CFLAGS="$CFLAGS"
   13348 
   13349 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13350 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13351 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13352 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13353 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13354   $as_echo_n "(cached) " >&6
   13355 else
   13356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13357 /* end confdefs.h.  */
   13358 int i;
   13359 _ACEOF
   13360 if ac_fn_c_try_compile "$LINENO"; then :
   13361   xorg_cv_cc_flag_unknown_warning_option=yes
   13362 else
   13363   xorg_cv_cc_flag_unknown_warning_option=no
   13364 fi
   13365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13366 fi
   13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13368 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13369 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13370 	CFLAGS="$xorg_testset_save_CFLAGS"
   13371 fi
   13372 
   13373 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13374 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13375 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13376 	fi
   13377 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13378 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13379 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13380 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13381   $as_echo_n "(cached) " >&6
   13382 else
   13383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13384 /* end confdefs.h.  */
   13385 int i;
   13386 _ACEOF
   13387 if ac_fn_c_try_compile "$LINENO"; then :
   13388   xorg_cv_cc_flag_unused_command_line_argument=yes
   13389 else
   13390   xorg_cv_cc_flag_unused_command_line_argument=no
   13391 fi
   13392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13393 fi
   13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13395 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13396 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13397 	CFLAGS="$xorg_testset_save_CFLAGS"
   13398 fi
   13399 
   13400 found="no"
   13401 
   13402 	if test $found = "no" ; then
   13403 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13404 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13405 		fi
   13406 
   13407 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13408 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13409 		fi
   13410 
   13411 		CFLAGS="$CFLAGS -Wshadow"
   13412 
   13413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13414 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13415 		cacheid=xorg_cv_cc_flag__Wshadow
   13416 		if eval \${$cacheid+:} false; then :
   13417   $as_echo_n "(cached) " >&6
   13418 else
   13419   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13420 /* end confdefs.h.  */
   13421 int i;
   13422 int
   13423 main ()
   13424 {
   13425 
   13426   ;
   13427   return 0;
   13428 }
   13429 _ACEOF
   13430 if ac_fn_c_try_link "$LINENO"; then :
   13431   eval $cacheid=yes
   13432 else
   13433   eval $cacheid=no
   13434 fi
   13435 rm -f core conftest.err conftest.$ac_objext \
   13436     conftest$ac_exeext conftest.$ac_ext
   13437 fi
   13438 
   13439 
   13440 		CFLAGS="$xorg_testset_save_CFLAGS"
   13441 
   13442 		eval supported=\$$cacheid
   13443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13444 $as_echo "$supported" >&6; }
   13445 		if test "$supported" = "yes" ; then
   13446 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13447 			found="yes"
   13448 		fi
   13449 	fi
   13450 
   13451 
   13452 
   13453 
   13454 
   13455 
   13456 
   13457 
   13458 
   13459 
   13460 
   13461 
   13462 
   13463 
   13464 
   13465 xorg_testset_save_CFLAGS="$CFLAGS"
   13466 
   13467 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13468 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13469 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13470 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13471 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13472   $as_echo_n "(cached) " >&6
   13473 else
   13474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13475 /* end confdefs.h.  */
   13476 int i;
   13477 _ACEOF
   13478 if ac_fn_c_try_compile "$LINENO"; then :
   13479   xorg_cv_cc_flag_unknown_warning_option=yes
   13480 else
   13481   xorg_cv_cc_flag_unknown_warning_option=no
   13482 fi
   13483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13484 fi
   13485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13486 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13487 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13488 	CFLAGS="$xorg_testset_save_CFLAGS"
   13489 fi
   13490 
   13491 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13492 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13493 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13494 	fi
   13495 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13496 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13497 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13498 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13499   $as_echo_n "(cached) " >&6
   13500 else
   13501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13502 /* end confdefs.h.  */
   13503 int i;
   13504 _ACEOF
   13505 if ac_fn_c_try_compile "$LINENO"; then :
   13506   xorg_cv_cc_flag_unused_command_line_argument=yes
   13507 else
   13508   xorg_cv_cc_flag_unused_command_line_argument=no
   13509 fi
   13510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13511 fi
   13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13513 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13514 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13515 	CFLAGS="$xorg_testset_save_CFLAGS"
   13516 fi
   13517 
   13518 found="no"
   13519 
   13520 	if test $found = "no" ; then
   13521 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13522 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13523 		fi
   13524 
   13525 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13526 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13527 		fi
   13528 
   13529 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13530 
   13531 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13532 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13533 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13534 		if eval \${$cacheid+:} false; then :
   13535   $as_echo_n "(cached) " >&6
   13536 else
   13537   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13538 /* end confdefs.h.  */
   13539 int i;
   13540 int
   13541 main ()
   13542 {
   13543 
   13544   ;
   13545   return 0;
   13546 }
   13547 _ACEOF
   13548 if ac_fn_c_try_link "$LINENO"; then :
   13549   eval $cacheid=yes
   13550 else
   13551   eval $cacheid=no
   13552 fi
   13553 rm -f core conftest.err conftest.$ac_objext \
   13554     conftest$ac_exeext conftest.$ac_ext
   13555 fi
   13556 
   13557 
   13558 		CFLAGS="$xorg_testset_save_CFLAGS"
   13559 
   13560 		eval supported=\$$cacheid
   13561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13562 $as_echo "$supported" >&6; }
   13563 		if test "$supported" = "yes" ; then
   13564 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13565 			found="yes"
   13566 		fi
   13567 	fi
   13568 
   13569 
   13570 
   13571 
   13572 
   13573 
   13574 
   13575 
   13576 
   13577 
   13578 
   13579 
   13580 
   13581 
   13582 
   13583 xorg_testset_save_CFLAGS="$CFLAGS"
   13584 
   13585 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13586 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13587 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13588 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13589 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13590   $as_echo_n "(cached) " >&6
   13591 else
   13592   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13593 /* end confdefs.h.  */
   13594 int i;
   13595 _ACEOF
   13596 if ac_fn_c_try_compile "$LINENO"; then :
   13597   xorg_cv_cc_flag_unknown_warning_option=yes
   13598 else
   13599   xorg_cv_cc_flag_unknown_warning_option=no
   13600 fi
   13601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13602 fi
   13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13604 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13605 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13606 	CFLAGS="$xorg_testset_save_CFLAGS"
   13607 fi
   13608 
   13609 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13610 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13611 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13612 	fi
   13613 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13615 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13616 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13617   $as_echo_n "(cached) " >&6
   13618 else
   13619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13620 /* end confdefs.h.  */
   13621 int i;
   13622 _ACEOF
   13623 if ac_fn_c_try_compile "$LINENO"; then :
   13624   xorg_cv_cc_flag_unused_command_line_argument=yes
   13625 else
   13626   xorg_cv_cc_flag_unused_command_line_argument=no
   13627 fi
   13628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13629 fi
   13630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13631 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13632 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13633 	CFLAGS="$xorg_testset_save_CFLAGS"
   13634 fi
   13635 
   13636 found="no"
   13637 
   13638 	if test $found = "no" ; then
   13639 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13640 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13641 		fi
   13642 
   13643 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13644 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13645 		fi
   13646 
   13647 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13648 
   13649 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13650 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13651 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13652 		if eval \${$cacheid+:} false; then :
   13653   $as_echo_n "(cached) " >&6
   13654 else
   13655   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13656 /* end confdefs.h.  */
   13657 int i;
   13658 int
   13659 main ()
   13660 {
   13661 
   13662   ;
   13663   return 0;
   13664 }
   13665 _ACEOF
   13666 if ac_fn_c_try_link "$LINENO"; then :
   13667   eval $cacheid=yes
   13668 else
   13669   eval $cacheid=no
   13670 fi
   13671 rm -f core conftest.err conftest.$ac_objext \
   13672     conftest$ac_exeext conftest.$ac_ext
   13673 fi
   13674 
   13675 
   13676 		CFLAGS="$xorg_testset_save_CFLAGS"
   13677 
   13678 		eval supported=\$$cacheid
   13679 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13680 $as_echo "$supported" >&6; }
   13681 		if test "$supported" = "yes" ; then
   13682 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13683 			found="yes"
   13684 		fi
   13685 	fi
   13686 
   13687 
   13688 
   13689 
   13690 
   13691 
   13692 
   13693 
   13694 
   13695 
   13696 
   13697 
   13698 
   13699 
   13700 
   13701 xorg_testset_save_CFLAGS="$CFLAGS"
   13702 
   13703 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13704 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13705 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13706 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13707 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13708   $as_echo_n "(cached) " >&6
   13709 else
   13710   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13711 /* end confdefs.h.  */
   13712 int i;
   13713 _ACEOF
   13714 if ac_fn_c_try_compile "$LINENO"; then :
   13715   xorg_cv_cc_flag_unknown_warning_option=yes
   13716 else
   13717   xorg_cv_cc_flag_unknown_warning_option=no
   13718 fi
   13719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13720 fi
   13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13722 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13723 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13724 	CFLAGS="$xorg_testset_save_CFLAGS"
   13725 fi
   13726 
   13727 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13728 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13729 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13730 	fi
   13731 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13732 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13733 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13734 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13735   $as_echo_n "(cached) " >&6
   13736 else
   13737   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13738 /* end confdefs.h.  */
   13739 int i;
   13740 _ACEOF
   13741 if ac_fn_c_try_compile "$LINENO"; then :
   13742   xorg_cv_cc_flag_unused_command_line_argument=yes
   13743 else
   13744   xorg_cv_cc_flag_unused_command_line_argument=no
   13745 fi
   13746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13747 fi
   13748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13749 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13750 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13751 	CFLAGS="$xorg_testset_save_CFLAGS"
   13752 fi
   13753 
   13754 found="no"
   13755 
   13756 	if test $found = "no" ; then
   13757 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13758 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13759 		fi
   13760 
   13761 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13762 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13763 		fi
   13764 
   13765 		CFLAGS="$CFLAGS -Wredundant-decls"
   13766 
   13767 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13768 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13769 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13770 		if eval \${$cacheid+:} false; then :
   13771   $as_echo_n "(cached) " >&6
   13772 else
   13773   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13774 /* end confdefs.h.  */
   13775 int i;
   13776 int
   13777 main ()
   13778 {
   13779 
   13780   ;
   13781   return 0;
   13782 }
   13783 _ACEOF
   13784 if ac_fn_c_try_link "$LINENO"; then :
   13785   eval $cacheid=yes
   13786 else
   13787   eval $cacheid=no
   13788 fi
   13789 rm -f core conftest.err conftest.$ac_objext \
   13790     conftest$ac_exeext conftest.$ac_ext
   13791 fi
   13792 
   13793 
   13794 		CFLAGS="$xorg_testset_save_CFLAGS"
   13795 
   13796 		eval supported=\$$cacheid
   13797 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13798 $as_echo "$supported" >&6; }
   13799 		if test "$supported" = "yes" ; then
   13800 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13801 			found="yes"
   13802 		fi
   13803 	fi
   13804 
   13805 
   13806 
   13807 
   13808 
   13809 
   13810 
   13811 
   13812 
   13813 
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 xorg_testset_save_CFLAGS="$CFLAGS"
   13820 
   13821 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13822 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13823 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13824 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13825 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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 _ACEOF
   13832 if ac_fn_c_try_compile "$LINENO"; then :
   13833   xorg_cv_cc_flag_unknown_warning_option=yes
   13834 else
   13835   xorg_cv_cc_flag_unknown_warning_option=no
   13836 fi
   13837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13838 fi
   13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13840 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13841 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13842 	CFLAGS="$xorg_testset_save_CFLAGS"
   13843 fi
   13844 
   13845 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13846 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13847 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13848 	fi
   13849 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13850 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13851 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13852 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13853   $as_echo_n "(cached) " >&6
   13854 else
   13855   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13856 /* end confdefs.h.  */
   13857 int i;
   13858 _ACEOF
   13859 if ac_fn_c_try_compile "$LINENO"; then :
   13860   xorg_cv_cc_flag_unused_command_line_argument=yes
   13861 else
   13862   xorg_cv_cc_flag_unused_command_line_argument=no
   13863 fi
   13864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13865 fi
   13866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13867 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13868 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13869 	CFLAGS="$xorg_testset_save_CFLAGS"
   13870 fi
   13871 
   13872 found="no"
   13873 
   13874 	if test $found = "no" ; then
   13875 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13876 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13877 		fi
   13878 
   13879 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13880 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13881 		fi
   13882 
   13883 		CFLAGS="$CFLAGS -Wlogical-op"
   13884 
   13885 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   13886 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   13887 		cacheid=xorg_cv_cc_flag__Wlogical_op
   13888 		if eval \${$cacheid+:} false; then :
   13889   $as_echo_n "(cached) " >&6
   13890 else
   13891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13892 /* end confdefs.h.  */
   13893 int i;
   13894 int
   13895 main ()
   13896 {
   13897 
   13898   ;
   13899   return 0;
   13900 }
   13901 _ACEOF
   13902 if ac_fn_c_try_link "$LINENO"; then :
   13903   eval $cacheid=yes
   13904 else
   13905   eval $cacheid=no
   13906 fi
   13907 rm -f core conftest.err conftest.$ac_objext \
   13908     conftest$ac_exeext conftest.$ac_ext
   13909 fi
   13910 
   13911 
   13912 		CFLAGS="$xorg_testset_save_CFLAGS"
   13913 
   13914 		eval supported=\$$cacheid
   13915 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13916 $as_echo "$supported" >&6; }
   13917 		if test "$supported" = "yes" ; then
   13918 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   13919 			found="yes"
   13920 		fi
   13921 	fi
   13922 
   13923 
   13924 
   13925 # These are currently disabled because they are noisy.  They will be enabled
   13926 # in the future once the codebase is sufficiently modernized to silence
   13927 # them.  For now, I don't want them to drown out the other warnings.
   13928 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13929 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13930 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   13931 
   13932 # Turn some warnings into errors, so we don't accidently get successful builds
   13933 # when there are problems that should be fixed.
   13934 
   13935 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13936 
   13937 
   13938 
   13939 
   13940 
   13941 
   13942 
   13943 
   13944 
   13945 
   13946 
   13947 
   13948 
   13949 xorg_testset_save_CFLAGS="$CFLAGS"
   13950 
   13951 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13952 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13953 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13954 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13955 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13956   $as_echo_n "(cached) " >&6
   13957 else
   13958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13959 /* end confdefs.h.  */
   13960 int i;
   13961 _ACEOF
   13962 if ac_fn_c_try_compile "$LINENO"; then :
   13963   xorg_cv_cc_flag_unknown_warning_option=yes
   13964 else
   13965   xorg_cv_cc_flag_unknown_warning_option=no
   13966 fi
   13967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13968 fi
   13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13970 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13971 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13972 	CFLAGS="$xorg_testset_save_CFLAGS"
   13973 fi
   13974 
   13975 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13976 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13977 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13978 	fi
   13979 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13981 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13982 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13983   $as_echo_n "(cached) " >&6
   13984 else
   13985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13986 /* end confdefs.h.  */
   13987 int i;
   13988 _ACEOF
   13989 if ac_fn_c_try_compile "$LINENO"; then :
   13990   xorg_cv_cc_flag_unused_command_line_argument=yes
   13991 else
   13992   xorg_cv_cc_flag_unused_command_line_argument=no
   13993 fi
   13994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13995 fi
   13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13997 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13998 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13999 	CFLAGS="$xorg_testset_save_CFLAGS"
   14000 fi
   14001 
   14002 found="no"
   14003 
   14004 	if test $found = "no" ; then
   14005 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14006 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14007 		fi
   14008 
   14009 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14010 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14011 		fi
   14012 
   14013 		CFLAGS="$CFLAGS -Werror=implicit"
   14014 
   14015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14016 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14017 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14018 		if eval \${$cacheid+:} false; then :
   14019   $as_echo_n "(cached) " >&6
   14020 else
   14021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14022 /* end confdefs.h.  */
   14023 int i;
   14024 int
   14025 main ()
   14026 {
   14027 
   14028   ;
   14029   return 0;
   14030 }
   14031 _ACEOF
   14032 if ac_fn_c_try_link "$LINENO"; then :
   14033   eval $cacheid=yes
   14034 else
   14035   eval $cacheid=no
   14036 fi
   14037 rm -f core conftest.err conftest.$ac_objext \
   14038     conftest$ac_exeext conftest.$ac_ext
   14039 fi
   14040 
   14041 
   14042 		CFLAGS="$xorg_testset_save_CFLAGS"
   14043 
   14044 		eval supported=\$$cacheid
   14045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14046 $as_echo "$supported" >&6; }
   14047 		if test "$supported" = "yes" ; then
   14048 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14049 			found="yes"
   14050 		fi
   14051 	fi
   14052 
   14053 	if test $found = "no" ; then
   14054 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14055 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14056 		fi
   14057 
   14058 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14059 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14060 		fi
   14061 
   14062 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14063 
   14064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14065 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14066 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14067 		if eval \${$cacheid+:} false; then :
   14068   $as_echo_n "(cached) " >&6
   14069 else
   14070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14071 /* end confdefs.h.  */
   14072 int i;
   14073 int
   14074 main ()
   14075 {
   14076 
   14077   ;
   14078   return 0;
   14079 }
   14080 _ACEOF
   14081 if ac_fn_c_try_link "$LINENO"; then :
   14082   eval $cacheid=yes
   14083 else
   14084   eval $cacheid=no
   14085 fi
   14086 rm -f core conftest.err conftest.$ac_objext \
   14087     conftest$ac_exeext conftest.$ac_ext
   14088 fi
   14089 
   14090 
   14091 		CFLAGS="$xorg_testset_save_CFLAGS"
   14092 
   14093 		eval supported=\$$cacheid
   14094 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14095 $as_echo "$supported" >&6; }
   14096 		if test "$supported" = "yes" ; then
   14097 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14098 			found="yes"
   14099 		fi
   14100 	fi
   14101 
   14102 
   14103 
   14104 
   14105 
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 xorg_testset_save_CFLAGS="$CFLAGS"
   14117 
   14118 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14119 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14120 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14121 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14122 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14123   $as_echo_n "(cached) " >&6
   14124 else
   14125   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14126 /* end confdefs.h.  */
   14127 int i;
   14128 _ACEOF
   14129 if ac_fn_c_try_compile "$LINENO"; then :
   14130   xorg_cv_cc_flag_unknown_warning_option=yes
   14131 else
   14132   xorg_cv_cc_flag_unknown_warning_option=no
   14133 fi
   14134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14135 fi
   14136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14137 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14138 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14139 	CFLAGS="$xorg_testset_save_CFLAGS"
   14140 fi
   14141 
   14142 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14143 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14144 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14145 	fi
   14146 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14147 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14148 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14149 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14150   $as_echo_n "(cached) " >&6
   14151 else
   14152   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14153 /* end confdefs.h.  */
   14154 int i;
   14155 _ACEOF
   14156 if ac_fn_c_try_compile "$LINENO"; then :
   14157   xorg_cv_cc_flag_unused_command_line_argument=yes
   14158 else
   14159   xorg_cv_cc_flag_unused_command_line_argument=no
   14160 fi
   14161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14162 fi
   14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14164 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14165 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14166 	CFLAGS="$xorg_testset_save_CFLAGS"
   14167 fi
   14168 
   14169 found="no"
   14170 
   14171 	if test $found = "no" ; then
   14172 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14173 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14174 		fi
   14175 
   14176 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14177 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14178 		fi
   14179 
   14180 		CFLAGS="$CFLAGS -Werror=nonnull"
   14181 
   14182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14183 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14184 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14185 		if eval \${$cacheid+:} false; then :
   14186   $as_echo_n "(cached) " >&6
   14187 else
   14188   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14189 /* end confdefs.h.  */
   14190 int i;
   14191 int
   14192 main ()
   14193 {
   14194 
   14195   ;
   14196   return 0;
   14197 }
   14198 _ACEOF
   14199 if ac_fn_c_try_link "$LINENO"; then :
   14200   eval $cacheid=yes
   14201 else
   14202   eval $cacheid=no
   14203 fi
   14204 rm -f core conftest.err conftest.$ac_objext \
   14205     conftest$ac_exeext conftest.$ac_ext
   14206 fi
   14207 
   14208 
   14209 		CFLAGS="$xorg_testset_save_CFLAGS"
   14210 
   14211 		eval supported=\$$cacheid
   14212 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14213 $as_echo "$supported" >&6; }
   14214 		if test "$supported" = "yes" ; then
   14215 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14216 			found="yes"
   14217 		fi
   14218 	fi
   14219 
   14220 
   14221 
   14222 
   14223 
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 xorg_testset_save_CFLAGS="$CFLAGS"
   14235 
   14236 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14237 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14239 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14240 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14241   $as_echo_n "(cached) " >&6
   14242 else
   14243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14244 /* end confdefs.h.  */
   14245 int i;
   14246 _ACEOF
   14247 if ac_fn_c_try_compile "$LINENO"; then :
   14248   xorg_cv_cc_flag_unknown_warning_option=yes
   14249 else
   14250   xorg_cv_cc_flag_unknown_warning_option=no
   14251 fi
   14252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14253 fi
   14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14255 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14256 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14257 	CFLAGS="$xorg_testset_save_CFLAGS"
   14258 fi
   14259 
   14260 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14261 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14262 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14263 	fi
   14264 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14265 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14266 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14267 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14268   $as_echo_n "(cached) " >&6
   14269 else
   14270   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14271 /* end confdefs.h.  */
   14272 int i;
   14273 _ACEOF
   14274 if ac_fn_c_try_compile "$LINENO"; then :
   14275   xorg_cv_cc_flag_unused_command_line_argument=yes
   14276 else
   14277   xorg_cv_cc_flag_unused_command_line_argument=no
   14278 fi
   14279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14280 fi
   14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14282 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14283 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14284 	CFLAGS="$xorg_testset_save_CFLAGS"
   14285 fi
   14286 
   14287 found="no"
   14288 
   14289 	if test $found = "no" ; then
   14290 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14291 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14292 		fi
   14293 
   14294 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14295 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14296 		fi
   14297 
   14298 		CFLAGS="$CFLAGS -Werror=init-self"
   14299 
   14300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14301 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14302 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14303 		if eval \${$cacheid+:} false; then :
   14304   $as_echo_n "(cached) " >&6
   14305 else
   14306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14307 /* end confdefs.h.  */
   14308 int i;
   14309 int
   14310 main ()
   14311 {
   14312 
   14313   ;
   14314   return 0;
   14315 }
   14316 _ACEOF
   14317 if ac_fn_c_try_link "$LINENO"; then :
   14318   eval $cacheid=yes
   14319 else
   14320   eval $cacheid=no
   14321 fi
   14322 rm -f core conftest.err conftest.$ac_objext \
   14323     conftest$ac_exeext conftest.$ac_ext
   14324 fi
   14325 
   14326 
   14327 		CFLAGS="$xorg_testset_save_CFLAGS"
   14328 
   14329 		eval supported=\$$cacheid
   14330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14331 $as_echo "$supported" >&6; }
   14332 		if test "$supported" = "yes" ; then
   14333 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14334 			found="yes"
   14335 		fi
   14336 	fi
   14337 
   14338 
   14339 
   14340 
   14341 
   14342 
   14343 
   14344 
   14345 
   14346 
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 xorg_testset_save_CFLAGS="$CFLAGS"
   14353 
   14354 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14355 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14357 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14358 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14359   $as_echo_n "(cached) " >&6
   14360 else
   14361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14362 /* end confdefs.h.  */
   14363 int i;
   14364 _ACEOF
   14365 if ac_fn_c_try_compile "$LINENO"; then :
   14366   xorg_cv_cc_flag_unknown_warning_option=yes
   14367 else
   14368   xorg_cv_cc_flag_unknown_warning_option=no
   14369 fi
   14370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14371 fi
   14372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14373 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14374 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14375 	CFLAGS="$xorg_testset_save_CFLAGS"
   14376 fi
   14377 
   14378 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14379 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14380 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14381 	fi
   14382 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14383 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14384 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14385 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14386   $as_echo_n "(cached) " >&6
   14387 else
   14388   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14389 /* end confdefs.h.  */
   14390 int i;
   14391 _ACEOF
   14392 if ac_fn_c_try_compile "$LINENO"; then :
   14393   xorg_cv_cc_flag_unused_command_line_argument=yes
   14394 else
   14395   xorg_cv_cc_flag_unused_command_line_argument=no
   14396 fi
   14397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14398 fi
   14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14400 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14401 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14402 	CFLAGS="$xorg_testset_save_CFLAGS"
   14403 fi
   14404 
   14405 found="no"
   14406 
   14407 	if test $found = "no" ; then
   14408 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14409 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14410 		fi
   14411 
   14412 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14413 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14414 		fi
   14415 
   14416 		CFLAGS="$CFLAGS -Werror=main"
   14417 
   14418 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14419 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14420 		cacheid=xorg_cv_cc_flag__Werror_main
   14421 		if eval \${$cacheid+:} false; then :
   14422   $as_echo_n "(cached) " >&6
   14423 else
   14424   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14425 /* end confdefs.h.  */
   14426 int i;
   14427 int
   14428 main ()
   14429 {
   14430 
   14431   ;
   14432   return 0;
   14433 }
   14434 _ACEOF
   14435 if ac_fn_c_try_link "$LINENO"; then :
   14436   eval $cacheid=yes
   14437 else
   14438   eval $cacheid=no
   14439 fi
   14440 rm -f core conftest.err conftest.$ac_objext \
   14441     conftest$ac_exeext conftest.$ac_ext
   14442 fi
   14443 
   14444 
   14445 		CFLAGS="$xorg_testset_save_CFLAGS"
   14446 
   14447 		eval supported=\$$cacheid
   14448 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14449 $as_echo "$supported" >&6; }
   14450 		if test "$supported" = "yes" ; then
   14451 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14452 			found="yes"
   14453 		fi
   14454 	fi
   14455 
   14456 
   14457 
   14458 
   14459 
   14460 
   14461 
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 
   14470 xorg_testset_save_CFLAGS="$CFLAGS"
   14471 
   14472 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14473 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14474 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14475 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14476 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14477   $as_echo_n "(cached) " >&6
   14478 else
   14479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14480 /* end confdefs.h.  */
   14481 int i;
   14482 _ACEOF
   14483 if ac_fn_c_try_compile "$LINENO"; then :
   14484   xorg_cv_cc_flag_unknown_warning_option=yes
   14485 else
   14486   xorg_cv_cc_flag_unknown_warning_option=no
   14487 fi
   14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14489 fi
   14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14491 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14492 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14493 	CFLAGS="$xorg_testset_save_CFLAGS"
   14494 fi
   14495 
   14496 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14497 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14498 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14499 	fi
   14500 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14501 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14502 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14503 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14504   $as_echo_n "(cached) " >&6
   14505 else
   14506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14507 /* end confdefs.h.  */
   14508 int i;
   14509 _ACEOF
   14510 if ac_fn_c_try_compile "$LINENO"; then :
   14511   xorg_cv_cc_flag_unused_command_line_argument=yes
   14512 else
   14513   xorg_cv_cc_flag_unused_command_line_argument=no
   14514 fi
   14515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14516 fi
   14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14518 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14519 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14520 	CFLAGS="$xorg_testset_save_CFLAGS"
   14521 fi
   14522 
   14523 found="no"
   14524 
   14525 	if test $found = "no" ; then
   14526 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14527 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14528 		fi
   14529 
   14530 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14531 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14532 		fi
   14533 
   14534 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14535 
   14536 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14537 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14538 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14539 		if eval \${$cacheid+:} false; then :
   14540   $as_echo_n "(cached) " >&6
   14541 else
   14542   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14543 /* end confdefs.h.  */
   14544 int i;
   14545 int
   14546 main ()
   14547 {
   14548 
   14549   ;
   14550   return 0;
   14551 }
   14552 _ACEOF
   14553 if ac_fn_c_try_link "$LINENO"; then :
   14554   eval $cacheid=yes
   14555 else
   14556   eval $cacheid=no
   14557 fi
   14558 rm -f core conftest.err conftest.$ac_objext \
   14559     conftest$ac_exeext conftest.$ac_ext
   14560 fi
   14561 
   14562 
   14563 		CFLAGS="$xorg_testset_save_CFLAGS"
   14564 
   14565 		eval supported=\$$cacheid
   14566 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14567 $as_echo "$supported" >&6; }
   14568 		if test "$supported" = "yes" ; then
   14569 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14570 			found="yes"
   14571 		fi
   14572 	fi
   14573 
   14574 
   14575 
   14576 
   14577 
   14578 
   14579 
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 xorg_testset_save_CFLAGS="$CFLAGS"
   14589 
   14590 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14591 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14593 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14594 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14595   $as_echo_n "(cached) " >&6
   14596 else
   14597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14598 /* end confdefs.h.  */
   14599 int i;
   14600 _ACEOF
   14601 if ac_fn_c_try_compile "$LINENO"; then :
   14602   xorg_cv_cc_flag_unknown_warning_option=yes
   14603 else
   14604   xorg_cv_cc_flag_unknown_warning_option=no
   14605 fi
   14606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14607 fi
   14608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14609 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14610 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14611 	CFLAGS="$xorg_testset_save_CFLAGS"
   14612 fi
   14613 
   14614 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14615 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14616 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14617 	fi
   14618 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14619 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14620 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14621 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14622   $as_echo_n "(cached) " >&6
   14623 else
   14624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14625 /* end confdefs.h.  */
   14626 int i;
   14627 _ACEOF
   14628 if ac_fn_c_try_compile "$LINENO"; then :
   14629   xorg_cv_cc_flag_unused_command_line_argument=yes
   14630 else
   14631   xorg_cv_cc_flag_unused_command_line_argument=no
   14632 fi
   14633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14634 fi
   14635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14636 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14637 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14638 	CFLAGS="$xorg_testset_save_CFLAGS"
   14639 fi
   14640 
   14641 found="no"
   14642 
   14643 	if test $found = "no" ; then
   14644 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14645 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14646 		fi
   14647 
   14648 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14649 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14650 		fi
   14651 
   14652 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14653 
   14654 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14655 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14656 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14657 		if eval \${$cacheid+:} false; then :
   14658   $as_echo_n "(cached) " >&6
   14659 else
   14660   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14661 /* end confdefs.h.  */
   14662 int i;
   14663 int
   14664 main ()
   14665 {
   14666 
   14667   ;
   14668   return 0;
   14669 }
   14670 _ACEOF
   14671 if ac_fn_c_try_link "$LINENO"; then :
   14672   eval $cacheid=yes
   14673 else
   14674   eval $cacheid=no
   14675 fi
   14676 rm -f core conftest.err conftest.$ac_objext \
   14677     conftest$ac_exeext conftest.$ac_ext
   14678 fi
   14679 
   14680 
   14681 		CFLAGS="$xorg_testset_save_CFLAGS"
   14682 
   14683 		eval supported=\$$cacheid
   14684 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14685 $as_echo "$supported" >&6; }
   14686 		if test "$supported" = "yes" ; then
   14687 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14688 			found="yes"
   14689 		fi
   14690 	fi
   14691 
   14692 
   14693 
   14694 
   14695 
   14696 
   14697 
   14698 
   14699 
   14700 
   14701 
   14702 
   14703 
   14704 
   14705 
   14706 xorg_testset_save_CFLAGS="$CFLAGS"
   14707 
   14708 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14709 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14710 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14711 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14712 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14713   $as_echo_n "(cached) " >&6
   14714 else
   14715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14716 /* end confdefs.h.  */
   14717 int i;
   14718 _ACEOF
   14719 if ac_fn_c_try_compile "$LINENO"; then :
   14720   xorg_cv_cc_flag_unknown_warning_option=yes
   14721 else
   14722   xorg_cv_cc_flag_unknown_warning_option=no
   14723 fi
   14724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14725 fi
   14726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14727 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14728 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14729 	CFLAGS="$xorg_testset_save_CFLAGS"
   14730 fi
   14731 
   14732 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14733 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14734 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14735 	fi
   14736 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14737 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14738 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14739 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14740   $as_echo_n "(cached) " >&6
   14741 else
   14742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14743 /* end confdefs.h.  */
   14744 int i;
   14745 _ACEOF
   14746 if ac_fn_c_try_compile "$LINENO"; then :
   14747   xorg_cv_cc_flag_unused_command_line_argument=yes
   14748 else
   14749   xorg_cv_cc_flag_unused_command_line_argument=no
   14750 fi
   14751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14752 fi
   14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14754 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14755 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14756 	CFLAGS="$xorg_testset_save_CFLAGS"
   14757 fi
   14758 
   14759 found="no"
   14760 
   14761 	if test $found = "no" ; then
   14762 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14763 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14764 		fi
   14765 
   14766 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14767 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14768 		fi
   14769 
   14770 		CFLAGS="$CFLAGS -Werror=return-type"
   14771 
   14772 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14773 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14774 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14775 		if eval \${$cacheid+:} false; then :
   14776   $as_echo_n "(cached) " >&6
   14777 else
   14778   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14779 /* end confdefs.h.  */
   14780 int i;
   14781 int
   14782 main ()
   14783 {
   14784 
   14785   ;
   14786   return 0;
   14787 }
   14788 _ACEOF
   14789 if ac_fn_c_try_link "$LINENO"; then :
   14790   eval $cacheid=yes
   14791 else
   14792   eval $cacheid=no
   14793 fi
   14794 rm -f core conftest.err conftest.$ac_objext \
   14795     conftest$ac_exeext conftest.$ac_ext
   14796 fi
   14797 
   14798 
   14799 		CFLAGS="$xorg_testset_save_CFLAGS"
   14800 
   14801 		eval supported=\$$cacheid
   14802 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14803 $as_echo "$supported" >&6; }
   14804 		if test "$supported" = "yes" ; then
   14805 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14806 			found="yes"
   14807 		fi
   14808 	fi
   14809 
   14810 	if test $found = "no" ; then
   14811 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14812 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14813 		fi
   14814 
   14815 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14816 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14817 		fi
   14818 
   14819 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14820 
   14821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14822 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14823 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14824 		if eval \${$cacheid+:} false; then :
   14825   $as_echo_n "(cached) " >&6
   14826 else
   14827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14828 /* end confdefs.h.  */
   14829 int i;
   14830 int
   14831 main ()
   14832 {
   14833 
   14834   ;
   14835   return 0;
   14836 }
   14837 _ACEOF
   14838 if ac_fn_c_try_link "$LINENO"; then :
   14839   eval $cacheid=yes
   14840 else
   14841   eval $cacheid=no
   14842 fi
   14843 rm -f core conftest.err conftest.$ac_objext \
   14844     conftest$ac_exeext conftest.$ac_ext
   14845 fi
   14846 
   14847 
   14848 		CFLAGS="$xorg_testset_save_CFLAGS"
   14849 
   14850 		eval supported=\$$cacheid
   14851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14852 $as_echo "$supported" >&6; }
   14853 		if test "$supported" = "yes" ; then
   14854 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14855 			found="yes"
   14856 		fi
   14857 	fi
   14858 
   14859 
   14860 
   14861 
   14862 
   14863 
   14864 
   14865 
   14866 
   14867 
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 xorg_testset_save_CFLAGS="$CFLAGS"
   14874 
   14875 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14876 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14877 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14878 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14879 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14880   $as_echo_n "(cached) " >&6
   14881 else
   14882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14883 /* end confdefs.h.  */
   14884 int i;
   14885 _ACEOF
   14886 if ac_fn_c_try_compile "$LINENO"; then :
   14887   xorg_cv_cc_flag_unknown_warning_option=yes
   14888 else
   14889   xorg_cv_cc_flag_unknown_warning_option=no
   14890 fi
   14891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14892 fi
   14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14894 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14895 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14896 	CFLAGS="$xorg_testset_save_CFLAGS"
   14897 fi
   14898 
   14899 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14900 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14901 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14902 	fi
   14903 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14904 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14905 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14906 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14907   $as_echo_n "(cached) " >&6
   14908 else
   14909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14910 /* end confdefs.h.  */
   14911 int i;
   14912 _ACEOF
   14913 if ac_fn_c_try_compile "$LINENO"; then :
   14914   xorg_cv_cc_flag_unused_command_line_argument=yes
   14915 else
   14916   xorg_cv_cc_flag_unused_command_line_argument=no
   14917 fi
   14918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14919 fi
   14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14921 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14922 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14923 	CFLAGS="$xorg_testset_save_CFLAGS"
   14924 fi
   14925 
   14926 found="no"
   14927 
   14928 	if test $found = "no" ; then
   14929 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14930 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14931 		fi
   14932 
   14933 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14934 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14935 		fi
   14936 
   14937 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14938 
   14939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14940 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14941 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   14942 		if eval \${$cacheid+:} false; then :
   14943   $as_echo_n "(cached) " >&6
   14944 else
   14945   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14946 /* end confdefs.h.  */
   14947 int i;
   14948 int
   14949 main ()
   14950 {
   14951 
   14952   ;
   14953   return 0;
   14954 }
   14955 _ACEOF
   14956 if ac_fn_c_try_link "$LINENO"; then :
   14957   eval $cacheid=yes
   14958 else
   14959   eval $cacheid=no
   14960 fi
   14961 rm -f core conftest.err conftest.$ac_objext \
   14962     conftest$ac_exeext conftest.$ac_ext
   14963 fi
   14964 
   14965 
   14966 		CFLAGS="$xorg_testset_save_CFLAGS"
   14967 
   14968 		eval supported=\$$cacheid
   14969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14970 $as_echo "$supported" >&6; }
   14971 		if test "$supported" = "yes" ; then
   14972 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14973 			found="yes"
   14974 		fi
   14975 	fi
   14976 
   14977 
   14978 
   14979 
   14980 
   14981 
   14982 
   14983 
   14984 
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 xorg_testset_save_CFLAGS="$CFLAGS"
   14992 
   14993 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14994 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14995 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14996 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14997 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14998   $as_echo_n "(cached) " >&6
   14999 else
   15000   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15001 /* end confdefs.h.  */
   15002 int i;
   15003 _ACEOF
   15004 if ac_fn_c_try_compile "$LINENO"; then :
   15005   xorg_cv_cc_flag_unknown_warning_option=yes
   15006 else
   15007   xorg_cv_cc_flag_unknown_warning_option=no
   15008 fi
   15009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15010 fi
   15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15012 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15013 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15014 	CFLAGS="$xorg_testset_save_CFLAGS"
   15015 fi
   15016 
   15017 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15018 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15019 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15020 	fi
   15021 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15022 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15023 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15024 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15025   $as_echo_n "(cached) " >&6
   15026 else
   15027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15028 /* end confdefs.h.  */
   15029 int i;
   15030 _ACEOF
   15031 if ac_fn_c_try_compile "$LINENO"; then :
   15032   xorg_cv_cc_flag_unused_command_line_argument=yes
   15033 else
   15034   xorg_cv_cc_flag_unused_command_line_argument=no
   15035 fi
   15036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15037 fi
   15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15039 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15040 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15041 	CFLAGS="$xorg_testset_save_CFLAGS"
   15042 fi
   15043 
   15044 found="no"
   15045 
   15046 	if test $found = "no" ; then
   15047 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15048 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15049 		fi
   15050 
   15051 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15052 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15053 		fi
   15054 
   15055 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15056 
   15057 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15058 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15059 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15060 		if eval \${$cacheid+:} false; then :
   15061   $as_echo_n "(cached) " >&6
   15062 else
   15063   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15064 /* end confdefs.h.  */
   15065 int i;
   15066 int
   15067 main ()
   15068 {
   15069 
   15070   ;
   15071   return 0;
   15072 }
   15073 _ACEOF
   15074 if ac_fn_c_try_link "$LINENO"; then :
   15075   eval $cacheid=yes
   15076 else
   15077   eval $cacheid=no
   15078 fi
   15079 rm -f core conftest.err conftest.$ac_objext \
   15080     conftest$ac_exeext conftest.$ac_ext
   15081 fi
   15082 
   15083 
   15084 		CFLAGS="$xorg_testset_save_CFLAGS"
   15085 
   15086 		eval supported=\$$cacheid
   15087 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15088 $as_echo "$supported" >&6; }
   15089 		if test "$supported" = "yes" ; then
   15090 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15091 			found="yes"
   15092 		fi
   15093 	fi
   15094 
   15095 
   15096 
   15097 
   15098 
   15099 
   15100 
   15101 
   15102 
   15103 
   15104 
   15105 
   15106 
   15107 
   15108 
   15109 xorg_testset_save_CFLAGS="$CFLAGS"
   15110 
   15111 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15112 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15113 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15114 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15115 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15116   $as_echo_n "(cached) " >&6
   15117 else
   15118   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15119 /* end confdefs.h.  */
   15120 int i;
   15121 _ACEOF
   15122 if ac_fn_c_try_compile "$LINENO"; then :
   15123   xorg_cv_cc_flag_unknown_warning_option=yes
   15124 else
   15125   xorg_cv_cc_flag_unknown_warning_option=no
   15126 fi
   15127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15128 fi
   15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15130 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15131 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15132 	CFLAGS="$xorg_testset_save_CFLAGS"
   15133 fi
   15134 
   15135 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15136 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15137 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15138 	fi
   15139 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15140 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15141 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15142 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15143   $as_echo_n "(cached) " >&6
   15144 else
   15145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15146 /* end confdefs.h.  */
   15147 int i;
   15148 _ACEOF
   15149 if ac_fn_c_try_compile "$LINENO"; then :
   15150   xorg_cv_cc_flag_unused_command_line_argument=yes
   15151 else
   15152   xorg_cv_cc_flag_unused_command_line_argument=no
   15153 fi
   15154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15155 fi
   15156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15157 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15158 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15159 	CFLAGS="$xorg_testset_save_CFLAGS"
   15160 fi
   15161 
   15162 found="no"
   15163 
   15164 	if test $found = "no" ; then
   15165 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15166 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15167 		fi
   15168 
   15169 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15170 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15171 		fi
   15172 
   15173 		CFLAGS="$CFLAGS -Werror=write-strings"
   15174 
   15175 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15176 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15177 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15178 		if eval \${$cacheid+:} false; then :
   15179   $as_echo_n "(cached) " >&6
   15180 else
   15181   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15182 /* end confdefs.h.  */
   15183 int i;
   15184 int
   15185 main ()
   15186 {
   15187 
   15188   ;
   15189   return 0;
   15190 }
   15191 _ACEOF
   15192 if ac_fn_c_try_link "$LINENO"; then :
   15193   eval $cacheid=yes
   15194 else
   15195   eval $cacheid=no
   15196 fi
   15197 rm -f core conftest.err conftest.$ac_objext \
   15198     conftest$ac_exeext conftest.$ac_ext
   15199 fi
   15200 
   15201 
   15202 		CFLAGS="$xorg_testset_save_CFLAGS"
   15203 
   15204 		eval supported=\$$cacheid
   15205 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15206 $as_echo "$supported" >&6; }
   15207 		if test "$supported" = "yes" ; then
   15208 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15209 			found="yes"
   15210 		fi
   15211 	fi
   15212 
   15213 
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221 
   15222 
   15223 
   15224 
   15225 
   15226 
   15227 xorg_testset_save_CFLAGS="$CFLAGS"
   15228 
   15229 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15230 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15232 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15233 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15234   $as_echo_n "(cached) " >&6
   15235 else
   15236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15237 /* end confdefs.h.  */
   15238 int i;
   15239 _ACEOF
   15240 if ac_fn_c_try_compile "$LINENO"; then :
   15241   xorg_cv_cc_flag_unknown_warning_option=yes
   15242 else
   15243   xorg_cv_cc_flag_unknown_warning_option=no
   15244 fi
   15245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15246 fi
   15247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15248 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15249 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15250 	CFLAGS="$xorg_testset_save_CFLAGS"
   15251 fi
   15252 
   15253 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15254 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15255 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15256 	fi
   15257 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15258 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15259 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15260 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15261   $as_echo_n "(cached) " >&6
   15262 else
   15263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15264 /* end confdefs.h.  */
   15265 int i;
   15266 _ACEOF
   15267 if ac_fn_c_try_compile "$LINENO"; then :
   15268   xorg_cv_cc_flag_unused_command_line_argument=yes
   15269 else
   15270   xorg_cv_cc_flag_unused_command_line_argument=no
   15271 fi
   15272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15273 fi
   15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15275 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15276 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15277 	CFLAGS="$xorg_testset_save_CFLAGS"
   15278 fi
   15279 
   15280 found="no"
   15281 
   15282 	if test $found = "no" ; then
   15283 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15284 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15285 		fi
   15286 
   15287 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15288 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15289 		fi
   15290 
   15291 		CFLAGS="$CFLAGS -Werror=address"
   15292 
   15293 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15294 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15295 		cacheid=xorg_cv_cc_flag__Werror_address
   15296 		if eval \${$cacheid+:} false; then :
   15297   $as_echo_n "(cached) " >&6
   15298 else
   15299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15300 /* end confdefs.h.  */
   15301 int i;
   15302 int
   15303 main ()
   15304 {
   15305 
   15306   ;
   15307   return 0;
   15308 }
   15309 _ACEOF
   15310 if ac_fn_c_try_link "$LINENO"; then :
   15311   eval $cacheid=yes
   15312 else
   15313   eval $cacheid=no
   15314 fi
   15315 rm -f core conftest.err conftest.$ac_objext \
   15316     conftest$ac_exeext conftest.$ac_ext
   15317 fi
   15318 
   15319 
   15320 		CFLAGS="$xorg_testset_save_CFLAGS"
   15321 
   15322 		eval supported=\$$cacheid
   15323 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15324 $as_echo "$supported" >&6; }
   15325 		if test "$supported" = "yes" ; then
   15326 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15327 			found="yes"
   15328 		fi
   15329 	fi
   15330 
   15331 
   15332 
   15333 
   15334 
   15335 
   15336 
   15337 
   15338 
   15339 
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 xorg_testset_save_CFLAGS="$CFLAGS"
   15346 
   15347 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15348 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15350 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15351 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15352   $as_echo_n "(cached) " >&6
   15353 else
   15354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15355 /* end confdefs.h.  */
   15356 int i;
   15357 _ACEOF
   15358 if ac_fn_c_try_compile "$LINENO"; then :
   15359   xorg_cv_cc_flag_unknown_warning_option=yes
   15360 else
   15361   xorg_cv_cc_flag_unknown_warning_option=no
   15362 fi
   15363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15364 fi
   15365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15366 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15367 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15368 	CFLAGS="$xorg_testset_save_CFLAGS"
   15369 fi
   15370 
   15371 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15372 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15373 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15374 	fi
   15375 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15376 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15377 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15378 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15379   $as_echo_n "(cached) " >&6
   15380 else
   15381   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15382 /* end confdefs.h.  */
   15383 int i;
   15384 _ACEOF
   15385 if ac_fn_c_try_compile "$LINENO"; then :
   15386   xorg_cv_cc_flag_unused_command_line_argument=yes
   15387 else
   15388   xorg_cv_cc_flag_unused_command_line_argument=no
   15389 fi
   15390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15391 fi
   15392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15393 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15394 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15395 	CFLAGS="$xorg_testset_save_CFLAGS"
   15396 fi
   15397 
   15398 found="no"
   15399 
   15400 	if test $found = "no" ; then
   15401 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15402 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15403 		fi
   15404 
   15405 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15406 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15407 		fi
   15408 
   15409 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15410 
   15411 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15412 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15413 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15414 		if eval \${$cacheid+:} false; then :
   15415   $as_echo_n "(cached) " >&6
   15416 else
   15417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15418 /* end confdefs.h.  */
   15419 int i;
   15420 int
   15421 main ()
   15422 {
   15423 
   15424   ;
   15425   return 0;
   15426 }
   15427 _ACEOF
   15428 if ac_fn_c_try_link "$LINENO"; then :
   15429   eval $cacheid=yes
   15430 else
   15431   eval $cacheid=no
   15432 fi
   15433 rm -f core conftest.err conftest.$ac_objext \
   15434     conftest$ac_exeext conftest.$ac_ext
   15435 fi
   15436 
   15437 
   15438 		CFLAGS="$xorg_testset_save_CFLAGS"
   15439 
   15440 		eval supported=\$$cacheid
   15441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15442 $as_echo "$supported" >&6; }
   15443 		if test "$supported" = "yes" ; then
   15444 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15445 			found="yes"
   15446 		fi
   15447 	fi
   15448 
   15449 	if test $found = "no" ; then
   15450 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15451 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15452 		fi
   15453 
   15454 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15455 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15456 		fi
   15457 
   15458 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15459 
   15460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15461 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15462 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15463 		if eval \${$cacheid+:} false; then :
   15464   $as_echo_n "(cached) " >&6
   15465 else
   15466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15467 /* end confdefs.h.  */
   15468 int i;
   15469 int
   15470 main ()
   15471 {
   15472 
   15473   ;
   15474   return 0;
   15475 }
   15476 _ACEOF
   15477 if ac_fn_c_try_link "$LINENO"; then :
   15478   eval $cacheid=yes
   15479 else
   15480   eval $cacheid=no
   15481 fi
   15482 rm -f core conftest.err conftest.$ac_objext \
   15483     conftest$ac_exeext conftest.$ac_ext
   15484 fi
   15485 
   15486 
   15487 		CFLAGS="$xorg_testset_save_CFLAGS"
   15488 
   15489 		eval supported=\$$cacheid
   15490 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15491 $as_echo "$supported" >&6; }
   15492 		if test "$supported" = "yes" ; then
   15493 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15494 			found="yes"
   15495 		fi
   15496 	fi
   15497 
   15498 
   15499 
   15500 
   15501 
   15502 
   15503 
   15504 
   15505 
   15506 
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 xorg_testset_save_CFLAGS="$CFLAGS"
   15513 
   15514 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15515 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15517 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15518 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15519   $as_echo_n "(cached) " >&6
   15520 else
   15521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15522 /* end confdefs.h.  */
   15523 int i;
   15524 _ACEOF
   15525 if ac_fn_c_try_compile "$LINENO"; then :
   15526   xorg_cv_cc_flag_unknown_warning_option=yes
   15527 else
   15528   xorg_cv_cc_flag_unknown_warning_option=no
   15529 fi
   15530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15531 fi
   15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15533 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15534 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15535 	CFLAGS="$xorg_testset_save_CFLAGS"
   15536 fi
   15537 
   15538 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15539 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15540 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15541 	fi
   15542 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15543 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15544 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15545 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15546   $as_echo_n "(cached) " >&6
   15547 else
   15548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15549 /* end confdefs.h.  */
   15550 int i;
   15551 _ACEOF
   15552 if ac_fn_c_try_compile "$LINENO"; then :
   15553   xorg_cv_cc_flag_unused_command_line_argument=yes
   15554 else
   15555   xorg_cv_cc_flag_unused_command_line_argument=no
   15556 fi
   15557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15558 fi
   15559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15560 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15561 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15562 	CFLAGS="$xorg_testset_save_CFLAGS"
   15563 fi
   15564 
   15565 found="no"
   15566 
   15567 	if test $found = "no" ; then
   15568 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15569 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15570 		fi
   15571 
   15572 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15573 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15574 		fi
   15575 
   15576 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15577 
   15578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15579 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15580 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15581 		if eval \${$cacheid+:} false; then :
   15582   $as_echo_n "(cached) " >&6
   15583 else
   15584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15585 /* end confdefs.h.  */
   15586 int i;
   15587 int
   15588 main ()
   15589 {
   15590 
   15591   ;
   15592   return 0;
   15593 }
   15594 _ACEOF
   15595 if ac_fn_c_try_link "$LINENO"; then :
   15596   eval $cacheid=yes
   15597 else
   15598   eval $cacheid=no
   15599 fi
   15600 rm -f core conftest.err conftest.$ac_objext \
   15601     conftest$ac_exeext conftest.$ac_ext
   15602 fi
   15603 
   15604 
   15605 		CFLAGS="$xorg_testset_save_CFLAGS"
   15606 
   15607 		eval supported=\$$cacheid
   15608 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15609 $as_echo "$supported" >&6; }
   15610 		if test "$supported" = "yes" ; then
   15611 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15612 			found="yes"
   15613 		fi
   15614 	fi
   15615 
   15616  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15617 else
   15618 { $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
   15619 $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;}
   15620 
   15621 
   15622 
   15623 
   15624 
   15625 
   15626 
   15627 
   15628 
   15629 
   15630 
   15631 
   15632 
   15633 xorg_testset_save_CFLAGS="$CFLAGS"
   15634 
   15635 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15636 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15637 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15638 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15639 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15640   $as_echo_n "(cached) " >&6
   15641 else
   15642   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15643 /* end confdefs.h.  */
   15644 int i;
   15645 _ACEOF
   15646 if ac_fn_c_try_compile "$LINENO"; then :
   15647   xorg_cv_cc_flag_unknown_warning_option=yes
   15648 else
   15649   xorg_cv_cc_flag_unknown_warning_option=no
   15650 fi
   15651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15652 fi
   15653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15654 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15655 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15656 	CFLAGS="$xorg_testset_save_CFLAGS"
   15657 fi
   15658 
   15659 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15660 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15661 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15662 	fi
   15663 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15664 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15665 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15666 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15667   $as_echo_n "(cached) " >&6
   15668 else
   15669   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15670 /* end confdefs.h.  */
   15671 int i;
   15672 _ACEOF
   15673 if ac_fn_c_try_compile "$LINENO"; then :
   15674   xorg_cv_cc_flag_unused_command_line_argument=yes
   15675 else
   15676   xorg_cv_cc_flag_unused_command_line_argument=no
   15677 fi
   15678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15679 fi
   15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15681 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15682 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15683 	CFLAGS="$xorg_testset_save_CFLAGS"
   15684 fi
   15685 
   15686 found="no"
   15687 
   15688 	if test $found = "no" ; then
   15689 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15690 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15691 		fi
   15692 
   15693 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15694 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15695 		fi
   15696 
   15697 		CFLAGS="$CFLAGS -Wimplicit"
   15698 
   15699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15700 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15701 		cacheid=xorg_cv_cc_flag__Wimplicit
   15702 		if eval \${$cacheid+:} false; then :
   15703   $as_echo_n "(cached) " >&6
   15704 else
   15705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15706 /* end confdefs.h.  */
   15707 int i;
   15708 int
   15709 main ()
   15710 {
   15711 
   15712   ;
   15713   return 0;
   15714 }
   15715 _ACEOF
   15716 if ac_fn_c_try_link "$LINENO"; then :
   15717   eval $cacheid=yes
   15718 else
   15719   eval $cacheid=no
   15720 fi
   15721 rm -f core conftest.err conftest.$ac_objext \
   15722     conftest$ac_exeext conftest.$ac_ext
   15723 fi
   15724 
   15725 
   15726 		CFLAGS="$xorg_testset_save_CFLAGS"
   15727 
   15728 		eval supported=\$$cacheid
   15729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15730 $as_echo "$supported" >&6; }
   15731 		if test "$supported" = "yes" ; then
   15732 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15733 			found="yes"
   15734 		fi
   15735 	fi
   15736 
   15737 
   15738 
   15739 
   15740 
   15741 
   15742 
   15743 
   15744 
   15745 
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 xorg_testset_save_CFLAGS="$CFLAGS"
   15752 
   15753 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15754 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15755 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15756 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15757 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15758   $as_echo_n "(cached) " >&6
   15759 else
   15760   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15761 /* end confdefs.h.  */
   15762 int i;
   15763 _ACEOF
   15764 if ac_fn_c_try_compile "$LINENO"; then :
   15765   xorg_cv_cc_flag_unknown_warning_option=yes
   15766 else
   15767   xorg_cv_cc_flag_unknown_warning_option=no
   15768 fi
   15769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15770 fi
   15771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15772 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15773 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15774 	CFLAGS="$xorg_testset_save_CFLAGS"
   15775 fi
   15776 
   15777 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15778 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15779 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15780 	fi
   15781 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15783 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15784 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15785   $as_echo_n "(cached) " >&6
   15786 else
   15787   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15788 /* end confdefs.h.  */
   15789 int i;
   15790 _ACEOF
   15791 if ac_fn_c_try_compile "$LINENO"; then :
   15792   xorg_cv_cc_flag_unused_command_line_argument=yes
   15793 else
   15794   xorg_cv_cc_flag_unused_command_line_argument=no
   15795 fi
   15796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15797 fi
   15798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15799 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15800 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15801 	CFLAGS="$xorg_testset_save_CFLAGS"
   15802 fi
   15803 
   15804 found="no"
   15805 
   15806 	if test $found = "no" ; then
   15807 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15808 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15809 		fi
   15810 
   15811 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15812 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15813 		fi
   15814 
   15815 		CFLAGS="$CFLAGS -Wnonnull"
   15816 
   15817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15818 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15819 		cacheid=xorg_cv_cc_flag__Wnonnull
   15820 		if eval \${$cacheid+:} false; then :
   15821   $as_echo_n "(cached) " >&6
   15822 else
   15823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15824 /* end confdefs.h.  */
   15825 int i;
   15826 int
   15827 main ()
   15828 {
   15829 
   15830   ;
   15831   return 0;
   15832 }
   15833 _ACEOF
   15834 if ac_fn_c_try_link "$LINENO"; then :
   15835   eval $cacheid=yes
   15836 else
   15837   eval $cacheid=no
   15838 fi
   15839 rm -f core conftest.err conftest.$ac_objext \
   15840     conftest$ac_exeext conftest.$ac_ext
   15841 fi
   15842 
   15843 
   15844 		CFLAGS="$xorg_testset_save_CFLAGS"
   15845 
   15846 		eval supported=\$$cacheid
   15847 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15848 $as_echo "$supported" >&6; }
   15849 		if test "$supported" = "yes" ; then
   15850 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15851 			found="yes"
   15852 		fi
   15853 	fi
   15854 
   15855 
   15856 
   15857 
   15858 
   15859 
   15860 
   15861 
   15862 
   15863 
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 xorg_testset_save_CFLAGS="$CFLAGS"
   15870 
   15871 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15872 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15873 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15874 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15875 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15876   $as_echo_n "(cached) " >&6
   15877 else
   15878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15879 /* end confdefs.h.  */
   15880 int i;
   15881 _ACEOF
   15882 if ac_fn_c_try_compile "$LINENO"; then :
   15883   xorg_cv_cc_flag_unknown_warning_option=yes
   15884 else
   15885   xorg_cv_cc_flag_unknown_warning_option=no
   15886 fi
   15887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15888 fi
   15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15890 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15891 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15892 	CFLAGS="$xorg_testset_save_CFLAGS"
   15893 fi
   15894 
   15895 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15896 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15897 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15898 	fi
   15899 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15900 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15901 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15902 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15903   $as_echo_n "(cached) " >&6
   15904 else
   15905   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15906 /* end confdefs.h.  */
   15907 int i;
   15908 _ACEOF
   15909 if ac_fn_c_try_compile "$LINENO"; then :
   15910   xorg_cv_cc_flag_unused_command_line_argument=yes
   15911 else
   15912   xorg_cv_cc_flag_unused_command_line_argument=no
   15913 fi
   15914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15915 fi
   15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15917 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15918 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15919 	CFLAGS="$xorg_testset_save_CFLAGS"
   15920 fi
   15921 
   15922 found="no"
   15923 
   15924 	if test $found = "no" ; then
   15925 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15926 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15927 		fi
   15928 
   15929 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15930 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15931 		fi
   15932 
   15933 		CFLAGS="$CFLAGS -Winit-self"
   15934 
   15935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15936 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15937 		cacheid=xorg_cv_cc_flag__Winit_self
   15938 		if eval \${$cacheid+:} false; then :
   15939   $as_echo_n "(cached) " >&6
   15940 else
   15941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15942 /* end confdefs.h.  */
   15943 int i;
   15944 int
   15945 main ()
   15946 {
   15947 
   15948   ;
   15949   return 0;
   15950 }
   15951 _ACEOF
   15952 if ac_fn_c_try_link "$LINENO"; then :
   15953   eval $cacheid=yes
   15954 else
   15955   eval $cacheid=no
   15956 fi
   15957 rm -f core conftest.err conftest.$ac_objext \
   15958     conftest$ac_exeext conftest.$ac_ext
   15959 fi
   15960 
   15961 
   15962 		CFLAGS="$xorg_testset_save_CFLAGS"
   15963 
   15964 		eval supported=\$$cacheid
   15965 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15966 $as_echo "$supported" >&6; }
   15967 		if test "$supported" = "yes" ; then
   15968 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15969 			found="yes"
   15970 		fi
   15971 	fi
   15972 
   15973 
   15974 
   15975 
   15976 
   15977 
   15978 
   15979 
   15980 
   15981 
   15982 
   15983 
   15984 
   15985 
   15986 
   15987 xorg_testset_save_CFLAGS="$CFLAGS"
   15988 
   15989 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15990 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15991 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15992 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15993 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15994   $as_echo_n "(cached) " >&6
   15995 else
   15996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15997 /* end confdefs.h.  */
   15998 int i;
   15999 _ACEOF
   16000 if ac_fn_c_try_compile "$LINENO"; then :
   16001   xorg_cv_cc_flag_unknown_warning_option=yes
   16002 else
   16003   xorg_cv_cc_flag_unknown_warning_option=no
   16004 fi
   16005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16006 fi
   16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16008 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16009 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16010 	CFLAGS="$xorg_testset_save_CFLAGS"
   16011 fi
   16012 
   16013 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16014 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16015 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16016 	fi
   16017 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16018 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16019 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16020 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16021   $as_echo_n "(cached) " >&6
   16022 else
   16023   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16024 /* end confdefs.h.  */
   16025 int i;
   16026 _ACEOF
   16027 if ac_fn_c_try_compile "$LINENO"; then :
   16028   xorg_cv_cc_flag_unused_command_line_argument=yes
   16029 else
   16030   xorg_cv_cc_flag_unused_command_line_argument=no
   16031 fi
   16032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16033 fi
   16034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16035 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16036 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16037 	CFLAGS="$xorg_testset_save_CFLAGS"
   16038 fi
   16039 
   16040 found="no"
   16041 
   16042 	if test $found = "no" ; then
   16043 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16044 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16045 		fi
   16046 
   16047 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16048 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16049 		fi
   16050 
   16051 		CFLAGS="$CFLAGS -Wmain"
   16052 
   16053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16054 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16055 		cacheid=xorg_cv_cc_flag__Wmain
   16056 		if eval \${$cacheid+:} false; then :
   16057   $as_echo_n "(cached) " >&6
   16058 else
   16059   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16060 /* end confdefs.h.  */
   16061 int i;
   16062 int
   16063 main ()
   16064 {
   16065 
   16066   ;
   16067   return 0;
   16068 }
   16069 _ACEOF
   16070 if ac_fn_c_try_link "$LINENO"; then :
   16071   eval $cacheid=yes
   16072 else
   16073   eval $cacheid=no
   16074 fi
   16075 rm -f core conftest.err conftest.$ac_objext \
   16076     conftest$ac_exeext conftest.$ac_ext
   16077 fi
   16078 
   16079 
   16080 		CFLAGS="$xorg_testset_save_CFLAGS"
   16081 
   16082 		eval supported=\$$cacheid
   16083 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16084 $as_echo "$supported" >&6; }
   16085 		if test "$supported" = "yes" ; then
   16086 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16087 			found="yes"
   16088 		fi
   16089 	fi
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 xorg_testset_save_CFLAGS="$CFLAGS"
   16106 
   16107 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16108 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16109 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16110 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16111 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16112   $as_echo_n "(cached) " >&6
   16113 else
   16114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16115 /* end confdefs.h.  */
   16116 int i;
   16117 _ACEOF
   16118 if ac_fn_c_try_compile "$LINENO"; then :
   16119   xorg_cv_cc_flag_unknown_warning_option=yes
   16120 else
   16121   xorg_cv_cc_flag_unknown_warning_option=no
   16122 fi
   16123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16124 fi
   16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16126 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16127 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16128 	CFLAGS="$xorg_testset_save_CFLAGS"
   16129 fi
   16130 
   16131 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16132 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16133 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16134 	fi
   16135 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16136 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16137 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16138 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16139   $as_echo_n "(cached) " >&6
   16140 else
   16141   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16142 /* end confdefs.h.  */
   16143 int i;
   16144 _ACEOF
   16145 if ac_fn_c_try_compile "$LINENO"; then :
   16146   xorg_cv_cc_flag_unused_command_line_argument=yes
   16147 else
   16148   xorg_cv_cc_flag_unused_command_line_argument=no
   16149 fi
   16150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16151 fi
   16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16153 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16154 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16155 	CFLAGS="$xorg_testset_save_CFLAGS"
   16156 fi
   16157 
   16158 found="no"
   16159 
   16160 	if test $found = "no" ; then
   16161 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16162 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16163 		fi
   16164 
   16165 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16166 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16167 		fi
   16168 
   16169 		CFLAGS="$CFLAGS -Wmissing-braces"
   16170 
   16171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16172 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16173 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16174 		if eval \${$cacheid+:} false; then :
   16175   $as_echo_n "(cached) " >&6
   16176 else
   16177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16178 /* end confdefs.h.  */
   16179 int i;
   16180 int
   16181 main ()
   16182 {
   16183 
   16184   ;
   16185   return 0;
   16186 }
   16187 _ACEOF
   16188 if ac_fn_c_try_link "$LINENO"; then :
   16189   eval $cacheid=yes
   16190 else
   16191   eval $cacheid=no
   16192 fi
   16193 rm -f core conftest.err conftest.$ac_objext \
   16194     conftest$ac_exeext conftest.$ac_ext
   16195 fi
   16196 
   16197 
   16198 		CFLAGS="$xorg_testset_save_CFLAGS"
   16199 
   16200 		eval supported=\$$cacheid
   16201 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16202 $as_echo "$supported" >&6; }
   16203 		if test "$supported" = "yes" ; then
   16204 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16205 			found="yes"
   16206 		fi
   16207 	fi
   16208 
   16209 
   16210 
   16211 
   16212 
   16213 
   16214 
   16215 
   16216 
   16217 
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 xorg_testset_save_CFLAGS="$CFLAGS"
   16224 
   16225 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16226 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16227 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16228 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16229 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16230   $as_echo_n "(cached) " >&6
   16231 else
   16232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16233 /* end confdefs.h.  */
   16234 int i;
   16235 _ACEOF
   16236 if ac_fn_c_try_compile "$LINENO"; then :
   16237   xorg_cv_cc_flag_unknown_warning_option=yes
   16238 else
   16239   xorg_cv_cc_flag_unknown_warning_option=no
   16240 fi
   16241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16242 fi
   16243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16244 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16245 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16246 	CFLAGS="$xorg_testset_save_CFLAGS"
   16247 fi
   16248 
   16249 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16250 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16251 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16252 	fi
   16253 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16254 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16255 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16256 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16257   $as_echo_n "(cached) " >&6
   16258 else
   16259   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16260 /* end confdefs.h.  */
   16261 int i;
   16262 _ACEOF
   16263 if ac_fn_c_try_compile "$LINENO"; then :
   16264   xorg_cv_cc_flag_unused_command_line_argument=yes
   16265 else
   16266   xorg_cv_cc_flag_unused_command_line_argument=no
   16267 fi
   16268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16269 fi
   16270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16271 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16272 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16273 	CFLAGS="$xorg_testset_save_CFLAGS"
   16274 fi
   16275 
   16276 found="no"
   16277 
   16278 	if test $found = "no" ; then
   16279 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16280 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16281 		fi
   16282 
   16283 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16284 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16285 		fi
   16286 
   16287 		CFLAGS="$CFLAGS -Wsequence-point"
   16288 
   16289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16290 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16291 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16292 		if eval \${$cacheid+:} false; then :
   16293   $as_echo_n "(cached) " >&6
   16294 else
   16295   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16296 /* end confdefs.h.  */
   16297 int i;
   16298 int
   16299 main ()
   16300 {
   16301 
   16302   ;
   16303   return 0;
   16304 }
   16305 _ACEOF
   16306 if ac_fn_c_try_link "$LINENO"; then :
   16307   eval $cacheid=yes
   16308 else
   16309   eval $cacheid=no
   16310 fi
   16311 rm -f core conftest.err conftest.$ac_objext \
   16312     conftest$ac_exeext conftest.$ac_ext
   16313 fi
   16314 
   16315 
   16316 		CFLAGS="$xorg_testset_save_CFLAGS"
   16317 
   16318 		eval supported=\$$cacheid
   16319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16320 $as_echo "$supported" >&6; }
   16321 		if test "$supported" = "yes" ; then
   16322 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16323 			found="yes"
   16324 		fi
   16325 	fi
   16326 
   16327 
   16328 
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 xorg_testset_save_CFLAGS="$CFLAGS"
   16342 
   16343 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16344 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16345 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16346 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16347 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16348   $as_echo_n "(cached) " >&6
   16349 else
   16350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16351 /* end confdefs.h.  */
   16352 int i;
   16353 _ACEOF
   16354 if ac_fn_c_try_compile "$LINENO"; then :
   16355   xorg_cv_cc_flag_unknown_warning_option=yes
   16356 else
   16357   xorg_cv_cc_flag_unknown_warning_option=no
   16358 fi
   16359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16360 fi
   16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16362 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16363 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16364 	CFLAGS="$xorg_testset_save_CFLAGS"
   16365 fi
   16366 
   16367 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16368 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16369 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16370 	fi
   16371 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16372 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16373 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16374 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16375   $as_echo_n "(cached) " >&6
   16376 else
   16377   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16378 /* end confdefs.h.  */
   16379 int i;
   16380 _ACEOF
   16381 if ac_fn_c_try_compile "$LINENO"; then :
   16382   xorg_cv_cc_flag_unused_command_line_argument=yes
   16383 else
   16384   xorg_cv_cc_flag_unused_command_line_argument=no
   16385 fi
   16386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16387 fi
   16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16389 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16390 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16391 	CFLAGS="$xorg_testset_save_CFLAGS"
   16392 fi
   16393 
   16394 found="no"
   16395 
   16396 	if test $found = "no" ; then
   16397 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16398 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16399 		fi
   16400 
   16401 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16402 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16403 		fi
   16404 
   16405 		CFLAGS="$CFLAGS -Wreturn-type"
   16406 
   16407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16408 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16409 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16410 		if eval \${$cacheid+:} false; then :
   16411   $as_echo_n "(cached) " >&6
   16412 else
   16413   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16414 /* end confdefs.h.  */
   16415 int i;
   16416 int
   16417 main ()
   16418 {
   16419 
   16420   ;
   16421   return 0;
   16422 }
   16423 _ACEOF
   16424 if ac_fn_c_try_link "$LINENO"; then :
   16425   eval $cacheid=yes
   16426 else
   16427   eval $cacheid=no
   16428 fi
   16429 rm -f core conftest.err conftest.$ac_objext \
   16430     conftest$ac_exeext conftest.$ac_ext
   16431 fi
   16432 
   16433 
   16434 		CFLAGS="$xorg_testset_save_CFLAGS"
   16435 
   16436 		eval supported=\$$cacheid
   16437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16438 $as_echo "$supported" >&6; }
   16439 		if test "$supported" = "yes" ; then
   16440 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16441 			found="yes"
   16442 		fi
   16443 	fi
   16444 
   16445 
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 
   16453 
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 xorg_testset_save_CFLAGS="$CFLAGS"
   16460 
   16461 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16462 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16463 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16464 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16465 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16466   $as_echo_n "(cached) " >&6
   16467 else
   16468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16469 /* end confdefs.h.  */
   16470 int i;
   16471 _ACEOF
   16472 if ac_fn_c_try_compile "$LINENO"; then :
   16473   xorg_cv_cc_flag_unknown_warning_option=yes
   16474 else
   16475   xorg_cv_cc_flag_unknown_warning_option=no
   16476 fi
   16477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16478 fi
   16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16480 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16481 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16482 	CFLAGS="$xorg_testset_save_CFLAGS"
   16483 fi
   16484 
   16485 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16486 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16487 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16488 	fi
   16489 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16490 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16491 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16492 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16493   $as_echo_n "(cached) " >&6
   16494 else
   16495   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16496 /* end confdefs.h.  */
   16497 int i;
   16498 _ACEOF
   16499 if ac_fn_c_try_compile "$LINENO"; then :
   16500   xorg_cv_cc_flag_unused_command_line_argument=yes
   16501 else
   16502   xorg_cv_cc_flag_unused_command_line_argument=no
   16503 fi
   16504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16505 fi
   16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16507 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16508 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16509 	CFLAGS="$xorg_testset_save_CFLAGS"
   16510 fi
   16511 
   16512 found="no"
   16513 
   16514 	if test $found = "no" ; then
   16515 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16516 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16517 		fi
   16518 
   16519 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16520 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16521 		fi
   16522 
   16523 		CFLAGS="$CFLAGS -Wtrigraphs"
   16524 
   16525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16526 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16527 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16528 		if eval \${$cacheid+:} false; then :
   16529   $as_echo_n "(cached) " >&6
   16530 else
   16531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16532 /* end confdefs.h.  */
   16533 int i;
   16534 int
   16535 main ()
   16536 {
   16537 
   16538   ;
   16539   return 0;
   16540 }
   16541 _ACEOF
   16542 if ac_fn_c_try_link "$LINENO"; then :
   16543   eval $cacheid=yes
   16544 else
   16545   eval $cacheid=no
   16546 fi
   16547 rm -f core conftest.err conftest.$ac_objext \
   16548     conftest$ac_exeext conftest.$ac_ext
   16549 fi
   16550 
   16551 
   16552 		CFLAGS="$xorg_testset_save_CFLAGS"
   16553 
   16554 		eval supported=\$$cacheid
   16555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16556 $as_echo "$supported" >&6; }
   16557 		if test "$supported" = "yes" ; then
   16558 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16559 			found="yes"
   16560 		fi
   16561 	fi
   16562 
   16563 
   16564 
   16565 
   16566 
   16567 
   16568 
   16569 
   16570 
   16571 
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 xorg_testset_save_CFLAGS="$CFLAGS"
   16578 
   16579 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16580 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16582 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16583 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16584   $as_echo_n "(cached) " >&6
   16585 else
   16586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16587 /* end confdefs.h.  */
   16588 int i;
   16589 _ACEOF
   16590 if ac_fn_c_try_compile "$LINENO"; then :
   16591   xorg_cv_cc_flag_unknown_warning_option=yes
   16592 else
   16593   xorg_cv_cc_flag_unknown_warning_option=no
   16594 fi
   16595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16596 fi
   16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16598 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16599 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16600 	CFLAGS="$xorg_testset_save_CFLAGS"
   16601 fi
   16602 
   16603 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16604 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16605 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16606 	fi
   16607 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16608 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16609 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16610 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16611   $as_echo_n "(cached) " >&6
   16612 else
   16613   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16614 /* end confdefs.h.  */
   16615 int i;
   16616 _ACEOF
   16617 if ac_fn_c_try_compile "$LINENO"; then :
   16618   xorg_cv_cc_flag_unused_command_line_argument=yes
   16619 else
   16620   xorg_cv_cc_flag_unused_command_line_argument=no
   16621 fi
   16622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16623 fi
   16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16625 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16626 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16627 	CFLAGS="$xorg_testset_save_CFLAGS"
   16628 fi
   16629 
   16630 found="no"
   16631 
   16632 	if test $found = "no" ; then
   16633 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16634 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16635 		fi
   16636 
   16637 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16638 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16639 		fi
   16640 
   16641 		CFLAGS="$CFLAGS -Warray-bounds"
   16642 
   16643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16644 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16645 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16646 		if eval \${$cacheid+:} false; then :
   16647   $as_echo_n "(cached) " >&6
   16648 else
   16649   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16650 /* end confdefs.h.  */
   16651 int i;
   16652 int
   16653 main ()
   16654 {
   16655 
   16656   ;
   16657   return 0;
   16658 }
   16659 _ACEOF
   16660 if ac_fn_c_try_link "$LINENO"; then :
   16661   eval $cacheid=yes
   16662 else
   16663   eval $cacheid=no
   16664 fi
   16665 rm -f core conftest.err conftest.$ac_objext \
   16666     conftest$ac_exeext conftest.$ac_ext
   16667 fi
   16668 
   16669 
   16670 		CFLAGS="$xorg_testset_save_CFLAGS"
   16671 
   16672 		eval supported=\$$cacheid
   16673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16674 $as_echo "$supported" >&6; }
   16675 		if test "$supported" = "yes" ; then
   16676 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16677 			found="yes"
   16678 		fi
   16679 	fi
   16680 
   16681 
   16682 
   16683 
   16684 
   16685 
   16686 
   16687 
   16688 
   16689 
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 xorg_testset_save_CFLAGS="$CFLAGS"
   16696 
   16697 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16698 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16699 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16700 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16701 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16702   $as_echo_n "(cached) " >&6
   16703 else
   16704   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16705 /* end confdefs.h.  */
   16706 int i;
   16707 _ACEOF
   16708 if ac_fn_c_try_compile "$LINENO"; then :
   16709   xorg_cv_cc_flag_unknown_warning_option=yes
   16710 else
   16711   xorg_cv_cc_flag_unknown_warning_option=no
   16712 fi
   16713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16714 fi
   16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16716 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16717 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16718 	CFLAGS="$xorg_testset_save_CFLAGS"
   16719 fi
   16720 
   16721 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16722 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16723 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16724 	fi
   16725 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16726 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16727 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16728 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16729   $as_echo_n "(cached) " >&6
   16730 else
   16731   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16732 /* end confdefs.h.  */
   16733 int i;
   16734 _ACEOF
   16735 if ac_fn_c_try_compile "$LINENO"; then :
   16736   xorg_cv_cc_flag_unused_command_line_argument=yes
   16737 else
   16738   xorg_cv_cc_flag_unused_command_line_argument=no
   16739 fi
   16740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16741 fi
   16742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16743 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16744 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16745 	CFLAGS="$xorg_testset_save_CFLAGS"
   16746 fi
   16747 
   16748 found="no"
   16749 
   16750 	if test $found = "no" ; then
   16751 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16752 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16753 		fi
   16754 
   16755 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16756 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16757 		fi
   16758 
   16759 		CFLAGS="$CFLAGS -Wwrite-strings"
   16760 
   16761 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16762 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16763 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16764 		if eval \${$cacheid+:} false; then :
   16765   $as_echo_n "(cached) " >&6
   16766 else
   16767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16768 /* end confdefs.h.  */
   16769 int i;
   16770 int
   16771 main ()
   16772 {
   16773 
   16774   ;
   16775   return 0;
   16776 }
   16777 _ACEOF
   16778 if ac_fn_c_try_link "$LINENO"; then :
   16779   eval $cacheid=yes
   16780 else
   16781   eval $cacheid=no
   16782 fi
   16783 rm -f core conftest.err conftest.$ac_objext \
   16784     conftest$ac_exeext conftest.$ac_ext
   16785 fi
   16786 
   16787 
   16788 		CFLAGS="$xorg_testset_save_CFLAGS"
   16789 
   16790 		eval supported=\$$cacheid
   16791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16792 $as_echo "$supported" >&6; }
   16793 		if test "$supported" = "yes" ; then
   16794 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16795 			found="yes"
   16796 		fi
   16797 	fi
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 xorg_testset_save_CFLAGS="$CFLAGS"
   16814 
   16815 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16816 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16818 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16819 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16820   $as_echo_n "(cached) " >&6
   16821 else
   16822   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16823 /* end confdefs.h.  */
   16824 int i;
   16825 _ACEOF
   16826 if ac_fn_c_try_compile "$LINENO"; then :
   16827   xorg_cv_cc_flag_unknown_warning_option=yes
   16828 else
   16829   xorg_cv_cc_flag_unknown_warning_option=no
   16830 fi
   16831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16832 fi
   16833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16834 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16835 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16836 	CFLAGS="$xorg_testset_save_CFLAGS"
   16837 fi
   16838 
   16839 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16840 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16841 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16842 	fi
   16843 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16844 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16845 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16846 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16847   $as_echo_n "(cached) " >&6
   16848 else
   16849   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16850 /* end confdefs.h.  */
   16851 int i;
   16852 _ACEOF
   16853 if ac_fn_c_try_compile "$LINENO"; then :
   16854   xorg_cv_cc_flag_unused_command_line_argument=yes
   16855 else
   16856   xorg_cv_cc_flag_unused_command_line_argument=no
   16857 fi
   16858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16859 fi
   16860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16861 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16862 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16863 	CFLAGS="$xorg_testset_save_CFLAGS"
   16864 fi
   16865 
   16866 found="no"
   16867 
   16868 	if test $found = "no" ; then
   16869 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16870 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16871 		fi
   16872 
   16873 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16874 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16875 		fi
   16876 
   16877 		CFLAGS="$CFLAGS -Waddress"
   16878 
   16879 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16880 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16881 		cacheid=xorg_cv_cc_flag__Waddress
   16882 		if eval \${$cacheid+:} false; then :
   16883   $as_echo_n "(cached) " >&6
   16884 else
   16885   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16886 /* end confdefs.h.  */
   16887 int i;
   16888 int
   16889 main ()
   16890 {
   16891 
   16892   ;
   16893   return 0;
   16894 }
   16895 _ACEOF
   16896 if ac_fn_c_try_link "$LINENO"; then :
   16897   eval $cacheid=yes
   16898 else
   16899   eval $cacheid=no
   16900 fi
   16901 rm -f core conftest.err conftest.$ac_objext \
   16902     conftest$ac_exeext conftest.$ac_ext
   16903 fi
   16904 
   16905 
   16906 		CFLAGS="$xorg_testset_save_CFLAGS"
   16907 
   16908 		eval supported=\$$cacheid
   16909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16910 $as_echo "$supported" >&6; }
   16911 		if test "$supported" = "yes" ; then
   16912 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16913 			found="yes"
   16914 		fi
   16915 	fi
   16916 
   16917 
   16918 
   16919 
   16920 
   16921 
   16922 
   16923 
   16924 
   16925 
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 xorg_testset_save_CFLAGS="$CFLAGS"
   16932 
   16933 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16934 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16935 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16936 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16937 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16938   $as_echo_n "(cached) " >&6
   16939 else
   16940   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16941 /* end confdefs.h.  */
   16942 int i;
   16943 _ACEOF
   16944 if ac_fn_c_try_compile "$LINENO"; then :
   16945   xorg_cv_cc_flag_unknown_warning_option=yes
   16946 else
   16947   xorg_cv_cc_flag_unknown_warning_option=no
   16948 fi
   16949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16950 fi
   16951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16952 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16953 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16954 	CFLAGS="$xorg_testset_save_CFLAGS"
   16955 fi
   16956 
   16957 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16958 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16959 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16960 	fi
   16961 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16962 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16963 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16964 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16965   $as_echo_n "(cached) " >&6
   16966 else
   16967   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16968 /* end confdefs.h.  */
   16969 int i;
   16970 _ACEOF
   16971 if ac_fn_c_try_compile "$LINENO"; then :
   16972   xorg_cv_cc_flag_unused_command_line_argument=yes
   16973 else
   16974   xorg_cv_cc_flag_unused_command_line_argument=no
   16975 fi
   16976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16977 fi
   16978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16979 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16980 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16981 	CFLAGS="$xorg_testset_save_CFLAGS"
   16982 fi
   16983 
   16984 found="no"
   16985 
   16986 	if test $found = "no" ; then
   16987 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16988 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16989 		fi
   16990 
   16991 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16992 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16993 		fi
   16994 
   16995 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16996 
   16997 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16998 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16999 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17000 		if eval \${$cacheid+:} false; then :
   17001   $as_echo_n "(cached) " >&6
   17002 else
   17003   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17004 /* end confdefs.h.  */
   17005 int i;
   17006 int
   17007 main ()
   17008 {
   17009 
   17010   ;
   17011   return 0;
   17012 }
   17013 _ACEOF
   17014 if ac_fn_c_try_link "$LINENO"; then :
   17015   eval $cacheid=yes
   17016 else
   17017   eval $cacheid=no
   17018 fi
   17019 rm -f core conftest.err conftest.$ac_objext \
   17020     conftest$ac_exeext conftest.$ac_ext
   17021 fi
   17022 
   17023 
   17024 		CFLAGS="$xorg_testset_save_CFLAGS"
   17025 
   17026 		eval supported=\$$cacheid
   17027 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17028 $as_echo "$supported" >&6; }
   17029 		if test "$supported" = "yes" ; then
   17030 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17031 			found="yes"
   17032 		fi
   17033 	fi
   17034 
   17035 
   17036 
   17037 
   17038 
   17039 
   17040 
   17041 
   17042 
   17043 
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 xorg_testset_save_CFLAGS="$CFLAGS"
   17050 
   17051 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17052 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17053 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17054 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17055 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17056   $as_echo_n "(cached) " >&6
   17057 else
   17058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17059 /* end confdefs.h.  */
   17060 int i;
   17061 _ACEOF
   17062 if ac_fn_c_try_compile "$LINENO"; then :
   17063   xorg_cv_cc_flag_unknown_warning_option=yes
   17064 else
   17065   xorg_cv_cc_flag_unknown_warning_option=no
   17066 fi
   17067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17068 fi
   17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17070 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17071 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17072 	CFLAGS="$xorg_testset_save_CFLAGS"
   17073 fi
   17074 
   17075 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17076 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17077 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17078 	fi
   17079 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17080 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17081 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17082 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17083   $as_echo_n "(cached) " >&6
   17084 else
   17085   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17086 /* end confdefs.h.  */
   17087 int i;
   17088 _ACEOF
   17089 if ac_fn_c_try_compile "$LINENO"; then :
   17090   xorg_cv_cc_flag_unused_command_line_argument=yes
   17091 else
   17092   xorg_cv_cc_flag_unused_command_line_argument=no
   17093 fi
   17094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17095 fi
   17096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17097 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17098 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17099 	CFLAGS="$xorg_testset_save_CFLAGS"
   17100 fi
   17101 
   17102 found="no"
   17103 
   17104 	if test $found = "no" ; then
   17105 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17106 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17107 		fi
   17108 
   17109 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17110 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17111 		fi
   17112 
   17113 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17114 
   17115 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17116 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17117 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17118 		if eval \${$cacheid+:} false; then :
   17119   $as_echo_n "(cached) " >&6
   17120 else
   17121   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17122 /* end confdefs.h.  */
   17123 int i;
   17124 int
   17125 main ()
   17126 {
   17127 
   17128   ;
   17129   return 0;
   17130 }
   17131 _ACEOF
   17132 if ac_fn_c_try_link "$LINENO"; then :
   17133   eval $cacheid=yes
   17134 else
   17135   eval $cacheid=no
   17136 fi
   17137 rm -f core conftest.err conftest.$ac_objext \
   17138     conftest$ac_exeext conftest.$ac_ext
   17139 fi
   17140 
   17141 
   17142 		CFLAGS="$xorg_testset_save_CFLAGS"
   17143 
   17144 		eval supported=\$$cacheid
   17145 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17146 $as_echo "$supported" >&6; }
   17147 		if test "$supported" = "yes" ; then
   17148 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17149 			found="yes"
   17150 		fi
   17151 	fi
   17152 
   17153 
   17154 fi
   17155 
   17156 
   17157 
   17158 
   17159 
   17160 
   17161 
   17162 		CWARNFLAGS="$BASE_CFLAGS"
   17163 		if  test "x$GCC" = xyes ; then
   17164 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17165 		fi
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 
   17173 
   17174 # Check whether --enable-strict-compilation was given.
   17175 if test "${enable_strict_compilation+set}" = set; then :
   17176   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17177 else
   17178   STRICT_COMPILE=no
   17179 fi
   17180 
   17181 
   17182 
   17183 
   17184 
   17185 
   17186 STRICT_CFLAGS=""
   17187 
   17188 
   17189 
   17190 
   17191 
   17192 
   17193 
   17194 
   17195 
   17196 
   17197 
   17198 
   17199 
   17200 xorg_testset_save_CFLAGS="$CFLAGS"
   17201 
   17202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17205 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17206 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17207   $as_echo_n "(cached) " >&6
   17208 else
   17209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17210 /* end confdefs.h.  */
   17211 int i;
   17212 _ACEOF
   17213 if ac_fn_c_try_compile "$LINENO"; then :
   17214   xorg_cv_cc_flag_unknown_warning_option=yes
   17215 else
   17216   xorg_cv_cc_flag_unknown_warning_option=no
   17217 fi
   17218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17219 fi
   17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17221 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17223 	CFLAGS="$xorg_testset_save_CFLAGS"
   17224 fi
   17225 
   17226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17229 	fi
   17230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17232 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17233 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17234   $as_echo_n "(cached) " >&6
   17235 else
   17236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17237 /* end confdefs.h.  */
   17238 int i;
   17239 _ACEOF
   17240 if ac_fn_c_try_compile "$LINENO"; then :
   17241   xorg_cv_cc_flag_unused_command_line_argument=yes
   17242 else
   17243   xorg_cv_cc_flag_unused_command_line_argument=no
   17244 fi
   17245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17246 fi
   17247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17248 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17250 	CFLAGS="$xorg_testset_save_CFLAGS"
   17251 fi
   17252 
   17253 found="no"
   17254 
   17255 	if test $found = "no" ; then
   17256 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17258 		fi
   17259 
   17260 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17262 		fi
   17263 
   17264 		CFLAGS="$CFLAGS -pedantic"
   17265 
   17266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17267 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17268 		cacheid=xorg_cv_cc_flag__pedantic
   17269 		if eval \${$cacheid+:} false; then :
   17270   $as_echo_n "(cached) " >&6
   17271 else
   17272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17273 /* end confdefs.h.  */
   17274 int i;
   17275 int
   17276 main ()
   17277 {
   17278 
   17279   ;
   17280   return 0;
   17281 }
   17282 _ACEOF
   17283 if ac_fn_c_try_link "$LINENO"; then :
   17284   eval $cacheid=yes
   17285 else
   17286   eval $cacheid=no
   17287 fi
   17288 rm -f core conftest.err conftest.$ac_objext \
   17289     conftest$ac_exeext conftest.$ac_ext
   17290 fi
   17291 
   17292 
   17293 		CFLAGS="$xorg_testset_save_CFLAGS"
   17294 
   17295 		eval supported=\$$cacheid
   17296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17297 $as_echo "$supported" >&6; }
   17298 		if test "$supported" = "yes" ; then
   17299 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17300 			found="yes"
   17301 		fi
   17302 	fi
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 
   17312 
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 xorg_testset_save_CFLAGS="$CFLAGS"
   17319 
   17320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17323 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17324 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17325   $as_echo_n "(cached) " >&6
   17326 else
   17327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17328 /* end confdefs.h.  */
   17329 int i;
   17330 _ACEOF
   17331 if ac_fn_c_try_compile "$LINENO"; then :
   17332   xorg_cv_cc_flag_unknown_warning_option=yes
   17333 else
   17334   xorg_cv_cc_flag_unknown_warning_option=no
   17335 fi
   17336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17337 fi
   17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17339 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17341 	CFLAGS="$xorg_testset_save_CFLAGS"
   17342 fi
   17343 
   17344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17347 	fi
   17348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17350 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17351 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17352   $as_echo_n "(cached) " >&6
   17353 else
   17354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17355 /* end confdefs.h.  */
   17356 int i;
   17357 _ACEOF
   17358 if ac_fn_c_try_compile "$LINENO"; then :
   17359   xorg_cv_cc_flag_unused_command_line_argument=yes
   17360 else
   17361   xorg_cv_cc_flag_unused_command_line_argument=no
   17362 fi
   17363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17364 fi
   17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17366 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17368 	CFLAGS="$xorg_testset_save_CFLAGS"
   17369 fi
   17370 
   17371 found="no"
   17372 
   17373 	if test $found = "no" ; then
   17374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17376 		fi
   17377 
   17378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17380 		fi
   17381 
   17382 		CFLAGS="$CFLAGS -Werror"
   17383 
   17384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17385 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17386 		cacheid=xorg_cv_cc_flag__Werror
   17387 		if eval \${$cacheid+:} false; then :
   17388   $as_echo_n "(cached) " >&6
   17389 else
   17390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17391 /* end confdefs.h.  */
   17392 int i;
   17393 int
   17394 main ()
   17395 {
   17396 
   17397   ;
   17398   return 0;
   17399 }
   17400 _ACEOF
   17401 if ac_fn_c_try_link "$LINENO"; then :
   17402   eval $cacheid=yes
   17403 else
   17404   eval $cacheid=no
   17405 fi
   17406 rm -f core conftest.err conftest.$ac_objext \
   17407     conftest$ac_exeext conftest.$ac_ext
   17408 fi
   17409 
   17410 
   17411 		CFLAGS="$xorg_testset_save_CFLAGS"
   17412 
   17413 		eval supported=\$$cacheid
   17414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17415 $as_echo "$supported" >&6; }
   17416 		if test "$supported" = "yes" ; then
   17417 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17418 			found="yes"
   17419 		fi
   17420 	fi
   17421 
   17422 	if test $found = "no" ; then
   17423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17425 		fi
   17426 
   17427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17429 		fi
   17430 
   17431 		CFLAGS="$CFLAGS -errwarn"
   17432 
   17433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17434 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17435 		cacheid=xorg_cv_cc_flag__errwarn
   17436 		if eval \${$cacheid+:} false; then :
   17437   $as_echo_n "(cached) " >&6
   17438 else
   17439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17440 /* end confdefs.h.  */
   17441 int i;
   17442 int
   17443 main ()
   17444 {
   17445 
   17446   ;
   17447   return 0;
   17448 }
   17449 _ACEOF
   17450 if ac_fn_c_try_link "$LINENO"; then :
   17451   eval $cacheid=yes
   17452 else
   17453   eval $cacheid=no
   17454 fi
   17455 rm -f core conftest.err conftest.$ac_objext \
   17456     conftest$ac_exeext conftest.$ac_ext
   17457 fi
   17458 
   17459 
   17460 		CFLAGS="$xorg_testset_save_CFLAGS"
   17461 
   17462 		eval supported=\$$cacheid
   17463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17464 $as_echo "$supported" >&6; }
   17465 		if test "$supported" = "yes" ; then
   17466 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17467 			found="yes"
   17468 		fi
   17469 	fi
   17470 
   17471 
   17472 
   17473 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17474 # activate it with -Werror, so we add it here explicitly.
   17475 
   17476 
   17477 
   17478 
   17479 
   17480 
   17481 
   17482 
   17483 
   17484 
   17485 
   17486 
   17487 
   17488 xorg_testset_save_CFLAGS="$CFLAGS"
   17489 
   17490 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17491 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17492 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17493 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17494 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17495   $as_echo_n "(cached) " >&6
   17496 else
   17497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17498 /* end confdefs.h.  */
   17499 int i;
   17500 _ACEOF
   17501 if ac_fn_c_try_compile "$LINENO"; then :
   17502   xorg_cv_cc_flag_unknown_warning_option=yes
   17503 else
   17504   xorg_cv_cc_flag_unknown_warning_option=no
   17505 fi
   17506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17507 fi
   17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17509 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17510 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17511 	CFLAGS="$xorg_testset_save_CFLAGS"
   17512 fi
   17513 
   17514 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17515 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17516 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17517 	fi
   17518 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17520 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17521 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17522   $as_echo_n "(cached) " >&6
   17523 else
   17524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17525 /* end confdefs.h.  */
   17526 int i;
   17527 _ACEOF
   17528 if ac_fn_c_try_compile "$LINENO"; then :
   17529   xorg_cv_cc_flag_unused_command_line_argument=yes
   17530 else
   17531   xorg_cv_cc_flag_unused_command_line_argument=no
   17532 fi
   17533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17534 fi
   17535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17536 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17537 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17538 	CFLAGS="$xorg_testset_save_CFLAGS"
   17539 fi
   17540 
   17541 found="no"
   17542 
   17543 	if test $found = "no" ; then
   17544 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17545 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17546 		fi
   17547 
   17548 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17549 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17550 		fi
   17551 
   17552 		CFLAGS="$CFLAGS -Werror=attributes"
   17553 
   17554 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17555 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17556 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17557 		if eval \${$cacheid+:} false; then :
   17558   $as_echo_n "(cached) " >&6
   17559 else
   17560   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17561 /* end confdefs.h.  */
   17562 int i;
   17563 int
   17564 main ()
   17565 {
   17566 
   17567   ;
   17568   return 0;
   17569 }
   17570 _ACEOF
   17571 if ac_fn_c_try_link "$LINENO"; then :
   17572   eval $cacheid=yes
   17573 else
   17574   eval $cacheid=no
   17575 fi
   17576 rm -f core conftest.err conftest.$ac_objext \
   17577     conftest$ac_exeext conftest.$ac_ext
   17578 fi
   17579 
   17580 
   17581 		CFLAGS="$xorg_testset_save_CFLAGS"
   17582 
   17583 		eval supported=\$$cacheid
   17584 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17585 $as_echo "$supported" >&6; }
   17586 		if test "$supported" = "yes" ; then
   17587 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17588 			found="yes"
   17589 		fi
   17590 	fi
   17591 
   17592 
   17593 
   17594 if test "x$STRICT_COMPILE" = "xyes"; then
   17595     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17596     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17597 fi
   17598 
   17599 
   17600 
   17601 
   17602 
   17603 
   17604 cat >>confdefs.h <<_ACEOF
   17605 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17606 _ACEOF
   17607 
   17608 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17609 	if test "x$PVM" = "x"; then
   17610 		PVM="0"
   17611 	fi
   17612 
   17613 cat >>confdefs.h <<_ACEOF
   17614 #define PACKAGE_VERSION_MINOR $PVM
   17615 _ACEOF
   17616 
   17617 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17618 	if test "x$PVP" = "x"; then
   17619 		PVP="0"
   17620 	fi
   17621 
   17622 cat >>confdefs.h <<_ACEOF
   17623 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17624 _ACEOF
   17625 
   17626 
   17627 
   17628 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17629 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17630 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17631 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17632 
   17633 
   17634 
   17635 
   17636 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17637 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17638 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17639 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17640 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17641 
   17642 
   17643 
   17644 
   17645 
   17646 
   17647 if test x$APP_MAN_SUFFIX = x    ; then
   17648     APP_MAN_SUFFIX=1
   17649 fi
   17650 if test x$APP_MAN_DIR = x    ; then
   17651     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17652 fi
   17653 
   17654 if test x$LIB_MAN_SUFFIX = x    ; then
   17655     LIB_MAN_SUFFIX=3
   17656 fi
   17657 if test x$LIB_MAN_DIR = x    ; then
   17658     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17659 fi
   17660 
   17661 if test x$FILE_MAN_SUFFIX = x    ; then
   17662     case $host_os in
   17663 	# Solaris 2.0 - 11 use SysV man page sections
   17664 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   17665 	*)				FILE_MAN_SUFFIX=5  ;;
   17666     esac
   17667 fi
   17668 if test x$FILE_MAN_DIR = x    ; then
   17669     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17670 fi
   17671 
   17672 if test x$MISC_MAN_SUFFIX = x    ; then
   17673     case $host_os in
   17674 	# Solaris 2.0 - 11 use SysV man page sections
   17675 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   17676 	*)				MISC_MAN_SUFFIX=7  ;;
   17677     esac
   17678 fi
   17679 if test x$MISC_MAN_DIR = x    ; then
   17680     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17681 fi
   17682 
   17683 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17684     case $host_os in
   17685 	# Solaris 2.0 - 11 use SysV man page sections
   17686 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   17687 	*)				DRIVER_MAN_SUFFIX=4  ;;
   17688     esac
   17689 fi
   17690 if test x$DRIVER_MAN_DIR = x    ; then
   17691     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17692 fi
   17693 
   17694 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17695     case $host_os in
   17696 	# Solaris 2.0 - 11 use SysV man page sections
   17697 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   17698 	*)				ADMIN_MAN_SUFFIX=8  ;;
   17699     esac
   17700 fi
   17701 if test x$ADMIN_MAN_DIR = x    ; then
   17702     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17703 fi
   17704 
   17705 
   17706 
   17707 
   17708 
   17709 
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 XORG_MAN_PAGE="X Version 11"
   17720 
   17721 MAN_SUBSTS="\
   17722 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17723 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17724 	-e 's|__xservername__|Xorg|g' \
   17725 	-e 's|__xconfigfile__|xorg.conf|g' \
   17726 	-e 's|__projectroot__|\$(prefix)|g' \
   17727 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17728 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17729 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17730 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17731 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17732 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17733 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17734 
   17735 
   17736 
   17737 # Check whether --enable-silent-rules was given.
   17738 if test "${enable_silent_rules+set}" = set; then :
   17739   enableval=$enable_silent_rules;
   17740 fi
   17741 
   17742 case $enable_silent_rules in # (((
   17743   yes) AM_DEFAULT_VERBOSITY=0;;
   17744    no) AM_DEFAULT_VERBOSITY=1;;
   17745     *) AM_DEFAULT_VERBOSITY=0;;
   17746 esac
   17747 am_make=${MAKE-make}
   17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17749 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17750 if ${am_cv_make_support_nested_variables+:} false; then :
   17751   $as_echo_n "(cached) " >&6
   17752 else
   17753   if $as_echo 'TRUE=$(BAR$(V))
   17754 BAR0=false
   17755 BAR1=true
   17756 V=1
   17757 am__doit:
   17758 	@$(TRUE)
   17759 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17760   am_cv_make_support_nested_variables=yes
   17761 else
   17762   am_cv_make_support_nested_variables=no
   17763 fi
   17764 fi
   17765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17766 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17767 if test $am_cv_make_support_nested_variables = yes; then
   17768     AM_V='$(V)'
   17769   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17770 else
   17771   AM_V=$AM_DEFAULT_VERBOSITY
   17772   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17773 fi
   17774 AM_BACKSLASH='\'
   17775 
   17776 
   17777 
   17778 # Check fixesext configuration, strip extra digits from package version to
   17779 # find the required protocol version
   17780 FIXESEXT_VERSION=`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`
   17781 
   17782 
   17783 # Obtain compiler/linker options for depedencies
   17784 
   17785 pkg_failed=no
   17786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIXESEXT" >&5
   17787 $as_echo_n "checking for FIXESEXT... " >&6; }
   17788 
   17789 if test -n "$FIXESEXT_CFLAGS"; then
   17790     pkg_cv_FIXESEXT_CFLAGS="$FIXESEXT_CFLAGS"
   17791  elif test -n "$PKG_CONFIG"; then
   17792     if test -n "$PKG_CONFIG" && \
   17793     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto fixesproto >= \$FIXESEXT_VERSION xextproto x11 >= 1.6\""; } >&5
   17794   ($PKG_CONFIG --exists --print-errors "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11 >= 1.6") 2>&5
   17795   ac_status=$?
   17796   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17797   test $ac_status = 0; }; then
   17798   pkg_cv_FIXESEXT_CFLAGS=`$PKG_CONFIG --cflags "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11 >= 1.6" 2>/dev/null`
   17799 		      test "x$?" != "x0" && pkg_failed=yes
   17800 else
   17801   pkg_failed=yes
   17802 fi
   17803  else
   17804     pkg_failed=untried
   17805 fi
   17806 if test -n "$FIXESEXT_LIBS"; then
   17807     pkg_cv_FIXESEXT_LIBS="$FIXESEXT_LIBS"
   17808  elif test -n "$PKG_CONFIG"; then
   17809     if test -n "$PKG_CONFIG" && \
   17810     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto fixesproto >= \$FIXESEXT_VERSION xextproto x11 >= 1.6\""; } >&5
   17811   ($PKG_CONFIG --exists --print-errors "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11 >= 1.6") 2>&5
   17812   ac_status=$?
   17813   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17814   test $ac_status = 0; }; then
   17815   pkg_cv_FIXESEXT_LIBS=`$PKG_CONFIG --libs "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11 >= 1.6" 2>/dev/null`
   17816 		      test "x$?" != "x0" && pkg_failed=yes
   17817 else
   17818   pkg_failed=yes
   17819 fi
   17820  else
   17821     pkg_failed=untried
   17822 fi
   17823 
   17824 
   17825 
   17826 if test $pkg_failed = yes; then
   17827    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17828 $as_echo "no" >&6; }
   17829 
   17830 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17831         _pkg_short_errors_supported=yes
   17832 else
   17833         _pkg_short_errors_supported=no
   17834 fi
   17835         if test $_pkg_short_errors_supported = yes; then
   17836 	        FIXESEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11 >= 1.6" 2>&1`
   17837         else
   17838 	        FIXESEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto fixesproto >= $FIXESEXT_VERSION xextproto x11 >= 1.6" 2>&1`
   17839         fi
   17840 	# Put the nasty error message in config.log where it belongs
   17841 	echo "$FIXESEXT_PKG_ERRORS" >&5
   17842 
   17843 	as_fn_error $? "Package requirements (xproto fixesproto >= $FIXESEXT_VERSION xextproto x11 >= 1.6) were not met:
   17844 
   17845 $FIXESEXT_PKG_ERRORS
   17846 
   17847 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17848 installed software in a non-standard prefix.
   17849 
   17850 Alternatively, you may set the environment variables FIXESEXT_CFLAGS
   17851 and FIXESEXT_LIBS to avoid the need to call pkg-config.
   17852 See the pkg-config man page for more details." "$LINENO" 5
   17853 elif test $pkg_failed = untried; then
   17854      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17855 $as_echo "no" >&6; }
   17856 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17858 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17859 is in your PATH or set the PKG_CONFIG environment variable to the full
   17860 path to pkg-config.
   17861 
   17862 Alternatively, you may set the environment variables FIXESEXT_CFLAGS
   17863 and FIXESEXT_LIBS to avoid the need to call pkg-config.
   17864 See the pkg-config man page for more details.
   17865 
   17866 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17867 See \`config.log' for more details" "$LINENO" 5; }
   17868 else
   17869 	FIXESEXT_CFLAGS=$pkg_cv_FIXESEXT_CFLAGS
   17870 	FIXESEXT_LIBS=$pkg_cv_FIXESEXT_LIBS
   17871         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17872 $as_echo "yes" >&6; }
   17873 
   17874 fi
   17875 
   17876 
   17877 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile xfixes.pc"
   17878 
   17879 cat >confcache <<\_ACEOF
   17880 # This file is a shell script that caches the results of configure
   17881 # tests run on this system so they can be shared between configure
   17882 # scripts and configure runs, see configure's option --config-cache.
   17883 # It is not useful on other systems.  If it contains results you don't
   17884 # want to keep, you may remove or edit it.
   17885 #
   17886 # config.status only pays attention to the cache file if you give it
   17887 # the --recheck option to rerun configure.
   17888 #
   17889 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17890 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17891 # following values.
   17892 
   17893 _ACEOF
   17894 
   17895 # The following way of writing the cache mishandles newlines in values,
   17896 # but we know of no workaround that is simple, portable, and efficient.
   17897 # So, we kill variables containing newlines.
   17898 # Ultrix sh set writes to stderr and can't be redirected directly,
   17899 # and sets the high bit in the cache file unless we assign to the vars.
   17900 (
   17901   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17902     eval ac_val=\$$ac_var
   17903     case $ac_val in #(
   17904     *${as_nl}*)
   17905       case $ac_var in #(
   17906       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17907 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17908       esac
   17909       case $ac_var in #(
   17910       _ | IFS | as_nl) ;; #(
   17911       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17912       *) { eval $ac_var=; unset $ac_var;} ;;
   17913       esac ;;
   17914     esac
   17915   done
   17916 
   17917   (set) 2>&1 |
   17918     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17919     *${as_nl}ac_space=\ *)
   17920       # `set' does not quote correctly, so add quotes: double-quote
   17921       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17922       sed -n \
   17923 	"s/'/'\\\\''/g;
   17924 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17925       ;; #(
   17926     *)
   17927       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17928       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17929       ;;
   17930     esac |
   17931     sort
   17932 ) |
   17933   sed '
   17934      /^ac_cv_env_/b end
   17935      t clear
   17936      :clear
   17937      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17938      t end
   17939      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17940      :end' >>confcache
   17941 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17942   if test -w "$cache_file"; then
   17943     if test "x$cache_file" != "x/dev/null"; then
   17944       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17945 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17946       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17947 	cat confcache >"$cache_file"
   17948       else
   17949         case $cache_file in #(
   17950         */* | ?:*)
   17951 	  mv -f confcache "$cache_file"$$ &&
   17952 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17953         *)
   17954 	  mv -f confcache "$cache_file" ;;
   17955 	esac
   17956       fi
   17957     fi
   17958   else
   17959     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17960 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17961   fi
   17962 fi
   17963 rm -f confcache
   17964 
   17965 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17966 # Let make expand exec_prefix.
   17967 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17968 
   17969 DEFS=-DHAVE_CONFIG_H
   17970 
   17971 ac_libobjs=
   17972 ac_ltlibobjs=
   17973 U=
   17974 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17975   # 1. Remove the extension, and $U if already installed.
   17976   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17977   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17978   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17979   #    will be set to the directory where LIBOBJS objects are built.
   17980   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17981   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17982 done
   17983 LIBOBJS=$ac_libobjs
   17984 
   17985 LTLIBOBJS=$ac_ltlibobjs
   17986 
   17987 
   17988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17989 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17990    if test -n "$am_sleep_pid"; then
   17991      # Hide warnings about reused PIDs.
   17992      wait $am_sleep_pid 2>/dev/null
   17993    fi
   17994    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17995 $as_echo "done" >&6; }
   17996  if test -n "$EXEEXT"; then
   17997   am__EXEEXT_TRUE=
   17998   am__EXEEXT_FALSE='#'
   17999 else
   18000   am__EXEEXT_TRUE='#'
   18001   am__EXEEXT_FALSE=
   18002 fi
   18003 
   18004 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18005   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18006 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18007 fi
   18008 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18009   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18010 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18011 fi
   18012 
   18013 : "${CONFIG_STATUS=./config.status}"
   18014 ac_write_fail=0
   18015 ac_clean_files_save=$ac_clean_files
   18016 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18017 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18018 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18019 as_write_fail=0
   18020 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18021 #! $SHELL
   18022 # Generated by $as_me.
   18023 # Run this file to recreate the current configuration.
   18024 # Compiler output produced by configure, useful for debugging
   18025 # configure, is in config.log if it exists.
   18026 
   18027 debug=false
   18028 ac_cs_recheck=false
   18029 ac_cs_silent=false
   18030 
   18031 SHELL=\${CONFIG_SHELL-$SHELL}
   18032 export SHELL
   18033 _ASEOF
   18034 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18035 ## -------------------- ##
   18036 ## M4sh Initialization. ##
   18037 ## -------------------- ##
   18038 
   18039 # Be more Bourne compatible
   18040 DUALCASE=1; export DUALCASE # for MKS sh
   18041 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18042   emulate sh
   18043   NULLCMD=:
   18044   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18045   # is contrary to our usage.  Disable this feature.
   18046   alias -g '${1+"$@"}'='"$@"'
   18047   setopt NO_GLOB_SUBST
   18048 else
   18049   case `(set -o) 2>/dev/null` in #(
   18050   *posix*) :
   18051     set -o posix ;; #(
   18052   *) :
   18053      ;;
   18054 esac
   18055 fi
   18056 
   18057 
   18058 as_nl='
   18059 '
   18060 export as_nl
   18061 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18062 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18063 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18064 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18065 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18066 # but without wasting forks for bash or zsh.
   18067 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18068     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18069   as_echo='print -r --'
   18070   as_echo_n='print -rn --'
   18071 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18072   as_echo='printf %s\n'
   18073   as_echo_n='printf %s'
   18074 else
   18075   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18076     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18077     as_echo_n='/usr/ucb/echo -n'
   18078   else
   18079     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18080     as_echo_n_body='eval
   18081       arg=$1;
   18082       case $arg in #(
   18083       *"$as_nl"*)
   18084 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18085 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18086       esac;
   18087       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18088     '
   18089     export as_echo_n_body
   18090     as_echo_n='sh -c $as_echo_n_body as_echo'
   18091   fi
   18092   export as_echo_body
   18093   as_echo='sh -c $as_echo_body as_echo'
   18094 fi
   18095 
   18096 # The user is always right.
   18097 if test "${PATH_SEPARATOR+set}" != set; then
   18098   PATH_SEPARATOR=:
   18099   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18100     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18101       PATH_SEPARATOR=';'
   18102   }
   18103 fi
   18104 
   18105 
   18106 # IFS
   18107 # We need space, tab and new line, in precisely that order.  Quoting is
   18108 # there to prevent editors from complaining about space-tab.
   18109 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18110 # splitting by setting IFS to empty value.)
   18111 IFS=" ""	$as_nl"
   18112 
   18113 # Find who we are.  Look in the path if we contain no directory separator.
   18114 as_myself=
   18115 case $0 in #((
   18116   *[\\/]* ) as_myself=$0 ;;
   18117   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18118 for as_dir in $PATH
   18119 do
   18120   IFS=$as_save_IFS
   18121   test -z "$as_dir" && as_dir=.
   18122     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18123   done
   18124 IFS=$as_save_IFS
   18125 
   18126      ;;
   18127 esac
   18128 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18129 # in which case we are not to be found in the path.
   18130 if test "x$as_myself" = x; then
   18131   as_myself=$0
   18132 fi
   18133 if test ! -f "$as_myself"; then
   18134   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18135   exit 1
   18136 fi
   18137 
   18138 # Unset variables that we do not need and which cause bugs (e.g. in
   18139 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18140 # suppresses any "Segmentation fault" message there.  '((' could
   18141 # trigger a bug in pdksh 5.2.14.
   18142 for as_var in BASH_ENV ENV MAIL MAILPATH
   18143 do eval test x\${$as_var+set} = xset \
   18144   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18145 done
   18146 PS1='$ '
   18147 PS2='> '
   18148 PS4='+ '
   18149 
   18150 # NLS nuisances.
   18151 LC_ALL=C
   18152 export LC_ALL
   18153 LANGUAGE=C
   18154 export LANGUAGE
   18155 
   18156 # CDPATH.
   18157 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18158 
   18159 
   18160 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18161 # ----------------------------------------
   18162 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18163 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18164 # script with STATUS, using 1 if that was 0.
   18165 as_fn_error ()
   18166 {
   18167   as_status=$1; test $as_status -eq 0 && as_status=1
   18168   if test "$4"; then
   18169     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18170     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18171   fi
   18172   $as_echo "$as_me: error: $2" >&2
   18173   as_fn_exit $as_status
   18174 } # as_fn_error
   18175 
   18176 
   18177 # as_fn_set_status STATUS
   18178 # -----------------------
   18179 # Set $? to STATUS, without forking.
   18180 as_fn_set_status ()
   18181 {
   18182   return $1
   18183 } # as_fn_set_status
   18184 
   18185 # as_fn_exit STATUS
   18186 # -----------------
   18187 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18188 as_fn_exit ()
   18189 {
   18190   set +e
   18191   as_fn_set_status $1
   18192   exit $1
   18193 } # as_fn_exit
   18194 
   18195 # as_fn_unset VAR
   18196 # ---------------
   18197 # Portably unset VAR.
   18198 as_fn_unset ()
   18199 {
   18200   { eval $1=; unset $1;}
   18201 }
   18202 as_unset=as_fn_unset
   18203 # as_fn_append VAR VALUE
   18204 # ----------------------
   18205 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18206 # advantage of any shell optimizations that allow amortized linear growth over
   18207 # repeated appends, instead of the typical quadratic growth present in naive
   18208 # implementations.
   18209 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18210   eval 'as_fn_append ()
   18211   {
   18212     eval $1+=\$2
   18213   }'
   18214 else
   18215   as_fn_append ()
   18216   {
   18217     eval $1=\$$1\$2
   18218   }
   18219 fi # as_fn_append
   18220 
   18221 # as_fn_arith ARG...
   18222 # ------------------
   18223 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18224 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18225 # must be portable across $(()) and expr.
   18226 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18227   eval 'as_fn_arith ()
   18228   {
   18229     as_val=$(( $* ))
   18230   }'
   18231 else
   18232   as_fn_arith ()
   18233   {
   18234     as_val=`expr "$@" || test $? -eq 1`
   18235   }
   18236 fi # as_fn_arith
   18237 
   18238 
   18239 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18240    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18241   as_expr=expr
   18242 else
   18243   as_expr=false
   18244 fi
   18245 
   18246 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18247   as_basename=basename
   18248 else
   18249   as_basename=false
   18250 fi
   18251 
   18252 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18253   as_dirname=dirname
   18254 else
   18255   as_dirname=false
   18256 fi
   18257 
   18258 as_me=`$as_basename -- "$0" ||
   18259 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18260 	 X"$0" : 'X\(//\)$' \| \
   18261 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18262 $as_echo X/"$0" |
   18263     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18264 	    s//\1/
   18265 	    q
   18266 	  }
   18267 	  /^X\/\(\/\/\)$/{
   18268 	    s//\1/
   18269 	    q
   18270 	  }
   18271 	  /^X\/\(\/\).*/{
   18272 	    s//\1/
   18273 	    q
   18274 	  }
   18275 	  s/.*/./; q'`
   18276 
   18277 # Avoid depending upon Character Ranges.
   18278 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18279 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18280 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18281 as_cr_digits='0123456789'
   18282 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18283 
   18284 ECHO_C= ECHO_N= ECHO_T=
   18285 case `echo -n x` in #(((((
   18286 -n*)
   18287   case `echo 'xy\c'` in
   18288   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18289   xy)  ECHO_C='\c';;
   18290   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18291        ECHO_T='	';;
   18292   esac;;
   18293 *)
   18294   ECHO_N='-n';;
   18295 esac
   18296 
   18297 rm -f conf$$ conf$$.exe conf$$.file
   18298 if test -d conf$$.dir; then
   18299   rm -f conf$$.dir/conf$$.file
   18300 else
   18301   rm -f conf$$.dir
   18302   mkdir conf$$.dir 2>/dev/null
   18303 fi
   18304 if (echo >conf$$.file) 2>/dev/null; then
   18305   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18306     as_ln_s='ln -s'
   18307     # ... but there are two gotchas:
   18308     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18309     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18310     # In both cases, we have to default to `cp -pR'.
   18311     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18312       as_ln_s='cp -pR'
   18313   elif ln conf$$.file conf$$ 2>/dev/null; then
   18314     as_ln_s=ln
   18315   else
   18316     as_ln_s='cp -pR'
   18317   fi
   18318 else
   18319   as_ln_s='cp -pR'
   18320 fi
   18321 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18322 rmdir conf$$.dir 2>/dev/null
   18323 
   18324 
   18325 # as_fn_mkdir_p
   18326 # -------------
   18327 # Create "$as_dir" as a directory, including parents if necessary.
   18328 as_fn_mkdir_p ()
   18329 {
   18330 
   18331   case $as_dir in #(
   18332   -*) as_dir=./$as_dir;;
   18333   esac
   18334   test -d "$as_dir" || eval $as_mkdir_p || {
   18335     as_dirs=
   18336     while :; do
   18337       case $as_dir in #(
   18338       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18339       *) as_qdir=$as_dir;;
   18340       esac
   18341       as_dirs="'$as_qdir' $as_dirs"
   18342       as_dir=`$as_dirname -- "$as_dir" ||
   18343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18344 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18345 	 X"$as_dir" : 'X\(//\)$' \| \
   18346 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18347 $as_echo X"$as_dir" |
   18348     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18349 	    s//\1/
   18350 	    q
   18351 	  }
   18352 	  /^X\(\/\/\)[^/].*/{
   18353 	    s//\1/
   18354 	    q
   18355 	  }
   18356 	  /^X\(\/\/\)$/{
   18357 	    s//\1/
   18358 	    q
   18359 	  }
   18360 	  /^X\(\/\).*/{
   18361 	    s//\1/
   18362 	    q
   18363 	  }
   18364 	  s/.*/./; q'`
   18365       test -d "$as_dir" && break
   18366     done
   18367     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18368   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18369 
   18370 
   18371 } # as_fn_mkdir_p
   18372 if mkdir -p . 2>/dev/null; then
   18373   as_mkdir_p='mkdir -p "$as_dir"'
   18374 else
   18375   test -d ./-p && rmdir ./-p
   18376   as_mkdir_p=false
   18377 fi
   18378 
   18379 
   18380 # as_fn_executable_p FILE
   18381 # -----------------------
   18382 # Test if FILE is an executable regular file.
   18383 as_fn_executable_p ()
   18384 {
   18385   test -f "$1" && test -x "$1"
   18386 } # as_fn_executable_p
   18387 as_test_x='test -x'
   18388 as_executable_p=as_fn_executable_p
   18389 
   18390 # Sed expression to map a string onto a valid CPP name.
   18391 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18392 
   18393 # Sed expression to map a string onto a valid variable name.
   18394 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18395 
   18396 
   18397 exec 6>&1
   18398 ## ----------------------------------- ##
   18399 ## Main body of $CONFIG_STATUS script. ##
   18400 ## ----------------------------------- ##
   18401 _ASEOF
   18402 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18403 
   18404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18405 # Save the log message, to keep $0 and so on meaningful, and to
   18406 # report actual input values of CONFIG_FILES etc. instead of their
   18407 # values after options handling.
   18408 ac_log="
   18409 This file was extended by libXfixes $as_me 5.0.3, which was
   18410 generated by GNU Autoconf 2.69.  Invocation command line was
   18411 
   18412   CONFIG_FILES    = $CONFIG_FILES
   18413   CONFIG_HEADERS  = $CONFIG_HEADERS
   18414   CONFIG_LINKS    = $CONFIG_LINKS
   18415   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18416   $ $0 $@
   18417 
   18418 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18419 "
   18420 
   18421 _ACEOF
   18422 
   18423 case $ac_config_files in *"
   18424 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18425 esac
   18426 
   18427 case $ac_config_headers in *"
   18428 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18429 esac
   18430 
   18431 
   18432 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18433 # Files that config.status was made for.
   18434 config_files="$ac_config_files"
   18435 config_headers="$ac_config_headers"
   18436 config_commands="$ac_config_commands"
   18437 
   18438 _ACEOF
   18439 
   18440 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18441 ac_cs_usage="\
   18442 \`$as_me' instantiates files and other configuration actions
   18443 from templates according to the current configuration.  Unless the files
   18444 and actions are specified as TAGs, all are instantiated by default.
   18445 
   18446 Usage: $0 [OPTION]... [TAG]...
   18447 
   18448   -h, --help       print this help, then exit
   18449   -V, --version    print version number and configuration settings, then exit
   18450       --config     print configuration, then exit
   18451   -q, --quiet, --silent
   18452                    do not print progress messages
   18453   -d, --debug      don't remove temporary files
   18454       --recheck    update $as_me by reconfiguring in the same conditions
   18455       --file=FILE[:TEMPLATE]
   18456                    instantiate the configuration file FILE
   18457       --header=FILE[:TEMPLATE]
   18458                    instantiate the configuration header FILE
   18459 
   18460 Configuration files:
   18461 $config_files
   18462 
   18463 Configuration headers:
   18464 $config_headers
   18465 
   18466 Configuration commands:
   18467 $config_commands
   18468 
   18469 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18470 
   18471 _ACEOF
   18472 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18473 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18474 ac_cs_version="\\
   18475 libXfixes config.status 5.0.3
   18476 configured by $0, generated by GNU Autoconf 2.69,
   18477   with options \\"\$ac_cs_config\\"
   18478 
   18479 Copyright (C) 2012 Free Software Foundation, Inc.
   18480 This config.status script is free software; the Free Software Foundation
   18481 gives unlimited permission to copy, distribute and modify it."
   18482 
   18483 ac_pwd='$ac_pwd'
   18484 srcdir='$srcdir'
   18485 INSTALL='$INSTALL'
   18486 MKDIR_P='$MKDIR_P'
   18487 AWK='$AWK'
   18488 test -n "\$AWK" || AWK=awk
   18489 _ACEOF
   18490 
   18491 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18492 # The default lists apply if the user does not specify any file.
   18493 ac_need_defaults=:
   18494 while test $# != 0
   18495 do
   18496   case $1 in
   18497   --*=?*)
   18498     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18499     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18500     ac_shift=:
   18501     ;;
   18502   --*=)
   18503     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18504     ac_optarg=
   18505     ac_shift=:
   18506     ;;
   18507   *)
   18508     ac_option=$1
   18509     ac_optarg=$2
   18510     ac_shift=shift
   18511     ;;
   18512   esac
   18513 
   18514   case $ac_option in
   18515   # Handling of the options.
   18516   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18517     ac_cs_recheck=: ;;
   18518   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18519     $as_echo "$ac_cs_version"; exit ;;
   18520   --config | --confi | --conf | --con | --co | --c )
   18521     $as_echo "$ac_cs_config"; exit ;;
   18522   --debug | --debu | --deb | --de | --d | -d )
   18523     debug=: ;;
   18524   --file | --fil | --fi | --f )
   18525     $ac_shift
   18526     case $ac_optarg in
   18527     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18528     '') as_fn_error $? "missing file argument" ;;
   18529     esac
   18530     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18531     ac_need_defaults=false;;
   18532   --header | --heade | --head | --hea )
   18533     $ac_shift
   18534     case $ac_optarg in
   18535     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18536     esac
   18537     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18538     ac_need_defaults=false;;
   18539   --he | --h)
   18540     # Conflict between --help and --header
   18541     as_fn_error $? "ambiguous option: \`$1'
   18542 Try \`$0 --help' for more information.";;
   18543   --help | --hel | -h )
   18544     $as_echo "$ac_cs_usage"; exit ;;
   18545   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18546   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18547     ac_cs_silent=: ;;
   18548 
   18549   # This is an error.
   18550   -*) as_fn_error $? "unrecognized option: \`$1'
   18551 Try \`$0 --help' for more information." ;;
   18552 
   18553   *) as_fn_append ac_config_targets " $1"
   18554      ac_need_defaults=false ;;
   18555 
   18556   esac
   18557   shift
   18558 done
   18559 
   18560 ac_configure_extra_args=
   18561 
   18562 if $ac_cs_silent; then
   18563   exec 6>/dev/null
   18564   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18565 fi
   18566 
   18567 _ACEOF
   18568 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18569 if \$ac_cs_recheck; then
   18570   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18571   shift
   18572   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18573   CONFIG_SHELL='$SHELL'
   18574   export CONFIG_SHELL
   18575   exec "\$@"
   18576 fi
   18577 
   18578 _ACEOF
   18579 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18580 exec 5>>config.log
   18581 {
   18582   echo
   18583   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18584 ## Running $as_me. ##
   18585 _ASBOX
   18586   $as_echo "$ac_log"
   18587 } >&5
   18588 
   18589 _ACEOF
   18590 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18591 #
   18592 # INIT-COMMANDS
   18593 #
   18594 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18595 
   18596 
   18597 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18598 # if CDPATH is set.
   18599 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18600 
   18601 sed_quote_subst='$sed_quote_subst'
   18602 double_quote_subst='$double_quote_subst'
   18603 delay_variable_subst='$delay_variable_subst'
   18604 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18605 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18606 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18607 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18608 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18609 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18610 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18611 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18612 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18613 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18614 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18615 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18616 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18617 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18618 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18619 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18620 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18621 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18622 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18623 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18624 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18625 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18626 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18627 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18628 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18629 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18630 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18631 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18632 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18633 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18634 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18635 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18636 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18637 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18638 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18639 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18640 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18641 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18642 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18643 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18644 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18645 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18646 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18647 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18648 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18649 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18650 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18651 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18652 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18653 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18654 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18655 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18656 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18657 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18658 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18659 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18660 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"`'
   18661 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18662 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18663 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18664 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18665 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18666 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18667 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18668 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18669 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18670 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18671 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18672 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18673 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18674 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18675 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18676 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18677 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18678 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18679 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18680 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18681 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18682 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18683 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18684 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18685 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18686 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18687 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18688 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18689 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18690 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18691 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18692 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18693 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18694 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18695 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18696 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18697 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18698 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18699 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18700 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18701 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18702 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18703 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18704 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18705 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18706 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18707 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18708 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18709 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18710 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18711 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18712 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18713 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18714 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18715 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18716 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18717 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18718 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18719 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18720 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18721 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18722 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18723 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18724 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18725 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18726 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18727 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18728 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18729 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18730 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18731 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18732 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18733 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18734 
   18735 LTCC='$LTCC'
   18736 LTCFLAGS='$LTCFLAGS'
   18737 compiler='$compiler_DEFAULT'
   18738 
   18739 # A function that is used when there is no print builtin or printf.
   18740 func_fallback_echo ()
   18741 {
   18742   eval 'cat <<_LTECHO_EOF
   18743 \$1
   18744 _LTECHO_EOF'
   18745 }
   18746 
   18747 # Quote evaled strings.
   18748 for var in SHELL \
   18749 ECHO \
   18750 PATH_SEPARATOR \
   18751 SED \
   18752 GREP \
   18753 EGREP \
   18754 FGREP \
   18755 LD \
   18756 NM \
   18757 LN_S \
   18758 lt_SP2NL \
   18759 lt_NL2SP \
   18760 reload_flag \
   18761 OBJDUMP \
   18762 deplibs_check_method \
   18763 file_magic_cmd \
   18764 file_magic_glob \
   18765 want_nocaseglob \
   18766 DLLTOOL \
   18767 sharedlib_from_linklib_cmd \
   18768 AR \
   18769 AR_FLAGS \
   18770 archiver_list_spec \
   18771 STRIP \
   18772 RANLIB \
   18773 CC \
   18774 CFLAGS \
   18775 compiler \
   18776 lt_cv_sys_global_symbol_pipe \
   18777 lt_cv_sys_global_symbol_to_cdecl \
   18778 lt_cv_sys_global_symbol_to_c_name_address \
   18779 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18780 nm_file_list_spec \
   18781 lt_prog_compiler_no_builtin_flag \
   18782 lt_prog_compiler_pic \
   18783 lt_prog_compiler_wl \
   18784 lt_prog_compiler_static \
   18785 lt_cv_prog_compiler_c_o \
   18786 need_locks \
   18787 MANIFEST_TOOL \
   18788 DSYMUTIL \
   18789 NMEDIT \
   18790 LIPO \
   18791 OTOOL \
   18792 OTOOL64 \
   18793 shrext_cmds \
   18794 export_dynamic_flag_spec \
   18795 whole_archive_flag_spec \
   18796 compiler_needs_object \
   18797 with_gnu_ld \
   18798 allow_undefined_flag \
   18799 no_undefined_flag \
   18800 hardcode_libdir_flag_spec \
   18801 hardcode_libdir_separator \
   18802 exclude_expsyms \
   18803 include_expsyms \
   18804 file_list_spec \
   18805 variables_saved_for_relink \
   18806 libname_spec \
   18807 library_names_spec \
   18808 soname_spec \
   18809 install_override_mode \
   18810 finish_eval \
   18811 old_striplib \
   18812 striplib; do
   18813     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18814     *[\\\\\\\`\\"\\\$]*)
   18815       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18816       ;;
   18817     *)
   18818       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18819       ;;
   18820     esac
   18821 done
   18822 
   18823 # Double-quote double-evaled strings.
   18824 for var in reload_cmds \
   18825 old_postinstall_cmds \
   18826 old_postuninstall_cmds \
   18827 old_archive_cmds \
   18828 extract_expsyms_cmds \
   18829 old_archive_from_new_cmds \
   18830 old_archive_from_expsyms_cmds \
   18831 archive_cmds \
   18832 archive_expsym_cmds \
   18833 module_cmds \
   18834 module_expsym_cmds \
   18835 export_symbols_cmds \
   18836 prelink_cmds \
   18837 postlink_cmds \
   18838 postinstall_cmds \
   18839 postuninstall_cmds \
   18840 finish_cmds \
   18841 sys_lib_search_path_spec \
   18842 sys_lib_dlsearch_path_spec; do
   18843     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18844     *[\\\\\\\`\\"\\\$]*)
   18845       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18846       ;;
   18847     *)
   18848       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18849       ;;
   18850     esac
   18851 done
   18852 
   18853 ac_aux_dir='$ac_aux_dir'
   18854 xsi_shell='$xsi_shell'
   18855 lt_shell_append='$lt_shell_append'
   18856 
   18857 # See if we are running on zsh, and set the options which allow our
   18858 # commands through without removal of \ escapes INIT.
   18859 if test -n "\${ZSH_VERSION+set}" ; then
   18860    setopt NO_GLOB_SUBST
   18861 fi
   18862 
   18863 
   18864     PACKAGE='$PACKAGE'
   18865     VERSION='$VERSION'
   18866     TIMESTAMP='$TIMESTAMP'
   18867     RM='$RM'
   18868     ofile='$ofile'
   18869 
   18870 
   18871 
   18872 
   18873 _ACEOF
   18874 
   18875 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18876 
   18877 # Handling of arguments.
   18878 for ac_config_target in $ac_config_targets
   18879 do
   18880   case $ac_config_target in
   18881     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18882     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18883     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18884     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18885     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18886     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18887     "xfixes.pc") CONFIG_FILES="$CONFIG_FILES xfixes.pc" ;;
   18888 
   18889   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18890   esac
   18891 done
   18892 
   18893 
   18894 # If the user did not use the arguments to specify the items to instantiate,
   18895 # then the envvar interface is used.  Set only those that are not.
   18896 # We use the long form for the default assignment because of an extremely
   18897 # bizarre bug on SunOS 4.1.3.
   18898 if $ac_need_defaults; then
   18899   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18900   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18901   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18902 fi
   18903 
   18904 # Have a temporary directory for convenience.  Make it in the build tree
   18905 # simply because there is no reason against having it here, and in addition,
   18906 # creating and moving files from /tmp can sometimes cause problems.
   18907 # Hook for its removal unless debugging.
   18908 # Note that there is a small window in which the directory will not be cleaned:
   18909 # after its creation but before its name has been assigned to `$tmp'.
   18910 $debug ||
   18911 {
   18912   tmp= ac_tmp=
   18913   trap 'exit_status=$?
   18914   : "${ac_tmp:=$tmp}"
   18915   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18916 ' 0
   18917   trap 'as_fn_exit 1' 1 2 13 15
   18918 }
   18919 # Create a (secure) tmp directory for tmp files.
   18920 
   18921 {
   18922   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18923   test -d "$tmp"
   18924 }  ||
   18925 {
   18926   tmp=./conf$$-$RANDOM
   18927   (umask 077 && mkdir "$tmp")
   18928 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18929 ac_tmp=$tmp
   18930 
   18931 # Set up the scripts for CONFIG_FILES section.
   18932 # No need to generate them if there are no CONFIG_FILES.
   18933 # This happens for instance with `./config.status config.h'.
   18934 if test -n "$CONFIG_FILES"; then
   18935 
   18936 
   18937 ac_cr=`echo X | tr X '\015'`
   18938 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18939 # But we know of no other shell where ac_cr would be empty at this
   18940 # point, so we can use a bashism as a fallback.
   18941 if test "x$ac_cr" = x; then
   18942   eval ac_cr=\$\'\\r\'
   18943 fi
   18944 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18945 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18946   ac_cs_awk_cr='\\r'
   18947 else
   18948   ac_cs_awk_cr=$ac_cr
   18949 fi
   18950 
   18951 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18952 _ACEOF
   18953 
   18954 
   18955 {
   18956   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18957   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18958   echo "_ACEOF"
   18959 } >conf$$subs.sh ||
   18960   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18961 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18962 ac_delim='%!_!# '
   18963 for ac_last_try in false false false false false :; do
   18964   . ./conf$$subs.sh ||
   18965     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18966 
   18967   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18968   if test $ac_delim_n = $ac_delim_num; then
   18969     break
   18970   elif $ac_last_try; then
   18971     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18972   else
   18973     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18974   fi
   18975 done
   18976 rm -f conf$$subs.sh
   18977 
   18978 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18979 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18980 _ACEOF
   18981 sed -n '
   18982 h
   18983 s/^/S["/; s/!.*/"]=/
   18984 p
   18985 g
   18986 s/^[^!]*!//
   18987 :repl
   18988 t repl
   18989 s/'"$ac_delim"'$//
   18990 t delim
   18991 :nl
   18992 h
   18993 s/\(.\{148\}\)..*/\1/
   18994 t more1
   18995 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18996 p
   18997 n
   18998 b repl
   18999 :more1
   19000 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19001 p
   19002 g
   19003 s/.\{148\}//
   19004 t nl
   19005 :delim
   19006 h
   19007 s/\(.\{148\}\)..*/\1/
   19008 t more2
   19009 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19010 p
   19011 b
   19012 :more2
   19013 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19014 p
   19015 g
   19016 s/.\{148\}//
   19017 t delim
   19018 ' <conf$$subs.awk | sed '
   19019 /^[^""]/{
   19020   N
   19021   s/\n//
   19022 }
   19023 ' >>$CONFIG_STATUS || ac_write_fail=1
   19024 rm -f conf$$subs.awk
   19025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19026 _ACAWK
   19027 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19028   for (key in S) S_is_set[key] = 1
   19029   FS = ""
   19030 
   19031 }
   19032 {
   19033   line = $ 0
   19034   nfields = split(line, field, "@")
   19035   substed = 0
   19036   len = length(field[1])
   19037   for (i = 2; i < nfields; i++) {
   19038     key = field[i]
   19039     keylen = length(key)
   19040     if (S_is_set[key]) {
   19041       value = S[key]
   19042       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19043       len += length(value) + length(field[++i])
   19044       substed = 1
   19045     } else
   19046       len += 1 + keylen
   19047   }
   19048 
   19049   print line
   19050 }
   19051 
   19052 _ACAWK
   19053 _ACEOF
   19054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19055 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19056   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19057 else
   19058   cat
   19059 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19060   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19061 _ACEOF
   19062 
   19063 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19064 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19065 # trailing colons and then remove the whole line if VPATH becomes empty
   19066 # (actually we leave an empty line to preserve line numbers).
   19067 if test "x$srcdir" = x.; then
   19068   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19069 h
   19070 s///
   19071 s/^/:/
   19072 s/[	 ]*$/:/
   19073 s/:\$(srcdir):/:/g
   19074 s/:\${srcdir}:/:/g
   19075 s/:@srcdir@:/:/g
   19076 s/^:*//
   19077 s/:*$//
   19078 x
   19079 s/\(=[	 ]*\).*/\1/
   19080 G
   19081 s/\n//
   19082 s/^[^=]*=[	 ]*$//
   19083 }'
   19084 fi
   19085 
   19086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19087 fi # test -n "$CONFIG_FILES"
   19088 
   19089 # Set up the scripts for CONFIG_HEADERS section.
   19090 # No need to generate them if there are no CONFIG_HEADERS.
   19091 # This happens for instance with `./config.status Makefile'.
   19092 if test -n "$CONFIG_HEADERS"; then
   19093 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19094 BEGIN {
   19095 _ACEOF
   19096 
   19097 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19098 # here-document in config.status, that substitutes the proper values into
   19099 # config.h.in to produce config.h.
   19100 
   19101 # Create a delimiter string that does not exist in confdefs.h, to ease
   19102 # handling of long lines.
   19103 ac_delim='%!_!# '
   19104 for ac_last_try in false false :; do
   19105   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19106   if test -z "$ac_tt"; then
   19107     break
   19108   elif $ac_last_try; then
   19109     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19110   else
   19111     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19112   fi
   19113 done
   19114 
   19115 # For the awk script, D is an array of macro values keyed by name,
   19116 # likewise P contains macro parameters if any.  Preserve backslash
   19117 # newline sequences.
   19118 
   19119 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19120 sed -n '
   19121 s/.\{148\}/&'"$ac_delim"'/g
   19122 t rset
   19123 :rset
   19124 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19125 t def
   19126 d
   19127 :def
   19128 s/\\$//
   19129 t bsnl
   19130 s/["\\]/\\&/g
   19131 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19132 D["\1"]=" \3"/p
   19133 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19134 d
   19135 :bsnl
   19136 s/["\\]/\\&/g
   19137 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19138 D["\1"]=" \3\\\\\\n"\\/p
   19139 t cont
   19140 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19141 t cont
   19142 d
   19143 :cont
   19144 n
   19145 s/.\{148\}/&'"$ac_delim"'/g
   19146 t clear
   19147 :clear
   19148 s/\\$//
   19149 t bsnlc
   19150 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19151 d
   19152 :bsnlc
   19153 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19154 b cont
   19155 ' <confdefs.h | sed '
   19156 s/'"$ac_delim"'/"\\\
   19157 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19158 
   19159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19160   for (key in D) D_is_set[key] = 1
   19161   FS = ""
   19162 }
   19163 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19164   line = \$ 0
   19165   split(line, arg, " ")
   19166   if (arg[1] == "#") {
   19167     defundef = arg[2]
   19168     mac1 = arg[3]
   19169   } else {
   19170     defundef = substr(arg[1], 2)
   19171     mac1 = arg[2]
   19172   }
   19173   split(mac1, mac2, "(") #)
   19174   macro = mac2[1]
   19175   prefix = substr(line, 1, index(line, defundef) - 1)
   19176   if (D_is_set[macro]) {
   19177     # Preserve the white space surrounding the "#".
   19178     print prefix "define", macro P[macro] D[macro]
   19179     next
   19180   } else {
   19181     # Replace #undef with comments.  This is necessary, for example,
   19182     # in the case of _POSIX_SOURCE, which is predefined and required
   19183     # on some systems where configure will not decide to define it.
   19184     if (defundef == "undef") {
   19185       print "/*", prefix defundef, macro, "*/"
   19186       next
   19187     }
   19188   }
   19189 }
   19190 { print }
   19191 _ACAWK
   19192 _ACEOF
   19193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19194   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19195 fi # test -n "$CONFIG_HEADERS"
   19196 
   19197 
   19198 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19199 shift
   19200 for ac_tag
   19201 do
   19202   case $ac_tag in
   19203   :[FHLC]) ac_mode=$ac_tag; continue;;
   19204   esac
   19205   case $ac_mode$ac_tag in
   19206   :[FHL]*:*);;
   19207   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19208   :[FH]-) ac_tag=-:-;;
   19209   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19210   esac
   19211   ac_save_IFS=$IFS
   19212   IFS=:
   19213   set x $ac_tag
   19214   IFS=$ac_save_IFS
   19215   shift
   19216   ac_file=$1
   19217   shift
   19218 
   19219   case $ac_mode in
   19220   :L) ac_source=$1;;
   19221   :[FH])
   19222     ac_file_inputs=
   19223     for ac_f
   19224     do
   19225       case $ac_f in
   19226       -) ac_f="$ac_tmp/stdin";;
   19227       *) # Look for the file first in the build tree, then in the source tree
   19228 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19229 	 # because $ac_f cannot contain `:'.
   19230 	 test -f "$ac_f" ||
   19231 	   case $ac_f in
   19232 	   [\\/$]*) false;;
   19233 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19234 	   esac ||
   19235 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19236       esac
   19237       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19238       as_fn_append ac_file_inputs " '$ac_f'"
   19239     done
   19240 
   19241     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19242     # use $as_me), people would be surprised to read:
   19243     #    /* config.h.  Generated by config.status.  */
   19244     configure_input='Generated from '`
   19245 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19246 	`' by configure.'
   19247     if test x"$ac_file" != x-; then
   19248       configure_input="$ac_file.  $configure_input"
   19249       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19250 $as_echo "$as_me: creating $ac_file" >&6;}
   19251     fi
   19252     # Neutralize special characters interpreted by sed in replacement strings.
   19253     case $configure_input in #(
   19254     *\&* | *\|* | *\\* )
   19255        ac_sed_conf_input=`$as_echo "$configure_input" |
   19256        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19257     *) ac_sed_conf_input=$configure_input;;
   19258     esac
   19259 
   19260     case $ac_tag in
   19261     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19262       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19263     esac
   19264     ;;
   19265   esac
   19266 
   19267   ac_dir=`$as_dirname -- "$ac_file" ||
   19268 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19269 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19270 	 X"$ac_file" : 'X\(//\)$' \| \
   19271 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19272 $as_echo X"$ac_file" |
   19273     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19274 	    s//\1/
   19275 	    q
   19276 	  }
   19277 	  /^X\(\/\/\)[^/].*/{
   19278 	    s//\1/
   19279 	    q
   19280 	  }
   19281 	  /^X\(\/\/\)$/{
   19282 	    s//\1/
   19283 	    q
   19284 	  }
   19285 	  /^X\(\/\).*/{
   19286 	    s//\1/
   19287 	    q
   19288 	  }
   19289 	  s/.*/./; q'`
   19290   as_dir="$ac_dir"; as_fn_mkdir_p
   19291   ac_builddir=.
   19292 
   19293 case "$ac_dir" in
   19294 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19295 *)
   19296   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19297   # A ".." for each directory in $ac_dir_suffix.
   19298   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19299   case $ac_top_builddir_sub in
   19300   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19301   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19302   esac ;;
   19303 esac
   19304 ac_abs_top_builddir=$ac_pwd
   19305 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19306 # for backward compatibility:
   19307 ac_top_builddir=$ac_top_build_prefix
   19308 
   19309 case $srcdir in
   19310   .)  # We are building in place.
   19311     ac_srcdir=.
   19312     ac_top_srcdir=$ac_top_builddir_sub
   19313     ac_abs_top_srcdir=$ac_pwd ;;
   19314   [\\/]* | ?:[\\/]* )  # Absolute name.
   19315     ac_srcdir=$srcdir$ac_dir_suffix;
   19316     ac_top_srcdir=$srcdir
   19317     ac_abs_top_srcdir=$srcdir ;;
   19318   *) # Relative name.
   19319     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19320     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19321     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19322 esac
   19323 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19324 
   19325 
   19326   case $ac_mode in
   19327   :F)
   19328   #
   19329   # CONFIG_FILE
   19330   #
   19331 
   19332   case $INSTALL in
   19333   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19334   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19335   esac
   19336   ac_MKDIR_P=$MKDIR_P
   19337   case $MKDIR_P in
   19338   [\\/$]* | ?:[\\/]* ) ;;
   19339   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19340   esac
   19341 _ACEOF
   19342 
   19343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19344 # If the template does not know about datarootdir, expand it.
   19345 # FIXME: This hack should be removed a few years after 2.60.
   19346 ac_datarootdir_hack=; ac_datarootdir_seen=
   19347 ac_sed_dataroot='
   19348 /datarootdir/ {
   19349   p
   19350   q
   19351 }
   19352 /@datadir@/p
   19353 /@docdir@/p
   19354 /@infodir@/p
   19355 /@localedir@/p
   19356 /@mandir@/p'
   19357 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19358 *datarootdir*) ac_datarootdir_seen=yes;;
   19359 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19360   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19361 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19362 _ACEOF
   19363 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19364   ac_datarootdir_hack='
   19365   s&@datadir@&$datadir&g
   19366   s&@docdir@&$docdir&g
   19367   s&@infodir@&$infodir&g
   19368   s&@localedir@&$localedir&g
   19369   s&@mandir@&$mandir&g
   19370   s&\\\${datarootdir}&$datarootdir&g' ;;
   19371 esac
   19372 _ACEOF
   19373 
   19374 # Neutralize VPATH when `$srcdir' = `.'.
   19375 # Shell code in configure.ac might set extrasub.
   19376 # FIXME: do we really want to maintain this feature?
   19377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19378 ac_sed_extra="$ac_vpsub
   19379 $extrasub
   19380 _ACEOF
   19381 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19382 :t
   19383 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19384 s|@configure_input@|$ac_sed_conf_input|;t t
   19385 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19386 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19387 s&@srcdir@&$ac_srcdir&;t t
   19388 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19389 s&@top_srcdir@&$ac_top_srcdir&;t t
   19390 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19391 s&@builddir@&$ac_builddir&;t t
   19392 s&@abs_builddir@&$ac_abs_builddir&;t t
   19393 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19394 s&@INSTALL@&$ac_INSTALL&;t t
   19395 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19396 $ac_datarootdir_hack
   19397 "
   19398 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19399   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19400 
   19401 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19402   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19403   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19404       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19405   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19406 which seems to be undefined.  Please make sure it is defined" >&5
   19407 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19408 which seems to be undefined.  Please make sure it is defined" >&2;}
   19409 
   19410   rm -f "$ac_tmp/stdin"
   19411   case $ac_file in
   19412   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19413   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19414   esac \
   19415   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19416  ;;
   19417   :H)
   19418   #
   19419   # CONFIG_HEADER
   19420   #
   19421   if test x"$ac_file" != x-; then
   19422     {
   19423       $as_echo "/* $configure_input  */" \
   19424       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19425     } >"$ac_tmp/config.h" \
   19426       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19427     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19428       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19429 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19430     else
   19431       rm -f "$ac_file"
   19432       mv "$ac_tmp/config.h" "$ac_file" \
   19433 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19434     fi
   19435   else
   19436     $as_echo "/* $configure_input  */" \
   19437       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19438       || as_fn_error $? "could not create -" "$LINENO" 5
   19439   fi
   19440 # Compute "$ac_file"'s index in $config_headers.
   19441 _am_arg="$ac_file"
   19442 _am_stamp_count=1
   19443 for _am_header in $config_headers :; do
   19444   case $_am_header in
   19445     $_am_arg | $_am_arg:* )
   19446       break ;;
   19447     * )
   19448       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19449   esac
   19450 done
   19451 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19452 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19453 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19454 	 X"$_am_arg" : 'X\(//\)$' \| \
   19455 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19456 $as_echo X"$_am_arg" |
   19457     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19458 	    s//\1/
   19459 	    q
   19460 	  }
   19461 	  /^X\(\/\/\)[^/].*/{
   19462 	    s//\1/
   19463 	    q
   19464 	  }
   19465 	  /^X\(\/\/\)$/{
   19466 	    s//\1/
   19467 	    q
   19468 	  }
   19469 	  /^X\(\/\).*/{
   19470 	    s//\1/
   19471 	    q
   19472 	  }
   19473 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19474  ;;
   19475 
   19476   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19477 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19478  ;;
   19479   esac
   19480 
   19481 
   19482   case $ac_file$ac_mode in
   19483     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19484   # Older Autoconf quotes --file arguments for eval, but not when files
   19485   # are listed without --file.  Let's play safe and only enable the eval
   19486   # if we detect the quoting.
   19487   case $CONFIG_FILES in
   19488   *\'*) eval set x "$CONFIG_FILES" ;;
   19489   *)   set x $CONFIG_FILES ;;
   19490   esac
   19491   shift
   19492   for mf
   19493   do
   19494     # Strip MF so we end up with the name of the file.
   19495     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19496     # Check whether this is an Automake generated Makefile or not.
   19497     # We used to match only the files named 'Makefile.in', but
   19498     # some people rename them; so instead we look at the file content.
   19499     # Grep'ing the first line is not enough: some people post-process
   19500     # each Makefile.in and add a new line on top of each file to say so.
   19501     # Grep'ing the whole file is not good either: AIX grep has a line
   19502     # limit of 2048, but all sed's we know have understand at least 4000.
   19503     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19504       dirpart=`$as_dirname -- "$mf" ||
   19505 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19506 	 X"$mf" : 'X\(//\)[^/]' \| \
   19507 	 X"$mf" : 'X\(//\)$' \| \
   19508 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19509 $as_echo X"$mf" |
   19510     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19511 	    s//\1/
   19512 	    q
   19513 	  }
   19514 	  /^X\(\/\/\)[^/].*/{
   19515 	    s//\1/
   19516 	    q
   19517 	  }
   19518 	  /^X\(\/\/\)$/{
   19519 	    s//\1/
   19520 	    q
   19521 	  }
   19522 	  /^X\(\/\).*/{
   19523 	    s//\1/
   19524 	    q
   19525 	  }
   19526 	  s/.*/./; q'`
   19527     else
   19528       continue
   19529     fi
   19530     # Extract the definition of DEPDIR, am__include, and am__quote
   19531     # from the Makefile without running 'make'.
   19532     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19533     test -z "$DEPDIR" && continue
   19534     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19535     test -z "$am__include" && continue
   19536     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19537     # Find all dependency output files, they are included files with
   19538     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19539     # simplest approach to changing $(DEPDIR) to its actual value in the
   19540     # expansion.
   19541     for file in `sed -n "
   19542       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19543 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19544       # Make sure the directory exists.
   19545       test -f "$dirpart/$file" && continue
   19546       fdir=`$as_dirname -- "$file" ||
   19547 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19548 	 X"$file" : 'X\(//\)[^/]' \| \
   19549 	 X"$file" : 'X\(//\)$' \| \
   19550 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19551 $as_echo X"$file" |
   19552     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19553 	    s//\1/
   19554 	    q
   19555 	  }
   19556 	  /^X\(\/\/\)[^/].*/{
   19557 	    s//\1/
   19558 	    q
   19559 	  }
   19560 	  /^X\(\/\/\)$/{
   19561 	    s//\1/
   19562 	    q
   19563 	  }
   19564 	  /^X\(\/\).*/{
   19565 	    s//\1/
   19566 	    q
   19567 	  }
   19568 	  s/.*/./; q'`
   19569       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19570       # echo "creating $dirpart/$file"
   19571       echo '# dummy' > "$dirpart/$file"
   19572     done
   19573   done
   19574 }
   19575  ;;
   19576     "libtool":C)
   19577 
   19578     # See if we are running on zsh, and set the options which allow our
   19579     # commands through without removal of \ escapes.
   19580     if test -n "${ZSH_VERSION+set}" ; then
   19581       setopt NO_GLOB_SUBST
   19582     fi
   19583 
   19584     cfgfile="${ofile}T"
   19585     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19586     $RM "$cfgfile"
   19587 
   19588     cat <<_LT_EOF >> "$cfgfile"
   19589 #! $SHELL
   19590 
   19591 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19592 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19593 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19594 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19595 #
   19596 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19597 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19598 #                 Foundation, Inc.
   19599 #   Written by Gordon Matzigkeit, 1996
   19600 #
   19601 #   This file is part of GNU Libtool.
   19602 #
   19603 # GNU Libtool is free software; you can redistribute it and/or
   19604 # modify it under the terms of the GNU General Public License as
   19605 # published by the Free Software Foundation; either version 2 of
   19606 # the License, or (at your option) any later version.
   19607 #
   19608 # As a special exception to the GNU General Public License,
   19609 # if you distribute this file as part of a program or library that
   19610 # is built using GNU Libtool, you may include this file under the
   19611 # same distribution terms that you use for the rest of that program.
   19612 #
   19613 # GNU Libtool is distributed in the hope that it will be useful,
   19614 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19615 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19616 # GNU General Public License for more details.
   19617 #
   19618 # You should have received a copy of the GNU General Public License
   19619 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19620 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19621 # obtained by writing to the Free Software Foundation, Inc.,
   19622 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19623 
   19624 
   19625 # The names of the tagged configurations supported by this script.
   19626 available_tags=""
   19627 
   19628 # ### BEGIN LIBTOOL CONFIG
   19629 
   19630 # Which release of libtool.m4 was used?
   19631 macro_version=$macro_version
   19632 macro_revision=$macro_revision
   19633 
   19634 # Whether or not to build shared libraries.
   19635 build_libtool_libs=$enable_shared
   19636 
   19637 # Whether or not to build static libraries.
   19638 build_old_libs=$enable_static
   19639 
   19640 # What type of objects to build.
   19641 pic_mode=$pic_mode
   19642 
   19643 # Whether or not to optimize for fast installation.
   19644 fast_install=$enable_fast_install
   19645 
   19646 # Shell to use when invoking shell scripts.
   19647 SHELL=$lt_SHELL
   19648 
   19649 # An echo program that protects backslashes.
   19650 ECHO=$lt_ECHO
   19651 
   19652 # The PATH separator for the build system.
   19653 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19654 
   19655 # The host system.
   19656 host_alias=$host_alias
   19657 host=$host
   19658 host_os=$host_os
   19659 
   19660 # The build system.
   19661 build_alias=$build_alias
   19662 build=$build
   19663 build_os=$build_os
   19664 
   19665 # A sed program that does not truncate output.
   19666 SED=$lt_SED
   19667 
   19668 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19669 Xsed="\$SED -e 1s/^X//"
   19670 
   19671 # A grep program that handles long lines.
   19672 GREP=$lt_GREP
   19673 
   19674 # An ERE matcher.
   19675 EGREP=$lt_EGREP
   19676 
   19677 # A literal string matcher.
   19678 FGREP=$lt_FGREP
   19679 
   19680 # A BSD- or MS-compatible name lister.
   19681 NM=$lt_NM
   19682 
   19683 # Whether we need soft or hard links.
   19684 LN_S=$lt_LN_S
   19685 
   19686 # What is the maximum length of a command?
   19687 max_cmd_len=$max_cmd_len
   19688 
   19689 # Object file suffix (normally "o").
   19690 objext=$ac_objext
   19691 
   19692 # Executable file suffix (normally "").
   19693 exeext=$exeext
   19694 
   19695 # whether the shell understands "unset".
   19696 lt_unset=$lt_unset
   19697 
   19698 # turn spaces into newlines.
   19699 SP2NL=$lt_lt_SP2NL
   19700 
   19701 # turn newlines into spaces.
   19702 NL2SP=$lt_lt_NL2SP
   19703 
   19704 # convert \$build file names to \$host format.
   19705 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19706 
   19707 # convert \$build files to toolchain format.
   19708 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19709 
   19710 # An object symbol dumper.
   19711 OBJDUMP=$lt_OBJDUMP
   19712 
   19713 # Method to check whether dependent libraries are shared objects.
   19714 deplibs_check_method=$lt_deplibs_check_method
   19715 
   19716 # Command to use when deplibs_check_method = "file_magic".
   19717 file_magic_cmd=$lt_file_magic_cmd
   19718 
   19719 # How to find potential files when deplibs_check_method = "file_magic".
   19720 file_magic_glob=$lt_file_magic_glob
   19721 
   19722 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19723 want_nocaseglob=$lt_want_nocaseglob
   19724 
   19725 # DLL creation program.
   19726 DLLTOOL=$lt_DLLTOOL
   19727 
   19728 # Command to associate shared and link libraries.
   19729 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19730 
   19731 # The archiver.
   19732 AR=$lt_AR
   19733 
   19734 # Flags to create an archive.
   19735 AR_FLAGS=$lt_AR_FLAGS
   19736 
   19737 # How to feed a file listing to the archiver.
   19738 archiver_list_spec=$lt_archiver_list_spec
   19739 
   19740 # A symbol stripping program.
   19741 STRIP=$lt_STRIP
   19742 
   19743 # Commands used to install an old-style archive.
   19744 RANLIB=$lt_RANLIB
   19745 old_postinstall_cmds=$lt_old_postinstall_cmds
   19746 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19747 
   19748 # Whether to use a lock for old archive extraction.
   19749 lock_old_archive_extraction=$lock_old_archive_extraction
   19750 
   19751 # A C compiler.
   19752 LTCC=$lt_CC
   19753 
   19754 # LTCC compiler flags.
   19755 LTCFLAGS=$lt_CFLAGS
   19756 
   19757 # Take the output of nm and produce a listing of raw symbols and C names.
   19758 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19759 
   19760 # Transform the output of nm in a proper C declaration.
   19761 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19762 
   19763 # Transform the output of nm in a C name address pair.
   19764 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19765 
   19766 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19767 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19768 
   19769 # Specify filename containing input files for \$NM.
   19770 nm_file_list_spec=$lt_nm_file_list_spec
   19771 
   19772 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19773 lt_sysroot=$lt_sysroot
   19774 
   19775 # The name of the directory that contains temporary libtool files.
   19776 objdir=$objdir
   19777 
   19778 # Used to examine libraries when file_magic_cmd begins with "file".
   19779 MAGIC_CMD=$MAGIC_CMD
   19780 
   19781 # Must we lock files when doing compilation?
   19782 need_locks=$lt_need_locks
   19783 
   19784 # Manifest tool.
   19785 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19786 
   19787 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19788 DSYMUTIL=$lt_DSYMUTIL
   19789 
   19790 # Tool to change global to local symbols on Mac OS X.
   19791 NMEDIT=$lt_NMEDIT
   19792 
   19793 # Tool to manipulate fat objects and archives on Mac OS X.
   19794 LIPO=$lt_LIPO
   19795 
   19796 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19797 OTOOL=$lt_OTOOL
   19798 
   19799 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19800 OTOOL64=$lt_OTOOL64
   19801 
   19802 # Old archive suffix (normally "a").
   19803 libext=$libext
   19804 
   19805 # Shared library suffix (normally ".so").
   19806 shrext_cmds=$lt_shrext_cmds
   19807 
   19808 # The commands to extract the exported symbol list from a shared archive.
   19809 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19810 
   19811 # Variables whose values should be saved in libtool wrapper scripts and
   19812 # restored at link time.
   19813 variables_saved_for_relink=$lt_variables_saved_for_relink
   19814 
   19815 # Do we need the "lib" prefix for modules?
   19816 need_lib_prefix=$need_lib_prefix
   19817 
   19818 # Do we need a version for libraries?
   19819 need_version=$need_version
   19820 
   19821 # Library versioning type.
   19822 version_type=$version_type
   19823 
   19824 # Shared library runtime path variable.
   19825 runpath_var=$runpath_var
   19826 
   19827 # Shared library path variable.
   19828 shlibpath_var=$shlibpath_var
   19829 
   19830 # Is shlibpath searched before the hard-coded library search path?
   19831 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19832 
   19833 # Format of library name prefix.
   19834 libname_spec=$lt_libname_spec
   19835 
   19836 # List of archive names.  First name is the real one, the rest are links.
   19837 # The last name is the one that the linker finds with -lNAME
   19838 library_names_spec=$lt_library_names_spec
   19839 
   19840 # The coded name of the library, if different from the real name.
   19841 soname_spec=$lt_soname_spec
   19842 
   19843 # Permission mode override for installation of shared libraries.
   19844 install_override_mode=$lt_install_override_mode
   19845 
   19846 # Command to use after installation of a shared archive.
   19847 postinstall_cmds=$lt_postinstall_cmds
   19848 
   19849 # Command to use after uninstallation of a shared archive.
   19850 postuninstall_cmds=$lt_postuninstall_cmds
   19851 
   19852 # Commands used to finish a libtool library installation in a directory.
   19853 finish_cmds=$lt_finish_cmds
   19854 
   19855 # As "finish_cmds", except a single script fragment to be evaled but
   19856 # not shown.
   19857 finish_eval=$lt_finish_eval
   19858 
   19859 # Whether we should hardcode library paths into libraries.
   19860 hardcode_into_libs=$hardcode_into_libs
   19861 
   19862 # Compile-time system search path for libraries.
   19863 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19864 
   19865 # Run-time system search path for libraries.
   19866 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19867 
   19868 # Whether dlopen is supported.
   19869 dlopen_support=$enable_dlopen
   19870 
   19871 # Whether dlopen of programs is supported.
   19872 dlopen_self=$enable_dlopen_self
   19873 
   19874 # Whether dlopen of statically linked programs is supported.
   19875 dlopen_self_static=$enable_dlopen_self_static
   19876 
   19877 # Commands to strip libraries.
   19878 old_striplib=$lt_old_striplib
   19879 striplib=$lt_striplib
   19880 
   19881 
   19882 # The linker used to build libraries.
   19883 LD=$lt_LD
   19884 
   19885 # How to create reloadable object files.
   19886 reload_flag=$lt_reload_flag
   19887 reload_cmds=$lt_reload_cmds
   19888 
   19889 # Commands used to build an old-style archive.
   19890 old_archive_cmds=$lt_old_archive_cmds
   19891 
   19892 # A language specific compiler.
   19893 CC=$lt_compiler
   19894 
   19895 # Is the compiler the GNU compiler?
   19896 with_gcc=$GCC
   19897 
   19898 # Compiler flag to turn off builtin functions.
   19899 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19900 
   19901 # Additional compiler flags for building library objects.
   19902 pic_flag=$lt_lt_prog_compiler_pic
   19903 
   19904 # How to pass a linker flag through the compiler.
   19905 wl=$lt_lt_prog_compiler_wl
   19906 
   19907 # Compiler flag to prevent dynamic linking.
   19908 link_static_flag=$lt_lt_prog_compiler_static
   19909 
   19910 # Does compiler simultaneously support -c and -o options?
   19911 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19912 
   19913 # Whether or not to add -lc for building shared libraries.
   19914 build_libtool_need_lc=$archive_cmds_need_lc
   19915 
   19916 # Whether or not to disallow shared libs when runtime libs are static.
   19917 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19918 
   19919 # Compiler flag to allow reflexive dlopens.
   19920 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19921 
   19922 # Compiler flag to generate shared objects directly from archives.
   19923 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19924 
   19925 # Whether the compiler copes with passing no objects directly.
   19926 compiler_needs_object=$lt_compiler_needs_object
   19927 
   19928 # Create an old-style archive from a shared archive.
   19929 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19930 
   19931 # Create a temporary old-style archive to link instead of a shared archive.
   19932 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19933 
   19934 # Commands used to build a shared archive.
   19935 archive_cmds=$lt_archive_cmds
   19936 archive_expsym_cmds=$lt_archive_expsym_cmds
   19937 
   19938 # Commands used to build a loadable module if different from building
   19939 # a shared archive.
   19940 module_cmds=$lt_module_cmds
   19941 module_expsym_cmds=$lt_module_expsym_cmds
   19942 
   19943 # Whether we are building with GNU ld or not.
   19944 with_gnu_ld=$lt_with_gnu_ld
   19945 
   19946 # Flag that allows shared libraries with undefined symbols to be built.
   19947 allow_undefined_flag=$lt_allow_undefined_flag
   19948 
   19949 # Flag that enforces no undefined symbols.
   19950 no_undefined_flag=$lt_no_undefined_flag
   19951 
   19952 # Flag to hardcode \$libdir into a binary during linking.
   19953 # This must work even if \$libdir does not exist
   19954 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19955 
   19956 # Whether we need a single "-rpath" flag with a separated argument.
   19957 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19958 
   19959 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19960 # DIR into the resulting binary.
   19961 hardcode_direct=$hardcode_direct
   19962 
   19963 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19964 # DIR into the resulting binary and the resulting library dependency is
   19965 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19966 # library is relocated.
   19967 hardcode_direct_absolute=$hardcode_direct_absolute
   19968 
   19969 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19970 # into the resulting binary.
   19971 hardcode_minus_L=$hardcode_minus_L
   19972 
   19973 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19974 # into the resulting binary.
   19975 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19976 
   19977 # Set to "yes" if building a shared library automatically hardcodes DIR
   19978 # into the library and all subsequent libraries and executables linked
   19979 # against it.
   19980 hardcode_automatic=$hardcode_automatic
   19981 
   19982 # Set to yes if linker adds runtime paths of dependent libraries
   19983 # to runtime path list.
   19984 inherit_rpath=$inherit_rpath
   19985 
   19986 # Whether libtool must link a program against all its dependency libraries.
   19987 link_all_deplibs=$link_all_deplibs
   19988 
   19989 # Set to "yes" if exported symbols are required.
   19990 always_export_symbols=$always_export_symbols
   19991 
   19992 # The commands to list exported symbols.
   19993 export_symbols_cmds=$lt_export_symbols_cmds
   19994 
   19995 # Symbols that should not be listed in the preloaded symbols.
   19996 exclude_expsyms=$lt_exclude_expsyms
   19997 
   19998 # Symbols that must always be exported.
   19999 include_expsyms=$lt_include_expsyms
   20000 
   20001 # Commands necessary for linking programs (against libraries) with templates.
   20002 prelink_cmds=$lt_prelink_cmds
   20003 
   20004 # Commands necessary for finishing linking programs.
   20005 postlink_cmds=$lt_postlink_cmds
   20006 
   20007 # Specify filename containing input files.
   20008 file_list_spec=$lt_file_list_spec
   20009 
   20010 # How to hardcode a shared library path into an executable.
   20011 hardcode_action=$hardcode_action
   20012 
   20013 # ### END LIBTOOL CONFIG
   20014 
   20015 _LT_EOF
   20016 
   20017   case $host_os in
   20018   aix3*)
   20019     cat <<\_LT_EOF >> "$cfgfile"
   20020 # AIX sometimes has problems with the GCC collect2 program.  For some
   20021 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20022 # vanish in a puff of smoke.
   20023 if test "X${COLLECT_NAMES+set}" != Xset; then
   20024   COLLECT_NAMES=
   20025   export COLLECT_NAMES
   20026 fi
   20027 _LT_EOF
   20028     ;;
   20029   esac
   20030 
   20031 
   20032 ltmain="$ac_aux_dir/ltmain.sh"
   20033 
   20034 
   20035   # We use sed instead of cat because bash on DJGPP gets confused if
   20036   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20037   # text mode, it properly converts lines to CR/LF.  This bash problem
   20038   # is reportedly fixed, but why not run on old versions too?
   20039   sed '$q' "$ltmain" >> "$cfgfile" \
   20040      || (rm -f "$cfgfile"; exit 1)
   20041 
   20042   if test x"$xsi_shell" = xyes; then
   20043   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20044 func_dirname ()\
   20045 {\
   20046 \    case ${1} in\
   20047 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20048 \      *  ) func_dirname_result="${3}" ;;\
   20049 \    esac\
   20050 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20051   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20052     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20053 test 0 -eq $? || _lt_function_replace_fail=:
   20054 
   20055 
   20056   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20057 func_basename ()\
   20058 {\
   20059 \    func_basename_result="${1##*/}"\
   20060 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20061   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20062     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20063 test 0 -eq $? || _lt_function_replace_fail=:
   20064 
   20065 
   20066   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20067 func_dirname_and_basename ()\
   20068 {\
   20069 \    case ${1} in\
   20070 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20071 \      *  ) func_dirname_result="${3}" ;;\
   20072 \    esac\
   20073 \    func_basename_result="${1##*/}"\
   20074 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20075   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20076     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20077 test 0 -eq $? || _lt_function_replace_fail=:
   20078 
   20079 
   20080   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20081 func_stripname ()\
   20082 {\
   20083 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20084 \    # positional parameters, so assign one to ordinary parameter first.\
   20085 \    func_stripname_result=${3}\
   20086 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20087 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20088 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20089   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20090     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20091 test 0 -eq $? || _lt_function_replace_fail=:
   20092 
   20093 
   20094   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20095 func_split_long_opt ()\
   20096 {\
   20097 \    func_split_long_opt_name=${1%%=*}\
   20098 \    func_split_long_opt_arg=${1#*=}\
   20099 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20100   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20101     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20102 test 0 -eq $? || _lt_function_replace_fail=:
   20103 
   20104 
   20105   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20106 func_split_short_opt ()\
   20107 {\
   20108 \    func_split_short_opt_arg=${1#??}\
   20109 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20110 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20111   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20112     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20113 test 0 -eq $? || _lt_function_replace_fail=:
   20114 
   20115 
   20116   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20117 func_lo2o ()\
   20118 {\
   20119 \    case ${1} in\
   20120 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20121 \      *)    func_lo2o_result=${1} ;;\
   20122 \    esac\
   20123 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20124   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20125     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20126 test 0 -eq $? || _lt_function_replace_fail=:
   20127 
   20128 
   20129   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20130 func_xform ()\
   20131 {\
   20132     func_xform_result=${1%.*}.lo\
   20133 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20134   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20135     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20136 test 0 -eq $? || _lt_function_replace_fail=:
   20137 
   20138 
   20139   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20140 func_arith ()\
   20141 {\
   20142     func_arith_result=$(( $* ))\
   20143 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20144   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20145     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20146 test 0 -eq $? || _lt_function_replace_fail=:
   20147 
   20148 
   20149   sed -e '/^func_len ()$/,/^} # func_len /c\
   20150 func_len ()\
   20151 {\
   20152     func_len_result=${#1}\
   20153 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20154   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20155     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20156 test 0 -eq $? || _lt_function_replace_fail=:
   20157 
   20158 fi
   20159 
   20160 if test x"$lt_shell_append" = xyes; then
   20161   sed -e '/^func_append ()$/,/^} # func_append /c\
   20162 func_append ()\
   20163 {\
   20164     eval "${1}+=\\${2}"\
   20165 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20166   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20167     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20168 test 0 -eq $? || _lt_function_replace_fail=:
   20169 
   20170 
   20171   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20172 func_append_quoted ()\
   20173 {\
   20174 \    func_quote_for_eval "${2}"\
   20175 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20176 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20177   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20178     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20179 test 0 -eq $? || _lt_function_replace_fail=:
   20180 
   20181 
   20182   # Save a `func_append' function call where possible by direct use of '+='
   20183   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20184     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20185       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20186   test 0 -eq $? || _lt_function_replace_fail=:
   20187 else
   20188   # Save a `func_append' function call even when '+=' is not available
   20189   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20190     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20191       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20192   test 0 -eq $? || _lt_function_replace_fail=:
   20193 fi
   20194 
   20195 if test x"$_lt_function_replace_fail" = x":"; then
   20196   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20197 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20198 fi
   20199 
   20200 
   20201    mv -f "$cfgfile" "$ofile" ||
   20202     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20203   chmod +x "$ofile"
   20204 
   20205  ;;
   20206 
   20207   esac
   20208 done # for ac_tag
   20209 
   20210 
   20211 as_fn_exit 0
   20212 _ACEOF
   20213 ac_clean_files=$ac_clean_files_save
   20214 
   20215 test $ac_write_fail = 0 ||
   20216   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20217 
   20218 
   20219 # configure is writing to config.log, and then calls config.status.
   20220 # config.status does its own redirection, appending to config.log.
   20221 # Unfortunately, on DOS this fails, as config.log is still kept open
   20222 # by configure, so config.status won't be able to write to it; its
   20223 # output is simply discarded.  So we exec the FD to /dev/null,
   20224 # effectively closing config.log, so it can be properly (re)opened and
   20225 # appended to by config.status.  When coming back to configure, we
   20226 # need to make the FD available again.
   20227 if test "$no_create" != yes; then
   20228   ac_cs_success=:
   20229   ac_config_status_args=
   20230   test "$silent" = yes &&
   20231     ac_config_status_args="$ac_config_status_args --quiet"
   20232   exec 5>/dev/null
   20233   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20234   exec 5>>config.log
   20235   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20236   # would make configure fail if this is the last instruction.
   20237   $ac_cs_success || as_fn_exit 1
   20238 fi
   20239 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20240   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20241 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20242 fi
   20243 
   20244