Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-input-keyboard 1.8.1.
      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='xf86-input-keyboard'
    593 PACKAGE_TARNAME='xf86-input-keyboard'
    594 PACKAGE_VERSION='1.8.1'
    595 PACKAGE_STRING='xf86-input-keyboard 1.8.1'
    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 DRIVER_NAME
    641 HURD_FALSE
    642 HURD_TRUE
    643 SOLARIS_FALSE
    644 SOLARIS_TRUE
    645 BSD_FALSE
    646 BSD_TRUE
    647 LINUX_FALSE
    648 LINUX_TRUE
    649 OS_FLAGS
    650 inputdir
    651 XORG_LIBS
    652 XORG_CFLAGS
    653 MAN_SUBSTS
    654 XORG_MAN_PAGE
    655 ADMIN_MAN_DIR
    656 DRIVER_MAN_DIR
    657 MISC_MAN_DIR
    658 FILE_MAN_DIR
    659 LIB_MAN_DIR
    660 APP_MAN_DIR
    661 ADMIN_MAN_SUFFIX
    662 DRIVER_MAN_SUFFIX
    663 MISC_MAN_SUFFIX
    664 FILE_MAN_SUFFIX
    665 LIB_MAN_SUFFIX
    666 APP_MAN_SUFFIX
    667 INSTALL_CMD
    668 PKG_CONFIG_LIBDIR
    669 PKG_CONFIG_PATH
    670 PKG_CONFIG
    671 CHANGELOG_CMD
    672 STRICT_CFLAGS
    673 CWARNFLAGS
    674 BASE_CFLAGS
    675 CPP
    676 OTOOL64
    677 OTOOL
    678 LIPO
    679 NMEDIT
    680 DSYMUTIL
    681 MANIFEST_TOOL
    682 RANLIB
    683 ac_ct_AR
    684 AR
    685 DLLTOOL
    686 OBJDUMP
    687 LN_S
    688 NM
    689 ac_ct_DUMPBIN
    690 DUMPBIN
    691 LD
    692 FGREP
    693 EGREP
    694 GREP
    695 SED
    696 am__fastdepCC_FALSE
    697 am__fastdepCC_TRUE
    698 CCDEPMODE
    699 am__nodep
    700 AMDEPBACKSLASH
    701 AMDEP_FALSE
    702 AMDEP_TRUE
    703 am__quote
    704 am__include
    705 DEPDIR
    706 OBJEXT
    707 EXEEXT
    708 ac_ct_CC
    709 CPPFLAGS
    710 LDFLAGS
    711 CFLAGS
    712 CC
    713 host_os
    714 host_vendor
    715 host_cpu
    716 host
    717 build_os
    718 build_vendor
    719 build_cpu
    720 build
    721 LIBTOOL
    722 AM_BACKSLASH
    723 AM_DEFAULT_VERBOSITY
    724 AM_DEFAULT_V
    725 AM_V
    726 am__untar
    727 am__tar
    728 AMTAR
    729 am__leading_dot
    730 SET_MAKE
    731 AWK
    732 mkdir_p
    733 MKDIR_P
    734 INSTALL_STRIP_PROGRAM
    735 STRIP
    736 install_sh
    737 MAKEINFO
    738 AUTOHEADER
    739 AUTOMAKE
    740 AUTOCONF
    741 ACLOCAL
    742 VERSION
    743 PACKAGE
    744 CYGPATH_W
    745 am__isrc
    746 INSTALL_DATA
    747 INSTALL_SCRIPT
    748 INSTALL_PROGRAM
    749 target_alias
    750 host_alias
    751 build_alias
    752 LIBS
    753 ECHO_T
    754 ECHO_N
    755 ECHO_C
    756 DEFS
    757 mandir
    758 localedir
    759 libdir
    760 psdir
    761 pdfdir
    762 dvidir
    763 htmldir
    764 infodir
    765 docdir
    766 oldincludedir
    767 includedir
    768 localstatedir
    769 sharedstatedir
    770 sysconfdir
    771 datadir
    772 datarootdir
    773 libexecdir
    774 sbindir
    775 bindir
    776 program_transform_name
    777 prefix
    778 exec_prefix
    779 PACKAGE_URL
    780 PACKAGE_BUGREPORT
    781 PACKAGE_STRING
    782 PACKAGE_VERSION
    783 PACKAGE_TARNAME
    784 PACKAGE_NAME
    785 PATH_SEPARATOR
    786 SHELL'
    787 ac_subst_files=''
    788 ac_user_opts='
    789 enable_option_checking
    790 enable_silent_rules
    791 enable_static
    792 enable_shared
    793 with_pic
    794 enable_fast_install
    795 enable_dependency_tracking
    796 with_gnu_ld
    797 with_sysroot
    798 enable_libtool_lock
    799 enable_selective_werror
    800 enable_strict_compilation
    801 with_xorg_module_dir
    802 '
    803       ac_precious_vars='build_alias
    804 host_alias
    805 target_alias
    806 CC
    807 CFLAGS
    808 LDFLAGS
    809 LIBS
    810 CPPFLAGS
    811 CPP
    812 PKG_CONFIG
    813 PKG_CONFIG_PATH
    814 PKG_CONFIG_LIBDIR
    815 XORG_CFLAGS
    816 XORG_LIBS'
    817 
    818 
    819 # Initialize some variables set by options.
    820 ac_init_help=
    821 ac_init_version=false
    822 ac_unrecognized_opts=
    823 ac_unrecognized_sep=
    824 # The variables have the same names as the options, with
    825 # dashes changed to underlines.
    826 cache_file=/dev/null
    827 exec_prefix=NONE
    828 no_create=
    829 no_recursion=
    830 prefix=NONE
    831 program_prefix=NONE
    832 program_suffix=NONE
    833 program_transform_name=s,x,x,
    834 silent=
    835 site=
    836 srcdir=
    837 verbose=
    838 x_includes=NONE
    839 x_libraries=NONE
    840 
    841 # Installation directory options.
    842 # These are left unexpanded so users can "make install exec_prefix=/foo"
    843 # and all the variables that are supposed to be based on exec_prefix
    844 # by default will actually change.
    845 # Use braces instead of parens because sh, perl, etc. also accept them.
    846 # (The list follows the same order as the GNU Coding Standards.)
    847 bindir='${exec_prefix}/bin'
    848 sbindir='${exec_prefix}/sbin'
    849 libexecdir='${exec_prefix}/libexec'
    850 datarootdir='${prefix}/share'
    851 datadir='${datarootdir}'
    852 sysconfdir='${prefix}/etc'
    853 sharedstatedir='${prefix}/com'
    854 localstatedir='${prefix}/var'
    855 includedir='${prefix}/include'
    856 oldincludedir='/usr/include'
    857 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    858 infodir='${datarootdir}/info'
    859 htmldir='${docdir}'
    860 dvidir='${docdir}'
    861 pdfdir='${docdir}'
    862 psdir='${docdir}'
    863 libdir='${exec_prefix}/lib'
    864 localedir='${datarootdir}/locale'
    865 mandir='${datarootdir}/man'
    866 
    867 ac_prev=
    868 ac_dashdash=
    869 for ac_option
    870 do
    871   # If the previous option needs an argument, assign it.
    872   if test -n "$ac_prev"; then
    873     eval $ac_prev=\$ac_option
    874     ac_prev=
    875     continue
    876   fi
    877 
    878   case $ac_option in
    879   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    880   *=)   ac_optarg= ;;
    881   *)    ac_optarg=yes ;;
    882   esac
    883 
    884   # Accept the important Cygnus configure options, so we can diagnose typos.
    885 
    886   case $ac_dashdash$ac_option in
    887   --)
    888     ac_dashdash=yes ;;
    889 
    890   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    891     ac_prev=bindir ;;
    892   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    893     bindir=$ac_optarg ;;
    894 
    895   -build | --build | --buil | --bui | --bu)
    896     ac_prev=build_alias ;;
    897   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    898     build_alias=$ac_optarg ;;
    899 
    900   -cache-file | --cache-file | --cache-fil | --cache-fi \
    901   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    902     ac_prev=cache_file ;;
    903   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    904   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    905     cache_file=$ac_optarg ;;
    906 
    907   --config-cache | -C)
    908     cache_file=config.cache ;;
    909 
    910   -datadir | --datadir | --datadi | --datad)
    911     ac_prev=datadir ;;
    912   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    913     datadir=$ac_optarg ;;
    914 
    915   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    916   | --dataroo | --dataro | --datar)
    917     ac_prev=datarootdir ;;
    918   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    919   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    920     datarootdir=$ac_optarg ;;
    921 
    922   -disable-* | --disable-*)
    923     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    924     # Reject names that are not valid shell variable names.
    925     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    926       as_fn_error $? "invalid feature name: $ac_useropt"
    927     ac_useropt_orig=$ac_useropt
    928     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    929     case $ac_user_opts in
    930       *"
    931 "enable_$ac_useropt"
    932 "*) ;;
    933       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    934 	 ac_unrecognized_sep=', ';;
    935     esac
    936     eval enable_$ac_useropt=no ;;
    937 
    938   -docdir | --docdir | --docdi | --doc | --do)
    939     ac_prev=docdir ;;
    940   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    941     docdir=$ac_optarg ;;
    942 
    943   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    944     ac_prev=dvidir ;;
    945   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    946     dvidir=$ac_optarg ;;
    947 
    948   -enable-* | --enable-*)
    949     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    950     # Reject names that are not valid shell variable names.
    951     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    952       as_fn_error $? "invalid feature name: $ac_useropt"
    953     ac_useropt_orig=$ac_useropt
    954     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    955     case $ac_user_opts in
    956       *"
    957 "enable_$ac_useropt"
    958 "*) ;;
    959       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    960 	 ac_unrecognized_sep=', ';;
    961     esac
    962     eval enable_$ac_useropt=\$ac_optarg ;;
    963 
    964   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    965   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    966   | --exec | --exe | --ex)
    967     ac_prev=exec_prefix ;;
    968   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    969   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    970   | --exec=* | --exe=* | --ex=*)
    971     exec_prefix=$ac_optarg ;;
    972 
    973   -gas | --gas | --ga | --g)
    974     # Obsolete; use --with-gas.
    975     with_gas=yes ;;
    976 
    977   -help | --help | --hel | --he | -h)
    978     ac_init_help=long ;;
    979   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    980     ac_init_help=recursive ;;
    981   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    982     ac_init_help=short ;;
    983 
    984   -host | --host | --hos | --ho)
    985     ac_prev=host_alias ;;
    986   -host=* | --host=* | --hos=* | --ho=*)
    987     host_alias=$ac_optarg ;;
    988 
    989   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    990     ac_prev=htmldir ;;
    991   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    992   | --ht=*)
    993     htmldir=$ac_optarg ;;
    994 
    995   -includedir | --includedir | --includedi | --included | --include \
    996   | --includ | --inclu | --incl | --inc)
    997     ac_prev=includedir ;;
    998   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    999   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1000     includedir=$ac_optarg ;;
   1001 
   1002   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1003     ac_prev=infodir ;;
   1004   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1005     infodir=$ac_optarg ;;
   1006 
   1007   -libdir | --libdir | --libdi | --libd)
   1008     ac_prev=libdir ;;
   1009   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1010     libdir=$ac_optarg ;;
   1011 
   1012   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1013   | --libexe | --libex | --libe)
   1014     ac_prev=libexecdir ;;
   1015   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1016   | --libexe=* | --libex=* | --libe=*)
   1017     libexecdir=$ac_optarg ;;
   1018 
   1019   -localedir | --localedir | --localedi | --localed | --locale)
   1020     ac_prev=localedir ;;
   1021   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1022     localedir=$ac_optarg ;;
   1023 
   1024   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1025   | --localstate | --localstat | --localsta | --localst | --locals)
   1026     ac_prev=localstatedir ;;
   1027   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1028   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1029     localstatedir=$ac_optarg ;;
   1030 
   1031   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1032     ac_prev=mandir ;;
   1033   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1034     mandir=$ac_optarg ;;
   1035 
   1036   -nfp | --nfp | --nf)
   1037     # Obsolete; use --without-fp.
   1038     with_fp=no ;;
   1039 
   1040   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1041   | --no-cr | --no-c | -n)
   1042     no_create=yes ;;
   1043 
   1044   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1045   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1046     no_recursion=yes ;;
   1047 
   1048   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1049   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1050   | --oldin | --oldi | --old | --ol | --o)
   1051     ac_prev=oldincludedir ;;
   1052   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1053   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1054   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1055     oldincludedir=$ac_optarg ;;
   1056 
   1057   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1058     ac_prev=prefix ;;
   1059   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1060     prefix=$ac_optarg ;;
   1061 
   1062   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1063   | --program-pre | --program-pr | --program-p)
   1064     ac_prev=program_prefix ;;
   1065   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1066   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1067     program_prefix=$ac_optarg ;;
   1068 
   1069   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1070   | --program-suf | --program-su | --program-s)
   1071     ac_prev=program_suffix ;;
   1072   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1073   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1074     program_suffix=$ac_optarg ;;
   1075 
   1076   -program-transform-name | --program-transform-name \
   1077   | --program-transform-nam | --program-transform-na \
   1078   | --program-transform-n | --program-transform- \
   1079   | --program-transform | --program-transfor \
   1080   | --program-transfo | --program-transf \
   1081   | --program-trans | --program-tran \
   1082   | --progr-tra | --program-tr | --program-t)
   1083     ac_prev=program_transform_name ;;
   1084   -program-transform-name=* | --program-transform-name=* \
   1085   | --program-transform-nam=* | --program-transform-na=* \
   1086   | --program-transform-n=* | --program-transform-=* \
   1087   | --program-transform=* | --program-transfor=* \
   1088   | --program-transfo=* | --program-transf=* \
   1089   | --program-trans=* | --program-tran=* \
   1090   | --progr-tra=* | --program-tr=* | --program-t=*)
   1091     program_transform_name=$ac_optarg ;;
   1092 
   1093   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1094     ac_prev=pdfdir ;;
   1095   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1096     pdfdir=$ac_optarg ;;
   1097 
   1098   -psdir | --psdir | --psdi | --psd | --ps)
   1099     ac_prev=psdir ;;
   1100   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1101     psdir=$ac_optarg ;;
   1102 
   1103   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1104   | -silent | --silent | --silen | --sile | --sil)
   1105     silent=yes ;;
   1106 
   1107   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1108     ac_prev=sbindir ;;
   1109   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1110   | --sbi=* | --sb=*)
   1111     sbindir=$ac_optarg ;;
   1112 
   1113   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1114   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1115   | --sharedst | --shareds | --shared | --share | --shar \
   1116   | --sha | --sh)
   1117     ac_prev=sharedstatedir ;;
   1118   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1119   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1120   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1121   | --sha=* | --sh=*)
   1122     sharedstatedir=$ac_optarg ;;
   1123 
   1124   -site | --site | --sit)
   1125     ac_prev=site ;;
   1126   -site=* | --site=* | --sit=*)
   1127     site=$ac_optarg ;;
   1128 
   1129   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1130     ac_prev=srcdir ;;
   1131   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1132     srcdir=$ac_optarg ;;
   1133 
   1134   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1135   | --syscon | --sysco | --sysc | --sys | --sy)
   1136     ac_prev=sysconfdir ;;
   1137   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1138   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1139     sysconfdir=$ac_optarg ;;
   1140 
   1141   -target | --target | --targe | --targ | --tar | --ta | --t)
   1142     ac_prev=target_alias ;;
   1143   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1144     target_alias=$ac_optarg ;;
   1145 
   1146   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1147     verbose=yes ;;
   1148 
   1149   -version | --version | --versio | --versi | --vers | -V)
   1150     ac_init_version=: ;;
   1151 
   1152   -with-* | --with-*)
   1153     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1154     # Reject names that are not valid shell variable names.
   1155     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1156       as_fn_error $? "invalid package name: $ac_useropt"
   1157     ac_useropt_orig=$ac_useropt
   1158     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1159     case $ac_user_opts in
   1160       *"
   1161 "with_$ac_useropt"
   1162 "*) ;;
   1163       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1164 	 ac_unrecognized_sep=', ';;
   1165     esac
   1166     eval with_$ac_useropt=\$ac_optarg ;;
   1167 
   1168   -without-* | --without-*)
   1169     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1170     # Reject names that are not valid shell variable names.
   1171     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1172       as_fn_error $? "invalid package name: $ac_useropt"
   1173     ac_useropt_orig=$ac_useropt
   1174     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1175     case $ac_user_opts in
   1176       *"
   1177 "with_$ac_useropt"
   1178 "*) ;;
   1179       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1180 	 ac_unrecognized_sep=', ';;
   1181     esac
   1182     eval with_$ac_useropt=no ;;
   1183 
   1184   --x)
   1185     # Obsolete; use --with-x.
   1186     with_x=yes ;;
   1187 
   1188   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1189   | --x-incl | --x-inc | --x-in | --x-i)
   1190     ac_prev=x_includes ;;
   1191   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1192   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1193     x_includes=$ac_optarg ;;
   1194 
   1195   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1196   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1197     ac_prev=x_libraries ;;
   1198   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1199   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1200     x_libraries=$ac_optarg ;;
   1201 
   1202   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1203 Try \`$0 --help' for more information"
   1204     ;;
   1205 
   1206   *=*)
   1207     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1208     # Reject names that are not valid shell variable names.
   1209     case $ac_envvar in #(
   1210       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1211       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1212     esac
   1213     eval $ac_envvar=\$ac_optarg
   1214     export $ac_envvar ;;
   1215 
   1216   *)
   1217     # FIXME: should be removed in autoconf 3.0.
   1218     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1219     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1220       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1221     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1222     ;;
   1223 
   1224   esac
   1225 done
   1226 
   1227 if test -n "$ac_prev"; then
   1228   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1229   as_fn_error $? "missing argument to $ac_option"
   1230 fi
   1231 
   1232 if test -n "$ac_unrecognized_opts"; then
   1233   case $enable_option_checking in
   1234     no) ;;
   1235     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1236     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1237   esac
   1238 fi
   1239 
   1240 # Check all directory arguments for consistency.
   1241 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1242 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1243 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1244 		libdir localedir mandir
   1245 do
   1246   eval ac_val=\$$ac_var
   1247   # Remove trailing slashes.
   1248   case $ac_val in
   1249     */ )
   1250       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1251       eval $ac_var=\$ac_val;;
   1252   esac
   1253   # Be sure to have absolute directory names.
   1254   case $ac_val in
   1255     [\\/$]* | ?:[\\/]* )  continue;;
   1256     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1257   esac
   1258   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1259 done
   1260 
   1261 # There might be people who depend on the old broken behavior: `$host'
   1262 # used to hold the argument of --host etc.
   1263 # FIXME: To remove some day.
   1264 build=$build_alias
   1265 host=$host_alias
   1266 target=$target_alias
   1267 
   1268 # FIXME: To remove some day.
   1269 if test "x$host_alias" != x; then
   1270   if test "x$build_alias" = x; then
   1271     cross_compiling=maybe
   1272   elif test "x$build_alias" != "x$host_alias"; then
   1273     cross_compiling=yes
   1274   fi
   1275 fi
   1276 
   1277 ac_tool_prefix=
   1278 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1279 
   1280 test "$silent" = yes && exec 6>/dev/null
   1281 
   1282 
   1283 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1284 ac_ls_di=`ls -di .` &&
   1285 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1286   as_fn_error $? "working directory cannot be determined"
   1287 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1288   as_fn_error $? "pwd does not report name of working directory"
   1289 
   1290 
   1291 # Find the source files, if location was not specified.
   1292 if test -z "$srcdir"; then
   1293   ac_srcdir_defaulted=yes
   1294   # Try the directory containing this script, then the parent directory.
   1295   ac_confdir=`$as_dirname -- "$as_myself" ||
   1296 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1297 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1298 	 X"$as_myself" : 'X\(//\)$' \| \
   1299 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1300 $as_echo X"$as_myself" |
   1301     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1302 	    s//\1/
   1303 	    q
   1304 	  }
   1305 	  /^X\(\/\/\)[^/].*/{
   1306 	    s//\1/
   1307 	    q
   1308 	  }
   1309 	  /^X\(\/\/\)$/{
   1310 	    s//\1/
   1311 	    q
   1312 	  }
   1313 	  /^X\(\/\).*/{
   1314 	    s//\1/
   1315 	    q
   1316 	  }
   1317 	  s/.*/./; q'`
   1318   srcdir=$ac_confdir
   1319   if test ! -r "$srcdir/$ac_unique_file"; then
   1320     srcdir=..
   1321   fi
   1322 else
   1323   ac_srcdir_defaulted=no
   1324 fi
   1325 if test ! -r "$srcdir/$ac_unique_file"; then
   1326   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1327   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1328 fi
   1329 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1330 ac_abs_confdir=`(
   1331 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1332 	pwd)`
   1333 # When building in place, set srcdir=.
   1334 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1335   srcdir=.
   1336 fi
   1337 # Remove unnecessary trailing slashes from srcdir.
   1338 # Double slashes in file names in object file debugging info
   1339 # mess up M-x gdb in Emacs.
   1340 case $srcdir in
   1341 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1342 esac
   1343 for ac_var in $ac_precious_vars; do
   1344   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1345   eval ac_env_${ac_var}_value=\$${ac_var}
   1346   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1347   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1348 done
   1349 
   1350 #
   1351 # Report the --help message.
   1352 #
   1353 if test "$ac_init_help" = "long"; then
   1354   # Omit some internal or obsolete options to make the list less imposing.
   1355   # This message is too long to be a string in the A/UX 3.1 sh.
   1356   cat <<_ACEOF
   1357 \`configure' configures xf86-input-keyboard 1.8.1 to adapt to many kinds of systems.
   1358 
   1359 Usage: $0 [OPTION]... [VAR=VALUE]...
   1360 
   1361 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1362 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1363 
   1364 Defaults for the options are specified in brackets.
   1365 
   1366 Configuration:
   1367   -h, --help              display this help and exit
   1368       --help=short        display options specific to this package
   1369       --help=recursive    display the short help of all the included packages
   1370   -V, --version           display version information and exit
   1371   -q, --quiet, --silent   do not print \`checking ...' messages
   1372       --cache-file=FILE   cache test results in FILE [disabled]
   1373   -C, --config-cache      alias for \`--cache-file=config.cache'
   1374   -n, --no-create         do not create output files
   1375       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1376 
   1377 Installation directories:
   1378   --prefix=PREFIX         install architecture-independent files in PREFIX
   1379                           [$ac_default_prefix]
   1380   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1381                           [PREFIX]
   1382 
   1383 By default, \`make install' will install all the files in
   1384 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1385 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1386 for instance \`--prefix=\$HOME'.
   1387 
   1388 For better control, use the options below.
   1389 
   1390 Fine tuning of the installation directories:
   1391   --bindir=DIR            user executables [EPREFIX/bin]
   1392   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1393   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1394   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1395   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1396   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1397   --libdir=DIR            object code libraries [EPREFIX/lib]
   1398   --includedir=DIR        C header files [PREFIX/include]
   1399   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1400   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1401   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1402   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1403   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1404   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1405   --docdir=DIR            documentation root
   1406                           [DATAROOTDIR/doc/xf86-input-keyboard]
   1407   --htmldir=DIR           html documentation [DOCDIR]
   1408   --dvidir=DIR            dvi documentation [DOCDIR]
   1409   --pdfdir=DIR            pdf documentation [DOCDIR]
   1410   --psdir=DIR             ps documentation [DOCDIR]
   1411 _ACEOF
   1412 
   1413   cat <<\_ACEOF
   1414 
   1415 Program names:
   1416   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1417   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1418   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1419 
   1420 System types:
   1421   --build=BUILD     configure for building on BUILD [guessed]
   1422   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1423 _ACEOF
   1424 fi
   1425 
   1426 if test -n "$ac_init_help"; then
   1427   case $ac_init_help in
   1428      short | recursive ) echo "Configuration of xf86-input-keyboard 1.8.1:";;
   1429    esac
   1430   cat <<\_ACEOF
   1431 
   1432 Optional Features:
   1433   --disable-option-checking  ignore unrecognized --enable/--with options
   1434   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1435   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1436   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1437   --disable-silent-rules  verbose build output (undo: "make V=0")
   1438   --enable-static[=PKGS]  build static libraries [default=no]
   1439   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1440   --enable-fast-install[=PKGS]
   1441                           optimize for fast installation [default=yes]
   1442   --enable-dependency-tracking
   1443                           do not reject slow dependency extractors
   1444   --disable-dependency-tracking
   1445                           speeds up one-time build
   1446   --disable-libtool-lock  avoid locking (might break parallel builds)
   1447   --disable-selective-werror
   1448                           Turn off selective compiler errors. (default:
   1449                           enabled)
   1450   --enable-strict-compilation
   1451                           Enable all warnings from compiler and make them
   1452                           errors (default: disabled)
   1453 
   1454 Optional Packages:
   1455   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1456   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1457   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1458                           both]
   1459   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1460   --with-sysroot=DIR Search for dependent libraries within DIR
   1461                         (or the compiler's sysroot if not specified).
   1462   --with-xorg-module-dir=DIR
   1463                           Default xorg module directory
   1464                           [[default=$libdir/xorg/modules]]
   1465 
   1466 Some influential environment variables:
   1467   CC          C compiler command
   1468   CFLAGS      C compiler flags
   1469   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1470               nonstandard directory <lib dir>
   1471   LIBS        libraries to pass to the linker, e.g. -l<library>
   1472   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1473               you have headers in a nonstandard directory <include dir>
   1474   CPP         C preprocessor
   1475   PKG_CONFIG  path to pkg-config utility
   1476   PKG_CONFIG_PATH
   1477               directories to add to pkg-config's search path
   1478   PKG_CONFIG_LIBDIR
   1479               path overriding pkg-config's built-in search path
   1480   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1481   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1482 
   1483 Use these variables to override the choices made by `configure' or to help
   1484 it to find libraries and programs with nonstandard names/locations.
   1485 
   1486 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1487 _ACEOF
   1488 ac_status=$?
   1489 fi
   1490 
   1491 if test "$ac_init_help" = "recursive"; then
   1492   # If there are subdirs, report their specific --help.
   1493   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1494     test -d "$ac_dir" ||
   1495       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1496       continue
   1497     ac_builddir=.
   1498 
   1499 case "$ac_dir" in
   1500 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1501 *)
   1502   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1503   # A ".." for each directory in $ac_dir_suffix.
   1504   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1505   case $ac_top_builddir_sub in
   1506   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1507   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1508   esac ;;
   1509 esac
   1510 ac_abs_top_builddir=$ac_pwd
   1511 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1512 # for backward compatibility:
   1513 ac_top_builddir=$ac_top_build_prefix
   1514 
   1515 case $srcdir in
   1516   .)  # We are building in place.
   1517     ac_srcdir=.
   1518     ac_top_srcdir=$ac_top_builddir_sub
   1519     ac_abs_top_srcdir=$ac_pwd ;;
   1520   [\\/]* | ?:[\\/]* )  # Absolute name.
   1521     ac_srcdir=$srcdir$ac_dir_suffix;
   1522     ac_top_srcdir=$srcdir
   1523     ac_abs_top_srcdir=$srcdir ;;
   1524   *) # Relative name.
   1525     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1526     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1527     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1528 esac
   1529 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1530 
   1531     cd "$ac_dir" || { ac_status=$?; continue; }
   1532     # Check for guested configure.
   1533     if test -f "$ac_srcdir/configure.gnu"; then
   1534       echo &&
   1535       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1536     elif test -f "$ac_srcdir/configure"; then
   1537       echo &&
   1538       $SHELL "$ac_srcdir/configure" --help=recursive
   1539     else
   1540       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1541     fi || ac_status=$?
   1542     cd "$ac_pwd" || { ac_status=$?; break; }
   1543   done
   1544 fi
   1545 
   1546 test -n "$ac_init_help" && exit $ac_status
   1547 if $ac_init_version; then
   1548   cat <<\_ACEOF
   1549 xf86-input-keyboard configure 1.8.1
   1550 generated by GNU Autoconf 2.69
   1551 
   1552 Copyright (C) 2012 Free Software Foundation, Inc.
   1553 This configure script is free software; the Free Software Foundation
   1554 gives unlimited permission to copy, distribute and modify it.
   1555 _ACEOF
   1556   exit
   1557 fi
   1558 
   1559 ## ------------------------ ##
   1560 ## Autoconf initialization. ##
   1561 ## ------------------------ ##
   1562 
   1563 # ac_fn_c_try_compile LINENO
   1564 # --------------------------
   1565 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1566 ac_fn_c_try_compile ()
   1567 {
   1568   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1569   rm -f conftest.$ac_objext
   1570   if { { ac_try="$ac_compile"
   1571 case "(($ac_try" in
   1572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1573   *) ac_try_echo=$ac_try;;
   1574 esac
   1575 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1576 $as_echo "$ac_try_echo"; } >&5
   1577   (eval "$ac_compile") 2>conftest.err
   1578   ac_status=$?
   1579   if test -s conftest.err; then
   1580     grep -v '^ *+' conftest.err >conftest.er1
   1581     cat conftest.er1 >&5
   1582     mv -f conftest.er1 conftest.err
   1583   fi
   1584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1585   test $ac_status = 0; } && {
   1586 	 test -z "$ac_c_werror_flag" ||
   1587 	 test ! -s conftest.err
   1588        } && test -s conftest.$ac_objext; then :
   1589   ac_retval=0
   1590 else
   1591   $as_echo "$as_me: failed program was:" >&5
   1592 sed 's/^/| /' conftest.$ac_ext >&5
   1593 
   1594 	ac_retval=1
   1595 fi
   1596   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1597   as_fn_set_status $ac_retval
   1598 
   1599 } # ac_fn_c_try_compile
   1600 
   1601 # ac_fn_c_try_link LINENO
   1602 # -----------------------
   1603 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1604 ac_fn_c_try_link ()
   1605 {
   1606   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1607   rm -f conftest.$ac_objext conftest$ac_exeext
   1608   if { { ac_try="$ac_link"
   1609 case "(($ac_try" in
   1610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1611   *) ac_try_echo=$ac_try;;
   1612 esac
   1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1614 $as_echo "$ac_try_echo"; } >&5
   1615   (eval "$ac_link") 2>conftest.err
   1616   ac_status=$?
   1617   if test -s conftest.err; then
   1618     grep -v '^ *+' conftest.err >conftest.er1
   1619     cat conftest.er1 >&5
   1620     mv -f conftest.er1 conftest.err
   1621   fi
   1622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1623   test $ac_status = 0; } && {
   1624 	 test -z "$ac_c_werror_flag" ||
   1625 	 test ! -s conftest.err
   1626        } && test -s conftest$ac_exeext && {
   1627 	 test "$cross_compiling" = yes ||
   1628 	 test -x conftest$ac_exeext
   1629        }; then :
   1630   ac_retval=0
   1631 else
   1632   $as_echo "$as_me: failed program was:" >&5
   1633 sed 's/^/| /' conftest.$ac_ext >&5
   1634 
   1635 	ac_retval=1
   1636 fi
   1637   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1638   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1639   # interfere with the next link command; also delete a directory that is
   1640   # left behind by Apple's compiler.  We do this before executing the actions.
   1641   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1642   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1643   as_fn_set_status $ac_retval
   1644 
   1645 } # ac_fn_c_try_link
   1646 
   1647 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1648 # -------------------------------------------------------
   1649 # Tests whether HEADER exists and can be compiled using the include files in
   1650 # INCLUDES, setting the cache variable VAR accordingly.
   1651 ac_fn_c_check_header_compile ()
   1652 {
   1653   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1654   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1655 $as_echo_n "checking for $2... " >&6; }
   1656 if eval \${$3+:} false; then :
   1657   $as_echo_n "(cached) " >&6
   1658 else
   1659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1660 /* end confdefs.h.  */
   1661 $4
   1662 #include <$2>
   1663 _ACEOF
   1664 if ac_fn_c_try_compile "$LINENO"; then :
   1665   eval "$3=yes"
   1666 else
   1667   eval "$3=no"
   1668 fi
   1669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1670 fi
   1671 eval ac_res=\$$3
   1672 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1673 $as_echo "$ac_res" >&6; }
   1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1675 
   1676 } # ac_fn_c_check_header_compile
   1677 
   1678 # ac_fn_c_try_cpp LINENO
   1679 # ----------------------
   1680 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1681 ac_fn_c_try_cpp ()
   1682 {
   1683   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1684   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1685 case "(($ac_try" in
   1686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1687   *) ac_try_echo=$ac_try;;
   1688 esac
   1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1690 $as_echo "$ac_try_echo"; } >&5
   1691   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1692   ac_status=$?
   1693   if test -s conftest.err; then
   1694     grep -v '^ *+' conftest.err >conftest.er1
   1695     cat conftest.er1 >&5
   1696     mv -f conftest.er1 conftest.err
   1697   fi
   1698   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1699   test $ac_status = 0; } > conftest.i && {
   1700 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1701 	 test ! -s conftest.err
   1702        }; then :
   1703   ac_retval=0
   1704 else
   1705   $as_echo "$as_me: failed program was:" >&5
   1706 sed 's/^/| /' conftest.$ac_ext >&5
   1707 
   1708     ac_retval=1
   1709 fi
   1710   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1711   as_fn_set_status $ac_retval
   1712 
   1713 } # ac_fn_c_try_cpp
   1714 
   1715 # ac_fn_c_try_run LINENO
   1716 # ----------------------
   1717 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1718 # that executables *can* be run.
   1719 ac_fn_c_try_run ()
   1720 {
   1721   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1722   if { { ac_try="$ac_link"
   1723 case "(($ac_try" in
   1724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1725   *) ac_try_echo=$ac_try;;
   1726 esac
   1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1728 $as_echo "$ac_try_echo"; } >&5
   1729   (eval "$ac_link") 2>&5
   1730   ac_status=$?
   1731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1732   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1733   { { case "(($ac_try" in
   1734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1735   *) ac_try_echo=$ac_try;;
   1736 esac
   1737 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1738 $as_echo "$ac_try_echo"; } >&5
   1739   (eval "$ac_try") 2>&5
   1740   ac_status=$?
   1741   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1742   test $ac_status = 0; }; }; then :
   1743   ac_retval=0
   1744 else
   1745   $as_echo "$as_me: program exited with status $ac_status" >&5
   1746        $as_echo "$as_me: failed program was:" >&5
   1747 sed 's/^/| /' conftest.$ac_ext >&5
   1748 
   1749        ac_retval=$ac_status
   1750 fi
   1751   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1752   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1753   as_fn_set_status $ac_retval
   1754 
   1755 } # ac_fn_c_try_run
   1756 
   1757 # ac_fn_c_check_func LINENO FUNC VAR
   1758 # ----------------------------------
   1759 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1760 ac_fn_c_check_func ()
   1761 {
   1762   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1763   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1764 $as_echo_n "checking for $2... " >&6; }
   1765 if eval \${$3+:} false; then :
   1766   $as_echo_n "(cached) " >&6
   1767 else
   1768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1769 /* end confdefs.h.  */
   1770 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1771    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1772 #define $2 innocuous_$2
   1773 
   1774 /* System header to define __stub macros and hopefully few prototypes,
   1775     which can conflict with char $2 (); below.
   1776     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1777     <limits.h> exists even on freestanding compilers.  */
   1778 
   1779 #ifdef __STDC__
   1780 # include <limits.h>
   1781 #else
   1782 # include <assert.h>
   1783 #endif
   1784 
   1785 #undef $2
   1786 
   1787 /* Override any GCC internal prototype to avoid an error.
   1788    Use char because int might match the return type of a GCC
   1789    builtin and then its argument prototype would still apply.  */
   1790 #ifdef __cplusplus
   1791 extern "C"
   1792 #endif
   1793 char $2 ();
   1794 /* The GNU C library defines this for functions which it implements
   1795     to always fail with ENOSYS.  Some functions are actually named
   1796     something starting with __ and the normal name is an alias.  */
   1797 #if defined __stub_$2 || defined __stub___$2
   1798 choke me
   1799 #endif
   1800 
   1801 int
   1802 main ()
   1803 {
   1804 return $2 ();
   1805   ;
   1806   return 0;
   1807 }
   1808 _ACEOF
   1809 if ac_fn_c_try_link "$LINENO"; then :
   1810   eval "$3=yes"
   1811 else
   1812   eval "$3=no"
   1813 fi
   1814 rm -f core conftest.err conftest.$ac_objext \
   1815     conftest$ac_exeext conftest.$ac_ext
   1816 fi
   1817 eval ac_res=\$$3
   1818 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1819 $as_echo "$ac_res" >&6; }
   1820   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1821 
   1822 } # ac_fn_c_check_func
   1823 
   1824 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1825 # ---------------------------------------------
   1826 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1827 # accordingly.
   1828 ac_fn_c_check_decl ()
   1829 {
   1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1831   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1832   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1833   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1834 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1835 if eval \${$3+:} false; then :
   1836   $as_echo_n "(cached) " >&6
   1837 else
   1838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1839 /* end confdefs.h.  */
   1840 $4
   1841 int
   1842 main ()
   1843 {
   1844 #ifndef $as_decl_name
   1845 #ifdef __cplusplus
   1846   (void) $as_decl_use;
   1847 #else
   1848   (void) $as_decl_name;
   1849 #endif
   1850 #endif
   1851 
   1852   ;
   1853   return 0;
   1854 }
   1855 _ACEOF
   1856 if ac_fn_c_try_compile "$LINENO"; then :
   1857   eval "$3=yes"
   1858 else
   1859   eval "$3=no"
   1860 fi
   1861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1862 fi
   1863 eval ac_res=\$$3
   1864 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1865 $as_echo "$ac_res" >&6; }
   1866   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1867 
   1868 } # ac_fn_c_check_decl
   1869 cat >config.log <<_ACEOF
   1870 This file contains any messages produced by compilers while
   1871 running configure, to aid debugging if configure makes a mistake.
   1872 
   1873 It was created by xf86-input-keyboard $as_me 1.8.1, which was
   1874 generated by GNU Autoconf 2.69.  Invocation command line was
   1875 
   1876   $ $0 $@
   1877 
   1878 _ACEOF
   1879 exec 5>>config.log
   1880 {
   1881 cat <<_ASUNAME
   1882 ## --------- ##
   1883 ## Platform. ##
   1884 ## --------- ##
   1885 
   1886 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1887 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1888 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1889 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1890 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1891 
   1892 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1893 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1894 
   1895 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1896 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1897 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1898 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1899 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1900 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1901 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1902 
   1903 _ASUNAME
   1904 
   1905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1906 for as_dir in $PATH
   1907 do
   1908   IFS=$as_save_IFS
   1909   test -z "$as_dir" && as_dir=.
   1910     $as_echo "PATH: $as_dir"
   1911   done
   1912 IFS=$as_save_IFS
   1913 
   1914 } >&5
   1915 
   1916 cat >&5 <<_ACEOF
   1917 
   1918 
   1919 ## ----------- ##
   1920 ## Core tests. ##
   1921 ## ----------- ##
   1922 
   1923 _ACEOF
   1924 
   1925 
   1926 # Keep a trace of the command line.
   1927 # Strip out --no-create and --no-recursion so they do not pile up.
   1928 # Strip out --silent because we don't want to record it for future runs.
   1929 # Also quote any args containing shell meta-characters.
   1930 # Make two passes to allow for proper duplicate-argument suppression.
   1931 ac_configure_args=
   1932 ac_configure_args0=
   1933 ac_configure_args1=
   1934 ac_must_keep_next=false
   1935 for ac_pass in 1 2
   1936 do
   1937   for ac_arg
   1938   do
   1939     case $ac_arg in
   1940     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1941     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1942     | -silent | --silent | --silen | --sile | --sil)
   1943       continue ;;
   1944     *\'*)
   1945       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1946     esac
   1947     case $ac_pass in
   1948     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1949     2)
   1950       as_fn_append ac_configure_args1 " '$ac_arg'"
   1951       if test $ac_must_keep_next = true; then
   1952 	ac_must_keep_next=false # Got value, back to normal.
   1953       else
   1954 	case $ac_arg in
   1955 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1956 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1957 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1958 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1959 	    case "$ac_configure_args0 " in
   1960 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1961 	    esac
   1962 	    ;;
   1963 	  -* ) ac_must_keep_next=true ;;
   1964 	esac
   1965       fi
   1966       as_fn_append ac_configure_args " '$ac_arg'"
   1967       ;;
   1968     esac
   1969   done
   1970 done
   1971 { ac_configure_args0=; unset ac_configure_args0;}
   1972 { ac_configure_args1=; unset ac_configure_args1;}
   1973 
   1974 # When interrupted or exit'd, cleanup temporary files, and complete
   1975 # config.log.  We remove comments because anyway the quotes in there
   1976 # would cause problems or look ugly.
   1977 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1978 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1979 trap 'exit_status=$?
   1980   # Save into config.log some information that might help in debugging.
   1981   {
   1982     echo
   1983 
   1984     $as_echo "## ---------------- ##
   1985 ## Cache variables. ##
   1986 ## ---------------- ##"
   1987     echo
   1988     # The following way of writing the cache mishandles newlines in values,
   1989 (
   1990   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1991     eval ac_val=\$$ac_var
   1992     case $ac_val in #(
   1993     *${as_nl}*)
   1994       case $ac_var in #(
   1995       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1996 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1997       esac
   1998       case $ac_var in #(
   1999       _ | IFS | as_nl) ;; #(
   2000       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2001       *) { eval $ac_var=; unset $ac_var;} ;;
   2002       esac ;;
   2003     esac
   2004   done
   2005   (set) 2>&1 |
   2006     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2007     *${as_nl}ac_space=\ *)
   2008       sed -n \
   2009 	"s/'\''/'\''\\\\'\'''\''/g;
   2010 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2011       ;; #(
   2012     *)
   2013       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2014       ;;
   2015     esac |
   2016     sort
   2017 )
   2018     echo
   2019 
   2020     $as_echo "## ----------------- ##
   2021 ## Output variables. ##
   2022 ## ----------------- ##"
   2023     echo
   2024     for ac_var in $ac_subst_vars
   2025     do
   2026       eval ac_val=\$$ac_var
   2027       case $ac_val in
   2028       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2029       esac
   2030       $as_echo "$ac_var='\''$ac_val'\''"
   2031     done | sort
   2032     echo
   2033 
   2034     if test -n "$ac_subst_files"; then
   2035       $as_echo "## ------------------- ##
   2036 ## File substitutions. ##
   2037 ## ------------------- ##"
   2038       echo
   2039       for ac_var in $ac_subst_files
   2040       do
   2041 	eval ac_val=\$$ac_var
   2042 	case $ac_val in
   2043 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2044 	esac
   2045 	$as_echo "$ac_var='\''$ac_val'\''"
   2046       done | sort
   2047       echo
   2048     fi
   2049 
   2050     if test -s confdefs.h; then
   2051       $as_echo "## ----------- ##
   2052 ## confdefs.h. ##
   2053 ## ----------- ##"
   2054       echo
   2055       cat confdefs.h
   2056       echo
   2057     fi
   2058     test "$ac_signal" != 0 &&
   2059       $as_echo "$as_me: caught signal $ac_signal"
   2060     $as_echo "$as_me: exit $exit_status"
   2061   } >&5
   2062   rm -f core *.core core.conftest.* &&
   2063     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2064     exit $exit_status
   2065 ' 0
   2066 for ac_signal in 1 2 13 15; do
   2067   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2068 done
   2069 ac_signal=0
   2070 
   2071 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2072 rm -f -r conftest* confdefs.h
   2073 
   2074 $as_echo "/* confdefs.h */" > confdefs.h
   2075 
   2076 # Predefined preprocessor variables.
   2077 
   2078 cat >>confdefs.h <<_ACEOF
   2079 #define PACKAGE_NAME "$PACKAGE_NAME"
   2080 _ACEOF
   2081 
   2082 cat >>confdefs.h <<_ACEOF
   2083 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2084 _ACEOF
   2085 
   2086 cat >>confdefs.h <<_ACEOF
   2087 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2088 _ACEOF
   2089 
   2090 cat >>confdefs.h <<_ACEOF
   2091 #define PACKAGE_STRING "$PACKAGE_STRING"
   2092 _ACEOF
   2093 
   2094 cat >>confdefs.h <<_ACEOF
   2095 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2096 _ACEOF
   2097 
   2098 cat >>confdefs.h <<_ACEOF
   2099 #define PACKAGE_URL "$PACKAGE_URL"
   2100 _ACEOF
   2101 
   2102 
   2103 # Let the site file select an alternate cache file if it wants to.
   2104 # Prefer an explicitly selected file to automatically selected ones.
   2105 ac_site_file1=NONE
   2106 ac_site_file2=NONE
   2107 if test -n "$CONFIG_SITE"; then
   2108   # We do not want a PATH search for config.site.
   2109   case $CONFIG_SITE in #((
   2110     -*)  ac_site_file1=./$CONFIG_SITE;;
   2111     */*) ac_site_file1=$CONFIG_SITE;;
   2112     *)   ac_site_file1=./$CONFIG_SITE;;
   2113   esac
   2114 elif test "x$prefix" != xNONE; then
   2115   ac_site_file1=$prefix/share/config.site
   2116   ac_site_file2=$prefix/etc/config.site
   2117 else
   2118   ac_site_file1=$ac_default_prefix/share/config.site
   2119   ac_site_file2=$ac_default_prefix/etc/config.site
   2120 fi
   2121 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2122 do
   2123   test "x$ac_site_file" = xNONE && continue
   2124   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2125     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2126 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2127     sed 's/^/| /' "$ac_site_file" >&5
   2128     . "$ac_site_file" \
   2129       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2131 as_fn_error $? "failed to load site script $ac_site_file
   2132 See \`config.log' for more details" "$LINENO" 5; }
   2133   fi
   2134 done
   2135 
   2136 if test -r "$cache_file"; then
   2137   # Some versions of bash will fail to source /dev/null (special files
   2138   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2139   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2140     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2141 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2142     case $cache_file in
   2143       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2144       *)                      . "./$cache_file";;
   2145     esac
   2146   fi
   2147 else
   2148   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2149 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2150   >$cache_file
   2151 fi
   2152 
   2153 # Check that the precious variables saved in the cache have kept the same
   2154 # value.
   2155 ac_cache_corrupted=false
   2156 for ac_var in $ac_precious_vars; do
   2157   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2158   eval ac_new_set=\$ac_env_${ac_var}_set
   2159   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2160   eval ac_new_val=\$ac_env_${ac_var}_value
   2161   case $ac_old_set,$ac_new_set in
   2162     set,)
   2163       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2164 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2165       ac_cache_corrupted=: ;;
   2166     ,set)
   2167       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2168 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2169       ac_cache_corrupted=: ;;
   2170     ,);;
   2171     *)
   2172       if test "x$ac_old_val" != "x$ac_new_val"; then
   2173 	# differences in whitespace do not lead to failure.
   2174 	ac_old_val_w=`echo x $ac_old_val`
   2175 	ac_new_val_w=`echo x $ac_new_val`
   2176 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2177 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2178 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2179 	  ac_cache_corrupted=:
   2180 	else
   2181 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2182 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2183 	  eval $ac_var=\$ac_old_val
   2184 	fi
   2185 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2186 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2187 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2188 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2189       fi;;
   2190   esac
   2191   # Pass precious variables to config.status.
   2192   if test "$ac_new_set" = set; then
   2193     case $ac_new_val in
   2194     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2195     *) ac_arg=$ac_var=$ac_new_val ;;
   2196     esac
   2197     case " $ac_configure_args " in
   2198       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2199       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2200     esac
   2201   fi
   2202 done
   2203 if $ac_cache_corrupted; then
   2204   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2206   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2207 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2208   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2209 fi
   2210 ## -------------------- ##
   2211 ## Main body of script. ##
   2212 ## -------------------- ##
   2213 
   2214 ac_ext=c
   2215 ac_cpp='$CPP $CPPFLAGS'
   2216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2219 
   2220 
   2221 
   2222 ac_config_headers="$ac_config_headers config.h"
   2223 
   2224 ac_aux_dir=
   2225 for ac_dir in . "$srcdir"/.; do
   2226   if test -f "$ac_dir/install-sh"; then
   2227     ac_aux_dir=$ac_dir
   2228     ac_install_sh="$ac_aux_dir/install-sh -c"
   2229     break
   2230   elif test -f "$ac_dir/install.sh"; then
   2231     ac_aux_dir=$ac_dir
   2232     ac_install_sh="$ac_aux_dir/install.sh -c"
   2233     break
   2234   elif test -f "$ac_dir/shtool"; then
   2235     ac_aux_dir=$ac_dir
   2236     ac_install_sh="$ac_aux_dir/shtool install -c"
   2237     break
   2238   fi
   2239 done
   2240 if test -z "$ac_aux_dir"; then
   2241   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2242 fi
   2243 
   2244 # These three variables are undocumented and unsupported,
   2245 # and are intended to be withdrawn in a future Autoconf release.
   2246 # They can cause serious problems if a builder's source tree is in a directory
   2247 # whose full name contains unusual characters.
   2248 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2249 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2250 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2251 
   2252 
   2253 
   2254 # Initialize Automake
   2255 am__api_version='1.15'
   2256 
   2257 # Find a good install program.  We prefer a C program (faster),
   2258 # so one script is as good as another.  But avoid the broken or
   2259 # incompatible versions:
   2260 # SysV /etc/install, /usr/sbin/install
   2261 # SunOS /usr/etc/install
   2262 # IRIX /sbin/install
   2263 # AIX /bin/install
   2264 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2265 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2266 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2267 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2268 # OS/2's system install, which has a completely different semantic
   2269 # ./install, which can be erroneously created by make from ./install.sh.
   2270 # Reject install programs that cannot install multiple files.
   2271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2272 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2273 if test -z "$INSTALL"; then
   2274 if ${ac_cv_path_install+:} false; then :
   2275   $as_echo_n "(cached) " >&6
   2276 else
   2277   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2278 for as_dir in $PATH
   2279 do
   2280   IFS=$as_save_IFS
   2281   test -z "$as_dir" && as_dir=.
   2282     # Account for people who put trailing slashes in PATH elements.
   2283 case $as_dir/ in #((
   2284   ./ | .// | /[cC]/* | \
   2285   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2286   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2287   /usr/ucb/* ) ;;
   2288   *)
   2289     # OSF1 and SCO ODT 3.0 have their own names for install.
   2290     # Don't use installbsd from OSF since it installs stuff as root
   2291     # by default.
   2292     for ac_prog in ginstall scoinst install; do
   2293       for ac_exec_ext in '' $ac_executable_extensions; do
   2294 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2295 	  if test $ac_prog = install &&
   2296 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2297 	    # AIX install.  It has an incompatible calling convention.
   2298 	    :
   2299 	  elif test $ac_prog = install &&
   2300 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2301 	    # program-specific install script used by HP pwplus--don't use.
   2302 	    :
   2303 	  else
   2304 	    rm -rf conftest.one conftest.two conftest.dir
   2305 	    echo one > conftest.one
   2306 	    echo two > conftest.two
   2307 	    mkdir conftest.dir
   2308 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2309 	      test -s conftest.one && test -s conftest.two &&
   2310 	      test -s conftest.dir/conftest.one &&
   2311 	      test -s conftest.dir/conftest.two
   2312 	    then
   2313 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2314 	      break 3
   2315 	    fi
   2316 	  fi
   2317 	fi
   2318       done
   2319     done
   2320     ;;
   2321 esac
   2322 
   2323   done
   2324 IFS=$as_save_IFS
   2325 
   2326 rm -rf conftest.one conftest.two conftest.dir
   2327 
   2328 fi
   2329   if test "${ac_cv_path_install+set}" = set; then
   2330     INSTALL=$ac_cv_path_install
   2331   else
   2332     # As a last resort, use the slow shell script.  Don't cache a
   2333     # value for INSTALL within a source directory, because that will
   2334     # break other packages using the cache if that directory is
   2335     # removed, or if the value is a relative name.
   2336     INSTALL=$ac_install_sh
   2337   fi
   2338 fi
   2339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2340 $as_echo "$INSTALL" >&6; }
   2341 
   2342 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2343 # It thinks the first close brace ends the variable substitution.
   2344 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2345 
   2346 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2347 
   2348 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2349 
   2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2351 $as_echo_n "checking whether build environment is sane... " >&6; }
   2352 # Reject unsafe characters in $srcdir or the absolute working directory
   2353 # name.  Accept space and tab only in the latter.
   2354 am_lf='
   2355 '
   2356 case `pwd` in
   2357   *[\\\"\#\$\&\'\`$am_lf]*)
   2358     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2359 esac
   2360 case $srcdir in
   2361   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2362     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2363 esac
   2364 
   2365 # Do 'set' in a subshell so we don't clobber the current shell's
   2366 # arguments.  Must try -L first in case configure is actually a
   2367 # symlink; some systems play weird games with the mod time of symlinks
   2368 # (eg FreeBSD returns the mod time of the symlink's containing
   2369 # directory).
   2370 if (
   2371    am_has_slept=no
   2372    for am_try in 1 2; do
   2373      echo "timestamp, slept: $am_has_slept" > conftest.file
   2374      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2375      if test "$*" = "X"; then
   2376 	# -L didn't work.
   2377 	set X `ls -t "$srcdir/configure" conftest.file`
   2378      fi
   2379      if test "$*" != "X $srcdir/configure conftest.file" \
   2380 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2381 
   2382 	# If neither matched, then we have a broken ls.  This can happen
   2383 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2384 	# broken ls alias from the environment.  This has actually
   2385 	# happened.  Such a system could not be considered "sane".
   2386 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2387   alias in your environment" "$LINENO" 5
   2388      fi
   2389      if test "$2" = conftest.file || test $am_try -eq 2; then
   2390        break
   2391      fi
   2392      # Just in case.
   2393      sleep 1
   2394      am_has_slept=yes
   2395    done
   2396    test "$2" = conftest.file
   2397    )
   2398 then
   2399    # Ok.
   2400    :
   2401 else
   2402    as_fn_error $? "newly created file is older than distributed files!
   2403 Check your system clock" "$LINENO" 5
   2404 fi
   2405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2406 $as_echo "yes" >&6; }
   2407 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2408 # generated files are strictly newer.
   2409 am_sleep_pid=
   2410 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2411   ( sleep 1 ) &
   2412   am_sleep_pid=$!
   2413 fi
   2414 
   2415 rm -f conftest.file
   2416 
   2417 test "$program_prefix" != NONE &&
   2418   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2419 # Use a double $ so make ignores it.
   2420 test "$program_suffix" != NONE &&
   2421   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2422 # Double any \ or $.
   2423 # By default was `s,x,x', remove it if useless.
   2424 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2425 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2426 
   2427 # Expand $ac_aux_dir to an absolute path.
   2428 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2429 
   2430 if test x"${MISSING+set}" != xset; then
   2431   case $am_aux_dir in
   2432   *\ * | *\	*)
   2433     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2434   *)
   2435     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2436   esac
   2437 fi
   2438 # Use eval to expand $SHELL
   2439 if eval "$MISSING --is-lightweight"; then
   2440   am_missing_run="$MISSING "
   2441 else
   2442   am_missing_run=
   2443   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2444 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2445 fi
   2446 
   2447 if test x"${install_sh+set}" != xset; then
   2448   case $am_aux_dir in
   2449   *\ * | *\	*)
   2450     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2451   *)
   2452     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2453   esac
   2454 fi
   2455 
   2456 # Installed binaries are usually stripped using 'strip' when the user
   2457 # run "make install-strip".  However 'strip' might not be the right
   2458 # tool to use in cross-compilation environments, therefore Automake
   2459 # will honor the 'STRIP' environment variable to overrule this program.
   2460 if test "$cross_compiling" != no; then
   2461   if test -n "$ac_tool_prefix"; then
   2462   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2463 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2465 $as_echo_n "checking for $ac_word... " >&6; }
   2466 if ${ac_cv_prog_STRIP+:} false; then :
   2467   $as_echo_n "(cached) " >&6
   2468 else
   2469   if test -n "$STRIP"; then
   2470   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2471 else
   2472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2473 for as_dir in $PATH
   2474 do
   2475   IFS=$as_save_IFS
   2476   test -z "$as_dir" && as_dir=.
   2477     for ac_exec_ext in '' $ac_executable_extensions; do
   2478   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2479     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2480     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2481     break 2
   2482   fi
   2483 done
   2484   done
   2485 IFS=$as_save_IFS
   2486 
   2487 fi
   2488 fi
   2489 STRIP=$ac_cv_prog_STRIP
   2490 if test -n "$STRIP"; then
   2491   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2492 $as_echo "$STRIP" >&6; }
   2493 else
   2494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2495 $as_echo "no" >&6; }
   2496 fi
   2497 
   2498 
   2499 fi
   2500 if test -z "$ac_cv_prog_STRIP"; then
   2501   ac_ct_STRIP=$STRIP
   2502   # Extract the first word of "strip", so it can be a program name with args.
   2503 set dummy strip; ac_word=$2
   2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2505 $as_echo_n "checking for $ac_word... " >&6; }
   2506 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2507   $as_echo_n "(cached) " >&6
   2508 else
   2509   if test -n "$ac_ct_STRIP"; then
   2510   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2511 else
   2512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2513 for as_dir in $PATH
   2514 do
   2515   IFS=$as_save_IFS
   2516   test -z "$as_dir" && as_dir=.
   2517     for ac_exec_ext in '' $ac_executable_extensions; do
   2518   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2519     ac_cv_prog_ac_ct_STRIP="strip"
   2520     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2521     break 2
   2522   fi
   2523 done
   2524   done
   2525 IFS=$as_save_IFS
   2526 
   2527 fi
   2528 fi
   2529 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2530 if test -n "$ac_ct_STRIP"; then
   2531   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2532 $as_echo "$ac_ct_STRIP" >&6; }
   2533 else
   2534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2535 $as_echo "no" >&6; }
   2536 fi
   2537 
   2538   if test "x$ac_ct_STRIP" = x; then
   2539     STRIP=":"
   2540   else
   2541     case $cross_compiling:$ac_tool_warned in
   2542 yes:)
   2543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2544 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2545 ac_tool_warned=yes ;;
   2546 esac
   2547     STRIP=$ac_ct_STRIP
   2548   fi
   2549 else
   2550   STRIP="$ac_cv_prog_STRIP"
   2551 fi
   2552 
   2553 fi
   2554 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2555 
   2556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2557 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2558 if test -z "$MKDIR_P"; then
   2559   if ${ac_cv_path_mkdir+:} false; then :
   2560   $as_echo_n "(cached) " >&6
   2561 else
   2562   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2563 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2564 do
   2565   IFS=$as_save_IFS
   2566   test -z "$as_dir" && as_dir=.
   2567     for ac_prog in mkdir gmkdir; do
   2568 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2569 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2570 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2571 	     'mkdir (GNU coreutils) '* | \
   2572 	     'mkdir (coreutils) '* | \
   2573 	     'mkdir (fileutils) '4.1*)
   2574 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2575 	       break 3;;
   2576 	   esac
   2577 	 done
   2578        done
   2579   done
   2580 IFS=$as_save_IFS
   2581 
   2582 fi
   2583 
   2584   test -d ./--version && rmdir ./--version
   2585   if test "${ac_cv_path_mkdir+set}" = set; then
   2586     MKDIR_P="$ac_cv_path_mkdir -p"
   2587   else
   2588     # As a last resort, use the slow shell script.  Don't cache a
   2589     # value for MKDIR_P within a source directory, because that will
   2590     # break other packages using the cache if that directory is
   2591     # removed, or if the value is a relative name.
   2592     MKDIR_P="$ac_install_sh -d"
   2593   fi
   2594 fi
   2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2596 $as_echo "$MKDIR_P" >&6; }
   2597 
   2598 for ac_prog in gawk mawk nawk awk
   2599 do
   2600   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2601 set dummy $ac_prog; ac_word=$2
   2602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2603 $as_echo_n "checking for $ac_word... " >&6; }
   2604 if ${ac_cv_prog_AWK+:} false; then :
   2605   $as_echo_n "(cached) " >&6
   2606 else
   2607   if test -n "$AWK"; then
   2608   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2609 else
   2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2611 for as_dir in $PATH
   2612 do
   2613   IFS=$as_save_IFS
   2614   test -z "$as_dir" && as_dir=.
   2615     for ac_exec_ext in '' $ac_executable_extensions; do
   2616   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2617     ac_cv_prog_AWK="$ac_prog"
   2618     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2619     break 2
   2620   fi
   2621 done
   2622   done
   2623 IFS=$as_save_IFS
   2624 
   2625 fi
   2626 fi
   2627 AWK=$ac_cv_prog_AWK
   2628 if test -n "$AWK"; then
   2629   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2630 $as_echo "$AWK" >&6; }
   2631 else
   2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2633 $as_echo "no" >&6; }
   2634 fi
   2635 
   2636 
   2637   test -n "$AWK" && break
   2638 done
   2639 
   2640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2641 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2642 set x ${MAKE-make}
   2643 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2644 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2645   $as_echo_n "(cached) " >&6
   2646 else
   2647   cat >conftest.make <<\_ACEOF
   2648 SHELL = /bin/sh
   2649 all:
   2650 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2651 _ACEOF
   2652 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2653 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2654   *@@@%%%=?*=@@@%%%*)
   2655     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2656   *)
   2657     eval ac_cv_prog_make_${ac_make}_set=no;;
   2658 esac
   2659 rm -f conftest.make
   2660 fi
   2661 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2663 $as_echo "yes" >&6; }
   2664   SET_MAKE=
   2665 else
   2666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2667 $as_echo "no" >&6; }
   2668   SET_MAKE="MAKE=${MAKE-make}"
   2669 fi
   2670 
   2671 rm -rf .tst 2>/dev/null
   2672 mkdir .tst 2>/dev/null
   2673 if test -d .tst; then
   2674   am__leading_dot=.
   2675 else
   2676   am__leading_dot=_
   2677 fi
   2678 rmdir .tst 2>/dev/null
   2679 
   2680 # Check whether --enable-silent-rules was given.
   2681 if test "${enable_silent_rules+set}" = set; then :
   2682   enableval=$enable_silent_rules;
   2683 fi
   2684 
   2685 case $enable_silent_rules in # (((
   2686   yes) AM_DEFAULT_VERBOSITY=0;;
   2687    no) AM_DEFAULT_VERBOSITY=1;;
   2688     *) AM_DEFAULT_VERBOSITY=1;;
   2689 esac
   2690 am_make=${MAKE-make}
   2691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2692 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2693 if ${am_cv_make_support_nested_variables+:} false; then :
   2694   $as_echo_n "(cached) " >&6
   2695 else
   2696   if $as_echo 'TRUE=$(BAR$(V))
   2697 BAR0=false
   2698 BAR1=true
   2699 V=1
   2700 am__doit:
   2701 	@$(TRUE)
   2702 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2703   am_cv_make_support_nested_variables=yes
   2704 else
   2705   am_cv_make_support_nested_variables=no
   2706 fi
   2707 fi
   2708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2709 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2710 if test $am_cv_make_support_nested_variables = yes; then
   2711     AM_V='$(V)'
   2712   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2713 else
   2714   AM_V=$AM_DEFAULT_VERBOSITY
   2715   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2716 fi
   2717 AM_BACKSLASH='\'
   2718 
   2719 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2720   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2721   # is not polluted with repeated "-I."
   2722   am__isrc=' -I$(srcdir)'
   2723   # test to see if srcdir already configured
   2724   if test -f $srcdir/config.status; then
   2725     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2726   fi
   2727 fi
   2728 
   2729 # test whether we have cygpath
   2730 if test -z "$CYGPATH_W"; then
   2731   if (cygpath --version) >/dev/null 2>/dev/null; then
   2732     CYGPATH_W='cygpath -w'
   2733   else
   2734     CYGPATH_W=echo
   2735   fi
   2736 fi
   2737 
   2738 
   2739 # Define the identity of the package.
   2740  PACKAGE='xf86-input-keyboard'
   2741  VERSION='1.8.1'
   2742 
   2743 
   2744 cat >>confdefs.h <<_ACEOF
   2745 #define PACKAGE "$PACKAGE"
   2746 _ACEOF
   2747 
   2748 
   2749 cat >>confdefs.h <<_ACEOF
   2750 #define VERSION "$VERSION"
   2751 _ACEOF
   2752 
   2753 # Some tools Automake needs.
   2754 
   2755 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2756 
   2757 
   2758 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2759 
   2760 
   2761 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2762 
   2763 
   2764 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2765 
   2766 
   2767 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2768 
   2769 # For better backward compatibility.  To be removed once Automake 1.9.x
   2770 # dies out for good.  For more background, see:
   2771 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2772 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2773 mkdir_p='$(MKDIR_P)'
   2774 
   2775 # We need awk for the "check" target (and possibly the TAP driver).  The
   2776 # system "awk" is bad on some platforms.
   2777 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2778 # in the wild :-(  We should find a proper way to deprecate it ...
   2779 AMTAR='$${TAR-tar}'
   2780 
   2781 
   2782 # We'll loop over all known methods to create a tar archive until one works.
   2783 _am_tools='gnutar  pax cpio none'
   2784 
   2785 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2786 
   2787 
   2788 
   2789 
   2790 
   2791 
   2792 # POSIX will say in a future version that running "rm -f" with no argument
   2793 # is OK; and we want to be able to make that assumption in our Makefile
   2794 # recipes.  So use an aggressive probe to check that the usage we want is
   2795 # actually supported "in the wild" to an acceptable degree.
   2796 # See automake bug#10828.
   2797 # To make any issue more visible, cause the running configure to be aborted
   2798 # by default if the 'rm' program in use doesn't match our expectations; the
   2799 # user can still override this though.
   2800 if rm -f && rm -fr && rm -rf; then : OK; else
   2801   cat >&2 <<'END'
   2802 Oops!
   2803 
   2804 Your 'rm' program seems unable to run without file operands specified
   2805 on the command line, even when the '-f' option is present.  This is contrary
   2806 to the behaviour of most rm programs out there, and not conforming with
   2807 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2808 
   2809 Please tell bug-automake@gnu.org about your system, including the value
   2810 of your $PATH and any error possibly output before this message.  This
   2811 can help us improve future automake versions.
   2812 
   2813 END
   2814   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2815     echo 'Configuration will proceed anyway, since you have set the' >&2
   2816     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2817     echo >&2
   2818   else
   2819     cat >&2 <<'END'
   2820 Aborting the configuration process, to ensure you take notice of the issue.
   2821 
   2822 You can download and install GNU coreutils to get an 'rm' implementation
   2823 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2824 
   2825 If you want to complete the configuration process using your problematic
   2826 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2827 to "yes", and re-run configure.
   2828 
   2829 END
   2830     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2831   fi
   2832 fi
   2833 
   2834 
   2835 # Initialize libtool
   2836 # Check whether --enable-static was given.
   2837 if test "${enable_static+set}" = set; then :
   2838   enableval=$enable_static; p=${PACKAGE-default}
   2839     case $enableval in
   2840     yes) enable_static=yes ;;
   2841     no) enable_static=no ;;
   2842     *)
   2843      enable_static=no
   2844       # Look at the argument we got.  We use all the common list separators.
   2845       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2846       for pkg in $enableval; do
   2847 	IFS="$lt_save_ifs"
   2848 	if test "X$pkg" = "X$p"; then
   2849 	  enable_static=yes
   2850 	fi
   2851       done
   2852       IFS="$lt_save_ifs"
   2853       ;;
   2854     esac
   2855 else
   2856   enable_static=no
   2857 fi
   2858 
   2859 
   2860 
   2861 
   2862 
   2863 
   2864 
   2865 
   2866 
   2867 case `pwd` in
   2868   *\ * | *\	*)
   2869     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2870 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2871 esac
   2872 
   2873 
   2874 
   2875 macro_version='2.4.2'
   2876 macro_revision='1.3337'
   2877 
   2878 
   2879 
   2880 
   2881 
   2882 
   2883 
   2884 
   2885 
   2886 
   2887 
   2888 
   2889 
   2890 ltmain="$ac_aux_dir/ltmain.sh"
   2891 
   2892 # Make sure we can run config.sub.
   2893 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2894   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2895 
   2896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2897 $as_echo_n "checking build system type... " >&6; }
   2898 if ${ac_cv_build+:} false; then :
   2899   $as_echo_n "(cached) " >&6
   2900 else
   2901   ac_build_alias=$build_alias
   2902 test "x$ac_build_alias" = x &&
   2903   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2904 test "x$ac_build_alias" = x &&
   2905   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2906 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2907   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2908 
   2909 fi
   2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2911 $as_echo "$ac_cv_build" >&6; }
   2912 case $ac_cv_build in
   2913 *-*-*) ;;
   2914 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2915 esac
   2916 build=$ac_cv_build
   2917 ac_save_IFS=$IFS; IFS='-'
   2918 set x $ac_cv_build
   2919 shift
   2920 build_cpu=$1
   2921 build_vendor=$2
   2922 shift; shift
   2923 # Remember, the first character of IFS is used to create $*,
   2924 # except with old shells:
   2925 build_os=$*
   2926 IFS=$ac_save_IFS
   2927 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2928 
   2929 
   2930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2931 $as_echo_n "checking host system type... " >&6; }
   2932 if ${ac_cv_host+:} false; then :
   2933   $as_echo_n "(cached) " >&6
   2934 else
   2935   if test "x$host_alias" = x; then
   2936   ac_cv_host=$ac_cv_build
   2937 else
   2938   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2939     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2940 fi
   2941 
   2942 fi
   2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2944 $as_echo "$ac_cv_host" >&6; }
   2945 case $ac_cv_host in
   2946 *-*-*) ;;
   2947 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2948 esac
   2949 host=$ac_cv_host
   2950 ac_save_IFS=$IFS; IFS='-'
   2951 set x $ac_cv_host
   2952 shift
   2953 host_cpu=$1
   2954 host_vendor=$2
   2955 shift; shift
   2956 # Remember, the first character of IFS is used to create $*,
   2957 # except with old shells:
   2958 host_os=$*
   2959 IFS=$ac_save_IFS
   2960 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2961 
   2962 
   2963 # Backslashify metacharacters that are still active within
   2964 # double-quoted strings.
   2965 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2966 
   2967 # Same as above, but do not quote variable references.
   2968 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2969 
   2970 # Sed substitution to delay expansion of an escaped shell variable in a
   2971 # double_quote_subst'ed string.
   2972 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2973 
   2974 # Sed substitution to delay expansion of an escaped single quote.
   2975 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2976 
   2977 # Sed substitution to avoid accidental globbing in evaled expressions
   2978 no_glob_subst='s/\*/\\\*/g'
   2979 
   2980 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2981 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2982 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2983 
   2984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2985 $as_echo_n "checking how to print strings... " >&6; }
   2986 # Test print first, because it will be a builtin if present.
   2987 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2988    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2989   ECHO='print -r --'
   2990 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2991   ECHO='printf %s\n'
   2992 else
   2993   # Use this function as a fallback that always works.
   2994   func_fallback_echo ()
   2995   {
   2996     eval 'cat <<_LTECHO_EOF
   2997 $1
   2998 _LTECHO_EOF'
   2999   }
   3000   ECHO='func_fallback_echo'
   3001 fi
   3002 
   3003 # func_echo_all arg...
   3004 # Invoke $ECHO with all args, space-separated.
   3005 func_echo_all ()
   3006 {
   3007     $ECHO ""
   3008 }
   3009 
   3010 case "$ECHO" in
   3011   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3012 $as_echo "printf" >&6; } ;;
   3013   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3014 $as_echo "print -r" >&6; } ;;
   3015   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3016 $as_echo "cat" >&6; } ;;
   3017 esac
   3018 
   3019 
   3020 
   3021 
   3022 
   3023 
   3024 
   3025 
   3026 
   3027 
   3028 
   3029 
   3030 
   3031 
   3032 DEPDIR="${am__leading_dot}deps"
   3033 
   3034 ac_config_commands="$ac_config_commands depfiles"
   3035 
   3036 
   3037 am_make=${MAKE-make}
   3038 cat > confinc << 'END'
   3039 am__doit:
   3040 	@echo this is the am__doit target
   3041 .PHONY: am__doit
   3042 END
   3043 # If we don't find an include directive, just comment out the code.
   3044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3045 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3046 am__include="#"
   3047 am__quote=
   3048 _am_result=none
   3049 # First try GNU make style include.
   3050 echo "include confinc" > confmf
   3051 # Ignore all kinds of additional output from 'make'.
   3052 case `$am_make -s -f confmf 2> /dev/null` in #(
   3053 *the\ am__doit\ target*)
   3054   am__include=include
   3055   am__quote=
   3056   _am_result=GNU
   3057   ;;
   3058 esac
   3059 # Now try BSD make style include.
   3060 if test "$am__include" = "#"; then
   3061    echo '.include "confinc"' > confmf
   3062    case `$am_make -s -f confmf 2> /dev/null` in #(
   3063    *the\ am__doit\ target*)
   3064      am__include=.include
   3065      am__quote="\""
   3066      _am_result=BSD
   3067      ;;
   3068    esac
   3069 fi
   3070 
   3071 
   3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3073 $as_echo "$_am_result" >&6; }
   3074 rm -f confinc confmf
   3075 
   3076 # Check whether --enable-dependency-tracking was given.
   3077 if test "${enable_dependency_tracking+set}" = set; then :
   3078   enableval=$enable_dependency_tracking;
   3079 fi
   3080 
   3081 if test "x$enable_dependency_tracking" != xno; then
   3082   am_depcomp="$ac_aux_dir/depcomp"
   3083   AMDEPBACKSLASH='\'
   3084   am__nodep='_no'
   3085 fi
   3086  if test "x$enable_dependency_tracking" != xno; then
   3087   AMDEP_TRUE=
   3088   AMDEP_FALSE='#'
   3089 else
   3090   AMDEP_TRUE='#'
   3091   AMDEP_FALSE=
   3092 fi
   3093 
   3094 
   3095 ac_ext=c
   3096 ac_cpp='$CPP $CPPFLAGS'
   3097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3100 if test -n "$ac_tool_prefix"; then
   3101   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3102 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3104 $as_echo_n "checking for $ac_word... " >&6; }
   3105 if ${ac_cv_prog_CC+:} false; then :
   3106   $as_echo_n "(cached) " >&6
   3107 else
   3108   if test -n "$CC"; then
   3109   ac_cv_prog_CC="$CC" # Let the user override the test.
   3110 else
   3111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3112 for as_dir in $PATH
   3113 do
   3114   IFS=$as_save_IFS
   3115   test -z "$as_dir" && as_dir=.
   3116     for ac_exec_ext in '' $ac_executable_extensions; do
   3117   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3118     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3119     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3120     break 2
   3121   fi
   3122 done
   3123   done
   3124 IFS=$as_save_IFS
   3125 
   3126 fi
   3127 fi
   3128 CC=$ac_cv_prog_CC
   3129 if test -n "$CC"; then
   3130   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3131 $as_echo "$CC" >&6; }
   3132 else
   3133   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3134 $as_echo "no" >&6; }
   3135 fi
   3136 
   3137 
   3138 fi
   3139 if test -z "$ac_cv_prog_CC"; then
   3140   ac_ct_CC=$CC
   3141   # Extract the first word of "gcc", so it can be a program name with args.
   3142 set dummy gcc; ac_word=$2
   3143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3144 $as_echo_n "checking for $ac_word... " >&6; }
   3145 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3146   $as_echo_n "(cached) " >&6
   3147 else
   3148   if test -n "$ac_ct_CC"; then
   3149   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3150 else
   3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3152 for as_dir in $PATH
   3153 do
   3154   IFS=$as_save_IFS
   3155   test -z "$as_dir" && as_dir=.
   3156     for ac_exec_ext in '' $ac_executable_extensions; do
   3157   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3158     ac_cv_prog_ac_ct_CC="gcc"
   3159     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3160     break 2
   3161   fi
   3162 done
   3163   done
   3164 IFS=$as_save_IFS
   3165 
   3166 fi
   3167 fi
   3168 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3169 if test -n "$ac_ct_CC"; then
   3170   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3171 $as_echo "$ac_ct_CC" >&6; }
   3172 else
   3173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3174 $as_echo "no" >&6; }
   3175 fi
   3176 
   3177   if test "x$ac_ct_CC" = x; then
   3178     CC=""
   3179   else
   3180     case $cross_compiling:$ac_tool_warned in
   3181 yes:)
   3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3184 ac_tool_warned=yes ;;
   3185 esac
   3186     CC=$ac_ct_CC
   3187   fi
   3188 else
   3189   CC="$ac_cv_prog_CC"
   3190 fi
   3191 
   3192 if test -z "$CC"; then
   3193           if test -n "$ac_tool_prefix"; then
   3194     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3195 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3197 $as_echo_n "checking for $ac_word... " >&6; }
   3198 if ${ac_cv_prog_CC+:} false; then :
   3199   $as_echo_n "(cached) " >&6
   3200 else
   3201   if test -n "$CC"; then
   3202   ac_cv_prog_CC="$CC" # Let the user override the test.
   3203 else
   3204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3205 for as_dir in $PATH
   3206 do
   3207   IFS=$as_save_IFS
   3208   test -z "$as_dir" && as_dir=.
   3209     for ac_exec_ext in '' $ac_executable_extensions; do
   3210   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3211     ac_cv_prog_CC="${ac_tool_prefix}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 fi
   3220 fi
   3221 CC=$ac_cv_prog_CC
   3222 if test -n "$CC"; then
   3223   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3224 $as_echo "$CC" >&6; }
   3225 else
   3226   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3227 $as_echo "no" >&6; }
   3228 fi
   3229 
   3230 
   3231   fi
   3232 fi
   3233 if test -z "$CC"; then
   3234   # Extract the first word of "cc", so it can be a program name with args.
   3235 set dummy cc; ac_word=$2
   3236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3237 $as_echo_n "checking for $ac_word... " >&6; }
   3238 if ${ac_cv_prog_CC+:} false; then :
   3239   $as_echo_n "(cached) " >&6
   3240 else
   3241   if test -n "$CC"; then
   3242   ac_cv_prog_CC="$CC" # Let the user override the test.
   3243 else
   3244   ac_prog_rejected=no
   3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3246 for as_dir in $PATH
   3247 do
   3248   IFS=$as_save_IFS
   3249   test -z "$as_dir" && as_dir=.
   3250     for ac_exec_ext in '' $ac_executable_extensions; do
   3251   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3252     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3253        ac_prog_rejected=yes
   3254        continue
   3255      fi
   3256     ac_cv_prog_CC="cc"
   3257     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3258     break 2
   3259   fi
   3260 done
   3261   done
   3262 IFS=$as_save_IFS
   3263 
   3264 if test $ac_prog_rejected = yes; then
   3265   # We found a bogon in the path, so make sure we never use it.
   3266   set dummy $ac_cv_prog_CC
   3267   shift
   3268   if test $# != 0; then
   3269     # We chose a different compiler from the bogus one.
   3270     # However, it has the same basename, so the bogon will be chosen
   3271     # first if we set CC to just the basename; use the full file name.
   3272     shift
   3273     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3274   fi
   3275 fi
   3276 fi
   3277 fi
   3278 CC=$ac_cv_prog_CC
   3279 if test -n "$CC"; then
   3280   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3281 $as_echo "$CC" >&6; }
   3282 else
   3283   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3284 $as_echo "no" >&6; }
   3285 fi
   3286 
   3287 
   3288 fi
   3289 if test -z "$CC"; then
   3290   if test -n "$ac_tool_prefix"; then
   3291   for ac_prog in cl.exe
   3292   do
   3293     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3294 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3296 $as_echo_n "checking for $ac_word... " >&6; }
   3297 if ${ac_cv_prog_CC+:} false; then :
   3298   $as_echo_n "(cached) " >&6
   3299 else
   3300   if test -n "$CC"; then
   3301   ac_cv_prog_CC="$CC" # Let the user override the test.
   3302 else
   3303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3304 for as_dir in $PATH
   3305 do
   3306   IFS=$as_save_IFS
   3307   test -z "$as_dir" && as_dir=.
   3308     for ac_exec_ext in '' $ac_executable_extensions; do
   3309   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3310     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3311     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3312     break 2
   3313   fi
   3314 done
   3315   done
   3316 IFS=$as_save_IFS
   3317 
   3318 fi
   3319 fi
   3320 CC=$ac_cv_prog_CC
   3321 if test -n "$CC"; then
   3322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3323 $as_echo "$CC" >&6; }
   3324 else
   3325   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3326 $as_echo "no" >&6; }
   3327 fi
   3328 
   3329 
   3330     test -n "$CC" && break
   3331   done
   3332 fi
   3333 if test -z "$CC"; then
   3334   ac_ct_CC=$CC
   3335   for ac_prog in cl.exe
   3336 do
   3337   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3338 set dummy $ac_prog; ac_word=$2
   3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3340 $as_echo_n "checking for $ac_word... " >&6; }
   3341 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3342   $as_echo_n "(cached) " >&6
   3343 else
   3344   if test -n "$ac_ct_CC"; then
   3345   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3346 else
   3347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3348 for as_dir in $PATH
   3349 do
   3350   IFS=$as_save_IFS
   3351   test -z "$as_dir" && as_dir=.
   3352     for ac_exec_ext in '' $ac_executable_extensions; do
   3353   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3354     ac_cv_prog_ac_ct_CC="$ac_prog"
   3355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3356     break 2
   3357   fi
   3358 done
   3359   done
   3360 IFS=$as_save_IFS
   3361 
   3362 fi
   3363 fi
   3364 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3365 if test -n "$ac_ct_CC"; then
   3366   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3367 $as_echo "$ac_ct_CC" >&6; }
   3368 else
   3369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3370 $as_echo "no" >&6; }
   3371 fi
   3372 
   3373 
   3374   test -n "$ac_ct_CC" && break
   3375 done
   3376 
   3377   if test "x$ac_ct_CC" = x; then
   3378     CC=""
   3379   else
   3380     case $cross_compiling:$ac_tool_warned in
   3381 yes:)
   3382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3384 ac_tool_warned=yes ;;
   3385 esac
   3386     CC=$ac_ct_CC
   3387   fi
   3388 fi
   3389 
   3390 fi
   3391 
   3392 
   3393 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3395 as_fn_error $? "no acceptable C compiler found in \$PATH
   3396 See \`config.log' for more details" "$LINENO" 5; }
   3397 
   3398 # Provide some information about the compiler.
   3399 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3400 set X $ac_compile
   3401 ac_compiler=$2
   3402 for ac_option in --version -v -V -qversion; do
   3403   { { ac_try="$ac_compiler $ac_option >&5"
   3404 case "(($ac_try" in
   3405   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3406   *) ac_try_echo=$ac_try;;
   3407 esac
   3408 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3409 $as_echo "$ac_try_echo"; } >&5
   3410   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3411   ac_status=$?
   3412   if test -s conftest.err; then
   3413     sed '10a\
   3414 ... rest of stderr output deleted ...
   3415          10q' conftest.err >conftest.er1
   3416     cat conftest.er1 >&5
   3417   fi
   3418   rm -f conftest.er1 conftest.err
   3419   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3420   test $ac_status = 0; }
   3421 done
   3422 
   3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3424 /* end confdefs.h.  */
   3425 
   3426 int
   3427 main ()
   3428 {
   3429 
   3430   ;
   3431   return 0;
   3432 }
   3433 _ACEOF
   3434 ac_clean_files_save=$ac_clean_files
   3435 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3436 # Try to create an executable without -o first, disregard a.out.
   3437 # It will help us diagnose broken compilers, and finding out an intuition
   3438 # of exeext.
   3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3440 $as_echo_n "checking whether the C compiler works... " >&6; }
   3441 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3442 
   3443 # The possible output files:
   3444 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3445 
   3446 ac_rmfiles=
   3447 for ac_file in $ac_files
   3448 do
   3449   case $ac_file in
   3450     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3451     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3452   esac
   3453 done
   3454 rm -f $ac_rmfiles
   3455 
   3456 if { { ac_try="$ac_link_default"
   3457 case "(($ac_try" in
   3458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3459   *) ac_try_echo=$ac_try;;
   3460 esac
   3461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3462 $as_echo "$ac_try_echo"; } >&5
   3463   (eval "$ac_link_default") 2>&5
   3464   ac_status=$?
   3465   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3466   test $ac_status = 0; }; then :
   3467   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3468 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3469 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3470 # so that the user can short-circuit this test for compilers unknown to
   3471 # Autoconf.
   3472 for ac_file in $ac_files ''
   3473 do
   3474   test -f "$ac_file" || continue
   3475   case $ac_file in
   3476     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3477 	;;
   3478     [ab].out )
   3479 	# We found the default executable, but exeext='' is most
   3480 	# certainly right.
   3481 	break;;
   3482     *.* )
   3483 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3484 	then :; else
   3485 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3486 	fi
   3487 	# We set ac_cv_exeext here because the later test for it is not
   3488 	# safe: cross compilers may not add the suffix if given an `-o'
   3489 	# argument, so we may need to know it at that point already.
   3490 	# Even if this section looks crufty: it has the advantage of
   3491 	# actually working.
   3492 	break;;
   3493     * )
   3494 	break;;
   3495   esac
   3496 done
   3497 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3498 
   3499 else
   3500   ac_file=''
   3501 fi
   3502 if test -z "$ac_file"; then :
   3503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3504 $as_echo "no" >&6; }
   3505 $as_echo "$as_me: failed program was:" >&5
   3506 sed 's/^/| /' conftest.$ac_ext >&5
   3507 
   3508 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3509 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3510 as_fn_error 77 "C compiler cannot create executables
   3511 See \`config.log' for more details" "$LINENO" 5; }
   3512 else
   3513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3514 $as_echo "yes" >&6; }
   3515 fi
   3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3517 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3519 $as_echo "$ac_file" >&6; }
   3520 ac_exeext=$ac_cv_exeext
   3521 
   3522 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3523 ac_clean_files=$ac_clean_files_save
   3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3525 $as_echo_n "checking for suffix of executables... " >&6; }
   3526 if { { ac_try="$ac_link"
   3527 case "(($ac_try" in
   3528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3529   *) ac_try_echo=$ac_try;;
   3530 esac
   3531 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3532 $as_echo "$ac_try_echo"; } >&5
   3533   (eval "$ac_link") 2>&5
   3534   ac_status=$?
   3535   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3536   test $ac_status = 0; }; then :
   3537   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3538 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3539 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3540 # `rm'.
   3541 for ac_file in conftest.exe conftest conftest.*; do
   3542   test -f "$ac_file" || continue
   3543   case $ac_file in
   3544     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3545     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3546 	  break;;
   3547     * ) break;;
   3548   esac
   3549 done
   3550 else
   3551   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3553 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3554 See \`config.log' for more details" "$LINENO" 5; }
   3555 fi
   3556 rm -f conftest conftest$ac_cv_exeext
   3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3558 $as_echo "$ac_cv_exeext" >&6; }
   3559 
   3560 rm -f conftest.$ac_ext
   3561 EXEEXT=$ac_cv_exeext
   3562 ac_exeext=$EXEEXT
   3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3564 /* end confdefs.h.  */
   3565 #include <stdio.h>
   3566 int
   3567 main ()
   3568 {
   3569 FILE *f = fopen ("conftest.out", "w");
   3570  return ferror (f) || fclose (f) != 0;
   3571 
   3572   ;
   3573   return 0;
   3574 }
   3575 _ACEOF
   3576 ac_clean_files="$ac_clean_files conftest.out"
   3577 # Check that the compiler produces executables we can run.  If not, either
   3578 # the compiler is broken, or we cross compile.
   3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3580 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3581 if test "$cross_compiling" != yes; then
   3582   { { ac_try="$ac_link"
   3583 case "(($ac_try" in
   3584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3585   *) ac_try_echo=$ac_try;;
   3586 esac
   3587 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3588 $as_echo "$ac_try_echo"; } >&5
   3589   (eval "$ac_link") 2>&5
   3590   ac_status=$?
   3591   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3592   test $ac_status = 0; }
   3593   if { ac_try='./conftest$ac_cv_exeext'
   3594   { { case "(($ac_try" in
   3595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3596   *) ac_try_echo=$ac_try;;
   3597 esac
   3598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3599 $as_echo "$ac_try_echo"; } >&5
   3600   (eval "$ac_try") 2>&5
   3601   ac_status=$?
   3602   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3603   test $ac_status = 0; }; }; then
   3604     cross_compiling=no
   3605   else
   3606     if test "$cross_compiling" = maybe; then
   3607 	cross_compiling=yes
   3608     else
   3609 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3610 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3611 as_fn_error $? "cannot run C compiled programs.
   3612 If you meant to cross compile, use \`--host'.
   3613 See \`config.log' for more details" "$LINENO" 5; }
   3614     fi
   3615   fi
   3616 fi
   3617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3618 $as_echo "$cross_compiling" >&6; }
   3619 
   3620 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3621 ac_clean_files=$ac_clean_files_save
   3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3623 $as_echo_n "checking for suffix of object files... " >&6; }
   3624 if ${ac_cv_objext+:} false; then :
   3625   $as_echo_n "(cached) " >&6
   3626 else
   3627   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3628 /* end confdefs.h.  */
   3629 
   3630 int
   3631 main ()
   3632 {
   3633 
   3634   ;
   3635   return 0;
   3636 }
   3637 _ACEOF
   3638 rm -f conftest.o conftest.obj
   3639 if { { ac_try="$ac_compile"
   3640 case "(($ac_try" in
   3641   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3642   *) ac_try_echo=$ac_try;;
   3643 esac
   3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3645 $as_echo "$ac_try_echo"; } >&5
   3646   (eval "$ac_compile") 2>&5
   3647   ac_status=$?
   3648   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3649   test $ac_status = 0; }; then :
   3650   for ac_file in conftest.o conftest.obj conftest.*; do
   3651   test -f "$ac_file" || continue;
   3652   case $ac_file in
   3653     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3654     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3655        break;;
   3656   esac
   3657 done
   3658 else
   3659   $as_echo "$as_me: failed program was:" >&5
   3660 sed 's/^/| /' conftest.$ac_ext >&5
   3661 
   3662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3664 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3665 See \`config.log' for more details" "$LINENO" 5; }
   3666 fi
   3667 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3668 fi
   3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3670 $as_echo "$ac_cv_objext" >&6; }
   3671 OBJEXT=$ac_cv_objext
   3672 ac_objext=$OBJEXT
   3673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3674 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3675 if ${ac_cv_c_compiler_gnu+:} false; then :
   3676   $as_echo_n "(cached) " >&6
   3677 else
   3678   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3679 /* end confdefs.h.  */
   3680 
   3681 int
   3682 main ()
   3683 {
   3684 #ifndef __GNUC__
   3685        choke me
   3686 #endif
   3687 
   3688   ;
   3689   return 0;
   3690 }
   3691 _ACEOF
   3692 if ac_fn_c_try_compile "$LINENO"; then :
   3693   ac_compiler_gnu=yes
   3694 else
   3695   ac_compiler_gnu=no
   3696 fi
   3697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3698 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3699 
   3700 fi
   3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3702 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3703 if test $ac_compiler_gnu = yes; then
   3704   GCC=yes
   3705 else
   3706   GCC=
   3707 fi
   3708 ac_test_CFLAGS=${CFLAGS+set}
   3709 ac_save_CFLAGS=$CFLAGS
   3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3711 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3712 if ${ac_cv_prog_cc_g+:} false; then :
   3713   $as_echo_n "(cached) " >&6
   3714 else
   3715   ac_save_c_werror_flag=$ac_c_werror_flag
   3716    ac_c_werror_flag=yes
   3717    ac_cv_prog_cc_g=no
   3718    CFLAGS="-g"
   3719    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3720 /* end confdefs.h.  */
   3721 
   3722 int
   3723 main ()
   3724 {
   3725 
   3726   ;
   3727   return 0;
   3728 }
   3729 _ACEOF
   3730 if ac_fn_c_try_compile "$LINENO"; then :
   3731   ac_cv_prog_cc_g=yes
   3732 else
   3733   CFLAGS=""
   3734       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3735 /* end confdefs.h.  */
   3736 
   3737 int
   3738 main ()
   3739 {
   3740 
   3741   ;
   3742   return 0;
   3743 }
   3744 _ACEOF
   3745 if ac_fn_c_try_compile "$LINENO"; then :
   3746 
   3747 else
   3748   ac_c_werror_flag=$ac_save_c_werror_flag
   3749 	 CFLAGS="-g"
   3750 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3751 /* end confdefs.h.  */
   3752 
   3753 int
   3754 main ()
   3755 {
   3756 
   3757   ;
   3758   return 0;
   3759 }
   3760 _ACEOF
   3761 if ac_fn_c_try_compile "$LINENO"; then :
   3762   ac_cv_prog_cc_g=yes
   3763 fi
   3764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3765 fi
   3766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3767 fi
   3768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3769    ac_c_werror_flag=$ac_save_c_werror_flag
   3770 fi
   3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3772 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3773 if test "$ac_test_CFLAGS" = set; then
   3774   CFLAGS=$ac_save_CFLAGS
   3775 elif test $ac_cv_prog_cc_g = yes; then
   3776   if test "$GCC" = yes; then
   3777     CFLAGS="-g -O2"
   3778   else
   3779     CFLAGS="-g"
   3780   fi
   3781 else
   3782   if test "$GCC" = yes; then
   3783     CFLAGS="-O2"
   3784   else
   3785     CFLAGS=
   3786   fi
   3787 fi
   3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3789 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3790 if ${ac_cv_prog_cc_c89+:} false; then :
   3791   $as_echo_n "(cached) " >&6
   3792 else
   3793   ac_cv_prog_cc_c89=no
   3794 ac_save_CC=$CC
   3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3796 /* end confdefs.h.  */
   3797 #include <stdarg.h>
   3798 #include <stdio.h>
   3799 struct stat;
   3800 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3801 struct buf { int x; };
   3802 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3803 static char *e (p, i)
   3804      char **p;
   3805      int i;
   3806 {
   3807   return p[i];
   3808 }
   3809 static char *f (char * (*g) (char **, int), char **p, ...)
   3810 {
   3811   char *s;
   3812   va_list v;
   3813   va_start (v,p);
   3814   s = g (p, va_arg (v,int));
   3815   va_end (v);
   3816   return s;
   3817 }
   3818 
   3819 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3820    function prototypes and stuff, but not '\xHH' hex character constants.
   3821    These don't provoke an error unfortunately, instead are silently treated
   3822    as 'x'.  The following induces an error, until -std is added to get
   3823    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3824    array size at least.  It's necessary to write '\x00'==0 to get something
   3825    that's true only with -std.  */
   3826 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3827 
   3828 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3829    inside strings and character constants.  */
   3830 #define FOO(x) 'x'
   3831 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3832 
   3833 int test (int i, double x);
   3834 struct s1 {int (*f) (int a);};
   3835 struct s2 {int (*f) (double a);};
   3836 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3837 int argc;
   3838 char **argv;
   3839 int
   3840 main ()
   3841 {
   3842 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3843   ;
   3844   return 0;
   3845 }
   3846 _ACEOF
   3847 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3848 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3849 do
   3850   CC="$ac_save_CC $ac_arg"
   3851   if ac_fn_c_try_compile "$LINENO"; then :
   3852   ac_cv_prog_cc_c89=$ac_arg
   3853 fi
   3854 rm -f core conftest.err conftest.$ac_objext
   3855   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3856 done
   3857 rm -f conftest.$ac_ext
   3858 CC=$ac_save_CC
   3859 
   3860 fi
   3861 # AC_CACHE_VAL
   3862 case "x$ac_cv_prog_cc_c89" in
   3863   x)
   3864     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3865 $as_echo "none needed" >&6; } ;;
   3866   xno)
   3867     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3868 $as_echo "unsupported" >&6; } ;;
   3869   *)
   3870     CC="$CC $ac_cv_prog_cc_c89"
   3871     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3872 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3873 esac
   3874 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3875 
   3876 fi
   3877 
   3878 ac_ext=c
   3879 ac_cpp='$CPP $CPPFLAGS'
   3880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3883 
   3884 ac_ext=c
   3885 ac_cpp='$CPP $CPPFLAGS'
   3886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3890 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3891 if ${am_cv_prog_cc_c_o+:} false; then :
   3892   $as_echo_n "(cached) " >&6
   3893 else
   3894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3895 /* end confdefs.h.  */
   3896 
   3897 int
   3898 main ()
   3899 {
   3900 
   3901   ;
   3902   return 0;
   3903 }
   3904 _ACEOF
   3905   # Make sure it works both with $CC and with simple cc.
   3906   # Following AC_PROG_CC_C_O, we do the test twice because some
   3907   # compilers refuse to overwrite an existing .o file with -o,
   3908   # though they will create one.
   3909   am_cv_prog_cc_c_o=yes
   3910   for am_i in 1 2; do
   3911     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3912    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3913    ac_status=$?
   3914    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3915    (exit $ac_status); } \
   3916          && test -f conftest2.$ac_objext; then
   3917       : OK
   3918     else
   3919       am_cv_prog_cc_c_o=no
   3920       break
   3921     fi
   3922   done
   3923   rm -f core conftest*
   3924   unset am_i
   3925 fi
   3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3927 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3928 if test "$am_cv_prog_cc_c_o" != yes; then
   3929    # Losing compiler, so override with the script.
   3930    # FIXME: It is wrong to rewrite CC.
   3931    # But if we don't then we get into trouble of one sort or another.
   3932    # A longer-term fix would be to have automake use am__CC in this case,
   3933    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3934    CC="$am_aux_dir/compile $CC"
   3935 fi
   3936 ac_ext=c
   3937 ac_cpp='$CPP $CPPFLAGS'
   3938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3941 
   3942 
   3943 depcc="$CC"   am_compiler_list=
   3944 
   3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3946 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3947 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3948   $as_echo_n "(cached) " >&6
   3949 else
   3950   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3951   # We make a subdir and do the tests there.  Otherwise we can end up
   3952   # making bogus files that we don't know about and never remove.  For
   3953   # instance it was reported that on HP-UX the gcc test will end up
   3954   # making a dummy file named 'D' -- because '-MD' means "put the output
   3955   # in D".
   3956   rm -rf conftest.dir
   3957   mkdir conftest.dir
   3958   # Copy depcomp to subdir because otherwise we won't find it if we're
   3959   # using a relative directory.
   3960   cp "$am_depcomp" conftest.dir
   3961   cd conftest.dir
   3962   # We will build objects and dependencies in a subdirectory because
   3963   # it helps to detect inapplicable dependency modes.  For instance
   3964   # both Tru64's cc and ICC support -MD to output dependencies as a
   3965   # side effect of compilation, but ICC will put the dependencies in
   3966   # the current directory while Tru64 will put them in the object
   3967   # directory.
   3968   mkdir sub
   3969 
   3970   am_cv_CC_dependencies_compiler_type=none
   3971   if test "$am_compiler_list" = ""; then
   3972      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3973   fi
   3974   am__universal=false
   3975   case " $depcc " in #(
   3976      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3977      esac
   3978 
   3979   for depmode in $am_compiler_list; do
   3980     # Setup a source with many dependencies, because some compilers
   3981     # like to wrap large dependency lists on column 80 (with \), and
   3982     # we should not choose a depcomp mode which is confused by this.
   3983     #
   3984     # We need to recreate these files for each test, as the compiler may
   3985     # overwrite some of them when testing with obscure command lines.
   3986     # This happens at least with the AIX C compiler.
   3987     : > sub/conftest.c
   3988     for i in 1 2 3 4 5 6; do
   3989       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3990       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3991       # Solaris 10 /bin/sh.
   3992       echo '/* dummy */' > sub/conftst$i.h
   3993     done
   3994     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3995 
   3996     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3997     # mode.  It turns out that the SunPro C++ compiler does not properly
   3998     # handle '-M -o', and we need to detect this.  Also, some Intel
   3999     # versions had trouble with output in subdirs.
   4000     am__obj=sub/conftest.${OBJEXT-o}
   4001     am__minus_obj="-o $am__obj"
   4002     case $depmode in
   4003     gcc)
   4004       # This depmode causes a compiler race in universal mode.
   4005       test "$am__universal" = false || continue
   4006       ;;
   4007     nosideeffect)
   4008       # After this tag, mechanisms are not by side-effect, so they'll
   4009       # only be used when explicitly requested.
   4010       if test "x$enable_dependency_tracking" = xyes; then
   4011 	continue
   4012       else
   4013 	break
   4014       fi
   4015       ;;
   4016     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4017       # This compiler won't grok '-c -o', but also, the minuso test has
   4018       # not run yet.  These depmodes are late enough in the game, and
   4019       # so weak that their functioning should not be impacted.
   4020       am__obj=conftest.${OBJEXT-o}
   4021       am__minus_obj=
   4022       ;;
   4023     none) break ;;
   4024     esac
   4025     if depmode=$depmode \
   4026        source=sub/conftest.c object=$am__obj \
   4027        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4028        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4029          >/dev/null 2>conftest.err &&
   4030        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4031        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4032        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4033        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4034       # icc doesn't choke on unknown options, it will just issue warnings
   4035       # or remarks (even with -Werror).  So we grep stderr for any message
   4036       # that says an option was ignored or not supported.
   4037       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4038       #   icc: Command line warning: ignoring option '-M'; no argument required
   4039       # The diagnosis changed in icc 8.0:
   4040       #   icc: Command line remark: option '-MP' not supported
   4041       if (grep 'ignoring option' conftest.err ||
   4042           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4043         am_cv_CC_dependencies_compiler_type=$depmode
   4044         break
   4045       fi
   4046     fi
   4047   done
   4048 
   4049   cd ..
   4050   rm -rf conftest.dir
   4051 else
   4052   am_cv_CC_dependencies_compiler_type=none
   4053 fi
   4054 
   4055 fi
   4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4057 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4058 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4059 
   4060  if
   4061   test "x$enable_dependency_tracking" != xno \
   4062   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4063   am__fastdepCC_TRUE=
   4064   am__fastdepCC_FALSE='#'
   4065 else
   4066   am__fastdepCC_TRUE='#'
   4067   am__fastdepCC_FALSE=
   4068 fi
   4069 
   4070 
   4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4072 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4073 if ${ac_cv_path_SED+:} false; then :
   4074   $as_echo_n "(cached) " >&6
   4075 else
   4076             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4077      for ac_i in 1 2 3 4 5 6 7; do
   4078        ac_script="$ac_script$as_nl$ac_script"
   4079      done
   4080      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4081      { ac_script=; unset ac_script;}
   4082      if test -z "$SED"; then
   4083   ac_path_SED_found=false
   4084   # Loop through the user's path and test for each of PROGNAME-LIST
   4085   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4086 for as_dir in $PATH
   4087 do
   4088   IFS=$as_save_IFS
   4089   test -z "$as_dir" && as_dir=.
   4090     for ac_prog in sed gsed; do
   4091     for ac_exec_ext in '' $ac_executable_extensions; do
   4092       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4093       as_fn_executable_p "$ac_path_SED" || continue
   4094 # Check for GNU ac_path_SED and select it if it is found.
   4095   # Check for GNU $ac_path_SED
   4096 case `"$ac_path_SED" --version 2>&1` in
   4097 *GNU*)
   4098   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4099 *)
   4100   ac_count=0
   4101   $as_echo_n 0123456789 >"conftest.in"
   4102   while :
   4103   do
   4104     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4105     mv "conftest.tmp" "conftest.in"
   4106     cp "conftest.in" "conftest.nl"
   4107     $as_echo '' >> "conftest.nl"
   4108     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4109     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4110     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4111     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4112       # Best one so far, save it but keep looking for a better one
   4113       ac_cv_path_SED="$ac_path_SED"
   4114       ac_path_SED_max=$ac_count
   4115     fi
   4116     # 10*(2^10) chars as input seems more than enough
   4117     test $ac_count -gt 10 && break
   4118   done
   4119   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4120 esac
   4121 
   4122       $ac_path_SED_found && break 3
   4123     done
   4124   done
   4125   done
   4126 IFS=$as_save_IFS
   4127   if test -z "$ac_cv_path_SED"; then
   4128     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4129   fi
   4130 else
   4131   ac_cv_path_SED=$SED
   4132 fi
   4133 
   4134 fi
   4135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4136 $as_echo "$ac_cv_path_SED" >&6; }
   4137  SED="$ac_cv_path_SED"
   4138   rm -f conftest.sed
   4139 
   4140 test -z "$SED" && SED=sed
   4141 Xsed="$SED -e 1s/^X//"
   4142 
   4143 
   4144 
   4145 
   4146 
   4147 
   4148 
   4149 
   4150 
   4151 
   4152 
   4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4154 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4155 if ${ac_cv_path_GREP+:} false; then :
   4156   $as_echo_n "(cached) " >&6
   4157 else
   4158   if test -z "$GREP"; then
   4159   ac_path_GREP_found=false
   4160   # Loop through the user's path and test for each of PROGNAME-LIST
   4161   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4163 do
   4164   IFS=$as_save_IFS
   4165   test -z "$as_dir" && as_dir=.
   4166     for ac_prog in grep ggrep; do
   4167     for ac_exec_ext in '' $ac_executable_extensions; do
   4168       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4169       as_fn_executable_p "$ac_path_GREP" || continue
   4170 # Check for GNU ac_path_GREP and select it if it is found.
   4171   # Check for GNU $ac_path_GREP
   4172 case `"$ac_path_GREP" --version 2>&1` in
   4173 *GNU*)
   4174   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4175 *)
   4176   ac_count=0
   4177   $as_echo_n 0123456789 >"conftest.in"
   4178   while :
   4179   do
   4180     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4181     mv "conftest.tmp" "conftest.in"
   4182     cp "conftest.in" "conftest.nl"
   4183     $as_echo 'GREP' >> "conftest.nl"
   4184     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4185     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4186     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4187     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4188       # Best one so far, save it but keep looking for a better one
   4189       ac_cv_path_GREP="$ac_path_GREP"
   4190       ac_path_GREP_max=$ac_count
   4191     fi
   4192     # 10*(2^10) chars as input seems more than enough
   4193     test $ac_count -gt 10 && break
   4194   done
   4195   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4196 esac
   4197 
   4198       $ac_path_GREP_found && break 3
   4199     done
   4200   done
   4201   done
   4202 IFS=$as_save_IFS
   4203   if test -z "$ac_cv_path_GREP"; then
   4204     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4205   fi
   4206 else
   4207   ac_cv_path_GREP=$GREP
   4208 fi
   4209 
   4210 fi
   4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4212 $as_echo "$ac_cv_path_GREP" >&6; }
   4213  GREP="$ac_cv_path_GREP"
   4214 
   4215 
   4216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4217 $as_echo_n "checking for egrep... " >&6; }
   4218 if ${ac_cv_path_EGREP+:} false; then :
   4219   $as_echo_n "(cached) " >&6
   4220 else
   4221   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4222    then ac_cv_path_EGREP="$GREP -E"
   4223    else
   4224      if test -z "$EGREP"; then
   4225   ac_path_EGREP_found=false
   4226   # Loop through the user's path and test for each of PROGNAME-LIST
   4227   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4228 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4229 do
   4230   IFS=$as_save_IFS
   4231   test -z "$as_dir" && as_dir=.
   4232     for ac_prog in egrep; do
   4233     for ac_exec_ext in '' $ac_executable_extensions; do
   4234       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4235       as_fn_executable_p "$ac_path_EGREP" || continue
   4236 # Check for GNU ac_path_EGREP and select it if it is found.
   4237   # Check for GNU $ac_path_EGREP
   4238 case `"$ac_path_EGREP" --version 2>&1` in
   4239 *GNU*)
   4240   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4241 *)
   4242   ac_count=0
   4243   $as_echo_n 0123456789 >"conftest.in"
   4244   while :
   4245   do
   4246     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4247     mv "conftest.tmp" "conftest.in"
   4248     cp "conftest.in" "conftest.nl"
   4249     $as_echo 'EGREP' >> "conftest.nl"
   4250     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4251     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4252     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4253     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4254       # Best one so far, save it but keep looking for a better one
   4255       ac_cv_path_EGREP="$ac_path_EGREP"
   4256       ac_path_EGREP_max=$ac_count
   4257     fi
   4258     # 10*(2^10) chars as input seems more than enough
   4259     test $ac_count -gt 10 && break
   4260   done
   4261   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4262 esac
   4263 
   4264       $ac_path_EGREP_found && break 3
   4265     done
   4266   done
   4267   done
   4268 IFS=$as_save_IFS
   4269   if test -z "$ac_cv_path_EGREP"; then
   4270     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4271   fi
   4272 else
   4273   ac_cv_path_EGREP=$EGREP
   4274 fi
   4275 
   4276    fi
   4277 fi
   4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4279 $as_echo "$ac_cv_path_EGREP" >&6; }
   4280  EGREP="$ac_cv_path_EGREP"
   4281 
   4282 
   4283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4284 $as_echo_n "checking for fgrep... " >&6; }
   4285 if ${ac_cv_path_FGREP+:} false; then :
   4286   $as_echo_n "(cached) " >&6
   4287 else
   4288   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4289    then ac_cv_path_FGREP="$GREP -F"
   4290    else
   4291      if test -z "$FGREP"; then
   4292   ac_path_FGREP_found=false
   4293   # Loop through the user's path and test for each of PROGNAME-LIST
   4294   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4295 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4296 do
   4297   IFS=$as_save_IFS
   4298   test -z "$as_dir" && as_dir=.
   4299     for ac_prog in fgrep; do
   4300     for ac_exec_ext in '' $ac_executable_extensions; do
   4301       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4302       as_fn_executable_p "$ac_path_FGREP" || continue
   4303 # Check for GNU ac_path_FGREP and select it if it is found.
   4304   # Check for GNU $ac_path_FGREP
   4305 case `"$ac_path_FGREP" --version 2>&1` in
   4306 *GNU*)
   4307   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4308 *)
   4309   ac_count=0
   4310   $as_echo_n 0123456789 >"conftest.in"
   4311   while :
   4312   do
   4313     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4314     mv "conftest.tmp" "conftest.in"
   4315     cp "conftest.in" "conftest.nl"
   4316     $as_echo 'FGREP' >> "conftest.nl"
   4317     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4318     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4319     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4320     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4321       # Best one so far, save it but keep looking for a better one
   4322       ac_cv_path_FGREP="$ac_path_FGREP"
   4323       ac_path_FGREP_max=$ac_count
   4324     fi
   4325     # 10*(2^10) chars as input seems more than enough
   4326     test $ac_count -gt 10 && break
   4327   done
   4328   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4329 esac
   4330 
   4331       $ac_path_FGREP_found && break 3
   4332     done
   4333   done
   4334   done
   4335 IFS=$as_save_IFS
   4336   if test -z "$ac_cv_path_FGREP"; then
   4337     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4338   fi
   4339 else
   4340   ac_cv_path_FGREP=$FGREP
   4341 fi
   4342 
   4343    fi
   4344 fi
   4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4346 $as_echo "$ac_cv_path_FGREP" >&6; }
   4347  FGREP="$ac_cv_path_FGREP"
   4348 
   4349 
   4350 test -z "$GREP" && GREP=grep
   4351 
   4352 
   4353 
   4354 
   4355 
   4356 
   4357 
   4358 
   4359 
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366 
   4367 
   4368 
   4369 
   4370 # Check whether --with-gnu-ld was given.
   4371 if test "${with_gnu_ld+set}" = set; then :
   4372   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4373 else
   4374   with_gnu_ld=no
   4375 fi
   4376 
   4377 ac_prog=ld
   4378 if test "$GCC" = yes; then
   4379   # Check if gcc -print-prog-name=ld gives a path.
   4380   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4381 $as_echo_n "checking for ld used by $CC... " >&6; }
   4382   case $host in
   4383   *-*-mingw*)
   4384     # gcc leaves a trailing carriage return which upsets mingw
   4385     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4386   *)
   4387     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4388   esac
   4389   case $ac_prog in
   4390     # Accept absolute paths.
   4391     [\\/]* | ?:[\\/]*)
   4392       re_direlt='/[^/][^/]*/\.\./'
   4393       # Canonicalize the pathname of ld
   4394       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4395       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4396 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4397       done
   4398       test -z "$LD" && LD="$ac_prog"
   4399       ;;
   4400   "")
   4401     # If it fails, then pretend we aren't using GCC.
   4402     ac_prog=ld
   4403     ;;
   4404   *)
   4405     # If it is relative, then search for the first ld in PATH.
   4406     with_gnu_ld=unknown
   4407     ;;
   4408   esac
   4409 elif test "$with_gnu_ld" = yes; then
   4410   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4411 $as_echo_n "checking for GNU ld... " >&6; }
   4412 else
   4413   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4414 $as_echo_n "checking for non-GNU ld... " >&6; }
   4415 fi
   4416 if ${lt_cv_path_LD+:} false; then :
   4417   $as_echo_n "(cached) " >&6
   4418 else
   4419   if test -z "$LD"; then
   4420   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4421   for ac_dir in $PATH; do
   4422     IFS="$lt_save_ifs"
   4423     test -z "$ac_dir" && ac_dir=.
   4424     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4425       lt_cv_path_LD="$ac_dir/$ac_prog"
   4426       # Check to see if the program is GNU ld.  I'd rather use --version,
   4427       # but apparently some variants of GNU ld only accept -v.
   4428       # Break only if it was the GNU/non-GNU ld that we prefer.
   4429       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4430       *GNU* | *'with BFD'*)
   4431 	test "$with_gnu_ld" != no && break
   4432 	;;
   4433       *)
   4434 	test "$with_gnu_ld" != yes && break
   4435 	;;
   4436       esac
   4437     fi
   4438   done
   4439   IFS="$lt_save_ifs"
   4440 else
   4441   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4442 fi
   4443 fi
   4444 
   4445 LD="$lt_cv_path_LD"
   4446 if test -n "$LD"; then
   4447   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4448 $as_echo "$LD" >&6; }
   4449 else
   4450   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4451 $as_echo "no" >&6; }
   4452 fi
   4453 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4455 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4456 if ${lt_cv_prog_gnu_ld+:} false; then :
   4457   $as_echo_n "(cached) " >&6
   4458 else
   4459   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4460 case `$LD -v 2>&1 </dev/null` in
   4461 *GNU* | *'with BFD'*)
   4462   lt_cv_prog_gnu_ld=yes
   4463   ;;
   4464 *)
   4465   lt_cv_prog_gnu_ld=no
   4466   ;;
   4467 esac
   4468 fi
   4469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4470 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4471 with_gnu_ld=$lt_cv_prog_gnu_ld
   4472 
   4473 
   4474 
   4475 
   4476 
   4477 
   4478 
   4479 
   4480 
   4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4482 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4483 if ${lt_cv_path_NM+:} false; then :
   4484   $as_echo_n "(cached) " >&6
   4485 else
   4486   if test -n "$NM"; then
   4487   # Let the user override the test.
   4488   lt_cv_path_NM="$NM"
   4489 else
   4490   lt_nm_to_check="${ac_tool_prefix}nm"
   4491   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4492     lt_nm_to_check="$lt_nm_to_check nm"
   4493   fi
   4494   for lt_tmp_nm in $lt_nm_to_check; do
   4495     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4496     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4497       IFS="$lt_save_ifs"
   4498       test -z "$ac_dir" && ac_dir=.
   4499       tmp_nm="$ac_dir/$lt_tmp_nm"
   4500       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4501 	# Check to see if the nm accepts a BSD-compat flag.
   4502 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4503 	#   nm: unknown option "B" ignored
   4504 	# Tru64's nm complains that /dev/null is an invalid object file
   4505 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4506 	*/dev/null* | *'Invalid file or object type'*)
   4507 	  lt_cv_path_NM="$tmp_nm -B"
   4508 	  break
   4509 	  ;;
   4510 	*)
   4511 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4512 	  */dev/null*)
   4513 	    lt_cv_path_NM="$tmp_nm -p"
   4514 	    break
   4515 	    ;;
   4516 	  *)
   4517 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4518 	    continue # so that we can try to find one that supports BSD flags
   4519 	    ;;
   4520 	  esac
   4521 	  ;;
   4522 	esac
   4523       fi
   4524     done
   4525     IFS="$lt_save_ifs"
   4526   done
   4527   : ${lt_cv_path_NM=no}
   4528 fi
   4529 fi
   4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4531 $as_echo "$lt_cv_path_NM" >&6; }
   4532 if test "$lt_cv_path_NM" != "no"; then
   4533   NM="$lt_cv_path_NM"
   4534 else
   4535   # Didn't find any BSD compatible name lister, look for dumpbin.
   4536   if test -n "$DUMPBIN"; then :
   4537     # Let the user override the test.
   4538   else
   4539     if test -n "$ac_tool_prefix"; then
   4540   for ac_prog in dumpbin "link -dump"
   4541   do
   4542     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4543 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4545 $as_echo_n "checking for $ac_word... " >&6; }
   4546 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4547   $as_echo_n "(cached) " >&6
   4548 else
   4549   if test -n "$DUMPBIN"; then
   4550   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4551 else
   4552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4553 for as_dir in $PATH
   4554 do
   4555   IFS=$as_save_IFS
   4556   test -z "$as_dir" && as_dir=.
   4557     for ac_exec_ext in '' $ac_executable_extensions; do
   4558   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4559     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4560     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4561     break 2
   4562   fi
   4563 done
   4564   done
   4565 IFS=$as_save_IFS
   4566 
   4567 fi
   4568 fi
   4569 DUMPBIN=$ac_cv_prog_DUMPBIN
   4570 if test -n "$DUMPBIN"; then
   4571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4572 $as_echo "$DUMPBIN" >&6; }
   4573 else
   4574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4575 $as_echo "no" >&6; }
   4576 fi
   4577 
   4578 
   4579     test -n "$DUMPBIN" && break
   4580   done
   4581 fi
   4582 if test -z "$DUMPBIN"; then
   4583   ac_ct_DUMPBIN=$DUMPBIN
   4584   for ac_prog in dumpbin "link -dump"
   4585 do
   4586   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4587 set dummy $ac_prog; ac_word=$2
   4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4589 $as_echo_n "checking for $ac_word... " >&6; }
   4590 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4591   $as_echo_n "(cached) " >&6
   4592 else
   4593   if test -n "$ac_ct_DUMPBIN"; then
   4594   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4595 else
   4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4597 for as_dir in $PATH
   4598 do
   4599   IFS=$as_save_IFS
   4600   test -z "$as_dir" && as_dir=.
   4601     for ac_exec_ext in '' $ac_executable_extensions; do
   4602   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4603     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4604     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4605     break 2
   4606   fi
   4607 done
   4608   done
   4609 IFS=$as_save_IFS
   4610 
   4611 fi
   4612 fi
   4613 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4614 if test -n "$ac_ct_DUMPBIN"; then
   4615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4616 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4617 else
   4618   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4619 $as_echo "no" >&6; }
   4620 fi
   4621 
   4622 
   4623   test -n "$ac_ct_DUMPBIN" && break
   4624 done
   4625 
   4626   if test "x$ac_ct_DUMPBIN" = x; then
   4627     DUMPBIN=":"
   4628   else
   4629     case $cross_compiling:$ac_tool_warned in
   4630 yes:)
   4631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4633 ac_tool_warned=yes ;;
   4634 esac
   4635     DUMPBIN=$ac_ct_DUMPBIN
   4636   fi
   4637 fi
   4638 
   4639     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4640     *COFF*)
   4641       DUMPBIN="$DUMPBIN -symbols"
   4642       ;;
   4643     *)
   4644       DUMPBIN=:
   4645       ;;
   4646     esac
   4647   fi
   4648 
   4649   if test "$DUMPBIN" != ":"; then
   4650     NM="$DUMPBIN"
   4651   fi
   4652 fi
   4653 test -z "$NM" && NM=nm
   4654 
   4655 
   4656 
   4657 
   4658 
   4659 
   4660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4661 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4662 if ${lt_cv_nm_interface+:} false; then :
   4663   $as_echo_n "(cached) " >&6
   4664 else
   4665   lt_cv_nm_interface="BSD nm"
   4666   echo "int some_variable = 0;" > conftest.$ac_ext
   4667   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4668   (eval "$ac_compile" 2>conftest.err)
   4669   cat conftest.err >&5
   4670   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4671   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4672   cat conftest.err >&5
   4673   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4674   cat conftest.out >&5
   4675   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4676     lt_cv_nm_interface="MS dumpbin"
   4677   fi
   4678   rm -f conftest*
   4679 fi
   4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4681 $as_echo "$lt_cv_nm_interface" >&6; }
   4682 
   4683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4684 $as_echo_n "checking whether ln -s works... " >&6; }
   4685 LN_S=$as_ln_s
   4686 if test "$LN_S" = "ln -s"; then
   4687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4688 $as_echo "yes" >&6; }
   4689 else
   4690   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4691 $as_echo "no, using $LN_S" >&6; }
   4692 fi
   4693 
   4694 # find the maximum length of command line arguments
   4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4696 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4697 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4698   $as_echo_n "(cached) " >&6
   4699 else
   4700     i=0
   4701   teststring="ABCD"
   4702 
   4703   case $build_os in
   4704   msdosdjgpp*)
   4705     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4706     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4707     # during glob expansion).  Even if it were fixed, the result of this
   4708     # check would be larger than it should be.
   4709     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4710     ;;
   4711 
   4712   gnu*)
   4713     # Under GNU Hurd, this test is not required because there is
   4714     # no limit to the length of command line arguments.
   4715     # Libtool will interpret -1 as no limit whatsoever
   4716     lt_cv_sys_max_cmd_len=-1;
   4717     ;;
   4718 
   4719   cygwin* | mingw* | cegcc*)
   4720     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4721     # about 5 minutes as the teststring grows exponentially.
   4722     # Worse, since 9x/ME are not pre-emptively multitasking,
   4723     # you end up with a "frozen" computer, even though with patience
   4724     # the test eventually succeeds (with a max line length of 256k).
   4725     # Instead, let's just punt: use the minimum linelength reported by
   4726     # all of the supported platforms: 8192 (on NT/2K/XP).
   4727     lt_cv_sys_max_cmd_len=8192;
   4728     ;;
   4729 
   4730   mint*)
   4731     # On MiNT this can take a long time and run out of memory.
   4732     lt_cv_sys_max_cmd_len=8192;
   4733     ;;
   4734 
   4735   amigaos*)
   4736     # On AmigaOS with pdksh, this test takes hours, literally.
   4737     # So we just punt and use a minimum line length of 8192.
   4738     lt_cv_sys_max_cmd_len=8192;
   4739     ;;
   4740 
   4741   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4742     # This has been around since 386BSD, at least.  Likely further.
   4743     if test -x /sbin/sysctl; then
   4744       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4745     elif test -x /usr/sbin/sysctl; then
   4746       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4747     else
   4748       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4749     fi
   4750     # And add a safety zone
   4751     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4752     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4753     ;;
   4754 
   4755   interix*)
   4756     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4757     lt_cv_sys_max_cmd_len=196608
   4758     ;;
   4759 
   4760   os2*)
   4761     # The test takes a long time on OS/2.
   4762     lt_cv_sys_max_cmd_len=8192
   4763     ;;
   4764 
   4765   osf*)
   4766     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4767     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4768     # nice to cause kernel panics so lets avoid the loop below.
   4769     # First set a reasonable default.
   4770     lt_cv_sys_max_cmd_len=16384
   4771     #
   4772     if test -x /sbin/sysconfig; then
   4773       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4774         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4775       esac
   4776     fi
   4777     ;;
   4778   sco3.2v5*)
   4779     lt_cv_sys_max_cmd_len=102400
   4780     ;;
   4781   sysv5* | sco5v6* | sysv4.2uw2*)
   4782     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4783     if test -n "$kargmax"; then
   4784       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4785     else
   4786       lt_cv_sys_max_cmd_len=32768
   4787     fi
   4788     ;;
   4789   *)
   4790     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4791     if test -n "$lt_cv_sys_max_cmd_len"; then
   4792       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4793       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4794     else
   4795       # Make teststring a little bigger before we do anything with it.
   4796       # a 1K string should be a reasonable start.
   4797       for i in 1 2 3 4 5 6 7 8 ; do
   4798         teststring=$teststring$teststring
   4799       done
   4800       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4801       # If test is not a shell built-in, we'll probably end up computing a
   4802       # maximum length that is only half of the actual maximum length, but
   4803       # we can't tell.
   4804       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4805 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4806 	      test $i != 17 # 1/2 MB should be enough
   4807       do
   4808         i=`expr $i + 1`
   4809         teststring=$teststring$teststring
   4810       done
   4811       # Only check the string length outside the loop.
   4812       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4813       teststring=
   4814       # Add a significant safety factor because C++ compilers can tack on
   4815       # massive amounts of additional arguments before passing them to the
   4816       # linker.  It appears as though 1/2 is a usable value.
   4817       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4818     fi
   4819     ;;
   4820   esac
   4821 
   4822 fi
   4823 
   4824 if test -n $lt_cv_sys_max_cmd_len ; then
   4825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4826 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4827 else
   4828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4829 $as_echo "none" >&6; }
   4830 fi
   4831 max_cmd_len=$lt_cv_sys_max_cmd_len
   4832 
   4833 
   4834 
   4835 
   4836 
   4837 
   4838 : ${CP="cp -f"}
   4839 : ${MV="mv -f"}
   4840 : ${RM="rm -f"}
   4841 
   4842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4843 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4844 # Try some XSI features
   4845 xsi_shell=no
   4846 ( _lt_dummy="a/b/c"
   4847   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4848       = c,a/b,b/c, \
   4849     && eval 'test $(( 1 + 1 )) -eq 2 \
   4850     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4851   && xsi_shell=yes
   4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4853 $as_echo "$xsi_shell" >&6; }
   4854 
   4855 
   4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4857 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4858 lt_shell_append=no
   4859 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4860     >/dev/null 2>&1 \
   4861   && lt_shell_append=yes
   4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4863 $as_echo "$lt_shell_append" >&6; }
   4864 
   4865 
   4866 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4867   lt_unset=unset
   4868 else
   4869   lt_unset=false
   4870 fi
   4871 
   4872 
   4873 
   4874 
   4875 
   4876 # test EBCDIC or ASCII
   4877 case `echo X|tr X '\101'` in
   4878  A) # ASCII based system
   4879     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4880   lt_SP2NL='tr \040 \012'
   4881   lt_NL2SP='tr \015\012 \040\040'
   4882   ;;
   4883  *) # EBCDIC based system
   4884   lt_SP2NL='tr \100 \n'
   4885   lt_NL2SP='tr \r\n \100\100'
   4886   ;;
   4887 esac
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4898 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4899 if ${lt_cv_to_host_file_cmd+:} false; then :
   4900   $as_echo_n "(cached) " >&6
   4901 else
   4902   case $host in
   4903   *-*-mingw* )
   4904     case $build in
   4905       *-*-mingw* ) # actually msys
   4906         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4907         ;;
   4908       *-*-cygwin* )
   4909         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4910         ;;
   4911       * ) # otherwise, assume *nix
   4912         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4913         ;;
   4914     esac
   4915     ;;
   4916   *-*-cygwin* )
   4917     case $build in
   4918       *-*-mingw* ) # actually msys
   4919         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4920         ;;
   4921       *-*-cygwin* )
   4922         lt_cv_to_host_file_cmd=func_convert_file_noop
   4923         ;;
   4924       * ) # otherwise, assume *nix
   4925         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4926         ;;
   4927     esac
   4928     ;;
   4929   * ) # unhandled hosts (and "normal" native builds)
   4930     lt_cv_to_host_file_cmd=func_convert_file_noop
   4931     ;;
   4932 esac
   4933 
   4934 fi
   4935 
   4936 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4938 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4939 
   4940 
   4941 
   4942 
   4943 
   4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4945 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4946 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4947   $as_echo_n "(cached) " >&6
   4948 else
   4949   #assume ordinary cross tools, or native build.
   4950 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4951 case $host in
   4952   *-*-mingw* )
   4953     case $build in
   4954       *-*-mingw* ) # actually msys
   4955         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4956         ;;
   4957     esac
   4958     ;;
   4959 esac
   4960 
   4961 fi
   4962 
   4963 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4965 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4966 
   4967 
   4968 
   4969 
   4970 
   4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4972 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4973 if ${lt_cv_ld_reload_flag+:} false; then :
   4974   $as_echo_n "(cached) " >&6
   4975 else
   4976   lt_cv_ld_reload_flag='-r'
   4977 fi
   4978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4979 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4980 reload_flag=$lt_cv_ld_reload_flag
   4981 case $reload_flag in
   4982 "" | " "*) ;;
   4983 *) reload_flag=" $reload_flag" ;;
   4984 esac
   4985 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4986 case $host_os in
   4987   cygwin* | mingw* | pw32* | cegcc*)
   4988     if test "$GCC" != yes; then
   4989       reload_cmds=false
   4990     fi
   4991     ;;
   4992   darwin*)
   4993     if test "$GCC" = yes; then
   4994       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4995     else
   4996       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4997     fi
   4998     ;;
   4999 esac
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 
   5009 if test -n "$ac_tool_prefix"; then
   5010   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5011 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5013 $as_echo_n "checking for $ac_word... " >&6; }
   5014 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5015   $as_echo_n "(cached) " >&6
   5016 else
   5017   if test -n "$OBJDUMP"; then
   5018   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5019 else
   5020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5021 for as_dir in $PATH
   5022 do
   5023   IFS=$as_save_IFS
   5024   test -z "$as_dir" && as_dir=.
   5025     for ac_exec_ext in '' $ac_executable_extensions; do
   5026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5027     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5028     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5029     break 2
   5030   fi
   5031 done
   5032   done
   5033 IFS=$as_save_IFS
   5034 
   5035 fi
   5036 fi
   5037 OBJDUMP=$ac_cv_prog_OBJDUMP
   5038 if test -n "$OBJDUMP"; then
   5039   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5040 $as_echo "$OBJDUMP" >&6; }
   5041 else
   5042   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5043 $as_echo "no" >&6; }
   5044 fi
   5045 
   5046 
   5047 fi
   5048 if test -z "$ac_cv_prog_OBJDUMP"; then
   5049   ac_ct_OBJDUMP=$OBJDUMP
   5050   # Extract the first word of "objdump", so it can be a program name with args.
   5051 set dummy objdump; ac_word=$2
   5052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5053 $as_echo_n "checking for $ac_word... " >&6; }
   5054 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5055   $as_echo_n "(cached) " >&6
   5056 else
   5057   if test -n "$ac_ct_OBJDUMP"; then
   5058   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5059 else
   5060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5061 for as_dir in $PATH
   5062 do
   5063   IFS=$as_save_IFS
   5064   test -z "$as_dir" && as_dir=.
   5065     for ac_exec_ext in '' $ac_executable_extensions; do
   5066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5067     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5069     break 2
   5070   fi
   5071 done
   5072   done
   5073 IFS=$as_save_IFS
   5074 
   5075 fi
   5076 fi
   5077 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5078 if test -n "$ac_ct_OBJDUMP"; then
   5079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5080 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5081 else
   5082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5083 $as_echo "no" >&6; }
   5084 fi
   5085 
   5086   if test "x$ac_ct_OBJDUMP" = x; then
   5087     OBJDUMP="false"
   5088   else
   5089     case $cross_compiling:$ac_tool_warned in
   5090 yes:)
   5091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5092 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5093 ac_tool_warned=yes ;;
   5094 esac
   5095     OBJDUMP=$ac_ct_OBJDUMP
   5096   fi
   5097 else
   5098   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5099 fi
   5100 
   5101 test -z "$OBJDUMP" && OBJDUMP=objdump
   5102 
   5103 
   5104 
   5105 
   5106 
   5107 
   5108 
   5109 
   5110 
   5111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5112 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5113 if ${lt_cv_deplibs_check_method+:} false; then :
   5114   $as_echo_n "(cached) " >&6
   5115 else
   5116   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5117 lt_cv_file_magic_test_file=
   5118 lt_cv_deplibs_check_method='unknown'
   5119 # Need to set the preceding variable on all platforms that support
   5120 # interlibrary dependencies.
   5121 # 'none' -- dependencies not supported.
   5122 # `unknown' -- same as none, but documents that we really don't know.
   5123 # 'pass_all' -- all dependencies passed with no checks.
   5124 # 'test_compile' -- check by making test program.
   5125 # 'file_magic [[regex]]' -- check by looking for files in library path
   5126 # which responds to the $file_magic_cmd with a given extended regex.
   5127 # If you have `file' or equivalent on your system and you're not sure
   5128 # whether `pass_all' will *always* work, you probably want this one.
   5129 
   5130 case $host_os in
   5131 aix[4-9]*)
   5132   lt_cv_deplibs_check_method=pass_all
   5133   ;;
   5134 
   5135 beos*)
   5136   lt_cv_deplibs_check_method=pass_all
   5137   ;;
   5138 
   5139 bsdi[45]*)
   5140   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5141   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5142   lt_cv_file_magic_test_file=/shlib/libc.so
   5143   ;;
   5144 
   5145 cygwin*)
   5146   # func_win32_libid is a shell function defined in ltmain.sh
   5147   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5148   lt_cv_file_magic_cmd='func_win32_libid'
   5149   ;;
   5150 
   5151 mingw* | pw32*)
   5152   # Base MSYS/MinGW do not provide the 'file' command needed by
   5153   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5154   # unless we find 'file', for example because we are cross-compiling.
   5155   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5156   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5157     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5158     lt_cv_file_magic_cmd='func_win32_libid'
   5159   else
   5160     # Keep this pattern in sync with the one in func_win32_libid.
   5161     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5162     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5163   fi
   5164   ;;
   5165 
   5166 cegcc*)
   5167   # use the weaker test based on 'objdump'. See mingw*.
   5168   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5169   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5170   ;;
   5171 
   5172 darwin* | rhapsody*)
   5173   lt_cv_deplibs_check_method=pass_all
   5174   ;;
   5175 
   5176 freebsd* | dragonfly*)
   5177   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5178     case $host_cpu in
   5179     i*86 )
   5180       # Not sure whether the presence of OpenBSD here was a mistake.
   5181       # Let's accept both of them until this is cleared up.
   5182       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5183       lt_cv_file_magic_cmd=/usr/bin/file
   5184       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5185       ;;
   5186     esac
   5187   else
   5188     lt_cv_deplibs_check_method=pass_all
   5189   fi
   5190   ;;
   5191 
   5192 gnu*)
   5193   lt_cv_deplibs_check_method=pass_all
   5194   ;;
   5195 
   5196 haiku*)
   5197   lt_cv_deplibs_check_method=pass_all
   5198   ;;
   5199 
   5200 hpux10.20* | hpux11*)
   5201   lt_cv_file_magic_cmd=/usr/bin/file
   5202   case $host_cpu in
   5203   ia64*)
   5204     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5205     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5206     ;;
   5207   hppa*64*)
   5208     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]'
   5209     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5210     ;;
   5211   *)
   5212     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5213     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5214     ;;
   5215   esac
   5216   ;;
   5217 
   5218 interix[3-9]*)
   5219   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5220   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5221   ;;
   5222 
   5223 irix5* | irix6* | nonstopux*)
   5224   case $LD in
   5225   *-32|*"-32 ") libmagic=32-bit;;
   5226   *-n32|*"-n32 ") libmagic=N32;;
   5227   *-64|*"-64 ") libmagic=64-bit;;
   5228   *) libmagic=never-match;;
   5229   esac
   5230   lt_cv_deplibs_check_method=pass_all
   5231   ;;
   5232 
   5233 # This must be glibc/ELF.
   5234 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5235   lt_cv_deplibs_check_method=pass_all
   5236   ;;
   5237 
   5238 netbsd*)
   5239   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5240     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5241   else
   5242     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5243   fi
   5244   ;;
   5245 
   5246 newos6*)
   5247   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5248   lt_cv_file_magic_cmd=/usr/bin/file
   5249   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5250   ;;
   5251 
   5252 *nto* | *qnx*)
   5253   lt_cv_deplibs_check_method=pass_all
   5254   ;;
   5255 
   5256 openbsd*)
   5257   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5258     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5259   else
   5260     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5261   fi
   5262   ;;
   5263 
   5264 osf3* | osf4* | osf5*)
   5265   lt_cv_deplibs_check_method=pass_all
   5266   ;;
   5267 
   5268 rdos*)
   5269   lt_cv_deplibs_check_method=pass_all
   5270   ;;
   5271 
   5272 solaris*)
   5273   lt_cv_deplibs_check_method=pass_all
   5274   ;;
   5275 
   5276 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5277   lt_cv_deplibs_check_method=pass_all
   5278   ;;
   5279 
   5280 sysv4 | sysv4.3*)
   5281   case $host_vendor in
   5282   motorola)
   5283     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]'
   5284     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5285     ;;
   5286   ncr)
   5287     lt_cv_deplibs_check_method=pass_all
   5288     ;;
   5289   sequent)
   5290     lt_cv_file_magic_cmd='/bin/file'
   5291     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5292     ;;
   5293   sni)
   5294     lt_cv_file_magic_cmd='/bin/file'
   5295     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5296     lt_cv_file_magic_test_file=/lib/libc.so
   5297     ;;
   5298   siemens)
   5299     lt_cv_deplibs_check_method=pass_all
   5300     ;;
   5301   pc)
   5302     lt_cv_deplibs_check_method=pass_all
   5303     ;;
   5304   esac
   5305   ;;
   5306 
   5307 tpf*)
   5308   lt_cv_deplibs_check_method=pass_all
   5309   ;;
   5310 esac
   5311 
   5312 fi
   5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5314 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5315 
   5316 file_magic_glob=
   5317 want_nocaseglob=no
   5318 if test "$build" = "$host"; then
   5319   case $host_os in
   5320   mingw* | pw32*)
   5321     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5322       want_nocaseglob=yes
   5323     else
   5324       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5325     fi
   5326     ;;
   5327   esac
   5328 fi
   5329 
   5330 file_magic_cmd=$lt_cv_file_magic_cmd
   5331 deplibs_check_method=$lt_cv_deplibs_check_method
   5332 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 
   5352 
   5353 
   5354 
   5355 if test -n "$ac_tool_prefix"; then
   5356   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5357 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5359 $as_echo_n "checking for $ac_word... " >&6; }
   5360 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5361   $as_echo_n "(cached) " >&6
   5362 else
   5363   if test -n "$DLLTOOL"; then
   5364   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5365 else
   5366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5367 for as_dir in $PATH
   5368 do
   5369   IFS=$as_save_IFS
   5370   test -z "$as_dir" && as_dir=.
   5371     for ac_exec_ext in '' $ac_executable_extensions; do
   5372   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5373     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5375     break 2
   5376   fi
   5377 done
   5378   done
   5379 IFS=$as_save_IFS
   5380 
   5381 fi
   5382 fi
   5383 DLLTOOL=$ac_cv_prog_DLLTOOL
   5384 if test -n "$DLLTOOL"; then
   5385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5386 $as_echo "$DLLTOOL" >&6; }
   5387 else
   5388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5389 $as_echo "no" >&6; }
   5390 fi
   5391 
   5392 
   5393 fi
   5394 if test -z "$ac_cv_prog_DLLTOOL"; then
   5395   ac_ct_DLLTOOL=$DLLTOOL
   5396   # Extract the first word of "dlltool", so it can be a program name with args.
   5397 set dummy dlltool; ac_word=$2
   5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5399 $as_echo_n "checking for $ac_word... " >&6; }
   5400 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5401   $as_echo_n "(cached) " >&6
   5402 else
   5403   if test -n "$ac_ct_DLLTOOL"; then
   5404   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5405 else
   5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5407 for as_dir in $PATH
   5408 do
   5409   IFS=$as_save_IFS
   5410   test -z "$as_dir" && as_dir=.
   5411     for ac_exec_ext in '' $ac_executable_extensions; do
   5412   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5413     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5415     break 2
   5416   fi
   5417 done
   5418   done
   5419 IFS=$as_save_IFS
   5420 
   5421 fi
   5422 fi
   5423 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5424 if test -n "$ac_ct_DLLTOOL"; then
   5425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5426 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5427 else
   5428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5429 $as_echo "no" >&6; }
   5430 fi
   5431 
   5432   if test "x$ac_ct_DLLTOOL" = x; then
   5433     DLLTOOL="false"
   5434   else
   5435     case $cross_compiling:$ac_tool_warned in
   5436 yes:)
   5437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5439 ac_tool_warned=yes ;;
   5440 esac
   5441     DLLTOOL=$ac_ct_DLLTOOL
   5442   fi
   5443 else
   5444   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5445 fi
   5446 
   5447 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5459 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5460 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5461   $as_echo_n "(cached) " >&6
   5462 else
   5463   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5464 
   5465 case $host_os in
   5466 cygwin* | mingw* | pw32* | cegcc*)
   5467   # two different shell functions defined in ltmain.sh
   5468   # decide which to use based on capabilities of $DLLTOOL
   5469   case `$DLLTOOL --help 2>&1` in
   5470   *--identify-strict*)
   5471     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5472     ;;
   5473   *)
   5474     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5475     ;;
   5476   esac
   5477   ;;
   5478 *)
   5479   # fallback: assume linklib IS sharedlib
   5480   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5481   ;;
   5482 esac
   5483 
   5484 fi
   5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5486 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5487 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5488 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5489 
   5490 
   5491 
   5492 
   5493 
   5494 
   5495 
   5496 
   5497 if test -n "$ac_tool_prefix"; then
   5498   for ac_prog in ar
   5499   do
   5500     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5501 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5503 $as_echo_n "checking for $ac_word... " >&6; }
   5504 if ${ac_cv_prog_AR+:} false; then :
   5505   $as_echo_n "(cached) " >&6
   5506 else
   5507   if test -n "$AR"; then
   5508   ac_cv_prog_AR="$AR" # Let the user override the test.
   5509 else
   5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5511 for as_dir in $PATH
   5512 do
   5513   IFS=$as_save_IFS
   5514   test -z "$as_dir" && as_dir=.
   5515     for ac_exec_ext in '' $ac_executable_extensions; do
   5516   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5517     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5519     break 2
   5520   fi
   5521 done
   5522   done
   5523 IFS=$as_save_IFS
   5524 
   5525 fi
   5526 fi
   5527 AR=$ac_cv_prog_AR
   5528 if test -n "$AR"; then
   5529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5530 $as_echo "$AR" >&6; }
   5531 else
   5532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5533 $as_echo "no" >&6; }
   5534 fi
   5535 
   5536 
   5537     test -n "$AR" && break
   5538   done
   5539 fi
   5540 if test -z "$AR"; then
   5541   ac_ct_AR=$AR
   5542   for ac_prog in ar
   5543 do
   5544   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5545 set dummy $ac_prog; ac_word=$2
   5546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5547 $as_echo_n "checking for $ac_word... " >&6; }
   5548 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5549   $as_echo_n "(cached) " >&6
   5550 else
   5551   if test -n "$ac_ct_AR"; then
   5552   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5553 else
   5554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5555 for as_dir in $PATH
   5556 do
   5557   IFS=$as_save_IFS
   5558   test -z "$as_dir" && as_dir=.
   5559     for ac_exec_ext in '' $ac_executable_extensions; do
   5560   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5561     ac_cv_prog_ac_ct_AR="$ac_prog"
   5562     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5563     break 2
   5564   fi
   5565 done
   5566   done
   5567 IFS=$as_save_IFS
   5568 
   5569 fi
   5570 fi
   5571 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5572 if test -n "$ac_ct_AR"; then
   5573   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5574 $as_echo "$ac_ct_AR" >&6; }
   5575 else
   5576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5577 $as_echo "no" >&6; }
   5578 fi
   5579 
   5580 
   5581   test -n "$ac_ct_AR" && break
   5582 done
   5583 
   5584   if test "x$ac_ct_AR" = x; then
   5585     AR="false"
   5586   else
   5587     case $cross_compiling:$ac_tool_warned in
   5588 yes:)
   5589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5590 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5591 ac_tool_warned=yes ;;
   5592 esac
   5593     AR=$ac_ct_AR
   5594   fi
   5595 fi
   5596 
   5597 : ${AR=ar}
   5598 : ${AR_FLAGS=cru}
   5599 
   5600 
   5601 
   5602 
   5603 
   5604 
   5605 
   5606 
   5607 
   5608 
   5609 
   5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5611 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5612 if ${lt_cv_ar_at_file+:} false; then :
   5613   $as_echo_n "(cached) " >&6
   5614 else
   5615   lt_cv_ar_at_file=no
   5616    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5617 /* end confdefs.h.  */
   5618 
   5619 int
   5620 main ()
   5621 {
   5622 
   5623   ;
   5624   return 0;
   5625 }
   5626 _ACEOF
   5627 if ac_fn_c_try_compile "$LINENO"; then :
   5628   echo conftest.$ac_objext > conftest.lst
   5629       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5630       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5631   (eval $lt_ar_try) 2>&5
   5632   ac_status=$?
   5633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5634   test $ac_status = 0; }
   5635       if test "$ac_status" -eq 0; then
   5636 	# Ensure the archiver fails upon bogus file names.
   5637 	rm -f conftest.$ac_objext libconftest.a
   5638 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5639   (eval $lt_ar_try) 2>&5
   5640   ac_status=$?
   5641   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5642   test $ac_status = 0; }
   5643 	if test "$ac_status" -ne 0; then
   5644           lt_cv_ar_at_file=@
   5645         fi
   5646       fi
   5647       rm -f conftest.* libconftest.a
   5648 
   5649 fi
   5650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5651 
   5652 fi
   5653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5654 $as_echo "$lt_cv_ar_at_file" >&6; }
   5655 
   5656 if test "x$lt_cv_ar_at_file" = xno; then
   5657   archiver_list_spec=
   5658 else
   5659   archiver_list_spec=$lt_cv_ar_at_file
   5660 fi
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 if test -n "$ac_tool_prefix"; then
   5669   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5670 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5672 $as_echo_n "checking for $ac_word... " >&6; }
   5673 if ${ac_cv_prog_STRIP+:} false; then :
   5674   $as_echo_n "(cached) " >&6
   5675 else
   5676   if test -n "$STRIP"; then
   5677   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5678 else
   5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5680 for as_dir in $PATH
   5681 do
   5682   IFS=$as_save_IFS
   5683   test -z "$as_dir" && as_dir=.
   5684     for ac_exec_ext in '' $ac_executable_extensions; do
   5685   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5686     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5687     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5688     break 2
   5689   fi
   5690 done
   5691   done
   5692 IFS=$as_save_IFS
   5693 
   5694 fi
   5695 fi
   5696 STRIP=$ac_cv_prog_STRIP
   5697 if test -n "$STRIP"; then
   5698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5699 $as_echo "$STRIP" >&6; }
   5700 else
   5701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5702 $as_echo "no" >&6; }
   5703 fi
   5704 
   5705 
   5706 fi
   5707 if test -z "$ac_cv_prog_STRIP"; then
   5708   ac_ct_STRIP=$STRIP
   5709   # Extract the first word of "strip", so it can be a program name with args.
   5710 set dummy strip; ac_word=$2
   5711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5712 $as_echo_n "checking for $ac_word... " >&6; }
   5713 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5714   $as_echo_n "(cached) " >&6
   5715 else
   5716   if test -n "$ac_ct_STRIP"; then
   5717   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5718 else
   5719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5720 for as_dir in $PATH
   5721 do
   5722   IFS=$as_save_IFS
   5723   test -z "$as_dir" && as_dir=.
   5724     for ac_exec_ext in '' $ac_executable_extensions; do
   5725   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5726     ac_cv_prog_ac_ct_STRIP="strip"
   5727     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5728     break 2
   5729   fi
   5730 done
   5731   done
   5732 IFS=$as_save_IFS
   5733 
   5734 fi
   5735 fi
   5736 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5737 if test -n "$ac_ct_STRIP"; then
   5738   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5739 $as_echo "$ac_ct_STRIP" >&6; }
   5740 else
   5741   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5742 $as_echo "no" >&6; }
   5743 fi
   5744 
   5745   if test "x$ac_ct_STRIP" = x; then
   5746     STRIP=":"
   5747   else
   5748     case $cross_compiling:$ac_tool_warned in
   5749 yes:)
   5750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5752 ac_tool_warned=yes ;;
   5753 esac
   5754     STRIP=$ac_ct_STRIP
   5755   fi
   5756 else
   5757   STRIP="$ac_cv_prog_STRIP"
   5758 fi
   5759 
   5760 test -z "$STRIP" && STRIP=:
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 if test -n "$ac_tool_prefix"; then
   5768   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5769 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5771 $as_echo_n "checking for $ac_word... " >&6; }
   5772 if ${ac_cv_prog_RANLIB+:} false; then :
   5773   $as_echo_n "(cached) " >&6
   5774 else
   5775   if test -n "$RANLIB"; then
   5776   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5777 else
   5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5779 for as_dir in $PATH
   5780 do
   5781   IFS=$as_save_IFS
   5782   test -z "$as_dir" && as_dir=.
   5783     for ac_exec_ext in '' $ac_executable_extensions; do
   5784   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5785     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5786     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5787     break 2
   5788   fi
   5789 done
   5790   done
   5791 IFS=$as_save_IFS
   5792 
   5793 fi
   5794 fi
   5795 RANLIB=$ac_cv_prog_RANLIB
   5796 if test -n "$RANLIB"; then
   5797   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5798 $as_echo "$RANLIB" >&6; }
   5799 else
   5800   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5801 $as_echo "no" >&6; }
   5802 fi
   5803 
   5804 
   5805 fi
   5806 if test -z "$ac_cv_prog_RANLIB"; then
   5807   ac_ct_RANLIB=$RANLIB
   5808   # Extract the first word of "ranlib", so it can be a program name with args.
   5809 set dummy ranlib; ac_word=$2
   5810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5811 $as_echo_n "checking for $ac_word... " >&6; }
   5812 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5813   $as_echo_n "(cached) " >&6
   5814 else
   5815   if test -n "$ac_ct_RANLIB"; then
   5816   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5817 else
   5818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5819 for as_dir in $PATH
   5820 do
   5821   IFS=$as_save_IFS
   5822   test -z "$as_dir" && as_dir=.
   5823     for ac_exec_ext in '' $ac_executable_extensions; do
   5824   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5825     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5826     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5827     break 2
   5828   fi
   5829 done
   5830   done
   5831 IFS=$as_save_IFS
   5832 
   5833 fi
   5834 fi
   5835 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5836 if test -n "$ac_ct_RANLIB"; then
   5837   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5838 $as_echo "$ac_ct_RANLIB" >&6; }
   5839 else
   5840   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5841 $as_echo "no" >&6; }
   5842 fi
   5843 
   5844   if test "x$ac_ct_RANLIB" = x; then
   5845     RANLIB=":"
   5846   else
   5847     case $cross_compiling:$ac_tool_warned in
   5848 yes:)
   5849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5850 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5851 ac_tool_warned=yes ;;
   5852 esac
   5853     RANLIB=$ac_ct_RANLIB
   5854   fi
   5855 else
   5856   RANLIB="$ac_cv_prog_RANLIB"
   5857 fi
   5858 
   5859 test -z "$RANLIB" && RANLIB=:
   5860 
   5861 
   5862 
   5863 
   5864 
   5865 
   5866 # Determine commands to create old-style static archives.
   5867 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5868 old_postinstall_cmds='chmod 644 $oldlib'
   5869 old_postuninstall_cmds=
   5870 
   5871 if test -n "$RANLIB"; then
   5872   case $host_os in
   5873   openbsd*)
   5874     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5875     ;;
   5876   *)
   5877     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5878     ;;
   5879   esac
   5880   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5881 fi
   5882 
   5883 case $host_os in
   5884   darwin*)
   5885     lock_old_archive_extraction=yes ;;
   5886   *)
   5887     lock_old_archive_extraction=no ;;
   5888 esac
   5889 
   5890 
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 # If no C compiler was specified, use CC.
   5929 LTCC=${LTCC-"$CC"}
   5930 
   5931 # If no C compiler flags were specified, use CFLAGS.
   5932 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5933 
   5934 # Allow CC to be a program name with arguments.
   5935 compiler=$CC
   5936 
   5937 
   5938 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5940 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5941 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5942   $as_echo_n "(cached) " >&6
   5943 else
   5944 
   5945 # These are sane defaults that work on at least a few old systems.
   5946 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5947 
   5948 # Character class describing NM global symbol codes.
   5949 symcode='[BCDEGRST]'
   5950 
   5951 # Regexp to match symbols that can be accessed directly from C.
   5952 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5953 
   5954 # Define system-specific variables.
   5955 case $host_os in
   5956 aix*)
   5957   symcode='[BCDT]'
   5958   ;;
   5959 cygwin* | mingw* | pw32* | cegcc*)
   5960   symcode='[ABCDGISTW]'
   5961   ;;
   5962 hpux*)
   5963   if test "$host_cpu" = ia64; then
   5964     symcode='[ABCDEGRST]'
   5965   fi
   5966   ;;
   5967 irix* | nonstopux*)
   5968   symcode='[BCDEGRST]'
   5969   ;;
   5970 osf*)
   5971   symcode='[BCDEGQRST]'
   5972   ;;
   5973 solaris*)
   5974   symcode='[BDRT]'
   5975   ;;
   5976 sco3.2v5*)
   5977   symcode='[DT]'
   5978   ;;
   5979 sysv4.2uw2*)
   5980   symcode='[DT]'
   5981   ;;
   5982 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5983   symcode='[ABDT]'
   5984   ;;
   5985 sysv4)
   5986   symcode='[DFNSTU]'
   5987   ;;
   5988 esac
   5989 
   5990 # If we're using GNU nm, then use its standard symbol codes.
   5991 case `$NM -V 2>&1` in
   5992 *GNU* | *'with BFD'*)
   5993   symcode='[ABCDGIRSTW]' ;;
   5994 esac
   5995 
   5996 # Transform an extracted symbol line into a proper C declaration.
   5997 # Some systems (esp. on ia64) link data and code symbols differently,
   5998 # so use this general approach.
   5999 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6000 
   6001 # Transform an extracted symbol line into symbol name and symbol address
   6002 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6003 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'"
   6004 
   6005 # Handle CRLF in mingw tool chain
   6006 opt_cr=
   6007 case $build_os in
   6008 mingw*)
   6009   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6010   ;;
   6011 esac
   6012 
   6013 # Try without a prefix underscore, then with it.
   6014 for ac_symprfx in "" "_"; do
   6015 
   6016   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6017   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6018 
   6019   # Write the raw and C identifiers.
   6020   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6021     # Fake it for dumpbin and say T for any non-static function
   6022     # and D for any global variable.
   6023     # Also find C++ and __fastcall symbols from MSVC++,
   6024     # which start with @ or ?.
   6025     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6026 "     {last_section=section; section=\$ 3};"\
   6027 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6028 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6029 "     \$ 0!~/External *\|/{next};"\
   6030 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6031 "     {if(hide[section]) next};"\
   6032 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6033 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6034 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6035 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6036 "     ' prfx=^$ac_symprfx"
   6037   else
   6038     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6039   fi
   6040   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6041 
   6042   # Check to see that the pipe works correctly.
   6043   pipe_works=no
   6044 
   6045   rm -f conftest*
   6046   cat > conftest.$ac_ext <<_LT_EOF
   6047 #ifdef __cplusplus
   6048 extern "C" {
   6049 #endif
   6050 char nm_test_var;
   6051 void nm_test_func(void);
   6052 void nm_test_func(void){}
   6053 #ifdef __cplusplus
   6054 }
   6055 #endif
   6056 int main(){nm_test_var='a';nm_test_func();return(0);}
   6057 _LT_EOF
   6058 
   6059   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6060   (eval $ac_compile) 2>&5
   6061   ac_status=$?
   6062   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6063   test $ac_status = 0; }; then
   6064     # Now try to grab the symbols.
   6065     nlist=conftest.nm
   6066     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6067   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6068   ac_status=$?
   6069   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6070   test $ac_status = 0; } && test -s "$nlist"; then
   6071       # Try sorting and uniquifying the output.
   6072       if sort "$nlist" | uniq > "$nlist"T; then
   6073 	mv -f "$nlist"T "$nlist"
   6074       else
   6075 	rm -f "$nlist"T
   6076       fi
   6077 
   6078       # Make sure that we snagged all the symbols we need.
   6079       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6080 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6081 	  cat <<_LT_EOF > conftest.$ac_ext
   6082 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6083 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   6084 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   6085    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6086 # define LT_DLSYM_CONST
   6087 #elif defined(__osf__)
   6088 /* This system does not cope well with relocations in const data.  */
   6089 # define LT_DLSYM_CONST
   6090 #else
   6091 # define LT_DLSYM_CONST const
   6092 #endif
   6093 
   6094 #ifdef __cplusplus
   6095 extern "C" {
   6096 #endif
   6097 
   6098 _LT_EOF
   6099 	  # Now generate the symbol file.
   6100 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6101 
   6102 	  cat <<_LT_EOF >> conftest.$ac_ext
   6103 
   6104 /* The mapping between symbol names and symbols.  */
   6105 LT_DLSYM_CONST struct {
   6106   const char *name;
   6107   void       *address;
   6108 }
   6109 lt__PROGRAM__LTX_preloaded_symbols[] =
   6110 {
   6111   { "@PROGRAM@", (void *) 0 },
   6112 _LT_EOF
   6113 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6114 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6115   {0, (void *) 0}
   6116 };
   6117 
   6118 /* This works around a problem in FreeBSD linker */
   6119 #ifdef FREEBSD_WORKAROUND
   6120 static const void *lt_preloaded_setup() {
   6121   return lt__PROGRAM__LTX_preloaded_symbols;
   6122 }
   6123 #endif
   6124 
   6125 #ifdef __cplusplus
   6126 }
   6127 #endif
   6128 _LT_EOF
   6129 	  # Now try linking the two files.
   6130 	  mv conftest.$ac_objext conftstm.$ac_objext
   6131 	  lt_globsym_save_LIBS=$LIBS
   6132 	  lt_globsym_save_CFLAGS=$CFLAGS
   6133 	  LIBS="conftstm.$ac_objext"
   6134 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6135 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6136   (eval $ac_link) 2>&5
   6137   ac_status=$?
   6138   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6139   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   6140 	    pipe_works=yes
   6141 	  fi
   6142 	  LIBS=$lt_globsym_save_LIBS
   6143 	  CFLAGS=$lt_globsym_save_CFLAGS
   6144 	else
   6145 	  echo "cannot find nm_test_func in $nlist" >&5
   6146 	fi
   6147       else
   6148 	echo "cannot find nm_test_var in $nlist" >&5
   6149       fi
   6150     else
   6151       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6152     fi
   6153   else
   6154     echo "$progname: failed program was:" >&5
   6155     cat conftest.$ac_ext >&5
   6156   fi
   6157   rm -rf conftest* conftst*
   6158 
   6159   # Do not use the global_symbol_pipe unless it works.
   6160   if test "$pipe_works" = yes; then
   6161     break
   6162   else
   6163     lt_cv_sys_global_symbol_pipe=
   6164   fi
   6165 done
   6166 
   6167 fi
   6168 
   6169 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6170   lt_cv_sys_global_symbol_to_cdecl=
   6171 fi
   6172 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6173   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6174 $as_echo "failed" >&6; }
   6175 else
   6176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6177 $as_echo "ok" >&6; }
   6178 fi
   6179 
   6180 # Response file support.
   6181 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6182   nm_file_list_spec='@'
   6183 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6184   nm_file_list_spec='@'
   6185 fi
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 
   6196 
   6197 
   6198 
   6199 
   6200 
   6201 
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6214 $as_echo_n "checking for sysroot... " >&6; }
   6215 
   6216 # Check whether --with-sysroot was given.
   6217 if test "${with_sysroot+set}" = set; then :
   6218   withval=$with_sysroot;
   6219 else
   6220   with_sysroot=no
   6221 fi
   6222 
   6223 
   6224 lt_sysroot=
   6225 case ${with_sysroot} in #(
   6226  yes)
   6227    if test "$GCC" = yes; then
   6228      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6229    fi
   6230    ;; #(
   6231  /*)
   6232    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6233    ;; #(
   6234  no|'')
   6235    ;; #(
   6236  *)
   6237    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6238 $as_echo "${with_sysroot}" >&6; }
   6239    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6240    ;;
   6241 esac
   6242 
   6243  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6244 $as_echo "${lt_sysroot:-no}" >&6; }
   6245 
   6246 
   6247 
   6248 
   6249 
   6250 # Check whether --enable-libtool-lock was given.
   6251 if test "${enable_libtool_lock+set}" = set; then :
   6252   enableval=$enable_libtool_lock;
   6253 fi
   6254 
   6255 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6256 
   6257 # Some flags need to be propagated to the compiler or linker for good
   6258 # libtool support.
   6259 case $host in
   6260 ia64-*-hpux*)
   6261   # Find out which ABI we are using.
   6262   echo 'int i;' > conftest.$ac_ext
   6263   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6264   (eval $ac_compile) 2>&5
   6265   ac_status=$?
   6266   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6267   test $ac_status = 0; }; then
   6268     case `/usr/bin/file conftest.$ac_objext` in
   6269       *ELF-32*)
   6270 	HPUX_IA64_MODE="32"
   6271 	;;
   6272       *ELF-64*)
   6273 	HPUX_IA64_MODE="64"
   6274 	;;
   6275     esac
   6276   fi
   6277   rm -rf conftest*
   6278   ;;
   6279 *-*-irix6*)
   6280   # Find out which ABI we are using.
   6281   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6282   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6283   (eval $ac_compile) 2>&5
   6284   ac_status=$?
   6285   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6286   test $ac_status = 0; }; then
   6287     if test "$lt_cv_prog_gnu_ld" = yes; then
   6288       case `/usr/bin/file conftest.$ac_objext` in
   6289 	*32-bit*)
   6290 	  LD="${LD-ld} -melf32bsmip"
   6291 	  ;;
   6292 	*N32*)
   6293 	  LD="${LD-ld} -melf32bmipn32"
   6294 	  ;;
   6295 	*64-bit*)
   6296 	  LD="${LD-ld} -melf64bmip"
   6297 	;;
   6298       esac
   6299     else
   6300       case `/usr/bin/file conftest.$ac_objext` in
   6301 	*32-bit*)
   6302 	  LD="${LD-ld} -32"
   6303 	  ;;
   6304 	*N32*)
   6305 	  LD="${LD-ld} -n32"
   6306 	  ;;
   6307 	*64-bit*)
   6308 	  LD="${LD-ld} -64"
   6309 	  ;;
   6310       esac
   6311     fi
   6312   fi
   6313   rm -rf conftest*
   6314   ;;
   6315 
   6316 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6317 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6318   # Find out which ABI we are using.
   6319   echo 'int i;' > conftest.$ac_ext
   6320   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6321   (eval $ac_compile) 2>&5
   6322   ac_status=$?
   6323   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6324   test $ac_status = 0; }; then
   6325     case `/usr/bin/file conftest.o` in
   6326       *32-bit*)
   6327 	case $host in
   6328 	  x86_64-*kfreebsd*-gnu)
   6329 	    LD="${LD-ld} -m elf_i386_fbsd"
   6330 	    ;;
   6331 	  x86_64-*linux*)
   6332 	    LD="${LD-ld} -m elf_i386"
   6333 	    ;;
   6334 	  powerpc64le-*linux*)
   6335 	    LD="${LD-ld} -m elf32lppclinux"
   6336 	    ;;
   6337 	  powerpc64-*linux*)
   6338 	    LD="${LD-ld} -m elf32ppclinux"
   6339 	    ;;
   6340 	  s390x-*linux*)
   6341 	    LD="${LD-ld} -m elf_s390"
   6342 	    ;;
   6343 	  sparc64-*linux*)
   6344 	    LD="${LD-ld} -m elf32_sparc"
   6345 	    ;;
   6346 	esac
   6347 	;;
   6348       *64-bit*)
   6349 	case $host in
   6350 	  x86_64-*kfreebsd*-gnu)
   6351 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6352 	    ;;
   6353 	  x86_64-*linux*)
   6354 	    LD="${LD-ld} -m elf_x86_64"
   6355 	    ;;
   6356 	  powerpcle-*linux*)
   6357 	    LD="${LD-ld} -m elf64lppc"
   6358 	    ;;
   6359 	  powerpc-*linux*)
   6360 	    LD="${LD-ld} -m elf64ppc"
   6361 	    ;;
   6362 	  s390*-*linux*|s390*-*tpf*)
   6363 	    LD="${LD-ld} -m elf64_s390"
   6364 	    ;;
   6365 	  sparc*-*linux*)
   6366 	    LD="${LD-ld} -m elf64_sparc"
   6367 	    ;;
   6368 	esac
   6369 	;;
   6370     esac
   6371   fi
   6372   rm -rf conftest*
   6373   ;;
   6374 
   6375 *-*-sco3.2v5*)
   6376   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6377   SAVE_CFLAGS="$CFLAGS"
   6378   CFLAGS="$CFLAGS -belf"
   6379   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6380 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6381 if ${lt_cv_cc_needs_belf+:} false; then :
   6382   $as_echo_n "(cached) " >&6
   6383 else
   6384   ac_ext=c
   6385 ac_cpp='$CPP $CPPFLAGS'
   6386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6389 
   6390      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6391 /* end confdefs.h.  */
   6392 
   6393 int
   6394 main ()
   6395 {
   6396 
   6397   ;
   6398   return 0;
   6399 }
   6400 _ACEOF
   6401 if ac_fn_c_try_link "$LINENO"; then :
   6402   lt_cv_cc_needs_belf=yes
   6403 else
   6404   lt_cv_cc_needs_belf=no
   6405 fi
   6406 rm -f core conftest.err conftest.$ac_objext \
   6407     conftest$ac_exeext conftest.$ac_ext
   6408      ac_ext=c
   6409 ac_cpp='$CPP $CPPFLAGS'
   6410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6413 
   6414 fi
   6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6416 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6417   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6418     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6419     CFLAGS="$SAVE_CFLAGS"
   6420   fi
   6421   ;;
   6422 *-*solaris*)
   6423   # Find out which ABI we are using.
   6424   echo 'int i;' > conftest.$ac_ext
   6425   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6426   (eval $ac_compile) 2>&5
   6427   ac_status=$?
   6428   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6429   test $ac_status = 0; }; then
   6430     case `/usr/bin/file conftest.o` in
   6431     *64-bit*)
   6432       case $lt_cv_prog_gnu_ld in
   6433       yes*)
   6434         case $host in
   6435         i?86-*-solaris*)
   6436           LD="${LD-ld} -m elf_x86_64"
   6437           ;;
   6438         sparc*-*-solaris*)
   6439           LD="${LD-ld} -m elf64_sparc"
   6440           ;;
   6441         esac
   6442         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6443         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6444           LD="${LD-ld}_sol2"
   6445         fi
   6446         ;;
   6447       *)
   6448 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6449 	  LD="${LD-ld} -64"
   6450 	fi
   6451 	;;
   6452       esac
   6453       ;;
   6454     esac
   6455   fi
   6456   rm -rf conftest*
   6457   ;;
   6458 esac
   6459 
   6460 need_locks="$enable_libtool_lock"
   6461 
   6462 if test -n "$ac_tool_prefix"; then
   6463   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6464 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6466 $as_echo_n "checking for $ac_word... " >&6; }
   6467 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6468   $as_echo_n "(cached) " >&6
   6469 else
   6470   if test -n "$MANIFEST_TOOL"; then
   6471   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6472 else
   6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6474 for as_dir in $PATH
   6475 do
   6476   IFS=$as_save_IFS
   6477   test -z "$as_dir" && as_dir=.
   6478     for ac_exec_ext in '' $ac_executable_extensions; do
   6479   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6480     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6481     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6482     break 2
   6483   fi
   6484 done
   6485   done
   6486 IFS=$as_save_IFS
   6487 
   6488 fi
   6489 fi
   6490 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6491 if test -n "$MANIFEST_TOOL"; then
   6492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6493 $as_echo "$MANIFEST_TOOL" >&6; }
   6494 else
   6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6496 $as_echo "no" >&6; }
   6497 fi
   6498 
   6499 
   6500 fi
   6501 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6502   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6503   # Extract the first word of "mt", so it can be a program name with args.
   6504 set dummy mt; ac_word=$2
   6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6506 $as_echo_n "checking for $ac_word... " >&6; }
   6507 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6508   $as_echo_n "(cached) " >&6
   6509 else
   6510   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6511   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6512 else
   6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6514 for as_dir in $PATH
   6515 do
   6516   IFS=$as_save_IFS
   6517   test -z "$as_dir" && as_dir=.
   6518     for ac_exec_ext in '' $ac_executable_extensions; do
   6519   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6520     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6522     break 2
   6523   fi
   6524 done
   6525   done
   6526 IFS=$as_save_IFS
   6527 
   6528 fi
   6529 fi
   6530 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6531 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6533 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6534 else
   6535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6536 $as_echo "no" >&6; }
   6537 fi
   6538 
   6539   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6540     MANIFEST_TOOL=":"
   6541   else
   6542     case $cross_compiling:$ac_tool_warned in
   6543 yes:)
   6544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6546 ac_tool_warned=yes ;;
   6547 esac
   6548     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6549   fi
   6550 else
   6551   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6552 fi
   6553 
   6554 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6556 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6557 if ${lt_cv_path_mainfest_tool+:} false; then :
   6558   $as_echo_n "(cached) " >&6
   6559 else
   6560   lt_cv_path_mainfest_tool=no
   6561   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6562   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6563   cat conftest.err >&5
   6564   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6565     lt_cv_path_mainfest_tool=yes
   6566   fi
   6567   rm -f conftest*
   6568 fi
   6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6570 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6571 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6572   MANIFEST_TOOL=:
   6573 fi
   6574 
   6575 
   6576 
   6577 
   6578 
   6579 
   6580   case $host_os in
   6581     rhapsody* | darwin*)
   6582     if test -n "$ac_tool_prefix"; then
   6583   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6584 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6586 $as_echo_n "checking for $ac_word... " >&6; }
   6587 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6588   $as_echo_n "(cached) " >&6
   6589 else
   6590   if test -n "$DSYMUTIL"; then
   6591   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6592 else
   6593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6594 for as_dir in $PATH
   6595 do
   6596   IFS=$as_save_IFS
   6597   test -z "$as_dir" && as_dir=.
   6598     for ac_exec_ext in '' $ac_executable_extensions; do
   6599   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6600     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6601     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6602     break 2
   6603   fi
   6604 done
   6605   done
   6606 IFS=$as_save_IFS
   6607 
   6608 fi
   6609 fi
   6610 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6611 if test -n "$DSYMUTIL"; then
   6612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6613 $as_echo "$DSYMUTIL" >&6; }
   6614 else
   6615   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6616 $as_echo "no" >&6; }
   6617 fi
   6618 
   6619 
   6620 fi
   6621 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6622   ac_ct_DSYMUTIL=$DSYMUTIL
   6623   # Extract the first word of "dsymutil", so it can be a program name with args.
   6624 set dummy dsymutil; ac_word=$2
   6625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6626 $as_echo_n "checking for $ac_word... " >&6; }
   6627 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6628   $as_echo_n "(cached) " >&6
   6629 else
   6630   if test -n "$ac_ct_DSYMUTIL"; then
   6631   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6632 else
   6633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6634 for as_dir in $PATH
   6635 do
   6636   IFS=$as_save_IFS
   6637   test -z "$as_dir" && as_dir=.
   6638     for ac_exec_ext in '' $ac_executable_extensions; do
   6639   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6640     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6641     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6642     break 2
   6643   fi
   6644 done
   6645   done
   6646 IFS=$as_save_IFS
   6647 
   6648 fi
   6649 fi
   6650 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6651 if test -n "$ac_ct_DSYMUTIL"; then
   6652   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6653 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6654 else
   6655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6656 $as_echo "no" >&6; }
   6657 fi
   6658 
   6659   if test "x$ac_ct_DSYMUTIL" = x; then
   6660     DSYMUTIL=":"
   6661   else
   6662     case $cross_compiling:$ac_tool_warned in
   6663 yes:)
   6664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6665 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6666 ac_tool_warned=yes ;;
   6667 esac
   6668     DSYMUTIL=$ac_ct_DSYMUTIL
   6669   fi
   6670 else
   6671   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6672 fi
   6673 
   6674     if test -n "$ac_tool_prefix"; then
   6675   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6676 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6678 $as_echo_n "checking for $ac_word... " >&6; }
   6679 if ${ac_cv_prog_NMEDIT+:} false; then :
   6680   $as_echo_n "(cached) " >&6
   6681 else
   6682   if test -n "$NMEDIT"; then
   6683   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6684 else
   6685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6686 for as_dir in $PATH
   6687 do
   6688   IFS=$as_save_IFS
   6689   test -z "$as_dir" && as_dir=.
   6690     for ac_exec_ext in '' $ac_executable_extensions; do
   6691   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6692     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6693     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6694     break 2
   6695   fi
   6696 done
   6697   done
   6698 IFS=$as_save_IFS
   6699 
   6700 fi
   6701 fi
   6702 NMEDIT=$ac_cv_prog_NMEDIT
   6703 if test -n "$NMEDIT"; then
   6704   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6705 $as_echo "$NMEDIT" >&6; }
   6706 else
   6707   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6708 $as_echo "no" >&6; }
   6709 fi
   6710 
   6711 
   6712 fi
   6713 if test -z "$ac_cv_prog_NMEDIT"; then
   6714   ac_ct_NMEDIT=$NMEDIT
   6715   # Extract the first word of "nmedit", so it can be a program name with args.
   6716 set dummy nmedit; ac_word=$2
   6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6718 $as_echo_n "checking for $ac_word... " >&6; }
   6719 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6720   $as_echo_n "(cached) " >&6
   6721 else
   6722   if test -n "$ac_ct_NMEDIT"; then
   6723   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6724 else
   6725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6726 for as_dir in $PATH
   6727 do
   6728   IFS=$as_save_IFS
   6729   test -z "$as_dir" && as_dir=.
   6730     for ac_exec_ext in '' $ac_executable_extensions; do
   6731   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6732     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6733     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6734     break 2
   6735   fi
   6736 done
   6737   done
   6738 IFS=$as_save_IFS
   6739 
   6740 fi
   6741 fi
   6742 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6743 if test -n "$ac_ct_NMEDIT"; then
   6744   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6745 $as_echo "$ac_ct_NMEDIT" >&6; }
   6746 else
   6747   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6748 $as_echo "no" >&6; }
   6749 fi
   6750 
   6751   if test "x$ac_ct_NMEDIT" = x; then
   6752     NMEDIT=":"
   6753   else
   6754     case $cross_compiling:$ac_tool_warned in
   6755 yes:)
   6756 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6757 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6758 ac_tool_warned=yes ;;
   6759 esac
   6760     NMEDIT=$ac_ct_NMEDIT
   6761   fi
   6762 else
   6763   NMEDIT="$ac_cv_prog_NMEDIT"
   6764 fi
   6765 
   6766     if test -n "$ac_tool_prefix"; then
   6767   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6768 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6770 $as_echo_n "checking for $ac_word... " >&6; }
   6771 if ${ac_cv_prog_LIPO+:} false; then :
   6772   $as_echo_n "(cached) " >&6
   6773 else
   6774   if test -n "$LIPO"; then
   6775   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6776 else
   6777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6778 for as_dir in $PATH
   6779 do
   6780   IFS=$as_save_IFS
   6781   test -z "$as_dir" && as_dir=.
   6782     for ac_exec_ext in '' $ac_executable_extensions; do
   6783   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6784     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6785     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6786     break 2
   6787   fi
   6788 done
   6789   done
   6790 IFS=$as_save_IFS
   6791 
   6792 fi
   6793 fi
   6794 LIPO=$ac_cv_prog_LIPO
   6795 if test -n "$LIPO"; then
   6796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6797 $as_echo "$LIPO" >&6; }
   6798 else
   6799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6800 $as_echo "no" >&6; }
   6801 fi
   6802 
   6803 
   6804 fi
   6805 if test -z "$ac_cv_prog_LIPO"; then
   6806   ac_ct_LIPO=$LIPO
   6807   # Extract the first word of "lipo", so it can be a program name with args.
   6808 set dummy lipo; ac_word=$2
   6809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6810 $as_echo_n "checking for $ac_word... " >&6; }
   6811 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6812   $as_echo_n "(cached) " >&6
   6813 else
   6814   if test -n "$ac_ct_LIPO"; then
   6815   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6816 else
   6817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6818 for as_dir in $PATH
   6819 do
   6820   IFS=$as_save_IFS
   6821   test -z "$as_dir" && as_dir=.
   6822     for ac_exec_ext in '' $ac_executable_extensions; do
   6823   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6824     ac_cv_prog_ac_ct_LIPO="lipo"
   6825     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6826     break 2
   6827   fi
   6828 done
   6829   done
   6830 IFS=$as_save_IFS
   6831 
   6832 fi
   6833 fi
   6834 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6835 if test -n "$ac_ct_LIPO"; then
   6836   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6837 $as_echo "$ac_ct_LIPO" >&6; }
   6838 else
   6839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6840 $as_echo "no" >&6; }
   6841 fi
   6842 
   6843   if test "x$ac_ct_LIPO" = x; then
   6844     LIPO=":"
   6845   else
   6846     case $cross_compiling:$ac_tool_warned in
   6847 yes:)
   6848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6849 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6850 ac_tool_warned=yes ;;
   6851 esac
   6852     LIPO=$ac_ct_LIPO
   6853   fi
   6854 else
   6855   LIPO="$ac_cv_prog_LIPO"
   6856 fi
   6857 
   6858     if test -n "$ac_tool_prefix"; then
   6859   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6860 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6862 $as_echo_n "checking for $ac_word... " >&6; }
   6863 if ${ac_cv_prog_OTOOL+:} false; then :
   6864   $as_echo_n "(cached) " >&6
   6865 else
   6866   if test -n "$OTOOL"; then
   6867   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6868 else
   6869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6870 for as_dir in $PATH
   6871 do
   6872   IFS=$as_save_IFS
   6873   test -z "$as_dir" && as_dir=.
   6874     for ac_exec_ext in '' $ac_executable_extensions; do
   6875   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6876     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6877     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6878     break 2
   6879   fi
   6880 done
   6881   done
   6882 IFS=$as_save_IFS
   6883 
   6884 fi
   6885 fi
   6886 OTOOL=$ac_cv_prog_OTOOL
   6887 if test -n "$OTOOL"; then
   6888   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6889 $as_echo "$OTOOL" >&6; }
   6890 else
   6891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6892 $as_echo "no" >&6; }
   6893 fi
   6894 
   6895 
   6896 fi
   6897 if test -z "$ac_cv_prog_OTOOL"; then
   6898   ac_ct_OTOOL=$OTOOL
   6899   # Extract the first word of "otool", so it can be a program name with args.
   6900 set dummy otool; ac_word=$2
   6901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6902 $as_echo_n "checking for $ac_word... " >&6; }
   6903 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6904   $as_echo_n "(cached) " >&6
   6905 else
   6906   if test -n "$ac_ct_OTOOL"; then
   6907   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6908 else
   6909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6910 for as_dir in $PATH
   6911 do
   6912   IFS=$as_save_IFS
   6913   test -z "$as_dir" && as_dir=.
   6914     for ac_exec_ext in '' $ac_executable_extensions; do
   6915   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6916     ac_cv_prog_ac_ct_OTOOL="otool"
   6917     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6918     break 2
   6919   fi
   6920 done
   6921   done
   6922 IFS=$as_save_IFS
   6923 
   6924 fi
   6925 fi
   6926 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6927 if test -n "$ac_ct_OTOOL"; then
   6928   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6929 $as_echo "$ac_ct_OTOOL" >&6; }
   6930 else
   6931   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6932 $as_echo "no" >&6; }
   6933 fi
   6934 
   6935   if test "x$ac_ct_OTOOL" = x; then
   6936     OTOOL=":"
   6937   else
   6938     case $cross_compiling:$ac_tool_warned in
   6939 yes:)
   6940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6941 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6942 ac_tool_warned=yes ;;
   6943 esac
   6944     OTOOL=$ac_ct_OTOOL
   6945   fi
   6946 else
   6947   OTOOL="$ac_cv_prog_OTOOL"
   6948 fi
   6949 
   6950     if test -n "$ac_tool_prefix"; then
   6951   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6952 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6954 $as_echo_n "checking for $ac_word... " >&6; }
   6955 if ${ac_cv_prog_OTOOL64+:} false; then :
   6956   $as_echo_n "(cached) " >&6
   6957 else
   6958   if test -n "$OTOOL64"; then
   6959   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6960 else
   6961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6962 for as_dir in $PATH
   6963 do
   6964   IFS=$as_save_IFS
   6965   test -z "$as_dir" && as_dir=.
   6966     for ac_exec_ext in '' $ac_executable_extensions; do
   6967   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6968     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6969     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6970     break 2
   6971   fi
   6972 done
   6973   done
   6974 IFS=$as_save_IFS
   6975 
   6976 fi
   6977 fi
   6978 OTOOL64=$ac_cv_prog_OTOOL64
   6979 if test -n "$OTOOL64"; then
   6980   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6981 $as_echo "$OTOOL64" >&6; }
   6982 else
   6983   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6984 $as_echo "no" >&6; }
   6985 fi
   6986 
   6987 
   6988 fi
   6989 if test -z "$ac_cv_prog_OTOOL64"; then
   6990   ac_ct_OTOOL64=$OTOOL64
   6991   # Extract the first word of "otool64", so it can be a program name with args.
   6992 set dummy otool64; ac_word=$2
   6993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6994 $as_echo_n "checking for $ac_word... " >&6; }
   6995 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6996   $as_echo_n "(cached) " >&6
   6997 else
   6998   if test -n "$ac_ct_OTOOL64"; then
   6999   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7000 else
   7001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7002 for as_dir in $PATH
   7003 do
   7004   IFS=$as_save_IFS
   7005   test -z "$as_dir" && as_dir=.
   7006     for ac_exec_ext in '' $ac_executable_extensions; do
   7007   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7008     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7009     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7010     break 2
   7011   fi
   7012 done
   7013   done
   7014 IFS=$as_save_IFS
   7015 
   7016 fi
   7017 fi
   7018 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7019 if test -n "$ac_ct_OTOOL64"; then
   7020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7021 $as_echo "$ac_ct_OTOOL64" >&6; }
   7022 else
   7023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7024 $as_echo "no" >&6; }
   7025 fi
   7026 
   7027   if test "x$ac_ct_OTOOL64" = x; then
   7028     OTOOL64=":"
   7029   else
   7030     case $cross_compiling:$ac_tool_warned in
   7031 yes:)
   7032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7033 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7034 ac_tool_warned=yes ;;
   7035 esac
   7036     OTOOL64=$ac_ct_OTOOL64
   7037   fi
   7038 else
   7039   OTOOL64="$ac_cv_prog_OTOOL64"
   7040 fi
   7041 
   7042 
   7043 
   7044 
   7045 
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 
   7060 
   7061 
   7062 
   7063 
   7064 
   7065 
   7066 
   7067 
   7068     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7069 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7070 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7071   $as_echo_n "(cached) " >&6
   7072 else
   7073   lt_cv_apple_cc_single_mod=no
   7074       if test -z "${LT_MULTI_MODULE}"; then
   7075 	# By default we will add the -single_module flag. You can override
   7076 	# by either setting the environment variable LT_MULTI_MODULE
   7077 	# non-empty at configure time, or by adding -multi_module to the
   7078 	# link flags.
   7079 	rm -rf libconftest.dylib*
   7080 	echo "int foo(void){return 1;}" > conftest.c
   7081 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7082 -dynamiclib -Wl,-single_module conftest.c" >&5
   7083 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7084 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7085         _lt_result=$?
   7086 	# If there is a non-empty error log, and "single_module"
   7087 	# appears in it, assume the flag caused a linker warning
   7088         if test -s conftest.err && $GREP single_module conftest.err; then
   7089 	  cat conftest.err >&5
   7090 	# Otherwise, if the output was created with a 0 exit code from
   7091 	# the compiler, it worked.
   7092 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   7093 	  lt_cv_apple_cc_single_mod=yes
   7094 	else
   7095 	  cat conftest.err >&5
   7096 	fi
   7097 	rm -rf libconftest.dylib*
   7098 	rm -f conftest.*
   7099       fi
   7100 fi
   7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7102 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7103 
   7104     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7105 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7106 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7107   $as_echo_n "(cached) " >&6
   7108 else
   7109   lt_cv_ld_exported_symbols_list=no
   7110       save_LDFLAGS=$LDFLAGS
   7111       echo "_main" > conftest.sym
   7112       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7113       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7114 /* end confdefs.h.  */
   7115 
   7116 int
   7117 main ()
   7118 {
   7119 
   7120   ;
   7121   return 0;
   7122 }
   7123 _ACEOF
   7124 if ac_fn_c_try_link "$LINENO"; then :
   7125   lt_cv_ld_exported_symbols_list=yes
   7126 else
   7127   lt_cv_ld_exported_symbols_list=no
   7128 fi
   7129 rm -f core conftest.err conftest.$ac_objext \
   7130     conftest$ac_exeext conftest.$ac_ext
   7131 	LDFLAGS="$save_LDFLAGS"
   7132 
   7133 fi
   7134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7135 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7136 
   7137     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7138 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7139 if ${lt_cv_ld_force_load+:} false; then :
   7140   $as_echo_n "(cached) " >&6
   7141 else
   7142   lt_cv_ld_force_load=no
   7143       cat > conftest.c << _LT_EOF
   7144 int forced_loaded() { return 2;}
   7145 _LT_EOF
   7146       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7147       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7148       echo "$AR cru libconftest.a conftest.o" >&5
   7149       $AR cru libconftest.a conftest.o 2>&5
   7150       echo "$RANLIB libconftest.a" >&5
   7151       $RANLIB libconftest.a 2>&5
   7152       cat > conftest.c << _LT_EOF
   7153 int main() { return 0;}
   7154 _LT_EOF
   7155       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7156       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7157       _lt_result=$?
   7158       if test -s conftest.err && $GREP force_load conftest.err; then
   7159 	cat conftest.err >&5
   7160       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7161 	lt_cv_ld_force_load=yes
   7162       else
   7163 	cat conftest.err >&5
   7164       fi
   7165         rm -f conftest.err libconftest.a conftest conftest.c
   7166         rm -rf conftest.dSYM
   7167 
   7168 fi
   7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7170 $as_echo "$lt_cv_ld_force_load" >&6; }
   7171     case $host_os in
   7172     rhapsody* | darwin1.[012])
   7173       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7174     darwin1.*)
   7175       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7176     darwin*) # darwin 5.x on
   7177       # if running on 10.5 or later, the deployment target defaults
   7178       # to the OS version, if on x86, and 10.4, the deployment
   7179       # target defaults to 10.4. Don't you love it?
   7180       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7181 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7182 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7183 	10.[012]*)
   7184 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7185 	10.*)
   7186 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7187       esac
   7188     ;;
   7189   esac
   7190     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7191       _lt_dar_single_mod='$single_module'
   7192     fi
   7193     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7194       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7195     else
   7196       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7197     fi
   7198     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7199       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7200     else
   7201       _lt_dsymutil=
   7202     fi
   7203     ;;
   7204   esac
   7205 
   7206 ac_ext=c
   7207 ac_cpp='$CPP $CPPFLAGS'
   7208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7212 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7213 # On Suns, sometimes $CPP names a directory.
   7214 if test -n "$CPP" && test -d "$CPP"; then
   7215   CPP=
   7216 fi
   7217 if test -z "$CPP"; then
   7218   if ${ac_cv_prog_CPP+:} false; then :
   7219   $as_echo_n "(cached) " >&6
   7220 else
   7221       # Double quotes because CPP needs to be expanded
   7222     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7223     do
   7224       ac_preproc_ok=false
   7225 for ac_c_preproc_warn_flag in '' yes
   7226 do
   7227   # Use a header file that comes with gcc, so configuring glibc
   7228   # with a fresh cross-compiler works.
   7229   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7230   # <limits.h> exists even on freestanding compilers.
   7231   # On the NeXT, cc -E runs the code through the compiler's parser,
   7232   # not just through cpp. "Syntax error" is here to catch this case.
   7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7234 /* end confdefs.h.  */
   7235 #ifdef __STDC__
   7236 # include <limits.h>
   7237 #else
   7238 # include <assert.h>
   7239 #endif
   7240 		     Syntax error
   7241 _ACEOF
   7242 if ac_fn_c_try_cpp "$LINENO"; then :
   7243 
   7244 else
   7245   # Broken: fails on valid input.
   7246 continue
   7247 fi
   7248 rm -f conftest.err conftest.i conftest.$ac_ext
   7249 
   7250   # OK, works on sane cases.  Now check whether nonexistent headers
   7251   # can be detected and how.
   7252   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7253 /* end confdefs.h.  */
   7254 #include <ac_nonexistent.h>
   7255 _ACEOF
   7256 if ac_fn_c_try_cpp "$LINENO"; then :
   7257   # Broken: success on invalid input.
   7258 continue
   7259 else
   7260   # Passes both tests.
   7261 ac_preproc_ok=:
   7262 break
   7263 fi
   7264 rm -f conftest.err conftest.i conftest.$ac_ext
   7265 
   7266 done
   7267 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7268 rm -f conftest.i conftest.err conftest.$ac_ext
   7269 if $ac_preproc_ok; then :
   7270   break
   7271 fi
   7272 
   7273     done
   7274     ac_cv_prog_CPP=$CPP
   7275 
   7276 fi
   7277   CPP=$ac_cv_prog_CPP
   7278 else
   7279   ac_cv_prog_CPP=$CPP
   7280 fi
   7281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7282 $as_echo "$CPP" >&6; }
   7283 ac_preproc_ok=false
   7284 for ac_c_preproc_warn_flag in '' yes
   7285 do
   7286   # Use a header file that comes with gcc, so configuring glibc
   7287   # with a fresh cross-compiler works.
   7288   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7289   # <limits.h> exists even on freestanding compilers.
   7290   # On the NeXT, cc -E runs the code through the compiler's parser,
   7291   # not just through cpp. "Syntax error" is here to catch this case.
   7292   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7293 /* end confdefs.h.  */
   7294 #ifdef __STDC__
   7295 # include <limits.h>
   7296 #else
   7297 # include <assert.h>
   7298 #endif
   7299 		     Syntax error
   7300 _ACEOF
   7301 if ac_fn_c_try_cpp "$LINENO"; then :
   7302 
   7303 else
   7304   # Broken: fails on valid input.
   7305 continue
   7306 fi
   7307 rm -f conftest.err conftest.i conftest.$ac_ext
   7308 
   7309   # OK, works on sane cases.  Now check whether nonexistent headers
   7310   # can be detected and how.
   7311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7312 /* end confdefs.h.  */
   7313 #include <ac_nonexistent.h>
   7314 _ACEOF
   7315 if ac_fn_c_try_cpp "$LINENO"; then :
   7316   # Broken: success on invalid input.
   7317 continue
   7318 else
   7319   # Passes both tests.
   7320 ac_preproc_ok=:
   7321 break
   7322 fi
   7323 rm -f conftest.err conftest.i conftest.$ac_ext
   7324 
   7325 done
   7326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7327 rm -f conftest.i conftest.err conftest.$ac_ext
   7328 if $ac_preproc_ok; then :
   7329 
   7330 else
   7331   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7333 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7334 See \`config.log' for more details" "$LINENO" 5; }
   7335 fi
   7336 
   7337 ac_ext=c
   7338 ac_cpp='$CPP $CPPFLAGS'
   7339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7342 
   7343 
   7344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7345 $as_echo_n "checking for ANSI C header files... " >&6; }
   7346 if ${ac_cv_header_stdc+:} false; then :
   7347   $as_echo_n "(cached) " >&6
   7348 else
   7349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7350 /* end confdefs.h.  */
   7351 #include <stdlib.h>
   7352 #include <stdarg.h>
   7353 #include <string.h>
   7354 #include <float.h>
   7355 
   7356 int
   7357 main ()
   7358 {
   7359 
   7360   ;
   7361   return 0;
   7362 }
   7363 _ACEOF
   7364 if ac_fn_c_try_compile "$LINENO"; then :
   7365   ac_cv_header_stdc=yes
   7366 else
   7367   ac_cv_header_stdc=no
   7368 fi
   7369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7370 
   7371 if test $ac_cv_header_stdc = yes; then
   7372   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7374 /* end confdefs.h.  */
   7375 #include <string.h>
   7376 
   7377 _ACEOF
   7378 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7379   $EGREP "memchr" >/dev/null 2>&1; then :
   7380 
   7381 else
   7382   ac_cv_header_stdc=no
   7383 fi
   7384 rm -f conftest*
   7385 
   7386 fi
   7387 
   7388 if test $ac_cv_header_stdc = yes; then
   7389   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7391 /* end confdefs.h.  */
   7392 #include <stdlib.h>
   7393 
   7394 _ACEOF
   7395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7396   $EGREP "free" >/dev/null 2>&1; then :
   7397 
   7398 else
   7399   ac_cv_header_stdc=no
   7400 fi
   7401 rm -f conftest*
   7402 
   7403 fi
   7404 
   7405 if test $ac_cv_header_stdc = yes; then
   7406   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7407   if test "$cross_compiling" = yes; then :
   7408   :
   7409 else
   7410   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7411 /* end confdefs.h.  */
   7412 #include <ctype.h>
   7413 #include <stdlib.h>
   7414 #if ((' ' & 0x0FF) == 0x020)
   7415 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7416 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7417 #else
   7418 # define ISLOWER(c) \
   7419 		   (('a' <= (c) && (c) <= 'i') \
   7420 		     || ('j' <= (c) && (c) <= 'r') \
   7421 		     || ('s' <= (c) && (c) <= 'z'))
   7422 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7423 #endif
   7424 
   7425 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7426 int
   7427 main ()
   7428 {
   7429   int i;
   7430   for (i = 0; i < 256; i++)
   7431     if (XOR (islower (i), ISLOWER (i))
   7432 	|| toupper (i) != TOUPPER (i))
   7433       return 2;
   7434   return 0;
   7435 }
   7436 _ACEOF
   7437 if ac_fn_c_try_run "$LINENO"; then :
   7438 
   7439 else
   7440   ac_cv_header_stdc=no
   7441 fi
   7442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7443   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7444 fi
   7445 
   7446 fi
   7447 fi
   7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7449 $as_echo "$ac_cv_header_stdc" >&6; }
   7450 if test $ac_cv_header_stdc = yes; then
   7451 
   7452 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7453 
   7454 fi
   7455 
   7456 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7457 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7458 		  inttypes.h stdint.h unistd.h
   7459 do :
   7460   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7461 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7462 "
   7463 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7464   cat >>confdefs.h <<_ACEOF
   7465 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7466 _ACEOF
   7467 
   7468 fi
   7469 
   7470 done
   7471 
   7472 
   7473 for ac_header in dlfcn.h
   7474 do :
   7475   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7476 "
   7477 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7478   cat >>confdefs.h <<_ACEOF
   7479 #define HAVE_DLFCN_H 1
   7480 _ACEOF
   7481 
   7482 fi
   7483 
   7484 done
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 # Set options
   7491 
   7492 
   7493 
   7494         enable_dlopen=no
   7495 
   7496 
   7497   enable_win32_dll=no
   7498 
   7499 
   7500             # Check whether --enable-shared was given.
   7501 if test "${enable_shared+set}" = set; then :
   7502   enableval=$enable_shared; p=${PACKAGE-default}
   7503     case $enableval in
   7504     yes) enable_shared=yes ;;
   7505     no) enable_shared=no ;;
   7506     *)
   7507       enable_shared=no
   7508       # Look at the argument we got.  We use all the common list separators.
   7509       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7510       for pkg in $enableval; do
   7511 	IFS="$lt_save_ifs"
   7512 	if test "X$pkg" = "X$p"; then
   7513 	  enable_shared=yes
   7514 	fi
   7515       done
   7516       IFS="$lt_save_ifs"
   7517       ;;
   7518     esac
   7519 else
   7520   enable_shared=yes
   7521 fi
   7522 
   7523 
   7524 
   7525 
   7526 
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 # Check whether --with-pic was given.
   7534 if test "${with_pic+set}" = set; then :
   7535   withval=$with_pic; lt_p=${PACKAGE-default}
   7536     case $withval in
   7537     yes|no) pic_mode=$withval ;;
   7538     *)
   7539       pic_mode=default
   7540       # Look at the argument we got.  We use all the common list separators.
   7541       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7542       for lt_pkg in $withval; do
   7543 	IFS="$lt_save_ifs"
   7544 	if test "X$lt_pkg" = "X$lt_p"; then
   7545 	  pic_mode=yes
   7546 	fi
   7547       done
   7548       IFS="$lt_save_ifs"
   7549       ;;
   7550     esac
   7551 else
   7552   pic_mode=default
   7553 fi
   7554 
   7555 
   7556 test -z "$pic_mode" && pic_mode=default
   7557 
   7558 
   7559 
   7560 
   7561 
   7562 
   7563 
   7564   # Check whether --enable-fast-install was given.
   7565 if test "${enable_fast_install+set}" = set; then :
   7566   enableval=$enable_fast_install; p=${PACKAGE-default}
   7567     case $enableval in
   7568     yes) enable_fast_install=yes ;;
   7569     no) enable_fast_install=no ;;
   7570     *)
   7571       enable_fast_install=no
   7572       # Look at the argument we got.  We use all the common list separators.
   7573       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7574       for pkg in $enableval; do
   7575 	IFS="$lt_save_ifs"
   7576 	if test "X$pkg" = "X$p"; then
   7577 	  enable_fast_install=yes
   7578 	fi
   7579       done
   7580       IFS="$lt_save_ifs"
   7581       ;;
   7582     esac
   7583 else
   7584   enable_fast_install=yes
   7585 fi
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 
   7593 
   7594 
   7595 
   7596 
   7597 # This can be used to rebuild libtool when needed
   7598 LIBTOOL_DEPS="$ltmain"
   7599 
   7600 # Always use our own libtool.
   7601 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7602 
   7603 
   7604 
   7605 
   7606 
   7607 
   7608 
   7609 
   7610 
   7611 
   7612 
   7613 
   7614 
   7615 
   7616 
   7617 
   7618 
   7619 
   7620 
   7621 
   7622 
   7623 
   7624 
   7625 
   7626 
   7627 
   7628 
   7629 
   7630 
   7631 
   7632 test -z "$LN_S" && LN_S="ln -s"
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 if test -n "${ZSH_VERSION+set}" ; then
   7648    setopt NO_GLOB_SUBST
   7649 fi
   7650 
   7651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7652 $as_echo_n "checking for objdir... " >&6; }
   7653 if ${lt_cv_objdir+:} false; then :
   7654   $as_echo_n "(cached) " >&6
   7655 else
   7656   rm -f .libs 2>/dev/null
   7657 mkdir .libs 2>/dev/null
   7658 if test -d .libs; then
   7659   lt_cv_objdir=.libs
   7660 else
   7661   # MS-DOS does not allow filenames that begin with a dot.
   7662   lt_cv_objdir=_libs
   7663 fi
   7664 rmdir .libs 2>/dev/null
   7665 fi
   7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7667 $as_echo "$lt_cv_objdir" >&6; }
   7668 objdir=$lt_cv_objdir
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 cat >>confdefs.h <<_ACEOF
   7675 #define LT_OBJDIR "$lt_cv_objdir/"
   7676 _ACEOF
   7677 
   7678 
   7679 
   7680 
   7681 case $host_os in
   7682 aix3*)
   7683   # AIX sometimes has problems with the GCC collect2 program.  For some
   7684   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7685   # vanish in a puff of smoke.
   7686   if test "X${COLLECT_NAMES+set}" != Xset; then
   7687     COLLECT_NAMES=
   7688     export COLLECT_NAMES
   7689   fi
   7690   ;;
   7691 esac
   7692 
   7693 # Global variables:
   7694 ofile=libtool
   7695 can_build_shared=yes
   7696 
   7697 # All known linkers require a `.a' archive for static linking (except MSVC,
   7698 # which needs '.lib').
   7699 libext=a
   7700 
   7701 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7702 
   7703 old_CC="$CC"
   7704 old_CFLAGS="$CFLAGS"
   7705 
   7706 # Set sane defaults for various variables
   7707 test -z "$CC" && CC=cc
   7708 test -z "$LTCC" && LTCC=$CC
   7709 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7710 test -z "$LD" && LD=ld
   7711 test -z "$ac_objext" && ac_objext=o
   7712 
   7713 for cc_temp in $compiler""; do
   7714   case $cc_temp in
   7715     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7716     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7717     \-*) ;;
   7718     *) break;;
   7719   esac
   7720 done
   7721 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7722 
   7723 
   7724 # Only perform the check for file, if the check method requires it
   7725 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7726 case $deplibs_check_method in
   7727 file_magic*)
   7728   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7729     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7730 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7731 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7732   $as_echo_n "(cached) " >&6
   7733 else
   7734   case $MAGIC_CMD in
   7735 [\\/*] |  ?:[\\/]*)
   7736   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7737   ;;
   7738 *)
   7739   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7740   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7741   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7742   for ac_dir in $ac_dummy; do
   7743     IFS="$lt_save_ifs"
   7744     test -z "$ac_dir" && ac_dir=.
   7745     if test -f $ac_dir/${ac_tool_prefix}file; then
   7746       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7747       if test -n "$file_magic_test_file"; then
   7748 	case $deplibs_check_method in
   7749 	"file_magic "*)
   7750 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7751 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7752 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7753 	    $EGREP "$file_magic_regex" > /dev/null; then
   7754 	    :
   7755 	  else
   7756 	    cat <<_LT_EOF 1>&2
   7757 
   7758 *** Warning: the command libtool uses to detect shared libraries,
   7759 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7760 *** The result is that libtool may fail to recognize shared libraries
   7761 *** as such.  This will affect the creation of libtool libraries that
   7762 *** depend on shared libraries, but programs linked with such libtool
   7763 *** libraries will work regardless of this problem.  Nevertheless, you
   7764 *** may want to report the problem to your system manager and/or to
   7765 *** bug-libtool@gnu.org
   7766 
   7767 _LT_EOF
   7768 	  fi ;;
   7769 	esac
   7770       fi
   7771       break
   7772     fi
   7773   done
   7774   IFS="$lt_save_ifs"
   7775   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7776   ;;
   7777 esac
   7778 fi
   7779 
   7780 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7781 if test -n "$MAGIC_CMD"; then
   7782   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7783 $as_echo "$MAGIC_CMD" >&6; }
   7784 else
   7785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7786 $as_echo "no" >&6; }
   7787 fi
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7794   if test -n "$ac_tool_prefix"; then
   7795     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7796 $as_echo_n "checking for file... " >&6; }
   7797 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7798   $as_echo_n "(cached) " >&6
   7799 else
   7800   case $MAGIC_CMD in
   7801 [\\/*] |  ?:[\\/]*)
   7802   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7803   ;;
   7804 *)
   7805   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7806   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7807   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7808   for ac_dir in $ac_dummy; do
   7809     IFS="$lt_save_ifs"
   7810     test -z "$ac_dir" && ac_dir=.
   7811     if test -f $ac_dir/file; then
   7812       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7813       if test -n "$file_magic_test_file"; then
   7814 	case $deplibs_check_method in
   7815 	"file_magic "*)
   7816 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7817 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7818 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7819 	    $EGREP "$file_magic_regex" > /dev/null; then
   7820 	    :
   7821 	  else
   7822 	    cat <<_LT_EOF 1>&2
   7823 
   7824 *** Warning: the command libtool uses to detect shared libraries,
   7825 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7826 *** The result is that libtool may fail to recognize shared libraries
   7827 *** as such.  This will affect the creation of libtool libraries that
   7828 *** depend on shared libraries, but programs linked with such libtool
   7829 *** libraries will work regardless of this problem.  Nevertheless, you
   7830 *** may want to report the problem to your system manager and/or to
   7831 *** bug-libtool@gnu.org
   7832 
   7833 _LT_EOF
   7834 	  fi ;;
   7835 	esac
   7836       fi
   7837       break
   7838     fi
   7839   done
   7840   IFS="$lt_save_ifs"
   7841   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7842   ;;
   7843 esac
   7844 fi
   7845 
   7846 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7847 if test -n "$MAGIC_CMD"; then
   7848   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7849 $as_echo "$MAGIC_CMD" >&6; }
   7850 else
   7851   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7852 $as_echo "no" >&6; }
   7853 fi
   7854 
   7855 
   7856   else
   7857     MAGIC_CMD=:
   7858   fi
   7859 fi
   7860 
   7861   fi
   7862   ;;
   7863 esac
   7864 
   7865 # Use C for the default configuration in the libtool script
   7866 
   7867 lt_save_CC="$CC"
   7868 ac_ext=c
   7869 ac_cpp='$CPP $CPPFLAGS'
   7870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7873 
   7874 
   7875 # Source file extension for C test sources.
   7876 ac_ext=c
   7877 
   7878 # Object file extension for compiled C test sources.
   7879 objext=o
   7880 objext=$objext
   7881 
   7882 # Code to be used in simple compile tests
   7883 lt_simple_compile_test_code="int some_variable = 0;"
   7884 
   7885 # Code to be used in simple link tests
   7886 lt_simple_link_test_code='int main(){return(0);}'
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 # If no C compiler was specified, use CC.
   7895 LTCC=${LTCC-"$CC"}
   7896 
   7897 # If no C compiler flags were specified, use CFLAGS.
   7898 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7899 
   7900 # Allow CC to be a program name with arguments.
   7901 compiler=$CC
   7902 
   7903 # Save the default compiler, since it gets overwritten when the other
   7904 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7905 compiler_DEFAULT=$CC
   7906 
   7907 # save warnings/boilerplate of simple test code
   7908 ac_outfile=conftest.$ac_objext
   7909 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7910 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7911 _lt_compiler_boilerplate=`cat conftest.err`
   7912 $RM conftest*
   7913 
   7914 ac_outfile=conftest.$ac_objext
   7915 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7916 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7917 _lt_linker_boilerplate=`cat conftest.err`
   7918 $RM -r conftest*
   7919 
   7920 
   7921 if test -n "$compiler"; then
   7922 
   7923 lt_prog_compiler_no_builtin_flag=
   7924 
   7925 if test "$GCC" = yes; then
   7926   case $cc_basename in
   7927   nvcc*)
   7928     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7929   *)
   7930     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7931   esac
   7932 
   7933   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7934 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7935 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7936   $as_echo_n "(cached) " >&6
   7937 else
   7938   lt_cv_prog_compiler_rtti_exceptions=no
   7939    ac_outfile=conftest.$ac_objext
   7940    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7941    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7942    # Insert the option either (1) after the last *FLAGS variable, or
   7943    # (2) before a word containing "conftest.", or (3) at the end.
   7944    # Note that $ac_compile itself does not contain backslashes and begins
   7945    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7946    # The option is referenced via a variable to avoid confusing sed.
   7947    lt_compile=`echo "$ac_compile" | $SED \
   7948    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7949    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7950    -e 's:$: $lt_compiler_flag:'`
   7951    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7952    (eval "$lt_compile" 2>conftest.err)
   7953    ac_status=$?
   7954    cat conftest.err >&5
   7955    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7956    if (exit $ac_status) && test -s "$ac_outfile"; then
   7957      # The compiler can only warn and ignore the option if not recognized
   7958      # So say no if there are warnings other than the usual output.
   7959      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7960      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7961      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7962        lt_cv_prog_compiler_rtti_exceptions=yes
   7963      fi
   7964    fi
   7965    $RM conftest*
   7966 
   7967 fi
   7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7969 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7970 
   7971 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7972     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7973 else
   7974     :
   7975 fi
   7976 
   7977 fi
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 
   7984   lt_prog_compiler_wl=
   7985 lt_prog_compiler_pic=
   7986 lt_prog_compiler_static=
   7987 
   7988 
   7989   if test "$GCC" = yes; then
   7990     lt_prog_compiler_wl='-Wl,'
   7991     lt_prog_compiler_static='-static'
   7992 
   7993     case $host_os in
   7994       aix*)
   7995       # All AIX code is PIC.
   7996       if test "$host_cpu" = ia64; then
   7997 	# AIX 5 now supports IA64 processor
   7998 	lt_prog_compiler_static='-Bstatic'
   7999       fi
   8000       ;;
   8001 
   8002     amigaos*)
   8003       case $host_cpu in
   8004       powerpc)
   8005             # see comment about AmigaOS4 .so support
   8006             lt_prog_compiler_pic='-fPIC'
   8007         ;;
   8008       m68k)
   8009             # FIXME: we need at least 68020 code to build shared libraries, but
   8010             # adding the `-m68020' flag to GCC prevents building anything better,
   8011             # like `-m68040'.
   8012             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8013         ;;
   8014       esac
   8015       ;;
   8016 
   8017     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8018       # PIC is the default for these OSes.
   8019       ;;
   8020 
   8021     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8022       # This hack is so that the source file can tell whether it is being
   8023       # built for inclusion in a dll (and should export symbols for example).
   8024       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8025       # (--disable-auto-import) libraries
   8026       lt_prog_compiler_pic='-DDLL_EXPORT'
   8027       ;;
   8028 
   8029     darwin* | rhapsody*)
   8030       # PIC is the default on this platform
   8031       # Common symbols not allowed in MH_DYLIB files
   8032       lt_prog_compiler_pic='-fno-common'
   8033       ;;
   8034 
   8035     haiku*)
   8036       # PIC is the default for Haiku.
   8037       # The "-static" flag exists, but is broken.
   8038       lt_prog_compiler_static=
   8039       ;;
   8040 
   8041     hpux*)
   8042       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8043       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8044       # sets the default TLS model and affects inlining.
   8045       case $host_cpu in
   8046       hppa*64*)
   8047 	# +Z the default
   8048 	;;
   8049       *)
   8050 	lt_prog_compiler_pic='-fPIC'
   8051 	;;
   8052       esac
   8053       ;;
   8054 
   8055     interix[3-9]*)
   8056       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8057       # Instead, we relocate shared libraries at runtime.
   8058       ;;
   8059 
   8060     msdosdjgpp*)
   8061       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8062       # on systems that don't support them.
   8063       lt_prog_compiler_can_build_shared=no
   8064       enable_shared=no
   8065       ;;
   8066 
   8067     *nto* | *qnx*)
   8068       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8069       # it will coredump.
   8070       lt_prog_compiler_pic='-fPIC -shared'
   8071       ;;
   8072 
   8073     sysv4*MP*)
   8074       if test -d /usr/nec; then
   8075 	lt_prog_compiler_pic=-Kconform_pic
   8076       fi
   8077       ;;
   8078 
   8079     *)
   8080       lt_prog_compiler_pic='-fPIC'
   8081       ;;
   8082     esac
   8083 
   8084     case $cc_basename in
   8085     nvcc*) # Cuda Compiler Driver 2.2
   8086       lt_prog_compiler_wl='-Xlinker '
   8087       if test -n "$lt_prog_compiler_pic"; then
   8088         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8089       fi
   8090       ;;
   8091     esac
   8092   else
   8093     # PORTME Check for flag to pass linker flags through the system compiler.
   8094     case $host_os in
   8095     aix*)
   8096       lt_prog_compiler_wl='-Wl,'
   8097       if test "$host_cpu" = ia64; then
   8098 	# AIX 5 now supports IA64 processor
   8099 	lt_prog_compiler_static='-Bstatic'
   8100       else
   8101 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8102       fi
   8103       ;;
   8104 
   8105     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8106       # This hack is so that the source file can tell whether it is being
   8107       # built for inclusion in a dll (and should export symbols for example).
   8108       lt_prog_compiler_pic='-DDLL_EXPORT'
   8109       ;;
   8110 
   8111     hpux9* | hpux10* | hpux11*)
   8112       lt_prog_compiler_wl='-Wl,'
   8113       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8114       # not for PA HP-UX.
   8115       case $host_cpu in
   8116       hppa*64*|ia64*)
   8117 	# +Z the default
   8118 	;;
   8119       *)
   8120 	lt_prog_compiler_pic='+Z'
   8121 	;;
   8122       esac
   8123       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8124       lt_prog_compiler_static='${wl}-a ${wl}archive'
   8125       ;;
   8126 
   8127     irix5* | irix6* | nonstopux*)
   8128       lt_prog_compiler_wl='-Wl,'
   8129       # PIC (with -KPIC) is the default.
   8130       lt_prog_compiler_static='-non_shared'
   8131       ;;
   8132 
   8133     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   8134       case $cc_basename in
   8135       # old Intel for x86_64 which still supported -KPIC.
   8136       ecc*)
   8137 	lt_prog_compiler_wl='-Wl,'
   8138 	lt_prog_compiler_pic='-KPIC'
   8139 	lt_prog_compiler_static='-static'
   8140         ;;
   8141       # icc used to be incompatible with GCC.
   8142       # ICC 10 doesn't accept -KPIC any more.
   8143       icc* | ifort*)
   8144 	lt_prog_compiler_wl='-Wl,'
   8145 	lt_prog_compiler_pic='-fPIC'
   8146 	lt_prog_compiler_static='-static'
   8147         ;;
   8148       # Lahey Fortran 8.1.
   8149       lf95*)
   8150 	lt_prog_compiler_wl='-Wl,'
   8151 	lt_prog_compiler_pic='--shared'
   8152 	lt_prog_compiler_static='--static'
   8153 	;;
   8154       nagfor*)
   8155 	# NAG Fortran compiler
   8156 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8157 	lt_prog_compiler_pic='-PIC'
   8158 	lt_prog_compiler_static='-Bstatic'
   8159 	;;
   8160       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8161         # Portland Group compilers (*not* the Pentium gcc compiler,
   8162 	# which looks to be a dead project)
   8163 	lt_prog_compiler_wl='-Wl,'
   8164 	lt_prog_compiler_pic='-fpic'
   8165 	lt_prog_compiler_static='-Bstatic'
   8166         ;;
   8167       ccc*)
   8168         lt_prog_compiler_wl='-Wl,'
   8169         # All Alpha code is PIC.
   8170         lt_prog_compiler_static='-non_shared'
   8171         ;;
   8172       xl* | bgxl* | bgf* | mpixl*)
   8173 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8174 	lt_prog_compiler_wl='-Wl,'
   8175 	lt_prog_compiler_pic='-qpic'
   8176 	lt_prog_compiler_static='-qstaticlink'
   8177 	;;
   8178       *)
   8179 	case `$CC -V 2>&1 | sed 5q` in
   8180 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8181 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8182 	  lt_prog_compiler_pic='-KPIC'
   8183 	  lt_prog_compiler_static='-Bstatic'
   8184 	  lt_prog_compiler_wl=''
   8185 	  ;;
   8186 	*Sun\ F* | *Sun*Fortran*)
   8187 	  lt_prog_compiler_pic='-KPIC'
   8188 	  lt_prog_compiler_static='-Bstatic'
   8189 	  lt_prog_compiler_wl='-Qoption ld '
   8190 	  ;;
   8191 	*Sun\ C*)
   8192 	  # Sun C 5.9
   8193 	  lt_prog_compiler_pic='-KPIC'
   8194 	  lt_prog_compiler_static='-Bstatic'
   8195 	  lt_prog_compiler_wl='-Wl,'
   8196 	  ;;
   8197         *Intel*\ [CF]*Compiler*)
   8198 	  lt_prog_compiler_wl='-Wl,'
   8199 	  lt_prog_compiler_pic='-fPIC'
   8200 	  lt_prog_compiler_static='-static'
   8201 	  ;;
   8202 	*Portland\ Group*)
   8203 	  lt_prog_compiler_wl='-Wl,'
   8204 	  lt_prog_compiler_pic='-fpic'
   8205 	  lt_prog_compiler_static='-Bstatic'
   8206 	  ;;
   8207 	esac
   8208 	;;
   8209       esac
   8210       ;;
   8211 
   8212     newsos6)
   8213       lt_prog_compiler_pic='-KPIC'
   8214       lt_prog_compiler_static='-Bstatic'
   8215       ;;
   8216 
   8217     *nto* | *qnx*)
   8218       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8219       # it will coredump.
   8220       lt_prog_compiler_pic='-fPIC -shared'
   8221       ;;
   8222 
   8223     osf3* | osf4* | osf5*)
   8224       lt_prog_compiler_wl='-Wl,'
   8225       # All OSF/1 code is PIC.
   8226       lt_prog_compiler_static='-non_shared'
   8227       ;;
   8228 
   8229     rdos*)
   8230       lt_prog_compiler_static='-non_shared'
   8231       ;;
   8232 
   8233     solaris*)
   8234       lt_prog_compiler_pic='-KPIC'
   8235       lt_prog_compiler_static='-Bstatic'
   8236       case $cc_basename in
   8237       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8238 	lt_prog_compiler_wl='-Qoption ld ';;
   8239       *)
   8240 	lt_prog_compiler_wl='-Wl,';;
   8241       esac
   8242       ;;
   8243 
   8244     sunos4*)
   8245       lt_prog_compiler_wl='-Qoption ld '
   8246       lt_prog_compiler_pic='-PIC'
   8247       lt_prog_compiler_static='-Bstatic'
   8248       ;;
   8249 
   8250     sysv4 | sysv4.2uw2* | sysv4.3*)
   8251       lt_prog_compiler_wl='-Wl,'
   8252       lt_prog_compiler_pic='-KPIC'
   8253       lt_prog_compiler_static='-Bstatic'
   8254       ;;
   8255 
   8256     sysv4*MP*)
   8257       if test -d /usr/nec ;then
   8258 	lt_prog_compiler_pic='-Kconform_pic'
   8259 	lt_prog_compiler_static='-Bstatic'
   8260       fi
   8261       ;;
   8262 
   8263     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8264       lt_prog_compiler_wl='-Wl,'
   8265       lt_prog_compiler_pic='-KPIC'
   8266       lt_prog_compiler_static='-Bstatic'
   8267       ;;
   8268 
   8269     unicos*)
   8270       lt_prog_compiler_wl='-Wl,'
   8271       lt_prog_compiler_can_build_shared=no
   8272       ;;
   8273 
   8274     uts4*)
   8275       lt_prog_compiler_pic='-pic'
   8276       lt_prog_compiler_static='-Bstatic'
   8277       ;;
   8278 
   8279     *)
   8280       lt_prog_compiler_can_build_shared=no
   8281       ;;
   8282     esac
   8283   fi
   8284 
   8285 case $host_os in
   8286   # For platforms which do not support PIC, -DPIC is meaningless:
   8287   *djgpp*)
   8288     lt_prog_compiler_pic=
   8289     ;;
   8290   *)
   8291     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8292     ;;
   8293 esac
   8294 
   8295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8296 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8297 if ${lt_cv_prog_compiler_pic+:} false; then :
   8298   $as_echo_n "(cached) " >&6
   8299 else
   8300   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8301 fi
   8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8303 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8304 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8305 
   8306 #
   8307 # Check to make sure the PIC flag actually works.
   8308 #
   8309 if test -n "$lt_prog_compiler_pic"; then
   8310   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8311 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8312 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8313   $as_echo_n "(cached) " >&6
   8314 else
   8315   lt_cv_prog_compiler_pic_works=no
   8316    ac_outfile=conftest.$ac_objext
   8317    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8318    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8319    # Insert the option either (1) after the last *FLAGS variable, or
   8320    # (2) before a word containing "conftest.", or (3) at the end.
   8321    # Note that $ac_compile itself does not contain backslashes and begins
   8322    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8323    # The option is referenced via a variable to avoid confusing sed.
   8324    lt_compile=`echo "$ac_compile" | $SED \
   8325    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8326    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8327    -e 's:$: $lt_compiler_flag:'`
   8328    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8329    (eval "$lt_compile" 2>conftest.err)
   8330    ac_status=$?
   8331    cat conftest.err >&5
   8332    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8333    if (exit $ac_status) && test -s "$ac_outfile"; then
   8334      # The compiler can only warn and ignore the option if not recognized
   8335      # So say no if there are warnings other than the usual output.
   8336      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8337      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8338      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8339        lt_cv_prog_compiler_pic_works=yes
   8340      fi
   8341    fi
   8342    $RM conftest*
   8343 
   8344 fi
   8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8346 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8347 
   8348 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8349     case $lt_prog_compiler_pic in
   8350      "" | " "*) ;;
   8351      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8352      esac
   8353 else
   8354     lt_prog_compiler_pic=
   8355      lt_prog_compiler_can_build_shared=no
   8356 fi
   8357 
   8358 fi
   8359 
   8360 
   8361 
   8362 
   8363 
   8364 
   8365 
   8366 
   8367 
   8368 
   8369 
   8370 #
   8371 # Check to make sure the static flag actually works.
   8372 #
   8373 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8375 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8376 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8377   $as_echo_n "(cached) " >&6
   8378 else
   8379   lt_cv_prog_compiler_static_works=no
   8380    save_LDFLAGS="$LDFLAGS"
   8381    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8382    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8383    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8384      # The linker can only warn and ignore the option if not recognized
   8385      # So say no if there are warnings
   8386      if test -s conftest.err; then
   8387        # Append any errors to the config.log.
   8388        cat conftest.err 1>&5
   8389        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8390        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8391        if diff conftest.exp conftest.er2 >/dev/null; then
   8392          lt_cv_prog_compiler_static_works=yes
   8393        fi
   8394      else
   8395        lt_cv_prog_compiler_static_works=yes
   8396      fi
   8397    fi
   8398    $RM -r conftest*
   8399    LDFLAGS="$save_LDFLAGS"
   8400 
   8401 fi
   8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8403 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8404 
   8405 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8406     :
   8407 else
   8408     lt_prog_compiler_static=
   8409 fi
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 
   8416 
   8417   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8418 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8419 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8420   $as_echo_n "(cached) " >&6
   8421 else
   8422   lt_cv_prog_compiler_c_o=no
   8423    $RM -r conftest 2>/dev/null
   8424    mkdir conftest
   8425    cd conftest
   8426    mkdir out
   8427    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8428 
   8429    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8430    # Insert the option either (1) after the last *FLAGS variable, or
   8431    # (2) before a word containing "conftest.", or (3) at the end.
   8432    # Note that $ac_compile itself does not contain backslashes and begins
   8433    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8434    lt_compile=`echo "$ac_compile" | $SED \
   8435    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8436    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8437    -e 's:$: $lt_compiler_flag:'`
   8438    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8439    (eval "$lt_compile" 2>out/conftest.err)
   8440    ac_status=$?
   8441    cat out/conftest.err >&5
   8442    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8443    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8444    then
   8445      # The compiler can only warn and ignore the option if not recognized
   8446      # So say no if there are warnings
   8447      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8448      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8449      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8450        lt_cv_prog_compiler_c_o=yes
   8451      fi
   8452    fi
   8453    chmod u+w . 2>&5
   8454    $RM conftest*
   8455    # SGI C++ compiler will create directory out/ii_files/ for
   8456    # template instantiation
   8457    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8458    $RM out/* && rmdir out
   8459    cd ..
   8460    $RM -r conftest
   8461    $RM conftest*
   8462 
   8463 fi
   8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8465 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8466 
   8467 
   8468 
   8469 
   8470 
   8471 
   8472   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8473 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8474 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8475   $as_echo_n "(cached) " >&6
   8476 else
   8477   lt_cv_prog_compiler_c_o=no
   8478    $RM -r conftest 2>/dev/null
   8479    mkdir conftest
   8480    cd conftest
   8481    mkdir out
   8482    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8483 
   8484    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8485    # Insert the option either (1) after the last *FLAGS variable, or
   8486    # (2) before a word containing "conftest.", or (3) at the end.
   8487    # Note that $ac_compile itself does not contain backslashes and begins
   8488    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8489    lt_compile=`echo "$ac_compile" | $SED \
   8490    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8491    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8492    -e 's:$: $lt_compiler_flag:'`
   8493    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8494    (eval "$lt_compile" 2>out/conftest.err)
   8495    ac_status=$?
   8496    cat out/conftest.err >&5
   8497    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8498    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8499    then
   8500      # The compiler can only warn and ignore the option if not recognized
   8501      # So say no if there are warnings
   8502      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8503      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8504      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8505        lt_cv_prog_compiler_c_o=yes
   8506      fi
   8507    fi
   8508    chmod u+w . 2>&5
   8509    $RM conftest*
   8510    # SGI C++ compiler will create directory out/ii_files/ for
   8511    # template instantiation
   8512    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8513    $RM out/* && rmdir out
   8514    cd ..
   8515    $RM -r conftest
   8516    $RM conftest*
   8517 
   8518 fi
   8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8520 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8521 
   8522 
   8523 
   8524 
   8525 hard_links="nottested"
   8526 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8527   # do not overwrite the value of need_locks provided by the user
   8528   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8529 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8530   hard_links=yes
   8531   $RM conftest*
   8532   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8533   touch conftest.a
   8534   ln conftest.a conftest.b 2>&5 || hard_links=no
   8535   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8537 $as_echo "$hard_links" >&6; }
   8538   if test "$hard_links" = no; then
   8539     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8540 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8541     need_locks=warn
   8542   fi
   8543 else
   8544   need_locks=no
   8545 fi
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8553 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8554 
   8555   runpath_var=
   8556   allow_undefined_flag=
   8557   always_export_symbols=no
   8558   archive_cmds=
   8559   archive_expsym_cmds=
   8560   compiler_needs_object=no
   8561   enable_shared_with_static_runtimes=no
   8562   export_dynamic_flag_spec=
   8563   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8564   hardcode_automatic=no
   8565   hardcode_direct=no
   8566   hardcode_direct_absolute=no
   8567   hardcode_libdir_flag_spec=
   8568   hardcode_libdir_separator=
   8569   hardcode_minus_L=no
   8570   hardcode_shlibpath_var=unsupported
   8571   inherit_rpath=no
   8572   link_all_deplibs=unknown
   8573   module_cmds=
   8574   module_expsym_cmds=
   8575   old_archive_from_new_cmds=
   8576   old_archive_from_expsyms_cmds=
   8577   thread_safe_flag_spec=
   8578   whole_archive_flag_spec=
   8579   # include_expsyms should be a list of space-separated symbols to be *always*
   8580   # included in the symbol list
   8581   include_expsyms=
   8582   # exclude_expsyms can be an extended regexp of symbols to exclude
   8583   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8584   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8585   # as well as any symbol that contains `d'.
   8586   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8587   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8588   # platforms (ab)use it in PIC code, but their linkers get confused if
   8589   # the symbol is explicitly referenced.  Since portable code cannot
   8590   # rely on this symbol name, it's probably fine to never include it in
   8591   # preloaded symbol tables.
   8592   # Exclude shared library initialization/finalization symbols.
   8593   extract_expsyms_cmds=
   8594 
   8595   case $host_os in
   8596   cygwin* | mingw* | pw32* | cegcc*)
   8597     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8598     # When not using gcc, we currently assume that we are using
   8599     # Microsoft Visual C++.
   8600     if test "$GCC" != yes; then
   8601       with_gnu_ld=no
   8602     fi
   8603     ;;
   8604   interix*)
   8605     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8606     with_gnu_ld=yes
   8607     ;;
   8608   openbsd*)
   8609     with_gnu_ld=no
   8610     ;;
   8611   esac
   8612 
   8613   ld_shlibs=yes
   8614 
   8615   # On some targets, GNU ld is compatible enough with the native linker
   8616   # that we're better off using the native interface for both.
   8617   lt_use_gnu_ld_interface=no
   8618   if test "$with_gnu_ld" = yes; then
   8619     case $host_os in
   8620       aix*)
   8621 	# The AIX port of GNU ld has always aspired to compatibility
   8622 	# with the native linker.  However, as the warning in the GNU ld
   8623 	# block says, versions before 2.19.5* couldn't really create working
   8624 	# shared libraries, regardless of the interface used.
   8625 	case `$LD -v 2>&1` in
   8626 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8627 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8628 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8629 	  *)
   8630 	    lt_use_gnu_ld_interface=yes
   8631 	    ;;
   8632 	esac
   8633 	;;
   8634       *)
   8635 	lt_use_gnu_ld_interface=yes
   8636 	;;
   8637     esac
   8638   fi
   8639 
   8640   if test "$lt_use_gnu_ld_interface" = yes; then
   8641     # If archive_cmds runs LD, not CC, wlarc should be empty
   8642     wlarc='${wl}'
   8643 
   8644     # Set some defaults for GNU ld with shared library support. These
   8645     # are reset later if shared libraries are not supported. Putting them
   8646     # here allows them to be overridden if necessary.
   8647     runpath_var=LD_RUN_PATH
   8648     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8649     export_dynamic_flag_spec='${wl}--export-dynamic'
   8650     # ancient GNU ld didn't support --whole-archive et. al.
   8651     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8652       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8653     else
   8654       whole_archive_flag_spec=
   8655     fi
   8656     supports_anon_versioning=no
   8657     case `$LD -v 2>&1` in
   8658       *GNU\ gold*) supports_anon_versioning=yes ;;
   8659       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8660       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8661       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8662       *\ 2.11.*) ;; # other 2.11 versions
   8663       *) supports_anon_versioning=yes ;;
   8664     esac
   8665 
   8666     # See if GNU ld supports shared libraries.
   8667     case $host_os in
   8668     aix[3-9]*)
   8669       # On AIX/PPC, the GNU linker is very broken
   8670       if test "$host_cpu" != ia64; then
   8671 	ld_shlibs=no
   8672 	cat <<_LT_EOF 1>&2
   8673 
   8674 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8675 *** to be unable to reliably create shared libraries on AIX.
   8676 *** Therefore, libtool is disabling shared libraries support.  If you
   8677 *** really care for shared libraries, you may want to install binutils
   8678 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8679 *** You will then need to restart the configuration process.
   8680 
   8681 _LT_EOF
   8682       fi
   8683       ;;
   8684 
   8685     amigaos*)
   8686       case $host_cpu in
   8687       powerpc)
   8688             # see comment about AmigaOS4 .so support
   8689             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8690             archive_expsym_cmds=''
   8691         ;;
   8692       m68k)
   8693             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)'
   8694             hardcode_libdir_flag_spec='-L$libdir'
   8695             hardcode_minus_L=yes
   8696         ;;
   8697       esac
   8698       ;;
   8699 
   8700     beos*)
   8701       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8702 	allow_undefined_flag=unsupported
   8703 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8704 	# support --undefined.  This deserves some investigation.  FIXME
   8705 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8706       else
   8707 	ld_shlibs=no
   8708       fi
   8709       ;;
   8710 
   8711     cygwin* | mingw* | pw32* | cegcc*)
   8712       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8713       # as there is no search path for DLLs.
   8714       hardcode_libdir_flag_spec='-L$libdir'
   8715       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8716       allow_undefined_flag=unsupported
   8717       always_export_symbols=no
   8718       enable_shared_with_static_runtimes=yes
   8719       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'
   8720       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8721 
   8722       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8723         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8724 	# If the export-symbols file already is a .def file (1st line
   8725 	# is EXPORTS), use it as is; otherwise, prepend...
   8726 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8727 	  cp $export_symbols $output_objdir/$soname.def;
   8728 	else
   8729 	  echo EXPORTS > $output_objdir/$soname.def;
   8730 	  cat $export_symbols >> $output_objdir/$soname.def;
   8731 	fi~
   8732 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8733       else
   8734 	ld_shlibs=no
   8735       fi
   8736       ;;
   8737 
   8738     haiku*)
   8739       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8740       link_all_deplibs=yes
   8741       ;;
   8742 
   8743     interix[3-9]*)
   8744       hardcode_direct=no
   8745       hardcode_shlibpath_var=no
   8746       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8747       export_dynamic_flag_spec='${wl}-E'
   8748       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8749       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8750       # default) and relocated if they conflict, which is a slow very memory
   8751       # consuming and fragmenting process.  To avoid this, we pick a random,
   8752       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8753       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8754       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8755       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'
   8756       ;;
   8757 
   8758     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8759       tmp_diet=no
   8760       if test "$host_os" = linux-dietlibc; then
   8761 	case $cc_basename in
   8762 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8763 	esac
   8764       fi
   8765       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8766 	 && test "$tmp_diet" = no
   8767       then
   8768 	tmp_addflag=' $pic_flag'
   8769 	tmp_sharedflag='-shared'
   8770 	case $cc_basename,$host_cpu in
   8771         pgcc*)				# Portland Group C compiler
   8772 	  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'
   8773 	  tmp_addflag=' $pic_flag'
   8774 	  ;;
   8775 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8776 					# Portland Group f77 and f90 compilers
   8777 	  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'
   8778 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8779 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8780 	  tmp_addflag=' -i_dynamic' ;;
   8781 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8782 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8783 	ifc* | ifort*)			# Intel Fortran compiler
   8784 	  tmp_addflag=' -nofor_main' ;;
   8785 	lf95*)				# Lahey Fortran 8.1
   8786 	  whole_archive_flag_spec=
   8787 	  tmp_sharedflag='--shared' ;;
   8788 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8789 	  tmp_sharedflag='-qmkshrobj'
   8790 	  tmp_addflag= ;;
   8791 	nvcc*)	# Cuda Compiler Driver 2.2
   8792 	  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'
   8793 	  compiler_needs_object=yes
   8794 	  ;;
   8795 	esac
   8796 	case `$CC -V 2>&1 | sed 5q` in
   8797 	*Sun\ C*)			# Sun C 5.9
   8798 	  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'
   8799 	  compiler_needs_object=yes
   8800 	  tmp_sharedflag='-G' ;;
   8801 	*Sun\ F*)			# Sun Fortran 8.3
   8802 	  tmp_sharedflag='-G' ;;
   8803 	esac
   8804 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8805 
   8806         if test "x$supports_anon_versioning" = xyes; then
   8807           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8808 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8809 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8810 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8811         fi
   8812 
   8813 	case $cc_basename in
   8814 	xlf* | bgf* | bgxlf* | mpixlf*)
   8815 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8816 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8817 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8818 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8819 	  if test "x$supports_anon_versioning" = xyes; then
   8820 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8821 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8822 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8823 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8824 	  fi
   8825 	  ;;
   8826 	esac
   8827       else
   8828         ld_shlibs=no
   8829       fi
   8830       ;;
   8831 
   8832     netbsd*)
   8833       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8834 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8835 	wlarc=
   8836       else
   8837 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8838 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8839       fi
   8840       ;;
   8841 
   8842     solaris*)
   8843       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8844 	ld_shlibs=no
   8845 	cat <<_LT_EOF 1>&2
   8846 
   8847 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8848 *** create shared libraries on Solaris systems.  Therefore, libtool
   8849 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8850 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8851 *** your PATH or compiler configuration so that the native linker is
   8852 *** used, and then restart.
   8853 
   8854 _LT_EOF
   8855       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8856 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8857 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8858       else
   8859 	ld_shlibs=no
   8860       fi
   8861       ;;
   8862 
   8863     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8864       case `$LD -v 2>&1` in
   8865         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8866 	ld_shlibs=no
   8867 	cat <<_LT_EOF 1>&2
   8868 
   8869 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8870 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8871 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8872 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8873 *** your PATH or compiler configuration so that the native linker is
   8874 *** used, and then restart.
   8875 
   8876 _LT_EOF
   8877 	;;
   8878 	*)
   8879 	  # For security reasons, it is highly recommended that you always
   8880 	  # use absolute paths for naming shared libraries, and exclude the
   8881 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8882 	  # requires that you compile everything twice, which is a pain.
   8883 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8884 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8885 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8886 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8887 	  else
   8888 	    ld_shlibs=no
   8889 	  fi
   8890 	;;
   8891       esac
   8892       ;;
   8893 
   8894     sunos4*)
   8895       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8896       wlarc=
   8897       hardcode_direct=yes
   8898       hardcode_shlibpath_var=no
   8899       ;;
   8900 
   8901     *)
   8902       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8903 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8904 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8905       else
   8906 	ld_shlibs=no
   8907       fi
   8908       ;;
   8909     esac
   8910 
   8911     if test "$ld_shlibs" = no; then
   8912       runpath_var=
   8913       hardcode_libdir_flag_spec=
   8914       export_dynamic_flag_spec=
   8915       whole_archive_flag_spec=
   8916     fi
   8917   else
   8918     # PORTME fill in a description of your system's linker (not GNU ld)
   8919     case $host_os in
   8920     aix3*)
   8921       allow_undefined_flag=unsupported
   8922       always_export_symbols=yes
   8923       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'
   8924       # Note: this linker hardcodes the directories in LIBPATH if there
   8925       # are no directories specified by -L.
   8926       hardcode_minus_L=yes
   8927       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8928 	# Neither direct hardcoding nor static linking is supported with a
   8929 	# broken collect2.
   8930 	hardcode_direct=unsupported
   8931       fi
   8932       ;;
   8933 
   8934     aix[4-9]*)
   8935       if test "$host_cpu" = ia64; then
   8936 	# On IA64, the linker does run time linking by default, so we don't
   8937 	# have to do anything special.
   8938 	aix_use_runtimelinking=no
   8939 	exp_sym_flag='-Bexport'
   8940 	no_entry_flag=""
   8941       else
   8942 	# If we're using GNU nm, then we don't want the "-C" option.
   8943 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8944 	# Also, AIX nm treats weak defined symbols like other global
   8945 	# defined symbols, whereas GNU nm marks them as "W".
   8946 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8947 	  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'
   8948 	else
   8949 	  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'
   8950 	fi
   8951 	aix_use_runtimelinking=no
   8952 
   8953 	# Test if we are trying to use run time linking or normal
   8954 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8955 	# need to do runtime linking.
   8956 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8957 	  for ld_flag in $LDFLAGS; do
   8958 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8959 	    aix_use_runtimelinking=yes
   8960 	    break
   8961 	  fi
   8962 	  done
   8963 	  ;;
   8964 	esac
   8965 
   8966 	exp_sym_flag='-bexport'
   8967 	no_entry_flag='-bnoentry'
   8968       fi
   8969 
   8970       # When large executables or shared objects are built, AIX ld can
   8971       # have problems creating the table of contents.  If linking a library
   8972       # or program results in "error TOC overflow" add -mminimal-toc to
   8973       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8974       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8975 
   8976       archive_cmds=''
   8977       hardcode_direct=yes
   8978       hardcode_direct_absolute=yes
   8979       hardcode_libdir_separator=':'
   8980       link_all_deplibs=yes
   8981       file_list_spec='${wl}-f,'
   8982 
   8983       if test "$GCC" = yes; then
   8984 	case $host_os in aix4.[012]|aix4.[012].*)
   8985 	# We only want to do this on AIX 4.2 and lower, the check
   8986 	# below for broken collect2 doesn't work under 4.3+
   8987 	  collect2name=`${CC} -print-prog-name=collect2`
   8988 	  if test -f "$collect2name" &&
   8989 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8990 	  then
   8991 	  # We have reworked collect2
   8992 	  :
   8993 	  else
   8994 	  # We have old collect2
   8995 	  hardcode_direct=unsupported
   8996 	  # It fails to find uninstalled libraries when the uninstalled
   8997 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8998 	  # to unsupported forces relinking
   8999 	  hardcode_minus_L=yes
   9000 	  hardcode_libdir_flag_spec='-L$libdir'
   9001 	  hardcode_libdir_separator=
   9002 	  fi
   9003 	  ;;
   9004 	esac
   9005 	shared_flag='-shared'
   9006 	if test "$aix_use_runtimelinking" = yes; then
   9007 	  shared_flag="$shared_flag "'${wl}-G'
   9008 	fi
   9009       else
   9010 	# not using gcc
   9011 	if test "$host_cpu" = ia64; then
   9012 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9013 	# chokes on -Wl,-G. The following line is correct:
   9014 	  shared_flag='-G'
   9015 	else
   9016 	  if test "$aix_use_runtimelinking" = yes; then
   9017 	    shared_flag='${wl}-G'
   9018 	  else
   9019 	    shared_flag='${wl}-bM:SRE'
   9020 	  fi
   9021 	fi
   9022       fi
   9023 
   9024       export_dynamic_flag_spec='${wl}-bexpall'
   9025       # It seems that -bexpall does not export symbols beginning with
   9026       # underscore (_), so it is better to generate a list of symbols to export.
   9027       always_export_symbols=yes
   9028       if test "$aix_use_runtimelinking" = yes; then
   9029 	# Warning - without using the other runtime loading flags (-brtl),
   9030 	# -berok will link without error, but may produce a broken library.
   9031 	allow_undefined_flag='-berok'
   9032         # Determine the default libpath from the value encoded in an
   9033         # empty executable.
   9034         if test "${lt_cv_aix_libpath+set}" = set; then
   9035   aix_libpath=$lt_cv_aix_libpath
   9036 else
   9037   if ${lt_cv_aix_libpath_+:} false; then :
   9038   $as_echo_n "(cached) " >&6
   9039 else
   9040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9041 /* end confdefs.h.  */
   9042 
   9043 int
   9044 main ()
   9045 {
   9046 
   9047   ;
   9048   return 0;
   9049 }
   9050 _ACEOF
   9051 if ac_fn_c_try_link "$LINENO"; then :
   9052 
   9053   lt_aix_libpath_sed='
   9054       /Import File Strings/,/^$/ {
   9055 	  /^0/ {
   9056 	      s/^0  *\([^ ]*\) *$/\1/
   9057 	      p
   9058 	  }
   9059       }'
   9060   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9061   # Check for a 64-bit object if we didn't find anything.
   9062   if test -z "$lt_cv_aix_libpath_"; then
   9063     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9064   fi
   9065 fi
   9066 rm -f core conftest.err conftest.$ac_objext \
   9067     conftest$ac_exeext conftest.$ac_ext
   9068   if test -z "$lt_cv_aix_libpath_"; then
   9069     lt_cv_aix_libpath_="/usr/lib:/lib"
   9070   fi
   9071 
   9072 fi
   9073 
   9074   aix_libpath=$lt_cv_aix_libpath_
   9075 fi
   9076 
   9077         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9078         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"
   9079       else
   9080 	if test "$host_cpu" = ia64; then
   9081 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   9082 	  allow_undefined_flag="-z nodefs"
   9083 	  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"
   9084 	else
   9085 	 # Determine the default libpath from the value encoded in an
   9086 	 # empty executable.
   9087 	 if test "${lt_cv_aix_libpath+set}" = set; then
   9088   aix_libpath=$lt_cv_aix_libpath
   9089 else
   9090   if ${lt_cv_aix_libpath_+:} false; then :
   9091   $as_echo_n "(cached) " >&6
   9092 else
   9093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9094 /* end confdefs.h.  */
   9095 
   9096 int
   9097 main ()
   9098 {
   9099 
   9100   ;
   9101   return 0;
   9102 }
   9103 _ACEOF
   9104 if ac_fn_c_try_link "$LINENO"; then :
   9105 
   9106   lt_aix_libpath_sed='
   9107       /Import File Strings/,/^$/ {
   9108 	  /^0/ {
   9109 	      s/^0  *\([^ ]*\) *$/\1/
   9110 	      p
   9111 	  }
   9112       }'
   9113   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9114   # Check for a 64-bit object if we didn't find anything.
   9115   if test -z "$lt_cv_aix_libpath_"; then
   9116     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9117   fi
   9118 fi
   9119 rm -f core conftest.err conftest.$ac_objext \
   9120     conftest$ac_exeext conftest.$ac_ext
   9121   if test -z "$lt_cv_aix_libpath_"; then
   9122     lt_cv_aix_libpath_="/usr/lib:/lib"
   9123   fi
   9124 
   9125 fi
   9126 
   9127   aix_libpath=$lt_cv_aix_libpath_
   9128 fi
   9129 
   9130 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   9131 	  # Warning - without using the other run time loading flags,
   9132 	  # -berok will link without error, but may produce a broken library.
   9133 	  no_undefined_flag=' ${wl}-bernotok'
   9134 	  allow_undefined_flag=' ${wl}-berok'
   9135 	  if test "$with_gnu_ld" = yes; then
   9136 	    # We only use this code for GNU lds that support --whole-archive.
   9137 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   9138 	  else
   9139 	    # Exported symbols can be pulled into shared objects from archives
   9140 	    whole_archive_flag_spec='$convenience'
   9141 	  fi
   9142 	  archive_cmds_need_lc=yes
   9143 	  # This is similar to how AIX traditionally builds its shared libraries.
   9144 	  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'
   9145 	fi
   9146       fi
   9147       ;;
   9148 
   9149     amigaos*)
   9150       case $host_cpu in
   9151       powerpc)
   9152             # see comment about AmigaOS4 .so support
   9153             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9154             archive_expsym_cmds=''
   9155         ;;
   9156       m68k)
   9157             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)'
   9158             hardcode_libdir_flag_spec='-L$libdir'
   9159             hardcode_minus_L=yes
   9160         ;;
   9161       esac
   9162       ;;
   9163 
   9164     bsdi[45]*)
   9165       export_dynamic_flag_spec=-rdynamic
   9166       ;;
   9167 
   9168     cygwin* | mingw* | pw32* | cegcc*)
   9169       # When not using gcc, we currently assume that we are using
   9170       # Microsoft Visual C++.
   9171       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9172       # no search path for DLLs.
   9173       case $cc_basename in
   9174       cl*)
   9175 	# Native MSVC
   9176 	hardcode_libdir_flag_spec=' '
   9177 	allow_undefined_flag=unsupported
   9178 	always_export_symbols=yes
   9179 	file_list_spec='@'
   9180 	# Tell ltmain to make .lib files, not .a files.
   9181 	libext=lib
   9182 	# Tell ltmain to make .dll files, not .so files.
   9183 	shrext_cmds=".dll"
   9184 	# FIXME: Setting linknames here is a bad hack.
   9185 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9186 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9187 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9188 	  else
   9189 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9190 	  fi~
   9191 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9192 	  linknames='
   9193 	# The linker will not automatically build a static lib if we build a DLL.
   9194 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9195 	enable_shared_with_static_runtimes=yes
   9196 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9197 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9198 	# Don't use ranlib
   9199 	old_postinstall_cmds='chmod 644 $oldlib'
   9200 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9201 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9202 	  case $lt_outputfile in
   9203 	    *.exe|*.EXE) ;;
   9204 	    *)
   9205 	      lt_outputfile="$lt_outputfile.exe"
   9206 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9207 	      ;;
   9208 	  esac~
   9209 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9210 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9211 	    $RM "$lt_outputfile.manifest";
   9212 	  fi'
   9213 	;;
   9214       *)
   9215 	# Assume MSVC wrapper
   9216 	hardcode_libdir_flag_spec=' '
   9217 	allow_undefined_flag=unsupported
   9218 	# Tell ltmain to make .lib files, not .a files.
   9219 	libext=lib
   9220 	# Tell ltmain to make .dll files, not .so files.
   9221 	shrext_cmds=".dll"
   9222 	# FIXME: Setting linknames here is a bad hack.
   9223 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9224 	# The linker will automatically build a .lib file if we build a DLL.
   9225 	old_archive_from_new_cmds='true'
   9226 	# FIXME: Should let the user specify the lib program.
   9227 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9228 	enable_shared_with_static_runtimes=yes
   9229 	;;
   9230       esac
   9231       ;;
   9232 
   9233     darwin* | rhapsody*)
   9234 
   9235 
   9236   archive_cmds_need_lc=no
   9237   hardcode_direct=no
   9238   hardcode_automatic=yes
   9239   hardcode_shlibpath_var=unsupported
   9240   if test "$lt_cv_ld_force_load" = "yes"; then
   9241     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\"`'
   9242 
   9243   else
   9244     whole_archive_flag_spec=''
   9245   fi
   9246   link_all_deplibs=yes
   9247   allow_undefined_flag="$_lt_dar_allow_undefined"
   9248   case $cc_basename in
   9249      ifort*) _lt_dar_can_shared=yes ;;
   9250      *) _lt_dar_can_shared=$GCC ;;
   9251   esac
   9252   if test "$_lt_dar_can_shared" = "yes"; then
   9253     output_verbose_link_cmd=func_echo_all
   9254     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9255     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9256     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}"
   9257     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}"
   9258 
   9259   else
   9260   ld_shlibs=no
   9261   fi
   9262 
   9263       ;;
   9264 
   9265     dgux*)
   9266       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9267       hardcode_libdir_flag_spec='-L$libdir'
   9268       hardcode_shlibpath_var=no
   9269       ;;
   9270 
   9271     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9272     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9273     # does not break anything, and helps significantly (at the cost of a little
   9274     # extra space).
   9275     freebsd2.2*)
   9276       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9277       hardcode_libdir_flag_spec='-R$libdir'
   9278       hardcode_direct=yes
   9279       hardcode_shlibpath_var=no
   9280       ;;
   9281 
   9282     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9283     freebsd2.*)
   9284       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9285       hardcode_direct=yes
   9286       hardcode_minus_L=yes
   9287       hardcode_shlibpath_var=no
   9288       ;;
   9289 
   9290     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9291     freebsd* | dragonfly*)
   9292       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9293       hardcode_libdir_flag_spec='-R$libdir'
   9294       hardcode_direct=yes
   9295       hardcode_shlibpath_var=no
   9296       ;;
   9297 
   9298     hpux9*)
   9299       if test "$GCC" = yes; then
   9300 	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'
   9301       else
   9302 	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'
   9303       fi
   9304       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9305       hardcode_libdir_separator=:
   9306       hardcode_direct=yes
   9307 
   9308       # hardcode_minus_L: Not really in the search PATH,
   9309       # but as the default location of the library.
   9310       hardcode_minus_L=yes
   9311       export_dynamic_flag_spec='${wl}-E'
   9312       ;;
   9313 
   9314     hpux10*)
   9315       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9316 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9317       else
   9318 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9319       fi
   9320       if test "$with_gnu_ld" = no; then
   9321 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9322 	hardcode_libdir_separator=:
   9323 	hardcode_direct=yes
   9324 	hardcode_direct_absolute=yes
   9325 	export_dynamic_flag_spec='${wl}-E'
   9326 	# hardcode_minus_L: Not really in the search PATH,
   9327 	# but as the default location of the library.
   9328 	hardcode_minus_L=yes
   9329       fi
   9330       ;;
   9331 
   9332     hpux11*)
   9333       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9334 	case $host_cpu in
   9335 	hppa*64*)
   9336 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9337 	  ;;
   9338 	ia64*)
   9339 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9340 	  ;;
   9341 	*)
   9342 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9343 	  ;;
   9344 	esac
   9345       else
   9346 	case $host_cpu in
   9347 	hppa*64*)
   9348 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9349 	  ;;
   9350 	ia64*)
   9351 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9352 	  ;;
   9353 	*)
   9354 
   9355 	  # Older versions of the 11.00 compiler do not understand -b yet
   9356 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9357 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9358 $as_echo_n "checking if $CC understands -b... " >&6; }
   9359 if ${lt_cv_prog_compiler__b+:} false; then :
   9360   $as_echo_n "(cached) " >&6
   9361 else
   9362   lt_cv_prog_compiler__b=no
   9363    save_LDFLAGS="$LDFLAGS"
   9364    LDFLAGS="$LDFLAGS -b"
   9365    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9366    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9367      # The linker can only warn and ignore the option if not recognized
   9368      # So say no if there are warnings
   9369      if test -s conftest.err; then
   9370        # Append any errors to the config.log.
   9371        cat conftest.err 1>&5
   9372        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9373        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9374        if diff conftest.exp conftest.er2 >/dev/null; then
   9375          lt_cv_prog_compiler__b=yes
   9376        fi
   9377      else
   9378        lt_cv_prog_compiler__b=yes
   9379      fi
   9380    fi
   9381    $RM -r conftest*
   9382    LDFLAGS="$save_LDFLAGS"
   9383 
   9384 fi
   9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9386 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9387 
   9388 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9389     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9390 else
   9391     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9392 fi
   9393 
   9394 	  ;;
   9395 	esac
   9396       fi
   9397       if test "$with_gnu_ld" = no; then
   9398 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9399 	hardcode_libdir_separator=:
   9400 
   9401 	case $host_cpu in
   9402 	hppa*64*|ia64*)
   9403 	  hardcode_direct=no
   9404 	  hardcode_shlibpath_var=no
   9405 	  ;;
   9406 	*)
   9407 	  hardcode_direct=yes
   9408 	  hardcode_direct_absolute=yes
   9409 	  export_dynamic_flag_spec='${wl}-E'
   9410 
   9411 	  # hardcode_minus_L: Not really in the search PATH,
   9412 	  # but as the default location of the library.
   9413 	  hardcode_minus_L=yes
   9414 	  ;;
   9415 	esac
   9416       fi
   9417       ;;
   9418 
   9419     irix5* | irix6* | nonstopux*)
   9420       if test "$GCC" = yes; then
   9421 	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'
   9422 	# Try to use the -exported_symbol ld option, if it does not
   9423 	# work, assume that -exports_file does not work either and
   9424 	# implicitly export all symbols.
   9425 	# This should be the same for all languages, so no per-tag cache variable.
   9426 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9427 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9428 if ${lt_cv_irix_exported_symbol+:} false; then :
   9429   $as_echo_n "(cached) " >&6
   9430 else
   9431   save_LDFLAGS="$LDFLAGS"
   9432 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9433 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9434 /* end confdefs.h.  */
   9435 int foo (void) { return 0; }
   9436 _ACEOF
   9437 if ac_fn_c_try_link "$LINENO"; then :
   9438   lt_cv_irix_exported_symbol=yes
   9439 else
   9440   lt_cv_irix_exported_symbol=no
   9441 fi
   9442 rm -f core conftest.err conftest.$ac_objext \
   9443     conftest$ac_exeext conftest.$ac_ext
   9444            LDFLAGS="$save_LDFLAGS"
   9445 fi
   9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9447 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9448 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9449           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'
   9450 	fi
   9451       else
   9452 	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'
   9453 	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'
   9454       fi
   9455       archive_cmds_need_lc='no'
   9456       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9457       hardcode_libdir_separator=:
   9458       inherit_rpath=yes
   9459       link_all_deplibs=yes
   9460       ;;
   9461 
   9462     netbsd*)
   9463       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9464 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9465       else
   9466 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9467       fi
   9468       hardcode_libdir_flag_spec='-R$libdir'
   9469       hardcode_direct=yes
   9470       hardcode_shlibpath_var=no
   9471       ;;
   9472 
   9473     newsos6)
   9474       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9475       hardcode_direct=yes
   9476       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9477       hardcode_libdir_separator=:
   9478       hardcode_shlibpath_var=no
   9479       ;;
   9480 
   9481     *nto* | *qnx*)
   9482       ;;
   9483 
   9484     openbsd*)
   9485       if test -f /usr/libexec/ld.so; then
   9486 	hardcode_direct=yes
   9487 	hardcode_shlibpath_var=no
   9488 	hardcode_direct_absolute=yes
   9489 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9490 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9491 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9492 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9493 	  export_dynamic_flag_spec='${wl}-E'
   9494 	else
   9495 	  case $host_os in
   9496 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9497 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9498 	     hardcode_libdir_flag_spec='-R$libdir'
   9499 	     ;;
   9500 	   *)
   9501 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9502 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9503 	     ;;
   9504 	  esac
   9505 	fi
   9506       else
   9507 	ld_shlibs=no
   9508       fi
   9509       ;;
   9510 
   9511     os2*)
   9512       hardcode_libdir_flag_spec='-L$libdir'
   9513       hardcode_minus_L=yes
   9514       allow_undefined_flag=unsupported
   9515       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'
   9516       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9517       ;;
   9518 
   9519     osf3*)
   9520       if test "$GCC" = yes; then
   9521 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9522 	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'
   9523       else
   9524 	allow_undefined_flag=' -expect_unresolved \*'
   9525 	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'
   9526       fi
   9527       archive_cmds_need_lc='no'
   9528       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9529       hardcode_libdir_separator=:
   9530       ;;
   9531 
   9532     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9533       if test "$GCC" = yes; then
   9534 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9535 	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'
   9536 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9537       else
   9538 	allow_undefined_flag=' -expect_unresolved \*'
   9539 	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'
   9540 	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~
   9541 	$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'
   9542 
   9543 	# Both c and cxx compiler support -rpath directly
   9544 	hardcode_libdir_flag_spec='-rpath $libdir'
   9545       fi
   9546       archive_cmds_need_lc='no'
   9547       hardcode_libdir_separator=:
   9548       ;;
   9549 
   9550     solaris*)
   9551       no_undefined_flag=' -z defs'
   9552       if test "$GCC" = yes; then
   9553 	wlarc='${wl}'
   9554 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9555 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9556 	  $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'
   9557       else
   9558 	case `$CC -V 2>&1` in
   9559 	*"Compilers 5.0"*)
   9560 	  wlarc=''
   9561 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9562 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9563 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9564 	  ;;
   9565 	*)
   9566 	  wlarc='${wl}'
   9567 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9568 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9569 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9570 	  ;;
   9571 	esac
   9572       fi
   9573       hardcode_libdir_flag_spec='-R$libdir'
   9574       hardcode_shlibpath_var=no
   9575       case $host_os in
   9576       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9577       *)
   9578 	# The compiler driver will combine and reorder linker options,
   9579 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9580 	# but is careful enough not to reorder.
   9581 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9582 	if test "$GCC" = yes; then
   9583 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9584 	else
   9585 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9586 	fi
   9587 	;;
   9588       esac
   9589       link_all_deplibs=yes
   9590       ;;
   9591 
   9592     sunos4*)
   9593       if test "x$host_vendor" = xsequent; then
   9594 	# Use $CC to link under sequent, because it throws in some extra .o
   9595 	# files that make .init and .fini sections work.
   9596 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9597       else
   9598 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9599       fi
   9600       hardcode_libdir_flag_spec='-L$libdir'
   9601       hardcode_direct=yes
   9602       hardcode_minus_L=yes
   9603       hardcode_shlibpath_var=no
   9604       ;;
   9605 
   9606     sysv4)
   9607       case $host_vendor in
   9608 	sni)
   9609 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9610 	  hardcode_direct=yes # is this really true???
   9611 	;;
   9612 	siemens)
   9613 	  ## LD is ld it makes a PLAMLIB
   9614 	  ## CC just makes a GrossModule.
   9615 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9616 	  reload_cmds='$CC -r -o $output$reload_objs'
   9617 	  hardcode_direct=no
   9618         ;;
   9619 	motorola)
   9620 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9621 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9622 	;;
   9623       esac
   9624       runpath_var='LD_RUN_PATH'
   9625       hardcode_shlibpath_var=no
   9626       ;;
   9627 
   9628     sysv4.3*)
   9629       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9630       hardcode_shlibpath_var=no
   9631       export_dynamic_flag_spec='-Bexport'
   9632       ;;
   9633 
   9634     sysv4*MP*)
   9635       if test -d /usr/nec; then
   9636 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9637 	hardcode_shlibpath_var=no
   9638 	runpath_var=LD_RUN_PATH
   9639 	hardcode_runpath_var=yes
   9640 	ld_shlibs=yes
   9641       fi
   9642       ;;
   9643 
   9644     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9645       no_undefined_flag='${wl}-z,text'
   9646       archive_cmds_need_lc=no
   9647       hardcode_shlibpath_var=no
   9648       runpath_var='LD_RUN_PATH'
   9649 
   9650       if test "$GCC" = yes; then
   9651 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9652 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9653       else
   9654 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9655 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9656       fi
   9657       ;;
   9658 
   9659     sysv5* | sco3.2v5* | sco5v6*)
   9660       # Note: We can NOT use -z defs as we might desire, because we do not
   9661       # link with -lc, and that would cause any symbols used from libc to
   9662       # always be unresolved, which means just about no library would
   9663       # ever link correctly.  If we're not using GNU ld we use -z text
   9664       # though, which does catch some bad symbols but isn't as heavy-handed
   9665       # as -z defs.
   9666       no_undefined_flag='${wl}-z,text'
   9667       allow_undefined_flag='${wl}-z,nodefs'
   9668       archive_cmds_need_lc=no
   9669       hardcode_shlibpath_var=no
   9670       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9671       hardcode_libdir_separator=':'
   9672       link_all_deplibs=yes
   9673       export_dynamic_flag_spec='${wl}-Bexport'
   9674       runpath_var='LD_RUN_PATH'
   9675 
   9676       if test "$GCC" = yes; then
   9677 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9678 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9679       else
   9680 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9681 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9682       fi
   9683       ;;
   9684 
   9685     uts4*)
   9686       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9687       hardcode_libdir_flag_spec='-L$libdir'
   9688       hardcode_shlibpath_var=no
   9689       ;;
   9690 
   9691     *)
   9692       ld_shlibs=no
   9693       ;;
   9694     esac
   9695 
   9696     if test x$host_vendor = xsni; then
   9697       case $host in
   9698       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9699 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9700 	;;
   9701       esac
   9702     fi
   9703   fi
   9704 
   9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9706 $as_echo "$ld_shlibs" >&6; }
   9707 test "$ld_shlibs" = no && can_build_shared=no
   9708 
   9709 with_gnu_ld=$with_gnu_ld
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 #
   9726 # Do we need to explicitly link libc?
   9727 #
   9728 case "x$archive_cmds_need_lc" in
   9729 x|xyes)
   9730   # Assume -lc should be added
   9731   archive_cmds_need_lc=yes
   9732 
   9733   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9734     case $archive_cmds in
   9735     *'~'*)
   9736       # FIXME: we may have to deal with multi-command sequences.
   9737       ;;
   9738     '$CC '*)
   9739       # Test whether the compiler implicitly links with -lc since on some
   9740       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9741       # to ld, don't add -lc before -lgcc.
   9742       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9743 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9744 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9745   $as_echo_n "(cached) " >&6
   9746 else
   9747   $RM conftest*
   9748 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9749 
   9750 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9751   (eval $ac_compile) 2>&5
   9752   ac_status=$?
   9753   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9754   test $ac_status = 0; } 2>conftest.err; then
   9755 	  soname=conftest
   9756 	  lib=conftest
   9757 	  libobjs=conftest.$ac_objext
   9758 	  deplibs=
   9759 	  wl=$lt_prog_compiler_wl
   9760 	  pic_flag=$lt_prog_compiler_pic
   9761 	  compiler_flags=-v
   9762 	  linker_flags=-v
   9763 	  verstring=
   9764 	  output_objdir=.
   9765 	  libname=conftest
   9766 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9767 	  allow_undefined_flag=
   9768 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9769   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9770   ac_status=$?
   9771   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9772   test $ac_status = 0; }
   9773 	  then
   9774 	    lt_cv_archive_cmds_need_lc=no
   9775 	  else
   9776 	    lt_cv_archive_cmds_need_lc=yes
   9777 	  fi
   9778 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9779 	else
   9780 	  cat conftest.err 1>&5
   9781 	fi
   9782 	$RM conftest*
   9783 
   9784 fi
   9785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9786 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9787       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9788       ;;
   9789     esac
   9790   fi
   9791   ;;
   9792 esac
   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 
   9939 
   9940 
   9941 
   9942 
   9943 
   9944 
   9945   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9946 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9947 
   9948 if test "$GCC" = yes; then
   9949   case $host_os in
   9950     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9951     *) lt_awk_arg="/^libraries:/" ;;
   9952   esac
   9953   case $host_os in
   9954     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9955     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9956   esac
   9957   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9958   case $lt_search_path_spec in
   9959   *\;*)
   9960     # if the path contains ";" then we assume it to be the separator
   9961     # otherwise default to the standard path separator (i.e. ":") - it is
   9962     # assumed that no part of a normal pathname contains ";" but that should
   9963     # okay in the real world where ";" in dirpaths is itself problematic.
   9964     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9965     ;;
   9966   *)
   9967     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9968     ;;
   9969   esac
   9970   # Ok, now we have the path, separated by spaces, we can step through it
   9971   # and add multilib dir if necessary.
   9972   lt_tmp_lt_search_path_spec=
   9973   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9974   for lt_sys_path in $lt_search_path_spec; do
   9975     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9976       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9977     else
   9978       test -d "$lt_sys_path" && \
   9979 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9980     fi
   9981   done
   9982   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9983 BEGIN {RS=" "; FS="/|\n";} {
   9984   lt_foo="";
   9985   lt_count=0;
   9986   for (lt_i = NF; lt_i > 0; lt_i--) {
   9987     if ($lt_i != "" && $lt_i != ".") {
   9988       if ($lt_i == "..") {
   9989         lt_count++;
   9990       } else {
   9991         if (lt_count == 0) {
   9992           lt_foo="/" $lt_i lt_foo;
   9993         } else {
   9994           lt_count--;
   9995         }
   9996       }
   9997     }
   9998   }
   9999   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10000   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10001 }'`
   10002   # AWK program above erroneously prepends '/' to C:/dos/paths
   10003   # for these hosts.
   10004   case $host_os in
   10005     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10006       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   10007   esac
   10008   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10009 else
   10010   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10011 fi
   10012 library_names_spec=
   10013 libname_spec='lib$name'
   10014 soname_spec=
   10015 shrext_cmds=".so"
   10016 postinstall_cmds=
   10017 postuninstall_cmds=
   10018 finish_cmds=
   10019 finish_eval=
   10020 shlibpath_var=
   10021 shlibpath_overrides_runpath=unknown
   10022 version_type=none
   10023 dynamic_linker="$host_os ld.so"
   10024 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10025 need_lib_prefix=unknown
   10026 hardcode_into_libs=no
   10027 
   10028 # when you set need_version to no, make sure it does not cause -set_version
   10029 # flags to be left without arguments
   10030 need_version=unknown
   10031 
   10032 case $host_os in
   10033 aix3*)
   10034   version_type=linux # correct to gnu/linux during the next big refactor
   10035   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   10036   shlibpath_var=LIBPATH
   10037 
   10038   # AIX 3 has no versioning support, so we append a major version to the name.
   10039   soname_spec='${libname}${release}${shared_ext}$major'
   10040   ;;
   10041 
   10042 aix[4-9]*)
   10043   version_type=linux # correct to gnu/linux during the next big refactor
   10044   need_lib_prefix=no
   10045   need_version=no
   10046   hardcode_into_libs=yes
   10047   if test "$host_cpu" = ia64; then
   10048     # AIX 5 supports IA64
   10049     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   10050     shlibpath_var=LD_LIBRARY_PATH
   10051   else
   10052     # With GCC up to 2.95.x, collect2 would create an import file
   10053     # for dependence libraries.  The import file would start with
   10054     # the line `#! .'.  This would cause the generated library to
   10055     # depend on `.', always an invalid library.  This was fixed in
   10056     # development snapshots of GCC prior to 3.0.
   10057     case $host_os in
   10058       aix4 | aix4.[01] | aix4.[01].*)
   10059       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10060 	   echo ' yes '
   10061 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   10062 	:
   10063       else
   10064 	can_build_shared=no
   10065       fi
   10066       ;;
   10067     esac
   10068     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   10069     # soname into executable. Probably we can add versioning support to
   10070     # collect2, so additional links can be useful in future.
   10071     if test "$aix_use_runtimelinking" = yes; then
   10072       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10073       # instead of lib<name>.a to let people know that these are not
   10074       # typical AIX shared libraries.
   10075       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10076     else
   10077       # We preserve .a as extension for shared libraries through AIX4.2
   10078       # and later when we are not doing run time linking.
   10079       library_names_spec='${libname}${release}.a $libname.a'
   10080       soname_spec='${libname}${release}${shared_ext}$major'
   10081     fi
   10082     shlibpath_var=LIBPATH
   10083   fi
   10084   ;;
   10085 
   10086 amigaos*)
   10087   case $host_cpu in
   10088   powerpc)
   10089     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10090     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10091     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10092     ;;
   10093   m68k)
   10094     library_names_spec='$libname.ixlibrary $libname.a'
   10095     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10096     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'
   10097     ;;
   10098   esac
   10099   ;;
   10100 
   10101 beos*)
   10102   library_names_spec='${libname}${shared_ext}'
   10103   dynamic_linker="$host_os ld.so"
   10104   shlibpath_var=LIBRARY_PATH
   10105   ;;
   10106 
   10107 bsdi[45]*)
   10108   version_type=linux # correct to gnu/linux during the next big refactor
   10109   need_version=no
   10110   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10111   soname_spec='${libname}${release}${shared_ext}$major'
   10112   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10113   shlibpath_var=LD_LIBRARY_PATH
   10114   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10115   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10116   # the default ld.so.conf also contains /usr/contrib/lib and
   10117   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10118   # libtool to hard-code these into programs
   10119   ;;
   10120 
   10121 cygwin* | mingw* | pw32* | cegcc*)
   10122   version_type=windows
   10123   shrext_cmds=".dll"
   10124   need_version=no
   10125   need_lib_prefix=no
   10126 
   10127   case $GCC,$cc_basename in
   10128   yes,*)
   10129     # gcc
   10130     library_names_spec='$libname.dll.a'
   10131     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10132     postinstall_cmds='base_file=`basename \${file}`~
   10133       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10134       dldir=$destdir/`dirname \$dlpath`~
   10135       test -d \$dldir || mkdir -p \$dldir~
   10136       $install_prog $dir/$dlname \$dldir/$dlname~
   10137       chmod a+x \$dldir/$dlname~
   10138       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10139         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10140       fi'
   10141     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10142       dlpath=$dir/\$dldll~
   10143        $RM \$dlpath'
   10144     shlibpath_overrides_runpath=yes
   10145 
   10146     case $host_os in
   10147     cygwin*)
   10148       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10149       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10150 
   10151       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10152       ;;
   10153     mingw* | cegcc*)
   10154       # MinGW DLLs use traditional 'lib' prefix
   10155       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10156       ;;
   10157     pw32*)
   10158       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10159       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10160       ;;
   10161     esac
   10162     dynamic_linker='Win32 ld.exe'
   10163     ;;
   10164 
   10165   *,cl*)
   10166     # Native MSVC
   10167     libname_spec='$name'
   10168     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10169     library_names_spec='${libname}.dll.lib'
   10170 
   10171     case $build_os in
   10172     mingw*)
   10173       sys_lib_search_path_spec=
   10174       lt_save_ifs=$IFS
   10175       IFS=';'
   10176       for lt_path in $LIB
   10177       do
   10178         IFS=$lt_save_ifs
   10179         # Let DOS variable expansion print the short 8.3 style file name.
   10180         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10181         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10182       done
   10183       IFS=$lt_save_ifs
   10184       # Convert to MSYS style.
   10185       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10186       ;;
   10187     cygwin*)
   10188       # Convert to unix form, then to dos form, then back to unix form
   10189       # but this time dos style (no spaces!) so that the unix form looks
   10190       # like /cygdrive/c/PROGRA~1:/cygdr...
   10191       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10192       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10193       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10194       ;;
   10195     *)
   10196       sys_lib_search_path_spec="$LIB"
   10197       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10198         # It is most probably a Windows format PATH.
   10199         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10200       else
   10201         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10202       fi
   10203       # FIXME: find the short name or the path components, as spaces are
   10204       # common. (e.g. "Program Files" -> "PROGRA~1")
   10205       ;;
   10206     esac
   10207 
   10208     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10209     postinstall_cmds='base_file=`basename \${file}`~
   10210       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10211       dldir=$destdir/`dirname \$dlpath`~
   10212       test -d \$dldir || mkdir -p \$dldir~
   10213       $install_prog $dir/$dlname \$dldir/$dlname'
   10214     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10215       dlpath=$dir/\$dldll~
   10216        $RM \$dlpath'
   10217     shlibpath_overrides_runpath=yes
   10218     dynamic_linker='Win32 link.exe'
   10219     ;;
   10220 
   10221   *)
   10222     # Assume MSVC wrapper
   10223     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10224     dynamic_linker='Win32 ld.exe'
   10225     ;;
   10226   esac
   10227   # FIXME: first we should search . and the directory the executable is in
   10228   shlibpath_var=PATH
   10229   ;;
   10230 
   10231 darwin* | rhapsody*)
   10232   dynamic_linker="$host_os dyld"
   10233   version_type=darwin
   10234   need_lib_prefix=no
   10235   need_version=no
   10236   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10237   soname_spec='${libname}${release}${major}$shared_ext'
   10238   shlibpath_overrides_runpath=yes
   10239   shlibpath_var=DYLD_LIBRARY_PATH
   10240   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10241 
   10242   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10243   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10244   ;;
   10245 
   10246 dgux*)
   10247   version_type=linux # correct to gnu/linux during the next big refactor
   10248   need_lib_prefix=no
   10249   need_version=no
   10250   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10251   soname_spec='${libname}${release}${shared_ext}$major'
   10252   shlibpath_var=LD_LIBRARY_PATH
   10253   ;;
   10254 
   10255 freebsd* | dragonfly*)
   10256   # DragonFly does not have aout.  When/if they implement a new
   10257   # versioning mechanism, adjust this.
   10258   if test -x /usr/bin/objformat; then
   10259     objformat=`/usr/bin/objformat`
   10260   else
   10261     case $host_os in
   10262     freebsd[23].*) objformat=aout ;;
   10263     *) objformat=elf ;;
   10264     esac
   10265   fi
   10266   version_type=freebsd-$objformat
   10267   case $version_type in
   10268     freebsd-elf*)
   10269       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10270       need_version=no
   10271       need_lib_prefix=no
   10272       ;;
   10273     freebsd-*)
   10274       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10275       need_version=yes
   10276       ;;
   10277   esac
   10278   shlibpath_var=LD_LIBRARY_PATH
   10279   case $host_os in
   10280   freebsd2.*)
   10281     shlibpath_overrides_runpath=yes
   10282     ;;
   10283   freebsd3.[01]* | freebsdelf3.[01]*)
   10284     shlibpath_overrides_runpath=yes
   10285     hardcode_into_libs=yes
   10286     ;;
   10287   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10288   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10289     shlibpath_overrides_runpath=no
   10290     hardcode_into_libs=yes
   10291     ;;
   10292   *) # from 4.6 on, and DragonFly
   10293     shlibpath_overrides_runpath=yes
   10294     hardcode_into_libs=yes
   10295     ;;
   10296   esac
   10297   ;;
   10298 
   10299 gnu*)
   10300   version_type=linux # correct to gnu/linux during the next big refactor
   10301   need_lib_prefix=no
   10302   need_version=no
   10303   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10304   soname_spec='${libname}${release}${shared_ext}$major'
   10305   shlibpath_var=LD_LIBRARY_PATH
   10306   shlibpath_overrides_runpath=no
   10307   hardcode_into_libs=yes
   10308   ;;
   10309 
   10310 haiku*)
   10311   version_type=linux # correct to gnu/linux during the next big refactor
   10312   need_lib_prefix=no
   10313   need_version=no
   10314   dynamic_linker="$host_os runtime_loader"
   10315   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10316   soname_spec='${libname}${release}${shared_ext}$major'
   10317   shlibpath_var=LIBRARY_PATH
   10318   shlibpath_overrides_runpath=yes
   10319   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10320   hardcode_into_libs=yes
   10321   ;;
   10322 
   10323 hpux9* | hpux10* | hpux11*)
   10324   # Give a soname corresponding to the major version so that dld.sl refuses to
   10325   # link against other versions.
   10326   version_type=sunos
   10327   need_lib_prefix=no
   10328   need_version=no
   10329   case $host_cpu in
   10330   ia64*)
   10331     shrext_cmds='.so'
   10332     hardcode_into_libs=yes
   10333     dynamic_linker="$host_os dld.so"
   10334     shlibpath_var=LD_LIBRARY_PATH
   10335     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10336     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10337     soname_spec='${libname}${release}${shared_ext}$major'
   10338     if test "X$HPUX_IA64_MODE" = X32; then
   10339       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10340     else
   10341       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10342     fi
   10343     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10344     ;;
   10345   hppa*64*)
   10346     shrext_cmds='.sl'
   10347     hardcode_into_libs=yes
   10348     dynamic_linker="$host_os dld.sl"
   10349     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10350     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10351     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10352     soname_spec='${libname}${release}${shared_ext}$major'
   10353     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10354     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10355     ;;
   10356   *)
   10357     shrext_cmds='.sl'
   10358     dynamic_linker="$host_os dld.sl"
   10359     shlibpath_var=SHLIB_PATH
   10360     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10361     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10362     soname_spec='${libname}${release}${shared_ext}$major'
   10363     ;;
   10364   esac
   10365   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10366   postinstall_cmds='chmod 555 $lib'
   10367   # or fails outright, so override atomically:
   10368   install_override_mode=555
   10369   ;;
   10370 
   10371 interix[3-9]*)
   10372   version_type=linux # correct to gnu/linux during the next big refactor
   10373   need_lib_prefix=no
   10374   need_version=no
   10375   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10376   soname_spec='${libname}${release}${shared_ext}$major'
   10377   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10378   shlibpath_var=LD_LIBRARY_PATH
   10379   shlibpath_overrides_runpath=no
   10380   hardcode_into_libs=yes
   10381   ;;
   10382 
   10383 irix5* | irix6* | nonstopux*)
   10384   case $host_os in
   10385     nonstopux*) version_type=nonstopux ;;
   10386     *)
   10387 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10388 		version_type=linux # correct to gnu/linux during the next big refactor
   10389 	else
   10390 		version_type=irix
   10391 	fi ;;
   10392   esac
   10393   need_lib_prefix=no
   10394   need_version=no
   10395   soname_spec='${libname}${release}${shared_ext}$major'
   10396   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10397   case $host_os in
   10398   irix5* | nonstopux*)
   10399     libsuff= shlibsuff=
   10400     ;;
   10401   *)
   10402     case $LD in # libtool.m4 will add one of these switches to LD
   10403     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10404       libsuff= shlibsuff= libmagic=32-bit;;
   10405     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10406       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10407     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10408       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10409     *) libsuff= shlibsuff= libmagic=never-match;;
   10410     esac
   10411     ;;
   10412   esac
   10413   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10414   shlibpath_overrides_runpath=no
   10415   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10416   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10417   hardcode_into_libs=yes
   10418   ;;
   10419 
   10420 # No shared lib support for Linux oldld, aout, or coff.
   10421 linux*oldld* | linux*aout* | linux*coff*)
   10422   dynamic_linker=no
   10423   ;;
   10424 
   10425 # This must be glibc/ELF.
   10426 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10427   version_type=linux # correct to gnu/linux during the next big refactor
   10428   need_lib_prefix=no
   10429   need_version=no
   10430   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10431   soname_spec='${libname}${release}${shared_ext}$major'
   10432   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10433   shlibpath_var=LD_LIBRARY_PATH
   10434   shlibpath_overrides_runpath=no
   10435 
   10436   # Some binutils ld are patched to set DT_RUNPATH
   10437   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10438   $as_echo_n "(cached) " >&6
   10439 else
   10440   lt_cv_shlibpath_overrides_runpath=no
   10441     save_LDFLAGS=$LDFLAGS
   10442     save_libdir=$libdir
   10443     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10444 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10445     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10446 /* end confdefs.h.  */
   10447 
   10448 int
   10449 main ()
   10450 {
   10451 
   10452   ;
   10453   return 0;
   10454 }
   10455 _ACEOF
   10456 if ac_fn_c_try_link "$LINENO"; then :
   10457   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10458   lt_cv_shlibpath_overrides_runpath=yes
   10459 fi
   10460 fi
   10461 rm -f core conftest.err conftest.$ac_objext \
   10462     conftest$ac_exeext conftest.$ac_ext
   10463     LDFLAGS=$save_LDFLAGS
   10464     libdir=$save_libdir
   10465 
   10466 fi
   10467 
   10468   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10469 
   10470   # This implies no fast_install, which is unacceptable.
   10471   # Some rework will be needed to allow for fast_install
   10472   # before this can be enabled.
   10473   hardcode_into_libs=yes
   10474 
   10475   # Add ABI-specific directories to the system library path.
   10476   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10477 
   10478   # Append ld.so.conf contents to the search path
   10479   if test -f /etc/ld.so.conf; then
   10480     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' ' '`
   10481     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10482 
   10483   fi
   10484 
   10485   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10486   # powerpc, because MkLinux only supported shared libraries with the
   10487   # GNU dynamic linker.  Since this was broken with cross compilers,
   10488   # most powerpc-linux boxes support dynamic linking these days and
   10489   # people can always --disable-shared, the test was removed, and we
   10490   # assume the GNU/Linux dynamic linker is in use.
   10491   dynamic_linker='GNU/Linux ld.so'
   10492   ;;
   10493 
   10494 netbsd*)
   10495   version_type=sunos
   10496   need_lib_prefix=no
   10497   need_version=no
   10498   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10499     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10500     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10501     dynamic_linker='NetBSD (a.out) ld.so'
   10502   else
   10503     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10504     soname_spec='${libname}${release}${shared_ext}$major'
   10505     dynamic_linker='NetBSD ld.elf_so'
   10506   fi
   10507   shlibpath_var=LD_LIBRARY_PATH
   10508   shlibpath_overrides_runpath=yes
   10509   hardcode_into_libs=yes
   10510   ;;
   10511 
   10512 newsos6)
   10513   version_type=linux # correct to gnu/linux during the next big refactor
   10514   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10515   shlibpath_var=LD_LIBRARY_PATH
   10516   shlibpath_overrides_runpath=yes
   10517   ;;
   10518 
   10519 *nto* | *qnx*)
   10520   version_type=qnx
   10521   need_lib_prefix=no
   10522   need_version=no
   10523   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10524   soname_spec='${libname}${release}${shared_ext}$major'
   10525   shlibpath_var=LD_LIBRARY_PATH
   10526   shlibpath_overrides_runpath=no
   10527   hardcode_into_libs=yes
   10528   dynamic_linker='ldqnx.so'
   10529   ;;
   10530 
   10531 openbsd*)
   10532   version_type=sunos
   10533   sys_lib_dlsearch_path_spec="/usr/lib"
   10534   need_lib_prefix=no
   10535   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10536   case $host_os in
   10537     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10538     *)				need_version=no  ;;
   10539   esac
   10540   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10541   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10542   shlibpath_var=LD_LIBRARY_PATH
   10543   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10544     case $host_os in
   10545       openbsd2.[89] | openbsd2.[89].*)
   10546 	shlibpath_overrides_runpath=no
   10547 	;;
   10548       *)
   10549 	shlibpath_overrides_runpath=yes
   10550 	;;
   10551       esac
   10552   else
   10553     shlibpath_overrides_runpath=yes
   10554   fi
   10555   ;;
   10556 
   10557 os2*)
   10558   libname_spec='$name'
   10559   shrext_cmds=".dll"
   10560   need_lib_prefix=no
   10561   library_names_spec='$libname${shared_ext} $libname.a'
   10562   dynamic_linker='OS/2 ld.exe'
   10563   shlibpath_var=LIBPATH
   10564   ;;
   10565 
   10566 osf3* | osf4* | osf5*)
   10567   version_type=osf
   10568   need_lib_prefix=no
   10569   need_version=no
   10570   soname_spec='${libname}${release}${shared_ext}$major'
   10571   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10572   shlibpath_var=LD_LIBRARY_PATH
   10573   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10574   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10575   ;;
   10576 
   10577 rdos*)
   10578   dynamic_linker=no
   10579   ;;
   10580 
   10581 solaris*)
   10582   version_type=linux # correct to gnu/linux during the next big refactor
   10583   need_lib_prefix=no
   10584   need_version=no
   10585   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10586   soname_spec='${libname}${release}${shared_ext}$major'
   10587   shlibpath_var=LD_LIBRARY_PATH
   10588   shlibpath_overrides_runpath=yes
   10589   hardcode_into_libs=yes
   10590   # ldd complains unless libraries are executable
   10591   postinstall_cmds='chmod +x $lib'
   10592   ;;
   10593 
   10594 sunos4*)
   10595   version_type=sunos
   10596   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10597   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10598   shlibpath_var=LD_LIBRARY_PATH
   10599   shlibpath_overrides_runpath=yes
   10600   if test "$with_gnu_ld" = yes; then
   10601     need_lib_prefix=no
   10602   fi
   10603   need_version=yes
   10604   ;;
   10605 
   10606 sysv4 | sysv4.3*)
   10607   version_type=linux # correct to gnu/linux during the next big refactor
   10608   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10609   soname_spec='${libname}${release}${shared_ext}$major'
   10610   shlibpath_var=LD_LIBRARY_PATH
   10611   case $host_vendor in
   10612     sni)
   10613       shlibpath_overrides_runpath=no
   10614       need_lib_prefix=no
   10615       runpath_var=LD_RUN_PATH
   10616       ;;
   10617     siemens)
   10618       need_lib_prefix=no
   10619       ;;
   10620     motorola)
   10621       need_lib_prefix=no
   10622       need_version=no
   10623       shlibpath_overrides_runpath=no
   10624       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10625       ;;
   10626   esac
   10627   ;;
   10628 
   10629 sysv4*MP*)
   10630   if test -d /usr/nec ;then
   10631     version_type=linux # correct to gnu/linux during the next big refactor
   10632     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10633     soname_spec='$libname${shared_ext}.$major'
   10634     shlibpath_var=LD_LIBRARY_PATH
   10635   fi
   10636   ;;
   10637 
   10638 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10639   version_type=freebsd-elf
   10640   need_lib_prefix=no
   10641   need_version=no
   10642   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10643   soname_spec='${libname}${release}${shared_ext}$major'
   10644   shlibpath_var=LD_LIBRARY_PATH
   10645   shlibpath_overrides_runpath=yes
   10646   hardcode_into_libs=yes
   10647   if test "$with_gnu_ld" = yes; then
   10648     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10649   else
   10650     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10651     case $host_os in
   10652       sco3.2v5*)
   10653         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10654 	;;
   10655     esac
   10656   fi
   10657   sys_lib_dlsearch_path_spec='/usr/lib'
   10658   ;;
   10659 
   10660 tpf*)
   10661   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10662   version_type=linux # correct to gnu/linux during the next big refactor
   10663   need_lib_prefix=no
   10664   need_version=no
   10665   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10666   shlibpath_var=LD_LIBRARY_PATH
   10667   shlibpath_overrides_runpath=no
   10668   hardcode_into_libs=yes
   10669   ;;
   10670 
   10671 uts4*)
   10672   version_type=linux # correct to gnu/linux during the next big refactor
   10673   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10674   soname_spec='${libname}${release}${shared_ext}$major'
   10675   shlibpath_var=LD_LIBRARY_PATH
   10676   ;;
   10677 
   10678 *)
   10679   dynamic_linker=no
   10680   ;;
   10681 esac
   10682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10683 $as_echo "$dynamic_linker" >&6; }
   10684 test "$dynamic_linker" = no && can_build_shared=no
   10685 
   10686 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10687 if test "$GCC" = yes; then
   10688   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10689 fi
   10690 
   10691 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10692   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10693 fi
   10694 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10695   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10696 fi
   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 
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10790 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10791 hardcode_action=
   10792 if test -n "$hardcode_libdir_flag_spec" ||
   10793    test -n "$runpath_var" ||
   10794    test "X$hardcode_automatic" = "Xyes" ; then
   10795 
   10796   # We can hardcode non-existent directories.
   10797   if test "$hardcode_direct" != no &&
   10798      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10799      # have to relink, otherwise we might link with an installed library
   10800      # when we should be linking with a yet-to-be-installed one
   10801      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10802      test "$hardcode_minus_L" != no; then
   10803     # Linking always hardcodes the temporary library directory.
   10804     hardcode_action=relink
   10805   else
   10806     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10807     hardcode_action=immediate
   10808   fi
   10809 else
   10810   # We cannot hardcode anything, or else we can only hardcode existing
   10811   # directories.
   10812   hardcode_action=unsupported
   10813 fi
   10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10815 $as_echo "$hardcode_action" >&6; }
   10816 
   10817 if test "$hardcode_action" = relink ||
   10818    test "$inherit_rpath" = yes; then
   10819   # Fast installation is not supported
   10820   enable_fast_install=no
   10821 elif test "$shlibpath_overrides_runpath" = yes ||
   10822      test "$enable_shared" = no; then
   10823   # Fast installation is not necessary
   10824   enable_fast_install=needless
   10825 fi
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832   if test "x$enable_dlopen" != xyes; then
   10833   enable_dlopen=unknown
   10834   enable_dlopen_self=unknown
   10835   enable_dlopen_self_static=unknown
   10836 else
   10837   lt_cv_dlopen=no
   10838   lt_cv_dlopen_libs=
   10839 
   10840   case $host_os in
   10841   beos*)
   10842     lt_cv_dlopen="load_add_on"
   10843     lt_cv_dlopen_libs=
   10844     lt_cv_dlopen_self=yes
   10845     ;;
   10846 
   10847   mingw* | pw32* | cegcc*)
   10848     lt_cv_dlopen="LoadLibrary"
   10849     lt_cv_dlopen_libs=
   10850     ;;
   10851 
   10852   cygwin*)
   10853     lt_cv_dlopen="dlopen"
   10854     lt_cv_dlopen_libs=
   10855     ;;
   10856 
   10857   darwin*)
   10858   # if libdl is installed we need to link against it
   10859     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10860 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10861 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10862   $as_echo_n "(cached) " >&6
   10863 else
   10864   ac_check_lib_save_LIBS=$LIBS
   10865 LIBS="-ldl  $LIBS"
   10866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10867 /* end confdefs.h.  */
   10868 
   10869 /* Override any GCC internal prototype to avoid an error.
   10870    Use char because int might match the return type of a GCC
   10871    builtin and then its argument prototype would still apply.  */
   10872 #ifdef __cplusplus
   10873 extern "C"
   10874 #endif
   10875 char dlopen ();
   10876 int
   10877 main ()
   10878 {
   10879 return dlopen ();
   10880   ;
   10881   return 0;
   10882 }
   10883 _ACEOF
   10884 if ac_fn_c_try_link "$LINENO"; then :
   10885   ac_cv_lib_dl_dlopen=yes
   10886 else
   10887   ac_cv_lib_dl_dlopen=no
   10888 fi
   10889 rm -f core conftest.err conftest.$ac_objext \
   10890     conftest$ac_exeext conftest.$ac_ext
   10891 LIBS=$ac_check_lib_save_LIBS
   10892 fi
   10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10894 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10895 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10896   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10897 else
   10898 
   10899     lt_cv_dlopen="dyld"
   10900     lt_cv_dlopen_libs=
   10901     lt_cv_dlopen_self=yes
   10902 
   10903 fi
   10904 
   10905     ;;
   10906 
   10907   *)
   10908     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10909 if test "x$ac_cv_func_shl_load" = xyes; then :
   10910   lt_cv_dlopen="shl_load"
   10911 else
   10912   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10913 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10914 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10915   $as_echo_n "(cached) " >&6
   10916 else
   10917   ac_check_lib_save_LIBS=$LIBS
   10918 LIBS="-ldld  $LIBS"
   10919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10920 /* end confdefs.h.  */
   10921 
   10922 /* Override any GCC internal prototype to avoid an error.
   10923    Use char because int might match the return type of a GCC
   10924    builtin and then its argument prototype would still apply.  */
   10925 #ifdef __cplusplus
   10926 extern "C"
   10927 #endif
   10928 char shl_load ();
   10929 int
   10930 main ()
   10931 {
   10932 return shl_load ();
   10933   ;
   10934   return 0;
   10935 }
   10936 _ACEOF
   10937 if ac_fn_c_try_link "$LINENO"; then :
   10938   ac_cv_lib_dld_shl_load=yes
   10939 else
   10940   ac_cv_lib_dld_shl_load=no
   10941 fi
   10942 rm -f core conftest.err conftest.$ac_objext \
   10943     conftest$ac_exeext conftest.$ac_ext
   10944 LIBS=$ac_check_lib_save_LIBS
   10945 fi
   10946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10947 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10948 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10949   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10950 else
   10951   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10952 if test "x$ac_cv_func_dlopen" = xyes; then :
   10953   lt_cv_dlopen="dlopen"
   10954 else
   10955   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10956 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10957 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10958   $as_echo_n "(cached) " >&6
   10959 else
   10960   ac_check_lib_save_LIBS=$LIBS
   10961 LIBS="-ldl  $LIBS"
   10962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10963 /* end confdefs.h.  */
   10964 
   10965 /* Override any GCC internal prototype to avoid an error.
   10966    Use char because int might match the return type of a GCC
   10967    builtin and then its argument prototype would still apply.  */
   10968 #ifdef __cplusplus
   10969 extern "C"
   10970 #endif
   10971 char dlopen ();
   10972 int
   10973 main ()
   10974 {
   10975 return dlopen ();
   10976   ;
   10977   return 0;
   10978 }
   10979 _ACEOF
   10980 if ac_fn_c_try_link "$LINENO"; then :
   10981   ac_cv_lib_dl_dlopen=yes
   10982 else
   10983   ac_cv_lib_dl_dlopen=no
   10984 fi
   10985 rm -f core conftest.err conftest.$ac_objext \
   10986     conftest$ac_exeext conftest.$ac_ext
   10987 LIBS=$ac_check_lib_save_LIBS
   10988 fi
   10989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10990 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10991 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10992   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10993 else
   10994   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10995 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10996 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10997   $as_echo_n "(cached) " >&6
   10998 else
   10999   ac_check_lib_save_LIBS=$LIBS
   11000 LIBS="-lsvld  $LIBS"
   11001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11002 /* end confdefs.h.  */
   11003 
   11004 /* Override any GCC internal prototype to avoid an error.
   11005    Use char because int might match the return type of a GCC
   11006    builtin and then its argument prototype would still apply.  */
   11007 #ifdef __cplusplus
   11008 extern "C"
   11009 #endif
   11010 char dlopen ();
   11011 int
   11012 main ()
   11013 {
   11014 return dlopen ();
   11015   ;
   11016   return 0;
   11017 }
   11018 _ACEOF
   11019 if ac_fn_c_try_link "$LINENO"; then :
   11020   ac_cv_lib_svld_dlopen=yes
   11021 else
   11022   ac_cv_lib_svld_dlopen=no
   11023 fi
   11024 rm -f core conftest.err conftest.$ac_objext \
   11025     conftest$ac_exeext conftest.$ac_ext
   11026 LIBS=$ac_check_lib_save_LIBS
   11027 fi
   11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11029 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11030 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11031   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   11032 else
   11033   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11034 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11035 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11036   $as_echo_n "(cached) " >&6
   11037 else
   11038   ac_check_lib_save_LIBS=$LIBS
   11039 LIBS="-ldld  $LIBS"
   11040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11041 /* end confdefs.h.  */
   11042 
   11043 /* Override any GCC internal prototype to avoid an error.
   11044    Use char because int might match the return type of a GCC
   11045    builtin and then its argument prototype would still apply.  */
   11046 #ifdef __cplusplus
   11047 extern "C"
   11048 #endif
   11049 char dld_link ();
   11050 int
   11051 main ()
   11052 {
   11053 return dld_link ();
   11054   ;
   11055   return 0;
   11056 }
   11057 _ACEOF
   11058 if ac_fn_c_try_link "$LINENO"; then :
   11059   ac_cv_lib_dld_dld_link=yes
   11060 else
   11061   ac_cv_lib_dld_dld_link=no
   11062 fi
   11063 rm -f core conftest.err conftest.$ac_objext \
   11064     conftest$ac_exeext conftest.$ac_ext
   11065 LIBS=$ac_check_lib_save_LIBS
   11066 fi
   11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11068 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11069 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11070   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   11071 fi
   11072 
   11073 
   11074 fi
   11075 
   11076 
   11077 fi
   11078 
   11079 
   11080 fi
   11081 
   11082 
   11083 fi
   11084 
   11085 
   11086 fi
   11087 
   11088     ;;
   11089   esac
   11090 
   11091   if test "x$lt_cv_dlopen" != xno; then
   11092     enable_dlopen=yes
   11093   else
   11094     enable_dlopen=no
   11095   fi
   11096 
   11097   case $lt_cv_dlopen in
   11098   dlopen)
   11099     save_CPPFLAGS="$CPPFLAGS"
   11100     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11101 
   11102     save_LDFLAGS="$LDFLAGS"
   11103     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11104 
   11105     save_LIBS="$LIBS"
   11106     LIBS="$lt_cv_dlopen_libs $LIBS"
   11107 
   11108     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11109 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11110 if ${lt_cv_dlopen_self+:} false; then :
   11111   $as_echo_n "(cached) " >&6
   11112 else
   11113   	  if test "$cross_compiling" = yes; then :
   11114   lt_cv_dlopen_self=cross
   11115 else
   11116   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11117   lt_status=$lt_dlunknown
   11118   cat > conftest.$ac_ext <<_LT_EOF
   11119 #line $LINENO "configure"
   11120 #include "confdefs.h"
   11121 
   11122 #if HAVE_DLFCN_H
   11123 #include <dlfcn.h>
   11124 #endif
   11125 
   11126 #include <stdio.h>
   11127 
   11128 #ifdef RTLD_GLOBAL
   11129 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11130 #else
   11131 #  ifdef DL_GLOBAL
   11132 #    define LT_DLGLOBAL		DL_GLOBAL
   11133 #  else
   11134 #    define LT_DLGLOBAL		0
   11135 #  endif
   11136 #endif
   11137 
   11138 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11139    find out it does not work in some platform. */
   11140 #ifndef LT_DLLAZY_OR_NOW
   11141 #  ifdef RTLD_LAZY
   11142 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11143 #  else
   11144 #    ifdef DL_LAZY
   11145 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11146 #    else
   11147 #      ifdef RTLD_NOW
   11148 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11149 #      else
   11150 #        ifdef DL_NOW
   11151 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11152 #        else
   11153 #          define LT_DLLAZY_OR_NOW	0
   11154 #        endif
   11155 #      endif
   11156 #    endif
   11157 #  endif
   11158 #endif
   11159 
   11160 /* When -fvisbility=hidden is used, assume the code has been annotated
   11161    correspondingly for the symbols needed.  */
   11162 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11163 int fnord () __attribute__((visibility("default")));
   11164 #endif
   11165 
   11166 int fnord () { return 42; }
   11167 int main ()
   11168 {
   11169   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11170   int status = $lt_dlunknown;
   11171 
   11172   if (self)
   11173     {
   11174       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11175       else
   11176         {
   11177 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11178           else puts (dlerror ());
   11179 	}
   11180       /* dlclose (self); */
   11181     }
   11182   else
   11183     puts (dlerror ());
   11184 
   11185   return status;
   11186 }
   11187 _LT_EOF
   11188   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11189   (eval $ac_link) 2>&5
   11190   ac_status=$?
   11191   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11192   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11193     (./conftest; exit; ) >&5 2>/dev/null
   11194     lt_status=$?
   11195     case x$lt_status in
   11196       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11197       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11198       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11199     esac
   11200   else :
   11201     # compilation failed
   11202     lt_cv_dlopen_self=no
   11203   fi
   11204 fi
   11205 rm -fr conftest*
   11206 
   11207 
   11208 fi
   11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11210 $as_echo "$lt_cv_dlopen_self" >&6; }
   11211 
   11212     if test "x$lt_cv_dlopen_self" = xyes; then
   11213       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11214       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11215 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11216 if ${lt_cv_dlopen_self_static+:} false; then :
   11217   $as_echo_n "(cached) " >&6
   11218 else
   11219   	  if test "$cross_compiling" = yes; then :
   11220   lt_cv_dlopen_self_static=cross
   11221 else
   11222   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11223   lt_status=$lt_dlunknown
   11224   cat > conftest.$ac_ext <<_LT_EOF
   11225 #line $LINENO "configure"
   11226 #include "confdefs.h"
   11227 
   11228 #if HAVE_DLFCN_H
   11229 #include <dlfcn.h>
   11230 #endif
   11231 
   11232 #include <stdio.h>
   11233 
   11234 #ifdef RTLD_GLOBAL
   11235 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11236 #else
   11237 #  ifdef DL_GLOBAL
   11238 #    define LT_DLGLOBAL		DL_GLOBAL
   11239 #  else
   11240 #    define LT_DLGLOBAL		0
   11241 #  endif
   11242 #endif
   11243 
   11244 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11245    find out it does not work in some platform. */
   11246 #ifndef LT_DLLAZY_OR_NOW
   11247 #  ifdef RTLD_LAZY
   11248 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11249 #  else
   11250 #    ifdef DL_LAZY
   11251 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11252 #    else
   11253 #      ifdef RTLD_NOW
   11254 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11255 #      else
   11256 #        ifdef DL_NOW
   11257 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11258 #        else
   11259 #          define LT_DLLAZY_OR_NOW	0
   11260 #        endif
   11261 #      endif
   11262 #    endif
   11263 #  endif
   11264 #endif
   11265 
   11266 /* When -fvisbility=hidden is used, assume the code has been annotated
   11267    correspondingly for the symbols needed.  */
   11268 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11269 int fnord () __attribute__((visibility("default")));
   11270 #endif
   11271 
   11272 int fnord () { return 42; }
   11273 int main ()
   11274 {
   11275   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11276   int status = $lt_dlunknown;
   11277 
   11278   if (self)
   11279     {
   11280       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11281       else
   11282         {
   11283 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11284           else puts (dlerror ());
   11285 	}
   11286       /* dlclose (self); */
   11287     }
   11288   else
   11289     puts (dlerror ());
   11290 
   11291   return status;
   11292 }
   11293 _LT_EOF
   11294   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11295   (eval $ac_link) 2>&5
   11296   ac_status=$?
   11297   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11298   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11299     (./conftest; exit; ) >&5 2>/dev/null
   11300     lt_status=$?
   11301     case x$lt_status in
   11302       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11303       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11304       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11305     esac
   11306   else :
   11307     # compilation failed
   11308     lt_cv_dlopen_self_static=no
   11309   fi
   11310 fi
   11311 rm -fr conftest*
   11312 
   11313 
   11314 fi
   11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11316 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11317     fi
   11318 
   11319     CPPFLAGS="$save_CPPFLAGS"
   11320     LDFLAGS="$save_LDFLAGS"
   11321     LIBS="$save_LIBS"
   11322     ;;
   11323   esac
   11324 
   11325   case $lt_cv_dlopen_self in
   11326   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11327   *) enable_dlopen_self=unknown ;;
   11328   esac
   11329 
   11330   case $lt_cv_dlopen_self_static in
   11331   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11332   *) enable_dlopen_self_static=unknown ;;
   11333   esac
   11334 fi
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 striplib=
   11353 old_striplib=
   11354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11355 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11356 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11357   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11358   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11360 $as_echo "yes" >&6; }
   11361 else
   11362 # FIXME - insert some real tests, host_os isn't really good enough
   11363   case $host_os in
   11364   darwin*)
   11365     if test -n "$STRIP" ; then
   11366       striplib="$STRIP -x"
   11367       old_striplib="$STRIP -S"
   11368       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11369 $as_echo "yes" >&6; }
   11370     else
   11371       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11372 $as_echo "no" >&6; }
   11373     fi
   11374     ;;
   11375   *)
   11376     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11377 $as_echo "no" >&6; }
   11378     ;;
   11379   esac
   11380 fi
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393   # Report which library types will actually be built
   11394   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11395 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11397 $as_echo "$can_build_shared" >&6; }
   11398 
   11399   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11400 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11401   test "$can_build_shared" = "no" && enable_shared=no
   11402 
   11403   # On AIX, shared libraries and static libraries use the same namespace, and
   11404   # are all built from PIC.
   11405   case $host_os in
   11406   aix3*)
   11407     test "$enable_shared" = yes && enable_static=no
   11408     if test -n "$RANLIB"; then
   11409       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11410       postinstall_cmds='$RANLIB $lib'
   11411     fi
   11412     ;;
   11413 
   11414   aix[4-9]*)
   11415     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11416       test "$enable_shared" = yes && enable_static=no
   11417     fi
   11418     ;;
   11419   esac
   11420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11421 $as_echo "$enable_shared" >&6; }
   11422 
   11423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11424 $as_echo_n "checking whether to build static libraries... " >&6; }
   11425   # Make sure either enable_shared or enable_static is yes.
   11426   test "$enable_shared" = yes || enable_static=yes
   11427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11428 $as_echo "$enable_static" >&6; }
   11429 
   11430 
   11431 
   11432 
   11433 fi
   11434 ac_ext=c
   11435 ac_cpp='$CPP $CPPFLAGS'
   11436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11439 
   11440 CC="$lt_save_CC"
   11441 
   11442 
   11443 
   11444 
   11445 
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456         ac_config_commands="$ac_config_commands libtool"
   11457 
   11458 
   11459 
   11460 
   11461 # Only expand once:
   11462 
   11463 
   11464 
   11465 # Initialize X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11478 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11479 if ${ac_cv_prog_cc_c99+:} false; then :
   11480   $as_echo_n "(cached) " >&6
   11481 else
   11482   ac_cv_prog_cc_c99=no
   11483 ac_save_CC=$CC
   11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11485 /* end confdefs.h.  */
   11486 #include <stdarg.h>
   11487 #include <stdbool.h>
   11488 #include <stdlib.h>
   11489 #include <wchar.h>
   11490 #include <stdio.h>
   11491 
   11492 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11493 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11494 #define showlist(...) puts (#__VA_ARGS__)
   11495 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11496 static void
   11497 test_varargs_macros (void)
   11498 {
   11499   int x = 1234;
   11500   int y = 5678;
   11501   debug ("Flag");
   11502   debug ("X = %d\n", x);
   11503   showlist (The first, second, and third items.);
   11504   report (x>y, "x is %d but y is %d", x, y);
   11505 }
   11506 
   11507 // Check long long types.
   11508 #define BIG64 18446744073709551615ull
   11509 #define BIG32 4294967295ul
   11510 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11511 #if !BIG_OK
   11512   your preprocessor is broken;
   11513 #endif
   11514 #if BIG_OK
   11515 #else
   11516   your preprocessor is broken;
   11517 #endif
   11518 static long long int bignum = -9223372036854775807LL;
   11519 static unsigned long long int ubignum = BIG64;
   11520 
   11521 struct incomplete_array
   11522 {
   11523   int datasize;
   11524   double data[];
   11525 };
   11526 
   11527 struct named_init {
   11528   int number;
   11529   const wchar_t *name;
   11530   double average;
   11531 };
   11532 
   11533 typedef const char *ccp;
   11534 
   11535 static inline int
   11536 test_restrict (ccp restrict text)
   11537 {
   11538   // See if C++-style comments work.
   11539   // Iterate through items via the restricted pointer.
   11540   // Also check for declarations in for loops.
   11541   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11542     continue;
   11543   return 0;
   11544 }
   11545 
   11546 // Check varargs and va_copy.
   11547 static void
   11548 test_varargs (const char *format, ...)
   11549 {
   11550   va_list args;
   11551   va_start (args, format);
   11552   va_list args_copy;
   11553   va_copy (args_copy, args);
   11554 
   11555   const char *str;
   11556   int number;
   11557   float fnumber;
   11558 
   11559   while (*format)
   11560     {
   11561       switch (*format++)
   11562 	{
   11563 	case 's': // string
   11564 	  str = va_arg (args_copy, const char *);
   11565 	  break;
   11566 	case 'd': // int
   11567 	  number = va_arg (args_copy, int);
   11568 	  break;
   11569 	case 'f': // float
   11570 	  fnumber = va_arg (args_copy, double);
   11571 	  break;
   11572 	default:
   11573 	  break;
   11574 	}
   11575     }
   11576   va_end (args_copy);
   11577   va_end (args);
   11578 }
   11579 
   11580 int
   11581 main ()
   11582 {
   11583 
   11584   // Check bool.
   11585   _Bool success = false;
   11586 
   11587   // Check restrict.
   11588   if (test_restrict ("String literal") == 0)
   11589     success = true;
   11590   char *restrict newvar = "Another string";
   11591 
   11592   // Check varargs.
   11593   test_varargs ("s, d' f .", "string", 65, 34.234);
   11594   test_varargs_macros ();
   11595 
   11596   // Check flexible array members.
   11597   struct incomplete_array *ia =
   11598     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11599   ia->datasize = 10;
   11600   for (int i = 0; i < ia->datasize; ++i)
   11601     ia->data[i] = i * 1.234;
   11602 
   11603   // Check named initializers.
   11604   struct named_init ni = {
   11605     .number = 34,
   11606     .name = L"Test wide string",
   11607     .average = 543.34343,
   11608   };
   11609 
   11610   ni.number = 58;
   11611 
   11612   int dynamic_array[ni.number];
   11613   dynamic_array[ni.number - 1] = 543;
   11614 
   11615   // work around unused variable warnings
   11616   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11617 	  || dynamic_array[ni.number - 1] != 543);
   11618 
   11619   ;
   11620   return 0;
   11621 }
   11622 _ACEOF
   11623 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11624 do
   11625   CC="$ac_save_CC $ac_arg"
   11626   if ac_fn_c_try_compile "$LINENO"; then :
   11627   ac_cv_prog_cc_c99=$ac_arg
   11628 fi
   11629 rm -f core conftest.err conftest.$ac_objext
   11630   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11631 done
   11632 rm -f conftest.$ac_ext
   11633 CC=$ac_save_CC
   11634 
   11635 fi
   11636 # AC_CACHE_VAL
   11637 case "x$ac_cv_prog_cc_c99" in
   11638   x)
   11639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11640 $as_echo "none needed" >&6; } ;;
   11641   xno)
   11642     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11643 $as_echo "unsupported" >&6; } ;;
   11644   *)
   11645     CC="$CC $ac_cv_prog_cc_c99"
   11646     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11647 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11648 esac
   11649 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11650 
   11651 fi
   11652 
   11653 
   11654 
   11655 
   11656 
   11657 
   11658 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11659 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11660   CLANGCC="yes"
   11661 else
   11662   CLANGCC="no"
   11663 fi
   11664 
   11665 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11666 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11667   INTELCC="yes"
   11668 else
   11669   INTELCC="no"
   11670 fi
   11671 
   11672 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11673 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11674   SUNCC="yes"
   11675 else
   11676   SUNCC="no"
   11677 fi
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11688 	if test -n "$ac_tool_prefix"; then
   11689   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11690 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11692 $as_echo_n "checking for $ac_word... " >&6; }
   11693 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11694   $as_echo_n "(cached) " >&6
   11695 else
   11696   case $PKG_CONFIG in
   11697   [\\/]* | ?:[\\/]*)
   11698   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11699   ;;
   11700   *)
   11701   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11702 for as_dir in $PATH
   11703 do
   11704   IFS=$as_save_IFS
   11705   test -z "$as_dir" && as_dir=.
   11706     for ac_exec_ext in '' $ac_executable_extensions; do
   11707   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11708     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11709     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11710     break 2
   11711   fi
   11712 done
   11713   done
   11714 IFS=$as_save_IFS
   11715 
   11716   ;;
   11717 esac
   11718 fi
   11719 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11720 if test -n "$PKG_CONFIG"; then
   11721   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11722 $as_echo "$PKG_CONFIG" >&6; }
   11723 else
   11724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11725 $as_echo "no" >&6; }
   11726 fi
   11727 
   11728 
   11729 fi
   11730 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11731   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11732   # Extract the first word of "pkg-config", so it can be a program name with args.
   11733 set dummy pkg-config; ac_word=$2
   11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11735 $as_echo_n "checking for $ac_word... " >&6; }
   11736 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11737   $as_echo_n "(cached) " >&6
   11738 else
   11739   case $ac_pt_PKG_CONFIG in
   11740   [\\/]* | ?:[\\/]*)
   11741   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11742   ;;
   11743   *)
   11744   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11745 for as_dir in $PATH
   11746 do
   11747   IFS=$as_save_IFS
   11748   test -z "$as_dir" && as_dir=.
   11749     for ac_exec_ext in '' $ac_executable_extensions; do
   11750   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11751     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11752     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11753     break 2
   11754   fi
   11755 done
   11756   done
   11757 IFS=$as_save_IFS
   11758 
   11759   ;;
   11760 esac
   11761 fi
   11762 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11763 if test -n "$ac_pt_PKG_CONFIG"; then
   11764   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11765 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11766 else
   11767   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11768 $as_echo "no" >&6; }
   11769 fi
   11770 
   11771   if test "x$ac_pt_PKG_CONFIG" = x; then
   11772     PKG_CONFIG=""
   11773   else
   11774     case $cross_compiling:$ac_tool_warned in
   11775 yes:)
   11776 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11777 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11778 ac_tool_warned=yes ;;
   11779 esac
   11780     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11781   fi
   11782 else
   11783   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11784 fi
   11785 
   11786 fi
   11787 if test -n "$PKG_CONFIG"; then
   11788 	_pkg_min_version=0.9.0
   11789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11790 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11791 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11793 $as_echo "yes" >&6; }
   11794 	else
   11795 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11796 $as_echo "no" >&6; }
   11797 		PKG_CONFIG=""
   11798 	fi
   11799 fi
   11800 
   11801 
   11802 
   11803 
   11804 
   11805 # Check whether --enable-selective-werror was given.
   11806 if test "${enable_selective_werror+set}" = set; then :
   11807   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11808 else
   11809   SELECTIVE_WERROR=yes
   11810 fi
   11811 
   11812 
   11813 
   11814 
   11815 
   11816 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11817 if test "x$SUNCC" = "xyes"; then
   11818     BASE_CFLAGS="-v"
   11819 else
   11820     BASE_CFLAGS=""
   11821 fi
   11822 
   11823 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 
   11837 xorg_testset_save_CFLAGS="$CFLAGS"
   11838 
   11839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11840 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11842 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11843 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11844   $as_echo_n "(cached) " >&6
   11845 else
   11846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11847 /* end confdefs.h.  */
   11848 int i;
   11849 _ACEOF
   11850 if ac_fn_c_try_compile "$LINENO"; then :
   11851   xorg_cv_cc_flag_unknown_warning_option=yes
   11852 else
   11853   xorg_cv_cc_flag_unknown_warning_option=no
   11854 fi
   11855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11856 fi
   11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11858 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11859 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11860 	CFLAGS="$xorg_testset_save_CFLAGS"
   11861 fi
   11862 
   11863 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11864 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11865 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11866 	fi
   11867 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11868 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11869 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11870 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11871   $as_echo_n "(cached) " >&6
   11872 else
   11873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11874 /* end confdefs.h.  */
   11875 int i;
   11876 _ACEOF
   11877 if ac_fn_c_try_compile "$LINENO"; then :
   11878   xorg_cv_cc_flag_unused_command_line_argument=yes
   11879 else
   11880   xorg_cv_cc_flag_unused_command_line_argument=no
   11881 fi
   11882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11883 fi
   11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11885 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11886 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11887 	CFLAGS="$xorg_testset_save_CFLAGS"
   11888 fi
   11889 
   11890 found="no"
   11891 
   11892 	if test $found = "no" ; then
   11893 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11894 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11895 		fi
   11896 
   11897 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   11898 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11899 		fi
   11900 
   11901 		CFLAGS="$CFLAGS -Wall"
   11902 
   11903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11904 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11905 		cacheid=xorg_cv_cc_flag__Wall
   11906 		if eval \${$cacheid+:} false; then :
   11907   $as_echo_n "(cached) " >&6
   11908 else
   11909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11910 /* end confdefs.h.  */
   11911 int i;
   11912 int
   11913 main ()
   11914 {
   11915 
   11916   ;
   11917   return 0;
   11918 }
   11919 _ACEOF
   11920 if ac_fn_c_try_link "$LINENO"; then :
   11921   eval $cacheid=yes
   11922 else
   11923   eval $cacheid=no
   11924 fi
   11925 rm -f core conftest.err conftest.$ac_objext \
   11926     conftest$ac_exeext conftest.$ac_ext
   11927 fi
   11928 
   11929 
   11930 		CFLAGS="$xorg_testset_save_CFLAGS"
   11931 
   11932 		eval supported=\$$cacheid
   11933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11934 $as_echo "$supported" >&6; }
   11935 		if test "$supported" = "yes" ; then
   11936 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11937 			found="yes"
   11938 		fi
   11939 	fi
   11940 
   11941 
   11942 
   11943 
   11944 
   11945 
   11946 
   11947 
   11948 
   11949 
   11950 
   11951 
   11952 
   11953 
   11954 
   11955 xorg_testset_save_CFLAGS="$CFLAGS"
   11956 
   11957 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11958 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11959 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11960 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11961 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11962   $as_echo_n "(cached) " >&6
   11963 else
   11964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11965 /* end confdefs.h.  */
   11966 int i;
   11967 _ACEOF
   11968 if ac_fn_c_try_compile "$LINENO"; then :
   11969   xorg_cv_cc_flag_unknown_warning_option=yes
   11970 else
   11971   xorg_cv_cc_flag_unknown_warning_option=no
   11972 fi
   11973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11974 fi
   11975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11976 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11977 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11978 	CFLAGS="$xorg_testset_save_CFLAGS"
   11979 fi
   11980 
   11981 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11982 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11983 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11984 	fi
   11985 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11986 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11987 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11988 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11989   $as_echo_n "(cached) " >&6
   11990 else
   11991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11992 /* end confdefs.h.  */
   11993 int i;
   11994 _ACEOF
   11995 if ac_fn_c_try_compile "$LINENO"; then :
   11996   xorg_cv_cc_flag_unused_command_line_argument=yes
   11997 else
   11998   xorg_cv_cc_flag_unused_command_line_argument=no
   11999 fi
   12000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12001 fi
   12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12003 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12004 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12005 	CFLAGS="$xorg_testset_save_CFLAGS"
   12006 fi
   12007 
   12008 found="no"
   12009 
   12010 	if test $found = "no" ; then
   12011 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12012 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12013 		fi
   12014 
   12015 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12016 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12017 		fi
   12018 
   12019 		CFLAGS="$CFLAGS -Wpointer-arith"
   12020 
   12021 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12022 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12023 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12024 		if eval \${$cacheid+:} false; then :
   12025   $as_echo_n "(cached) " >&6
   12026 else
   12027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12028 /* end confdefs.h.  */
   12029 int i;
   12030 int
   12031 main ()
   12032 {
   12033 
   12034   ;
   12035   return 0;
   12036 }
   12037 _ACEOF
   12038 if ac_fn_c_try_link "$LINENO"; then :
   12039   eval $cacheid=yes
   12040 else
   12041   eval $cacheid=no
   12042 fi
   12043 rm -f core conftest.err conftest.$ac_objext \
   12044     conftest$ac_exeext conftest.$ac_ext
   12045 fi
   12046 
   12047 
   12048 		CFLAGS="$xorg_testset_save_CFLAGS"
   12049 
   12050 		eval supported=\$$cacheid
   12051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12052 $as_echo "$supported" >&6; }
   12053 		if test "$supported" = "yes" ; then
   12054 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12055 			found="yes"
   12056 		fi
   12057 	fi
   12058 
   12059 
   12060 
   12061 
   12062 
   12063 
   12064 
   12065 
   12066 
   12067 
   12068 
   12069 
   12070 
   12071 
   12072 
   12073 xorg_testset_save_CFLAGS="$CFLAGS"
   12074 
   12075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12078 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12079 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12080   $as_echo_n "(cached) " >&6
   12081 else
   12082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12083 /* end confdefs.h.  */
   12084 int i;
   12085 _ACEOF
   12086 if ac_fn_c_try_compile "$LINENO"; then :
   12087   xorg_cv_cc_flag_unknown_warning_option=yes
   12088 else
   12089   xorg_cv_cc_flag_unknown_warning_option=no
   12090 fi
   12091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12092 fi
   12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12094 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12096 	CFLAGS="$xorg_testset_save_CFLAGS"
   12097 fi
   12098 
   12099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12102 	fi
   12103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12105 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12106 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12107   $as_echo_n "(cached) " >&6
   12108 else
   12109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12110 /* end confdefs.h.  */
   12111 int i;
   12112 _ACEOF
   12113 if ac_fn_c_try_compile "$LINENO"; then :
   12114   xorg_cv_cc_flag_unused_command_line_argument=yes
   12115 else
   12116   xorg_cv_cc_flag_unused_command_line_argument=no
   12117 fi
   12118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12119 fi
   12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12121 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12123 	CFLAGS="$xorg_testset_save_CFLAGS"
   12124 fi
   12125 
   12126 found="no"
   12127 
   12128 	if test $found = "no" ; then
   12129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12131 		fi
   12132 
   12133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12135 		fi
   12136 
   12137 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12138 
   12139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12140 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12141 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12142 		if eval \${$cacheid+:} false; then :
   12143   $as_echo_n "(cached) " >&6
   12144 else
   12145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12146 /* end confdefs.h.  */
   12147 int i;
   12148 int
   12149 main ()
   12150 {
   12151 
   12152   ;
   12153   return 0;
   12154 }
   12155 _ACEOF
   12156 if ac_fn_c_try_link "$LINENO"; then :
   12157   eval $cacheid=yes
   12158 else
   12159   eval $cacheid=no
   12160 fi
   12161 rm -f core conftest.err conftest.$ac_objext \
   12162     conftest$ac_exeext conftest.$ac_ext
   12163 fi
   12164 
   12165 
   12166 		CFLAGS="$xorg_testset_save_CFLAGS"
   12167 
   12168 		eval supported=\$$cacheid
   12169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12170 $as_echo "$supported" >&6; }
   12171 		if test "$supported" = "yes" ; then
   12172 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12173 			found="yes"
   12174 		fi
   12175 	fi
   12176 
   12177 
   12178 
   12179 
   12180 
   12181 
   12182 
   12183 
   12184 
   12185 
   12186 
   12187 
   12188 
   12189 
   12190 
   12191 xorg_testset_save_CFLAGS="$CFLAGS"
   12192 
   12193 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12194 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12195 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12196 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12197 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12198   $as_echo_n "(cached) " >&6
   12199 else
   12200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12201 /* end confdefs.h.  */
   12202 int i;
   12203 _ACEOF
   12204 if ac_fn_c_try_compile "$LINENO"; then :
   12205   xorg_cv_cc_flag_unknown_warning_option=yes
   12206 else
   12207   xorg_cv_cc_flag_unknown_warning_option=no
   12208 fi
   12209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12210 fi
   12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12212 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12213 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12214 	CFLAGS="$xorg_testset_save_CFLAGS"
   12215 fi
   12216 
   12217 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12218 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12219 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12220 	fi
   12221 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12222 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12223 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12224 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12225   $as_echo_n "(cached) " >&6
   12226 else
   12227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12228 /* end confdefs.h.  */
   12229 int i;
   12230 _ACEOF
   12231 if ac_fn_c_try_compile "$LINENO"; then :
   12232   xorg_cv_cc_flag_unused_command_line_argument=yes
   12233 else
   12234   xorg_cv_cc_flag_unused_command_line_argument=no
   12235 fi
   12236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12237 fi
   12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12239 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12240 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12241 	CFLAGS="$xorg_testset_save_CFLAGS"
   12242 fi
   12243 
   12244 found="no"
   12245 
   12246 	if test $found = "no" ; then
   12247 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12248 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12249 		fi
   12250 
   12251 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12252 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12253 		fi
   12254 
   12255 		CFLAGS="$CFLAGS -Wformat=2"
   12256 
   12257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12258 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12259 		cacheid=xorg_cv_cc_flag__Wformat_2
   12260 		if eval \${$cacheid+:} false; then :
   12261   $as_echo_n "(cached) " >&6
   12262 else
   12263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12264 /* end confdefs.h.  */
   12265 int i;
   12266 int
   12267 main ()
   12268 {
   12269 
   12270   ;
   12271   return 0;
   12272 }
   12273 _ACEOF
   12274 if ac_fn_c_try_link "$LINENO"; then :
   12275   eval $cacheid=yes
   12276 else
   12277   eval $cacheid=no
   12278 fi
   12279 rm -f core conftest.err conftest.$ac_objext \
   12280     conftest$ac_exeext conftest.$ac_ext
   12281 fi
   12282 
   12283 
   12284 		CFLAGS="$xorg_testset_save_CFLAGS"
   12285 
   12286 		eval supported=\$$cacheid
   12287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12288 $as_echo "$supported" >&6; }
   12289 		if test "$supported" = "yes" ; then
   12290 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12291 			found="yes"
   12292 		fi
   12293 	fi
   12294 
   12295 	if test $found = "no" ; then
   12296 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12297 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12298 		fi
   12299 
   12300 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12301 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12302 		fi
   12303 
   12304 		CFLAGS="$CFLAGS -Wformat"
   12305 
   12306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12307 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12308 		cacheid=xorg_cv_cc_flag__Wformat
   12309 		if eval \${$cacheid+:} false; then :
   12310   $as_echo_n "(cached) " >&6
   12311 else
   12312   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12313 /* end confdefs.h.  */
   12314 int i;
   12315 int
   12316 main ()
   12317 {
   12318 
   12319   ;
   12320   return 0;
   12321 }
   12322 _ACEOF
   12323 if ac_fn_c_try_link "$LINENO"; then :
   12324   eval $cacheid=yes
   12325 else
   12326   eval $cacheid=no
   12327 fi
   12328 rm -f core conftest.err conftest.$ac_objext \
   12329     conftest$ac_exeext conftest.$ac_ext
   12330 fi
   12331 
   12332 
   12333 		CFLAGS="$xorg_testset_save_CFLAGS"
   12334 
   12335 		eval supported=\$$cacheid
   12336 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12337 $as_echo "$supported" >&6; }
   12338 		if test "$supported" = "yes" ; then
   12339 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12340 			found="yes"
   12341 		fi
   12342 	fi
   12343 
   12344 
   12345 
   12346 
   12347 
   12348 
   12349 
   12350 
   12351 
   12352 
   12353 
   12354 
   12355 
   12356 
   12357 
   12358 
   12359 
   12360 xorg_testset_save_CFLAGS="$CFLAGS"
   12361 
   12362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12365 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12366 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12367   $as_echo_n "(cached) " >&6
   12368 else
   12369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12370 /* end confdefs.h.  */
   12371 int i;
   12372 _ACEOF
   12373 if ac_fn_c_try_compile "$LINENO"; then :
   12374   xorg_cv_cc_flag_unknown_warning_option=yes
   12375 else
   12376   xorg_cv_cc_flag_unknown_warning_option=no
   12377 fi
   12378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12379 fi
   12380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12381 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12382 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12383 	CFLAGS="$xorg_testset_save_CFLAGS"
   12384 fi
   12385 
   12386 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12387 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12388 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12389 	fi
   12390 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12392 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12393 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12394   $as_echo_n "(cached) " >&6
   12395 else
   12396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12397 /* end confdefs.h.  */
   12398 int i;
   12399 _ACEOF
   12400 if ac_fn_c_try_compile "$LINENO"; then :
   12401   xorg_cv_cc_flag_unused_command_line_argument=yes
   12402 else
   12403   xorg_cv_cc_flag_unused_command_line_argument=no
   12404 fi
   12405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12406 fi
   12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12408 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12409 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12410 	CFLAGS="$xorg_testset_save_CFLAGS"
   12411 fi
   12412 
   12413 found="no"
   12414 
   12415 	if test $found = "no" ; then
   12416 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12418 		fi
   12419 
   12420 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12422 		fi
   12423 
   12424 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12425 
   12426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12427 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12428 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12429 		if eval \${$cacheid+:} false; then :
   12430   $as_echo_n "(cached) " >&6
   12431 else
   12432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12433 /* end confdefs.h.  */
   12434 int i;
   12435 int
   12436 main ()
   12437 {
   12438 
   12439   ;
   12440   return 0;
   12441 }
   12442 _ACEOF
   12443 if ac_fn_c_try_link "$LINENO"; then :
   12444   eval $cacheid=yes
   12445 else
   12446   eval $cacheid=no
   12447 fi
   12448 rm -f core conftest.err conftest.$ac_objext \
   12449     conftest$ac_exeext conftest.$ac_ext
   12450 fi
   12451 
   12452 
   12453 		CFLAGS="$xorg_testset_save_CFLAGS"
   12454 
   12455 		eval supported=\$$cacheid
   12456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12457 $as_echo "$supported" >&6; }
   12458 		if test "$supported" = "yes" ; then
   12459 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12460 			found="yes"
   12461 		fi
   12462 	fi
   12463 
   12464 
   12465 
   12466 
   12467 
   12468 
   12469 
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 xorg_testset_save_CFLAGS="$CFLAGS"
   12479 
   12480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12483 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12484 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12485   $as_echo_n "(cached) " >&6
   12486 else
   12487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12488 /* end confdefs.h.  */
   12489 int i;
   12490 _ACEOF
   12491 if ac_fn_c_try_compile "$LINENO"; then :
   12492   xorg_cv_cc_flag_unknown_warning_option=yes
   12493 else
   12494   xorg_cv_cc_flag_unknown_warning_option=no
   12495 fi
   12496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12497 fi
   12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12499 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12501 	CFLAGS="$xorg_testset_save_CFLAGS"
   12502 fi
   12503 
   12504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12507 	fi
   12508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12510 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12511 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12512   $as_echo_n "(cached) " >&6
   12513 else
   12514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12515 /* end confdefs.h.  */
   12516 int i;
   12517 _ACEOF
   12518 if ac_fn_c_try_compile "$LINENO"; then :
   12519   xorg_cv_cc_flag_unused_command_line_argument=yes
   12520 else
   12521   xorg_cv_cc_flag_unused_command_line_argument=no
   12522 fi
   12523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12524 fi
   12525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12526 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12528 	CFLAGS="$xorg_testset_save_CFLAGS"
   12529 fi
   12530 
   12531 found="no"
   12532 
   12533 	if test $found = "no" ; then
   12534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12536 		fi
   12537 
   12538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12540 		fi
   12541 
   12542 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12543 
   12544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12545 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12546 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   12547 		if eval \${$cacheid+:} false; then :
   12548   $as_echo_n "(cached) " >&6
   12549 else
   12550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12551 /* end confdefs.h.  */
   12552 int i;
   12553 int
   12554 main ()
   12555 {
   12556 
   12557   ;
   12558   return 0;
   12559 }
   12560 _ACEOF
   12561 if ac_fn_c_try_link "$LINENO"; then :
   12562   eval $cacheid=yes
   12563 else
   12564   eval $cacheid=no
   12565 fi
   12566 rm -f core conftest.err conftest.$ac_objext \
   12567     conftest$ac_exeext conftest.$ac_ext
   12568 fi
   12569 
   12570 
   12571 		CFLAGS="$xorg_testset_save_CFLAGS"
   12572 
   12573 		eval supported=\$$cacheid
   12574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12575 $as_echo "$supported" >&6; }
   12576 		if test "$supported" = "yes" ; then
   12577 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   12578 			found="yes"
   12579 		fi
   12580 	fi
   12581 
   12582 
   12583 
   12584 
   12585 
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 xorg_testset_save_CFLAGS="$CFLAGS"
   12597 
   12598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12601 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12602 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12603   $as_echo_n "(cached) " >&6
   12604 else
   12605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12606 /* end confdefs.h.  */
   12607 int i;
   12608 _ACEOF
   12609 if ac_fn_c_try_compile "$LINENO"; then :
   12610   xorg_cv_cc_flag_unknown_warning_option=yes
   12611 else
   12612   xorg_cv_cc_flag_unknown_warning_option=no
   12613 fi
   12614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12615 fi
   12616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12617 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12619 	CFLAGS="$xorg_testset_save_CFLAGS"
   12620 fi
   12621 
   12622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12625 	fi
   12626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12628 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12629 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12630   $as_echo_n "(cached) " >&6
   12631 else
   12632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12633 /* end confdefs.h.  */
   12634 int i;
   12635 _ACEOF
   12636 if ac_fn_c_try_compile "$LINENO"; then :
   12637   xorg_cv_cc_flag_unused_command_line_argument=yes
   12638 else
   12639   xorg_cv_cc_flag_unused_command_line_argument=no
   12640 fi
   12641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12642 fi
   12643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12644 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12646 	CFLAGS="$xorg_testset_save_CFLAGS"
   12647 fi
   12648 
   12649 found="no"
   12650 
   12651 	if test $found = "no" ; then
   12652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12654 		fi
   12655 
   12656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12658 		fi
   12659 
   12660 		CFLAGS="$CFLAGS -Wnested-externs"
   12661 
   12662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12663 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12664 		cacheid=xorg_cv_cc_flag__Wnested_externs
   12665 		if eval \${$cacheid+:} false; then :
   12666   $as_echo_n "(cached) " >&6
   12667 else
   12668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12669 /* end confdefs.h.  */
   12670 int i;
   12671 int
   12672 main ()
   12673 {
   12674 
   12675   ;
   12676   return 0;
   12677 }
   12678 _ACEOF
   12679 if ac_fn_c_try_link "$LINENO"; then :
   12680   eval $cacheid=yes
   12681 else
   12682   eval $cacheid=no
   12683 fi
   12684 rm -f core conftest.err conftest.$ac_objext \
   12685     conftest$ac_exeext conftest.$ac_ext
   12686 fi
   12687 
   12688 
   12689 		CFLAGS="$xorg_testset_save_CFLAGS"
   12690 
   12691 		eval supported=\$$cacheid
   12692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12693 $as_echo "$supported" >&6; }
   12694 		if test "$supported" = "yes" ; then
   12695 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   12696 			found="yes"
   12697 		fi
   12698 	fi
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 xorg_testset_save_CFLAGS="$CFLAGS"
   12715 
   12716 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12717 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12719 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12720 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12721   $as_echo_n "(cached) " >&6
   12722 else
   12723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12724 /* end confdefs.h.  */
   12725 int i;
   12726 _ACEOF
   12727 if ac_fn_c_try_compile "$LINENO"; then :
   12728   xorg_cv_cc_flag_unknown_warning_option=yes
   12729 else
   12730   xorg_cv_cc_flag_unknown_warning_option=no
   12731 fi
   12732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12733 fi
   12734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12735 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12736 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12737 	CFLAGS="$xorg_testset_save_CFLAGS"
   12738 fi
   12739 
   12740 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12741 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12742 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12743 	fi
   12744 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12746 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12747 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12748   $as_echo_n "(cached) " >&6
   12749 else
   12750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12751 /* end confdefs.h.  */
   12752 int i;
   12753 _ACEOF
   12754 if ac_fn_c_try_compile "$LINENO"; then :
   12755   xorg_cv_cc_flag_unused_command_line_argument=yes
   12756 else
   12757   xorg_cv_cc_flag_unused_command_line_argument=no
   12758 fi
   12759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12760 fi
   12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12762 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12763 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12764 	CFLAGS="$xorg_testset_save_CFLAGS"
   12765 fi
   12766 
   12767 found="no"
   12768 
   12769 	if test $found = "no" ; then
   12770 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12771 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12772 		fi
   12773 
   12774 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12775 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12776 		fi
   12777 
   12778 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12779 
   12780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12781 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12782 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   12783 		if eval \${$cacheid+:} false; then :
   12784   $as_echo_n "(cached) " >&6
   12785 else
   12786   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12787 /* end confdefs.h.  */
   12788 int i;
   12789 int
   12790 main ()
   12791 {
   12792 
   12793   ;
   12794   return 0;
   12795 }
   12796 _ACEOF
   12797 if ac_fn_c_try_link "$LINENO"; then :
   12798   eval $cacheid=yes
   12799 else
   12800   eval $cacheid=no
   12801 fi
   12802 rm -f core conftest.err conftest.$ac_objext \
   12803     conftest$ac_exeext conftest.$ac_ext
   12804 fi
   12805 
   12806 
   12807 		CFLAGS="$xorg_testset_save_CFLAGS"
   12808 
   12809 		eval supported=\$$cacheid
   12810 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12811 $as_echo "$supported" >&6; }
   12812 		if test "$supported" = "yes" ; then
   12813 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   12814 			found="yes"
   12815 		fi
   12816 	fi
   12817 
   12818 
   12819 
   12820 
   12821 
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 xorg_testset_save_CFLAGS="$CFLAGS"
   12833 
   12834 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12835 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12837 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12838 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12839   $as_echo_n "(cached) " >&6
   12840 else
   12841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12842 /* end confdefs.h.  */
   12843 int i;
   12844 _ACEOF
   12845 if ac_fn_c_try_compile "$LINENO"; then :
   12846   xorg_cv_cc_flag_unknown_warning_option=yes
   12847 else
   12848   xorg_cv_cc_flag_unknown_warning_option=no
   12849 fi
   12850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12851 fi
   12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12853 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12854 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12855 	CFLAGS="$xorg_testset_save_CFLAGS"
   12856 fi
   12857 
   12858 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12859 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12860 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12861 	fi
   12862 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12863 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12864 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12865 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12866   $as_echo_n "(cached) " >&6
   12867 else
   12868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12869 /* end confdefs.h.  */
   12870 int i;
   12871 _ACEOF
   12872 if ac_fn_c_try_compile "$LINENO"; then :
   12873   xorg_cv_cc_flag_unused_command_line_argument=yes
   12874 else
   12875   xorg_cv_cc_flag_unused_command_line_argument=no
   12876 fi
   12877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12878 fi
   12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12880 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12881 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12882 	CFLAGS="$xorg_testset_save_CFLAGS"
   12883 fi
   12884 
   12885 found="no"
   12886 
   12887 	if test $found = "no" ; then
   12888 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12889 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12890 		fi
   12891 
   12892 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12893 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12894 		fi
   12895 
   12896 		CFLAGS="$CFLAGS -Wold-style-definition"
   12897 
   12898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12899 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12900 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   12901 		if eval \${$cacheid+:} false; then :
   12902   $as_echo_n "(cached) " >&6
   12903 else
   12904   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12905 /* end confdefs.h.  */
   12906 int i;
   12907 int
   12908 main ()
   12909 {
   12910 
   12911   ;
   12912   return 0;
   12913 }
   12914 _ACEOF
   12915 if ac_fn_c_try_link "$LINENO"; then :
   12916   eval $cacheid=yes
   12917 else
   12918   eval $cacheid=no
   12919 fi
   12920 rm -f core conftest.err conftest.$ac_objext \
   12921     conftest$ac_exeext conftest.$ac_ext
   12922 fi
   12923 
   12924 
   12925 		CFLAGS="$xorg_testset_save_CFLAGS"
   12926 
   12927 		eval supported=\$$cacheid
   12928 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12929 $as_echo "$supported" >&6; }
   12930 		if test "$supported" = "yes" ; then
   12931 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   12932 			found="yes"
   12933 		fi
   12934 	fi
   12935 
   12936 	if test $found = "no" ; then
   12937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12939 		fi
   12940 
   12941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12943 		fi
   12944 
   12945 		CFLAGS="$CFLAGS -fd"
   12946 
   12947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   12948 $as_echo_n "checking if $CC supports -fd... " >&6; }
   12949 		cacheid=xorg_cv_cc_flag__fd
   12950 		if eval \${$cacheid+:} false; then :
   12951   $as_echo_n "(cached) " >&6
   12952 else
   12953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12954 /* end confdefs.h.  */
   12955 int i;
   12956 int
   12957 main ()
   12958 {
   12959 
   12960   ;
   12961   return 0;
   12962 }
   12963 _ACEOF
   12964 if ac_fn_c_try_link "$LINENO"; then :
   12965   eval $cacheid=yes
   12966 else
   12967   eval $cacheid=no
   12968 fi
   12969 rm -f core conftest.err conftest.$ac_objext \
   12970     conftest$ac_exeext conftest.$ac_ext
   12971 fi
   12972 
   12973 
   12974 		CFLAGS="$xorg_testset_save_CFLAGS"
   12975 
   12976 		eval supported=\$$cacheid
   12977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12978 $as_echo "$supported" >&6; }
   12979 		if test "$supported" = "yes" ; then
   12980 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   12981 			found="yes"
   12982 		fi
   12983 	fi
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 xorg_testset_save_CFLAGS="$CFLAGS"
   13000 
   13001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13004 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13005 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13006   $as_echo_n "(cached) " >&6
   13007 else
   13008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13009 /* end confdefs.h.  */
   13010 int i;
   13011 _ACEOF
   13012 if ac_fn_c_try_compile "$LINENO"; then :
   13013   xorg_cv_cc_flag_unknown_warning_option=yes
   13014 else
   13015   xorg_cv_cc_flag_unknown_warning_option=no
   13016 fi
   13017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13018 fi
   13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13020 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13022 	CFLAGS="$xorg_testset_save_CFLAGS"
   13023 fi
   13024 
   13025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13028 	fi
   13029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13031 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13032 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13033   $as_echo_n "(cached) " >&6
   13034 else
   13035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13036 /* end confdefs.h.  */
   13037 int i;
   13038 _ACEOF
   13039 if ac_fn_c_try_compile "$LINENO"; then :
   13040   xorg_cv_cc_flag_unused_command_line_argument=yes
   13041 else
   13042   xorg_cv_cc_flag_unused_command_line_argument=no
   13043 fi
   13044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13045 fi
   13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13047 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13049 	CFLAGS="$xorg_testset_save_CFLAGS"
   13050 fi
   13051 
   13052 found="no"
   13053 
   13054 	if test $found = "no" ; then
   13055 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13057 		fi
   13058 
   13059 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13061 		fi
   13062 
   13063 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13064 
   13065 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13066 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13067 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13068 		if eval \${$cacheid+:} false; then :
   13069   $as_echo_n "(cached) " >&6
   13070 else
   13071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13072 /* end confdefs.h.  */
   13073 int i;
   13074 int
   13075 main ()
   13076 {
   13077 
   13078   ;
   13079   return 0;
   13080 }
   13081 _ACEOF
   13082 if ac_fn_c_try_link "$LINENO"; then :
   13083   eval $cacheid=yes
   13084 else
   13085   eval $cacheid=no
   13086 fi
   13087 rm -f core conftest.err conftest.$ac_objext \
   13088     conftest$ac_exeext conftest.$ac_ext
   13089 fi
   13090 
   13091 
   13092 		CFLAGS="$xorg_testset_save_CFLAGS"
   13093 
   13094 		eval supported=\$$cacheid
   13095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13096 $as_echo "$supported" >&6; }
   13097 		if test "$supported" = "yes" ; then
   13098 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13099 			found="yes"
   13100 		fi
   13101 	fi
   13102 
   13103 
   13104 
   13105 
   13106 
   13107 # This chunk adds additional warnings that could catch undesired effects.
   13108 
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 
   13121 xorg_testset_save_CFLAGS="$CFLAGS"
   13122 
   13123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13126 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13127 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13128   $as_echo_n "(cached) " >&6
   13129 else
   13130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13131 /* end confdefs.h.  */
   13132 int i;
   13133 _ACEOF
   13134 if ac_fn_c_try_compile "$LINENO"; then :
   13135   xorg_cv_cc_flag_unknown_warning_option=yes
   13136 else
   13137   xorg_cv_cc_flag_unknown_warning_option=no
   13138 fi
   13139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13140 fi
   13141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13142 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13143 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13144 	CFLAGS="$xorg_testset_save_CFLAGS"
   13145 fi
   13146 
   13147 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13148 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13150 	fi
   13151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13153 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13154 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13155   $as_echo_n "(cached) " >&6
   13156 else
   13157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13158 /* end confdefs.h.  */
   13159 int i;
   13160 _ACEOF
   13161 if ac_fn_c_try_compile "$LINENO"; then :
   13162   xorg_cv_cc_flag_unused_command_line_argument=yes
   13163 else
   13164   xorg_cv_cc_flag_unused_command_line_argument=no
   13165 fi
   13166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13167 fi
   13168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13169 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13171 	CFLAGS="$xorg_testset_save_CFLAGS"
   13172 fi
   13173 
   13174 found="no"
   13175 
   13176 	if test $found = "no" ; then
   13177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13179 		fi
   13180 
   13181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13183 		fi
   13184 
   13185 		CFLAGS="$CFLAGS -Wunused"
   13186 
   13187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13188 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13189 		cacheid=xorg_cv_cc_flag__Wunused
   13190 		if eval \${$cacheid+:} false; then :
   13191   $as_echo_n "(cached) " >&6
   13192 else
   13193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13194 /* end confdefs.h.  */
   13195 int i;
   13196 int
   13197 main ()
   13198 {
   13199 
   13200   ;
   13201   return 0;
   13202 }
   13203 _ACEOF
   13204 if ac_fn_c_try_link "$LINENO"; then :
   13205   eval $cacheid=yes
   13206 else
   13207   eval $cacheid=no
   13208 fi
   13209 rm -f core conftest.err conftest.$ac_objext \
   13210     conftest$ac_exeext conftest.$ac_ext
   13211 fi
   13212 
   13213 
   13214 		CFLAGS="$xorg_testset_save_CFLAGS"
   13215 
   13216 		eval supported=\$$cacheid
   13217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13218 $as_echo "$supported" >&6; }
   13219 		if test "$supported" = "yes" ; then
   13220 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13221 			found="yes"
   13222 		fi
   13223 	fi
   13224 
   13225 
   13226 
   13227 
   13228 
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 xorg_testset_save_CFLAGS="$CFLAGS"
   13240 
   13241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13244 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13245 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13246   $as_echo_n "(cached) " >&6
   13247 else
   13248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13249 /* end confdefs.h.  */
   13250 int i;
   13251 _ACEOF
   13252 if ac_fn_c_try_compile "$LINENO"; then :
   13253   xorg_cv_cc_flag_unknown_warning_option=yes
   13254 else
   13255   xorg_cv_cc_flag_unknown_warning_option=no
   13256 fi
   13257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13258 fi
   13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13260 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13262 	CFLAGS="$xorg_testset_save_CFLAGS"
   13263 fi
   13264 
   13265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13268 	fi
   13269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13271 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13272 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13273   $as_echo_n "(cached) " >&6
   13274 else
   13275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13276 /* end confdefs.h.  */
   13277 int i;
   13278 _ACEOF
   13279 if ac_fn_c_try_compile "$LINENO"; then :
   13280   xorg_cv_cc_flag_unused_command_line_argument=yes
   13281 else
   13282   xorg_cv_cc_flag_unused_command_line_argument=no
   13283 fi
   13284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13285 fi
   13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13287 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13289 	CFLAGS="$xorg_testset_save_CFLAGS"
   13290 fi
   13291 
   13292 found="no"
   13293 
   13294 	if test $found = "no" ; then
   13295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13297 		fi
   13298 
   13299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13301 		fi
   13302 
   13303 		CFLAGS="$CFLAGS -Wuninitialized"
   13304 
   13305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13306 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13307 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13308 		if eval \${$cacheid+:} false; then :
   13309   $as_echo_n "(cached) " >&6
   13310 else
   13311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13312 /* end confdefs.h.  */
   13313 int i;
   13314 int
   13315 main ()
   13316 {
   13317 
   13318   ;
   13319   return 0;
   13320 }
   13321 _ACEOF
   13322 if ac_fn_c_try_link "$LINENO"; then :
   13323   eval $cacheid=yes
   13324 else
   13325   eval $cacheid=no
   13326 fi
   13327 rm -f core conftest.err conftest.$ac_objext \
   13328     conftest$ac_exeext conftest.$ac_ext
   13329 fi
   13330 
   13331 
   13332 		CFLAGS="$xorg_testset_save_CFLAGS"
   13333 
   13334 		eval supported=\$$cacheid
   13335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13336 $as_echo "$supported" >&6; }
   13337 		if test "$supported" = "yes" ; then
   13338 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13339 			found="yes"
   13340 		fi
   13341 	fi
   13342 
   13343 
   13344 
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 xorg_testset_save_CFLAGS="$CFLAGS"
   13358 
   13359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13362 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13363 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13364   $as_echo_n "(cached) " >&6
   13365 else
   13366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13367 /* end confdefs.h.  */
   13368 int i;
   13369 _ACEOF
   13370 if ac_fn_c_try_compile "$LINENO"; then :
   13371   xorg_cv_cc_flag_unknown_warning_option=yes
   13372 else
   13373   xorg_cv_cc_flag_unknown_warning_option=no
   13374 fi
   13375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13376 fi
   13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13378 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13380 	CFLAGS="$xorg_testset_save_CFLAGS"
   13381 fi
   13382 
   13383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13386 	fi
   13387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13389 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13390 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13391   $as_echo_n "(cached) " >&6
   13392 else
   13393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13394 /* end confdefs.h.  */
   13395 int i;
   13396 _ACEOF
   13397 if ac_fn_c_try_compile "$LINENO"; then :
   13398   xorg_cv_cc_flag_unused_command_line_argument=yes
   13399 else
   13400   xorg_cv_cc_flag_unused_command_line_argument=no
   13401 fi
   13402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13403 fi
   13404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13405 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13407 	CFLAGS="$xorg_testset_save_CFLAGS"
   13408 fi
   13409 
   13410 found="no"
   13411 
   13412 	if test $found = "no" ; then
   13413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13415 		fi
   13416 
   13417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13419 		fi
   13420 
   13421 		CFLAGS="$CFLAGS -Wshadow"
   13422 
   13423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13424 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13425 		cacheid=xorg_cv_cc_flag__Wshadow
   13426 		if eval \${$cacheid+:} false; then :
   13427   $as_echo_n "(cached) " >&6
   13428 else
   13429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13430 /* end confdefs.h.  */
   13431 int i;
   13432 int
   13433 main ()
   13434 {
   13435 
   13436   ;
   13437   return 0;
   13438 }
   13439 _ACEOF
   13440 if ac_fn_c_try_link "$LINENO"; then :
   13441   eval $cacheid=yes
   13442 else
   13443   eval $cacheid=no
   13444 fi
   13445 rm -f core conftest.err conftest.$ac_objext \
   13446     conftest$ac_exeext conftest.$ac_ext
   13447 fi
   13448 
   13449 
   13450 		CFLAGS="$xorg_testset_save_CFLAGS"
   13451 
   13452 		eval supported=\$$cacheid
   13453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13454 $as_echo "$supported" >&6; }
   13455 		if test "$supported" = "yes" ; then
   13456 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13457 			found="yes"
   13458 		fi
   13459 	fi
   13460 
   13461 
   13462 
   13463 
   13464 
   13465 
   13466 
   13467 
   13468 
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 xorg_testset_save_CFLAGS="$CFLAGS"
   13476 
   13477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13480 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13481 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13482   $as_echo_n "(cached) " >&6
   13483 else
   13484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13485 /* end confdefs.h.  */
   13486 int i;
   13487 _ACEOF
   13488 if ac_fn_c_try_compile "$LINENO"; then :
   13489   xorg_cv_cc_flag_unknown_warning_option=yes
   13490 else
   13491   xorg_cv_cc_flag_unknown_warning_option=no
   13492 fi
   13493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13494 fi
   13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13496 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13498 	CFLAGS="$xorg_testset_save_CFLAGS"
   13499 fi
   13500 
   13501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13504 	fi
   13505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13507 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13508 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13509   $as_echo_n "(cached) " >&6
   13510 else
   13511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13512 /* end confdefs.h.  */
   13513 int i;
   13514 _ACEOF
   13515 if ac_fn_c_try_compile "$LINENO"; then :
   13516   xorg_cv_cc_flag_unused_command_line_argument=yes
   13517 else
   13518   xorg_cv_cc_flag_unused_command_line_argument=no
   13519 fi
   13520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13521 fi
   13522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13523 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13525 	CFLAGS="$xorg_testset_save_CFLAGS"
   13526 fi
   13527 
   13528 found="no"
   13529 
   13530 	if test $found = "no" ; then
   13531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13533 		fi
   13534 
   13535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13537 		fi
   13538 
   13539 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13540 
   13541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13542 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13543 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13544 		if eval \${$cacheid+:} false; then :
   13545   $as_echo_n "(cached) " >&6
   13546 else
   13547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13548 /* end confdefs.h.  */
   13549 int i;
   13550 int
   13551 main ()
   13552 {
   13553 
   13554   ;
   13555   return 0;
   13556 }
   13557 _ACEOF
   13558 if ac_fn_c_try_link "$LINENO"; then :
   13559   eval $cacheid=yes
   13560 else
   13561   eval $cacheid=no
   13562 fi
   13563 rm -f core conftest.err conftest.$ac_objext \
   13564     conftest$ac_exeext conftest.$ac_ext
   13565 fi
   13566 
   13567 
   13568 		CFLAGS="$xorg_testset_save_CFLAGS"
   13569 
   13570 		eval supported=\$$cacheid
   13571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13572 $as_echo "$supported" >&6; }
   13573 		if test "$supported" = "yes" ; then
   13574 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13575 			found="yes"
   13576 		fi
   13577 	fi
   13578 
   13579 
   13580 
   13581 
   13582 
   13583 
   13584 
   13585 
   13586 
   13587 
   13588 
   13589 
   13590 
   13591 
   13592 
   13593 xorg_testset_save_CFLAGS="$CFLAGS"
   13594 
   13595 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13596 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13597 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13598 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13599 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13600   $as_echo_n "(cached) " >&6
   13601 else
   13602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13603 /* end confdefs.h.  */
   13604 int i;
   13605 _ACEOF
   13606 if ac_fn_c_try_compile "$LINENO"; then :
   13607   xorg_cv_cc_flag_unknown_warning_option=yes
   13608 else
   13609   xorg_cv_cc_flag_unknown_warning_option=no
   13610 fi
   13611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13612 fi
   13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13614 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13615 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13616 	CFLAGS="$xorg_testset_save_CFLAGS"
   13617 fi
   13618 
   13619 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13620 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13621 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13622 	fi
   13623 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13624 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13625 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13626 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13627   $as_echo_n "(cached) " >&6
   13628 else
   13629   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13630 /* end confdefs.h.  */
   13631 int i;
   13632 _ACEOF
   13633 if ac_fn_c_try_compile "$LINENO"; then :
   13634   xorg_cv_cc_flag_unused_command_line_argument=yes
   13635 else
   13636   xorg_cv_cc_flag_unused_command_line_argument=no
   13637 fi
   13638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13639 fi
   13640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13641 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13642 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13643 	CFLAGS="$xorg_testset_save_CFLAGS"
   13644 fi
   13645 
   13646 found="no"
   13647 
   13648 	if test $found = "no" ; then
   13649 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13650 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13651 		fi
   13652 
   13653 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13654 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13655 		fi
   13656 
   13657 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13658 
   13659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13660 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13661 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13662 		if eval \${$cacheid+:} false; then :
   13663   $as_echo_n "(cached) " >&6
   13664 else
   13665   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13666 /* end confdefs.h.  */
   13667 int i;
   13668 int
   13669 main ()
   13670 {
   13671 
   13672   ;
   13673   return 0;
   13674 }
   13675 _ACEOF
   13676 if ac_fn_c_try_link "$LINENO"; then :
   13677   eval $cacheid=yes
   13678 else
   13679   eval $cacheid=no
   13680 fi
   13681 rm -f core conftest.err conftest.$ac_objext \
   13682     conftest$ac_exeext conftest.$ac_ext
   13683 fi
   13684 
   13685 
   13686 		CFLAGS="$xorg_testset_save_CFLAGS"
   13687 
   13688 		eval supported=\$$cacheid
   13689 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13690 $as_echo "$supported" >&6; }
   13691 		if test "$supported" = "yes" ; then
   13692 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13693 			found="yes"
   13694 		fi
   13695 	fi
   13696 
   13697 
   13698 
   13699 
   13700 
   13701 
   13702 
   13703 
   13704 
   13705 
   13706 
   13707 
   13708 
   13709 
   13710 
   13711 xorg_testset_save_CFLAGS="$CFLAGS"
   13712 
   13713 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13714 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13716 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13717 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13718   $as_echo_n "(cached) " >&6
   13719 else
   13720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13721 /* end confdefs.h.  */
   13722 int i;
   13723 _ACEOF
   13724 if ac_fn_c_try_compile "$LINENO"; then :
   13725   xorg_cv_cc_flag_unknown_warning_option=yes
   13726 else
   13727   xorg_cv_cc_flag_unknown_warning_option=no
   13728 fi
   13729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13730 fi
   13731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13732 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13733 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13734 	CFLAGS="$xorg_testset_save_CFLAGS"
   13735 fi
   13736 
   13737 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13738 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13739 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13740 	fi
   13741 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13742 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13743 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13744 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13745   $as_echo_n "(cached) " >&6
   13746 else
   13747   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13748 /* end confdefs.h.  */
   13749 int i;
   13750 _ACEOF
   13751 if ac_fn_c_try_compile "$LINENO"; then :
   13752   xorg_cv_cc_flag_unused_command_line_argument=yes
   13753 else
   13754   xorg_cv_cc_flag_unused_command_line_argument=no
   13755 fi
   13756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13757 fi
   13758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13759 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13760 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13761 	CFLAGS="$xorg_testset_save_CFLAGS"
   13762 fi
   13763 
   13764 found="no"
   13765 
   13766 	if test $found = "no" ; then
   13767 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13768 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13769 		fi
   13770 
   13771 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13772 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13773 		fi
   13774 
   13775 		CFLAGS="$CFLAGS -Wredundant-decls"
   13776 
   13777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13778 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13779 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13780 		if eval \${$cacheid+:} false; then :
   13781   $as_echo_n "(cached) " >&6
   13782 else
   13783   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13784 /* end confdefs.h.  */
   13785 int i;
   13786 int
   13787 main ()
   13788 {
   13789 
   13790   ;
   13791   return 0;
   13792 }
   13793 _ACEOF
   13794 if ac_fn_c_try_link "$LINENO"; then :
   13795   eval $cacheid=yes
   13796 else
   13797   eval $cacheid=no
   13798 fi
   13799 rm -f core conftest.err conftest.$ac_objext \
   13800     conftest$ac_exeext conftest.$ac_ext
   13801 fi
   13802 
   13803 
   13804 		CFLAGS="$xorg_testset_save_CFLAGS"
   13805 
   13806 		eval supported=\$$cacheid
   13807 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13808 $as_echo "$supported" >&6; }
   13809 		if test "$supported" = "yes" ; then
   13810 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13811 			found="yes"
   13812 		fi
   13813 	fi
   13814 
   13815 
   13816 
   13817 
   13818 
   13819 
   13820 
   13821 
   13822 
   13823 
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 xorg_testset_save_CFLAGS="$CFLAGS"
   13830 
   13831 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13832 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13834 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13835 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13836   $as_echo_n "(cached) " >&6
   13837 else
   13838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13839 /* end confdefs.h.  */
   13840 int i;
   13841 _ACEOF
   13842 if ac_fn_c_try_compile "$LINENO"; then :
   13843   xorg_cv_cc_flag_unknown_warning_option=yes
   13844 else
   13845   xorg_cv_cc_flag_unknown_warning_option=no
   13846 fi
   13847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13848 fi
   13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13850 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13851 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13852 	CFLAGS="$xorg_testset_save_CFLAGS"
   13853 fi
   13854 
   13855 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13856 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13857 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13858 	fi
   13859 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13861 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13862 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13863   $as_echo_n "(cached) " >&6
   13864 else
   13865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13866 /* end confdefs.h.  */
   13867 int i;
   13868 _ACEOF
   13869 if ac_fn_c_try_compile "$LINENO"; then :
   13870   xorg_cv_cc_flag_unused_command_line_argument=yes
   13871 else
   13872   xorg_cv_cc_flag_unused_command_line_argument=no
   13873 fi
   13874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13875 fi
   13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13877 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13878 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13879 	CFLAGS="$xorg_testset_save_CFLAGS"
   13880 fi
   13881 
   13882 found="no"
   13883 
   13884 	if test $found = "no" ; then
   13885 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13886 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13887 		fi
   13888 
   13889 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13890 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13891 		fi
   13892 
   13893 		CFLAGS="$CFLAGS -Wlogical-op"
   13894 
   13895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   13896 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   13897 		cacheid=xorg_cv_cc_flag__Wlogical_op
   13898 		if eval \${$cacheid+:} false; then :
   13899   $as_echo_n "(cached) " >&6
   13900 else
   13901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13902 /* end confdefs.h.  */
   13903 int i;
   13904 int
   13905 main ()
   13906 {
   13907 
   13908   ;
   13909   return 0;
   13910 }
   13911 _ACEOF
   13912 if ac_fn_c_try_link "$LINENO"; then :
   13913   eval $cacheid=yes
   13914 else
   13915   eval $cacheid=no
   13916 fi
   13917 rm -f core conftest.err conftest.$ac_objext \
   13918     conftest$ac_exeext conftest.$ac_ext
   13919 fi
   13920 
   13921 
   13922 		CFLAGS="$xorg_testset_save_CFLAGS"
   13923 
   13924 		eval supported=\$$cacheid
   13925 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13926 $as_echo "$supported" >&6; }
   13927 		if test "$supported" = "yes" ; then
   13928 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   13929 			found="yes"
   13930 		fi
   13931 	fi
   13932 
   13933 
   13934 
   13935 # These are currently disabled because they are noisy.  They will be enabled
   13936 # in the future once the codebase is sufficiently modernized to silence
   13937 # them.  For now, I don't want them to drown out the other warnings.
   13938 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13939 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13940 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   13941 
   13942 # Turn some warnings into errors, so we don't accidently get successful builds
   13943 # when there are problems that should be fixed.
   13944 
   13945 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13946 
   13947 
   13948 
   13949 
   13950 
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 xorg_testset_save_CFLAGS="$CFLAGS"
   13960 
   13961 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13962 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13964 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13965 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13966   $as_echo_n "(cached) " >&6
   13967 else
   13968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13969 /* end confdefs.h.  */
   13970 int i;
   13971 _ACEOF
   13972 if ac_fn_c_try_compile "$LINENO"; then :
   13973   xorg_cv_cc_flag_unknown_warning_option=yes
   13974 else
   13975   xorg_cv_cc_flag_unknown_warning_option=no
   13976 fi
   13977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13978 fi
   13979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13980 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13981 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13982 	CFLAGS="$xorg_testset_save_CFLAGS"
   13983 fi
   13984 
   13985 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13986 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13987 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13988 	fi
   13989 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13991 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13992 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13993   $as_echo_n "(cached) " >&6
   13994 else
   13995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13996 /* end confdefs.h.  */
   13997 int i;
   13998 _ACEOF
   13999 if ac_fn_c_try_compile "$LINENO"; then :
   14000   xorg_cv_cc_flag_unused_command_line_argument=yes
   14001 else
   14002   xorg_cv_cc_flag_unused_command_line_argument=no
   14003 fi
   14004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14005 fi
   14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14007 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14008 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14009 	CFLAGS="$xorg_testset_save_CFLAGS"
   14010 fi
   14011 
   14012 found="no"
   14013 
   14014 	if test $found = "no" ; then
   14015 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14016 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14017 		fi
   14018 
   14019 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14020 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14021 		fi
   14022 
   14023 		CFLAGS="$CFLAGS -Werror=implicit"
   14024 
   14025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14026 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14027 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14028 		if eval \${$cacheid+:} false; then :
   14029   $as_echo_n "(cached) " >&6
   14030 else
   14031   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14032 /* end confdefs.h.  */
   14033 int i;
   14034 int
   14035 main ()
   14036 {
   14037 
   14038   ;
   14039   return 0;
   14040 }
   14041 _ACEOF
   14042 if ac_fn_c_try_link "$LINENO"; then :
   14043   eval $cacheid=yes
   14044 else
   14045   eval $cacheid=no
   14046 fi
   14047 rm -f core conftest.err conftest.$ac_objext \
   14048     conftest$ac_exeext conftest.$ac_ext
   14049 fi
   14050 
   14051 
   14052 		CFLAGS="$xorg_testset_save_CFLAGS"
   14053 
   14054 		eval supported=\$$cacheid
   14055 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14056 $as_echo "$supported" >&6; }
   14057 		if test "$supported" = "yes" ; then
   14058 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14059 			found="yes"
   14060 		fi
   14061 	fi
   14062 
   14063 	if test $found = "no" ; then
   14064 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14066 		fi
   14067 
   14068 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14070 		fi
   14071 
   14072 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14073 
   14074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14075 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14076 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14077 		if eval \${$cacheid+:} false; then :
   14078   $as_echo_n "(cached) " >&6
   14079 else
   14080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14081 /* end confdefs.h.  */
   14082 int i;
   14083 int
   14084 main ()
   14085 {
   14086 
   14087   ;
   14088   return 0;
   14089 }
   14090 _ACEOF
   14091 if ac_fn_c_try_link "$LINENO"; then :
   14092   eval $cacheid=yes
   14093 else
   14094   eval $cacheid=no
   14095 fi
   14096 rm -f core conftest.err conftest.$ac_objext \
   14097     conftest$ac_exeext conftest.$ac_ext
   14098 fi
   14099 
   14100 
   14101 		CFLAGS="$xorg_testset_save_CFLAGS"
   14102 
   14103 		eval supported=\$$cacheid
   14104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14105 $as_echo "$supported" >&6; }
   14106 		if test "$supported" = "yes" ; then
   14107 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14108 			found="yes"
   14109 		fi
   14110 	fi
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 xorg_testset_save_CFLAGS="$CFLAGS"
   14127 
   14128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14133   $as_echo_n "(cached) " >&6
   14134 else
   14135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14136 /* end confdefs.h.  */
   14137 int i;
   14138 _ACEOF
   14139 if ac_fn_c_try_compile "$LINENO"; then :
   14140   xorg_cv_cc_flag_unknown_warning_option=yes
   14141 else
   14142   xorg_cv_cc_flag_unknown_warning_option=no
   14143 fi
   14144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14145 fi
   14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14149 	CFLAGS="$xorg_testset_save_CFLAGS"
   14150 fi
   14151 
   14152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14155 	fi
   14156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14160   $as_echo_n "(cached) " >&6
   14161 else
   14162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14163 /* end confdefs.h.  */
   14164 int i;
   14165 _ACEOF
   14166 if ac_fn_c_try_compile "$LINENO"; then :
   14167   xorg_cv_cc_flag_unused_command_line_argument=yes
   14168 else
   14169   xorg_cv_cc_flag_unused_command_line_argument=no
   14170 fi
   14171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14172 fi
   14173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14176 	CFLAGS="$xorg_testset_save_CFLAGS"
   14177 fi
   14178 
   14179 found="no"
   14180 
   14181 	if test $found = "no" ; then
   14182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14184 		fi
   14185 
   14186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14188 		fi
   14189 
   14190 		CFLAGS="$CFLAGS -Werror=nonnull"
   14191 
   14192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14193 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14194 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14195 		if eval \${$cacheid+:} false; then :
   14196   $as_echo_n "(cached) " >&6
   14197 else
   14198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14199 /* end confdefs.h.  */
   14200 int i;
   14201 int
   14202 main ()
   14203 {
   14204 
   14205   ;
   14206   return 0;
   14207 }
   14208 _ACEOF
   14209 if ac_fn_c_try_link "$LINENO"; then :
   14210   eval $cacheid=yes
   14211 else
   14212   eval $cacheid=no
   14213 fi
   14214 rm -f core conftest.err conftest.$ac_objext \
   14215     conftest$ac_exeext conftest.$ac_ext
   14216 fi
   14217 
   14218 
   14219 		CFLAGS="$xorg_testset_save_CFLAGS"
   14220 
   14221 		eval supported=\$$cacheid
   14222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14223 $as_echo "$supported" >&6; }
   14224 		if test "$supported" = "yes" ; then
   14225 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14226 			found="yes"
   14227 		fi
   14228 	fi
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 
   14242 
   14243 
   14244 xorg_testset_save_CFLAGS="$CFLAGS"
   14245 
   14246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14251   $as_echo_n "(cached) " >&6
   14252 else
   14253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14254 /* end confdefs.h.  */
   14255 int i;
   14256 _ACEOF
   14257 if ac_fn_c_try_compile "$LINENO"; then :
   14258   xorg_cv_cc_flag_unknown_warning_option=yes
   14259 else
   14260   xorg_cv_cc_flag_unknown_warning_option=no
   14261 fi
   14262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14263 fi
   14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14267 	CFLAGS="$xorg_testset_save_CFLAGS"
   14268 fi
   14269 
   14270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14273 	fi
   14274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14278   $as_echo_n "(cached) " >&6
   14279 else
   14280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14281 /* end confdefs.h.  */
   14282 int i;
   14283 _ACEOF
   14284 if ac_fn_c_try_compile "$LINENO"; then :
   14285   xorg_cv_cc_flag_unused_command_line_argument=yes
   14286 else
   14287   xorg_cv_cc_flag_unused_command_line_argument=no
   14288 fi
   14289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14290 fi
   14291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14294 	CFLAGS="$xorg_testset_save_CFLAGS"
   14295 fi
   14296 
   14297 found="no"
   14298 
   14299 	if test $found = "no" ; then
   14300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14302 		fi
   14303 
   14304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14306 		fi
   14307 
   14308 		CFLAGS="$CFLAGS -Werror=init-self"
   14309 
   14310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14311 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14312 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14313 		if eval \${$cacheid+:} false; then :
   14314   $as_echo_n "(cached) " >&6
   14315 else
   14316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14317 /* end confdefs.h.  */
   14318 int i;
   14319 int
   14320 main ()
   14321 {
   14322 
   14323   ;
   14324   return 0;
   14325 }
   14326 _ACEOF
   14327 if ac_fn_c_try_link "$LINENO"; then :
   14328   eval $cacheid=yes
   14329 else
   14330   eval $cacheid=no
   14331 fi
   14332 rm -f core conftest.err conftest.$ac_objext \
   14333     conftest$ac_exeext conftest.$ac_ext
   14334 fi
   14335 
   14336 
   14337 		CFLAGS="$xorg_testset_save_CFLAGS"
   14338 
   14339 		eval supported=\$$cacheid
   14340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14341 $as_echo "$supported" >&6; }
   14342 		if test "$supported" = "yes" ; then
   14343 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14344 			found="yes"
   14345 		fi
   14346 	fi
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 
   14360 
   14361 
   14362 xorg_testset_save_CFLAGS="$CFLAGS"
   14363 
   14364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14367 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14368 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14369   $as_echo_n "(cached) " >&6
   14370 else
   14371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14372 /* end confdefs.h.  */
   14373 int i;
   14374 _ACEOF
   14375 if ac_fn_c_try_compile "$LINENO"; then :
   14376   xorg_cv_cc_flag_unknown_warning_option=yes
   14377 else
   14378   xorg_cv_cc_flag_unknown_warning_option=no
   14379 fi
   14380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14381 fi
   14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14383 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14385 	CFLAGS="$xorg_testset_save_CFLAGS"
   14386 fi
   14387 
   14388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14391 	fi
   14392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14394 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14395 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14396   $as_echo_n "(cached) " >&6
   14397 else
   14398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14399 /* end confdefs.h.  */
   14400 int i;
   14401 _ACEOF
   14402 if ac_fn_c_try_compile "$LINENO"; then :
   14403   xorg_cv_cc_flag_unused_command_line_argument=yes
   14404 else
   14405   xorg_cv_cc_flag_unused_command_line_argument=no
   14406 fi
   14407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14408 fi
   14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14410 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14412 	CFLAGS="$xorg_testset_save_CFLAGS"
   14413 fi
   14414 
   14415 found="no"
   14416 
   14417 	if test $found = "no" ; then
   14418 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14420 		fi
   14421 
   14422 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14424 		fi
   14425 
   14426 		CFLAGS="$CFLAGS -Werror=main"
   14427 
   14428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14429 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14430 		cacheid=xorg_cv_cc_flag__Werror_main
   14431 		if eval \${$cacheid+:} false; then :
   14432   $as_echo_n "(cached) " >&6
   14433 else
   14434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14435 /* end confdefs.h.  */
   14436 int i;
   14437 int
   14438 main ()
   14439 {
   14440 
   14441   ;
   14442   return 0;
   14443 }
   14444 _ACEOF
   14445 if ac_fn_c_try_link "$LINENO"; then :
   14446   eval $cacheid=yes
   14447 else
   14448   eval $cacheid=no
   14449 fi
   14450 rm -f core conftest.err conftest.$ac_objext \
   14451     conftest$ac_exeext conftest.$ac_ext
   14452 fi
   14453 
   14454 
   14455 		CFLAGS="$xorg_testset_save_CFLAGS"
   14456 
   14457 		eval supported=\$$cacheid
   14458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14459 $as_echo "$supported" >&6; }
   14460 		if test "$supported" = "yes" ; then
   14461 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14462 			found="yes"
   14463 		fi
   14464 	fi
   14465 
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 
   14478 
   14479 
   14480 xorg_testset_save_CFLAGS="$CFLAGS"
   14481 
   14482 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14483 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14484 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14485 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14486 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14487   $as_echo_n "(cached) " >&6
   14488 else
   14489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14490 /* end confdefs.h.  */
   14491 int i;
   14492 _ACEOF
   14493 if ac_fn_c_try_compile "$LINENO"; then :
   14494   xorg_cv_cc_flag_unknown_warning_option=yes
   14495 else
   14496   xorg_cv_cc_flag_unknown_warning_option=no
   14497 fi
   14498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14499 fi
   14500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14501 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14503 	CFLAGS="$xorg_testset_save_CFLAGS"
   14504 fi
   14505 
   14506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14509 	fi
   14510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14512 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14513 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14514   $as_echo_n "(cached) " >&6
   14515 else
   14516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14517 /* end confdefs.h.  */
   14518 int i;
   14519 _ACEOF
   14520 if ac_fn_c_try_compile "$LINENO"; then :
   14521   xorg_cv_cc_flag_unused_command_line_argument=yes
   14522 else
   14523   xorg_cv_cc_flag_unused_command_line_argument=no
   14524 fi
   14525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14526 fi
   14527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14528 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14530 	CFLAGS="$xorg_testset_save_CFLAGS"
   14531 fi
   14532 
   14533 found="no"
   14534 
   14535 	if test $found = "no" ; then
   14536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14538 		fi
   14539 
   14540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14542 		fi
   14543 
   14544 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14545 
   14546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14547 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14548 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14549 		if eval \${$cacheid+:} false; then :
   14550   $as_echo_n "(cached) " >&6
   14551 else
   14552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14553 /* end confdefs.h.  */
   14554 int i;
   14555 int
   14556 main ()
   14557 {
   14558 
   14559   ;
   14560   return 0;
   14561 }
   14562 _ACEOF
   14563 if ac_fn_c_try_link "$LINENO"; then :
   14564   eval $cacheid=yes
   14565 else
   14566   eval $cacheid=no
   14567 fi
   14568 rm -f core conftest.err conftest.$ac_objext \
   14569     conftest$ac_exeext conftest.$ac_ext
   14570 fi
   14571 
   14572 
   14573 		CFLAGS="$xorg_testset_save_CFLAGS"
   14574 
   14575 		eval supported=\$$cacheid
   14576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14577 $as_echo "$supported" >&6; }
   14578 		if test "$supported" = "yes" ; then
   14579 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14580 			found="yes"
   14581 		fi
   14582 	fi
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 xorg_testset_save_CFLAGS="$CFLAGS"
   14599 
   14600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14603 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14604 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14605   $as_echo_n "(cached) " >&6
   14606 else
   14607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14608 /* end confdefs.h.  */
   14609 int i;
   14610 _ACEOF
   14611 if ac_fn_c_try_compile "$LINENO"; then :
   14612   xorg_cv_cc_flag_unknown_warning_option=yes
   14613 else
   14614   xorg_cv_cc_flag_unknown_warning_option=no
   14615 fi
   14616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14617 fi
   14618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14619 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14620 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14621 	CFLAGS="$xorg_testset_save_CFLAGS"
   14622 fi
   14623 
   14624 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14625 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14626 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14627 	fi
   14628 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14630 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14631 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14632   $as_echo_n "(cached) " >&6
   14633 else
   14634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14635 /* end confdefs.h.  */
   14636 int i;
   14637 _ACEOF
   14638 if ac_fn_c_try_compile "$LINENO"; then :
   14639   xorg_cv_cc_flag_unused_command_line_argument=yes
   14640 else
   14641   xorg_cv_cc_flag_unused_command_line_argument=no
   14642 fi
   14643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14644 fi
   14645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14646 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14648 	CFLAGS="$xorg_testset_save_CFLAGS"
   14649 fi
   14650 
   14651 found="no"
   14652 
   14653 	if test $found = "no" ; then
   14654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14656 		fi
   14657 
   14658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14660 		fi
   14661 
   14662 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14663 
   14664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14665 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14666 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14667 		if eval \${$cacheid+:} false; then :
   14668   $as_echo_n "(cached) " >&6
   14669 else
   14670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14671 /* end confdefs.h.  */
   14672 int i;
   14673 int
   14674 main ()
   14675 {
   14676 
   14677   ;
   14678   return 0;
   14679 }
   14680 _ACEOF
   14681 if ac_fn_c_try_link "$LINENO"; then :
   14682   eval $cacheid=yes
   14683 else
   14684   eval $cacheid=no
   14685 fi
   14686 rm -f core conftest.err conftest.$ac_objext \
   14687     conftest$ac_exeext conftest.$ac_ext
   14688 fi
   14689 
   14690 
   14691 		CFLAGS="$xorg_testset_save_CFLAGS"
   14692 
   14693 		eval supported=\$$cacheid
   14694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14695 $as_echo "$supported" >&6; }
   14696 		if test "$supported" = "yes" ; then
   14697 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14698 			found="yes"
   14699 		fi
   14700 	fi
   14701 
   14702 
   14703 
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710 
   14711 
   14712 
   14713 
   14714 
   14715 
   14716 xorg_testset_save_CFLAGS="$CFLAGS"
   14717 
   14718 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14719 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14720 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14721 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14722 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14723   $as_echo_n "(cached) " >&6
   14724 else
   14725   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14726 /* end confdefs.h.  */
   14727 int i;
   14728 _ACEOF
   14729 if ac_fn_c_try_compile "$LINENO"; then :
   14730   xorg_cv_cc_flag_unknown_warning_option=yes
   14731 else
   14732   xorg_cv_cc_flag_unknown_warning_option=no
   14733 fi
   14734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14735 fi
   14736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14737 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14738 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14739 	CFLAGS="$xorg_testset_save_CFLAGS"
   14740 fi
   14741 
   14742 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14743 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14744 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14745 	fi
   14746 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14748 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14749 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14750   $as_echo_n "(cached) " >&6
   14751 else
   14752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14753 /* end confdefs.h.  */
   14754 int i;
   14755 _ACEOF
   14756 if ac_fn_c_try_compile "$LINENO"; then :
   14757   xorg_cv_cc_flag_unused_command_line_argument=yes
   14758 else
   14759   xorg_cv_cc_flag_unused_command_line_argument=no
   14760 fi
   14761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14762 fi
   14763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14764 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14765 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14766 	CFLAGS="$xorg_testset_save_CFLAGS"
   14767 fi
   14768 
   14769 found="no"
   14770 
   14771 	if test $found = "no" ; then
   14772 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14773 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14774 		fi
   14775 
   14776 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14777 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14778 		fi
   14779 
   14780 		CFLAGS="$CFLAGS -Werror=return-type"
   14781 
   14782 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14783 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14784 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14785 		if eval \${$cacheid+:} false; then :
   14786   $as_echo_n "(cached) " >&6
   14787 else
   14788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14789 /* end confdefs.h.  */
   14790 int i;
   14791 int
   14792 main ()
   14793 {
   14794 
   14795   ;
   14796   return 0;
   14797 }
   14798 _ACEOF
   14799 if ac_fn_c_try_link "$LINENO"; then :
   14800   eval $cacheid=yes
   14801 else
   14802   eval $cacheid=no
   14803 fi
   14804 rm -f core conftest.err conftest.$ac_objext \
   14805     conftest$ac_exeext conftest.$ac_ext
   14806 fi
   14807 
   14808 
   14809 		CFLAGS="$xorg_testset_save_CFLAGS"
   14810 
   14811 		eval supported=\$$cacheid
   14812 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14813 $as_echo "$supported" >&6; }
   14814 		if test "$supported" = "yes" ; then
   14815 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14816 			found="yes"
   14817 		fi
   14818 	fi
   14819 
   14820 	if test $found = "no" ; then
   14821 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14823 		fi
   14824 
   14825 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14827 		fi
   14828 
   14829 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14830 
   14831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14832 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14833 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14834 		if eval \${$cacheid+:} false; then :
   14835   $as_echo_n "(cached) " >&6
   14836 else
   14837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14838 /* end confdefs.h.  */
   14839 int i;
   14840 int
   14841 main ()
   14842 {
   14843 
   14844   ;
   14845   return 0;
   14846 }
   14847 _ACEOF
   14848 if ac_fn_c_try_link "$LINENO"; then :
   14849   eval $cacheid=yes
   14850 else
   14851   eval $cacheid=no
   14852 fi
   14853 rm -f core conftest.err conftest.$ac_objext \
   14854     conftest$ac_exeext conftest.$ac_ext
   14855 fi
   14856 
   14857 
   14858 		CFLAGS="$xorg_testset_save_CFLAGS"
   14859 
   14860 		eval supported=\$$cacheid
   14861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14862 $as_echo "$supported" >&6; }
   14863 		if test "$supported" = "yes" ; then
   14864 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14865 			found="yes"
   14866 		fi
   14867 	fi
   14868 
   14869 
   14870 
   14871 
   14872 
   14873 
   14874 
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 xorg_testset_save_CFLAGS="$CFLAGS"
   14884 
   14885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14888 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14889 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14890   $as_echo_n "(cached) " >&6
   14891 else
   14892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14893 /* end confdefs.h.  */
   14894 int i;
   14895 _ACEOF
   14896 if ac_fn_c_try_compile "$LINENO"; then :
   14897   xorg_cv_cc_flag_unknown_warning_option=yes
   14898 else
   14899   xorg_cv_cc_flag_unknown_warning_option=no
   14900 fi
   14901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14902 fi
   14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14904 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14906 	CFLAGS="$xorg_testset_save_CFLAGS"
   14907 fi
   14908 
   14909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14912 	fi
   14913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14915 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14916 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14917   $as_echo_n "(cached) " >&6
   14918 else
   14919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14920 /* end confdefs.h.  */
   14921 int i;
   14922 _ACEOF
   14923 if ac_fn_c_try_compile "$LINENO"; then :
   14924   xorg_cv_cc_flag_unused_command_line_argument=yes
   14925 else
   14926   xorg_cv_cc_flag_unused_command_line_argument=no
   14927 fi
   14928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14929 fi
   14930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14931 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14932 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14933 	CFLAGS="$xorg_testset_save_CFLAGS"
   14934 fi
   14935 
   14936 found="no"
   14937 
   14938 	if test $found = "no" ; then
   14939 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14941 		fi
   14942 
   14943 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14945 		fi
   14946 
   14947 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14948 
   14949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14950 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14951 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   14952 		if eval \${$cacheid+:} false; then :
   14953   $as_echo_n "(cached) " >&6
   14954 else
   14955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14956 /* end confdefs.h.  */
   14957 int i;
   14958 int
   14959 main ()
   14960 {
   14961 
   14962   ;
   14963   return 0;
   14964 }
   14965 _ACEOF
   14966 if ac_fn_c_try_link "$LINENO"; then :
   14967   eval $cacheid=yes
   14968 else
   14969   eval $cacheid=no
   14970 fi
   14971 rm -f core conftest.err conftest.$ac_objext \
   14972     conftest$ac_exeext conftest.$ac_ext
   14973 fi
   14974 
   14975 
   14976 		CFLAGS="$xorg_testset_save_CFLAGS"
   14977 
   14978 		eval supported=\$$cacheid
   14979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14980 $as_echo "$supported" >&6; }
   14981 		if test "$supported" = "yes" ; then
   14982 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14983 			found="yes"
   14984 		fi
   14985 	fi
   14986 
   14987 
   14988 
   14989 
   14990 
   14991 
   14992 
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 xorg_testset_save_CFLAGS="$CFLAGS"
   15002 
   15003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15006 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15007 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15008   $as_echo_n "(cached) " >&6
   15009 else
   15010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15011 /* end confdefs.h.  */
   15012 int i;
   15013 _ACEOF
   15014 if ac_fn_c_try_compile "$LINENO"; then :
   15015   xorg_cv_cc_flag_unknown_warning_option=yes
   15016 else
   15017   xorg_cv_cc_flag_unknown_warning_option=no
   15018 fi
   15019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15020 fi
   15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15022 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15023 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15024 	CFLAGS="$xorg_testset_save_CFLAGS"
   15025 fi
   15026 
   15027 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15028 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15029 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15030 	fi
   15031 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15033 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15034 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15035   $as_echo_n "(cached) " >&6
   15036 else
   15037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15038 /* end confdefs.h.  */
   15039 int i;
   15040 _ACEOF
   15041 if ac_fn_c_try_compile "$LINENO"; then :
   15042   xorg_cv_cc_flag_unused_command_line_argument=yes
   15043 else
   15044   xorg_cv_cc_flag_unused_command_line_argument=no
   15045 fi
   15046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15047 fi
   15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15049 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15051 	CFLAGS="$xorg_testset_save_CFLAGS"
   15052 fi
   15053 
   15054 found="no"
   15055 
   15056 	if test $found = "no" ; then
   15057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15059 		fi
   15060 
   15061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15063 		fi
   15064 
   15065 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15066 
   15067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15068 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15069 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15070 		if eval \${$cacheid+:} false; then :
   15071   $as_echo_n "(cached) " >&6
   15072 else
   15073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15074 /* end confdefs.h.  */
   15075 int i;
   15076 int
   15077 main ()
   15078 {
   15079 
   15080   ;
   15081   return 0;
   15082 }
   15083 _ACEOF
   15084 if ac_fn_c_try_link "$LINENO"; then :
   15085   eval $cacheid=yes
   15086 else
   15087   eval $cacheid=no
   15088 fi
   15089 rm -f core conftest.err conftest.$ac_objext \
   15090     conftest$ac_exeext conftest.$ac_ext
   15091 fi
   15092 
   15093 
   15094 		CFLAGS="$xorg_testset_save_CFLAGS"
   15095 
   15096 		eval supported=\$$cacheid
   15097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15098 $as_echo "$supported" >&6; }
   15099 		if test "$supported" = "yes" ; then
   15100 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15101 			found="yes"
   15102 		fi
   15103 	fi
   15104 
   15105 
   15106 
   15107 
   15108 
   15109 
   15110 
   15111 
   15112 
   15113 
   15114 
   15115 
   15116 
   15117 
   15118 
   15119 xorg_testset_save_CFLAGS="$CFLAGS"
   15120 
   15121 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15122 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15123 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15124 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15125 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15126   $as_echo_n "(cached) " >&6
   15127 else
   15128   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15129 /* end confdefs.h.  */
   15130 int i;
   15131 _ACEOF
   15132 if ac_fn_c_try_compile "$LINENO"; then :
   15133   xorg_cv_cc_flag_unknown_warning_option=yes
   15134 else
   15135   xorg_cv_cc_flag_unknown_warning_option=no
   15136 fi
   15137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15138 fi
   15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15140 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15141 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15142 	CFLAGS="$xorg_testset_save_CFLAGS"
   15143 fi
   15144 
   15145 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15146 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15147 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15148 	fi
   15149 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15150 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15151 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15152 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15153   $as_echo_n "(cached) " >&6
   15154 else
   15155   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15156 /* end confdefs.h.  */
   15157 int i;
   15158 _ACEOF
   15159 if ac_fn_c_try_compile "$LINENO"; then :
   15160   xorg_cv_cc_flag_unused_command_line_argument=yes
   15161 else
   15162   xorg_cv_cc_flag_unused_command_line_argument=no
   15163 fi
   15164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15165 fi
   15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15167 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15168 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15169 	CFLAGS="$xorg_testset_save_CFLAGS"
   15170 fi
   15171 
   15172 found="no"
   15173 
   15174 	if test $found = "no" ; then
   15175 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15176 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15177 		fi
   15178 
   15179 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15180 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15181 		fi
   15182 
   15183 		CFLAGS="$CFLAGS -Werror=write-strings"
   15184 
   15185 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15186 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15187 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15188 		if eval \${$cacheid+:} false; then :
   15189   $as_echo_n "(cached) " >&6
   15190 else
   15191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15192 /* end confdefs.h.  */
   15193 int i;
   15194 int
   15195 main ()
   15196 {
   15197 
   15198   ;
   15199   return 0;
   15200 }
   15201 _ACEOF
   15202 if ac_fn_c_try_link "$LINENO"; then :
   15203   eval $cacheid=yes
   15204 else
   15205   eval $cacheid=no
   15206 fi
   15207 rm -f core conftest.err conftest.$ac_objext \
   15208     conftest$ac_exeext conftest.$ac_ext
   15209 fi
   15210 
   15211 
   15212 		CFLAGS="$xorg_testset_save_CFLAGS"
   15213 
   15214 		eval supported=\$$cacheid
   15215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15216 $as_echo "$supported" >&6; }
   15217 		if test "$supported" = "yes" ; then
   15218 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15219 			found="yes"
   15220 		fi
   15221 	fi
   15222 
   15223 
   15224 
   15225 
   15226 
   15227 
   15228 
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 xorg_testset_save_CFLAGS="$CFLAGS"
   15238 
   15239 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15240 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15242 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15243 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15244   $as_echo_n "(cached) " >&6
   15245 else
   15246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15247 /* end confdefs.h.  */
   15248 int i;
   15249 _ACEOF
   15250 if ac_fn_c_try_compile "$LINENO"; then :
   15251   xorg_cv_cc_flag_unknown_warning_option=yes
   15252 else
   15253   xorg_cv_cc_flag_unknown_warning_option=no
   15254 fi
   15255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15256 fi
   15257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15258 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15259 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15260 	CFLAGS="$xorg_testset_save_CFLAGS"
   15261 fi
   15262 
   15263 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15264 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15265 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15266 	fi
   15267 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15269 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15270 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15271   $as_echo_n "(cached) " >&6
   15272 else
   15273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15274 /* end confdefs.h.  */
   15275 int i;
   15276 _ACEOF
   15277 if ac_fn_c_try_compile "$LINENO"; then :
   15278   xorg_cv_cc_flag_unused_command_line_argument=yes
   15279 else
   15280   xorg_cv_cc_flag_unused_command_line_argument=no
   15281 fi
   15282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15283 fi
   15284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15285 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15286 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15287 	CFLAGS="$xorg_testset_save_CFLAGS"
   15288 fi
   15289 
   15290 found="no"
   15291 
   15292 	if test $found = "no" ; then
   15293 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15294 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15295 		fi
   15296 
   15297 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15298 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15299 		fi
   15300 
   15301 		CFLAGS="$CFLAGS -Werror=address"
   15302 
   15303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15304 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15305 		cacheid=xorg_cv_cc_flag__Werror_address
   15306 		if eval \${$cacheid+:} false; then :
   15307   $as_echo_n "(cached) " >&6
   15308 else
   15309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15310 /* end confdefs.h.  */
   15311 int i;
   15312 int
   15313 main ()
   15314 {
   15315 
   15316   ;
   15317   return 0;
   15318 }
   15319 _ACEOF
   15320 if ac_fn_c_try_link "$LINENO"; then :
   15321   eval $cacheid=yes
   15322 else
   15323   eval $cacheid=no
   15324 fi
   15325 rm -f core conftest.err conftest.$ac_objext \
   15326     conftest$ac_exeext conftest.$ac_ext
   15327 fi
   15328 
   15329 
   15330 		CFLAGS="$xorg_testset_save_CFLAGS"
   15331 
   15332 		eval supported=\$$cacheid
   15333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15334 $as_echo "$supported" >&6; }
   15335 		if test "$supported" = "yes" ; then
   15336 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15337 			found="yes"
   15338 		fi
   15339 	fi
   15340 
   15341 
   15342 
   15343 
   15344 
   15345 
   15346 
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 xorg_testset_save_CFLAGS="$CFLAGS"
   15356 
   15357 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15358 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15360 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15361 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15362   $as_echo_n "(cached) " >&6
   15363 else
   15364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15365 /* end confdefs.h.  */
   15366 int i;
   15367 _ACEOF
   15368 if ac_fn_c_try_compile "$LINENO"; then :
   15369   xorg_cv_cc_flag_unknown_warning_option=yes
   15370 else
   15371   xorg_cv_cc_flag_unknown_warning_option=no
   15372 fi
   15373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15374 fi
   15375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15376 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15377 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15378 	CFLAGS="$xorg_testset_save_CFLAGS"
   15379 fi
   15380 
   15381 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15382 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15383 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15384 	fi
   15385 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15386 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15387 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15388 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15389   $as_echo_n "(cached) " >&6
   15390 else
   15391   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15392 /* end confdefs.h.  */
   15393 int i;
   15394 _ACEOF
   15395 if ac_fn_c_try_compile "$LINENO"; then :
   15396   xorg_cv_cc_flag_unused_command_line_argument=yes
   15397 else
   15398   xorg_cv_cc_flag_unused_command_line_argument=no
   15399 fi
   15400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15401 fi
   15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15403 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15404 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15405 	CFLAGS="$xorg_testset_save_CFLAGS"
   15406 fi
   15407 
   15408 found="no"
   15409 
   15410 	if test $found = "no" ; then
   15411 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15412 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15413 		fi
   15414 
   15415 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15416 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15417 		fi
   15418 
   15419 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15420 
   15421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15422 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15423 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15424 		if eval \${$cacheid+:} false; then :
   15425   $as_echo_n "(cached) " >&6
   15426 else
   15427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15428 /* end confdefs.h.  */
   15429 int i;
   15430 int
   15431 main ()
   15432 {
   15433 
   15434   ;
   15435   return 0;
   15436 }
   15437 _ACEOF
   15438 if ac_fn_c_try_link "$LINENO"; then :
   15439   eval $cacheid=yes
   15440 else
   15441   eval $cacheid=no
   15442 fi
   15443 rm -f core conftest.err conftest.$ac_objext \
   15444     conftest$ac_exeext conftest.$ac_ext
   15445 fi
   15446 
   15447 
   15448 		CFLAGS="$xorg_testset_save_CFLAGS"
   15449 
   15450 		eval supported=\$$cacheid
   15451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15452 $as_echo "$supported" >&6; }
   15453 		if test "$supported" = "yes" ; then
   15454 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15455 			found="yes"
   15456 		fi
   15457 	fi
   15458 
   15459 	if test $found = "no" ; then
   15460 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15461 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15462 		fi
   15463 
   15464 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15465 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15466 		fi
   15467 
   15468 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15469 
   15470 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15471 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15472 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15473 		if eval \${$cacheid+:} false; then :
   15474   $as_echo_n "(cached) " >&6
   15475 else
   15476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15477 /* end confdefs.h.  */
   15478 int i;
   15479 int
   15480 main ()
   15481 {
   15482 
   15483   ;
   15484   return 0;
   15485 }
   15486 _ACEOF
   15487 if ac_fn_c_try_link "$LINENO"; then :
   15488   eval $cacheid=yes
   15489 else
   15490   eval $cacheid=no
   15491 fi
   15492 rm -f core conftest.err conftest.$ac_objext \
   15493     conftest$ac_exeext conftest.$ac_ext
   15494 fi
   15495 
   15496 
   15497 		CFLAGS="$xorg_testset_save_CFLAGS"
   15498 
   15499 		eval supported=\$$cacheid
   15500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15501 $as_echo "$supported" >&6; }
   15502 		if test "$supported" = "yes" ; then
   15503 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15504 			found="yes"
   15505 		fi
   15506 	fi
   15507 
   15508 
   15509 
   15510 
   15511 
   15512 
   15513 
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520 
   15521 
   15522 xorg_testset_save_CFLAGS="$CFLAGS"
   15523 
   15524 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15525 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15526 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15527 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15528 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15529   $as_echo_n "(cached) " >&6
   15530 else
   15531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15532 /* end confdefs.h.  */
   15533 int i;
   15534 _ACEOF
   15535 if ac_fn_c_try_compile "$LINENO"; then :
   15536   xorg_cv_cc_flag_unknown_warning_option=yes
   15537 else
   15538   xorg_cv_cc_flag_unknown_warning_option=no
   15539 fi
   15540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15541 fi
   15542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15543 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15544 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15545 	CFLAGS="$xorg_testset_save_CFLAGS"
   15546 fi
   15547 
   15548 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15549 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15550 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15551 	fi
   15552 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15554 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15555 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15556   $as_echo_n "(cached) " >&6
   15557 else
   15558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15559 /* end confdefs.h.  */
   15560 int i;
   15561 _ACEOF
   15562 if ac_fn_c_try_compile "$LINENO"; then :
   15563   xorg_cv_cc_flag_unused_command_line_argument=yes
   15564 else
   15565   xorg_cv_cc_flag_unused_command_line_argument=no
   15566 fi
   15567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15568 fi
   15569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15570 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15571 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15572 	CFLAGS="$xorg_testset_save_CFLAGS"
   15573 fi
   15574 
   15575 found="no"
   15576 
   15577 	if test $found = "no" ; then
   15578 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15579 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15580 		fi
   15581 
   15582 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15583 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15584 		fi
   15585 
   15586 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15587 
   15588 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15589 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15590 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15591 		if eval \${$cacheid+:} false; then :
   15592   $as_echo_n "(cached) " >&6
   15593 else
   15594   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15595 /* end confdefs.h.  */
   15596 int i;
   15597 int
   15598 main ()
   15599 {
   15600 
   15601   ;
   15602   return 0;
   15603 }
   15604 _ACEOF
   15605 if ac_fn_c_try_link "$LINENO"; then :
   15606   eval $cacheid=yes
   15607 else
   15608   eval $cacheid=no
   15609 fi
   15610 rm -f core conftest.err conftest.$ac_objext \
   15611     conftest$ac_exeext conftest.$ac_ext
   15612 fi
   15613 
   15614 
   15615 		CFLAGS="$xorg_testset_save_CFLAGS"
   15616 
   15617 		eval supported=\$$cacheid
   15618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15619 $as_echo "$supported" >&6; }
   15620 		if test "$supported" = "yes" ; then
   15621 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15622 			found="yes"
   15623 		fi
   15624 	fi
   15625 
   15626  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15627 else
   15628 { $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
   15629 $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;}
   15630 
   15631 
   15632 
   15633 
   15634 
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 xorg_testset_save_CFLAGS="$CFLAGS"
   15644 
   15645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15648 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15649 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15650   $as_echo_n "(cached) " >&6
   15651 else
   15652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15653 /* end confdefs.h.  */
   15654 int i;
   15655 _ACEOF
   15656 if ac_fn_c_try_compile "$LINENO"; then :
   15657   xorg_cv_cc_flag_unknown_warning_option=yes
   15658 else
   15659   xorg_cv_cc_flag_unknown_warning_option=no
   15660 fi
   15661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15662 fi
   15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15664 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15665 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15666 	CFLAGS="$xorg_testset_save_CFLAGS"
   15667 fi
   15668 
   15669 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15670 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15672 	fi
   15673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15675 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15676 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15677   $as_echo_n "(cached) " >&6
   15678 else
   15679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15680 /* end confdefs.h.  */
   15681 int i;
   15682 _ACEOF
   15683 if ac_fn_c_try_compile "$LINENO"; then :
   15684   xorg_cv_cc_flag_unused_command_line_argument=yes
   15685 else
   15686   xorg_cv_cc_flag_unused_command_line_argument=no
   15687 fi
   15688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15689 fi
   15690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15691 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15693 	CFLAGS="$xorg_testset_save_CFLAGS"
   15694 fi
   15695 
   15696 found="no"
   15697 
   15698 	if test $found = "no" ; then
   15699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15701 		fi
   15702 
   15703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15705 		fi
   15706 
   15707 		CFLAGS="$CFLAGS -Wimplicit"
   15708 
   15709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15710 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15711 		cacheid=xorg_cv_cc_flag__Wimplicit
   15712 		if eval \${$cacheid+:} false; then :
   15713   $as_echo_n "(cached) " >&6
   15714 else
   15715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15716 /* end confdefs.h.  */
   15717 int i;
   15718 int
   15719 main ()
   15720 {
   15721 
   15722   ;
   15723   return 0;
   15724 }
   15725 _ACEOF
   15726 if ac_fn_c_try_link "$LINENO"; then :
   15727   eval $cacheid=yes
   15728 else
   15729   eval $cacheid=no
   15730 fi
   15731 rm -f core conftest.err conftest.$ac_objext \
   15732     conftest$ac_exeext conftest.$ac_ext
   15733 fi
   15734 
   15735 
   15736 		CFLAGS="$xorg_testset_save_CFLAGS"
   15737 
   15738 		eval supported=\$$cacheid
   15739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15740 $as_echo "$supported" >&6; }
   15741 		if test "$supported" = "yes" ; then
   15742 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15743 			found="yes"
   15744 		fi
   15745 	fi
   15746 
   15747 
   15748 
   15749 
   15750 
   15751 
   15752 
   15753 
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 xorg_testset_save_CFLAGS="$CFLAGS"
   15762 
   15763 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15764 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15766 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15767 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15768   $as_echo_n "(cached) " >&6
   15769 else
   15770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15771 /* end confdefs.h.  */
   15772 int i;
   15773 _ACEOF
   15774 if ac_fn_c_try_compile "$LINENO"; then :
   15775   xorg_cv_cc_flag_unknown_warning_option=yes
   15776 else
   15777   xorg_cv_cc_flag_unknown_warning_option=no
   15778 fi
   15779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15780 fi
   15781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15782 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15784 	CFLAGS="$xorg_testset_save_CFLAGS"
   15785 fi
   15786 
   15787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15790 	fi
   15791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15793 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15794 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15795   $as_echo_n "(cached) " >&6
   15796 else
   15797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15798 /* end confdefs.h.  */
   15799 int i;
   15800 _ACEOF
   15801 if ac_fn_c_try_compile "$LINENO"; then :
   15802   xorg_cv_cc_flag_unused_command_line_argument=yes
   15803 else
   15804   xorg_cv_cc_flag_unused_command_line_argument=no
   15805 fi
   15806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15807 fi
   15808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15809 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15811 	CFLAGS="$xorg_testset_save_CFLAGS"
   15812 fi
   15813 
   15814 found="no"
   15815 
   15816 	if test $found = "no" ; then
   15817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15819 		fi
   15820 
   15821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15823 		fi
   15824 
   15825 		CFLAGS="$CFLAGS -Wnonnull"
   15826 
   15827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15828 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15829 		cacheid=xorg_cv_cc_flag__Wnonnull
   15830 		if eval \${$cacheid+:} false; then :
   15831   $as_echo_n "(cached) " >&6
   15832 else
   15833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15834 /* end confdefs.h.  */
   15835 int i;
   15836 int
   15837 main ()
   15838 {
   15839 
   15840   ;
   15841   return 0;
   15842 }
   15843 _ACEOF
   15844 if ac_fn_c_try_link "$LINENO"; then :
   15845   eval $cacheid=yes
   15846 else
   15847   eval $cacheid=no
   15848 fi
   15849 rm -f core conftest.err conftest.$ac_objext \
   15850     conftest$ac_exeext conftest.$ac_ext
   15851 fi
   15852 
   15853 
   15854 		CFLAGS="$xorg_testset_save_CFLAGS"
   15855 
   15856 		eval supported=\$$cacheid
   15857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15858 $as_echo "$supported" >&6; }
   15859 		if test "$supported" = "yes" ; then
   15860 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15861 			found="yes"
   15862 		fi
   15863 	fi
   15864 
   15865 
   15866 
   15867 
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 xorg_testset_save_CFLAGS="$CFLAGS"
   15880 
   15881 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15884 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15885 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15886   $as_echo_n "(cached) " >&6
   15887 else
   15888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15889 /* end confdefs.h.  */
   15890 int i;
   15891 _ACEOF
   15892 if ac_fn_c_try_compile "$LINENO"; then :
   15893   xorg_cv_cc_flag_unknown_warning_option=yes
   15894 else
   15895   xorg_cv_cc_flag_unknown_warning_option=no
   15896 fi
   15897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15898 fi
   15899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15900 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15901 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15902 	CFLAGS="$xorg_testset_save_CFLAGS"
   15903 fi
   15904 
   15905 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15906 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15908 	fi
   15909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15911 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15912 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15913   $as_echo_n "(cached) " >&6
   15914 else
   15915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15916 /* end confdefs.h.  */
   15917 int i;
   15918 _ACEOF
   15919 if ac_fn_c_try_compile "$LINENO"; then :
   15920   xorg_cv_cc_flag_unused_command_line_argument=yes
   15921 else
   15922   xorg_cv_cc_flag_unused_command_line_argument=no
   15923 fi
   15924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15925 fi
   15926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15927 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15929 	CFLAGS="$xorg_testset_save_CFLAGS"
   15930 fi
   15931 
   15932 found="no"
   15933 
   15934 	if test $found = "no" ; then
   15935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15937 		fi
   15938 
   15939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15941 		fi
   15942 
   15943 		CFLAGS="$CFLAGS -Winit-self"
   15944 
   15945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15946 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15947 		cacheid=xorg_cv_cc_flag__Winit_self
   15948 		if eval \${$cacheid+:} false; then :
   15949   $as_echo_n "(cached) " >&6
   15950 else
   15951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15952 /* end confdefs.h.  */
   15953 int i;
   15954 int
   15955 main ()
   15956 {
   15957 
   15958   ;
   15959   return 0;
   15960 }
   15961 _ACEOF
   15962 if ac_fn_c_try_link "$LINENO"; then :
   15963   eval $cacheid=yes
   15964 else
   15965   eval $cacheid=no
   15966 fi
   15967 rm -f core conftest.err conftest.$ac_objext \
   15968     conftest$ac_exeext conftest.$ac_ext
   15969 fi
   15970 
   15971 
   15972 		CFLAGS="$xorg_testset_save_CFLAGS"
   15973 
   15974 		eval supported=\$$cacheid
   15975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15976 $as_echo "$supported" >&6; }
   15977 		if test "$supported" = "yes" ; then
   15978 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15979 			found="yes"
   15980 		fi
   15981 	fi
   15982 
   15983 
   15984 
   15985 
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 xorg_testset_save_CFLAGS="$CFLAGS"
   15998 
   15999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16002 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16003 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16004   $as_echo_n "(cached) " >&6
   16005 else
   16006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16007 /* end confdefs.h.  */
   16008 int i;
   16009 _ACEOF
   16010 if ac_fn_c_try_compile "$LINENO"; then :
   16011   xorg_cv_cc_flag_unknown_warning_option=yes
   16012 else
   16013   xorg_cv_cc_flag_unknown_warning_option=no
   16014 fi
   16015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16016 fi
   16017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16018 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16019 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16020 	CFLAGS="$xorg_testset_save_CFLAGS"
   16021 fi
   16022 
   16023 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16024 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16026 	fi
   16027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16029 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16030 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16031   $as_echo_n "(cached) " >&6
   16032 else
   16033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16034 /* end confdefs.h.  */
   16035 int i;
   16036 _ACEOF
   16037 if ac_fn_c_try_compile "$LINENO"; then :
   16038   xorg_cv_cc_flag_unused_command_line_argument=yes
   16039 else
   16040   xorg_cv_cc_flag_unused_command_line_argument=no
   16041 fi
   16042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16043 fi
   16044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16045 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16047 	CFLAGS="$xorg_testset_save_CFLAGS"
   16048 fi
   16049 
   16050 found="no"
   16051 
   16052 	if test $found = "no" ; then
   16053 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16055 		fi
   16056 
   16057 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16059 		fi
   16060 
   16061 		CFLAGS="$CFLAGS -Wmain"
   16062 
   16063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16064 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16065 		cacheid=xorg_cv_cc_flag__Wmain
   16066 		if eval \${$cacheid+:} false; then :
   16067   $as_echo_n "(cached) " >&6
   16068 else
   16069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16070 /* end confdefs.h.  */
   16071 int i;
   16072 int
   16073 main ()
   16074 {
   16075 
   16076   ;
   16077   return 0;
   16078 }
   16079 _ACEOF
   16080 if ac_fn_c_try_link "$LINENO"; then :
   16081   eval $cacheid=yes
   16082 else
   16083   eval $cacheid=no
   16084 fi
   16085 rm -f core conftest.err conftest.$ac_objext \
   16086     conftest$ac_exeext conftest.$ac_ext
   16087 fi
   16088 
   16089 
   16090 		CFLAGS="$xorg_testset_save_CFLAGS"
   16091 
   16092 		eval supported=\$$cacheid
   16093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16094 $as_echo "$supported" >&6; }
   16095 		if test "$supported" = "yes" ; then
   16096 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16097 			found="yes"
   16098 		fi
   16099 	fi
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 xorg_testset_save_CFLAGS="$CFLAGS"
   16116 
   16117 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16118 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16120 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16121 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16122   $as_echo_n "(cached) " >&6
   16123 else
   16124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16125 /* end confdefs.h.  */
   16126 int i;
   16127 _ACEOF
   16128 if ac_fn_c_try_compile "$LINENO"; then :
   16129   xorg_cv_cc_flag_unknown_warning_option=yes
   16130 else
   16131   xorg_cv_cc_flag_unknown_warning_option=no
   16132 fi
   16133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16134 fi
   16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16136 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16137 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16138 	CFLAGS="$xorg_testset_save_CFLAGS"
   16139 fi
   16140 
   16141 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16142 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16143 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16144 	fi
   16145 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16147 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16148 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16149   $as_echo_n "(cached) " >&6
   16150 else
   16151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16152 /* end confdefs.h.  */
   16153 int i;
   16154 _ACEOF
   16155 if ac_fn_c_try_compile "$LINENO"; then :
   16156   xorg_cv_cc_flag_unused_command_line_argument=yes
   16157 else
   16158   xorg_cv_cc_flag_unused_command_line_argument=no
   16159 fi
   16160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16161 fi
   16162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16163 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16164 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16165 	CFLAGS="$xorg_testset_save_CFLAGS"
   16166 fi
   16167 
   16168 found="no"
   16169 
   16170 	if test $found = "no" ; then
   16171 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16172 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16173 		fi
   16174 
   16175 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16176 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16177 		fi
   16178 
   16179 		CFLAGS="$CFLAGS -Wmissing-braces"
   16180 
   16181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16182 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16183 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16184 		if eval \${$cacheid+:} false; then :
   16185   $as_echo_n "(cached) " >&6
   16186 else
   16187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16188 /* end confdefs.h.  */
   16189 int i;
   16190 int
   16191 main ()
   16192 {
   16193 
   16194   ;
   16195   return 0;
   16196 }
   16197 _ACEOF
   16198 if ac_fn_c_try_link "$LINENO"; then :
   16199   eval $cacheid=yes
   16200 else
   16201   eval $cacheid=no
   16202 fi
   16203 rm -f core conftest.err conftest.$ac_objext \
   16204     conftest$ac_exeext conftest.$ac_ext
   16205 fi
   16206 
   16207 
   16208 		CFLAGS="$xorg_testset_save_CFLAGS"
   16209 
   16210 		eval supported=\$$cacheid
   16211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16212 $as_echo "$supported" >&6; }
   16213 		if test "$supported" = "yes" ; then
   16214 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16215 			found="yes"
   16216 		fi
   16217 	fi
   16218 
   16219 
   16220 
   16221 
   16222 
   16223 
   16224 
   16225 
   16226 
   16227 
   16228 
   16229 
   16230 
   16231 
   16232 
   16233 xorg_testset_save_CFLAGS="$CFLAGS"
   16234 
   16235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16238 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16239 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16240   $as_echo_n "(cached) " >&6
   16241 else
   16242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16243 /* end confdefs.h.  */
   16244 int i;
   16245 _ACEOF
   16246 if ac_fn_c_try_compile "$LINENO"; then :
   16247   xorg_cv_cc_flag_unknown_warning_option=yes
   16248 else
   16249   xorg_cv_cc_flag_unknown_warning_option=no
   16250 fi
   16251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16252 fi
   16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16254 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16256 	CFLAGS="$xorg_testset_save_CFLAGS"
   16257 fi
   16258 
   16259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16262 	fi
   16263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16265 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16266 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16267   $as_echo_n "(cached) " >&6
   16268 else
   16269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16270 /* end confdefs.h.  */
   16271 int i;
   16272 _ACEOF
   16273 if ac_fn_c_try_compile "$LINENO"; then :
   16274   xorg_cv_cc_flag_unused_command_line_argument=yes
   16275 else
   16276   xorg_cv_cc_flag_unused_command_line_argument=no
   16277 fi
   16278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16279 fi
   16280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16281 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16283 	CFLAGS="$xorg_testset_save_CFLAGS"
   16284 fi
   16285 
   16286 found="no"
   16287 
   16288 	if test $found = "no" ; then
   16289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16291 		fi
   16292 
   16293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16295 		fi
   16296 
   16297 		CFLAGS="$CFLAGS -Wsequence-point"
   16298 
   16299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16300 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16301 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16302 		if eval \${$cacheid+:} false; then :
   16303   $as_echo_n "(cached) " >&6
   16304 else
   16305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16306 /* end confdefs.h.  */
   16307 int i;
   16308 int
   16309 main ()
   16310 {
   16311 
   16312   ;
   16313   return 0;
   16314 }
   16315 _ACEOF
   16316 if ac_fn_c_try_link "$LINENO"; then :
   16317   eval $cacheid=yes
   16318 else
   16319   eval $cacheid=no
   16320 fi
   16321 rm -f core conftest.err conftest.$ac_objext \
   16322     conftest$ac_exeext conftest.$ac_ext
   16323 fi
   16324 
   16325 
   16326 		CFLAGS="$xorg_testset_save_CFLAGS"
   16327 
   16328 		eval supported=\$$cacheid
   16329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16330 $as_echo "$supported" >&6; }
   16331 		if test "$supported" = "yes" ; then
   16332 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16333 			found="yes"
   16334 		fi
   16335 	fi
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 
   16350 
   16351 xorg_testset_save_CFLAGS="$CFLAGS"
   16352 
   16353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16356 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16357 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16358   $as_echo_n "(cached) " >&6
   16359 else
   16360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16361 /* end confdefs.h.  */
   16362 int i;
   16363 _ACEOF
   16364 if ac_fn_c_try_compile "$LINENO"; then :
   16365   xorg_cv_cc_flag_unknown_warning_option=yes
   16366 else
   16367   xorg_cv_cc_flag_unknown_warning_option=no
   16368 fi
   16369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16370 fi
   16371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16372 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16374 	CFLAGS="$xorg_testset_save_CFLAGS"
   16375 fi
   16376 
   16377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16380 	fi
   16381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16383 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16384 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16385   $as_echo_n "(cached) " >&6
   16386 else
   16387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16388 /* end confdefs.h.  */
   16389 int i;
   16390 _ACEOF
   16391 if ac_fn_c_try_compile "$LINENO"; then :
   16392   xorg_cv_cc_flag_unused_command_line_argument=yes
   16393 else
   16394   xorg_cv_cc_flag_unused_command_line_argument=no
   16395 fi
   16396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16397 fi
   16398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16399 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16401 	CFLAGS="$xorg_testset_save_CFLAGS"
   16402 fi
   16403 
   16404 found="no"
   16405 
   16406 	if test $found = "no" ; then
   16407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16409 		fi
   16410 
   16411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16413 		fi
   16414 
   16415 		CFLAGS="$CFLAGS -Wreturn-type"
   16416 
   16417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16418 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16419 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16420 		if eval \${$cacheid+:} false; then :
   16421   $as_echo_n "(cached) " >&6
   16422 else
   16423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16424 /* end confdefs.h.  */
   16425 int i;
   16426 int
   16427 main ()
   16428 {
   16429 
   16430   ;
   16431   return 0;
   16432 }
   16433 _ACEOF
   16434 if ac_fn_c_try_link "$LINENO"; then :
   16435   eval $cacheid=yes
   16436 else
   16437   eval $cacheid=no
   16438 fi
   16439 rm -f core conftest.err conftest.$ac_objext \
   16440     conftest$ac_exeext conftest.$ac_ext
   16441 fi
   16442 
   16443 
   16444 		CFLAGS="$xorg_testset_save_CFLAGS"
   16445 
   16446 		eval supported=\$$cacheid
   16447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16448 $as_echo "$supported" >&6; }
   16449 		if test "$supported" = "yes" ; then
   16450 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16451 			found="yes"
   16452 		fi
   16453 	fi
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 
   16468 
   16469 xorg_testset_save_CFLAGS="$CFLAGS"
   16470 
   16471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16476   $as_echo_n "(cached) " >&6
   16477 else
   16478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16479 /* end confdefs.h.  */
   16480 int i;
   16481 _ACEOF
   16482 if ac_fn_c_try_compile "$LINENO"; then :
   16483   xorg_cv_cc_flag_unknown_warning_option=yes
   16484 else
   16485   xorg_cv_cc_flag_unknown_warning_option=no
   16486 fi
   16487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16488 fi
   16489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16492 	CFLAGS="$xorg_testset_save_CFLAGS"
   16493 fi
   16494 
   16495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16498 	fi
   16499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16503   $as_echo_n "(cached) " >&6
   16504 else
   16505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16506 /* end confdefs.h.  */
   16507 int i;
   16508 _ACEOF
   16509 if ac_fn_c_try_compile "$LINENO"; then :
   16510   xorg_cv_cc_flag_unused_command_line_argument=yes
   16511 else
   16512   xorg_cv_cc_flag_unused_command_line_argument=no
   16513 fi
   16514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16515 fi
   16516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16519 	CFLAGS="$xorg_testset_save_CFLAGS"
   16520 fi
   16521 
   16522 found="no"
   16523 
   16524 	if test $found = "no" ; then
   16525 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16527 		fi
   16528 
   16529 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16531 		fi
   16532 
   16533 		CFLAGS="$CFLAGS -Wtrigraphs"
   16534 
   16535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16536 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16537 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16538 		if eval \${$cacheid+:} false; then :
   16539   $as_echo_n "(cached) " >&6
   16540 else
   16541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16542 /* end confdefs.h.  */
   16543 int i;
   16544 int
   16545 main ()
   16546 {
   16547 
   16548   ;
   16549   return 0;
   16550 }
   16551 _ACEOF
   16552 if ac_fn_c_try_link "$LINENO"; then :
   16553   eval $cacheid=yes
   16554 else
   16555   eval $cacheid=no
   16556 fi
   16557 rm -f core conftest.err conftest.$ac_objext \
   16558     conftest$ac_exeext conftest.$ac_ext
   16559 fi
   16560 
   16561 
   16562 		CFLAGS="$xorg_testset_save_CFLAGS"
   16563 
   16564 		eval supported=\$$cacheid
   16565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16566 $as_echo "$supported" >&6; }
   16567 		if test "$supported" = "yes" ; then
   16568 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16569 			found="yes"
   16570 		fi
   16571 	fi
   16572 
   16573 
   16574 
   16575 
   16576 
   16577 
   16578 
   16579 
   16580 
   16581 
   16582 
   16583 
   16584 
   16585 
   16586 
   16587 xorg_testset_save_CFLAGS="$CFLAGS"
   16588 
   16589 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16592 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16593 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16594   $as_echo_n "(cached) " >&6
   16595 else
   16596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16597 /* end confdefs.h.  */
   16598 int i;
   16599 _ACEOF
   16600 if ac_fn_c_try_compile "$LINENO"; then :
   16601   xorg_cv_cc_flag_unknown_warning_option=yes
   16602 else
   16603   xorg_cv_cc_flag_unknown_warning_option=no
   16604 fi
   16605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16606 fi
   16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16608 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16610 	CFLAGS="$xorg_testset_save_CFLAGS"
   16611 fi
   16612 
   16613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16616 	fi
   16617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16619 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16620 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16621   $as_echo_n "(cached) " >&6
   16622 else
   16623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16624 /* end confdefs.h.  */
   16625 int i;
   16626 _ACEOF
   16627 if ac_fn_c_try_compile "$LINENO"; then :
   16628   xorg_cv_cc_flag_unused_command_line_argument=yes
   16629 else
   16630   xorg_cv_cc_flag_unused_command_line_argument=no
   16631 fi
   16632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16633 fi
   16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16635 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16637 	CFLAGS="$xorg_testset_save_CFLAGS"
   16638 fi
   16639 
   16640 found="no"
   16641 
   16642 	if test $found = "no" ; then
   16643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16645 		fi
   16646 
   16647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16649 		fi
   16650 
   16651 		CFLAGS="$CFLAGS -Warray-bounds"
   16652 
   16653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16654 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16655 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16656 		if eval \${$cacheid+:} false; then :
   16657   $as_echo_n "(cached) " >&6
   16658 else
   16659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16660 /* end confdefs.h.  */
   16661 int i;
   16662 int
   16663 main ()
   16664 {
   16665 
   16666   ;
   16667   return 0;
   16668 }
   16669 _ACEOF
   16670 if ac_fn_c_try_link "$LINENO"; then :
   16671   eval $cacheid=yes
   16672 else
   16673   eval $cacheid=no
   16674 fi
   16675 rm -f core conftest.err conftest.$ac_objext \
   16676     conftest$ac_exeext conftest.$ac_ext
   16677 fi
   16678 
   16679 
   16680 		CFLAGS="$xorg_testset_save_CFLAGS"
   16681 
   16682 		eval supported=\$$cacheid
   16683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16684 $as_echo "$supported" >&6; }
   16685 		if test "$supported" = "yes" ; then
   16686 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16687 			found="yes"
   16688 		fi
   16689 	fi
   16690 
   16691 
   16692 
   16693 
   16694 
   16695 
   16696 
   16697 
   16698 
   16699 
   16700 
   16701 
   16702 
   16703 
   16704 
   16705 xorg_testset_save_CFLAGS="$CFLAGS"
   16706 
   16707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16710 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16711 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16712   $as_echo_n "(cached) " >&6
   16713 else
   16714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16715 /* end confdefs.h.  */
   16716 int i;
   16717 _ACEOF
   16718 if ac_fn_c_try_compile "$LINENO"; then :
   16719   xorg_cv_cc_flag_unknown_warning_option=yes
   16720 else
   16721   xorg_cv_cc_flag_unknown_warning_option=no
   16722 fi
   16723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16724 fi
   16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16726 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16728 	CFLAGS="$xorg_testset_save_CFLAGS"
   16729 fi
   16730 
   16731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16734 	fi
   16735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16737 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16738 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16739   $as_echo_n "(cached) " >&6
   16740 else
   16741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16742 /* end confdefs.h.  */
   16743 int i;
   16744 _ACEOF
   16745 if ac_fn_c_try_compile "$LINENO"; then :
   16746   xorg_cv_cc_flag_unused_command_line_argument=yes
   16747 else
   16748   xorg_cv_cc_flag_unused_command_line_argument=no
   16749 fi
   16750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16751 fi
   16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16753 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16755 	CFLAGS="$xorg_testset_save_CFLAGS"
   16756 fi
   16757 
   16758 found="no"
   16759 
   16760 	if test $found = "no" ; then
   16761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16763 		fi
   16764 
   16765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16767 		fi
   16768 
   16769 		CFLAGS="$CFLAGS -Wwrite-strings"
   16770 
   16771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16772 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16773 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16774 		if eval \${$cacheid+:} false; then :
   16775   $as_echo_n "(cached) " >&6
   16776 else
   16777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16778 /* end confdefs.h.  */
   16779 int i;
   16780 int
   16781 main ()
   16782 {
   16783 
   16784   ;
   16785   return 0;
   16786 }
   16787 _ACEOF
   16788 if ac_fn_c_try_link "$LINENO"; then :
   16789   eval $cacheid=yes
   16790 else
   16791   eval $cacheid=no
   16792 fi
   16793 rm -f core conftest.err conftest.$ac_objext \
   16794     conftest$ac_exeext conftest.$ac_ext
   16795 fi
   16796 
   16797 
   16798 		CFLAGS="$xorg_testset_save_CFLAGS"
   16799 
   16800 		eval supported=\$$cacheid
   16801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16802 $as_echo "$supported" >&6; }
   16803 		if test "$supported" = "yes" ; then
   16804 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16805 			found="yes"
   16806 		fi
   16807 	fi
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 xorg_testset_save_CFLAGS="$CFLAGS"
   16824 
   16825 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16826 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16828 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16829 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16830   $as_echo_n "(cached) " >&6
   16831 else
   16832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16833 /* end confdefs.h.  */
   16834 int i;
   16835 _ACEOF
   16836 if ac_fn_c_try_compile "$LINENO"; then :
   16837   xorg_cv_cc_flag_unknown_warning_option=yes
   16838 else
   16839   xorg_cv_cc_flag_unknown_warning_option=no
   16840 fi
   16841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16842 fi
   16843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16844 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16845 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16846 	CFLAGS="$xorg_testset_save_CFLAGS"
   16847 fi
   16848 
   16849 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16850 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16851 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16852 	fi
   16853 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16855 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16856 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16857   $as_echo_n "(cached) " >&6
   16858 else
   16859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16860 /* end confdefs.h.  */
   16861 int i;
   16862 _ACEOF
   16863 if ac_fn_c_try_compile "$LINENO"; then :
   16864   xorg_cv_cc_flag_unused_command_line_argument=yes
   16865 else
   16866   xorg_cv_cc_flag_unused_command_line_argument=no
   16867 fi
   16868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16869 fi
   16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16871 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16872 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16873 	CFLAGS="$xorg_testset_save_CFLAGS"
   16874 fi
   16875 
   16876 found="no"
   16877 
   16878 	if test $found = "no" ; then
   16879 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16880 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16881 		fi
   16882 
   16883 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16884 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16885 		fi
   16886 
   16887 		CFLAGS="$CFLAGS -Waddress"
   16888 
   16889 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16890 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16891 		cacheid=xorg_cv_cc_flag__Waddress
   16892 		if eval \${$cacheid+:} false; then :
   16893   $as_echo_n "(cached) " >&6
   16894 else
   16895   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16896 /* end confdefs.h.  */
   16897 int i;
   16898 int
   16899 main ()
   16900 {
   16901 
   16902   ;
   16903   return 0;
   16904 }
   16905 _ACEOF
   16906 if ac_fn_c_try_link "$LINENO"; then :
   16907   eval $cacheid=yes
   16908 else
   16909   eval $cacheid=no
   16910 fi
   16911 rm -f core conftest.err conftest.$ac_objext \
   16912     conftest$ac_exeext conftest.$ac_ext
   16913 fi
   16914 
   16915 
   16916 		CFLAGS="$xorg_testset_save_CFLAGS"
   16917 
   16918 		eval supported=\$$cacheid
   16919 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16920 $as_echo "$supported" >&6; }
   16921 		if test "$supported" = "yes" ; then
   16922 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16923 			found="yes"
   16924 		fi
   16925 	fi
   16926 
   16927 
   16928 
   16929 
   16930 
   16931 
   16932 
   16933 
   16934 
   16935 
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 xorg_testset_save_CFLAGS="$CFLAGS"
   16942 
   16943 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16944 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16946 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16947 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16948   $as_echo_n "(cached) " >&6
   16949 else
   16950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16951 /* end confdefs.h.  */
   16952 int i;
   16953 _ACEOF
   16954 if ac_fn_c_try_compile "$LINENO"; then :
   16955   xorg_cv_cc_flag_unknown_warning_option=yes
   16956 else
   16957   xorg_cv_cc_flag_unknown_warning_option=no
   16958 fi
   16959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16960 fi
   16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16962 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16963 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16964 	CFLAGS="$xorg_testset_save_CFLAGS"
   16965 fi
   16966 
   16967 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16968 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16969 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16970 	fi
   16971 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16973 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16974 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16975   $as_echo_n "(cached) " >&6
   16976 else
   16977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16978 /* end confdefs.h.  */
   16979 int i;
   16980 _ACEOF
   16981 if ac_fn_c_try_compile "$LINENO"; then :
   16982   xorg_cv_cc_flag_unused_command_line_argument=yes
   16983 else
   16984   xorg_cv_cc_flag_unused_command_line_argument=no
   16985 fi
   16986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16987 fi
   16988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16989 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16990 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16991 	CFLAGS="$xorg_testset_save_CFLAGS"
   16992 fi
   16993 
   16994 found="no"
   16995 
   16996 	if test $found = "no" ; then
   16997 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16998 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16999 		fi
   17000 
   17001 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17002 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17003 		fi
   17004 
   17005 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17006 
   17007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17008 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17009 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17010 		if eval \${$cacheid+:} false; then :
   17011   $as_echo_n "(cached) " >&6
   17012 else
   17013   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17014 /* end confdefs.h.  */
   17015 int i;
   17016 int
   17017 main ()
   17018 {
   17019 
   17020   ;
   17021   return 0;
   17022 }
   17023 _ACEOF
   17024 if ac_fn_c_try_link "$LINENO"; then :
   17025   eval $cacheid=yes
   17026 else
   17027   eval $cacheid=no
   17028 fi
   17029 rm -f core conftest.err conftest.$ac_objext \
   17030     conftest$ac_exeext conftest.$ac_ext
   17031 fi
   17032 
   17033 
   17034 		CFLAGS="$xorg_testset_save_CFLAGS"
   17035 
   17036 		eval supported=\$$cacheid
   17037 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17038 $as_echo "$supported" >&6; }
   17039 		if test "$supported" = "yes" ; then
   17040 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17041 			found="yes"
   17042 		fi
   17043 	fi
   17044 
   17045 
   17046 
   17047 
   17048 
   17049 
   17050 
   17051 
   17052 
   17053 
   17054 
   17055 
   17056 
   17057 
   17058 
   17059 xorg_testset_save_CFLAGS="$CFLAGS"
   17060 
   17061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17064 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17065 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17066   $as_echo_n "(cached) " >&6
   17067 else
   17068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17069 /* end confdefs.h.  */
   17070 int i;
   17071 _ACEOF
   17072 if ac_fn_c_try_compile "$LINENO"; then :
   17073   xorg_cv_cc_flag_unknown_warning_option=yes
   17074 else
   17075   xorg_cv_cc_flag_unknown_warning_option=no
   17076 fi
   17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17078 fi
   17079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17080 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17082 	CFLAGS="$xorg_testset_save_CFLAGS"
   17083 fi
   17084 
   17085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17088 	fi
   17089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17091 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17092 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17093   $as_echo_n "(cached) " >&6
   17094 else
   17095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17096 /* end confdefs.h.  */
   17097 int i;
   17098 _ACEOF
   17099 if ac_fn_c_try_compile "$LINENO"; then :
   17100   xorg_cv_cc_flag_unused_command_line_argument=yes
   17101 else
   17102   xorg_cv_cc_flag_unused_command_line_argument=no
   17103 fi
   17104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17105 fi
   17106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17107 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17108 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17109 	CFLAGS="$xorg_testset_save_CFLAGS"
   17110 fi
   17111 
   17112 found="no"
   17113 
   17114 	if test $found = "no" ; then
   17115 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17116 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17117 		fi
   17118 
   17119 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17120 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17121 		fi
   17122 
   17123 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17124 
   17125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17126 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17127 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17128 		if eval \${$cacheid+:} false; then :
   17129   $as_echo_n "(cached) " >&6
   17130 else
   17131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17132 /* end confdefs.h.  */
   17133 int i;
   17134 int
   17135 main ()
   17136 {
   17137 
   17138   ;
   17139   return 0;
   17140 }
   17141 _ACEOF
   17142 if ac_fn_c_try_link "$LINENO"; then :
   17143   eval $cacheid=yes
   17144 else
   17145   eval $cacheid=no
   17146 fi
   17147 rm -f core conftest.err conftest.$ac_objext \
   17148     conftest$ac_exeext conftest.$ac_ext
   17149 fi
   17150 
   17151 
   17152 		CFLAGS="$xorg_testset_save_CFLAGS"
   17153 
   17154 		eval supported=\$$cacheid
   17155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17156 $as_echo "$supported" >&6; }
   17157 		if test "$supported" = "yes" ; then
   17158 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17159 			found="yes"
   17160 		fi
   17161 	fi
   17162 
   17163 
   17164 fi
   17165 
   17166 
   17167 
   17168 
   17169 
   17170 
   17171 
   17172 		CWARNFLAGS="$BASE_CFLAGS"
   17173 		if  test "x$GCC" = xyes ; then
   17174 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17175 		fi
   17176 
   17177 
   17178 
   17179 
   17180 
   17181 
   17182 
   17183 
   17184 # Check whether --enable-strict-compilation was given.
   17185 if test "${enable_strict_compilation+set}" = set; then :
   17186   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17187 else
   17188   STRICT_COMPILE=no
   17189 fi
   17190 
   17191 
   17192 
   17193 
   17194 
   17195 
   17196 STRICT_CFLAGS=""
   17197 
   17198 
   17199 
   17200 
   17201 
   17202 
   17203 
   17204 
   17205 
   17206 
   17207 
   17208 
   17209 
   17210 xorg_testset_save_CFLAGS="$CFLAGS"
   17211 
   17212 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17213 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17214 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17215 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17216 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17217   $as_echo_n "(cached) " >&6
   17218 else
   17219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17220 /* end confdefs.h.  */
   17221 int i;
   17222 _ACEOF
   17223 if ac_fn_c_try_compile "$LINENO"; then :
   17224   xorg_cv_cc_flag_unknown_warning_option=yes
   17225 else
   17226   xorg_cv_cc_flag_unknown_warning_option=no
   17227 fi
   17228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17229 fi
   17230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17231 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17232 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17233 	CFLAGS="$xorg_testset_save_CFLAGS"
   17234 fi
   17235 
   17236 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17237 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17238 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17239 	fi
   17240 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17241 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17242 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17243 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17244   $as_echo_n "(cached) " >&6
   17245 else
   17246   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17247 /* end confdefs.h.  */
   17248 int i;
   17249 _ACEOF
   17250 if ac_fn_c_try_compile "$LINENO"; then :
   17251   xorg_cv_cc_flag_unused_command_line_argument=yes
   17252 else
   17253   xorg_cv_cc_flag_unused_command_line_argument=no
   17254 fi
   17255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17256 fi
   17257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17258 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17259 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17260 	CFLAGS="$xorg_testset_save_CFLAGS"
   17261 fi
   17262 
   17263 found="no"
   17264 
   17265 	if test $found = "no" ; then
   17266 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17267 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17268 		fi
   17269 
   17270 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17271 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17272 		fi
   17273 
   17274 		CFLAGS="$CFLAGS -pedantic"
   17275 
   17276 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17277 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17278 		cacheid=xorg_cv_cc_flag__pedantic
   17279 		if eval \${$cacheid+:} false; then :
   17280   $as_echo_n "(cached) " >&6
   17281 else
   17282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17283 /* end confdefs.h.  */
   17284 int i;
   17285 int
   17286 main ()
   17287 {
   17288 
   17289   ;
   17290   return 0;
   17291 }
   17292 _ACEOF
   17293 if ac_fn_c_try_link "$LINENO"; then :
   17294   eval $cacheid=yes
   17295 else
   17296   eval $cacheid=no
   17297 fi
   17298 rm -f core conftest.err conftest.$ac_objext \
   17299     conftest$ac_exeext conftest.$ac_ext
   17300 fi
   17301 
   17302 
   17303 		CFLAGS="$xorg_testset_save_CFLAGS"
   17304 
   17305 		eval supported=\$$cacheid
   17306 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17307 $as_echo "$supported" >&6; }
   17308 		if test "$supported" = "yes" ; then
   17309 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17310 			found="yes"
   17311 		fi
   17312 	fi
   17313 
   17314 
   17315 
   17316 
   17317 
   17318 
   17319 
   17320 
   17321 
   17322 
   17323 
   17324 
   17325 
   17326 
   17327 
   17328 xorg_testset_save_CFLAGS="$CFLAGS"
   17329 
   17330 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17331 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17332 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17333 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17334 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17335   $as_echo_n "(cached) " >&6
   17336 else
   17337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17338 /* end confdefs.h.  */
   17339 int i;
   17340 _ACEOF
   17341 if ac_fn_c_try_compile "$LINENO"; then :
   17342   xorg_cv_cc_flag_unknown_warning_option=yes
   17343 else
   17344   xorg_cv_cc_flag_unknown_warning_option=no
   17345 fi
   17346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17347 fi
   17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17349 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17350 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17351 	CFLAGS="$xorg_testset_save_CFLAGS"
   17352 fi
   17353 
   17354 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17355 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17356 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17357 	fi
   17358 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17359 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17360 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17361 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17362   $as_echo_n "(cached) " >&6
   17363 else
   17364   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17365 /* end confdefs.h.  */
   17366 int i;
   17367 _ACEOF
   17368 if ac_fn_c_try_compile "$LINENO"; then :
   17369   xorg_cv_cc_flag_unused_command_line_argument=yes
   17370 else
   17371   xorg_cv_cc_flag_unused_command_line_argument=no
   17372 fi
   17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17374 fi
   17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17376 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17377 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17378 	CFLAGS="$xorg_testset_save_CFLAGS"
   17379 fi
   17380 
   17381 found="no"
   17382 
   17383 	if test $found = "no" ; then
   17384 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17385 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17386 		fi
   17387 
   17388 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17389 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17390 		fi
   17391 
   17392 		CFLAGS="$CFLAGS -Werror"
   17393 
   17394 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17395 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17396 		cacheid=xorg_cv_cc_flag__Werror
   17397 		if eval \${$cacheid+:} false; then :
   17398   $as_echo_n "(cached) " >&6
   17399 else
   17400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17401 /* end confdefs.h.  */
   17402 int i;
   17403 int
   17404 main ()
   17405 {
   17406 
   17407   ;
   17408   return 0;
   17409 }
   17410 _ACEOF
   17411 if ac_fn_c_try_link "$LINENO"; then :
   17412   eval $cacheid=yes
   17413 else
   17414   eval $cacheid=no
   17415 fi
   17416 rm -f core conftest.err conftest.$ac_objext \
   17417     conftest$ac_exeext conftest.$ac_ext
   17418 fi
   17419 
   17420 
   17421 		CFLAGS="$xorg_testset_save_CFLAGS"
   17422 
   17423 		eval supported=\$$cacheid
   17424 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17425 $as_echo "$supported" >&6; }
   17426 		if test "$supported" = "yes" ; then
   17427 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17428 			found="yes"
   17429 		fi
   17430 	fi
   17431 
   17432 	if test $found = "no" ; then
   17433 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17434 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17435 		fi
   17436 
   17437 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17438 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17439 		fi
   17440 
   17441 		CFLAGS="$CFLAGS -errwarn"
   17442 
   17443 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17444 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17445 		cacheid=xorg_cv_cc_flag__errwarn
   17446 		if eval \${$cacheid+:} false; then :
   17447   $as_echo_n "(cached) " >&6
   17448 else
   17449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17450 /* end confdefs.h.  */
   17451 int i;
   17452 int
   17453 main ()
   17454 {
   17455 
   17456   ;
   17457   return 0;
   17458 }
   17459 _ACEOF
   17460 if ac_fn_c_try_link "$LINENO"; then :
   17461   eval $cacheid=yes
   17462 else
   17463   eval $cacheid=no
   17464 fi
   17465 rm -f core conftest.err conftest.$ac_objext \
   17466     conftest$ac_exeext conftest.$ac_ext
   17467 fi
   17468 
   17469 
   17470 		CFLAGS="$xorg_testset_save_CFLAGS"
   17471 
   17472 		eval supported=\$$cacheid
   17473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17474 $as_echo "$supported" >&6; }
   17475 		if test "$supported" = "yes" ; then
   17476 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17477 			found="yes"
   17478 		fi
   17479 	fi
   17480 
   17481 
   17482 
   17483 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17484 # activate it with -Werror, so we add it here explicitly.
   17485 
   17486 
   17487 
   17488 
   17489 
   17490 
   17491 
   17492 
   17493 
   17494 
   17495 
   17496 
   17497 
   17498 xorg_testset_save_CFLAGS="$CFLAGS"
   17499 
   17500 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17501 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17503 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17504 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17505   $as_echo_n "(cached) " >&6
   17506 else
   17507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17508 /* end confdefs.h.  */
   17509 int i;
   17510 _ACEOF
   17511 if ac_fn_c_try_compile "$LINENO"; then :
   17512   xorg_cv_cc_flag_unknown_warning_option=yes
   17513 else
   17514   xorg_cv_cc_flag_unknown_warning_option=no
   17515 fi
   17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17517 fi
   17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17519 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17520 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17521 	CFLAGS="$xorg_testset_save_CFLAGS"
   17522 fi
   17523 
   17524 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17525 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17526 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17527 	fi
   17528 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17530 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17531 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17532   $as_echo_n "(cached) " >&6
   17533 else
   17534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17535 /* end confdefs.h.  */
   17536 int i;
   17537 _ACEOF
   17538 if ac_fn_c_try_compile "$LINENO"; then :
   17539   xorg_cv_cc_flag_unused_command_line_argument=yes
   17540 else
   17541   xorg_cv_cc_flag_unused_command_line_argument=no
   17542 fi
   17543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17544 fi
   17545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17546 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17547 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17548 	CFLAGS="$xorg_testset_save_CFLAGS"
   17549 fi
   17550 
   17551 found="no"
   17552 
   17553 	if test $found = "no" ; then
   17554 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17555 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17556 		fi
   17557 
   17558 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17559 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17560 		fi
   17561 
   17562 		CFLAGS="$CFLAGS -Werror=attributes"
   17563 
   17564 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17565 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17566 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17567 		if eval \${$cacheid+:} false; then :
   17568   $as_echo_n "(cached) " >&6
   17569 else
   17570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17571 /* end confdefs.h.  */
   17572 int i;
   17573 int
   17574 main ()
   17575 {
   17576 
   17577   ;
   17578   return 0;
   17579 }
   17580 _ACEOF
   17581 if ac_fn_c_try_link "$LINENO"; then :
   17582   eval $cacheid=yes
   17583 else
   17584   eval $cacheid=no
   17585 fi
   17586 rm -f core conftest.err conftest.$ac_objext \
   17587     conftest$ac_exeext conftest.$ac_ext
   17588 fi
   17589 
   17590 
   17591 		CFLAGS="$xorg_testset_save_CFLAGS"
   17592 
   17593 		eval supported=\$$cacheid
   17594 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17595 $as_echo "$supported" >&6; }
   17596 		if test "$supported" = "yes" ; then
   17597 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17598 			found="yes"
   17599 		fi
   17600 	fi
   17601 
   17602 
   17603 
   17604 if test "x$STRICT_COMPILE" = "xyes"; then
   17605     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17606     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17607 fi
   17608 
   17609 
   17610 
   17611 
   17612 
   17613 
   17614 cat >>confdefs.h <<_ACEOF
   17615 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17616 _ACEOF
   17617 
   17618 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17619 	if test "x$PVM" = "x"; then
   17620 		PVM="0"
   17621 	fi
   17622 
   17623 cat >>confdefs.h <<_ACEOF
   17624 #define PACKAGE_VERSION_MINOR $PVM
   17625 _ACEOF
   17626 
   17627 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17628 	if test "x$PVP" = "x"; then
   17629 		PVP="0"
   17630 	fi
   17631 
   17632 cat >>confdefs.h <<_ACEOF
   17633 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17634 _ACEOF
   17635 
   17636 
   17637 
   17638 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17639 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17640 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17641 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17642 
   17643 
   17644 
   17645 
   17646 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17647 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17648 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17649 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17650 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17651 
   17652 
   17653 
   17654 
   17655 
   17656 
   17657 if test x$APP_MAN_SUFFIX = x    ; then
   17658     APP_MAN_SUFFIX=1
   17659 fi
   17660 if test x$APP_MAN_DIR = x    ; then
   17661     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17662 fi
   17663 
   17664 if test x$LIB_MAN_SUFFIX = x    ; then
   17665     LIB_MAN_SUFFIX=3
   17666 fi
   17667 if test x$LIB_MAN_DIR = x    ; then
   17668     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17669 fi
   17670 
   17671 if test x$FILE_MAN_SUFFIX = x    ; then
   17672     case $host_os in
   17673 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17674 	*)		FILE_MAN_SUFFIX=5  ;;
   17675     esac
   17676 fi
   17677 if test x$FILE_MAN_DIR = x    ; then
   17678     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17679 fi
   17680 
   17681 if test x$MISC_MAN_SUFFIX = x    ; then
   17682     case $host_os in
   17683 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17684 	*)		MISC_MAN_SUFFIX=7  ;;
   17685     esac
   17686 fi
   17687 if test x$MISC_MAN_DIR = x    ; then
   17688     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17689 fi
   17690 
   17691 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17692     case $host_os in
   17693 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17694 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17695     esac
   17696 fi
   17697 if test x$DRIVER_MAN_DIR = x    ; then
   17698     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17699 fi
   17700 
   17701 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17702     case $host_os in
   17703 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17704 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17705     esac
   17706 fi
   17707 if test x$ADMIN_MAN_DIR = x    ; then
   17708     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17709 fi
   17710 
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 XORG_MAN_PAGE="X Version 11"
   17726 
   17727 MAN_SUBSTS="\
   17728 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17729 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17730 	-e 's|__xservername__|Xorg|g' \
   17731 	-e 's|__xconfigfile__|xorg.conf|g' \
   17732 	-e 's|__projectroot__|\$(prefix)|g' \
   17733 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17734 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17735 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17736 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17737 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17738 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17739 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17740 
   17741 
   17742 
   17743 # Check whether --enable-silent-rules was given.
   17744 if test "${enable_silent_rules+set}" = set; then :
   17745   enableval=$enable_silent_rules;
   17746 fi
   17747 
   17748 case $enable_silent_rules in # (((
   17749   yes) AM_DEFAULT_VERBOSITY=0;;
   17750    no) AM_DEFAULT_VERBOSITY=1;;
   17751     *) AM_DEFAULT_VERBOSITY=0;;
   17752 esac
   17753 am_make=${MAKE-make}
   17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17755 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17756 if ${am_cv_make_support_nested_variables+:} false; then :
   17757   $as_echo_n "(cached) " >&6
   17758 else
   17759   if $as_echo 'TRUE=$(BAR$(V))
   17760 BAR0=false
   17761 BAR1=true
   17762 V=1
   17763 am__doit:
   17764 	@$(TRUE)
   17765 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17766   am_cv_make_support_nested_variables=yes
   17767 else
   17768   am_cv_make_support_nested_variables=no
   17769 fi
   17770 fi
   17771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17772 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17773 if test $am_cv_make_support_nested_variables = yes; then
   17774     AM_V='$(V)'
   17775   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17776 else
   17777   AM_V=$AM_DEFAULT_VERBOSITY
   17778   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17779 fi
   17780 AM_BACKSLASH='\'
   17781 
   17782 
   17783 
   17784 # Obtain compiler/linker options from server and required extensions
   17785 
   17786 pkg_failed=no
   17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   17788 $as_echo_n "checking for XORG... " >&6; }
   17789 
   17790 if test -n "$XORG_CFLAGS"; then
   17791     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   17792  elif test -n "$PKG_CONFIG"; then
   17793     if test -n "$PKG_CONFIG" && \
   17794     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.4 xproto inputproto\""; } >&5
   17795   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.4 xproto inputproto") 2>&5
   17796   ac_status=$?
   17797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17798   test $ac_status = 0; }; then
   17799   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.4 xproto inputproto" 2>/dev/null`
   17800 		      test "x$?" != "x0" && pkg_failed=yes
   17801 else
   17802   pkg_failed=yes
   17803 fi
   17804  else
   17805     pkg_failed=untried
   17806 fi
   17807 if test -n "$XORG_LIBS"; then
   17808     pkg_cv_XORG_LIBS="$XORG_LIBS"
   17809  elif test -n "$PKG_CONFIG"; then
   17810     if test -n "$PKG_CONFIG" && \
   17811     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.4 xproto inputproto\""; } >&5
   17812   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.4 xproto inputproto") 2>&5
   17813   ac_status=$?
   17814   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17815   test $ac_status = 0; }; then
   17816   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.4 xproto inputproto" 2>/dev/null`
   17817 		      test "x$?" != "x0" && pkg_failed=yes
   17818 else
   17819   pkg_failed=yes
   17820 fi
   17821  else
   17822     pkg_failed=untried
   17823 fi
   17824 
   17825 
   17826 
   17827 if test $pkg_failed = yes; then
   17828    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17829 $as_echo "no" >&6; }
   17830 
   17831 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17832         _pkg_short_errors_supported=yes
   17833 else
   17834         _pkg_short_errors_supported=no
   17835 fi
   17836         if test $_pkg_short_errors_supported = yes; then
   17837 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.4 xproto inputproto" 2>&1`
   17838         else
   17839 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.4 xproto inputproto" 2>&1`
   17840         fi
   17841 	# Put the nasty error message in config.log where it belongs
   17842 	echo "$XORG_PKG_ERRORS" >&5
   17843 
   17844 	as_fn_error $? "Package requirements (xorg-server >= 1.4 xproto inputproto) were not met:
   17845 
   17846 $XORG_PKG_ERRORS
   17847 
   17848 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17849 installed software in a non-standard prefix.
   17850 
   17851 Alternatively, you may set the environment variables XORG_CFLAGS
   17852 and XORG_LIBS to avoid the need to call pkg-config.
   17853 See the pkg-config man page for more details." "$LINENO" 5
   17854 elif test $pkg_failed = untried; then
   17855      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17856 $as_echo "no" >&6; }
   17857 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17858 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17859 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17860 is in your PATH or set the PKG_CONFIG environment variable to the full
   17861 path to pkg-config.
   17862 
   17863 Alternatively, you may set the environment variables XORG_CFLAGS
   17864 and XORG_LIBS to avoid the need to call pkg-config.
   17865 See the pkg-config man page for more details.
   17866 
   17867 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17868 See \`config.log' for more details" "$LINENO" 5; }
   17869 else
   17870 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   17871 	XORG_LIBS=$pkg_cv_XORG_LIBS
   17872         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17873 $as_echo "yes" >&6; }
   17874 
   17875 fi
   17876 
   17877 # Define a configure option for an alternate input module directory
   17878 
   17879 # Check whether --with-xorg-module-dir was given.
   17880 if test "${with_xorg_module_dir+set}" = set; then :
   17881   withval=$with_xorg_module_dir; moduledir="$withval"
   17882 else
   17883   moduledir="$libdir/xorg/modules"
   17884 fi
   17885 
   17886 inputdir=${moduledir}/input
   17887 
   17888 
   17889 # The keyboard driver code is O/S specific
   17890 case $host_os in
   17891   linux*)
   17892     IS_LINUX="yes"
   17893     ;;
   17894 
   17895   freebsd* | kfreebsd-gnu* | netbsd* | openbsd* | dragonfly*)
   17896     IS_BSD="yes"
   17897     ;;
   17898 
   17899   solaris*)
   17900     IS_SOLARIS="yes"
   17901     ;;
   17902 
   17903   gnu*)
   17904     IS_HURD="yes"
   17905     ;;
   17906 
   17907   *)
   17908     as_fn_error $? "Your operating system is not supported by the kbd driver.
   17909                   Contact xorg@lists.freedesktop.org if you are interested in
   17910                   porting it." "$LINENO" 5
   17911     ;;
   17912 esac
   17913 case $host_os in
   17914   netbsd*)
   17915     case $host in
   17916       *powerpc-*|*sparc-*|*sparc64-*|*vax-*)
   17917         OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
   17918         ;;
   17919     esac
   17920     case "$(uname -m 2>&1)" in
   17921       evbarm|sgimips|shark)
   17922         OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
   17923         ;;
   17924     esac
   17925     ;;
   17926 esac
   17927 
   17928 
   17929  if test "x$IS_LINUX" = xyes; then
   17930   LINUX_TRUE=
   17931   LINUX_FALSE='#'
   17932 else
   17933   LINUX_TRUE='#'
   17934   LINUX_FALSE=
   17935 fi
   17936 
   17937  if test "x$IS_BSD" = xyes; then
   17938   BSD_TRUE=
   17939   BSD_FALSE='#'
   17940 else
   17941   BSD_TRUE='#'
   17942   BSD_FALSE=
   17943 fi
   17944 
   17945  if test "x$IS_SOLARIS" = xyes; then
   17946   SOLARIS_TRUE=
   17947   SOLARIS_FALSE='#'
   17948 else
   17949   SOLARIS_TRUE='#'
   17950   SOLARIS_FALSE=
   17951 fi
   17952 
   17953  if test "x$IS_HURD" = xyes; then
   17954   HURD_TRUE=
   17955   HURD_FALSE='#'
   17956 else
   17957   HURD_TRUE='#'
   17958   HURD_FALSE=
   17959 fi
   17960 
   17961 
   17962 DRIVER_NAME=kbd
   17963 
   17964 
   17965 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   17966 
   17967 cat >confcache <<\_ACEOF
   17968 # This file is a shell script that caches the results of configure
   17969 # tests run on this system so they can be shared between configure
   17970 # scripts and configure runs, see configure's option --config-cache.
   17971 # It is not useful on other systems.  If it contains results you don't
   17972 # want to keep, you may remove or edit it.
   17973 #
   17974 # config.status only pays attention to the cache file if you give it
   17975 # the --recheck option to rerun configure.
   17976 #
   17977 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17978 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17979 # following values.
   17980 
   17981 _ACEOF
   17982 
   17983 # The following way of writing the cache mishandles newlines in values,
   17984 # but we know of no workaround that is simple, portable, and efficient.
   17985 # So, we kill variables containing newlines.
   17986 # Ultrix sh set writes to stderr and can't be redirected directly,
   17987 # and sets the high bit in the cache file unless we assign to the vars.
   17988 (
   17989   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17990     eval ac_val=\$$ac_var
   17991     case $ac_val in #(
   17992     *${as_nl}*)
   17993       case $ac_var in #(
   17994       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17995 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17996       esac
   17997       case $ac_var in #(
   17998       _ | IFS | as_nl) ;; #(
   17999       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18000       *) { eval $ac_var=; unset $ac_var;} ;;
   18001       esac ;;
   18002     esac
   18003   done
   18004 
   18005   (set) 2>&1 |
   18006     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18007     *${as_nl}ac_space=\ *)
   18008       # `set' does not quote correctly, so add quotes: double-quote
   18009       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18010       sed -n \
   18011 	"s/'/'\\\\''/g;
   18012 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18013       ;; #(
   18014     *)
   18015       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18016       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18017       ;;
   18018     esac |
   18019     sort
   18020 ) |
   18021   sed '
   18022      /^ac_cv_env_/b end
   18023      t clear
   18024      :clear
   18025      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18026      t end
   18027      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18028      :end' >>confcache
   18029 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18030   if test -w "$cache_file"; then
   18031     if test "x$cache_file" != "x/dev/null"; then
   18032       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18033 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18034       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18035 	cat confcache >"$cache_file"
   18036       else
   18037         case $cache_file in #(
   18038         */* | ?:*)
   18039 	  mv -f confcache "$cache_file"$$ &&
   18040 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18041         *)
   18042 	  mv -f confcache "$cache_file" ;;
   18043 	esac
   18044       fi
   18045     fi
   18046   else
   18047     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18048 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18049   fi
   18050 fi
   18051 rm -f confcache
   18052 
   18053 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18054 # Let make expand exec_prefix.
   18055 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18056 
   18057 DEFS=-DHAVE_CONFIG_H
   18058 
   18059 ac_libobjs=
   18060 ac_ltlibobjs=
   18061 U=
   18062 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18063   # 1. Remove the extension, and $U if already installed.
   18064   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18065   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18066   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18067   #    will be set to the directory where LIBOBJS objects are built.
   18068   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18069   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18070 done
   18071 LIBOBJS=$ac_libobjs
   18072 
   18073 LTLIBOBJS=$ac_ltlibobjs
   18074 
   18075 
   18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18077 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18078    if test -n "$am_sleep_pid"; then
   18079      # Hide warnings about reused PIDs.
   18080      wait $am_sleep_pid 2>/dev/null
   18081    fi
   18082    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18083 $as_echo "done" >&6; }
   18084  if test -n "$EXEEXT"; then
   18085   am__EXEEXT_TRUE=
   18086   am__EXEEXT_FALSE='#'
   18087 else
   18088   am__EXEEXT_TRUE='#'
   18089   am__EXEEXT_FALSE=
   18090 fi
   18091 
   18092 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18093   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18095 fi
   18096 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18097   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18099 fi
   18100 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
   18101   as_fn_error $? "conditional \"LINUX\" was never defined.
   18102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18103 fi
   18104 if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then
   18105   as_fn_error $? "conditional \"BSD\" was never defined.
   18106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18107 fi
   18108 if test -z "${SOLARIS_TRUE}" && test -z "${SOLARIS_FALSE}"; then
   18109   as_fn_error $? "conditional \"SOLARIS\" was never defined.
   18110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18111 fi
   18112 if test -z "${HURD_TRUE}" && test -z "${HURD_FALSE}"; then
   18113   as_fn_error $? "conditional \"HURD\" was never defined.
   18114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18115 fi
   18116 
   18117 : "${CONFIG_STATUS=./config.status}"
   18118 ac_write_fail=0
   18119 ac_clean_files_save=$ac_clean_files
   18120 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18121 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18122 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18123 as_write_fail=0
   18124 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18125 #! $SHELL
   18126 # Generated by $as_me.
   18127 # Run this file to recreate the current configuration.
   18128 # Compiler output produced by configure, useful for debugging
   18129 # configure, is in config.log if it exists.
   18130 
   18131 debug=false
   18132 ac_cs_recheck=false
   18133 ac_cs_silent=false
   18134 
   18135 SHELL=\${CONFIG_SHELL-$SHELL}
   18136 export SHELL
   18137 _ASEOF
   18138 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18139 ## -------------------- ##
   18140 ## M4sh Initialization. ##
   18141 ## -------------------- ##
   18142 
   18143 # Be more Bourne compatible
   18144 DUALCASE=1; export DUALCASE # for MKS sh
   18145 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18146   emulate sh
   18147   NULLCMD=:
   18148   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18149   # is contrary to our usage.  Disable this feature.
   18150   alias -g '${1+"$@"}'='"$@"'
   18151   setopt NO_GLOB_SUBST
   18152 else
   18153   case `(set -o) 2>/dev/null` in #(
   18154   *posix*) :
   18155     set -o posix ;; #(
   18156   *) :
   18157      ;;
   18158 esac
   18159 fi
   18160 
   18161 
   18162 as_nl='
   18163 '
   18164 export as_nl
   18165 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18166 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18167 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18168 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18169 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18170 # but without wasting forks for bash or zsh.
   18171 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18172     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18173   as_echo='print -r --'
   18174   as_echo_n='print -rn --'
   18175 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18176   as_echo='printf %s\n'
   18177   as_echo_n='printf %s'
   18178 else
   18179   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18180     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18181     as_echo_n='/usr/ucb/echo -n'
   18182   else
   18183     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18184     as_echo_n_body='eval
   18185       arg=$1;
   18186       case $arg in #(
   18187       *"$as_nl"*)
   18188 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18189 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18190       esac;
   18191       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18192     '
   18193     export as_echo_n_body
   18194     as_echo_n='sh -c $as_echo_n_body as_echo'
   18195   fi
   18196   export as_echo_body
   18197   as_echo='sh -c $as_echo_body as_echo'
   18198 fi
   18199 
   18200 # The user is always right.
   18201 if test "${PATH_SEPARATOR+set}" != set; then
   18202   PATH_SEPARATOR=:
   18203   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18204     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18205       PATH_SEPARATOR=';'
   18206   }
   18207 fi
   18208 
   18209 
   18210 # IFS
   18211 # We need space, tab and new line, in precisely that order.  Quoting is
   18212 # there to prevent editors from complaining about space-tab.
   18213 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18214 # splitting by setting IFS to empty value.)
   18215 IFS=" ""	$as_nl"
   18216 
   18217 # Find who we are.  Look in the path if we contain no directory separator.
   18218 as_myself=
   18219 case $0 in #((
   18220   *[\\/]* ) as_myself=$0 ;;
   18221   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18222 for as_dir in $PATH
   18223 do
   18224   IFS=$as_save_IFS
   18225   test -z "$as_dir" && as_dir=.
   18226     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18227   done
   18228 IFS=$as_save_IFS
   18229 
   18230      ;;
   18231 esac
   18232 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18233 # in which case we are not to be found in the path.
   18234 if test "x$as_myself" = x; then
   18235   as_myself=$0
   18236 fi
   18237 if test ! -f "$as_myself"; then
   18238   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18239   exit 1
   18240 fi
   18241 
   18242 # Unset variables that we do not need and which cause bugs (e.g. in
   18243 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18244 # suppresses any "Segmentation fault" message there.  '((' could
   18245 # trigger a bug in pdksh 5.2.14.
   18246 for as_var in BASH_ENV ENV MAIL MAILPATH
   18247 do eval test x\${$as_var+set} = xset \
   18248   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18249 done
   18250 PS1='$ '
   18251 PS2='> '
   18252 PS4='+ '
   18253 
   18254 # NLS nuisances.
   18255 LC_ALL=C
   18256 export LC_ALL
   18257 LANGUAGE=C
   18258 export LANGUAGE
   18259 
   18260 # CDPATH.
   18261 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18262 
   18263 
   18264 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18265 # ----------------------------------------
   18266 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18267 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18268 # script with STATUS, using 1 if that was 0.
   18269 as_fn_error ()
   18270 {
   18271   as_status=$1; test $as_status -eq 0 && as_status=1
   18272   if test "$4"; then
   18273     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18274     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18275   fi
   18276   $as_echo "$as_me: error: $2" >&2
   18277   as_fn_exit $as_status
   18278 } # as_fn_error
   18279 
   18280 
   18281 # as_fn_set_status STATUS
   18282 # -----------------------
   18283 # Set $? to STATUS, without forking.
   18284 as_fn_set_status ()
   18285 {
   18286   return $1
   18287 } # as_fn_set_status
   18288 
   18289 # as_fn_exit STATUS
   18290 # -----------------
   18291 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18292 as_fn_exit ()
   18293 {
   18294   set +e
   18295   as_fn_set_status $1
   18296   exit $1
   18297 } # as_fn_exit
   18298 
   18299 # as_fn_unset VAR
   18300 # ---------------
   18301 # Portably unset VAR.
   18302 as_fn_unset ()
   18303 {
   18304   { eval $1=; unset $1;}
   18305 }
   18306 as_unset=as_fn_unset
   18307 # as_fn_append VAR VALUE
   18308 # ----------------------
   18309 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18310 # advantage of any shell optimizations that allow amortized linear growth over
   18311 # repeated appends, instead of the typical quadratic growth present in naive
   18312 # implementations.
   18313 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18314   eval 'as_fn_append ()
   18315   {
   18316     eval $1+=\$2
   18317   }'
   18318 else
   18319   as_fn_append ()
   18320   {
   18321     eval $1=\$$1\$2
   18322   }
   18323 fi # as_fn_append
   18324 
   18325 # as_fn_arith ARG...
   18326 # ------------------
   18327 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18328 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18329 # must be portable across $(()) and expr.
   18330 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18331   eval 'as_fn_arith ()
   18332   {
   18333     as_val=$(( $* ))
   18334   }'
   18335 else
   18336   as_fn_arith ()
   18337   {
   18338     as_val=`expr "$@" || test $? -eq 1`
   18339   }
   18340 fi # as_fn_arith
   18341 
   18342 
   18343 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18344    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18345   as_expr=expr
   18346 else
   18347   as_expr=false
   18348 fi
   18349 
   18350 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18351   as_basename=basename
   18352 else
   18353   as_basename=false
   18354 fi
   18355 
   18356 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18357   as_dirname=dirname
   18358 else
   18359   as_dirname=false
   18360 fi
   18361 
   18362 as_me=`$as_basename -- "$0" ||
   18363 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18364 	 X"$0" : 'X\(//\)$' \| \
   18365 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18366 $as_echo X/"$0" |
   18367     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18368 	    s//\1/
   18369 	    q
   18370 	  }
   18371 	  /^X\/\(\/\/\)$/{
   18372 	    s//\1/
   18373 	    q
   18374 	  }
   18375 	  /^X\/\(\/\).*/{
   18376 	    s//\1/
   18377 	    q
   18378 	  }
   18379 	  s/.*/./; q'`
   18380 
   18381 # Avoid depending upon Character Ranges.
   18382 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18383 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18384 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18385 as_cr_digits='0123456789'
   18386 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18387 
   18388 ECHO_C= ECHO_N= ECHO_T=
   18389 case `echo -n x` in #(((((
   18390 -n*)
   18391   case `echo 'xy\c'` in
   18392   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18393   xy)  ECHO_C='\c';;
   18394   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18395        ECHO_T='	';;
   18396   esac;;
   18397 *)
   18398   ECHO_N='-n';;
   18399 esac
   18400 
   18401 rm -f conf$$ conf$$.exe conf$$.file
   18402 if test -d conf$$.dir; then
   18403   rm -f conf$$.dir/conf$$.file
   18404 else
   18405   rm -f conf$$.dir
   18406   mkdir conf$$.dir 2>/dev/null
   18407 fi
   18408 if (echo >conf$$.file) 2>/dev/null; then
   18409   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18410     as_ln_s='ln -s'
   18411     # ... but there are two gotchas:
   18412     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18413     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18414     # In both cases, we have to default to `cp -pR'.
   18415     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18416       as_ln_s='cp -pR'
   18417   elif ln conf$$.file conf$$ 2>/dev/null; then
   18418     as_ln_s=ln
   18419   else
   18420     as_ln_s='cp -pR'
   18421   fi
   18422 else
   18423   as_ln_s='cp -pR'
   18424 fi
   18425 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18426 rmdir conf$$.dir 2>/dev/null
   18427 
   18428 
   18429 # as_fn_mkdir_p
   18430 # -------------
   18431 # Create "$as_dir" as a directory, including parents if necessary.
   18432 as_fn_mkdir_p ()
   18433 {
   18434 
   18435   case $as_dir in #(
   18436   -*) as_dir=./$as_dir;;
   18437   esac
   18438   test -d "$as_dir" || eval $as_mkdir_p || {
   18439     as_dirs=
   18440     while :; do
   18441       case $as_dir in #(
   18442       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18443       *) as_qdir=$as_dir;;
   18444       esac
   18445       as_dirs="'$as_qdir' $as_dirs"
   18446       as_dir=`$as_dirname -- "$as_dir" ||
   18447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18448 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18449 	 X"$as_dir" : 'X\(//\)$' \| \
   18450 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18451 $as_echo X"$as_dir" |
   18452     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18453 	    s//\1/
   18454 	    q
   18455 	  }
   18456 	  /^X\(\/\/\)[^/].*/{
   18457 	    s//\1/
   18458 	    q
   18459 	  }
   18460 	  /^X\(\/\/\)$/{
   18461 	    s//\1/
   18462 	    q
   18463 	  }
   18464 	  /^X\(\/\).*/{
   18465 	    s//\1/
   18466 	    q
   18467 	  }
   18468 	  s/.*/./; q'`
   18469       test -d "$as_dir" && break
   18470     done
   18471     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18472   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18473 
   18474 
   18475 } # as_fn_mkdir_p
   18476 if mkdir -p . 2>/dev/null; then
   18477   as_mkdir_p='mkdir -p "$as_dir"'
   18478 else
   18479   test -d ./-p && rmdir ./-p
   18480   as_mkdir_p=false
   18481 fi
   18482 
   18483 
   18484 # as_fn_executable_p FILE
   18485 # -----------------------
   18486 # Test if FILE is an executable regular file.
   18487 as_fn_executable_p ()
   18488 {
   18489   test -f "$1" && test -x "$1"
   18490 } # as_fn_executable_p
   18491 as_test_x='test -x'
   18492 as_executable_p=as_fn_executable_p
   18493 
   18494 # Sed expression to map a string onto a valid CPP name.
   18495 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18496 
   18497 # Sed expression to map a string onto a valid variable name.
   18498 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18499 
   18500 
   18501 exec 6>&1
   18502 ## ----------------------------------- ##
   18503 ## Main body of $CONFIG_STATUS script. ##
   18504 ## ----------------------------------- ##
   18505 _ASEOF
   18506 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18507 
   18508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18509 # Save the log message, to keep $0 and so on meaningful, and to
   18510 # report actual input values of CONFIG_FILES etc. instead of their
   18511 # values after options handling.
   18512 ac_log="
   18513 This file was extended by xf86-input-keyboard $as_me 1.8.1, which was
   18514 generated by GNU Autoconf 2.69.  Invocation command line was
   18515 
   18516   CONFIG_FILES    = $CONFIG_FILES
   18517   CONFIG_HEADERS  = $CONFIG_HEADERS
   18518   CONFIG_LINKS    = $CONFIG_LINKS
   18519   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18520   $ $0 $@
   18521 
   18522 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18523 "
   18524 
   18525 _ACEOF
   18526 
   18527 case $ac_config_files in *"
   18528 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18529 esac
   18530 
   18531 case $ac_config_headers in *"
   18532 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18533 esac
   18534 
   18535 
   18536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18537 # Files that config.status was made for.
   18538 config_files="$ac_config_files"
   18539 config_headers="$ac_config_headers"
   18540 config_commands="$ac_config_commands"
   18541 
   18542 _ACEOF
   18543 
   18544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18545 ac_cs_usage="\
   18546 \`$as_me' instantiates files and other configuration actions
   18547 from templates according to the current configuration.  Unless the files
   18548 and actions are specified as TAGs, all are instantiated by default.
   18549 
   18550 Usage: $0 [OPTION]... [TAG]...
   18551 
   18552   -h, --help       print this help, then exit
   18553   -V, --version    print version number and configuration settings, then exit
   18554       --config     print configuration, then exit
   18555   -q, --quiet, --silent
   18556                    do not print progress messages
   18557   -d, --debug      don't remove temporary files
   18558       --recheck    update $as_me by reconfiguring in the same conditions
   18559       --file=FILE[:TEMPLATE]
   18560                    instantiate the configuration file FILE
   18561       --header=FILE[:TEMPLATE]
   18562                    instantiate the configuration header FILE
   18563 
   18564 Configuration files:
   18565 $config_files
   18566 
   18567 Configuration headers:
   18568 $config_headers
   18569 
   18570 Configuration commands:
   18571 $config_commands
   18572 
   18573 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18574 
   18575 _ACEOF
   18576 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18577 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18578 ac_cs_version="\\
   18579 xf86-input-keyboard config.status 1.8.1
   18580 configured by $0, generated by GNU Autoconf 2.69,
   18581   with options \\"\$ac_cs_config\\"
   18582 
   18583 Copyright (C) 2012 Free Software Foundation, Inc.
   18584 This config.status script is free software; the Free Software Foundation
   18585 gives unlimited permission to copy, distribute and modify it."
   18586 
   18587 ac_pwd='$ac_pwd'
   18588 srcdir='$srcdir'
   18589 INSTALL='$INSTALL'
   18590 MKDIR_P='$MKDIR_P'
   18591 AWK='$AWK'
   18592 test -n "\$AWK" || AWK=awk
   18593 _ACEOF
   18594 
   18595 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18596 # The default lists apply if the user does not specify any file.
   18597 ac_need_defaults=:
   18598 while test $# != 0
   18599 do
   18600   case $1 in
   18601   --*=?*)
   18602     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18603     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18604     ac_shift=:
   18605     ;;
   18606   --*=)
   18607     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18608     ac_optarg=
   18609     ac_shift=:
   18610     ;;
   18611   *)
   18612     ac_option=$1
   18613     ac_optarg=$2
   18614     ac_shift=shift
   18615     ;;
   18616   esac
   18617 
   18618   case $ac_option in
   18619   # Handling of the options.
   18620   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18621     ac_cs_recheck=: ;;
   18622   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18623     $as_echo "$ac_cs_version"; exit ;;
   18624   --config | --confi | --conf | --con | --co | --c )
   18625     $as_echo "$ac_cs_config"; exit ;;
   18626   --debug | --debu | --deb | --de | --d | -d )
   18627     debug=: ;;
   18628   --file | --fil | --fi | --f )
   18629     $ac_shift
   18630     case $ac_optarg in
   18631     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18632     '') as_fn_error $? "missing file argument" ;;
   18633     esac
   18634     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18635     ac_need_defaults=false;;
   18636   --header | --heade | --head | --hea )
   18637     $ac_shift
   18638     case $ac_optarg in
   18639     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18640     esac
   18641     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18642     ac_need_defaults=false;;
   18643   --he | --h)
   18644     # Conflict between --help and --header
   18645     as_fn_error $? "ambiguous option: \`$1'
   18646 Try \`$0 --help' for more information.";;
   18647   --help | --hel | -h )
   18648     $as_echo "$ac_cs_usage"; exit ;;
   18649   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18650   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18651     ac_cs_silent=: ;;
   18652 
   18653   # This is an error.
   18654   -*) as_fn_error $? "unrecognized option: \`$1'
   18655 Try \`$0 --help' for more information." ;;
   18656 
   18657   *) as_fn_append ac_config_targets " $1"
   18658      ac_need_defaults=false ;;
   18659 
   18660   esac
   18661   shift
   18662 done
   18663 
   18664 ac_configure_extra_args=
   18665 
   18666 if $ac_cs_silent; then
   18667   exec 6>/dev/null
   18668   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18669 fi
   18670 
   18671 _ACEOF
   18672 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18673 if \$ac_cs_recheck; then
   18674   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18675   shift
   18676   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18677   CONFIG_SHELL='$SHELL'
   18678   export CONFIG_SHELL
   18679   exec "\$@"
   18680 fi
   18681 
   18682 _ACEOF
   18683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18684 exec 5>>config.log
   18685 {
   18686   echo
   18687   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18688 ## Running $as_me. ##
   18689 _ASBOX
   18690   $as_echo "$ac_log"
   18691 } >&5
   18692 
   18693 _ACEOF
   18694 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18695 #
   18696 # INIT-COMMANDS
   18697 #
   18698 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18699 
   18700 
   18701 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18702 # if CDPATH is set.
   18703 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18704 
   18705 sed_quote_subst='$sed_quote_subst'
   18706 double_quote_subst='$double_quote_subst'
   18707 delay_variable_subst='$delay_variable_subst'
   18708 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18709 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18710 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18711 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18712 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18713 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18714 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18715 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18716 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18717 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18718 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18719 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18720 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18721 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18722 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18723 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18724 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18725 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18726 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18727 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18728 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18729 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18730 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18731 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18732 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18733 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18734 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18735 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18736 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18737 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18738 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18739 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18740 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18741 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18742 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18743 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18744 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18745 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18746 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18747 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18748 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18749 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18750 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18751 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18752 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18753 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18754 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18755 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18756 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18757 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18758 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18759 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18760 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18761 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18762 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18763 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18764 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"`'
   18765 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18766 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18767 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18768 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18769 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18770 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18771 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18772 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18773 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18774 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18775 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18776 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18777 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18778 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18779 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18780 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18781 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18782 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18783 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18784 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18785 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18786 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18787 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18788 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18789 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18790 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18791 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18792 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18793 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18794 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18795 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18796 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18797 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18798 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18799 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18800 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18801 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18802 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18803 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18804 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18805 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18806 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18807 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18808 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18809 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18810 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18811 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18812 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18813 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18814 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18815 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18816 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18817 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18818 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18819 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18820 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18821 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18822 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18823 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18824 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18825 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18826 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18827 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18828 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18829 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18830 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18831 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18832 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18833 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18834 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18835 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18836 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18837 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18838 
   18839 LTCC='$LTCC'
   18840 LTCFLAGS='$LTCFLAGS'
   18841 compiler='$compiler_DEFAULT'
   18842 
   18843 # A function that is used when there is no print builtin or printf.
   18844 func_fallback_echo ()
   18845 {
   18846   eval 'cat <<_LTECHO_EOF
   18847 \$1
   18848 _LTECHO_EOF'
   18849 }
   18850 
   18851 # Quote evaled strings.
   18852 for var in SHELL \
   18853 ECHO \
   18854 PATH_SEPARATOR \
   18855 SED \
   18856 GREP \
   18857 EGREP \
   18858 FGREP \
   18859 LD \
   18860 NM \
   18861 LN_S \
   18862 lt_SP2NL \
   18863 lt_NL2SP \
   18864 reload_flag \
   18865 OBJDUMP \
   18866 deplibs_check_method \
   18867 file_magic_cmd \
   18868 file_magic_glob \
   18869 want_nocaseglob \
   18870 DLLTOOL \
   18871 sharedlib_from_linklib_cmd \
   18872 AR \
   18873 AR_FLAGS \
   18874 archiver_list_spec \
   18875 STRIP \
   18876 RANLIB \
   18877 CC \
   18878 CFLAGS \
   18879 compiler \
   18880 lt_cv_sys_global_symbol_pipe \
   18881 lt_cv_sys_global_symbol_to_cdecl \
   18882 lt_cv_sys_global_symbol_to_c_name_address \
   18883 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18884 nm_file_list_spec \
   18885 lt_prog_compiler_no_builtin_flag \
   18886 lt_prog_compiler_pic \
   18887 lt_prog_compiler_wl \
   18888 lt_prog_compiler_static \
   18889 lt_cv_prog_compiler_c_o \
   18890 need_locks \
   18891 MANIFEST_TOOL \
   18892 DSYMUTIL \
   18893 NMEDIT \
   18894 LIPO \
   18895 OTOOL \
   18896 OTOOL64 \
   18897 shrext_cmds \
   18898 export_dynamic_flag_spec \
   18899 whole_archive_flag_spec \
   18900 compiler_needs_object \
   18901 with_gnu_ld \
   18902 allow_undefined_flag \
   18903 no_undefined_flag \
   18904 hardcode_libdir_flag_spec \
   18905 hardcode_libdir_separator \
   18906 exclude_expsyms \
   18907 include_expsyms \
   18908 file_list_spec \
   18909 variables_saved_for_relink \
   18910 libname_spec \
   18911 library_names_spec \
   18912 soname_spec \
   18913 install_override_mode \
   18914 finish_eval \
   18915 old_striplib \
   18916 striplib; do
   18917     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18918     *[\\\\\\\`\\"\\\$]*)
   18919       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18920       ;;
   18921     *)
   18922       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18923       ;;
   18924     esac
   18925 done
   18926 
   18927 # Double-quote double-evaled strings.
   18928 for var in reload_cmds \
   18929 old_postinstall_cmds \
   18930 old_postuninstall_cmds \
   18931 old_archive_cmds \
   18932 extract_expsyms_cmds \
   18933 old_archive_from_new_cmds \
   18934 old_archive_from_expsyms_cmds \
   18935 archive_cmds \
   18936 archive_expsym_cmds \
   18937 module_cmds \
   18938 module_expsym_cmds \
   18939 export_symbols_cmds \
   18940 prelink_cmds \
   18941 postlink_cmds \
   18942 postinstall_cmds \
   18943 postuninstall_cmds \
   18944 finish_cmds \
   18945 sys_lib_search_path_spec \
   18946 sys_lib_dlsearch_path_spec; do
   18947     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18948     *[\\\\\\\`\\"\\\$]*)
   18949       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18950       ;;
   18951     *)
   18952       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18953       ;;
   18954     esac
   18955 done
   18956 
   18957 ac_aux_dir='$ac_aux_dir'
   18958 xsi_shell='$xsi_shell'
   18959 lt_shell_append='$lt_shell_append'
   18960 
   18961 # See if we are running on zsh, and set the options which allow our
   18962 # commands through without removal of \ escapes INIT.
   18963 if test -n "\${ZSH_VERSION+set}" ; then
   18964    setopt NO_GLOB_SUBST
   18965 fi
   18966 
   18967 
   18968     PACKAGE='$PACKAGE'
   18969     VERSION='$VERSION'
   18970     TIMESTAMP='$TIMESTAMP'
   18971     RM='$RM'
   18972     ofile='$ofile'
   18973 
   18974 
   18975 
   18976 
   18977 _ACEOF
   18978 
   18979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18980 
   18981 # Handling of arguments.
   18982 for ac_config_target in $ac_config_targets
   18983 do
   18984   case $ac_config_target in
   18985     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18986     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18987     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18988     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18989     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18990     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18991 
   18992   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18993   esac
   18994 done
   18995 
   18996 
   18997 # If the user did not use the arguments to specify the items to instantiate,
   18998 # then the envvar interface is used.  Set only those that are not.
   18999 # We use the long form for the default assignment because of an extremely
   19000 # bizarre bug on SunOS 4.1.3.
   19001 if $ac_need_defaults; then
   19002   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19003   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19004   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19005 fi
   19006 
   19007 # Have a temporary directory for convenience.  Make it in the build tree
   19008 # simply because there is no reason against having it here, and in addition,
   19009 # creating and moving files from /tmp can sometimes cause problems.
   19010 # Hook for its removal unless debugging.
   19011 # Note that there is a small window in which the directory will not be cleaned:
   19012 # after its creation but before its name has been assigned to `$tmp'.
   19013 $debug ||
   19014 {
   19015   tmp= ac_tmp=
   19016   trap 'exit_status=$?
   19017   : "${ac_tmp:=$tmp}"
   19018   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19019 ' 0
   19020   trap 'as_fn_exit 1' 1 2 13 15
   19021 }
   19022 # Create a (secure) tmp directory for tmp files.
   19023 
   19024 {
   19025   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19026   test -d "$tmp"
   19027 }  ||
   19028 {
   19029   tmp=./conf$$-$RANDOM
   19030   (umask 077 && mkdir "$tmp")
   19031 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19032 ac_tmp=$tmp
   19033 
   19034 # Set up the scripts for CONFIG_FILES section.
   19035 # No need to generate them if there are no CONFIG_FILES.
   19036 # This happens for instance with `./config.status config.h'.
   19037 if test -n "$CONFIG_FILES"; then
   19038 
   19039 
   19040 ac_cr=`echo X | tr X '\015'`
   19041 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19042 # But we know of no other shell where ac_cr would be empty at this
   19043 # point, so we can use a bashism as a fallback.
   19044 if test "x$ac_cr" = x; then
   19045   eval ac_cr=\$\'\\r\'
   19046 fi
   19047 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19048 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19049   ac_cs_awk_cr='\\r'
   19050 else
   19051   ac_cs_awk_cr=$ac_cr
   19052 fi
   19053 
   19054 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19055 _ACEOF
   19056 
   19057 
   19058 {
   19059   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19060   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19061   echo "_ACEOF"
   19062 } >conf$$subs.sh ||
   19063   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19064 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19065 ac_delim='%!_!# '
   19066 for ac_last_try in false false false false false :; do
   19067   . ./conf$$subs.sh ||
   19068     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19069 
   19070   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19071   if test $ac_delim_n = $ac_delim_num; then
   19072     break
   19073   elif $ac_last_try; then
   19074     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19075   else
   19076     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19077   fi
   19078 done
   19079 rm -f conf$$subs.sh
   19080 
   19081 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19082 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19083 _ACEOF
   19084 sed -n '
   19085 h
   19086 s/^/S["/; s/!.*/"]=/
   19087 p
   19088 g
   19089 s/^[^!]*!//
   19090 :repl
   19091 t repl
   19092 s/'"$ac_delim"'$//
   19093 t delim
   19094 :nl
   19095 h
   19096 s/\(.\{148\}\)..*/\1/
   19097 t more1
   19098 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19099 p
   19100 n
   19101 b repl
   19102 :more1
   19103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19104 p
   19105 g
   19106 s/.\{148\}//
   19107 t nl
   19108 :delim
   19109 h
   19110 s/\(.\{148\}\)..*/\1/
   19111 t more2
   19112 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19113 p
   19114 b
   19115 :more2
   19116 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19117 p
   19118 g
   19119 s/.\{148\}//
   19120 t delim
   19121 ' <conf$$subs.awk | sed '
   19122 /^[^""]/{
   19123   N
   19124   s/\n//
   19125 }
   19126 ' >>$CONFIG_STATUS || ac_write_fail=1
   19127 rm -f conf$$subs.awk
   19128 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19129 _ACAWK
   19130 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19131   for (key in S) S_is_set[key] = 1
   19132   FS = ""
   19133 
   19134 }
   19135 {
   19136   line = $ 0
   19137   nfields = split(line, field, "@")
   19138   substed = 0
   19139   len = length(field[1])
   19140   for (i = 2; i < nfields; i++) {
   19141     key = field[i]
   19142     keylen = length(key)
   19143     if (S_is_set[key]) {
   19144       value = S[key]
   19145       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19146       len += length(value) + length(field[++i])
   19147       substed = 1
   19148     } else
   19149       len += 1 + keylen
   19150   }
   19151 
   19152   print line
   19153 }
   19154 
   19155 _ACAWK
   19156 _ACEOF
   19157 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19158 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19159   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19160 else
   19161   cat
   19162 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19163   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19164 _ACEOF
   19165 
   19166 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19167 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19168 # trailing colons and then remove the whole line if VPATH becomes empty
   19169 # (actually we leave an empty line to preserve line numbers).
   19170 if test "x$srcdir" = x.; then
   19171   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19172 h
   19173 s///
   19174 s/^/:/
   19175 s/[	 ]*$/:/
   19176 s/:\$(srcdir):/:/g
   19177 s/:\${srcdir}:/:/g
   19178 s/:@srcdir@:/:/g
   19179 s/^:*//
   19180 s/:*$//
   19181 x
   19182 s/\(=[	 ]*\).*/\1/
   19183 G
   19184 s/\n//
   19185 s/^[^=]*=[	 ]*$//
   19186 }'
   19187 fi
   19188 
   19189 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19190 fi # test -n "$CONFIG_FILES"
   19191 
   19192 # Set up the scripts for CONFIG_HEADERS section.
   19193 # No need to generate them if there are no CONFIG_HEADERS.
   19194 # This happens for instance with `./config.status Makefile'.
   19195 if test -n "$CONFIG_HEADERS"; then
   19196 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19197 BEGIN {
   19198 _ACEOF
   19199 
   19200 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19201 # here-document in config.status, that substitutes the proper values into
   19202 # config.h.in to produce config.h.
   19203 
   19204 # Create a delimiter string that does not exist in confdefs.h, to ease
   19205 # handling of long lines.
   19206 ac_delim='%!_!# '
   19207 for ac_last_try in false false :; do
   19208   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19209   if test -z "$ac_tt"; then
   19210     break
   19211   elif $ac_last_try; then
   19212     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19213   else
   19214     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19215   fi
   19216 done
   19217 
   19218 # For the awk script, D is an array of macro values keyed by name,
   19219 # likewise P contains macro parameters if any.  Preserve backslash
   19220 # newline sequences.
   19221 
   19222 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19223 sed -n '
   19224 s/.\{148\}/&'"$ac_delim"'/g
   19225 t rset
   19226 :rset
   19227 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19228 t def
   19229 d
   19230 :def
   19231 s/\\$//
   19232 t bsnl
   19233 s/["\\]/\\&/g
   19234 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19235 D["\1"]=" \3"/p
   19236 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19237 d
   19238 :bsnl
   19239 s/["\\]/\\&/g
   19240 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19241 D["\1"]=" \3\\\\\\n"\\/p
   19242 t cont
   19243 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19244 t cont
   19245 d
   19246 :cont
   19247 n
   19248 s/.\{148\}/&'"$ac_delim"'/g
   19249 t clear
   19250 :clear
   19251 s/\\$//
   19252 t bsnlc
   19253 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19254 d
   19255 :bsnlc
   19256 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19257 b cont
   19258 ' <confdefs.h | sed '
   19259 s/'"$ac_delim"'/"\\\
   19260 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19261 
   19262 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19263   for (key in D) D_is_set[key] = 1
   19264   FS = ""
   19265 }
   19266 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19267   line = \$ 0
   19268   split(line, arg, " ")
   19269   if (arg[1] == "#") {
   19270     defundef = arg[2]
   19271     mac1 = arg[3]
   19272   } else {
   19273     defundef = substr(arg[1], 2)
   19274     mac1 = arg[2]
   19275   }
   19276   split(mac1, mac2, "(") #)
   19277   macro = mac2[1]
   19278   prefix = substr(line, 1, index(line, defundef) - 1)
   19279   if (D_is_set[macro]) {
   19280     # Preserve the white space surrounding the "#".
   19281     print prefix "define", macro P[macro] D[macro]
   19282     next
   19283   } else {
   19284     # Replace #undef with comments.  This is necessary, for example,
   19285     # in the case of _POSIX_SOURCE, which is predefined and required
   19286     # on some systems where configure will not decide to define it.
   19287     if (defundef == "undef") {
   19288       print "/*", prefix defundef, macro, "*/"
   19289       next
   19290     }
   19291   }
   19292 }
   19293 { print }
   19294 _ACAWK
   19295 _ACEOF
   19296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19297   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19298 fi # test -n "$CONFIG_HEADERS"
   19299 
   19300 
   19301 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19302 shift
   19303 for ac_tag
   19304 do
   19305   case $ac_tag in
   19306   :[FHLC]) ac_mode=$ac_tag; continue;;
   19307   esac
   19308   case $ac_mode$ac_tag in
   19309   :[FHL]*:*);;
   19310   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19311   :[FH]-) ac_tag=-:-;;
   19312   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19313   esac
   19314   ac_save_IFS=$IFS
   19315   IFS=:
   19316   set x $ac_tag
   19317   IFS=$ac_save_IFS
   19318   shift
   19319   ac_file=$1
   19320   shift
   19321 
   19322   case $ac_mode in
   19323   :L) ac_source=$1;;
   19324   :[FH])
   19325     ac_file_inputs=
   19326     for ac_f
   19327     do
   19328       case $ac_f in
   19329       -) ac_f="$ac_tmp/stdin";;
   19330       *) # Look for the file first in the build tree, then in the source tree
   19331 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19332 	 # because $ac_f cannot contain `:'.
   19333 	 test -f "$ac_f" ||
   19334 	   case $ac_f in
   19335 	   [\\/$]*) false;;
   19336 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19337 	   esac ||
   19338 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19339       esac
   19340       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19341       as_fn_append ac_file_inputs " '$ac_f'"
   19342     done
   19343 
   19344     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19345     # use $as_me), people would be surprised to read:
   19346     #    /* config.h.  Generated by config.status.  */
   19347     configure_input='Generated from '`
   19348 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19349 	`' by configure.'
   19350     if test x"$ac_file" != x-; then
   19351       configure_input="$ac_file.  $configure_input"
   19352       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19353 $as_echo "$as_me: creating $ac_file" >&6;}
   19354     fi
   19355     # Neutralize special characters interpreted by sed in replacement strings.
   19356     case $configure_input in #(
   19357     *\&* | *\|* | *\\* )
   19358        ac_sed_conf_input=`$as_echo "$configure_input" |
   19359        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19360     *) ac_sed_conf_input=$configure_input;;
   19361     esac
   19362 
   19363     case $ac_tag in
   19364     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19365       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19366     esac
   19367     ;;
   19368   esac
   19369 
   19370   ac_dir=`$as_dirname -- "$ac_file" ||
   19371 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19372 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19373 	 X"$ac_file" : 'X\(//\)$' \| \
   19374 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19375 $as_echo X"$ac_file" |
   19376     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19377 	    s//\1/
   19378 	    q
   19379 	  }
   19380 	  /^X\(\/\/\)[^/].*/{
   19381 	    s//\1/
   19382 	    q
   19383 	  }
   19384 	  /^X\(\/\/\)$/{
   19385 	    s//\1/
   19386 	    q
   19387 	  }
   19388 	  /^X\(\/\).*/{
   19389 	    s//\1/
   19390 	    q
   19391 	  }
   19392 	  s/.*/./; q'`
   19393   as_dir="$ac_dir"; as_fn_mkdir_p
   19394   ac_builddir=.
   19395 
   19396 case "$ac_dir" in
   19397 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19398 *)
   19399   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19400   # A ".." for each directory in $ac_dir_suffix.
   19401   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19402   case $ac_top_builddir_sub in
   19403   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19404   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19405   esac ;;
   19406 esac
   19407 ac_abs_top_builddir=$ac_pwd
   19408 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19409 # for backward compatibility:
   19410 ac_top_builddir=$ac_top_build_prefix
   19411 
   19412 case $srcdir in
   19413   .)  # We are building in place.
   19414     ac_srcdir=.
   19415     ac_top_srcdir=$ac_top_builddir_sub
   19416     ac_abs_top_srcdir=$ac_pwd ;;
   19417   [\\/]* | ?:[\\/]* )  # Absolute name.
   19418     ac_srcdir=$srcdir$ac_dir_suffix;
   19419     ac_top_srcdir=$srcdir
   19420     ac_abs_top_srcdir=$srcdir ;;
   19421   *) # Relative name.
   19422     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19423     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19424     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19425 esac
   19426 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19427 
   19428 
   19429   case $ac_mode in
   19430   :F)
   19431   #
   19432   # CONFIG_FILE
   19433   #
   19434 
   19435   case $INSTALL in
   19436   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19437   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19438   esac
   19439   ac_MKDIR_P=$MKDIR_P
   19440   case $MKDIR_P in
   19441   [\\/$]* | ?:[\\/]* ) ;;
   19442   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19443   esac
   19444 _ACEOF
   19445 
   19446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19447 # If the template does not know about datarootdir, expand it.
   19448 # FIXME: This hack should be removed a few years after 2.60.
   19449 ac_datarootdir_hack=; ac_datarootdir_seen=
   19450 ac_sed_dataroot='
   19451 /datarootdir/ {
   19452   p
   19453   q
   19454 }
   19455 /@datadir@/p
   19456 /@docdir@/p
   19457 /@infodir@/p
   19458 /@localedir@/p
   19459 /@mandir@/p'
   19460 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19461 *datarootdir*) ac_datarootdir_seen=yes;;
   19462 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19463   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19464 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19465 _ACEOF
   19466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19467   ac_datarootdir_hack='
   19468   s&@datadir@&$datadir&g
   19469   s&@docdir@&$docdir&g
   19470   s&@infodir@&$infodir&g
   19471   s&@localedir@&$localedir&g
   19472   s&@mandir@&$mandir&g
   19473   s&\\\${datarootdir}&$datarootdir&g' ;;
   19474 esac
   19475 _ACEOF
   19476 
   19477 # Neutralize VPATH when `$srcdir' = `.'.
   19478 # Shell code in configure.ac might set extrasub.
   19479 # FIXME: do we really want to maintain this feature?
   19480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19481 ac_sed_extra="$ac_vpsub
   19482 $extrasub
   19483 _ACEOF
   19484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19485 :t
   19486 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19487 s|@configure_input@|$ac_sed_conf_input|;t t
   19488 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19489 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19490 s&@srcdir@&$ac_srcdir&;t t
   19491 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19492 s&@top_srcdir@&$ac_top_srcdir&;t t
   19493 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19494 s&@builddir@&$ac_builddir&;t t
   19495 s&@abs_builddir@&$ac_abs_builddir&;t t
   19496 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19497 s&@INSTALL@&$ac_INSTALL&;t t
   19498 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19499 $ac_datarootdir_hack
   19500 "
   19501 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19502   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19503 
   19504 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19505   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19506   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19507       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19508   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19509 which seems to be undefined.  Please make sure it is defined" >&5
   19510 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19511 which seems to be undefined.  Please make sure it is defined" >&2;}
   19512 
   19513   rm -f "$ac_tmp/stdin"
   19514   case $ac_file in
   19515   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19516   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19517   esac \
   19518   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19519  ;;
   19520   :H)
   19521   #
   19522   # CONFIG_HEADER
   19523   #
   19524   if test x"$ac_file" != x-; then
   19525     {
   19526       $as_echo "/* $configure_input  */" \
   19527       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19528     } >"$ac_tmp/config.h" \
   19529       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19530     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19531       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19532 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19533     else
   19534       rm -f "$ac_file"
   19535       mv "$ac_tmp/config.h" "$ac_file" \
   19536 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19537     fi
   19538   else
   19539     $as_echo "/* $configure_input  */" \
   19540       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19541       || as_fn_error $? "could not create -" "$LINENO" 5
   19542   fi
   19543 # Compute "$ac_file"'s index in $config_headers.
   19544 _am_arg="$ac_file"
   19545 _am_stamp_count=1
   19546 for _am_header in $config_headers :; do
   19547   case $_am_header in
   19548     $_am_arg | $_am_arg:* )
   19549       break ;;
   19550     * )
   19551       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19552   esac
   19553 done
   19554 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19555 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19556 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19557 	 X"$_am_arg" : 'X\(//\)$' \| \
   19558 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19559 $as_echo X"$_am_arg" |
   19560     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19561 	    s//\1/
   19562 	    q
   19563 	  }
   19564 	  /^X\(\/\/\)[^/].*/{
   19565 	    s//\1/
   19566 	    q
   19567 	  }
   19568 	  /^X\(\/\/\)$/{
   19569 	    s//\1/
   19570 	    q
   19571 	  }
   19572 	  /^X\(\/\).*/{
   19573 	    s//\1/
   19574 	    q
   19575 	  }
   19576 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19577  ;;
   19578 
   19579   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19580 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19581  ;;
   19582   esac
   19583 
   19584 
   19585   case $ac_file$ac_mode in
   19586     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19587   # Older Autoconf quotes --file arguments for eval, but not when files
   19588   # are listed without --file.  Let's play safe and only enable the eval
   19589   # if we detect the quoting.
   19590   case $CONFIG_FILES in
   19591   *\'*) eval set x "$CONFIG_FILES" ;;
   19592   *)   set x $CONFIG_FILES ;;
   19593   esac
   19594   shift
   19595   for mf
   19596   do
   19597     # Strip MF so we end up with the name of the file.
   19598     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19599     # Check whether this is an Automake generated Makefile or not.
   19600     # We used to match only the files named 'Makefile.in', but
   19601     # some people rename them; so instead we look at the file content.
   19602     # Grep'ing the first line is not enough: some people post-process
   19603     # each Makefile.in and add a new line on top of each file to say so.
   19604     # Grep'ing the whole file is not good either: AIX grep has a line
   19605     # limit of 2048, but all sed's we know have understand at least 4000.
   19606     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19607       dirpart=`$as_dirname -- "$mf" ||
   19608 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19609 	 X"$mf" : 'X\(//\)[^/]' \| \
   19610 	 X"$mf" : 'X\(//\)$' \| \
   19611 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19612 $as_echo X"$mf" |
   19613     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19614 	    s//\1/
   19615 	    q
   19616 	  }
   19617 	  /^X\(\/\/\)[^/].*/{
   19618 	    s//\1/
   19619 	    q
   19620 	  }
   19621 	  /^X\(\/\/\)$/{
   19622 	    s//\1/
   19623 	    q
   19624 	  }
   19625 	  /^X\(\/\).*/{
   19626 	    s//\1/
   19627 	    q
   19628 	  }
   19629 	  s/.*/./; q'`
   19630     else
   19631       continue
   19632     fi
   19633     # Extract the definition of DEPDIR, am__include, and am__quote
   19634     # from the Makefile without running 'make'.
   19635     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19636     test -z "$DEPDIR" && continue
   19637     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19638     test -z "$am__include" && continue
   19639     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19640     # Find all dependency output files, they are included files with
   19641     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19642     # simplest approach to changing $(DEPDIR) to its actual value in the
   19643     # expansion.
   19644     for file in `sed -n "
   19645       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19646 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19647       # Make sure the directory exists.
   19648       test -f "$dirpart/$file" && continue
   19649       fdir=`$as_dirname -- "$file" ||
   19650 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19651 	 X"$file" : 'X\(//\)[^/]' \| \
   19652 	 X"$file" : 'X\(//\)$' \| \
   19653 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19654 $as_echo X"$file" |
   19655     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19656 	    s//\1/
   19657 	    q
   19658 	  }
   19659 	  /^X\(\/\/\)[^/].*/{
   19660 	    s//\1/
   19661 	    q
   19662 	  }
   19663 	  /^X\(\/\/\)$/{
   19664 	    s//\1/
   19665 	    q
   19666 	  }
   19667 	  /^X\(\/\).*/{
   19668 	    s//\1/
   19669 	    q
   19670 	  }
   19671 	  s/.*/./; q'`
   19672       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19673       # echo "creating $dirpart/$file"
   19674       echo '# dummy' > "$dirpart/$file"
   19675     done
   19676   done
   19677 }
   19678  ;;
   19679     "libtool":C)
   19680 
   19681     # See if we are running on zsh, and set the options which allow our
   19682     # commands through without removal of \ escapes.
   19683     if test -n "${ZSH_VERSION+set}" ; then
   19684       setopt NO_GLOB_SUBST
   19685     fi
   19686 
   19687     cfgfile="${ofile}T"
   19688     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19689     $RM "$cfgfile"
   19690 
   19691     cat <<_LT_EOF >> "$cfgfile"
   19692 #! $SHELL
   19693 
   19694 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19695 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19696 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19697 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19698 #
   19699 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19700 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19701 #                 Foundation, Inc.
   19702 #   Written by Gordon Matzigkeit, 1996
   19703 #
   19704 #   This file is part of GNU Libtool.
   19705 #
   19706 # GNU Libtool is free software; you can redistribute it and/or
   19707 # modify it under the terms of the GNU General Public License as
   19708 # published by the Free Software Foundation; either version 2 of
   19709 # the License, or (at your option) any later version.
   19710 #
   19711 # As a special exception to the GNU General Public License,
   19712 # if you distribute this file as part of a program or library that
   19713 # is built using GNU Libtool, you may include this file under the
   19714 # same distribution terms that you use for the rest of that program.
   19715 #
   19716 # GNU Libtool is distributed in the hope that it will be useful,
   19717 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19718 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19719 # GNU General Public License for more details.
   19720 #
   19721 # You should have received a copy of the GNU General Public License
   19722 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19723 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19724 # obtained by writing to the Free Software Foundation, Inc.,
   19725 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19726 
   19727 
   19728 # The names of the tagged configurations supported by this script.
   19729 available_tags=""
   19730 
   19731 # ### BEGIN LIBTOOL CONFIG
   19732 
   19733 # Whether or not to build static libraries.
   19734 build_old_libs=$enable_static
   19735 
   19736 # Which release of libtool.m4 was used?
   19737 macro_version=$macro_version
   19738 macro_revision=$macro_revision
   19739 
   19740 # Whether or not to build shared libraries.
   19741 build_libtool_libs=$enable_shared
   19742 
   19743 # What type of objects to build.
   19744 pic_mode=$pic_mode
   19745 
   19746 # Whether or not to optimize for fast installation.
   19747 fast_install=$enable_fast_install
   19748 
   19749 # Shell to use when invoking shell scripts.
   19750 SHELL=$lt_SHELL
   19751 
   19752 # An echo program that protects backslashes.
   19753 ECHO=$lt_ECHO
   19754 
   19755 # The PATH separator for the build system.
   19756 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19757 
   19758 # The host system.
   19759 host_alias=$host_alias
   19760 host=$host
   19761 host_os=$host_os
   19762 
   19763 # The build system.
   19764 build_alias=$build_alias
   19765 build=$build
   19766 build_os=$build_os
   19767 
   19768 # A sed program that does not truncate output.
   19769 SED=$lt_SED
   19770 
   19771 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19772 Xsed="\$SED -e 1s/^X//"
   19773 
   19774 # A grep program that handles long lines.
   19775 GREP=$lt_GREP
   19776 
   19777 # An ERE matcher.
   19778 EGREP=$lt_EGREP
   19779 
   19780 # A literal string matcher.
   19781 FGREP=$lt_FGREP
   19782 
   19783 # A BSD- or MS-compatible name lister.
   19784 NM=$lt_NM
   19785 
   19786 # Whether we need soft or hard links.
   19787 LN_S=$lt_LN_S
   19788 
   19789 # What is the maximum length of a command?
   19790 max_cmd_len=$max_cmd_len
   19791 
   19792 # Object file suffix (normally "o").
   19793 objext=$ac_objext
   19794 
   19795 # Executable file suffix (normally "").
   19796 exeext=$exeext
   19797 
   19798 # whether the shell understands "unset".
   19799 lt_unset=$lt_unset
   19800 
   19801 # turn spaces into newlines.
   19802 SP2NL=$lt_lt_SP2NL
   19803 
   19804 # turn newlines into spaces.
   19805 NL2SP=$lt_lt_NL2SP
   19806 
   19807 # convert \$build file names to \$host format.
   19808 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19809 
   19810 # convert \$build files to toolchain format.
   19811 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19812 
   19813 # An object symbol dumper.
   19814 OBJDUMP=$lt_OBJDUMP
   19815 
   19816 # Method to check whether dependent libraries are shared objects.
   19817 deplibs_check_method=$lt_deplibs_check_method
   19818 
   19819 # Command to use when deplibs_check_method = "file_magic".
   19820 file_magic_cmd=$lt_file_magic_cmd
   19821 
   19822 # How to find potential files when deplibs_check_method = "file_magic".
   19823 file_magic_glob=$lt_file_magic_glob
   19824 
   19825 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19826 want_nocaseglob=$lt_want_nocaseglob
   19827 
   19828 # DLL creation program.
   19829 DLLTOOL=$lt_DLLTOOL
   19830 
   19831 # Command to associate shared and link libraries.
   19832 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19833 
   19834 # The archiver.
   19835 AR=$lt_AR
   19836 
   19837 # Flags to create an archive.
   19838 AR_FLAGS=$lt_AR_FLAGS
   19839 
   19840 # How to feed a file listing to the archiver.
   19841 archiver_list_spec=$lt_archiver_list_spec
   19842 
   19843 # A symbol stripping program.
   19844 STRIP=$lt_STRIP
   19845 
   19846 # Commands used to install an old-style archive.
   19847 RANLIB=$lt_RANLIB
   19848 old_postinstall_cmds=$lt_old_postinstall_cmds
   19849 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19850 
   19851 # Whether to use a lock for old archive extraction.
   19852 lock_old_archive_extraction=$lock_old_archive_extraction
   19853 
   19854 # A C compiler.
   19855 LTCC=$lt_CC
   19856 
   19857 # LTCC compiler flags.
   19858 LTCFLAGS=$lt_CFLAGS
   19859 
   19860 # Take the output of nm and produce a listing of raw symbols and C names.
   19861 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19862 
   19863 # Transform the output of nm in a proper C declaration.
   19864 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19865 
   19866 # Transform the output of nm in a C name address pair.
   19867 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19868 
   19869 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19870 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19871 
   19872 # Specify filename containing input files for \$NM.
   19873 nm_file_list_spec=$lt_nm_file_list_spec
   19874 
   19875 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19876 lt_sysroot=$lt_sysroot
   19877 
   19878 # The name of the directory that contains temporary libtool files.
   19879 objdir=$objdir
   19880 
   19881 # Used to examine libraries when file_magic_cmd begins with "file".
   19882 MAGIC_CMD=$MAGIC_CMD
   19883 
   19884 # Must we lock files when doing compilation?
   19885 need_locks=$lt_need_locks
   19886 
   19887 # Manifest tool.
   19888 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19889 
   19890 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19891 DSYMUTIL=$lt_DSYMUTIL
   19892 
   19893 # Tool to change global to local symbols on Mac OS X.
   19894 NMEDIT=$lt_NMEDIT
   19895 
   19896 # Tool to manipulate fat objects and archives on Mac OS X.
   19897 LIPO=$lt_LIPO
   19898 
   19899 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19900 OTOOL=$lt_OTOOL
   19901 
   19902 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19903 OTOOL64=$lt_OTOOL64
   19904 
   19905 # Old archive suffix (normally "a").
   19906 libext=$libext
   19907 
   19908 # Shared library suffix (normally ".so").
   19909 shrext_cmds=$lt_shrext_cmds
   19910 
   19911 # The commands to extract the exported symbol list from a shared archive.
   19912 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19913 
   19914 # Variables whose values should be saved in libtool wrapper scripts and
   19915 # restored at link time.
   19916 variables_saved_for_relink=$lt_variables_saved_for_relink
   19917 
   19918 # Do we need the "lib" prefix for modules?
   19919 need_lib_prefix=$need_lib_prefix
   19920 
   19921 # Do we need a version for libraries?
   19922 need_version=$need_version
   19923 
   19924 # Library versioning type.
   19925 version_type=$version_type
   19926 
   19927 # Shared library runtime path variable.
   19928 runpath_var=$runpath_var
   19929 
   19930 # Shared library path variable.
   19931 shlibpath_var=$shlibpath_var
   19932 
   19933 # Is shlibpath searched before the hard-coded library search path?
   19934 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19935 
   19936 # Format of library name prefix.
   19937 libname_spec=$lt_libname_spec
   19938 
   19939 # List of archive names.  First name is the real one, the rest are links.
   19940 # The last name is the one that the linker finds with -lNAME
   19941 library_names_spec=$lt_library_names_spec
   19942 
   19943 # The coded name of the library, if different from the real name.
   19944 soname_spec=$lt_soname_spec
   19945 
   19946 # Permission mode override for installation of shared libraries.
   19947 install_override_mode=$lt_install_override_mode
   19948 
   19949 # Command to use after installation of a shared archive.
   19950 postinstall_cmds=$lt_postinstall_cmds
   19951 
   19952 # Command to use after uninstallation of a shared archive.
   19953 postuninstall_cmds=$lt_postuninstall_cmds
   19954 
   19955 # Commands used to finish a libtool library installation in a directory.
   19956 finish_cmds=$lt_finish_cmds
   19957 
   19958 # As "finish_cmds", except a single script fragment to be evaled but
   19959 # not shown.
   19960 finish_eval=$lt_finish_eval
   19961 
   19962 # Whether we should hardcode library paths into libraries.
   19963 hardcode_into_libs=$hardcode_into_libs
   19964 
   19965 # Compile-time system search path for libraries.
   19966 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19967 
   19968 # Run-time system search path for libraries.
   19969 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19970 
   19971 # Whether dlopen is supported.
   19972 dlopen_support=$enable_dlopen
   19973 
   19974 # Whether dlopen of programs is supported.
   19975 dlopen_self=$enable_dlopen_self
   19976 
   19977 # Whether dlopen of statically linked programs is supported.
   19978 dlopen_self_static=$enable_dlopen_self_static
   19979 
   19980 # Commands to strip libraries.
   19981 old_striplib=$lt_old_striplib
   19982 striplib=$lt_striplib
   19983 
   19984 
   19985 # The linker used to build libraries.
   19986 LD=$lt_LD
   19987 
   19988 # How to create reloadable object files.
   19989 reload_flag=$lt_reload_flag
   19990 reload_cmds=$lt_reload_cmds
   19991 
   19992 # Commands used to build an old-style archive.
   19993 old_archive_cmds=$lt_old_archive_cmds
   19994 
   19995 # A language specific compiler.
   19996 CC=$lt_compiler
   19997 
   19998 # Is the compiler the GNU compiler?
   19999 with_gcc=$GCC
   20000 
   20001 # Compiler flag to turn off builtin functions.
   20002 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20003 
   20004 # Additional compiler flags for building library objects.
   20005 pic_flag=$lt_lt_prog_compiler_pic
   20006 
   20007 # How to pass a linker flag through the compiler.
   20008 wl=$lt_lt_prog_compiler_wl
   20009 
   20010 # Compiler flag to prevent dynamic linking.
   20011 link_static_flag=$lt_lt_prog_compiler_static
   20012 
   20013 # Does compiler simultaneously support -c and -o options?
   20014 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20015 
   20016 # Whether or not to add -lc for building shared libraries.
   20017 build_libtool_need_lc=$archive_cmds_need_lc
   20018 
   20019 # Whether or not to disallow shared libs when runtime libs are static.
   20020 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20021 
   20022 # Compiler flag to allow reflexive dlopens.
   20023 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20024 
   20025 # Compiler flag to generate shared objects directly from archives.
   20026 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20027 
   20028 # Whether the compiler copes with passing no objects directly.
   20029 compiler_needs_object=$lt_compiler_needs_object
   20030 
   20031 # Create an old-style archive from a shared archive.
   20032 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20033 
   20034 # Create a temporary old-style archive to link instead of a shared archive.
   20035 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20036 
   20037 # Commands used to build a shared archive.
   20038 archive_cmds=$lt_archive_cmds
   20039 archive_expsym_cmds=$lt_archive_expsym_cmds
   20040 
   20041 # Commands used to build a loadable module if different from building
   20042 # a shared archive.
   20043 module_cmds=$lt_module_cmds
   20044 module_expsym_cmds=$lt_module_expsym_cmds
   20045 
   20046 # Whether we are building with GNU ld or not.
   20047 with_gnu_ld=$lt_with_gnu_ld
   20048 
   20049 # Flag that allows shared libraries with undefined symbols to be built.
   20050 allow_undefined_flag=$lt_allow_undefined_flag
   20051 
   20052 # Flag that enforces no undefined symbols.
   20053 no_undefined_flag=$lt_no_undefined_flag
   20054 
   20055 # Flag to hardcode \$libdir into a binary during linking.
   20056 # This must work even if \$libdir does not exist
   20057 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20058 
   20059 # Whether we need a single "-rpath" flag with a separated argument.
   20060 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20061 
   20062 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20063 # DIR into the resulting binary.
   20064 hardcode_direct=$hardcode_direct
   20065 
   20066 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20067 # DIR into the resulting binary and the resulting library dependency is
   20068 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20069 # library is relocated.
   20070 hardcode_direct_absolute=$hardcode_direct_absolute
   20071 
   20072 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20073 # into the resulting binary.
   20074 hardcode_minus_L=$hardcode_minus_L
   20075 
   20076 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20077 # into the resulting binary.
   20078 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20079 
   20080 # Set to "yes" if building a shared library automatically hardcodes DIR
   20081 # into the library and all subsequent libraries and executables linked
   20082 # against it.
   20083 hardcode_automatic=$hardcode_automatic
   20084 
   20085 # Set to yes if linker adds runtime paths of dependent libraries
   20086 # to runtime path list.
   20087 inherit_rpath=$inherit_rpath
   20088 
   20089 # Whether libtool must link a program against all its dependency libraries.
   20090 link_all_deplibs=$link_all_deplibs
   20091 
   20092 # Set to "yes" if exported symbols are required.
   20093 always_export_symbols=$always_export_symbols
   20094 
   20095 # The commands to list exported symbols.
   20096 export_symbols_cmds=$lt_export_symbols_cmds
   20097 
   20098 # Symbols that should not be listed in the preloaded symbols.
   20099 exclude_expsyms=$lt_exclude_expsyms
   20100 
   20101 # Symbols that must always be exported.
   20102 include_expsyms=$lt_include_expsyms
   20103 
   20104 # Commands necessary for linking programs (against libraries) with templates.
   20105 prelink_cmds=$lt_prelink_cmds
   20106 
   20107 # Commands necessary for finishing linking programs.
   20108 postlink_cmds=$lt_postlink_cmds
   20109 
   20110 # Specify filename containing input files.
   20111 file_list_spec=$lt_file_list_spec
   20112 
   20113 # How to hardcode a shared library path into an executable.
   20114 hardcode_action=$hardcode_action
   20115 
   20116 # ### END LIBTOOL CONFIG
   20117 
   20118 _LT_EOF
   20119 
   20120   case $host_os in
   20121   aix3*)
   20122     cat <<\_LT_EOF >> "$cfgfile"
   20123 # AIX sometimes has problems with the GCC collect2 program.  For some
   20124 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20125 # vanish in a puff of smoke.
   20126 if test "X${COLLECT_NAMES+set}" != Xset; then
   20127   COLLECT_NAMES=
   20128   export COLLECT_NAMES
   20129 fi
   20130 _LT_EOF
   20131     ;;
   20132   esac
   20133 
   20134 
   20135 ltmain="$ac_aux_dir/ltmain.sh"
   20136 
   20137 
   20138   # We use sed instead of cat because bash on DJGPP gets confused if
   20139   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20140   # text mode, it properly converts lines to CR/LF.  This bash problem
   20141   # is reportedly fixed, but why not run on old versions too?
   20142   sed '$q' "$ltmain" >> "$cfgfile" \
   20143      || (rm -f "$cfgfile"; exit 1)
   20144 
   20145   if test x"$xsi_shell" = xyes; then
   20146   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20147 func_dirname ()\
   20148 {\
   20149 \    case ${1} in\
   20150 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20151 \      *  ) func_dirname_result="${3}" ;;\
   20152 \    esac\
   20153 } # Extended-shell func_dirname 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 
   20159   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20160 func_basename ()\
   20161 {\
   20162 \    func_basename_result="${1##*/}"\
   20163 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20164   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20165     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20166 test 0 -eq $? || _lt_function_replace_fail=:
   20167 
   20168 
   20169   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20170 func_dirname_and_basename ()\
   20171 {\
   20172 \    case ${1} in\
   20173 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20174 \      *  ) func_dirname_result="${3}" ;;\
   20175 \    esac\
   20176 \    func_basename_result="${1##*/}"\
   20177 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20178   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20179     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20180 test 0 -eq $? || _lt_function_replace_fail=:
   20181 
   20182 
   20183   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20184 func_stripname ()\
   20185 {\
   20186 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20187 \    # positional parameters, so assign one to ordinary parameter first.\
   20188 \    func_stripname_result=${3}\
   20189 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20190 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20191 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20192   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20193     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20194 test 0 -eq $? || _lt_function_replace_fail=:
   20195 
   20196 
   20197   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20198 func_split_long_opt ()\
   20199 {\
   20200 \    func_split_long_opt_name=${1%%=*}\
   20201 \    func_split_long_opt_arg=${1#*=}\
   20202 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20203   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20204     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20205 test 0 -eq $? || _lt_function_replace_fail=:
   20206 
   20207 
   20208   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20209 func_split_short_opt ()\
   20210 {\
   20211 \    func_split_short_opt_arg=${1#??}\
   20212 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20213 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20214   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20215     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20216 test 0 -eq $? || _lt_function_replace_fail=:
   20217 
   20218 
   20219   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20220 func_lo2o ()\
   20221 {\
   20222 \    case ${1} in\
   20223 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20224 \      *)    func_lo2o_result=${1} ;;\
   20225 \    esac\
   20226 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20227   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20228     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20229 test 0 -eq $? || _lt_function_replace_fail=:
   20230 
   20231 
   20232   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20233 func_xform ()\
   20234 {\
   20235     func_xform_result=${1%.*}.lo\
   20236 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20237   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20238     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20239 test 0 -eq $? || _lt_function_replace_fail=:
   20240 
   20241 
   20242   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20243 func_arith ()\
   20244 {\
   20245     func_arith_result=$(( $* ))\
   20246 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20247   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20248     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20249 test 0 -eq $? || _lt_function_replace_fail=:
   20250 
   20251 
   20252   sed -e '/^func_len ()$/,/^} # func_len /c\
   20253 func_len ()\
   20254 {\
   20255     func_len_result=${#1}\
   20256 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20257   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20258     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20259 test 0 -eq $? || _lt_function_replace_fail=:
   20260 
   20261 fi
   20262 
   20263 if test x"$lt_shell_append" = xyes; then
   20264   sed -e '/^func_append ()$/,/^} # func_append /c\
   20265 func_append ()\
   20266 {\
   20267     eval "${1}+=\\${2}"\
   20268 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20269   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20270     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20271 test 0 -eq $? || _lt_function_replace_fail=:
   20272 
   20273 
   20274   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20275 func_append_quoted ()\
   20276 {\
   20277 \    func_quote_for_eval "${2}"\
   20278 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20279 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20280   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20281     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20282 test 0 -eq $? || _lt_function_replace_fail=:
   20283 
   20284 
   20285   # Save a `func_append' function call where possible by direct use of '+='
   20286   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20287     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20288       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20289   test 0 -eq $? || _lt_function_replace_fail=:
   20290 else
   20291   # Save a `func_append' function call even when '+=' is not available
   20292   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20293     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20294       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20295   test 0 -eq $? || _lt_function_replace_fail=:
   20296 fi
   20297 
   20298 if test x"$_lt_function_replace_fail" = x":"; then
   20299   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20300 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20301 fi
   20302 
   20303 
   20304    mv -f "$cfgfile" "$ofile" ||
   20305     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20306   chmod +x "$ofile"
   20307 
   20308  ;;
   20309 
   20310   esac
   20311 done # for ac_tag
   20312 
   20313 
   20314 as_fn_exit 0
   20315 _ACEOF
   20316 ac_clean_files=$ac_clean_files_save
   20317 
   20318 test $ac_write_fail = 0 ||
   20319   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20320 
   20321 
   20322 # configure is writing to config.log, and then calls config.status.
   20323 # config.status does its own redirection, appending to config.log.
   20324 # Unfortunately, on DOS this fails, as config.log is still kept open
   20325 # by configure, so config.status won't be able to write to it; its
   20326 # output is simply discarded.  So we exec the FD to /dev/null,
   20327 # effectively closing config.log, so it can be properly (re)opened and
   20328 # appended to by config.status.  When coming back to configure, we
   20329 # need to make the FD available again.
   20330 if test "$no_create" != yes; then
   20331   ac_cs_success=:
   20332   ac_config_status_args=
   20333   test "$silent" = yes &&
   20334     ac_config_status_args="$ac_config_status_args --quiet"
   20335   exec 5>/dev/null
   20336   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20337   exec 5>>config.log
   20338   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20339   # would make configure fail if this is the last instruction.
   20340   $ac_cs_success || as_fn_exit 1
   20341 fi
   20342 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20343   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20344 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20345 fi
   20346 
   20347