Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      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.9.0.
      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.9.0'
    595 PACKAGE_STRING='xf86-input-keyboard 1.9.0'
    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 LT_SYS_LIBRARY_PATH
    677 OTOOL64
    678 OTOOL
    679 LIPO
    680 NMEDIT
    681 DSYMUTIL
    682 MANIFEST_TOOL
    683 RANLIB
    684 ac_ct_AR
    685 AR
    686 DLLTOOL
    687 OBJDUMP
    688 LN_S
    689 NM
    690 ac_ct_DUMPBIN
    691 DUMPBIN
    692 LD
    693 FGREP
    694 EGREP
    695 GREP
    696 SED
    697 am__fastdepCC_FALSE
    698 am__fastdepCC_TRUE
    699 CCDEPMODE
    700 am__nodep
    701 AMDEPBACKSLASH
    702 AMDEP_FALSE
    703 AMDEP_TRUE
    704 am__quote
    705 am__include
    706 DEPDIR
    707 OBJEXT
    708 EXEEXT
    709 ac_ct_CC
    710 CPPFLAGS
    711 LDFLAGS
    712 CFLAGS
    713 CC
    714 host_os
    715 host_vendor
    716 host_cpu
    717 host
    718 build_os
    719 build_vendor
    720 build_cpu
    721 build
    722 LIBTOOL
    723 AM_BACKSLASH
    724 AM_DEFAULT_VERBOSITY
    725 AM_DEFAULT_V
    726 AM_V
    727 am__untar
    728 am__tar
    729 AMTAR
    730 am__leading_dot
    731 SET_MAKE
    732 AWK
    733 mkdir_p
    734 MKDIR_P
    735 INSTALL_STRIP_PROGRAM
    736 STRIP
    737 install_sh
    738 MAKEINFO
    739 AUTOHEADER
    740 AUTOMAKE
    741 AUTOCONF
    742 ACLOCAL
    743 VERSION
    744 PACKAGE
    745 CYGPATH_W
    746 am__isrc
    747 INSTALL_DATA
    748 INSTALL_SCRIPT
    749 INSTALL_PROGRAM
    750 target_alias
    751 host_alias
    752 build_alias
    753 LIBS
    754 ECHO_T
    755 ECHO_N
    756 ECHO_C
    757 DEFS
    758 mandir
    759 localedir
    760 libdir
    761 psdir
    762 pdfdir
    763 dvidir
    764 htmldir
    765 infodir
    766 docdir
    767 oldincludedir
    768 includedir
    769 localstatedir
    770 sharedstatedir
    771 sysconfdir
    772 datadir
    773 datarootdir
    774 libexecdir
    775 sbindir
    776 bindir
    777 program_transform_name
    778 prefix
    779 exec_prefix
    780 PACKAGE_URL
    781 PACKAGE_BUGREPORT
    782 PACKAGE_STRING
    783 PACKAGE_VERSION
    784 PACKAGE_TARNAME
    785 PACKAGE_NAME
    786 PATH_SEPARATOR
    787 SHELL'
    788 ac_subst_files=''
    789 ac_user_opts='
    790 enable_option_checking
    791 enable_silent_rules
    792 enable_static
    793 enable_shared
    794 with_pic
    795 enable_fast_install
    796 with_aix_soname
    797 enable_dependency_tracking
    798 with_gnu_ld
    799 with_sysroot
    800 enable_libtool_lock
    801 enable_selective_werror
    802 enable_strict_compilation
    803 with_xorg_module_dir
    804 '
    805       ac_precious_vars='build_alias
    806 host_alias
    807 target_alias
    808 CC
    809 CFLAGS
    810 LDFLAGS
    811 LIBS
    812 CPPFLAGS
    813 LT_SYS_LIBRARY_PATH
    814 CPP
    815 PKG_CONFIG
    816 PKG_CONFIG_PATH
    817 PKG_CONFIG_LIBDIR
    818 XORG_CFLAGS
    819 XORG_LIBS'
    820 
    821 
    822 # Initialize some variables set by options.
    823 ac_init_help=
    824 ac_init_version=false
    825 ac_unrecognized_opts=
    826 ac_unrecognized_sep=
    827 # The variables have the same names as the options, with
    828 # dashes changed to underlines.
    829 cache_file=/dev/null
    830 exec_prefix=NONE
    831 no_create=
    832 no_recursion=
    833 prefix=NONE
    834 program_prefix=NONE
    835 program_suffix=NONE
    836 program_transform_name=s,x,x,
    837 silent=
    838 site=
    839 srcdir=
    840 verbose=
    841 x_includes=NONE
    842 x_libraries=NONE
    843 
    844 # Installation directory options.
    845 # These are left unexpanded so users can "make install exec_prefix=/foo"
    846 # and all the variables that are supposed to be based on exec_prefix
    847 # by default will actually change.
    848 # Use braces instead of parens because sh, perl, etc. also accept them.
    849 # (The list follows the same order as the GNU Coding Standards.)
    850 bindir='${exec_prefix}/bin'
    851 sbindir='${exec_prefix}/sbin'
    852 libexecdir='${exec_prefix}/libexec'
    853 datarootdir='${prefix}/share'
    854 datadir='${datarootdir}'
    855 sysconfdir='${prefix}/etc'
    856 sharedstatedir='${prefix}/com'
    857 localstatedir='${prefix}/var'
    858 includedir='${prefix}/include'
    859 oldincludedir='/usr/include'
    860 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    861 infodir='${datarootdir}/info'
    862 htmldir='${docdir}'
    863 dvidir='${docdir}'
    864 pdfdir='${docdir}'
    865 psdir='${docdir}'
    866 libdir='${exec_prefix}/lib'
    867 localedir='${datarootdir}/locale'
    868 mandir='${datarootdir}/man'
    869 
    870 ac_prev=
    871 ac_dashdash=
    872 for ac_option
    873 do
    874   # If the previous option needs an argument, assign it.
    875   if test -n "$ac_prev"; then
    876     eval $ac_prev=\$ac_option
    877     ac_prev=
    878     continue
    879   fi
    880 
    881   case $ac_option in
    882   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    883   *=)   ac_optarg= ;;
    884   *)    ac_optarg=yes ;;
    885   esac
    886 
    887   # Accept the important Cygnus configure options, so we can diagnose typos.
    888 
    889   case $ac_dashdash$ac_option in
    890   --)
    891     ac_dashdash=yes ;;
    892 
    893   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    894     ac_prev=bindir ;;
    895   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    896     bindir=$ac_optarg ;;
    897 
    898   -build | --build | --buil | --bui | --bu)
    899     ac_prev=build_alias ;;
    900   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    901     build_alias=$ac_optarg ;;
    902 
    903   -cache-file | --cache-file | --cache-fil | --cache-fi \
    904   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    905     ac_prev=cache_file ;;
    906   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    907   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    908     cache_file=$ac_optarg ;;
    909 
    910   --config-cache | -C)
    911     cache_file=config.cache ;;
    912 
    913   -datadir | --datadir | --datadi | --datad)
    914     ac_prev=datadir ;;
    915   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    916     datadir=$ac_optarg ;;
    917 
    918   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    919   | --dataroo | --dataro | --datar)
    920     ac_prev=datarootdir ;;
    921   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    922   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    923     datarootdir=$ac_optarg ;;
    924 
    925   -disable-* | --disable-*)
    926     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    927     # Reject names that are not valid shell variable names.
    928     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    929       as_fn_error $? "invalid feature name: $ac_useropt"
    930     ac_useropt_orig=$ac_useropt
    931     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    932     case $ac_user_opts in
    933       *"
    934 "enable_$ac_useropt"
    935 "*) ;;
    936       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    937 	 ac_unrecognized_sep=', ';;
    938     esac
    939     eval enable_$ac_useropt=no ;;
    940 
    941   -docdir | --docdir | --docdi | --doc | --do)
    942     ac_prev=docdir ;;
    943   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    944     docdir=$ac_optarg ;;
    945 
    946   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    947     ac_prev=dvidir ;;
    948   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    949     dvidir=$ac_optarg ;;
    950 
    951   -enable-* | --enable-*)
    952     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    953     # Reject names that are not valid shell variable names.
    954     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    955       as_fn_error $? "invalid feature name: $ac_useropt"
    956     ac_useropt_orig=$ac_useropt
    957     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    958     case $ac_user_opts in
    959       *"
    960 "enable_$ac_useropt"
    961 "*) ;;
    962       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    963 	 ac_unrecognized_sep=', ';;
    964     esac
    965     eval enable_$ac_useropt=\$ac_optarg ;;
    966 
    967   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    968   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    969   | --exec | --exe | --ex)
    970     ac_prev=exec_prefix ;;
    971   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    972   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    973   | --exec=* | --exe=* | --ex=*)
    974     exec_prefix=$ac_optarg ;;
    975 
    976   -gas | --gas | --ga | --g)
    977     # Obsolete; use --with-gas.
    978     with_gas=yes ;;
    979 
    980   -help | --help | --hel | --he | -h)
    981     ac_init_help=long ;;
    982   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    983     ac_init_help=recursive ;;
    984   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    985     ac_init_help=short ;;
    986 
    987   -host | --host | --hos | --ho)
    988     ac_prev=host_alias ;;
    989   -host=* | --host=* | --hos=* | --ho=*)
    990     host_alias=$ac_optarg ;;
    991 
    992   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    993     ac_prev=htmldir ;;
    994   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    995   | --ht=*)
    996     htmldir=$ac_optarg ;;
    997 
    998   -includedir | --includedir | --includedi | --included | --include \
    999   | --includ | --inclu | --incl | --inc)
   1000     ac_prev=includedir ;;
   1001   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1002   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1003     includedir=$ac_optarg ;;
   1004 
   1005   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1006     ac_prev=infodir ;;
   1007   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1008     infodir=$ac_optarg ;;
   1009 
   1010   -libdir | --libdir | --libdi | --libd)
   1011     ac_prev=libdir ;;
   1012   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1013     libdir=$ac_optarg ;;
   1014 
   1015   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1016   | --libexe | --libex | --libe)
   1017     ac_prev=libexecdir ;;
   1018   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1019   | --libexe=* | --libex=* | --libe=*)
   1020     libexecdir=$ac_optarg ;;
   1021 
   1022   -localedir | --localedir | --localedi | --localed | --locale)
   1023     ac_prev=localedir ;;
   1024   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1025     localedir=$ac_optarg ;;
   1026 
   1027   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1028   | --localstate | --localstat | --localsta | --localst | --locals)
   1029     ac_prev=localstatedir ;;
   1030   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1031   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1032     localstatedir=$ac_optarg ;;
   1033 
   1034   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1035     ac_prev=mandir ;;
   1036   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1037     mandir=$ac_optarg ;;
   1038 
   1039   -nfp | --nfp | --nf)
   1040     # Obsolete; use --without-fp.
   1041     with_fp=no ;;
   1042 
   1043   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1044   | --no-cr | --no-c | -n)
   1045     no_create=yes ;;
   1046 
   1047   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1048   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1049     no_recursion=yes ;;
   1050 
   1051   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1052   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1053   | --oldin | --oldi | --old | --ol | --o)
   1054     ac_prev=oldincludedir ;;
   1055   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1056   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1057   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1058     oldincludedir=$ac_optarg ;;
   1059 
   1060   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1061     ac_prev=prefix ;;
   1062   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1063     prefix=$ac_optarg ;;
   1064 
   1065   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1066   | --program-pre | --program-pr | --program-p)
   1067     ac_prev=program_prefix ;;
   1068   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1069   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1070     program_prefix=$ac_optarg ;;
   1071 
   1072   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1073   | --program-suf | --program-su | --program-s)
   1074     ac_prev=program_suffix ;;
   1075   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1076   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1077     program_suffix=$ac_optarg ;;
   1078 
   1079   -program-transform-name | --program-transform-name \
   1080   | --program-transform-nam | --program-transform-na \
   1081   | --program-transform-n | --program-transform- \
   1082   | --program-transform | --program-transfor \
   1083   | --program-transfo | --program-transf \
   1084   | --program-trans | --program-tran \
   1085   | --progr-tra | --program-tr | --program-t)
   1086     ac_prev=program_transform_name ;;
   1087   -program-transform-name=* | --program-transform-name=* \
   1088   | --program-transform-nam=* | --program-transform-na=* \
   1089   | --program-transform-n=* | --program-transform-=* \
   1090   | --program-transform=* | --program-transfor=* \
   1091   | --program-transfo=* | --program-transf=* \
   1092   | --program-trans=* | --program-tran=* \
   1093   | --progr-tra=* | --program-tr=* | --program-t=*)
   1094     program_transform_name=$ac_optarg ;;
   1095 
   1096   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1097     ac_prev=pdfdir ;;
   1098   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1099     pdfdir=$ac_optarg ;;
   1100 
   1101   -psdir | --psdir | --psdi | --psd | --ps)
   1102     ac_prev=psdir ;;
   1103   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1104     psdir=$ac_optarg ;;
   1105 
   1106   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1107   | -silent | --silent | --silen | --sile | --sil)
   1108     silent=yes ;;
   1109 
   1110   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1111     ac_prev=sbindir ;;
   1112   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1113   | --sbi=* | --sb=*)
   1114     sbindir=$ac_optarg ;;
   1115 
   1116   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1117   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1118   | --sharedst | --shareds | --shared | --share | --shar \
   1119   | --sha | --sh)
   1120     ac_prev=sharedstatedir ;;
   1121   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1122   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1123   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1124   | --sha=* | --sh=*)
   1125     sharedstatedir=$ac_optarg ;;
   1126 
   1127   -site | --site | --sit)
   1128     ac_prev=site ;;
   1129   -site=* | --site=* | --sit=*)
   1130     site=$ac_optarg ;;
   1131 
   1132   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1133     ac_prev=srcdir ;;
   1134   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1135     srcdir=$ac_optarg ;;
   1136 
   1137   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1138   | --syscon | --sysco | --sysc | --sys | --sy)
   1139     ac_prev=sysconfdir ;;
   1140   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1141   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1142     sysconfdir=$ac_optarg ;;
   1143 
   1144   -target | --target | --targe | --targ | --tar | --ta | --t)
   1145     ac_prev=target_alias ;;
   1146   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1147     target_alias=$ac_optarg ;;
   1148 
   1149   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1150     verbose=yes ;;
   1151 
   1152   -version | --version | --versio | --versi | --vers | -V)
   1153     ac_init_version=: ;;
   1154 
   1155   -with-* | --with-*)
   1156     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1157     # Reject names that are not valid shell variable names.
   1158     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1159       as_fn_error $? "invalid package name: $ac_useropt"
   1160     ac_useropt_orig=$ac_useropt
   1161     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1162     case $ac_user_opts in
   1163       *"
   1164 "with_$ac_useropt"
   1165 "*) ;;
   1166       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1167 	 ac_unrecognized_sep=', ';;
   1168     esac
   1169     eval with_$ac_useropt=\$ac_optarg ;;
   1170 
   1171   -without-* | --without-*)
   1172     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1173     # Reject names that are not valid shell variable names.
   1174     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1175       as_fn_error $? "invalid package name: $ac_useropt"
   1176     ac_useropt_orig=$ac_useropt
   1177     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1178     case $ac_user_opts in
   1179       *"
   1180 "with_$ac_useropt"
   1181 "*) ;;
   1182       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1183 	 ac_unrecognized_sep=', ';;
   1184     esac
   1185     eval with_$ac_useropt=no ;;
   1186 
   1187   --x)
   1188     # Obsolete; use --with-x.
   1189     with_x=yes ;;
   1190 
   1191   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1192   | --x-incl | --x-inc | --x-in | --x-i)
   1193     ac_prev=x_includes ;;
   1194   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1195   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1196     x_includes=$ac_optarg ;;
   1197 
   1198   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1199   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1200     ac_prev=x_libraries ;;
   1201   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1202   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1203     x_libraries=$ac_optarg ;;
   1204 
   1205   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1206 Try \`$0 --help' for more information"
   1207     ;;
   1208 
   1209   *=*)
   1210     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1211     # Reject names that are not valid shell variable names.
   1212     case $ac_envvar in #(
   1213       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1214       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1215     esac
   1216     eval $ac_envvar=\$ac_optarg
   1217     export $ac_envvar ;;
   1218 
   1219   *)
   1220     # FIXME: should be removed in autoconf 3.0.
   1221     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1222     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1223       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1224     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1225     ;;
   1226 
   1227   esac
   1228 done
   1229 
   1230 if test -n "$ac_prev"; then
   1231   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1232   as_fn_error $? "missing argument to $ac_option"
   1233 fi
   1234 
   1235 if test -n "$ac_unrecognized_opts"; then
   1236   case $enable_option_checking in
   1237     no) ;;
   1238     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1239     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1240   esac
   1241 fi
   1242 
   1243 # Check all directory arguments for consistency.
   1244 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1245 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1246 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1247 		libdir localedir mandir
   1248 do
   1249   eval ac_val=\$$ac_var
   1250   # Remove trailing slashes.
   1251   case $ac_val in
   1252     */ )
   1253       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1254       eval $ac_var=\$ac_val;;
   1255   esac
   1256   # Be sure to have absolute directory names.
   1257   case $ac_val in
   1258     [\\/$]* | ?:[\\/]* )  continue;;
   1259     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1260   esac
   1261   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1262 done
   1263 
   1264 # There might be people who depend on the old broken behavior: `$host'
   1265 # used to hold the argument of --host etc.
   1266 # FIXME: To remove some day.
   1267 build=$build_alias
   1268 host=$host_alias
   1269 target=$target_alias
   1270 
   1271 # FIXME: To remove some day.
   1272 if test "x$host_alias" != x; then
   1273   if test "x$build_alias" = x; then
   1274     cross_compiling=maybe
   1275   elif test "x$build_alias" != "x$host_alias"; then
   1276     cross_compiling=yes
   1277   fi
   1278 fi
   1279 
   1280 ac_tool_prefix=
   1281 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1282 
   1283 test "$silent" = yes && exec 6>/dev/null
   1284 
   1285 
   1286 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1287 ac_ls_di=`ls -di .` &&
   1288 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1289   as_fn_error $? "working directory cannot be determined"
   1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1291   as_fn_error $? "pwd does not report name of working directory"
   1292 
   1293 
   1294 # Find the source files, if location was not specified.
   1295 if test -z "$srcdir"; then
   1296   ac_srcdir_defaulted=yes
   1297   # Try the directory containing this script, then the parent directory.
   1298   ac_confdir=`$as_dirname -- "$as_myself" ||
   1299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1300 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1301 	 X"$as_myself" : 'X\(//\)$' \| \
   1302 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1303 $as_echo X"$as_myself" |
   1304     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\/\)[^/].*/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  /^X\(\/\/\)$/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  /^X\(\/\).*/{
   1317 	    s//\1/
   1318 	    q
   1319 	  }
   1320 	  s/.*/./; q'`
   1321   srcdir=$ac_confdir
   1322   if test ! -r "$srcdir/$ac_unique_file"; then
   1323     srcdir=..
   1324   fi
   1325 else
   1326   ac_srcdir_defaulted=no
   1327 fi
   1328 if test ! -r "$srcdir/$ac_unique_file"; then
   1329   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1330   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1331 fi
   1332 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1333 ac_abs_confdir=`(
   1334 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1335 	pwd)`
   1336 # When building in place, set srcdir=.
   1337 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1338   srcdir=.
   1339 fi
   1340 # Remove unnecessary trailing slashes from srcdir.
   1341 # Double slashes in file names in object file debugging info
   1342 # mess up M-x gdb in Emacs.
   1343 case $srcdir in
   1344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1345 esac
   1346 for ac_var in $ac_precious_vars; do
   1347   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1348   eval ac_env_${ac_var}_value=\$${ac_var}
   1349   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1350   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1351 done
   1352 
   1353 #
   1354 # Report the --help message.
   1355 #
   1356 if test "$ac_init_help" = "long"; then
   1357   # Omit some internal or obsolete options to make the list less imposing.
   1358   # This message is too long to be a string in the A/UX 3.1 sh.
   1359   cat <<_ACEOF
   1360 \`configure' configures xf86-input-keyboard 1.9.0 to adapt to many kinds of systems.
   1361 
   1362 Usage: $0 [OPTION]... [VAR=VALUE]...
   1363 
   1364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1365 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1366 
   1367 Defaults for the options are specified in brackets.
   1368 
   1369 Configuration:
   1370   -h, --help              display this help and exit
   1371       --help=short        display options specific to this package
   1372       --help=recursive    display the short help of all the included packages
   1373   -V, --version           display version information and exit
   1374   -q, --quiet, --silent   do not print \`checking ...' messages
   1375       --cache-file=FILE   cache test results in FILE [disabled]
   1376   -C, --config-cache      alias for \`--cache-file=config.cache'
   1377   -n, --no-create         do not create output files
   1378       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1379 
   1380 Installation directories:
   1381   --prefix=PREFIX         install architecture-independent files in PREFIX
   1382                           [$ac_default_prefix]
   1383   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1384                           [PREFIX]
   1385 
   1386 By default, \`make install' will install all the files in
   1387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1389 for instance \`--prefix=\$HOME'.
   1390 
   1391 For better control, use the options below.
   1392 
   1393 Fine tuning of the installation directories:
   1394   --bindir=DIR            user executables [EPREFIX/bin]
   1395   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1396   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1397   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1398   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1399   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1400   --libdir=DIR            object code libraries [EPREFIX/lib]
   1401   --includedir=DIR        C header files [PREFIX/include]
   1402   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1403   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1404   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1405   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1406   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1407   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1408   --docdir=DIR            documentation root
   1409                           [DATAROOTDIR/doc/xf86-input-keyboard]
   1410   --htmldir=DIR           html documentation [DOCDIR]
   1411   --dvidir=DIR            dvi documentation [DOCDIR]
   1412   --pdfdir=DIR            pdf documentation [DOCDIR]
   1413   --psdir=DIR             ps documentation [DOCDIR]
   1414 _ACEOF
   1415 
   1416   cat <<\_ACEOF
   1417 
   1418 Program names:
   1419   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1420   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1421   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1422 
   1423 System types:
   1424   --build=BUILD     configure for building on BUILD [guessed]
   1425   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1426 _ACEOF
   1427 fi
   1428 
   1429 if test -n "$ac_init_help"; then
   1430   case $ac_init_help in
   1431      short | recursive ) echo "Configuration of xf86-input-keyboard 1.9.0:";;
   1432    esac
   1433   cat <<\_ACEOF
   1434 
   1435 Optional Features:
   1436   --disable-option-checking  ignore unrecognized --enable/--with options
   1437   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1438   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1439   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1440   --disable-silent-rules  verbose build output (undo: "make V=0")
   1441   --enable-static[=PKGS]  build static libraries [default=no]
   1442   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1443   --enable-fast-install[=PKGS]
   1444                           optimize for fast installation [default=yes]
   1445   --enable-dependency-tracking
   1446                           do not reject slow dependency extractors
   1447   --disable-dependency-tracking
   1448                           speeds up one-time build
   1449   --disable-libtool-lock  avoid locking (might break parallel builds)
   1450   --disable-selective-werror
   1451                           Turn off selective compiler errors. (default:
   1452                           enabled)
   1453   --enable-strict-compilation
   1454                           Enable all warnings from compiler and make them
   1455                           errors (default: disabled)
   1456 
   1457 Optional Packages:
   1458   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1459   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1460   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1461                           both]
   1462   --with-aix-soname=aix|svr4|both
   1463                           shared library versioning (aka "SONAME") variant to
   1464                           provide on AIX, [default=aix].
   1465   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1466   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1467                           compiler's sysroot if not specified).
   1468   --with-xorg-module-dir=DIR
   1469                           Default xorg module directory
   1470                           [[default=$libdir/xorg/modules]]
   1471 
   1472 Some influential environment variables:
   1473   CC          C compiler command
   1474   CFLAGS      C compiler flags
   1475   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1476               nonstandard directory <lib dir>
   1477   LIBS        libraries to pass to the linker, e.g. -l<library>
   1478   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1479               you have headers in a nonstandard directory <include dir>
   1480   LT_SYS_LIBRARY_PATH
   1481               User-defined run-time library search path.
   1482   CPP         C preprocessor
   1483   PKG_CONFIG  path to pkg-config utility
   1484   PKG_CONFIG_PATH
   1485               directories to add to pkg-config's search path
   1486   PKG_CONFIG_LIBDIR
   1487               path overriding pkg-config's built-in search path
   1488   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1489   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1490 
   1491 Use these variables to override the choices made by `configure' or to help
   1492 it to find libraries and programs with nonstandard names/locations.
   1493 
   1494 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1495 _ACEOF
   1496 ac_status=$?
   1497 fi
   1498 
   1499 if test "$ac_init_help" = "recursive"; then
   1500   # If there are subdirs, report their specific --help.
   1501   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1502     test -d "$ac_dir" ||
   1503       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1504       continue
   1505     ac_builddir=.
   1506 
   1507 case "$ac_dir" in
   1508 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1509 *)
   1510   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1511   # A ".." for each directory in $ac_dir_suffix.
   1512   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1513   case $ac_top_builddir_sub in
   1514   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1515   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1516   esac ;;
   1517 esac
   1518 ac_abs_top_builddir=$ac_pwd
   1519 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1520 # for backward compatibility:
   1521 ac_top_builddir=$ac_top_build_prefix
   1522 
   1523 case $srcdir in
   1524   .)  # We are building in place.
   1525     ac_srcdir=.
   1526     ac_top_srcdir=$ac_top_builddir_sub
   1527     ac_abs_top_srcdir=$ac_pwd ;;
   1528   [\\/]* | ?:[\\/]* )  # Absolute name.
   1529     ac_srcdir=$srcdir$ac_dir_suffix;
   1530     ac_top_srcdir=$srcdir
   1531     ac_abs_top_srcdir=$srcdir ;;
   1532   *) # Relative name.
   1533     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1534     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1535     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1536 esac
   1537 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1538 
   1539     cd "$ac_dir" || { ac_status=$?; continue; }
   1540     # Check for guested configure.
   1541     if test -f "$ac_srcdir/configure.gnu"; then
   1542       echo &&
   1543       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1544     elif test -f "$ac_srcdir/configure"; then
   1545       echo &&
   1546       $SHELL "$ac_srcdir/configure" --help=recursive
   1547     else
   1548       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1549     fi || ac_status=$?
   1550     cd "$ac_pwd" || { ac_status=$?; break; }
   1551   done
   1552 fi
   1553 
   1554 test -n "$ac_init_help" && exit $ac_status
   1555 if $ac_init_version; then
   1556   cat <<\_ACEOF
   1557 xf86-input-keyboard configure 1.9.0
   1558 generated by GNU Autoconf 2.69
   1559 
   1560 Copyright (C) 2012 Free Software Foundation, Inc.
   1561 This configure script is free software; the Free Software Foundation
   1562 gives unlimited permission to copy, distribute and modify it.
   1563 _ACEOF
   1564   exit
   1565 fi
   1566 
   1567 ## ------------------------ ##
   1568 ## Autoconf initialization. ##
   1569 ## ------------------------ ##
   1570 
   1571 # ac_fn_c_try_compile LINENO
   1572 # --------------------------
   1573 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1574 ac_fn_c_try_compile ()
   1575 {
   1576   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1577   rm -f conftest.$ac_objext
   1578   if { { ac_try="$ac_compile"
   1579 case "(($ac_try" in
   1580   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1581   *) ac_try_echo=$ac_try;;
   1582 esac
   1583 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1584 $as_echo "$ac_try_echo"; } >&5
   1585   (eval "$ac_compile") 2>conftest.err
   1586   ac_status=$?
   1587   if test -s conftest.err; then
   1588     grep -v '^ *+' conftest.err >conftest.er1
   1589     cat conftest.er1 >&5
   1590     mv -f conftest.er1 conftest.err
   1591   fi
   1592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1593   test $ac_status = 0; } && {
   1594 	 test -z "$ac_c_werror_flag" ||
   1595 	 test ! -s conftest.err
   1596        } && test -s conftest.$ac_objext; then :
   1597   ac_retval=0
   1598 else
   1599   $as_echo "$as_me: failed program was:" >&5
   1600 sed 's/^/| /' conftest.$ac_ext >&5
   1601 
   1602 	ac_retval=1
   1603 fi
   1604   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1605   as_fn_set_status $ac_retval
   1606 
   1607 } # ac_fn_c_try_compile
   1608 
   1609 # ac_fn_c_try_link LINENO
   1610 # -----------------------
   1611 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1612 ac_fn_c_try_link ()
   1613 {
   1614   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1615   rm -f conftest.$ac_objext conftest$ac_exeext
   1616   if { { ac_try="$ac_link"
   1617 case "(($ac_try" in
   1618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1619   *) ac_try_echo=$ac_try;;
   1620 esac
   1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1622 $as_echo "$ac_try_echo"; } >&5
   1623   (eval "$ac_link") 2>conftest.err
   1624   ac_status=$?
   1625   if test -s conftest.err; then
   1626     grep -v '^ *+' conftest.err >conftest.er1
   1627     cat conftest.er1 >&5
   1628     mv -f conftest.er1 conftest.err
   1629   fi
   1630   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1631   test $ac_status = 0; } && {
   1632 	 test -z "$ac_c_werror_flag" ||
   1633 	 test ! -s conftest.err
   1634        } && test -s conftest$ac_exeext && {
   1635 	 test "$cross_compiling" = yes ||
   1636 	 test -x conftest$ac_exeext
   1637        }; then :
   1638   ac_retval=0
   1639 else
   1640   $as_echo "$as_me: failed program was:" >&5
   1641 sed 's/^/| /' conftest.$ac_ext >&5
   1642 
   1643 	ac_retval=1
   1644 fi
   1645   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1646   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1647   # interfere with the next link command; also delete a directory that is
   1648   # left behind by Apple's compiler.  We do this before executing the actions.
   1649   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1650   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1651   as_fn_set_status $ac_retval
   1652 
   1653 } # ac_fn_c_try_link
   1654 
   1655 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1656 # -------------------------------------------------------
   1657 # Tests whether HEADER exists and can be compiled using the include files in
   1658 # INCLUDES, setting the cache variable VAR accordingly.
   1659 ac_fn_c_check_header_compile ()
   1660 {
   1661   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1663 $as_echo_n "checking for $2... " >&6; }
   1664 if eval \${$3+:} false; then :
   1665   $as_echo_n "(cached) " >&6
   1666 else
   1667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1668 /* end confdefs.h.  */
   1669 $4
   1670 #include <$2>
   1671 _ACEOF
   1672 if ac_fn_c_try_compile "$LINENO"; then :
   1673   eval "$3=yes"
   1674 else
   1675   eval "$3=no"
   1676 fi
   1677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1678 fi
   1679 eval ac_res=\$$3
   1680 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1681 $as_echo "$ac_res" >&6; }
   1682   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1683 
   1684 } # ac_fn_c_check_header_compile
   1685 
   1686 # ac_fn_c_try_cpp LINENO
   1687 # ----------------------
   1688 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1689 ac_fn_c_try_cpp ()
   1690 {
   1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1692   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 $as_echo "$ac_try_echo"; } >&5
   1699   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1700   ac_status=$?
   1701   if test -s conftest.err; then
   1702     grep -v '^ *+' conftest.err >conftest.er1
   1703     cat conftest.er1 >&5
   1704     mv -f conftest.er1 conftest.err
   1705   fi
   1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } > conftest.i && {
   1708 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1709 	 test ! -s conftest.err
   1710        }; then :
   1711   ac_retval=0
   1712 else
   1713   $as_echo "$as_me: failed program was:" >&5
   1714 sed 's/^/| /' conftest.$ac_ext >&5
   1715 
   1716     ac_retval=1
   1717 fi
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_cpp
   1722 
   1723 # ac_fn_c_try_run LINENO
   1724 # ----------------------
   1725 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1726 # that executables *can* be run.
   1727 ac_fn_c_try_run ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   if { { ac_try="$ac_link"
   1731 case "(($ac_try" in
   1732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1733   *) ac_try_echo=$ac_try;;
   1734 esac
   1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1736 $as_echo "$ac_try_echo"; } >&5
   1737   (eval "$ac_link") 2>&5
   1738   ac_status=$?
   1739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1740   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1741   { { case "(($ac_try" in
   1742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1743   *) ac_try_echo=$ac_try;;
   1744 esac
   1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1746 $as_echo "$ac_try_echo"; } >&5
   1747   (eval "$ac_try") 2>&5
   1748   ac_status=$?
   1749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1750   test $ac_status = 0; }; }; then :
   1751   ac_retval=0
   1752 else
   1753   $as_echo "$as_me: program exited with status $ac_status" >&5
   1754        $as_echo "$as_me: failed program was:" >&5
   1755 sed 's/^/| /' conftest.$ac_ext >&5
   1756 
   1757        ac_retval=$ac_status
   1758 fi
   1759   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1760   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1761   as_fn_set_status $ac_retval
   1762 
   1763 } # ac_fn_c_try_run
   1764 
   1765 # ac_fn_c_check_func LINENO FUNC VAR
   1766 # ----------------------------------
   1767 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1768 ac_fn_c_check_func ()
   1769 {
   1770   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1771   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1772 $as_echo_n "checking for $2... " >&6; }
   1773 if eval \${$3+:} false; then :
   1774   $as_echo_n "(cached) " >&6
   1775 else
   1776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1777 /* end confdefs.h.  */
   1778 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1779    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1780 #define $2 innocuous_$2
   1781 
   1782 /* System header to define __stub macros and hopefully few prototypes,
   1783     which can conflict with char $2 (); below.
   1784     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1785     <limits.h> exists even on freestanding compilers.  */
   1786 
   1787 #ifdef __STDC__
   1788 # include <limits.h>
   1789 #else
   1790 # include <assert.h>
   1791 #endif
   1792 
   1793 #undef $2
   1794 
   1795 /* Override any GCC internal prototype to avoid an error.
   1796    Use char because int might match the return type of a GCC
   1797    builtin and then its argument prototype would still apply.  */
   1798 #ifdef __cplusplus
   1799 extern "C"
   1800 #endif
   1801 char $2 ();
   1802 /* The GNU C library defines this for functions which it implements
   1803     to always fail with ENOSYS.  Some functions are actually named
   1804     something starting with __ and the normal name is an alias.  */
   1805 #if defined __stub_$2 || defined __stub___$2
   1806 choke me
   1807 #endif
   1808 
   1809 int
   1810 main ()
   1811 {
   1812 return $2 ();
   1813   ;
   1814   return 0;
   1815 }
   1816 _ACEOF
   1817 if ac_fn_c_try_link "$LINENO"; then :
   1818   eval "$3=yes"
   1819 else
   1820   eval "$3=no"
   1821 fi
   1822 rm -f core conftest.err conftest.$ac_objext \
   1823     conftest$ac_exeext conftest.$ac_ext
   1824 fi
   1825 eval ac_res=\$$3
   1826 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1827 $as_echo "$ac_res" >&6; }
   1828   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1829 
   1830 } # ac_fn_c_check_func
   1831 
   1832 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1833 # ---------------------------------------------
   1834 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1835 # accordingly.
   1836 ac_fn_c_check_decl ()
   1837 {
   1838   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1839   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1840   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1841   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1842 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1843 if eval \${$3+:} false; then :
   1844   $as_echo_n "(cached) " >&6
   1845 else
   1846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1847 /* end confdefs.h.  */
   1848 $4
   1849 int
   1850 main ()
   1851 {
   1852 #ifndef $as_decl_name
   1853 #ifdef __cplusplus
   1854   (void) $as_decl_use;
   1855 #else
   1856   (void) $as_decl_name;
   1857 #endif
   1858 #endif
   1859 
   1860   ;
   1861   return 0;
   1862 }
   1863 _ACEOF
   1864 if ac_fn_c_try_compile "$LINENO"; then :
   1865   eval "$3=yes"
   1866 else
   1867   eval "$3=no"
   1868 fi
   1869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1870 fi
   1871 eval ac_res=\$$3
   1872 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1873 $as_echo "$ac_res" >&6; }
   1874   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1875 
   1876 } # ac_fn_c_check_decl
   1877 cat >config.log <<_ACEOF
   1878 This file contains any messages produced by compilers while
   1879 running configure, to aid debugging if configure makes a mistake.
   1880 
   1881 It was created by xf86-input-keyboard $as_me 1.9.0, which was
   1882 generated by GNU Autoconf 2.69.  Invocation command line was
   1883 
   1884   $ $0 $@
   1885 
   1886 _ACEOF
   1887 exec 5>>config.log
   1888 {
   1889 cat <<_ASUNAME
   1890 ## --------- ##
   1891 ## Platform. ##
   1892 ## --------- ##
   1893 
   1894 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1895 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1896 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1897 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1898 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1899 
   1900 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1901 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1902 
   1903 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1904 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1905 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1906 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1907 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1908 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1909 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1910 
   1911 _ASUNAME
   1912 
   1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1914 for as_dir in $PATH
   1915 do
   1916   IFS=$as_save_IFS
   1917   test -z "$as_dir" && as_dir=.
   1918     $as_echo "PATH: $as_dir"
   1919   done
   1920 IFS=$as_save_IFS
   1921 
   1922 } >&5
   1923 
   1924 cat >&5 <<_ACEOF
   1925 
   1926 
   1927 ## ----------- ##
   1928 ## Core tests. ##
   1929 ## ----------- ##
   1930 
   1931 _ACEOF
   1932 
   1933 
   1934 # Keep a trace of the command line.
   1935 # Strip out --no-create and --no-recursion so they do not pile up.
   1936 # Strip out --silent because we don't want to record it for future runs.
   1937 # Also quote any args containing shell meta-characters.
   1938 # Make two passes to allow for proper duplicate-argument suppression.
   1939 ac_configure_args=
   1940 ac_configure_args0=
   1941 ac_configure_args1=
   1942 ac_must_keep_next=false
   1943 for ac_pass in 1 2
   1944 do
   1945   for ac_arg
   1946   do
   1947     case $ac_arg in
   1948     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1949     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1950     | -silent | --silent | --silen | --sile | --sil)
   1951       continue ;;
   1952     *\'*)
   1953       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1954     esac
   1955     case $ac_pass in
   1956     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1957     2)
   1958       as_fn_append ac_configure_args1 " '$ac_arg'"
   1959       if test $ac_must_keep_next = true; then
   1960 	ac_must_keep_next=false # Got value, back to normal.
   1961       else
   1962 	case $ac_arg in
   1963 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1964 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1965 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1966 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1967 	    case "$ac_configure_args0 " in
   1968 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1969 	    esac
   1970 	    ;;
   1971 	  -* ) ac_must_keep_next=true ;;
   1972 	esac
   1973       fi
   1974       as_fn_append ac_configure_args " '$ac_arg'"
   1975       ;;
   1976     esac
   1977   done
   1978 done
   1979 { ac_configure_args0=; unset ac_configure_args0;}
   1980 { ac_configure_args1=; unset ac_configure_args1;}
   1981 
   1982 # When interrupted or exit'd, cleanup temporary files, and complete
   1983 # config.log.  We remove comments because anyway the quotes in there
   1984 # would cause problems or look ugly.
   1985 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1986 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1987 trap 'exit_status=$?
   1988   # Save into config.log some information that might help in debugging.
   1989   {
   1990     echo
   1991 
   1992     $as_echo "## ---------------- ##
   1993 ## Cache variables. ##
   1994 ## ---------------- ##"
   1995     echo
   1996     # The following way of writing the cache mishandles newlines in values,
   1997 (
   1998   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1999     eval ac_val=\$$ac_var
   2000     case $ac_val in #(
   2001     *${as_nl}*)
   2002       case $ac_var in #(
   2003       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2004 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2005       esac
   2006       case $ac_var in #(
   2007       _ | IFS | as_nl) ;; #(
   2008       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2009       *) { eval $ac_var=; unset $ac_var;} ;;
   2010       esac ;;
   2011     esac
   2012   done
   2013   (set) 2>&1 |
   2014     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2015     *${as_nl}ac_space=\ *)
   2016       sed -n \
   2017 	"s/'\''/'\''\\\\'\'''\''/g;
   2018 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2019       ;; #(
   2020     *)
   2021       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2022       ;;
   2023     esac |
   2024     sort
   2025 )
   2026     echo
   2027 
   2028     $as_echo "## ----------------- ##
   2029 ## Output variables. ##
   2030 ## ----------------- ##"
   2031     echo
   2032     for ac_var in $ac_subst_vars
   2033     do
   2034       eval ac_val=\$$ac_var
   2035       case $ac_val in
   2036       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2037       esac
   2038       $as_echo "$ac_var='\''$ac_val'\''"
   2039     done | sort
   2040     echo
   2041 
   2042     if test -n "$ac_subst_files"; then
   2043       $as_echo "## ------------------- ##
   2044 ## File substitutions. ##
   2045 ## ------------------- ##"
   2046       echo
   2047       for ac_var in $ac_subst_files
   2048       do
   2049 	eval ac_val=\$$ac_var
   2050 	case $ac_val in
   2051 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2052 	esac
   2053 	$as_echo "$ac_var='\''$ac_val'\''"
   2054       done | sort
   2055       echo
   2056     fi
   2057 
   2058     if test -s confdefs.h; then
   2059       $as_echo "## ----------- ##
   2060 ## confdefs.h. ##
   2061 ## ----------- ##"
   2062       echo
   2063       cat confdefs.h
   2064       echo
   2065     fi
   2066     test "$ac_signal" != 0 &&
   2067       $as_echo "$as_me: caught signal $ac_signal"
   2068     $as_echo "$as_me: exit $exit_status"
   2069   } >&5
   2070   rm -f core *.core core.conftest.* &&
   2071     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2072     exit $exit_status
   2073 ' 0
   2074 for ac_signal in 1 2 13 15; do
   2075   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2076 done
   2077 ac_signal=0
   2078 
   2079 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2080 rm -f -r conftest* confdefs.h
   2081 
   2082 $as_echo "/* confdefs.h */" > confdefs.h
   2083 
   2084 # Predefined preprocessor variables.
   2085 
   2086 cat >>confdefs.h <<_ACEOF
   2087 #define PACKAGE_NAME "$PACKAGE_NAME"
   2088 _ACEOF
   2089 
   2090 cat >>confdefs.h <<_ACEOF
   2091 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2092 _ACEOF
   2093 
   2094 cat >>confdefs.h <<_ACEOF
   2095 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2096 _ACEOF
   2097 
   2098 cat >>confdefs.h <<_ACEOF
   2099 #define PACKAGE_STRING "$PACKAGE_STRING"
   2100 _ACEOF
   2101 
   2102 cat >>confdefs.h <<_ACEOF
   2103 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2104 _ACEOF
   2105 
   2106 cat >>confdefs.h <<_ACEOF
   2107 #define PACKAGE_URL "$PACKAGE_URL"
   2108 _ACEOF
   2109 
   2110 
   2111 # Let the site file select an alternate cache file if it wants to.
   2112 # Prefer an explicitly selected file to automatically selected ones.
   2113 ac_site_file1=NONE
   2114 ac_site_file2=NONE
   2115 if test -n "$CONFIG_SITE"; then
   2116   # We do not want a PATH search for config.site.
   2117   case $CONFIG_SITE in #((
   2118     -*)  ac_site_file1=./$CONFIG_SITE;;
   2119     */*) ac_site_file1=$CONFIG_SITE;;
   2120     *)   ac_site_file1=./$CONFIG_SITE;;
   2121   esac
   2122 elif test "x$prefix" != xNONE; then
   2123   ac_site_file1=$prefix/share/config.site
   2124   ac_site_file2=$prefix/etc/config.site
   2125 else
   2126   ac_site_file1=$ac_default_prefix/share/config.site
   2127   ac_site_file2=$ac_default_prefix/etc/config.site
   2128 fi
   2129 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2130 do
   2131   test "x$ac_site_file" = xNONE && continue
   2132   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2133     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2134 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2135     sed 's/^/| /' "$ac_site_file" >&5
   2136     . "$ac_site_file" \
   2137       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2138 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2139 as_fn_error $? "failed to load site script $ac_site_file
   2140 See \`config.log' for more details" "$LINENO" 5; }
   2141   fi
   2142 done
   2143 
   2144 if test -r "$cache_file"; then
   2145   # Some versions of bash will fail to source /dev/null (special files
   2146   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2147   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2148     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2149 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2150     case $cache_file in
   2151       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2152       *)                      . "./$cache_file";;
   2153     esac
   2154   fi
   2155 else
   2156   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2157 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2158   >$cache_file
   2159 fi
   2160 
   2161 # Check that the precious variables saved in the cache have kept the same
   2162 # value.
   2163 ac_cache_corrupted=false
   2164 for ac_var in $ac_precious_vars; do
   2165   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2166   eval ac_new_set=\$ac_env_${ac_var}_set
   2167   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2168   eval ac_new_val=\$ac_env_${ac_var}_value
   2169   case $ac_old_set,$ac_new_set in
   2170     set,)
   2171       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2172 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2173       ac_cache_corrupted=: ;;
   2174     ,set)
   2175       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2176 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2177       ac_cache_corrupted=: ;;
   2178     ,);;
   2179     *)
   2180       if test "x$ac_old_val" != "x$ac_new_val"; then
   2181 	# differences in whitespace do not lead to failure.
   2182 	ac_old_val_w=`echo x $ac_old_val`
   2183 	ac_new_val_w=`echo x $ac_new_val`
   2184 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2185 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2186 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2187 	  ac_cache_corrupted=:
   2188 	else
   2189 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2190 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2191 	  eval $ac_var=\$ac_old_val
   2192 	fi
   2193 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2194 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2195 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2196 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2197       fi;;
   2198   esac
   2199   # Pass precious variables to config.status.
   2200   if test "$ac_new_set" = set; then
   2201     case $ac_new_val in
   2202     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2203     *) ac_arg=$ac_var=$ac_new_val ;;
   2204     esac
   2205     case " $ac_configure_args " in
   2206       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2207       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2208     esac
   2209   fi
   2210 done
   2211 if $ac_cache_corrupted; then
   2212   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2214   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2215 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2216   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2217 fi
   2218 ## -------------------- ##
   2219 ## Main body of script. ##
   2220 ## -------------------- ##
   2221 
   2222 ac_ext=c
   2223 ac_cpp='$CPP $CPPFLAGS'
   2224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2227 
   2228 
   2229 
   2230 ac_config_headers="$ac_config_headers config.h"
   2231 
   2232 ac_aux_dir=
   2233 for ac_dir in . "$srcdir"/.; do
   2234   if test -f "$ac_dir/install-sh"; then
   2235     ac_aux_dir=$ac_dir
   2236     ac_install_sh="$ac_aux_dir/install-sh -c"
   2237     break
   2238   elif test -f "$ac_dir/install.sh"; then
   2239     ac_aux_dir=$ac_dir
   2240     ac_install_sh="$ac_aux_dir/install.sh -c"
   2241     break
   2242   elif test -f "$ac_dir/shtool"; then
   2243     ac_aux_dir=$ac_dir
   2244     ac_install_sh="$ac_aux_dir/shtool install -c"
   2245     break
   2246   fi
   2247 done
   2248 if test -z "$ac_aux_dir"; then
   2249   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2250 fi
   2251 
   2252 # These three variables are undocumented and unsupported,
   2253 # and are intended to be withdrawn in a future Autoconf release.
   2254 # They can cause serious problems if a builder's source tree is in a directory
   2255 # whose full name contains unusual characters.
   2256 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2257 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2258 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2259 
   2260 
   2261 
   2262 # Initialize Automake
   2263 am__api_version='1.15'
   2264 
   2265 # Find a good install program.  We prefer a C program (faster),
   2266 # so one script is as good as another.  But avoid the broken or
   2267 # incompatible versions:
   2268 # SysV /etc/install, /usr/sbin/install
   2269 # SunOS /usr/etc/install
   2270 # IRIX /sbin/install
   2271 # AIX /bin/install
   2272 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2273 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2274 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2275 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2276 # OS/2's system install, which has a completely different semantic
   2277 # ./install, which can be erroneously created by make from ./install.sh.
   2278 # Reject install programs that cannot install multiple files.
   2279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2280 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2281 if test -z "$INSTALL"; then
   2282 if ${ac_cv_path_install+:} false; then :
   2283   $as_echo_n "(cached) " >&6
   2284 else
   2285   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2286 for as_dir in $PATH
   2287 do
   2288   IFS=$as_save_IFS
   2289   test -z "$as_dir" && as_dir=.
   2290     # Account for people who put trailing slashes in PATH elements.
   2291 case $as_dir/ in #((
   2292   ./ | .// | /[cC]/* | \
   2293   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2294   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2295   /usr/ucb/* ) ;;
   2296   *)
   2297     # OSF1 and SCO ODT 3.0 have their own names for install.
   2298     # Don't use installbsd from OSF since it installs stuff as root
   2299     # by default.
   2300     for ac_prog in ginstall scoinst install; do
   2301       for ac_exec_ext in '' $ac_executable_extensions; do
   2302 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2303 	  if test $ac_prog = install &&
   2304 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2305 	    # AIX install.  It has an incompatible calling convention.
   2306 	    :
   2307 	  elif test $ac_prog = install &&
   2308 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2309 	    # program-specific install script used by HP pwplus--don't use.
   2310 	    :
   2311 	  else
   2312 	    rm -rf conftest.one conftest.two conftest.dir
   2313 	    echo one > conftest.one
   2314 	    echo two > conftest.two
   2315 	    mkdir conftest.dir
   2316 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2317 	      test -s conftest.one && test -s conftest.two &&
   2318 	      test -s conftest.dir/conftest.one &&
   2319 	      test -s conftest.dir/conftest.two
   2320 	    then
   2321 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2322 	      break 3
   2323 	    fi
   2324 	  fi
   2325 	fi
   2326       done
   2327     done
   2328     ;;
   2329 esac
   2330 
   2331   done
   2332 IFS=$as_save_IFS
   2333 
   2334 rm -rf conftest.one conftest.two conftest.dir
   2335 
   2336 fi
   2337   if test "${ac_cv_path_install+set}" = set; then
   2338     INSTALL=$ac_cv_path_install
   2339   else
   2340     # As a last resort, use the slow shell script.  Don't cache a
   2341     # value for INSTALL within a source directory, because that will
   2342     # break other packages using the cache if that directory is
   2343     # removed, or if the value is a relative name.
   2344     INSTALL=$ac_install_sh
   2345   fi
   2346 fi
   2347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2348 $as_echo "$INSTALL" >&6; }
   2349 
   2350 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2351 # It thinks the first close brace ends the variable substitution.
   2352 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2353 
   2354 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2355 
   2356 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2357 
   2358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2359 $as_echo_n "checking whether build environment is sane... " >&6; }
   2360 # Reject unsafe characters in $srcdir or the absolute working directory
   2361 # name.  Accept space and tab only in the latter.
   2362 am_lf='
   2363 '
   2364 case `pwd` in
   2365   *[\\\"\#\$\&\'\`$am_lf]*)
   2366     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2367 esac
   2368 case $srcdir in
   2369   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2370     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2371 esac
   2372 
   2373 # Do 'set' in a subshell so we don't clobber the current shell's
   2374 # arguments.  Must try -L first in case configure is actually a
   2375 # symlink; some systems play weird games with the mod time of symlinks
   2376 # (eg FreeBSD returns the mod time of the symlink's containing
   2377 # directory).
   2378 if (
   2379    am_has_slept=no
   2380    for am_try in 1 2; do
   2381      echo "timestamp, slept: $am_has_slept" > conftest.file
   2382      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2383      if test "$*" = "X"; then
   2384 	# -L didn't work.
   2385 	set X `ls -t "$srcdir/configure" conftest.file`
   2386      fi
   2387      if test "$*" != "X $srcdir/configure conftest.file" \
   2388 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2389 
   2390 	# If neither matched, then we have a broken ls.  This can happen
   2391 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2392 	# broken ls alias from the environment.  This has actually
   2393 	# happened.  Such a system could not be considered "sane".
   2394 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2395   alias in your environment" "$LINENO" 5
   2396      fi
   2397      if test "$2" = conftest.file || test $am_try -eq 2; then
   2398        break
   2399      fi
   2400      # Just in case.
   2401      sleep 1
   2402      am_has_slept=yes
   2403    done
   2404    test "$2" = conftest.file
   2405    )
   2406 then
   2407    # Ok.
   2408    :
   2409 else
   2410    as_fn_error $? "newly created file is older than distributed files!
   2411 Check your system clock" "$LINENO" 5
   2412 fi
   2413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2414 $as_echo "yes" >&6; }
   2415 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2416 # generated files are strictly newer.
   2417 am_sleep_pid=
   2418 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2419   ( sleep 1 ) &
   2420   am_sleep_pid=$!
   2421 fi
   2422 
   2423 rm -f conftest.file
   2424 
   2425 test "$program_prefix" != NONE &&
   2426   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2427 # Use a double $ so make ignores it.
   2428 test "$program_suffix" != NONE &&
   2429   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2430 # Double any \ or $.
   2431 # By default was `s,x,x', remove it if useless.
   2432 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2433 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2434 
   2435 # Expand $ac_aux_dir to an absolute path.
   2436 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2437 
   2438 if test x"${MISSING+set}" != xset; then
   2439   case $am_aux_dir in
   2440   *\ * | *\	*)
   2441     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2442   *)
   2443     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2444   esac
   2445 fi
   2446 # Use eval to expand $SHELL
   2447 if eval "$MISSING --is-lightweight"; then
   2448   am_missing_run="$MISSING "
   2449 else
   2450   am_missing_run=
   2451   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2452 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2453 fi
   2454 
   2455 if test x"${install_sh+set}" != xset; then
   2456   case $am_aux_dir in
   2457   *\ * | *\	*)
   2458     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2459   *)
   2460     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2461   esac
   2462 fi
   2463 
   2464 # Installed binaries are usually stripped using 'strip' when the user
   2465 # run "make install-strip".  However 'strip' might not be the right
   2466 # tool to use in cross-compilation environments, therefore Automake
   2467 # will honor the 'STRIP' environment variable to overrule this program.
   2468 if test "$cross_compiling" != no; then
   2469   if test -n "$ac_tool_prefix"; then
   2470   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2471 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2473 $as_echo_n "checking for $ac_word... " >&6; }
   2474 if ${ac_cv_prog_STRIP+:} false; then :
   2475   $as_echo_n "(cached) " >&6
   2476 else
   2477   if test -n "$STRIP"; then
   2478   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2479 else
   2480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2481 for as_dir in $PATH
   2482 do
   2483   IFS=$as_save_IFS
   2484   test -z "$as_dir" && as_dir=.
   2485     for ac_exec_ext in '' $ac_executable_extensions; do
   2486   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2487     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2488     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2489     break 2
   2490   fi
   2491 done
   2492   done
   2493 IFS=$as_save_IFS
   2494 
   2495 fi
   2496 fi
   2497 STRIP=$ac_cv_prog_STRIP
   2498 if test -n "$STRIP"; then
   2499   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2500 $as_echo "$STRIP" >&6; }
   2501 else
   2502   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2503 $as_echo "no" >&6; }
   2504 fi
   2505 
   2506 
   2507 fi
   2508 if test -z "$ac_cv_prog_STRIP"; then
   2509   ac_ct_STRIP=$STRIP
   2510   # Extract the first word of "strip", so it can be a program name with args.
   2511 set dummy strip; ac_word=$2
   2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2513 $as_echo_n "checking for $ac_word... " >&6; }
   2514 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2515   $as_echo_n "(cached) " >&6
   2516 else
   2517   if test -n "$ac_ct_STRIP"; then
   2518   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2519 else
   2520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2521 for as_dir in $PATH
   2522 do
   2523   IFS=$as_save_IFS
   2524   test -z "$as_dir" && as_dir=.
   2525     for ac_exec_ext in '' $ac_executable_extensions; do
   2526   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2527     ac_cv_prog_ac_ct_STRIP="strip"
   2528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2529     break 2
   2530   fi
   2531 done
   2532   done
   2533 IFS=$as_save_IFS
   2534 
   2535 fi
   2536 fi
   2537 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2538 if test -n "$ac_ct_STRIP"; then
   2539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2540 $as_echo "$ac_ct_STRIP" >&6; }
   2541 else
   2542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2543 $as_echo "no" >&6; }
   2544 fi
   2545 
   2546   if test "x$ac_ct_STRIP" = x; then
   2547     STRIP=":"
   2548   else
   2549     case $cross_compiling:$ac_tool_warned in
   2550 yes:)
   2551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2553 ac_tool_warned=yes ;;
   2554 esac
   2555     STRIP=$ac_ct_STRIP
   2556   fi
   2557 else
   2558   STRIP="$ac_cv_prog_STRIP"
   2559 fi
   2560 
   2561 fi
   2562 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2563 
   2564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2565 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2566 if test -z "$MKDIR_P"; then
   2567   if ${ac_cv_path_mkdir+:} false; then :
   2568   $as_echo_n "(cached) " >&6
   2569 else
   2570   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2571 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2572 do
   2573   IFS=$as_save_IFS
   2574   test -z "$as_dir" && as_dir=.
   2575     for ac_prog in mkdir gmkdir; do
   2576 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2577 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2578 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2579 	     'mkdir (GNU coreutils) '* | \
   2580 	     'mkdir (coreutils) '* | \
   2581 	     'mkdir (fileutils) '4.1*)
   2582 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2583 	       break 3;;
   2584 	   esac
   2585 	 done
   2586        done
   2587   done
   2588 IFS=$as_save_IFS
   2589 
   2590 fi
   2591 
   2592   test -d ./--version && rmdir ./--version
   2593   if test "${ac_cv_path_mkdir+set}" = set; then
   2594     MKDIR_P="$ac_cv_path_mkdir -p"
   2595   else
   2596     # As a last resort, use the slow shell script.  Don't cache a
   2597     # value for MKDIR_P within a source directory, because that will
   2598     # break other packages using the cache if that directory is
   2599     # removed, or if the value is a relative name.
   2600     MKDIR_P="$ac_install_sh -d"
   2601   fi
   2602 fi
   2603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2604 $as_echo "$MKDIR_P" >&6; }
   2605 
   2606 for ac_prog in gawk mawk nawk awk
   2607 do
   2608   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2609 set dummy $ac_prog; ac_word=$2
   2610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2611 $as_echo_n "checking for $ac_word... " >&6; }
   2612 if ${ac_cv_prog_AWK+:} false; then :
   2613   $as_echo_n "(cached) " >&6
   2614 else
   2615   if test -n "$AWK"; then
   2616   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2617 else
   2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2619 for as_dir in $PATH
   2620 do
   2621   IFS=$as_save_IFS
   2622   test -z "$as_dir" && as_dir=.
   2623     for ac_exec_ext in '' $ac_executable_extensions; do
   2624   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2625     ac_cv_prog_AWK="$ac_prog"
   2626     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2627     break 2
   2628   fi
   2629 done
   2630   done
   2631 IFS=$as_save_IFS
   2632 
   2633 fi
   2634 fi
   2635 AWK=$ac_cv_prog_AWK
   2636 if test -n "$AWK"; then
   2637   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2638 $as_echo "$AWK" >&6; }
   2639 else
   2640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2641 $as_echo "no" >&6; }
   2642 fi
   2643 
   2644 
   2645   test -n "$AWK" && break
   2646 done
   2647 
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2649 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2650 set x ${MAKE-make}
   2651 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2652 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2653   $as_echo_n "(cached) " >&6
   2654 else
   2655   cat >conftest.make <<\_ACEOF
   2656 SHELL = /bin/sh
   2657 all:
   2658 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2659 _ACEOF
   2660 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2661 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2662   *@@@%%%=?*=@@@%%%*)
   2663     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2664   *)
   2665     eval ac_cv_prog_make_${ac_make}_set=no;;
   2666 esac
   2667 rm -f conftest.make
   2668 fi
   2669 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2670   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2671 $as_echo "yes" >&6; }
   2672   SET_MAKE=
   2673 else
   2674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2675 $as_echo "no" >&6; }
   2676   SET_MAKE="MAKE=${MAKE-make}"
   2677 fi
   2678 
   2679 rm -rf .tst 2>/dev/null
   2680 mkdir .tst 2>/dev/null
   2681 if test -d .tst; then
   2682   am__leading_dot=.
   2683 else
   2684   am__leading_dot=_
   2685 fi
   2686 rmdir .tst 2>/dev/null
   2687 
   2688 # Check whether --enable-silent-rules was given.
   2689 if test "${enable_silent_rules+set}" = set; then :
   2690   enableval=$enable_silent_rules;
   2691 fi
   2692 
   2693 case $enable_silent_rules in # (((
   2694   yes) AM_DEFAULT_VERBOSITY=0;;
   2695    no) AM_DEFAULT_VERBOSITY=1;;
   2696     *) AM_DEFAULT_VERBOSITY=1;;
   2697 esac
   2698 am_make=${MAKE-make}
   2699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2700 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2701 if ${am_cv_make_support_nested_variables+:} false; then :
   2702   $as_echo_n "(cached) " >&6
   2703 else
   2704   if $as_echo 'TRUE=$(BAR$(V))
   2705 BAR0=false
   2706 BAR1=true
   2707 V=1
   2708 am__doit:
   2709 	@$(TRUE)
   2710 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2711   am_cv_make_support_nested_variables=yes
   2712 else
   2713   am_cv_make_support_nested_variables=no
   2714 fi
   2715 fi
   2716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2717 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2718 if test $am_cv_make_support_nested_variables = yes; then
   2719     AM_V='$(V)'
   2720   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2721 else
   2722   AM_V=$AM_DEFAULT_VERBOSITY
   2723   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2724 fi
   2725 AM_BACKSLASH='\'
   2726 
   2727 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2728   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2729   # is not polluted with repeated "-I."
   2730   am__isrc=' -I$(srcdir)'
   2731   # test to see if srcdir already configured
   2732   if test -f $srcdir/config.status; then
   2733     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2734   fi
   2735 fi
   2736 
   2737 # test whether we have cygpath
   2738 if test -z "$CYGPATH_W"; then
   2739   if (cygpath --version) >/dev/null 2>/dev/null; then
   2740     CYGPATH_W='cygpath -w'
   2741   else
   2742     CYGPATH_W=echo
   2743   fi
   2744 fi
   2745 
   2746 
   2747 # Define the identity of the package.
   2748  PACKAGE='xf86-input-keyboard'
   2749  VERSION='1.9.0'
   2750 
   2751 
   2752 cat >>confdefs.h <<_ACEOF
   2753 #define PACKAGE "$PACKAGE"
   2754 _ACEOF
   2755 
   2756 
   2757 cat >>confdefs.h <<_ACEOF
   2758 #define VERSION "$VERSION"
   2759 _ACEOF
   2760 
   2761 # Some tools Automake needs.
   2762 
   2763 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2764 
   2765 
   2766 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2767 
   2768 
   2769 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2770 
   2771 
   2772 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2773 
   2774 
   2775 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2776 
   2777 # For better backward compatibility.  To be removed once Automake 1.9.x
   2778 # dies out for good.  For more background, see:
   2779 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2780 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2781 mkdir_p='$(MKDIR_P)'
   2782 
   2783 # We need awk for the "check" target (and possibly the TAP driver).  The
   2784 # system "awk" is bad on some platforms.
   2785 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2786 # in the wild :-(  We should find a proper way to deprecate it ...
   2787 AMTAR='$${TAR-tar}'
   2788 
   2789 
   2790 # We'll loop over all known methods to create a tar archive until one works.
   2791 _am_tools='gnutar  pax cpio none'
   2792 
   2793 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2794 
   2795 
   2796 
   2797 
   2798 
   2799 
   2800 # POSIX will say in a future version that running "rm -f" with no argument
   2801 # is OK; and we want to be able to make that assumption in our Makefile
   2802 # recipes.  So use an aggressive probe to check that the usage we want is
   2803 # actually supported "in the wild" to an acceptable degree.
   2804 # See automake bug#10828.
   2805 # To make any issue more visible, cause the running configure to be aborted
   2806 # by default if the 'rm' program in use doesn't match our expectations; the
   2807 # user can still override this though.
   2808 if rm -f && rm -fr && rm -rf; then : OK; else
   2809   cat >&2 <<'END'
   2810 Oops!
   2811 
   2812 Your 'rm' program seems unable to run without file operands specified
   2813 on the command line, even when the '-f' option is present.  This is contrary
   2814 to the behaviour of most rm programs out there, and not conforming with
   2815 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2816 
   2817 Please tell bug-automake@gnu.org about your system, including the value
   2818 of your $PATH and any error possibly output before this message.  This
   2819 can help us improve future automake versions.
   2820 
   2821 END
   2822   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2823     echo 'Configuration will proceed anyway, since you have set the' >&2
   2824     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2825     echo >&2
   2826   else
   2827     cat >&2 <<'END'
   2828 Aborting the configuration process, to ensure you take notice of the issue.
   2829 
   2830 You can download and install GNU coreutils to get an 'rm' implementation
   2831 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2832 
   2833 If you want to complete the configuration process using your problematic
   2834 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2835 to "yes", and re-run configure.
   2836 
   2837 END
   2838     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2839   fi
   2840 fi
   2841 
   2842 
   2843 # Initialize libtool
   2844 # Check whether --enable-static was given.
   2845 if test "${enable_static+set}" = set; then :
   2846   enableval=$enable_static; p=${PACKAGE-default}
   2847     case $enableval in
   2848     yes) enable_static=yes ;;
   2849     no) enable_static=no ;;
   2850     *)
   2851      enable_static=no
   2852       # Look at the argument we got.  We use all the common list separators.
   2853       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   2854       for pkg in $enableval; do
   2855 	IFS=$lt_save_ifs
   2856 	if test "X$pkg" = "X$p"; then
   2857 	  enable_static=yes
   2858 	fi
   2859       done
   2860       IFS=$lt_save_ifs
   2861       ;;
   2862     esac
   2863 else
   2864   enable_static=no
   2865 fi
   2866 
   2867 
   2868 
   2869 
   2870 
   2871 
   2872 
   2873 
   2874 
   2875 case `pwd` in
   2876   *\ * | *\	*)
   2877     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2878 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2879 esac
   2880 
   2881 
   2882 
   2883 macro_version='2.4.6'
   2884 macro_revision='2.4.6'
   2885 
   2886 
   2887 
   2888 
   2889 
   2890 
   2891 
   2892 
   2893 
   2894 
   2895 
   2896 
   2897 
   2898 ltmain=$ac_aux_dir/ltmain.sh
   2899 
   2900 # Make sure we can run config.sub.
   2901 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2902   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2903 
   2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2905 $as_echo_n "checking build system type... " >&6; }
   2906 if ${ac_cv_build+:} false; then :
   2907   $as_echo_n "(cached) " >&6
   2908 else
   2909   ac_build_alias=$build_alias
   2910 test "x$ac_build_alias" = x &&
   2911   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2912 test "x$ac_build_alias" = x &&
   2913   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2914 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2915   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2916 
   2917 fi
   2918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2919 $as_echo "$ac_cv_build" >&6; }
   2920 case $ac_cv_build in
   2921 *-*-*) ;;
   2922 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2923 esac
   2924 build=$ac_cv_build
   2925 ac_save_IFS=$IFS; IFS='-'
   2926 set x $ac_cv_build
   2927 shift
   2928 build_cpu=$1
   2929 build_vendor=$2
   2930 shift; shift
   2931 # Remember, the first character of IFS is used to create $*,
   2932 # except with old shells:
   2933 build_os=$*
   2934 IFS=$ac_save_IFS
   2935 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2936 
   2937 
   2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2939 $as_echo_n "checking host system type... " >&6; }
   2940 if ${ac_cv_host+:} false; then :
   2941   $as_echo_n "(cached) " >&6
   2942 else
   2943   if test "x$host_alias" = x; then
   2944   ac_cv_host=$ac_cv_build
   2945 else
   2946   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2947     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2948 fi
   2949 
   2950 fi
   2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2952 $as_echo "$ac_cv_host" >&6; }
   2953 case $ac_cv_host in
   2954 *-*-*) ;;
   2955 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2956 esac
   2957 host=$ac_cv_host
   2958 ac_save_IFS=$IFS; IFS='-'
   2959 set x $ac_cv_host
   2960 shift
   2961 host_cpu=$1
   2962 host_vendor=$2
   2963 shift; shift
   2964 # Remember, the first character of IFS is used to create $*,
   2965 # except with old shells:
   2966 host_os=$*
   2967 IFS=$ac_save_IFS
   2968 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2969 
   2970 
   2971 # Backslashify metacharacters that are still active within
   2972 # double-quoted strings.
   2973 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2974 
   2975 # Same as above, but do not quote variable references.
   2976 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2977 
   2978 # Sed substitution to delay expansion of an escaped shell variable in a
   2979 # double_quote_subst'ed string.
   2980 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2981 
   2982 # Sed substitution to delay expansion of an escaped single quote.
   2983 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2984 
   2985 # Sed substitution to avoid accidental globbing in evaled expressions
   2986 no_glob_subst='s/\*/\\\*/g'
   2987 
   2988 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2989 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2990 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2991 
   2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2993 $as_echo_n "checking how to print strings... " >&6; }
   2994 # Test print first, because it will be a builtin if present.
   2995 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2996    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2997   ECHO='print -r --'
   2998 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2999   ECHO='printf %s\n'
   3000 else
   3001   # Use this function as a fallback that always works.
   3002   func_fallback_echo ()
   3003   {
   3004     eval 'cat <<_LTECHO_EOF
   3005 $1
   3006 _LTECHO_EOF'
   3007   }
   3008   ECHO='func_fallback_echo'
   3009 fi
   3010 
   3011 # func_echo_all arg...
   3012 # Invoke $ECHO with all args, space-separated.
   3013 func_echo_all ()
   3014 {
   3015     $ECHO ""
   3016 }
   3017 
   3018 case $ECHO in
   3019   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   3020 $as_echo "printf" >&6; } ;;
   3021   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   3022 $as_echo "print -r" >&6; } ;;
   3023   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   3024 $as_echo "cat" >&6; } ;;
   3025 esac
   3026 
   3027 
   3028 
   3029 
   3030 
   3031 
   3032 
   3033 
   3034 
   3035 
   3036 
   3037 
   3038 
   3039 
   3040 DEPDIR="${am__leading_dot}deps"
   3041 
   3042 ac_config_commands="$ac_config_commands depfiles"
   3043 
   3044 
   3045 am_make=${MAKE-make}
   3046 cat > confinc << 'END'
   3047 am__doit:
   3048 	@echo this is the am__doit target
   3049 .PHONY: am__doit
   3050 END
   3051 # If we don't find an include directive, just comment out the code.
   3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3053 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3054 am__include="#"
   3055 am__quote=
   3056 _am_result=none
   3057 # First try GNU make style include.
   3058 echo "include confinc" > confmf
   3059 # Ignore all kinds of additional output from 'make'.
   3060 case `$am_make -s -f confmf 2> /dev/null` in #(
   3061 *the\ am__doit\ target*)
   3062   am__include=include
   3063   am__quote=
   3064   _am_result=GNU
   3065   ;;
   3066 esac
   3067 # Now try BSD make style include.
   3068 if test "$am__include" = "#"; then
   3069    echo '.include "confinc"' > confmf
   3070    case `$am_make -s -f confmf 2> /dev/null` in #(
   3071    *the\ am__doit\ target*)
   3072      am__include=.include
   3073      am__quote="\""
   3074      _am_result=BSD
   3075      ;;
   3076    esac
   3077 fi
   3078 
   3079 
   3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3081 $as_echo "$_am_result" >&6; }
   3082 rm -f confinc confmf
   3083 
   3084 # Check whether --enable-dependency-tracking was given.
   3085 if test "${enable_dependency_tracking+set}" = set; then :
   3086   enableval=$enable_dependency_tracking;
   3087 fi
   3088 
   3089 if test "x$enable_dependency_tracking" != xno; then
   3090   am_depcomp="$ac_aux_dir/depcomp"
   3091   AMDEPBACKSLASH='\'
   3092   am__nodep='_no'
   3093 fi
   3094  if test "x$enable_dependency_tracking" != xno; then
   3095   AMDEP_TRUE=
   3096   AMDEP_FALSE='#'
   3097 else
   3098   AMDEP_TRUE='#'
   3099   AMDEP_FALSE=
   3100 fi
   3101 
   3102 
   3103 ac_ext=c
   3104 ac_cpp='$CPP $CPPFLAGS'
   3105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3108 if test -n "$ac_tool_prefix"; then
   3109   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3110 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3112 $as_echo_n "checking for $ac_word... " >&6; }
   3113 if ${ac_cv_prog_CC+:} false; then :
   3114   $as_echo_n "(cached) " >&6
   3115 else
   3116   if test -n "$CC"; then
   3117   ac_cv_prog_CC="$CC" # Let the user override the test.
   3118 else
   3119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3120 for as_dir in $PATH
   3121 do
   3122   IFS=$as_save_IFS
   3123   test -z "$as_dir" && as_dir=.
   3124     for ac_exec_ext in '' $ac_executable_extensions; do
   3125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3126     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3128     break 2
   3129   fi
   3130 done
   3131   done
   3132 IFS=$as_save_IFS
   3133 
   3134 fi
   3135 fi
   3136 CC=$ac_cv_prog_CC
   3137 if test -n "$CC"; then
   3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3139 $as_echo "$CC" >&6; }
   3140 else
   3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3142 $as_echo "no" >&6; }
   3143 fi
   3144 
   3145 
   3146 fi
   3147 if test -z "$ac_cv_prog_CC"; then
   3148   ac_ct_CC=$CC
   3149   # Extract the first word of "gcc", so it can be a program name with args.
   3150 set dummy gcc; ac_word=$2
   3151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3152 $as_echo_n "checking for $ac_word... " >&6; }
   3153 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3154   $as_echo_n "(cached) " >&6
   3155 else
   3156   if test -n "$ac_ct_CC"; then
   3157   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3158 else
   3159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3160 for as_dir in $PATH
   3161 do
   3162   IFS=$as_save_IFS
   3163   test -z "$as_dir" && as_dir=.
   3164     for ac_exec_ext in '' $ac_executable_extensions; do
   3165   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3166     ac_cv_prog_ac_ct_CC="gcc"
   3167     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3168     break 2
   3169   fi
   3170 done
   3171   done
   3172 IFS=$as_save_IFS
   3173 
   3174 fi
   3175 fi
   3176 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3177 if test -n "$ac_ct_CC"; then
   3178   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3179 $as_echo "$ac_ct_CC" >&6; }
   3180 else
   3181   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3182 $as_echo "no" >&6; }
   3183 fi
   3184 
   3185   if test "x$ac_ct_CC" = x; then
   3186     CC=""
   3187   else
   3188     case $cross_compiling:$ac_tool_warned in
   3189 yes:)
   3190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3191 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3192 ac_tool_warned=yes ;;
   3193 esac
   3194     CC=$ac_ct_CC
   3195   fi
   3196 else
   3197   CC="$ac_cv_prog_CC"
   3198 fi
   3199 
   3200 if test -z "$CC"; then
   3201           if test -n "$ac_tool_prefix"; then
   3202     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3203 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3205 $as_echo_n "checking for $ac_word... " >&6; }
   3206 if ${ac_cv_prog_CC+:} false; then :
   3207   $as_echo_n "(cached) " >&6
   3208 else
   3209   if test -n "$CC"; then
   3210   ac_cv_prog_CC="$CC" # Let the user override the test.
   3211 else
   3212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3213 for as_dir in $PATH
   3214 do
   3215   IFS=$as_save_IFS
   3216   test -z "$as_dir" && as_dir=.
   3217     for ac_exec_ext in '' $ac_executable_extensions; do
   3218   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3219     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3220     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3221     break 2
   3222   fi
   3223 done
   3224   done
   3225 IFS=$as_save_IFS
   3226 
   3227 fi
   3228 fi
   3229 CC=$ac_cv_prog_CC
   3230 if test -n "$CC"; then
   3231   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3232 $as_echo "$CC" >&6; }
   3233 else
   3234   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3235 $as_echo "no" >&6; }
   3236 fi
   3237 
   3238 
   3239   fi
   3240 fi
   3241 if test -z "$CC"; then
   3242   # Extract the first word of "cc", so it can be a program name with args.
   3243 set dummy cc; ac_word=$2
   3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3245 $as_echo_n "checking for $ac_word... " >&6; }
   3246 if ${ac_cv_prog_CC+:} false; then :
   3247   $as_echo_n "(cached) " >&6
   3248 else
   3249   if test -n "$CC"; then
   3250   ac_cv_prog_CC="$CC" # Let the user override the test.
   3251 else
   3252   ac_prog_rejected=no
   3253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3254 for as_dir in $PATH
   3255 do
   3256   IFS=$as_save_IFS
   3257   test -z "$as_dir" && as_dir=.
   3258     for ac_exec_ext in '' $ac_executable_extensions; do
   3259   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3260     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3261        ac_prog_rejected=yes
   3262        continue
   3263      fi
   3264     ac_cv_prog_CC="cc"
   3265     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3266     break 2
   3267   fi
   3268 done
   3269   done
   3270 IFS=$as_save_IFS
   3271 
   3272 if test $ac_prog_rejected = yes; then
   3273   # We found a bogon in the path, so make sure we never use it.
   3274   set dummy $ac_cv_prog_CC
   3275   shift
   3276   if test $# != 0; then
   3277     # We chose a different compiler from the bogus one.
   3278     # However, it has the same basename, so the bogon will be chosen
   3279     # first if we set CC to just the basename; use the full file name.
   3280     shift
   3281     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3282   fi
   3283 fi
   3284 fi
   3285 fi
   3286 CC=$ac_cv_prog_CC
   3287 if test -n "$CC"; then
   3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3289 $as_echo "$CC" >&6; }
   3290 else
   3291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3292 $as_echo "no" >&6; }
   3293 fi
   3294 
   3295 
   3296 fi
   3297 if test -z "$CC"; then
   3298   if test -n "$ac_tool_prefix"; then
   3299   for ac_prog in cl.exe
   3300   do
   3301     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3304 $as_echo_n "checking for $ac_word... " >&6; }
   3305 if ${ac_cv_prog_CC+:} false; then :
   3306   $as_echo_n "(cached) " >&6
   3307 else
   3308   if test -n "$CC"; then
   3309   ac_cv_prog_CC="$CC" # Let the user override the test.
   3310 else
   3311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3312 for as_dir in $PATH
   3313 do
   3314   IFS=$as_save_IFS
   3315   test -z "$as_dir" && as_dir=.
   3316     for ac_exec_ext in '' $ac_executable_extensions; do
   3317   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3318     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3319     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3320     break 2
   3321   fi
   3322 done
   3323   done
   3324 IFS=$as_save_IFS
   3325 
   3326 fi
   3327 fi
   3328 CC=$ac_cv_prog_CC
   3329 if test -n "$CC"; then
   3330   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3331 $as_echo "$CC" >&6; }
   3332 else
   3333   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3334 $as_echo "no" >&6; }
   3335 fi
   3336 
   3337 
   3338     test -n "$CC" && break
   3339   done
   3340 fi
   3341 if test -z "$CC"; then
   3342   ac_ct_CC=$CC
   3343   for ac_prog in cl.exe
   3344 do
   3345   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3346 set dummy $ac_prog; ac_word=$2
   3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3348 $as_echo_n "checking for $ac_word... " >&6; }
   3349 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3350   $as_echo_n "(cached) " >&6
   3351 else
   3352   if test -n "$ac_ct_CC"; then
   3353   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3354 else
   3355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3356 for as_dir in $PATH
   3357 do
   3358   IFS=$as_save_IFS
   3359   test -z "$as_dir" && as_dir=.
   3360     for ac_exec_ext in '' $ac_executable_extensions; do
   3361   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3362     ac_cv_prog_ac_ct_CC="$ac_prog"
   3363     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3364     break 2
   3365   fi
   3366 done
   3367   done
   3368 IFS=$as_save_IFS
   3369 
   3370 fi
   3371 fi
   3372 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3373 if test -n "$ac_ct_CC"; then
   3374   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3375 $as_echo "$ac_ct_CC" >&6; }
   3376 else
   3377   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3378 $as_echo "no" >&6; }
   3379 fi
   3380 
   3381 
   3382   test -n "$ac_ct_CC" && break
   3383 done
   3384 
   3385   if test "x$ac_ct_CC" = x; then
   3386     CC=""
   3387   else
   3388     case $cross_compiling:$ac_tool_warned in
   3389 yes:)
   3390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3392 ac_tool_warned=yes ;;
   3393 esac
   3394     CC=$ac_ct_CC
   3395   fi
   3396 fi
   3397 
   3398 fi
   3399 
   3400 
   3401 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3403 as_fn_error $? "no acceptable C compiler found in \$PATH
   3404 See \`config.log' for more details" "$LINENO" 5; }
   3405 
   3406 # Provide some information about the compiler.
   3407 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3408 set X $ac_compile
   3409 ac_compiler=$2
   3410 for ac_option in --version -v -V -qversion; do
   3411   { { ac_try="$ac_compiler $ac_option >&5"
   3412 case "(($ac_try" in
   3413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3414   *) ac_try_echo=$ac_try;;
   3415 esac
   3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3417 $as_echo "$ac_try_echo"; } >&5
   3418   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3419   ac_status=$?
   3420   if test -s conftest.err; then
   3421     sed '10a\
   3422 ... rest of stderr output deleted ...
   3423          10q' conftest.err >conftest.er1
   3424     cat conftest.er1 >&5
   3425   fi
   3426   rm -f conftest.er1 conftest.err
   3427   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3428   test $ac_status = 0; }
   3429 done
   3430 
   3431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3432 /* end confdefs.h.  */
   3433 
   3434 int
   3435 main ()
   3436 {
   3437 
   3438   ;
   3439   return 0;
   3440 }
   3441 _ACEOF
   3442 ac_clean_files_save=$ac_clean_files
   3443 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3444 # Try to create an executable without -o first, disregard a.out.
   3445 # It will help us diagnose broken compilers, and finding out an intuition
   3446 # of exeext.
   3447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3448 $as_echo_n "checking whether the C compiler works... " >&6; }
   3449 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3450 
   3451 # The possible output files:
   3452 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3453 
   3454 ac_rmfiles=
   3455 for ac_file in $ac_files
   3456 do
   3457   case $ac_file in
   3458     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3459     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3460   esac
   3461 done
   3462 rm -f $ac_rmfiles
   3463 
   3464 if { { ac_try="$ac_link_default"
   3465 case "(($ac_try" in
   3466   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3467   *) ac_try_echo=$ac_try;;
   3468 esac
   3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3470 $as_echo "$ac_try_echo"; } >&5
   3471   (eval "$ac_link_default") 2>&5
   3472   ac_status=$?
   3473   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3474   test $ac_status = 0; }; then :
   3475   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3476 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3477 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3478 # so that the user can short-circuit this test for compilers unknown to
   3479 # Autoconf.
   3480 for ac_file in $ac_files ''
   3481 do
   3482   test -f "$ac_file" || continue
   3483   case $ac_file in
   3484     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3485 	;;
   3486     [ab].out )
   3487 	# We found the default executable, but exeext='' is most
   3488 	# certainly right.
   3489 	break;;
   3490     *.* )
   3491 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3492 	then :; else
   3493 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3494 	fi
   3495 	# We set ac_cv_exeext here because the later test for it is not
   3496 	# safe: cross compilers may not add the suffix if given an `-o'
   3497 	# argument, so we may need to know it at that point already.
   3498 	# Even if this section looks crufty: it has the advantage of
   3499 	# actually working.
   3500 	break;;
   3501     * )
   3502 	break;;
   3503   esac
   3504 done
   3505 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3506 
   3507 else
   3508   ac_file=''
   3509 fi
   3510 if test -z "$ac_file"; then :
   3511   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3512 $as_echo "no" >&6; }
   3513 $as_echo "$as_me: failed program was:" >&5
   3514 sed 's/^/| /' conftest.$ac_ext >&5
   3515 
   3516 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3517 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3518 as_fn_error 77 "C compiler cannot create executables
   3519 See \`config.log' for more details" "$LINENO" 5; }
   3520 else
   3521   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3522 $as_echo "yes" >&6; }
   3523 fi
   3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3525 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3527 $as_echo "$ac_file" >&6; }
   3528 ac_exeext=$ac_cv_exeext
   3529 
   3530 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3531 ac_clean_files=$ac_clean_files_save
   3532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3533 $as_echo_n "checking for suffix of executables... " >&6; }
   3534 if { { ac_try="$ac_link"
   3535 case "(($ac_try" in
   3536   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3537   *) ac_try_echo=$ac_try;;
   3538 esac
   3539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3540 $as_echo "$ac_try_echo"; } >&5
   3541   (eval "$ac_link") 2>&5
   3542   ac_status=$?
   3543   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3544   test $ac_status = 0; }; then :
   3545   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3546 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3547 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3548 # `rm'.
   3549 for ac_file in conftest.exe conftest conftest.*; do
   3550   test -f "$ac_file" || continue
   3551   case $ac_file in
   3552     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3553     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3554 	  break;;
   3555     * ) break;;
   3556   esac
   3557 done
   3558 else
   3559   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3561 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3562 See \`config.log' for more details" "$LINENO" 5; }
   3563 fi
   3564 rm -f conftest conftest$ac_cv_exeext
   3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3566 $as_echo "$ac_cv_exeext" >&6; }
   3567 
   3568 rm -f conftest.$ac_ext
   3569 EXEEXT=$ac_cv_exeext
   3570 ac_exeext=$EXEEXT
   3571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3572 /* end confdefs.h.  */
   3573 #include <stdio.h>
   3574 int
   3575 main ()
   3576 {
   3577 FILE *f = fopen ("conftest.out", "w");
   3578  return ferror (f) || fclose (f) != 0;
   3579 
   3580   ;
   3581   return 0;
   3582 }
   3583 _ACEOF
   3584 ac_clean_files="$ac_clean_files conftest.out"
   3585 # Check that the compiler produces executables we can run.  If not, either
   3586 # the compiler is broken, or we cross compile.
   3587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3588 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3589 if test "$cross_compiling" != yes; then
   3590   { { ac_try="$ac_link"
   3591 case "(($ac_try" in
   3592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3593   *) ac_try_echo=$ac_try;;
   3594 esac
   3595 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3596 $as_echo "$ac_try_echo"; } >&5
   3597   (eval "$ac_link") 2>&5
   3598   ac_status=$?
   3599   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3600   test $ac_status = 0; }
   3601   if { ac_try='./conftest$ac_cv_exeext'
   3602   { { case "(($ac_try" in
   3603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3604   *) ac_try_echo=$ac_try;;
   3605 esac
   3606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3607 $as_echo "$ac_try_echo"; } >&5
   3608   (eval "$ac_try") 2>&5
   3609   ac_status=$?
   3610   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3611   test $ac_status = 0; }; }; then
   3612     cross_compiling=no
   3613   else
   3614     if test "$cross_compiling" = maybe; then
   3615 	cross_compiling=yes
   3616     else
   3617 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3619 as_fn_error $? "cannot run C compiled programs.
   3620 If you meant to cross compile, use \`--host'.
   3621 See \`config.log' for more details" "$LINENO" 5; }
   3622     fi
   3623   fi
   3624 fi
   3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3626 $as_echo "$cross_compiling" >&6; }
   3627 
   3628 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3629 ac_clean_files=$ac_clean_files_save
   3630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3631 $as_echo_n "checking for suffix of object files... " >&6; }
   3632 if ${ac_cv_objext+:} false; then :
   3633   $as_echo_n "(cached) " >&6
   3634 else
   3635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3636 /* end confdefs.h.  */
   3637 
   3638 int
   3639 main ()
   3640 {
   3641 
   3642   ;
   3643   return 0;
   3644 }
   3645 _ACEOF
   3646 rm -f conftest.o conftest.obj
   3647 if { { ac_try="$ac_compile"
   3648 case "(($ac_try" in
   3649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3650   *) ac_try_echo=$ac_try;;
   3651 esac
   3652 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3653 $as_echo "$ac_try_echo"; } >&5
   3654   (eval "$ac_compile") 2>&5
   3655   ac_status=$?
   3656   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3657   test $ac_status = 0; }; then :
   3658   for ac_file in conftest.o conftest.obj conftest.*; do
   3659   test -f "$ac_file" || continue;
   3660   case $ac_file in
   3661     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3662     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3663        break;;
   3664   esac
   3665 done
   3666 else
   3667   $as_echo "$as_me: failed program was:" >&5
   3668 sed 's/^/| /' conftest.$ac_ext >&5
   3669 
   3670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3672 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3673 See \`config.log' for more details" "$LINENO" 5; }
   3674 fi
   3675 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3676 fi
   3677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3678 $as_echo "$ac_cv_objext" >&6; }
   3679 OBJEXT=$ac_cv_objext
   3680 ac_objext=$OBJEXT
   3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3682 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3683 if ${ac_cv_c_compiler_gnu+:} false; then :
   3684   $as_echo_n "(cached) " >&6
   3685 else
   3686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3687 /* end confdefs.h.  */
   3688 
   3689 int
   3690 main ()
   3691 {
   3692 #ifndef __GNUC__
   3693        choke me
   3694 #endif
   3695 
   3696   ;
   3697   return 0;
   3698 }
   3699 _ACEOF
   3700 if ac_fn_c_try_compile "$LINENO"; then :
   3701   ac_compiler_gnu=yes
   3702 else
   3703   ac_compiler_gnu=no
   3704 fi
   3705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3706 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3707 
   3708 fi
   3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3710 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3711 if test $ac_compiler_gnu = yes; then
   3712   GCC=yes
   3713 else
   3714   GCC=
   3715 fi
   3716 ac_test_CFLAGS=${CFLAGS+set}
   3717 ac_save_CFLAGS=$CFLAGS
   3718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3719 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3720 if ${ac_cv_prog_cc_g+:} false; then :
   3721   $as_echo_n "(cached) " >&6
   3722 else
   3723   ac_save_c_werror_flag=$ac_c_werror_flag
   3724    ac_c_werror_flag=yes
   3725    ac_cv_prog_cc_g=no
   3726    CFLAGS="-g"
   3727    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3728 /* end confdefs.h.  */
   3729 
   3730 int
   3731 main ()
   3732 {
   3733 
   3734   ;
   3735   return 0;
   3736 }
   3737 _ACEOF
   3738 if ac_fn_c_try_compile "$LINENO"; then :
   3739   ac_cv_prog_cc_g=yes
   3740 else
   3741   CFLAGS=""
   3742       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3743 /* end confdefs.h.  */
   3744 
   3745 int
   3746 main ()
   3747 {
   3748 
   3749   ;
   3750   return 0;
   3751 }
   3752 _ACEOF
   3753 if ac_fn_c_try_compile "$LINENO"; then :
   3754 
   3755 else
   3756   ac_c_werror_flag=$ac_save_c_werror_flag
   3757 	 CFLAGS="-g"
   3758 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3759 /* end confdefs.h.  */
   3760 
   3761 int
   3762 main ()
   3763 {
   3764 
   3765   ;
   3766   return 0;
   3767 }
   3768 _ACEOF
   3769 if ac_fn_c_try_compile "$LINENO"; then :
   3770   ac_cv_prog_cc_g=yes
   3771 fi
   3772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3773 fi
   3774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3775 fi
   3776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3777    ac_c_werror_flag=$ac_save_c_werror_flag
   3778 fi
   3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3780 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3781 if test "$ac_test_CFLAGS" = set; then
   3782   CFLAGS=$ac_save_CFLAGS
   3783 elif test $ac_cv_prog_cc_g = yes; then
   3784   if test "$GCC" = yes; then
   3785     CFLAGS="-g -O2"
   3786   else
   3787     CFLAGS="-g"
   3788   fi
   3789 else
   3790   if test "$GCC" = yes; then
   3791     CFLAGS="-O2"
   3792   else
   3793     CFLAGS=
   3794   fi
   3795 fi
   3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3797 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3798 if ${ac_cv_prog_cc_c89+:} false; then :
   3799   $as_echo_n "(cached) " >&6
   3800 else
   3801   ac_cv_prog_cc_c89=no
   3802 ac_save_CC=$CC
   3803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3804 /* end confdefs.h.  */
   3805 #include <stdarg.h>
   3806 #include <stdio.h>
   3807 struct stat;
   3808 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3809 struct buf { int x; };
   3810 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3811 static char *e (p, i)
   3812      char **p;
   3813      int i;
   3814 {
   3815   return p[i];
   3816 }
   3817 static char *f (char * (*g) (char **, int), char **p, ...)
   3818 {
   3819   char *s;
   3820   va_list v;
   3821   va_start (v,p);
   3822   s = g (p, va_arg (v,int));
   3823   va_end (v);
   3824   return s;
   3825 }
   3826 
   3827 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3828    function prototypes and stuff, but not '\xHH' hex character constants.
   3829    These don't provoke an error unfortunately, instead are silently treated
   3830    as 'x'.  The following induces an error, until -std is added to get
   3831    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3832    array size at least.  It's necessary to write '\x00'==0 to get something
   3833    that's true only with -std.  */
   3834 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3835 
   3836 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3837    inside strings and character constants.  */
   3838 #define FOO(x) 'x'
   3839 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3840 
   3841 int test (int i, double x);
   3842 struct s1 {int (*f) (int a);};
   3843 struct s2 {int (*f) (double a);};
   3844 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3845 int argc;
   3846 char **argv;
   3847 int
   3848 main ()
   3849 {
   3850 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3851   ;
   3852   return 0;
   3853 }
   3854 _ACEOF
   3855 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3856 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3857 do
   3858   CC="$ac_save_CC $ac_arg"
   3859   if ac_fn_c_try_compile "$LINENO"; then :
   3860   ac_cv_prog_cc_c89=$ac_arg
   3861 fi
   3862 rm -f core conftest.err conftest.$ac_objext
   3863   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3864 done
   3865 rm -f conftest.$ac_ext
   3866 CC=$ac_save_CC
   3867 
   3868 fi
   3869 # AC_CACHE_VAL
   3870 case "x$ac_cv_prog_cc_c89" in
   3871   x)
   3872     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3873 $as_echo "none needed" >&6; } ;;
   3874   xno)
   3875     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3876 $as_echo "unsupported" >&6; } ;;
   3877   *)
   3878     CC="$CC $ac_cv_prog_cc_c89"
   3879     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3880 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3881 esac
   3882 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3883 
   3884 fi
   3885 
   3886 ac_ext=c
   3887 ac_cpp='$CPP $CPPFLAGS'
   3888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3891 
   3892 ac_ext=c
   3893 ac_cpp='$CPP $CPPFLAGS'
   3894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3898 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3899 if ${am_cv_prog_cc_c_o+:} false; then :
   3900   $as_echo_n "(cached) " >&6
   3901 else
   3902   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3903 /* end confdefs.h.  */
   3904 
   3905 int
   3906 main ()
   3907 {
   3908 
   3909   ;
   3910   return 0;
   3911 }
   3912 _ACEOF
   3913   # Make sure it works both with $CC and with simple cc.
   3914   # Following AC_PROG_CC_C_O, we do the test twice because some
   3915   # compilers refuse to overwrite an existing .o file with -o,
   3916   # though they will create one.
   3917   am_cv_prog_cc_c_o=yes
   3918   for am_i in 1 2; do
   3919     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3920    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3921    ac_status=$?
   3922    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3923    (exit $ac_status); } \
   3924          && test -f conftest2.$ac_objext; then
   3925       : OK
   3926     else
   3927       am_cv_prog_cc_c_o=no
   3928       break
   3929     fi
   3930   done
   3931   rm -f core conftest*
   3932   unset am_i
   3933 fi
   3934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3935 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3936 if test "$am_cv_prog_cc_c_o" != yes; then
   3937    # Losing compiler, so override with the script.
   3938    # FIXME: It is wrong to rewrite CC.
   3939    # But if we don't then we get into trouble of one sort or another.
   3940    # A longer-term fix would be to have automake use am__CC in this case,
   3941    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3942    CC="$am_aux_dir/compile $CC"
   3943 fi
   3944 ac_ext=c
   3945 ac_cpp='$CPP $CPPFLAGS'
   3946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3949 
   3950 
   3951 depcc="$CC"   am_compiler_list=
   3952 
   3953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3954 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3955 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3956   $as_echo_n "(cached) " >&6
   3957 else
   3958   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3959   # We make a subdir and do the tests there.  Otherwise we can end up
   3960   # making bogus files that we don't know about and never remove.  For
   3961   # instance it was reported that on HP-UX the gcc test will end up
   3962   # making a dummy file named 'D' -- because '-MD' means "put the output
   3963   # in D".
   3964   rm -rf conftest.dir
   3965   mkdir conftest.dir
   3966   # Copy depcomp to subdir because otherwise we won't find it if we're
   3967   # using a relative directory.
   3968   cp "$am_depcomp" conftest.dir
   3969   cd conftest.dir
   3970   # We will build objects and dependencies in a subdirectory because
   3971   # it helps to detect inapplicable dependency modes.  For instance
   3972   # both Tru64's cc and ICC support -MD to output dependencies as a
   3973   # side effect of compilation, but ICC will put the dependencies in
   3974   # the current directory while Tru64 will put them in the object
   3975   # directory.
   3976   mkdir sub
   3977 
   3978   am_cv_CC_dependencies_compiler_type=none
   3979   if test "$am_compiler_list" = ""; then
   3980      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3981   fi
   3982   am__universal=false
   3983   case " $depcc " in #(
   3984      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3985      esac
   3986 
   3987   for depmode in $am_compiler_list; do
   3988     # Setup a source with many dependencies, because some compilers
   3989     # like to wrap large dependency lists on column 80 (with \), and
   3990     # we should not choose a depcomp mode which is confused by this.
   3991     #
   3992     # We need to recreate these files for each test, as the compiler may
   3993     # overwrite some of them when testing with obscure command lines.
   3994     # This happens at least with the AIX C compiler.
   3995     : > sub/conftest.c
   3996     for i in 1 2 3 4 5 6; do
   3997       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3998       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3999       # Solaris 10 /bin/sh.
   4000       echo '/* dummy */' > sub/conftst$i.h
   4001     done
   4002     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4003 
   4004     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4005     # mode.  It turns out that the SunPro C++ compiler does not properly
   4006     # handle '-M -o', and we need to detect this.  Also, some Intel
   4007     # versions had trouble with output in subdirs.
   4008     am__obj=sub/conftest.${OBJEXT-o}
   4009     am__minus_obj="-o $am__obj"
   4010     case $depmode in
   4011     gcc)
   4012       # This depmode causes a compiler race in universal mode.
   4013       test "$am__universal" = false || continue
   4014       ;;
   4015     nosideeffect)
   4016       # After this tag, mechanisms are not by side-effect, so they'll
   4017       # only be used when explicitly requested.
   4018       if test "x$enable_dependency_tracking" = xyes; then
   4019 	continue
   4020       else
   4021 	break
   4022       fi
   4023       ;;
   4024     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4025       # This compiler won't grok '-c -o', but also, the minuso test has
   4026       # not run yet.  These depmodes are late enough in the game, and
   4027       # so weak that their functioning should not be impacted.
   4028       am__obj=conftest.${OBJEXT-o}
   4029       am__minus_obj=
   4030       ;;
   4031     none) break ;;
   4032     esac
   4033     if depmode=$depmode \
   4034        source=sub/conftest.c object=$am__obj \
   4035        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4036        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4037          >/dev/null 2>conftest.err &&
   4038        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4039        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4040        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4041        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4042       # icc doesn't choke on unknown options, it will just issue warnings
   4043       # or remarks (even with -Werror).  So we grep stderr for any message
   4044       # that says an option was ignored or not supported.
   4045       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4046       #   icc: Command line warning: ignoring option '-M'; no argument required
   4047       # The diagnosis changed in icc 8.0:
   4048       #   icc: Command line remark: option '-MP' not supported
   4049       if (grep 'ignoring option' conftest.err ||
   4050           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4051         am_cv_CC_dependencies_compiler_type=$depmode
   4052         break
   4053       fi
   4054     fi
   4055   done
   4056 
   4057   cd ..
   4058   rm -rf conftest.dir
   4059 else
   4060   am_cv_CC_dependencies_compiler_type=none
   4061 fi
   4062 
   4063 fi
   4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4065 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4066 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4067 
   4068  if
   4069   test "x$enable_dependency_tracking" != xno \
   4070   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4071   am__fastdepCC_TRUE=
   4072   am__fastdepCC_FALSE='#'
   4073 else
   4074   am__fastdepCC_TRUE='#'
   4075   am__fastdepCC_FALSE=
   4076 fi
   4077 
   4078 
   4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4080 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4081 if ${ac_cv_path_SED+:} false; then :
   4082   $as_echo_n "(cached) " >&6
   4083 else
   4084             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4085      for ac_i in 1 2 3 4 5 6 7; do
   4086        ac_script="$ac_script$as_nl$ac_script"
   4087      done
   4088      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4089      { ac_script=; unset ac_script;}
   4090      if test -z "$SED"; then
   4091   ac_path_SED_found=false
   4092   # Loop through the user's path and test for each of PROGNAME-LIST
   4093   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4094 for as_dir in $PATH
   4095 do
   4096   IFS=$as_save_IFS
   4097   test -z "$as_dir" && as_dir=.
   4098     for ac_prog in sed gsed; do
   4099     for ac_exec_ext in '' $ac_executable_extensions; do
   4100       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4101       as_fn_executable_p "$ac_path_SED" || continue
   4102 # Check for GNU ac_path_SED and select it if it is found.
   4103   # Check for GNU $ac_path_SED
   4104 case `"$ac_path_SED" --version 2>&1` in
   4105 *GNU*)
   4106   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4107 *)
   4108   ac_count=0
   4109   $as_echo_n 0123456789 >"conftest.in"
   4110   while :
   4111   do
   4112     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4113     mv "conftest.tmp" "conftest.in"
   4114     cp "conftest.in" "conftest.nl"
   4115     $as_echo '' >> "conftest.nl"
   4116     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4117     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4118     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4119     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4120       # Best one so far, save it but keep looking for a better one
   4121       ac_cv_path_SED="$ac_path_SED"
   4122       ac_path_SED_max=$ac_count
   4123     fi
   4124     # 10*(2^10) chars as input seems more than enough
   4125     test $ac_count -gt 10 && break
   4126   done
   4127   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4128 esac
   4129 
   4130       $ac_path_SED_found && break 3
   4131     done
   4132   done
   4133   done
   4134 IFS=$as_save_IFS
   4135   if test -z "$ac_cv_path_SED"; then
   4136     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4137   fi
   4138 else
   4139   ac_cv_path_SED=$SED
   4140 fi
   4141 
   4142 fi
   4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4144 $as_echo "$ac_cv_path_SED" >&6; }
   4145  SED="$ac_cv_path_SED"
   4146   rm -f conftest.sed
   4147 
   4148 test -z "$SED" && SED=sed
   4149 Xsed="$SED -e 1s/^X//"
   4150 
   4151 
   4152 
   4153 
   4154 
   4155 
   4156 
   4157 
   4158 
   4159 
   4160 
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4162 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4163 if ${ac_cv_path_GREP+:} false; then :
   4164   $as_echo_n "(cached) " >&6
   4165 else
   4166   if test -z "$GREP"; then
   4167   ac_path_GREP_found=false
   4168   # Loop through the user's path and test for each of PROGNAME-LIST
   4169   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4170 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4171 do
   4172   IFS=$as_save_IFS
   4173   test -z "$as_dir" && as_dir=.
   4174     for ac_prog in grep ggrep; do
   4175     for ac_exec_ext in '' $ac_executable_extensions; do
   4176       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4177       as_fn_executable_p "$ac_path_GREP" || continue
   4178 # Check for GNU ac_path_GREP and select it if it is found.
   4179   # Check for GNU $ac_path_GREP
   4180 case `"$ac_path_GREP" --version 2>&1` in
   4181 *GNU*)
   4182   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4183 *)
   4184   ac_count=0
   4185   $as_echo_n 0123456789 >"conftest.in"
   4186   while :
   4187   do
   4188     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4189     mv "conftest.tmp" "conftest.in"
   4190     cp "conftest.in" "conftest.nl"
   4191     $as_echo 'GREP' >> "conftest.nl"
   4192     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4193     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4194     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4195     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4196       # Best one so far, save it but keep looking for a better one
   4197       ac_cv_path_GREP="$ac_path_GREP"
   4198       ac_path_GREP_max=$ac_count
   4199     fi
   4200     # 10*(2^10) chars as input seems more than enough
   4201     test $ac_count -gt 10 && break
   4202   done
   4203   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4204 esac
   4205 
   4206       $ac_path_GREP_found && break 3
   4207     done
   4208   done
   4209   done
   4210 IFS=$as_save_IFS
   4211   if test -z "$ac_cv_path_GREP"; then
   4212     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4213   fi
   4214 else
   4215   ac_cv_path_GREP=$GREP
   4216 fi
   4217 
   4218 fi
   4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4220 $as_echo "$ac_cv_path_GREP" >&6; }
   4221  GREP="$ac_cv_path_GREP"
   4222 
   4223 
   4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4225 $as_echo_n "checking for egrep... " >&6; }
   4226 if ${ac_cv_path_EGREP+:} false; then :
   4227   $as_echo_n "(cached) " >&6
   4228 else
   4229   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4230    then ac_cv_path_EGREP="$GREP -E"
   4231    else
   4232      if test -z "$EGREP"; then
   4233   ac_path_EGREP_found=false
   4234   # Loop through the user's path and test for each of PROGNAME-LIST
   4235   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4236 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4237 do
   4238   IFS=$as_save_IFS
   4239   test -z "$as_dir" && as_dir=.
   4240     for ac_prog in egrep; do
   4241     for ac_exec_ext in '' $ac_executable_extensions; do
   4242       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4243       as_fn_executable_p "$ac_path_EGREP" || continue
   4244 # Check for GNU ac_path_EGREP and select it if it is found.
   4245   # Check for GNU $ac_path_EGREP
   4246 case `"$ac_path_EGREP" --version 2>&1` in
   4247 *GNU*)
   4248   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4249 *)
   4250   ac_count=0
   4251   $as_echo_n 0123456789 >"conftest.in"
   4252   while :
   4253   do
   4254     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4255     mv "conftest.tmp" "conftest.in"
   4256     cp "conftest.in" "conftest.nl"
   4257     $as_echo 'EGREP' >> "conftest.nl"
   4258     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4259     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4260     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4261     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4262       # Best one so far, save it but keep looking for a better one
   4263       ac_cv_path_EGREP="$ac_path_EGREP"
   4264       ac_path_EGREP_max=$ac_count
   4265     fi
   4266     # 10*(2^10) chars as input seems more than enough
   4267     test $ac_count -gt 10 && break
   4268   done
   4269   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4270 esac
   4271 
   4272       $ac_path_EGREP_found && break 3
   4273     done
   4274   done
   4275   done
   4276 IFS=$as_save_IFS
   4277   if test -z "$ac_cv_path_EGREP"; then
   4278     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4279   fi
   4280 else
   4281   ac_cv_path_EGREP=$EGREP
   4282 fi
   4283 
   4284    fi
   4285 fi
   4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4287 $as_echo "$ac_cv_path_EGREP" >&6; }
   4288  EGREP="$ac_cv_path_EGREP"
   4289 
   4290 
   4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4292 $as_echo_n "checking for fgrep... " >&6; }
   4293 if ${ac_cv_path_FGREP+:} false; then :
   4294   $as_echo_n "(cached) " >&6
   4295 else
   4296   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4297    then ac_cv_path_FGREP="$GREP -F"
   4298    else
   4299      if test -z "$FGREP"; then
   4300   ac_path_FGREP_found=false
   4301   # Loop through the user's path and test for each of PROGNAME-LIST
   4302   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4303 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4304 do
   4305   IFS=$as_save_IFS
   4306   test -z "$as_dir" && as_dir=.
   4307     for ac_prog in fgrep; do
   4308     for ac_exec_ext in '' $ac_executable_extensions; do
   4309       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4310       as_fn_executable_p "$ac_path_FGREP" || continue
   4311 # Check for GNU ac_path_FGREP and select it if it is found.
   4312   # Check for GNU $ac_path_FGREP
   4313 case `"$ac_path_FGREP" --version 2>&1` in
   4314 *GNU*)
   4315   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4316 *)
   4317   ac_count=0
   4318   $as_echo_n 0123456789 >"conftest.in"
   4319   while :
   4320   do
   4321     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4322     mv "conftest.tmp" "conftest.in"
   4323     cp "conftest.in" "conftest.nl"
   4324     $as_echo 'FGREP' >> "conftest.nl"
   4325     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4326     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4327     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4328     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4329       # Best one so far, save it but keep looking for a better one
   4330       ac_cv_path_FGREP="$ac_path_FGREP"
   4331       ac_path_FGREP_max=$ac_count
   4332     fi
   4333     # 10*(2^10) chars as input seems more than enough
   4334     test $ac_count -gt 10 && break
   4335   done
   4336   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4337 esac
   4338 
   4339       $ac_path_FGREP_found && break 3
   4340     done
   4341   done
   4342   done
   4343 IFS=$as_save_IFS
   4344   if test -z "$ac_cv_path_FGREP"; then
   4345     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4346   fi
   4347 else
   4348   ac_cv_path_FGREP=$FGREP
   4349 fi
   4350 
   4351    fi
   4352 fi
   4353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4354 $as_echo "$ac_cv_path_FGREP" >&6; }
   4355  FGREP="$ac_cv_path_FGREP"
   4356 
   4357 
   4358 test -z "$GREP" && GREP=grep
   4359 
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366 
   4367 
   4368 
   4369 
   4370 
   4371 
   4372 
   4373 
   4374 
   4375 
   4376 
   4377 
   4378 # Check whether --with-gnu-ld was given.
   4379 if test "${with_gnu_ld+set}" = set; then :
   4380   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4381 else
   4382   with_gnu_ld=no
   4383 fi
   4384 
   4385 ac_prog=ld
   4386 if test yes = "$GCC"; then
   4387   # Check if gcc -print-prog-name=ld gives a path.
   4388   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4389 $as_echo_n "checking for ld used by $CC... " >&6; }
   4390   case $host in
   4391   *-*-mingw*)
   4392     # gcc leaves a trailing carriage return, which upsets mingw
   4393     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4394   *)
   4395     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4396   esac
   4397   case $ac_prog in
   4398     # Accept absolute paths.
   4399     [\\/]* | ?:[\\/]*)
   4400       re_direlt='/[^/][^/]*/\.\./'
   4401       # Canonicalize the pathname of ld
   4402       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4403       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4404 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4405       done
   4406       test -z "$LD" && LD=$ac_prog
   4407       ;;
   4408   "")
   4409     # If it fails, then pretend we aren't using GCC.
   4410     ac_prog=ld
   4411     ;;
   4412   *)
   4413     # If it is relative, then search for the first ld in PATH.
   4414     with_gnu_ld=unknown
   4415     ;;
   4416   esac
   4417 elif test yes = "$with_gnu_ld"; then
   4418   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4419 $as_echo_n "checking for GNU ld... " >&6; }
   4420 else
   4421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4422 $as_echo_n "checking for non-GNU ld... " >&6; }
   4423 fi
   4424 if ${lt_cv_path_LD+:} false; then :
   4425   $as_echo_n "(cached) " >&6
   4426 else
   4427   if test -z "$LD"; then
   4428   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4429   for ac_dir in $PATH; do
   4430     IFS=$lt_save_ifs
   4431     test -z "$ac_dir" && ac_dir=.
   4432     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4433       lt_cv_path_LD=$ac_dir/$ac_prog
   4434       # Check to see if the program is GNU ld.  I'd rather use --version,
   4435       # but apparently some variants of GNU ld only accept -v.
   4436       # Break only if it was the GNU/non-GNU ld that we prefer.
   4437       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4438       *GNU* | *'with BFD'*)
   4439 	test no != "$with_gnu_ld" && break
   4440 	;;
   4441       *)
   4442 	test yes != "$with_gnu_ld" && break
   4443 	;;
   4444       esac
   4445     fi
   4446   done
   4447   IFS=$lt_save_ifs
   4448 else
   4449   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4450 fi
   4451 fi
   4452 
   4453 LD=$lt_cv_path_LD
   4454 if test -n "$LD"; then
   4455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4456 $as_echo "$LD" >&6; }
   4457 else
   4458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4459 $as_echo "no" >&6; }
   4460 fi
   4461 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4463 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4464 if ${lt_cv_prog_gnu_ld+:} false; then :
   4465   $as_echo_n "(cached) " >&6
   4466 else
   4467   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4468 case `$LD -v 2>&1 </dev/null` in
   4469 *GNU* | *'with BFD'*)
   4470   lt_cv_prog_gnu_ld=yes
   4471   ;;
   4472 *)
   4473   lt_cv_prog_gnu_ld=no
   4474   ;;
   4475 esac
   4476 fi
   4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4478 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4479 with_gnu_ld=$lt_cv_prog_gnu_ld
   4480 
   4481 
   4482 
   4483 
   4484 
   4485 
   4486 
   4487 
   4488 
   4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4490 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4491 if ${lt_cv_path_NM+:} false; then :
   4492   $as_echo_n "(cached) " >&6
   4493 else
   4494   if test -n "$NM"; then
   4495   # Let the user override the test.
   4496   lt_cv_path_NM=$NM
   4497 else
   4498   lt_nm_to_check=${ac_tool_prefix}nm
   4499   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4500     lt_nm_to_check="$lt_nm_to_check nm"
   4501   fi
   4502   for lt_tmp_nm in $lt_nm_to_check; do
   4503     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4504     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4505       IFS=$lt_save_ifs
   4506       test -z "$ac_dir" && ac_dir=.
   4507       tmp_nm=$ac_dir/$lt_tmp_nm
   4508       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   4509 	# Check to see if the nm accepts a BSD-compat flag.
   4510 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   4511 	#   nm: unknown option "B" ignored
   4512 	# Tru64's nm complains that /dev/null is an invalid object file
   4513 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   4514 	case $build_os in
   4515 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   4516 	*) lt_bad_file=/dev/null ;;
   4517 	esac
   4518 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   4519 	*$lt_bad_file* | *'Invalid file or object type'*)
   4520 	  lt_cv_path_NM="$tmp_nm -B"
   4521 	  break 2
   4522 	  ;;
   4523 	*)
   4524 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4525 	  */dev/null*)
   4526 	    lt_cv_path_NM="$tmp_nm -p"
   4527 	    break 2
   4528 	    ;;
   4529 	  *)
   4530 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4531 	    continue # so that we can try to find one that supports BSD flags
   4532 	    ;;
   4533 	  esac
   4534 	  ;;
   4535 	esac
   4536       fi
   4537     done
   4538     IFS=$lt_save_ifs
   4539   done
   4540   : ${lt_cv_path_NM=no}
   4541 fi
   4542 fi
   4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4544 $as_echo "$lt_cv_path_NM" >&6; }
   4545 if test no != "$lt_cv_path_NM"; then
   4546   NM=$lt_cv_path_NM
   4547 else
   4548   # Didn't find any BSD compatible name lister, look for dumpbin.
   4549   if test -n "$DUMPBIN"; then :
   4550     # Let the user override the test.
   4551   else
   4552     if test -n "$ac_tool_prefix"; then
   4553   for ac_prog in dumpbin "link -dump"
   4554   do
   4555     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4556 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4558 $as_echo_n "checking for $ac_word... " >&6; }
   4559 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4560   $as_echo_n "(cached) " >&6
   4561 else
   4562   if test -n "$DUMPBIN"; then
   4563   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4564 else
   4565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4566 for as_dir in $PATH
   4567 do
   4568   IFS=$as_save_IFS
   4569   test -z "$as_dir" && as_dir=.
   4570     for ac_exec_ext in '' $ac_executable_extensions; do
   4571   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4572     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4573     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4574     break 2
   4575   fi
   4576 done
   4577   done
   4578 IFS=$as_save_IFS
   4579 
   4580 fi
   4581 fi
   4582 DUMPBIN=$ac_cv_prog_DUMPBIN
   4583 if test -n "$DUMPBIN"; then
   4584   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4585 $as_echo "$DUMPBIN" >&6; }
   4586 else
   4587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4588 $as_echo "no" >&6; }
   4589 fi
   4590 
   4591 
   4592     test -n "$DUMPBIN" && break
   4593   done
   4594 fi
   4595 if test -z "$DUMPBIN"; then
   4596   ac_ct_DUMPBIN=$DUMPBIN
   4597   for ac_prog in dumpbin "link -dump"
   4598 do
   4599   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4600 set dummy $ac_prog; ac_word=$2
   4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4602 $as_echo_n "checking for $ac_word... " >&6; }
   4603 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4604   $as_echo_n "(cached) " >&6
   4605 else
   4606   if test -n "$ac_ct_DUMPBIN"; then
   4607   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4608 else
   4609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4610 for as_dir in $PATH
   4611 do
   4612   IFS=$as_save_IFS
   4613   test -z "$as_dir" && as_dir=.
   4614     for ac_exec_ext in '' $ac_executable_extensions; do
   4615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4616     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4618     break 2
   4619   fi
   4620 done
   4621   done
   4622 IFS=$as_save_IFS
   4623 
   4624 fi
   4625 fi
   4626 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4627 if test -n "$ac_ct_DUMPBIN"; then
   4628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4629 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4630 else
   4631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4632 $as_echo "no" >&6; }
   4633 fi
   4634 
   4635 
   4636   test -n "$ac_ct_DUMPBIN" && break
   4637 done
   4638 
   4639   if test "x$ac_ct_DUMPBIN" = x; then
   4640     DUMPBIN=":"
   4641   else
   4642     case $cross_compiling:$ac_tool_warned in
   4643 yes:)
   4644 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4645 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4646 ac_tool_warned=yes ;;
   4647 esac
   4648     DUMPBIN=$ac_ct_DUMPBIN
   4649   fi
   4650 fi
   4651 
   4652     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   4653     *COFF*)
   4654       DUMPBIN="$DUMPBIN -symbols -headers"
   4655       ;;
   4656     *)
   4657       DUMPBIN=:
   4658       ;;
   4659     esac
   4660   fi
   4661 
   4662   if test : != "$DUMPBIN"; then
   4663     NM=$DUMPBIN
   4664   fi
   4665 fi
   4666 test -z "$NM" && NM=nm
   4667 
   4668 
   4669 
   4670 
   4671 
   4672 
   4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4674 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4675 if ${lt_cv_nm_interface+:} false; then :
   4676   $as_echo_n "(cached) " >&6
   4677 else
   4678   lt_cv_nm_interface="BSD nm"
   4679   echo "int some_variable = 0;" > conftest.$ac_ext
   4680   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4681   (eval "$ac_compile" 2>conftest.err)
   4682   cat conftest.err >&5
   4683   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4684   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4685   cat conftest.err >&5
   4686   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4687   cat conftest.out >&5
   4688   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4689     lt_cv_nm_interface="MS dumpbin"
   4690   fi
   4691   rm -f conftest*
   4692 fi
   4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4694 $as_echo "$lt_cv_nm_interface" >&6; }
   4695 
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4697 $as_echo_n "checking whether ln -s works... " >&6; }
   4698 LN_S=$as_ln_s
   4699 if test "$LN_S" = "ln -s"; then
   4700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4701 $as_echo "yes" >&6; }
   4702 else
   4703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4704 $as_echo "no, using $LN_S" >&6; }
   4705 fi
   4706 
   4707 # find the maximum length of command line arguments
   4708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4709 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4710 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4711   $as_echo_n "(cached) " >&6
   4712 else
   4713     i=0
   4714   teststring=ABCD
   4715 
   4716   case $build_os in
   4717   msdosdjgpp*)
   4718     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4719     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4720     # during glob expansion).  Even if it were fixed, the result of this
   4721     # check would be larger than it should be.
   4722     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4723     ;;
   4724 
   4725   gnu*)
   4726     # Under GNU Hurd, this test is not required because there is
   4727     # no limit to the length of command line arguments.
   4728     # Libtool will interpret -1 as no limit whatsoever
   4729     lt_cv_sys_max_cmd_len=-1;
   4730     ;;
   4731 
   4732   cygwin* | mingw* | cegcc*)
   4733     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4734     # about 5 minutes as the teststring grows exponentially.
   4735     # Worse, since 9x/ME are not pre-emptively multitasking,
   4736     # you end up with a "frozen" computer, even though with patience
   4737     # the test eventually succeeds (with a max line length of 256k).
   4738     # Instead, let's just punt: use the minimum linelength reported by
   4739     # all of the supported platforms: 8192 (on NT/2K/XP).
   4740     lt_cv_sys_max_cmd_len=8192;
   4741     ;;
   4742 
   4743   mint*)
   4744     # On MiNT this can take a long time and run out of memory.
   4745     lt_cv_sys_max_cmd_len=8192;
   4746     ;;
   4747 
   4748   amigaos*)
   4749     # On AmigaOS with pdksh, this test takes hours, literally.
   4750     # So we just punt and use a minimum line length of 8192.
   4751     lt_cv_sys_max_cmd_len=8192;
   4752     ;;
   4753 
   4754   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   4755     # This has been around since 386BSD, at least.  Likely further.
   4756     if test -x /sbin/sysctl; then
   4757       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4758     elif test -x /usr/sbin/sysctl; then
   4759       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4760     else
   4761       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4762     fi
   4763     # And add a safety zone
   4764     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4765     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4766     ;;
   4767 
   4768   interix*)
   4769     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4770     lt_cv_sys_max_cmd_len=196608
   4771     ;;
   4772 
   4773   os2*)
   4774     # The test takes a long time on OS/2.
   4775     lt_cv_sys_max_cmd_len=8192
   4776     ;;
   4777 
   4778   osf*)
   4779     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4780     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4781     # nice to cause kernel panics so lets avoid the loop below.
   4782     # First set a reasonable default.
   4783     lt_cv_sys_max_cmd_len=16384
   4784     #
   4785     if test -x /sbin/sysconfig; then
   4786       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4787         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4788       esac
   4789     fi
   4790     ;;
   4791   sco3.2v5*)
   4792     lt_cv_sys_max_cmd_len=102400
   4793     ;;
   4794   sysv5* | sco5v6* | sysv4.2uw2*)
   4795     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4796     if test -n "$kargmax"; then
   4797       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4798     else
   4799       lt_cv_sys_max_cmd_len=32768
   4800     fi
   4801     ;;
   4802   *)
   4803     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4804     if test -n "$lt_cv_sys_max_cmd_len" && \
   4805        test undefined != "$lt_cv_sys_max_cmd_len"; then
   4806       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4807       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4808     else
   4809       # Make teststring a little bigger before we do anything with it.
   4810       # a 1K string should be a reasonable start.
   4811       for i in 1 2 3 4 5 6 7 8; do
   4812         teststring=$teststring$teststring
   4813       done
   4814       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4815       # If test is not a shell built-in, we'll probably end up computing a
   4816       # maximum length that is only half of the actual maximum length, but
   4817       # we can't tell.
   4818       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   4819 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4820 	      test 17 != "$i" # 1/2 MB should be enough
   4821       do
   4822         i=`expr $i + 1`
   4823         teststring=$teststring$teststring
   4824       done
   4825       # Only check the string length outside the loop.
   4826       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4827       teststring=
   4828       # Add a significant safety factor because C++ compilers can tack on
   4829       # massive amounts of additional arguments before passing them to the
   4830       # linker.  It appears as though 1/2 is a usable value.
   4831       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4832     fi
   4833     ;;
   4834   esac
   4835 
   4836 fi
   4837 
   4838 if test -n "$lt_cv_sys_max_cmd_len"; then
   4839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4840 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4841 else
   4842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4843 $as_echo "none" >&6; }
   4844 fi
   4845 max_cmd_len=$lt_cv_sys_max_cmd_len
   4846 
   4847 
   4848 
   4849 
   4850 
   4851 
   4852 : ${CP="cp -f"}
   4853 : ${MV="mv -f"}
   4854 : ${RM="rm -f"}
   4855 
   4856 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4857   lt_unset=unset
   4858 else
   4859   lt_unset=false
   4860 fi
   4861 
   4862 
   4863 
   4864 
   4865 
   4866 # test EBCDIC or ASCII
   4867 case `echo X|tr X '\101'` in
   4868  A) # ASCII based system
   4869     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4870   lt_SP2NL='tr \040 \012'
   4871   lt_NL2SP='tr \015\012 \040\040'
   4872   ;;
   4873  *) # EBCDIC based system
   4874   lt_SP2NL='tr \100 \n'
   4875   lt_NL2SP='tr \r\n \100\100'
   4876   ;;
   4877 esac
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4888 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4889 if ${lt_cv_to_host_file_cmd+:} false; then :
   4890   $as_echo_n "(cached) " >&6
   4891 else
   4892   case $host in
   4893   *-*-mingw* )
   4894     case $build in
   4895       *-*-mingw* ) # actually msys
   4896         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4897         ;;
   4898       *-*-cygwin* )
   4899         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4900         ;;
   4901       * ) # otherwise, assume *nix
   4902         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4903         ;;
   4904     esac
   4905     ;;
   4906   *-*-cygwin* )
   4907     case $build in
   4908       *-*-mingw* ) # actually msys
   4909         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4910         ;;
   4911       *-*-cygwin* )
   4912         lt_cv_to_host_file_cmd=func_convert_file_noop
   4913         ;;
   4914       * ) # otherwise, assume *nix
   4915         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4916         ;;
   4917     esac
   4918     ;;
   4919   * ) # unhandled hosts (and "normal" native builds)
   4920     lt_cv_to_host_file_cmd=func_convert_file_noop
   4921     ;;
   4922 esac
   4923 
   4924 fi
   4925 
   4926 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4928 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4935 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4936 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4937   $as_echo_n "(cached) " >&6
   4938 else
   4939   #assume ordinary cross tools, or native build.
   4940 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4941 case $host in
   4942   *-*-mingw* )
   4943     case $build in
   4944       *-*-mingw* ) # actually msys
   4945         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4946         ;;
   4947     esac
   4948     ;;
   4949 esac
   4950 
   4951 fi
   4952 
   4953 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4955 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4962 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4963 if ${lt_cv_ld_reload_flag+:} false; then :
   4964   $as_echo_n "(cached) " >&6
   4965 else
   4966   lt_cv_ld_reload_flag='-r'
   4967 fi
   4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4969 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4970 reload_flag=$lt_cv_ld_reload_flag
   4971 case $reload_flag in
   4972 "" | " "*) ;;
   4973 *) reload_flag=" $reload_flag" ;;
   4974 esac
   4975 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4976 case $host_os in
   4977   cygwin* | mingw* | pw32* | cegcc*)
   4978     if test yes != "$GCC"; then
   4979       reload_cmds=false
   4980     fi
   4981     ;;
   4982   darwin*)
   4983     if test yes = "$GCC"; then
   4984       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   4985     else
   4986       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4987     fi
   4988     ;;
   4989 esac
   4990 
   4991 
   4992 
   4993 
   4994 
   4995 
   4996 
   4997 
   4998 
   4999 if test -n "$ac_tool_prefix"; then
   5000   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5001 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5003 $as_echo_n "checking for $ac_word... " >&6; }
   5004 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5005   $as_echo_n "(cached) " >&6
   5006 else
   5007   if test -n "$OBJDUMP"; then
   5008   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5009 else
   5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5011 for as_dir in $PATH
   5012 do
   5013   IFS=$as_save_IFS
   5014   test -z "$as_dir" && as_dir=.
   5015     for ac_exec_ext in '' $ac_executable_extensions; do
   5016   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5017     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5018     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5019     break 2
   5020   fi
   5021 done
   5022   done
   5023 IFS=$as_save_IFS
   5024 
   5025 fi
   5026 fi
   5027 OBJDUMP=$ac_cv_prog_OBJDUMP
   5028 if test -n "$OBJDUMP"; then
   5029   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5030 $as_echo "$OBJDUMP" >&6; }
   5031 else
   5032   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5033 $as_echo "no" >&6; }
   5034 fi
   5035 
   5036 
   5037 fi
   5038 if test -z "$ac_cv_prog_OBJDUMP"; then
   5039   ac_ct_OBJDUMP=$OBJDUMP
   5040   # Extract the first word of "objdump", so it can be a program name with args.
   5041 set dummy objdump; ac_word=$2
   5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5043 $as_echo_n "checking for $ac_word... " >&6; }
   5044 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5045   $as_echo_n "(cached) " >&6
   5046 else
   5047   if test -n "$ac_ct_OBJDUMP"; then
   5048   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5049 else
   5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5051 for as_dir in $PATH
   5052 do
   5053   IFS=$as_save_IFS
   5054   test -z "$as_dir" && as_dir=.
   5055     for ac_exec_ext in '' $ac_executable_extensions; do
   5056   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5057     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5058     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5059     break 2
   5060   fi
   5061 done
   5062   done
   5063 IFS=$as_save_IFS
   5064 
   5065 fi
   5066 fi
   5067 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5068 if test -n "$ac_ct_OBJDUMP"; then
   5069   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5070 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5071 else
   5072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5073 $as_echo "no" >&6; }
   5074 fi
   5075 
   5076   if test "x$ac_ct_OBJDUMP" = x; then
   5077     OBJDUMP="false"
   5078   else
   5079     case $cross_compiling:$ac_tool_warned in
   5080 yes:)
   5081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5082 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5083 ac_tool_warned=yes ;;
   5084 esac
   5085     OBJDUMP=$ac_ct_OBJDUMP
   5086   fi
   5087 else
   5088   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5089 fi
   5090 
   5091 test -z "$OBJDUMP" && OBJDUMP=objdump
   5092 
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 
   5100 
   5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5102 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5103 if ${lt_cv_deplibs_check_method+:} false; then :
   5104   $as_echo_n "(cached) " >&6
   5105 else
   5106   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5107 lt_cv_file_magic_test_file=
   5108 lt_cv_deplibs_check_method='unknown'
   5109 # Need to set the preceding variable on all platforms that support
   5110 # interlibrary dependencies.
   5111 # 'none' -- dependencies not supported.
   5112 # 'unknown' -- same as none, but documents that we really don't know.
   5113 # 'pass_all' -- all dependencies passed with no checks.
   5114 # 'test_compile' -- check by making test program.
   5115 # 'file_magic [[regex]]' -- check by looking for files in library path
   5116 # that responds to the $file_magic_cmd with a given extended regex.
   5117 # If you have 'file' or equivalent on your system and you're not sure
   5118 # whether 'pass_all' will *always* work, you probably want this one.
   5119 
   5120 case $host_os in
   5121 aix[4-9]*)
   5122   lt_cv_deplibs_check_method=pass_all
   5123   ;;
   5124 
   5125 beos*)
   5126   lt_cv_deplibs_check_method=pass_all
   5127   ;;
   5128 
   5129 bsdi[45]*)
   5130   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5131   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5132   lt_cv_file_magic_test_file=/shlib/libc.so
   5133   ;;
   5134 
   5135 cygwin*)
   5136   # func_win32_libid is a shell function defined in ltmain.sh
   5137   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5138   lt_cv_file_magic_cmd='func_win32_libid'
   5139   ;;
   5140 
   5141 mingw* | pw32*)
   5142   # Base MSYS/MinGW do not provide the 'file' command needed by
   5143   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5144   # unless we find 'file', for example because we are cross-compiling.
   5145   if ( file / ) >/dev/null 2>&1; then
   5146     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5147     lt_cv_file_magic_cmd='func_win32_libid'
   5148   else
   5149     # Keep this pattern in sync with the one in func_win32_libid.
   5150     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5151     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5152   fi
   5153   ;;
   5154 
   5155 cegcc*)
   5156   # use the weaker test based on 'objdump'. See mingw*.
   5157   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5158   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5159   ;;
   5160 
   5161 darwin* | rhapsody*)
   5162   lt_cv_deplibs_check_method=pass_all
   5163   ;;
   5164 
   5165 freebsd* | dragonfly*)
   5166   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5167     case $host_cpu in
   5168     i*86 )
   5169       # Not sure whether the presence of OpenBSD here was a mistake.
   5170       # Let's accept both of them until this is cleared up.
   5171       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5172       lt_cv_file_magic_cmd=/usr/bin/file
   5173       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5174       ;;
   5175     esac
   5176   else
   5177     lt_cv_deplibs_check_method=pass_all
   5178   fi
   5179   ;;
   5180 
   5181 haiku*)
   5182   lt_cv_deplibs_check_method=pass_all
   5183   ;;
   5184 
   5185 hpux10.20* | hpux11*)
   5186   lt_cv_file_magic_cmd=/usr/bin/file
   5187   case $host_cpu in
   5188   ia64*)
   5189     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5190     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5191     ;;
   5192   hppa*64*)
   5193     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]'
   5194     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5195     ;;
   5196   *)
   5197     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5198     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5199     ;;
   5200   esac
   5201   ;;
   5202 
   5203 interix[3-9]*)
   5204   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5205   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5206   ;;
   5207 
   5208 irix5* | irix6* | nonstopux*)
   5209   case $LD in
   5210   *-32|*"-32 ") libmagic=32-bit;;
   5211   *-n32|*"-n32 ") libmagic=N32;;
   5212   *-64|*"-64 ") libmagic=64-bit;;
   5213   *) libmagic=never-match;;
   5214   esac
   5215   lt_cv_deplibs_check_method=pass_all
   5216   ;;
   5217 
   5218 # This must be glibc/ELF.
   5219 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5220   lt_cv_deplibs_check_method=pass_all
   5221   ;;
   5222 
   5223 netbsd*)
   5224   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5225     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5226   else
   5227     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5228   fi
   5229   ;;
   5230 
   5231 newos6*)
   5232   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5233   lt_cv_file_magic_cmd=/usr/bin/file
   5234   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5235   ;;
   5236 
   5237 *nto* | *qnx*)
   5238   lt_cv_deplibs_check_method=pass_all
   5239   ;;
   5240 
   5241 openbsd* | bitrig*)
   5242   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5243     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5244   else
   5245     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5246   fi
   5247   ;;
   5248 
   5249 osf3* | osf4* | osf5*)
   5250   lt_cv_deplibs_check_method=pass_all
   5251   ;;
   5252 
   5253 rdos*)
   5254   lt_cv_deplibs_check_method=pass_all
   5255   ;;
   5256 
   5257 solaris*)
   5258   lt_cv_deplibs_check_method=pass_all
   5259   ;;
   5260 
   5261 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5262   lt_cv_deplibs_check_method=pass_all
   5263   ;;
   5264 
   5265 sysv4 | sysv4.3*)
   5266   case $host_vendor in
   5267   motorola)
   5268     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]'
   5269     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5270     ;;
   5271   ncr)
   5272     lt_cv_deplibs_check_method=pass_all
   5273     ;;
   5274   sequent)
   5275     lt_cv_file_magic_cmd='/bin/file'
   5276     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5277     ;;
   5278   sni)
   5279     lt_cv_file_magic_cmd='/bin/file'
   5280     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5281     lt_cv_file_magic_test_file=/lib/libc.so
   5282     ;;
   5283   siemens)
   5284     lt_cv_deplibs_check_method=pass_all
   5285     ;;
   5286   pc)
   5287     lt_cv_deplibs_check_method=pass_all
   5288     ;;
   5289   esac
   5290   ;;
   5291 
   5292 tpf*)
   5293   lt_cv_deplibs_check_method=pass_all
   5294   ;;
   5295 os2*)
   5296   lt_cv_deplibs_check_method=pass_all
   5297   ;;
   5298 esac
   5299 
   5300 fi
   5301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5302 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5303 
   5304 file_magic_glob=
   5305 want_nocaseglob=no
   5306 if test "$build" = "$host"; then
   5307   case $host_os in
   5308   mingw* | pw32*)
   5309     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5310       want_nocaseglob=yes
   5311     else
   5312       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5313     fi
   5314     ;;
   5315   esac
   5316 fi
   5317 
   5318 file_magic_cmd=$lt_cv_file_magic_cmd
   5319 deplibs_check_method=$lt_cv_deplibs_check_method
   5320 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 
   5327 
   5328 
   5329 
   5330 
   5331 
   5332 
   5333 
   5334 
   5335 
   5336 
   5337 
   5338 
   5339 
   5340 
   5341 
   5342 
   5343 if test -n "$ac_tool_prefix"; then
   5344   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5345 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5347 $as_echo_n "checking for $ac_word... " >&6; }
   5348 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5349   $as_echo_n "(cached) " >&6
   5350 else
   5351   if test -n "$DLLTOOL"; then
   5352   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5353 else
   5354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5355 for as_dir in $PATH
   5356 do
   5357   IFS=$as_save_IFS
   5358   test -z "$as_dir" && as_dir=.
   5359     for ac_exec_ext in '' $ac_executable_extensions; do
   5360   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5361     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5362     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5363     break 2
   5364   fi
   5365 done
   5366   done
   5367 IFS=$as_save_IFS
   5368 
   5369 fi
   5370 fi
   5371 DLLTOOL=$ac_cv_prog_DLLTOOL
   5372 if test -n "$DLLTOOL"; then
   5373   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5374 $as_echo "$DLLTOOL" >&6; }
   5375 else
   5376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5377 $as_echo "no" >&6; }
   5378 fi
   5379 
   5380 
   5381 fi
   5382 if test -z "$ac_cv_prog_DLLTOOL"; then
   5383   ac_ct_DLLTOOL=$DLLTOOL
   5384   # Extract the first word of "dlltool", so it can be a program name with args.
   5385 set dummy dlltool; ac_word=$2
   5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5387 $as_echo_n "checking for $ac_word... " >&6; }
   5388 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5389   $as_echo_n "(cached) " >&6
   5390 else
   5391   if test -n "$ac_ct_DLLTOOL"; then
   5392   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5393 else
   5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5395 for as_dir in $PATH
   5396 do
   5397   IFS=$as_save_IFS
   5398   test -z "$as_dir" && as_dir=.
   5399     for ac_exec_ext in '' $ac_executable_extensions; do
   5400   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5401     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5402     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5403     break 2
   5404   fi
   5405 done
   5406   done
   5407 IFS=$as_save_IFS
   5408 
   5409 fi
   5410 fi
   5411 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5412 if test -n "$ac_ct_DLLTOOL"; then
   5413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5414 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5415 else
   5416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5417 $as_echo "no" >&6; }
   5418 fi
   5419 
   5420   if test "x$ac_ct_DLLTOOL" = x; then
   5421     DLLTOOL="false"
   5422   else
   5423     case $cross_compiling:$ac_tool_warned in
   5424 yes:)
   5425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5427 ac_tool_warned=yes ;;
   5428 esac
   5429     DLLTOOL=$ac_ct_DLLTOOL
   5430   fi
   5431 else
   5432   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5433 fi
   5434 
   5435 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 
   5445 
   5446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5447 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5448 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5449   $as_echo_n "(cached) " >&6
   5450 else
   5451   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5452 
   5453 case $host_os in
   5454 cygwin* | mingw* | pw32* | cegcc*)
   5455   # two different shell functions defined in ltmain.sh;
   5456   # decide which one to use based on capabilities of $DLLTOOL
   5457   case `$DLLTOOL --help 2>&1` in
   5458   *--identify-strict*)
   5459     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5460     ;;
   5461   *)
   5462     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5463     ;;
   5464   esac
   5465   ;;
   5466 *)
   5467   # fallback: assume linklib IS sharedlib
   5468   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5469   ;;
   5470 esac
   5471 
   5472 fi
   5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5474 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5475 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5476 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5477 
   5478 
   5479 
   5480 
   5481 
   5482 
   5483 
   5484 
   5485 if test -n "$ac_tool_prefix"; then
   5486   for ac_prog in ar
   5487   do
   5488     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5489 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5491 $as_echo_n "checking for $ac_word... " >&6; }
   5492 if ${ac_cv_prog_AR+:} false; then :
   5493   $as_echo_n "(cached) " >&6
   5494 else
   5495   if test -n "$AR"; then
   5496   ac_cv_prog_AR="$AR" # Let the user override the test.
   5497 else
   5498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5499 for as_dir in $PATH
   5500 do
   5501   IFS=$as_save_IFS
   5502   test -z "$as_dir" && as_dir=.
   5503     for ac_exec_ext in '' $ac_executable_extensions; do
   5504   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5505     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5507     break 2
   5508   fi
   5509 done
   5510   done
   5511 IFS=$as_save_IFS
   5512 
   5513 fi
   5514 fi
   5515 AR=$ac_cv_prog_AR
   5516 if test -n "$AR"; then
   5517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5518 $as_echo "$AR" >&6; }
   5519 else
   5520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5521 $as_echo "no" >&6; }
   5522 fi
   5523 
   5524 
   5525     test -n "$AR" && break
   5526   done
   5527 fi
   5528 if test -z "$AR"; then
   5529   ac_ct_AR=$AR
   5530   for ac_prog in ar
   5531 do
   5532   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5533 set dummy $ac_prog; ac_word=$2
   5534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5535 $as_echo_n "checking for $ac_word... " >&6; }
   5536 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5537   $as_echo_n "(cached) " >&6
   5538 else
   5539   if test -n "$ac_ct_AR"; then
   5540   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5541 else
   5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5543 for as_dir in $PATH
   5544 do
   5545   IFS=$as_save_IFS
   5546   test -z "$as_dir" && as_dir=.
   5547     for ac_exec_ext in '' $ac_executable_extensions; do
   5548   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5549     ac_cv_prog_ac_ct_AR="$ac_prog"
   5550     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5551     break 2
   5552   fi
   5553 done
   5554   done
   5555 IFS=$as_save_IFS
   5556 
   5557 fi
   5558 fi
   5559 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5560 if test -n "$ac_ct_AR"; then
   5561   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5562 $as_echo "$ac_ct_AR" >&6; }
   5563 else
   5564   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5565 $as_echo "no" >&6; }
   5566 fi
   5567 
   5568 
   5569   test -n "$ac_ct_AR" && break
   5570 done
   5571 
   5572   if test "x$ac_ct_AR" = x; then
   5573     AR="false"
   5574   else
   5575     case $cross_compiling:$ac_tool_warned in
   5576 yes:)
   5577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5579 ac_tool_warned=yes ;;
   5580 esac
   5581     AR=$ac_ct_AR
   5582   fi
   5583 fi
   5584 
   5585 : ${AR=ar}
   5586 : ${AR_FLAGS=cru}
   5587 
   5588 
   5589 
   5590 
   5591 
   5592 
   5593 
   5594 
   5595 
   5596 
   5597 
   5598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5599 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5600 if ${lt_cv_ar_at_file+:} false; then :
   5601   $as_echo_n "(cached) " >&6
   5602 else
   5603   lt_cv_ar_at_file=no
   5604    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5605 /* end confdefs.h.  */
   5606 
   5607 int
   5608 main ()
   5609 {
   5610 
   5611   ;
   5612   return 0;
   5613 }
   5614 _ACEOF
   5615 if ac_fn_c_try_compile "$LINENO"; then :
   5616   echo conftest.$ac_objext > conftest.lst
   5617       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5618       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5619   (eval $lt_ar_try) 2>&5
   5620   ac_status=$?
   5621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5622   test $ac_status = 0; }
   5623       if test 0 -eq "$ac_status"; then
   5624 	# Ensure the archiver fails upon bogus file names.
   5625 	rm -f conftest.$ac_objext libconftest.a
   5626 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5627   (eval $lt_ar_try) 2>&5
   5628   ac_status=$?
   5629   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5630   test $ac_status = 0; }
   5631 	if test 0 -ne "$ac_status"; then
   5632           lt_cv_ar_at_file=@
   5633         fi
   5634       fi
   5635       rm -f conftest.* libconftest.a
   5636 
   5637 fi
   5638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5639 
   5640 fi
   5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5642 $as_echo "$lt_cv_ar_at_file" >&6; }
   5643 
   5644 if test no = "$lt_cv_ar_at_file"; then
   5645   archiver_list_spec=
   5646 else
   5647   archiver_list_spec=$lt_cv_ar_at_file
   5648 fi
   5649 
   5650 
   5651 
   5652 
   5653 
   5654 
   5655 
   5656 if test -n "$ac_tool_prefix"; then
   5657   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5658 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5660 $as_echo_n "checking for $ac_word... " >&6; }
   5661 if ${ac_cv_prog_STRIP+:} false; then :
   5662   $as_echo_n "(cached) " >&6
   5663 else
   5664   if test -n "$STRIP"; then
   5665   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5666 else
   5667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5668 for as_dir in $PATH
   5669 do
   5670   IFS=$as_save_IFS
   5671   test -z "$as_dir" && as_dir=.
   5672     for ac_exec_ext in '' $ac_executable_extensions; do
   5673   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5674     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5675     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5676     break 2
   5677   fi
   5678 done
   5679   done
   5680 IFS=$as_save_IFS
   5681 
   5682 fi
   5683 fi
   5684 STRIP=$ac_cv_prog_STRIP
   5685 if test -n "$STRIP"; then
   5686   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5687 $as_echo "$STRIP" >&6; }
   5688 else
   5689   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5690 $as_echo "no" >&6; }
   5691 fi
   5692 
   5693 
   5694 fi
   5695 if test -z "$ac_cv_prog_STRIP"; then
   5696   ac_ct_STRIP=$STRIP
   5697   # Extract the first word of "strip", so it can be a program name with args.
   5698 set dummy strip; ac_word=$2
   5699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5700 $as_echo_n "checking for $ac_word... " >&6; }
   5701 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5702   $as_echo_n "(cached) " >&6
   5703 else
   5704   if test -n "$ac_ct_STRIP"; then
   5705   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5706 else
   5707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5708 for as_dir in $PATH
   5709 do
   5710   IFS=$as_save_IFS
   5711   test -z "$as_dir" && as_dir=.
   5712     for ac_exec_ext in '' $ac_executable_extensions; do
   5713   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5714     ac_cv_prog_ac_ct_STRIP="strip"
   5715     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5716     break 2
   5717   fi
   5718 done
   5719   done
   5720 IFS=$as_save_IFS
   5721 
   5722 fi
   5723 fi
   5724 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5725 if test -n "$ac_ct_STRIP"; then
   5726   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5727 $as_echo "$ac_ct_STRIP" >&6; }
   5728 else
   5729   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5730 $as_echo "no" >&6; }
   5731 fi
   5732 
   5733   if test "x$ac_ct_STRIP" = x; then
   5734     STRIP=":"
   5735   else
   5736     case $cross_compiling:$ac_tool_warned in
   5737 yes:)
   5738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5739 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5740 ac_tool_warned=yes ;;
   5741 esac
   5742     STRIP=$ac_ct_STRIP
   5743   fi
   5744 else
   5745   STRIP="$ac_cv_prog_STRIP"
   5746 fi
   5747 
   5748 test -z "$STRIP" && STRIP=:
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 if test -n "$ac_tool_prefix"; then
   5756   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5757 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5759 $as_echo_n "checking for $ac_word... " >&6; }
   5760 if ${ac_cv_prog_RANLIB+:} false; then :
   5761   $as_echo_n "(cached) " >&6
   5762 else
   5763   if test -n "$RANLIB"; then
   5764   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5765 else
   5766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5767 for as_dir in $PATH
   5768 do
   5769   IFS=$as_save_IFS
   5770   test -z "$as_dir" && as_dir=.
   5771     for ac_exec_ext in '' $ac_executable_extensions; do
   5772   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5773     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5774     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5775     break 2
   5776   fi
   5777 done
   5778   done
   5779 IFS=$as_save_IFS
   5780 
   5781 fi
   5782 fi
   5783 RANLIB=$ac_cv_prog_RANLIB
   5784 if test -n "$RANLIB"; then
   5785   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5786 $as_echo "$RANLIB" >&6; }
   5787 else
   5788   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5789 $as_echo "no" >&6; }
   5790 fi
   5791 
   5792 
   5793 fi
   5794 if test -z "$ac_cv_prog_RANLIB"; then
   5795   ac_ct_RANLIB=$RANLIB
   5796   # Extract the first word of "ranlib", so it can be a program name with args.
   5797 set dummy ranlib; ac_word=$2
   5798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5799 $as_echo_n "checking for $ac_word... " >&6; }
   5800 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5801   $as_echo_n "(cached) " >&6
   5802 else
   5803   if test -n "$ac_ct_RANLIB"; then
   5804   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5805 else
   5806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5807 for as_dir in $PATH
   5808 do
   5809   IFS=$as_save_IFS
   5810   test -z "$as_dir" && as_dir=.
   5811     for ac_exec_ext in '' $ac_executable_extensions; do
   5812   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5813     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5814     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5815     break 2
   5816   fi
   5817 done
   5818   done
   5819 IFS=$as_save_IFS
   5820 
   5821 fi
   5822 fi
   5823 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5824 if test -n "$ac_ct_RANLIB"; then
   5825   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5826 $as_echo "$ac_ct_RANLIB" >&6; }
   5827 else
   5828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5829 $as_echo "no" >&6; }
   5830 fi
   5831 
   5832   if test "x$ac_ct_RANLIB" = x; then
   5833     RANLIB=":"
   5834   else
   5835     case $cross_compiling:$ac_tool_warned in
   5836 yes:)
   5837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5839 ac_tool_warned=yes ;;
   5840 esac
   5841     RANLIB=$ac_ct_RANLIB
   5842   fi
   5843 else
   5844   RANLIB="$ac_cv_prog_RANLIB"
   5845 fi
   5846 
   5847 test -z "$RANLIB" && RANLIB=:
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 # Determine commands to create old-style static archives.
   5855 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5856 old_postinstall_cmds='chmod 644 $oldlib'
   5857 old_postuninstall_cmds=
   5858 
   5859 if test -n "$RANLIB"; then
   5860   case $host_os in
   5861   bitrig* | openbsd*)
   5862     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5863     ;;
   5864   *)
   5865     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5866     ;;
   5867   esac
   5868   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5869 fi
   5870 
   5871 case $host_os in
   5872   darwin*)
   5873     lock_old_archive_extraction=yes ;;
   5874   *)
   5875     lock_old_archive_extraction=no ;;
   5876 esac
   5877 
   5878 
   5879 
   5880 
   5881 
   5882 
   5883 
   5884 
   5885 
   5886 
   5887 
   5888 
   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 # If no C compiler was specified, use CC.
   5917 LTCC=${LTCC-"$CC"}
   5918 
   5919 # If no C compiler flags were specified, use CFLAGS.
   5920 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5921 
   5922 # Allow CC to be a program name with arguments.
   5923 compiler=$CC
   5924 
   5925 
   5926 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5928 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5929 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5930   $as_echo_n "(cached) " >&6
   5931 else
   5932 
   5933 # These are sane defaults that work on at least a few old systems.
   5934 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5935 
   5936 # Character class describing NM global symbol codes.
   5937 symcode='[BCDEGRST]'
   5938 
   5939 # Regexp to match symbols that can be accessed directly from C.
   5940 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5941 
   5942 # Define system-specific variables.
   5943 case $host_os in
   5944 aix*)
   5945   symcode='[BCDT]'
   5946   ;;
   5947 cygwin* | mingw* | pw32* | cegcc*)
   5948   symcode='[ABCDGISTW]'
   5949   ;;
   5950 hpux*)
   5951   if test ia64 = "$host_cpu"; then
   5952     symcode='[ABCDEGRST]'
   5953   fi
   5954   ;;
   5955 irix* | nonstopux*)
   5956   symcode='[BCDEGRST]'
   5957   ;;
   5958 osf*)
   5959   symcode='[BCDEGQRST]'
   5960   ;;
   5961 solaris*)
   5962   symcode='[BDRT]'
   5963   ;;
   5964 sco3.2v5*)
   5965   symcode='[DT]'
   5966   ;;
   5967 sysv4.2uw2*)
   5968   symcode='[DT]'
   5969   ;;
   5970 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5971   symcode='[ABDT]'
   5972   ;;
   5973 sysv4)
   5974   symcode='[DFNSTU]'
   5975   ;;
   5976 esac
   5977 
   5978 # If we're using GNU nm, then use its standard symbol codes.
   5979 case `$NM -V 2>&1` in
   5980 *GNU* | *'with BFD'*)
   5981   symcode='[ABCDGIRSTW]' ;;
   5982 esac
   5983 
   5984 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5985   # Gets list of data symbols to import.
   5986   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   5987   # Adjust the below global symbol transforms to fixup imported variables.
   5988   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   5989   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   5990   lt_c_name_lib_hook="\
   5991   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   5992   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   5993 else
   5994   # Disable hooks by default.
   5995   lt_cv_sys_global_symbol_to_import=
   5996   lt_cdecl_hook=
   5997   lt_c_name_hook=
   5998   lt_c_name_lib_hook=
   5999 fi
   6000 
   6001 # Transform an extracted symbol line into a proper C declaration.
   6002 # Some systems (esp. on ia64) link data and code symbols differently,
   6003 # so use this general approach.
   6004 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6005 $lt_cdecl_hook\
   6006 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6007 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6008 
   6009 # Transform an extracted symbol line into symbol name and symbol address
   6010 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6011 $lt_c_name_hook\
   6012 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6013 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6014 
   6015 # Transform an extracted symbol line into symbol name with lib prefix and
   6016 # symbol address.
   6017 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6018 $lt_c_name_lib_hook\
   6019 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6020 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6021 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6022 
   6023 # Handle CRLF in mingw tool chain
   6024 opt_cr=
   6025 case $build_os in
   6026 mingw*)
   6027   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6028   ;;
   6029 esac
   6030 
   6031 # Try without a prefix underscore, then with it.
   6032 for ac_symprfx in "" "_"; do
   6033 
   6034   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6035   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6036 
   6037   # Write the raw and C identifiers.
   6038   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6039     # Fake it for dumpbin and say T for any non-static function,
   6040     # D for any global variable and I for any imported variable.
   6041     # Also find C++ and __fastcall symbols from MSVC++,
   6042     # which start with @ or ?.
   6043     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6044 "     {last_section=section; section=\$ 3};"\
   6045 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6046 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6047 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6048 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6049 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6050 "     \$ 0!~/External *\|/{next};"\
   6051 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6052 "     {if(hide[section]) next};"\
   6053 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6054 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6055 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6056 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6057 "     ' prfx=^$ac_symprfx"
   6058   else
   6059     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6060   fi
   6061   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6062 
   6063   # Check to see that the pipe works correctly.
   6064   pipe_works=no
   6065 
   6066   rm -f conftest*
   6067   cat > conftest.$ac_ext <<_LT_EOF
   6068 #ifdef __cplusplus
   6069 extern "C" {
   6070 #endif
   6071 char nm_test_var;
   6072 void nm_test_func(void);
   6073 void nm_test_func(void){}
   6074 #ifdef __cplusplus
   6075 }
   6076 #endif
   6077 int main(){nm_test_var='a';nm_test_func();return(0);}
   6078 _LT_EOF
   6079 
   6080   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6081   (eval $ac_compile) 2>&5
   6082   ac_status=$?
   6083   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6084   test $ac_status = 0; }; then
   6085     # Now try to grab the symbols.
   6086     nlist=conftest.nm
   6087     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6088   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6089   ac_status=$?
   6090   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6091   test $ac_status = 0; } && test -s "$nlist"; then
   6092       # Try sorting and uniquifying the output.
   6093       if sort "$nlist" | uniq > "$nlist"T; then
   6094 	mv -f "$nlist"T "$nlist"
   6095       else
   6096 	rm -f "$nlist"T
   6097       fi
   6098 
   6099       # Make sure that we snagged all the symbols we need.
   6100       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6101 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6102 	  cat <<_LT_EOF > conftest.$ac_ext
   6103 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6104 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6105 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6106    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6107 # define LT_DLSYM_CONST
   6108 #elif defined __osf__
   6109 /* This system does not cope well with relocations in const data.  */
   6110 # define LT_DLSYM_CONST
   6111 #else
   6112 # define LT_DLSYM_CONST const
   6113 #endif
   6114 
   6115 #ifdef __cplusplus
   6116 extern "C" {
   6117 #endif
   6118 
   6119 _LT_EOF
   6120 	  # Now generate the symbol file.
   6121 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6122 
   6123 	  cat <<_LT_EOF >> conftest.$ac_ext
   6124 
   6125 /* The mapping between symbol names and symbols.  */
   6126 LT_DLSYM_CONST struct {
   6127   const char *name;
   6128   void       *address;
   6129 }
   6130 lt__PROGRAM__LTX_preloaded_symbols[] =
   6131 {
   6132   { "@PROGRAM@", (void *) 0 },
   6133 _LT_EOF
   6134 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6135 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6136   {0, (void *) 0}
   6137 };
   6138 
   6139 /* This works around a problem in FreeBSD linker */
   6140 #ifdef FREEBSD_WORKAROUND
   6141 static const void *lt_preloaded_setup() {
   6142   return lt__PROGRAM__LTX_preloaded_symbols;
   6143 }
   6144 #endif
   6145 
   6146 #ifdef __cplusplus
   6147 }
   6148 #endif
   6149 _LT_EOF
   6150 	  # Now try linking the two files.
   6151 	  mv conftest.$ac_objext conftstm.$ac_objext
   6152 	  lt_globsym_save_LIBS=$LIBS
   6153 	  lt_globsym_save_CFLAGS=$CFLAGS
   6154 	  LIBS=conftstm.$ac_objext
   6155 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6156 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6157   (eval $ac_link) 2>&5
   6158   ac_status=$?
   6159   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6160   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6161 	    pipe_works=yes
   6162 	  fi
   6163 	  LIBS=$lt_globsym_save_LIBS
   6164 	  CFLAGS=$lt_globsym_save_CFLAGS
   6165 	else
   6166 	  echo "cannot find nm_test_func in $nlist" >&5
   6167 	fi
   6168       else
   6169 	echo "cannot find nm_test_var in $nlist" >&5
   6170       fi
   6171     else
   6172       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6173     fi
   6174   else
   6175     echo "$progname: failed program was:" >&5
   6176     cat conftest.$ac_ext >&5
   6177   fi
   6178   rm -rf conftest* conftst*
   6179 
   6180   # Do not use the global_symbol_pipe unless it works.
   6181   if test yes = "$pipe_works"; then
   6182     break
   6183   else
   6184     lt_cv_sys_global_symbol_pipe=
   6185   fi
   6186 done
   6187 
   6188 fi
   6189 
   6190 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6191   lt_cv_sys_global_symbol_to_cdecl=
   6192 fi
   6193 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6195 $as_echo "failed" >&6; }
   6196 else
   6197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6198 $as_echo "ok" >&6; }
   6199 fi
   6200 
   6201 # Response file support.
   6202 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6203   nm_file_list_spec='@'
   6204 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6205   nm_file_list_spec='@'
   6206 fi
   6207 
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 
   6222 
   6223 
   6224 
   6225 
   6226 
   6227 
   6228 
   6229 
   6230 
   6231 
   6232 
   6233 
   6234 
   6235 
   6236 
   6237 
   6238 
   6239 
   6240 
   6241 
   6242 
   6243 
   6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6245 $as_echo_n "checking for sysroot... " >&6; }
   6246 
   6247 # Check whether --with-sysroot was given.
   6248 if test "${with_sysroot+set}" = set; then :
   6249   withval=$with_sysroot;
   6250 else
   6251   with_sysroot=no
   6252 fi
   6253 
   6254 
   6255 lt_sysroot=
   6256 case $with_sysroot in #(
   6257  yes)
   6258    if test yes = "$GCC"; then
   6259      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6260    fi
   6261    ;; #(
   6262  /*)
   6263    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6264    ;; #(
   6265  no|'')
   6266    ;; #(
   6267  *)
   6268    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6269 $as_echo "$with_sysroot" >&6; }
   6270    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6271    ;;
   6272 esac
   6273 
   6274  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6275 $as_echo "${lt_sysroot:-no}" >&6; }
   6276 
   6277 
   6278 
   6279 
   6280 
   6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6282 $as_echo_n "checking for a working dd... " >&6; }
   6283 if ${ac_cv_path_lt_DD+:} false; then :
   6284   $as_echo_n "(cached) " >&6
   6285 else
   6286   printf 0123456789abcdef0123456789abcdef >conftest.i
   6287 cat conftest.i conftest.i >conftest2.i
   6288 : ${lt_DD:=$DD}
   6289 if test -z "$lt_DD"; then
   6290   ac_path_lt_DD_found=false
   6291   # Loop through the user's path and test for each of PROGNAME-LIST
   6292   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6293 for as_dir in $PATH
   6294 do
   6295   IFS=$as_save_IFS
   6296   test -z "$as_dir" && as_dir=.
   6297     for ac_prog in dd; do
   6298     for ac_exec_ext in '' $ac_executable_extensions; do
   6299       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6300       as_fn_executable_p "$ac_path_lt_DD" || continue
   6301 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6302   cmp -s conftest.i conftest.out \
   6303   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6304 fi
   6305       $ac_path_lt_DD_found && break 3
   6306     done
   6307   done
   6308   done
   6309 IFS=$as_save_IFS
   6310   if test -z "$ac_cv_path_lt_DD"; then
   6311     :
   6312   fi
   6313 else
   6314   ac_cv_path_lt_DD=$lt_DD
   6315 fi
   6316 
   6317 rm -f conftest.i conftest2.i conftest.out
   6318 fi
   6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6320 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6321 
   6322 
   6323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6324 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6325 if ${lt_cv_truncate_bin+:} false; then :
   6326   $as_echo_n "(cached) " >&6
   6327 else
   6328   printf 0123456789abcdef0123456789abcdef >conftest.i
   6329 cat conftest.i conftest.i >conftest2.i
   6330 lt_cv_truncate_bin=
   6331 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6332   cmp -s conftest.i conftest.out \
   6333   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6334 fi
   6335 rm -f conftest.i conftest2.i conftest.out
   6336 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6337 fi
   6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6339 $as_echo "$lt_cv_truncate_bin" >&6; }
   6340 
   6341 
   6342 
   6343 
   6344 
   6345 
   6346 
   6347 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6348 func_cc_basename ()
   6349 {
   6350     for cc_temp in $*""; do
   6351       case $cc_temp in
   6352         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6353         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6354         \-*) ;;
   6355         *) break;;
   6356       esac
   6357     done
   6358     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6359 }
   6360 
   6361 # Check whether --enable-libtool-lock was given.
   6362 if test "${enable_libtool_lock+set}" = set; then :
   6363   enableval=$enable_libtool_lock;
   6364 fi
   6365 
   6366 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6367 
   6368 # Some flags need to be propagated to the compiler or linker for good
   6369 # libtool support.
   6370 case $host in
   6371 ia64-*-hpux*)
   6372   # Find out what ABI is being produced by ac_compile, and set mode
   6373   # options accordingly.
   6374   echo 'int i;' > conftest.$ac_ext
   6375   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6376   (eval $ac_compile) 2>&5
   6377   ac_status=$?
   6378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6379   test $ac_status = 0; }; then
   6380     case `/usr/bin/file conftest.$ac_objext` in
   6381       *ELF-32*)
   6382 	HPUX_IA64_MODE=32
   6383 	;;
   6384       *ELF-64*)
   6385 	HPUX_IA64_MODE=64
   6386 	;;
   6387     esac
   6388   fi
   6389   rm -rf conftest*
   6390   ;;
   6391 *-*-irix6*)
   6392   # Find out what ABI is being produced by ac_compile, and set linker
   6393   # options accordingly.
   6394   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6395   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6396   (eval $ac_compile) 2>&5
   6397   ac_status=$?
   6398   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6399   test $ac_status = 0; }; then
   6400     if test yes = "$lt_cv_prog_gnu_ld"; then
   6401       case `/usr/bin/file conftest.$ac_objext` in
   6402 	*32-bit*)
   6403 	  LD="${LD-ld} -melf32bsmip"
   6404 	  ;;
   6405 	*N32*)
   6406 	  LD="${LD-ld} -melf32bmipn32"
   6407 	  ;;
   6408 	*64-bit*)
   6409 	  LD="${LD-ld} -melf64bmip"
   6410 	;;
   6411       esac
   6412     else
   6413       case `/usr/bin/file conftest.$ac_objext` in
   6414 	*32-bit*)
   6415 	  LD="${LD-ld} -32"
   6416 	  ;;
   6417 	*N32*)
   6418 	  LD="${LD-ld} -n32"
   6419 	  ;;
   6420 	*64-bit*)
   6421 	  LD="${LD-ld} -64"
   6422 	  ;;
   6423       esac
   6424     fi
   6425   fi
   6426   rm -rf conftest*
   6427   ;;
   6428 
   6429 mips64*-*linux*)
   6430   # Find out what ABI is being produced by ac_compile, and set linker
   6431   # options accordingly.
   6432   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6433   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6434   (eval $ac_compile) 2>&5
   6435   ac_status=$?
   6436   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6437   test $ac_status = 0; }; then
   6438     emul=elf
   6439     case `/usr/bin/file conftest.$ac_objext` in
   6440       *32-bit*)
   6441 	emul="${emul}32"
   6442 	;;
   6443       *64-bit*)
   6444 	emul="${emul}64"
   6445 	;;
   6446     esac
   6447     case `/usr/bin/file conftest.$ac_objext` in
   6448       *MSB*)
   6449 	emul="${emul}btsmip"
   6450 	;;
   6451       *LSB*)
   6452 	emul="${emul}ltsmip"
   6453 	;;
   6454     esac
   6455     case `/usr/bin/file conftest.$ac_objext` in
   6456       *N32*)
   6457 	emul="${emul}n32"
   6458 	;;
   6459     esac
   6460     LD="${LD-ld} -m $emul"
   6461   fi
   6462   rm -rf conftest*
   6463   ;;
   6464 
   6465 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6466 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6467   # Find out what ABI is being produced by ac_compile, and set linker
   6468   # options accordingly.  Note that the listed cases only cover the
   6469   # situations where additional linker options are needed (such as when
   6470   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6471   # vice versa); the common cases where no linker options are needed do
   6472   # not appear in the list.
   6473   echo 'int i;' > conftest.$ac_ext
   6474   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6475   (eval $ac_compile) 2>&5
   6476   ac_status=$?
   6477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6478   test $ac_status = 0; }; then
   6479     case `/usr/bin/file conftest.o` in
   6480       *32-bit*)
   6481 	case $host in
   6482 	  x86_64-*kfreebsd*-gnu)
   6483 	    LD="${LD-ld} -m elf_i386_fbsd"
   6484 	    ;;
   6485 	  x86_64-*linux*)
   6486 	    case `/usr/bin/file conftest.o` in
   6487 	      *x86-64*)
   6488 		LD="${LD-ld} -m elf32_x86_64"
   6489 		;;
   6490 	      *)
   6491 		LD="${LD-ld} -m elf_i386"
   6492 		;;
   6493 	    esac
   6494 	    ;;
   6495 	  powerpc64le-*linux*)
   6496 	    LD="${LD-ld} -m elf32lppclinux"
   6497 	    ;;
   6498 	  powerpc64-*linux*)
   6499 	    LD="${LD-ld} -m elf32ppclinux"
   6500 	    ;;
   6501 	  s390x-*linux*)
   6502 	    LD="${LD-ld} -m elf_s390"
   6503 	    ;;
   6504 	  sparc64-*linux*)
   6505 	    LD="${LD-ld} -m elf32_sparc"
   6506 	    ;;
   6507 	esac
   6508 	;;
   6509       *64-bit*)
   6510 	case $host in
   6511 	  x86_64-*kfreebsd*-gnu)
   6512 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6513 	    ;;
   6514 	  x86_64-*linux*)
   6515 	    LD="${LD-ld} -m elf_x86_64"
   6516 	    ;;
   6517 	  powerpcle-*linux*)
   6518 	    LD="${LD-ld} -m elf64lppc"
   6519 	    ;;
   6520 	  powerpc-*linux*)
   6521 	    LD="${LD-ld} -m elf64ppc"
   6522 	    ;;
   6523 	  s390*-*linux*|s390*-*tpf*)
   6524 	    LD="${LD-ld} -m elf64_s390"
   6525 	    ;;
   6526 	  sparc*-*linux*)
   6527 	    LD="${LD-ld} -m elf64_sparc"
   6528 	    ;;
   6529 	esac
   6530 	;;
   6531     esac
   6532   fi
   6533   rm -rf conftest*
   6534   ;;
   6535 
   6536 *-*-sco3.2v5*)
   6537   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6538   SAVE_CFLAGS=$CFLAGS
   6539   CFLAGS="$CFLAGS -belf"
   6540   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6541 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6542 if ${lt_cv_cc_needs_belf+:} false; then :
   6543   $as_echo_n "(cached) " >&6
   6544 else
   6545   ac_ext=c
   6546 ac_cpp='$CPP $CPPFLAGS'
   6547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6550 
   6551      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6552 /* end confdefs.h.  */
   6553 
   6554 int
   6555 main ()
   6556 {
   6557 
   6558   ;
   6559   return 0;
   6560 }
   6561 _ACEOF
   6562 if ac_fn_c_try_link "$LINENO"; then :
   6563   lt_cv_cc_needs_belf=yes
   6564 else
   6565   lt_cv_cc_needs_belf=no
   6566 fi
   6567 rm -f core conftest.err conftest.$ac_objext \
   6568     conftest$ac_exeext conftest.$ac_ext
   6569      ac_ext=c
   6570 ac_cpp='$CPP $CPPFLAGS'
   6571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6574 
   6575 fi
   6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6577 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6578   if test yes != "$lt_cv_cc_needs_belf"; then
   6579     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6580     CFLAGS=$SAVE_CFLAGS
   6581   fi
   6582   ;;
   6583 *-*solaris*)
   6584   # Find out what ABI is being produced by ac_compile, and set linker
   6585   # options accordingly.
   6586   echo 'int i;' > conftest.$ac_ext
   6587   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6588   (eval $ac_compile) 2>&5
   6589   ac_status=$?
   6590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6591   test $ac_status = 0; }; then
   6592     case `/usr/bin/file conftest.o` in
   6593     *64-bit*)
   6594       case $lt_cv_prog_gnu_ld in
   6595       yes*)
   6596         case $host in
   6597         i?86-*-solaris*|x86_64-*-solaris*)
   6598           LD="${LD-ld} -m elf_x86_64"
   6599           ;;
   6600         sparc*-*-solaris*)
   6601           LD="${LD-ld} -m elf64_sparc"
   6602           ;;
   6603         esac
   6604         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6605         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6606           LD=${LD-ld}_sol2
   6607         fi
   6608         ;;
   6609       *)
   6610 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6611 	  LD="${LD-ld} -64"
   6612 	fi
   6613 	;;
   6614       esac
   6615       ;;
   6616     esac
   6617   fi
   6618   rm -rf conftest*
   6619   ;;
   6620 esac
   6621 
   6622 need_locks=$enable_libtool_lock
   6623 
   6624 if test -n "$ac_tool_prefix"; then
   6625   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6626 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6628 $as_echo_n "checking for $ac_word... " >&6; }
   6629 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6630   $as_echo_n "(cached) " >&6
   6631 else
   6632   if test -n "$MANIFEST_TOOL"; then
   6633   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6634 else
   6635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6636 for as_dir in $PATH
   6637 do
   6638   IFS=$as_save_IFS
   6639   test -z "$as_dir" && as_dir=.
   6640     for ac_exec_ext in '' $ac_executable_extensions; do
   6641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6642     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6644     break 2
   6645   fi
   6646 done
   6647   done
   6648 IFS=$as_save_IFS
   6649 
   6650 fi
   6651 fi
   6652 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6653 if test -n "$MANIFEST_TOOL"; then
   6654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6655 $as_echo "$MANIFEST_TOOL" >&6; }
   6656 else
   6657   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6658 $as_echo "no" >&6; }
   6659 fi
   6660 
   6661 
   6662 fi
   6663 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6664   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6665   # Extract the first word of "mt", so it can be a program name with args.
   6666 set dummy mt; ac_word=$2
   6667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6668 $as_echo_n "checking for $ac_word... " >&6; }
   6669 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6670   $as_echo_n "(cached) " >&6
   6671 else
   6672   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6673   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6674 else
   6675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6676 for as_dir in $PATH
   6677 do
   6678   IFS=$as_save_IFS
   6679   test -z "$as_dir" && as_dir=.
   6680     for ac_exec_ext in '' $ac_executable_extensions; do
   6681   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6682     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6683     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6684     break 2
   6685   fi
   6686 done
   6687   done
   6688 IFS=$as_save_IFS
   6689 
   6690 fi
   6691 fi
   6692 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6693 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6695 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6696 else
   6697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6698 $as_echo "no" >&6; }
   6699 fi
   6700 
   6701   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6702     MANIFEST_TOOL=":"
   6703   else
   6704     case $cross_compiling:$ac_tool_warned in
   6705 yes:)
   6706 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6707 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6708 ac_tool_warned=yes ;;
   6709 esac
   6710     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6711   fi
   6712 else
   6713   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6714 fi
   6715 
   6716 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6718 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6719 if ${lt_cv_path_mainfest_tool+:} false; then :
   6720   $as_echo_n "(cached) " >&6
   6721 else
   6722   lt_cv_path_mainfest_tool=no
   6723   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6724   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6725   cat conftest.err >&5
   6726   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6727     lt_cv_path_mainfest_tool=yes
   6728   fi
   6729   rm -f conftest*
   6730 fi
   6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6732 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6733 if test yes != "$lt_cv_path_mainfest_tool"; then
   6734   MANIFEST_TOOL=:
   6735 fi
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742   case $host_os in
   6743     rhapsody* | darwin*)
   6744     if test -n "$ac_tool_prefix"; then
   6745   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6746 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6748 $as_echo_n "checking for $ac_word... " >&6; }
   6749 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6750   $as_echo_n "(cached) " >&6
   6751 else
   6752   if test -n "$DSYMUTIL"; then
   6753   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6754 else
   6755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6756 for as_dir in $PATH
   6757 do
   6758   IFS=$as_save_IFS
   6759   test -z "$as_dir" && as_dir=.
   6760     for ac_exec_ext in '' $ac_executable_extensions; do
   6761   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6762     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6763     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6764     break 2
   6765   fi
   6766 done
   6767   done
   6768 IFS=$as_save_IFS
   6769 
   6770 fi
   6771 fi
   6772 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6773 if test -n "$DSYMUTIL"; then
   6774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6775 $as_echo "$DSYMUTIL" >&6; }
   6776 else
   6777   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6778 $as_echo "no" >&6; }
   6779 fi
   6780 
   6781 
   6782 fi
   6783 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6784   ac_ct_DSYMUTIL=$DSYMUTIL
   6785   # Extract the first word of "dsymutil", so it can be a program name with args.
   6786 set dummy dsymutil; ac_word=$2
   6787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6788 $as_echo_n "checking for $ac_word... " >&6; }
   6789 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6790   $as_echo_n "(cached) " >&6
   6791 else
   6792   if test -n "$ac_ct_DSYMUTIL"; then
   6793   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6794 else
   6795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6796 for as_dir in $PATH
   6797 do
   6798   IFS=$as_save_IFS
   6799   test -z "$as_dir" && as_dir=.
   6800     for ac_exec_ext in '' $ac_executable_extensions; do
   6801   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6802     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6803     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6804     break 2
   6805   fi
   6806 done
   6807   done
   6808 IFS=$as_save_IFS
   6809 
   6810 fi
   6811 fi
   6812 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6813 if test -n "$ac_ct_DSYMUTIL"; then
   6814   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6815 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6816 else
   6817   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6818 $as_echo "no" >&6; }
   6819 fi
   6820 
   6821   if test "x$ac_ct_DSYMUTIL" = x; then
   6822     DSYMUTIL=":"
   6823   else
   6824     case $cross_compiling:$ac_tool_warned in
   6825 yes:)
   6826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6827 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6828 ac_tool_warned=yes ;;
   6829 esac
   6830     DSYMUTIL=$ac_ct_DSYMUTIL
   6831   fi
   6832 else
   6833   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6834 fi
   6835 
   6836     if test -n "$ac_tool_prefix"; then
   6837   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6838 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6840 $as_echo_n "checking for $ac_word... " >&6; }
   6841 if ${ac_cv_prog_NMEDIT+:} false; then :
   6842   $as_echo_n "(cached) " >&6
   6843 else
   6844   if test -n "$NMEDIT"; then
   6845   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6846 else
   6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6848 for as_dir in $PATH
   6849 do
   6850   IFS=$as_save_IFS
   6851   test -z "$as_dir" && as_dir=.
   6852     for ac_exec_ext in '' $ac_executable_extensions; do
   6853   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6854     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6855     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6856     break 2
   6857   fi
   6858 done
   6859   done
   6860 IFS=$as_save_IFS
   6861 
   6862 fi
   6863 fi
   6864 NMEDIT=$ac_cv_prog_NMEDIT
   6865 if test -n "$NMEDIT"; then
   6866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6867 $as_echo "$NMEDIT" >&6; }
   6868 else
   6869   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6870 $as_echo "no" >&6; }
   6871 fi
   6872 
   6873 
   6874 fi
   6875 if test -z "$ac_cv_prog_NMEDIT"; then
   6876   ac_ct_NMEDIT=$NMEDIT
   6877   # Extract the first word of "nmedit", so it can be a program name with args.
   6878 set dummy nmedit; ac_word=$2
   6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6880 $as_echo_n "checking for $ac_word... " >&6; }
   6881 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6882   $as_echo_n "(cached) " >&6
   6883 else
   6884   if test -n "$ac_ct_NMEDIT"; then
   6885   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6886 else
   6887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6888 for as_dir in $PATH
   6889 do
   6890   IFS=$as_save_IFS
   6891   test -z "$as_dir" && as_dir=.
   6892     for ac_exec_ext in '' $ac_executable_extensions; do
   6893   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6894     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6895     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6896     break 2
   6897   fi
   6898 done
   6899   done
   6900 IFS=$as_save_IFS
   6901 
   6902 fi
   6903 fi
   6904 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6905 if test -n "$ac_ct_NMEDIT"; then
   6906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6907 $as_echo "$ac_ct_NMEDIT" >&6; }
   6908 else
   6909   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6910 $as_echo "no" >&6; }
   6911 fi
   6912 
   6913   if test "x$ac_ct_NMEDIT" = x; then
   6914     NMEDIT=":"
   6915   else
   6916     case $cross_compiling:$ac_tool_warned in
   6917 yes:)
   6918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6919 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6920 ac_tool_warned=yes ;;
   6921 esac
   6922     NMEDIT=$ac_ct_NMEDIT
   6923   fi
   6924 else
   6925   NMEDIT="$ac_cv_prog_NMEDIT"
   6926 fi
   6927 
   6928     if test -n "$ac_tool_prefix"; then
   6929   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6930 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6932 $as_echo_n "checking for $ac_word... " >&6; }
   6933 if ${ac_cv_prog_LIPO+:} false; then :
   6934   $as_echo_n "(cached) " >&6
   6935 else
   6936   if test -n "$LIPO"; then
   6937   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6938 else
   6939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6940 for as_dir in $PATH
   6941 do
   6942   IFS=$as_save_IFS
   6943   test -z "$as_dir" && as_dir=.
   6944     for ac_exec_ext in '' $ac_executable_extensions; do
   6945   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6946     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6947     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6948     break 2
   6949   fi
   6950 done
   6951   done
   6952 IFS=$as_save_IFS
   6953 
   6954 fi
   6955 fi
   6956 LIPO=$ac_cv_prog_LIPO
   6957 if test -n "$LIPO"; then
   6958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6959 $as_echo "$LIPO" >&6; }
   6960 else
   6961   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6962 $as_echo "no" >&6; }
   6963 fi
   6964 
   6965 
   6966 fi
   6967 if test -z "$ac_cv_prog_LIPO"; then
   6968   ac_ct_LIPO=$LIPO
   6969   # Extract the first word of "lipo", so it can be a program name with args.
   6970 set dummy lipo; ac_word=$2
   6971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6972 $as_echo_n "checking for $ac_word... " >&6; }
   6973 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6974   $as_echo_n "(cached) " >&6
   6975 else
   6976   if test -n "$ac_ct_LIPO"; then
   6977   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6978 else
   6979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6980 for as_dir in $PATH
   6981 do
   6982   IFS=$as_save_IFS
   6983   test -z "$as_dir" && as_dir=.
   6984     for ac_exec_ext in '' $ac_executable_extensions; do
   6985   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6986     ac_cv_prog_ac_ct_LIPO="lipo"
   6987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6988     break 2
   6989   fi
   6990 done
   6991   done
   6992 IFS=$as_save_IFS
   6993 
   6994 fi
   6995 fi
   6996 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6997 if test -n "$ac_ct_LIPO"; then
   6998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6999 $as_echo "$ac_ct_LIPO" >&6; }
   7000 else
   7001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7002 $as_echo "no" >&6; }
   7003 fi
   7004 
   7005   if test "x$ac_ct_LIPO" = x; then
   7006     LIPO=":"
   7007   else
   7008     case $cross_compiling:$ac_tool_warned in
   7009 yes:)
   7010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7012 ac_tool_warned=yes ;;
   7013 esac
   7014     LIPO=$ac_ct_LIPO
   7015   fi
   7016 else
   7017   LIPO="$ac_cv_prog_LIPO"
   7018 fi
   7019 
   7020     if test -n "$ac_tool_prefix"; then
   7021   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7022 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7024 $as_echo_n "checking for $ac_word... " >&6; }
   7025 if ${ac_cv_prog_OTOOL+:} false; then :
   7026   $as_echo_n "(cached) " >&6
   7027 else
   7028   if test -n "$OTOOL"; then
   7029   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7030 else
   7031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7032 for as_dir in $PATH
   7033 do
   7034   IFS=$as_save_IFS
   7035   test -z "$as_dir" && as_dir=.
   7036     for ac_exec_ext in '' $ac_executable_extensions; do
   7037   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7038     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7039     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7040     break 2
   7041   fi
   7042 done
   7043   done
   7044 IFS=$as_save_IFS
   7045 
   7046 fi
   7047 fi
   7048 OTOOL=$ac_cv_prog_OTOOL
   7049 if test -n "$OTOOL"; then
   7050   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7051 $as_echo "$OTOOL" >&6; }
   7052 else
   7053   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7054 $as_echo "no" >&6; }
   7055 fi
   7056 
   7057 
   7058 fi
   7059 if test -z "$ac_cv_prog_OTOOL"; then
   7060   ac_ct_OTOOL=$OTOOL
   7061   # Extract the first word of "otool", so it can be a program name with args.
   7062 set dummy otool; ac_word=$2
   7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7064 $as_echo_n "checking for $ac_word... " >&6; }
   7065 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7066   $as_echo_n "(cached) " >&6
   7067 else
   7068   if test -n "$ac_ct_OTOOL"; then
   7069   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7070 else
   7071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7072 for as_dir in $PATH
   7073 do
   7074   IFS=$as_save_IFS
   7075   test -z "$as_dir" && as_dir=.
   7076     for ac_exec_ext in '' $ac_executable_extensions; do
   7077   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7078     ac_cv_prog_ac_ct_OTOOL="otool"
   7079     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7080     break 2
   7081   fi
   7082 done
   7083   done
   7084 IFS=$as_save_IFS
   7085 
   7086 fi
   7087 fi
   7088 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7089 if test -n "$ac_ct_OTOOL"; then
   7090   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7091 $as_echo "$ac_ct_OTOOL" >&6; }
   7092 else
   7093   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7094 $as_echo "no" >&6; }
   7095 fi
   7096 
   7097   if test "x$ac_ct_OTOOL" = x; then
   7098     OTOOL=":"
   7099   else
   7100     case $cross_compiling:$ac_tool_warned in
   7101 yes:)
   7102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7104 ac_tool_warned=yes ;;
   7105 esac
   7106     OTOOL=$ac_ct_OTOOL
   7107   fi
   7108 else
   7109   OTOOL="$ac_cv_prog_OTOOL"
   7110 fi
   7111 
   7112     if test -n "$ac_tool_prefix"; then
   7113   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7114 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7116 $as_echo_n "checking for $ac_word... " >&6; }
   7117 if ${ac_cv_prog_OTOOL64+:} false; then :
   7118   $as_echo_n "(cached) " >&6
   7119 else
   7120   if test -n "$OTOOL64"; then
   7121   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7122 else
   7123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7124 for as_dir in $PATH
   7125 do
   7126   IFS=$as_save_IFS
   7127   test -z "$as_dir" && as_dir=.
   7128     for ac_exec_ext in '' $ac_executable_extensions; do
   7129   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7130     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7131     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7132     break 2
   7133   fi
   7134 done
   7135   done
   7136 IFS=$as_save_IFS
   7137 
   7138 fi
   7139 fi
   7140 OTOOL64=$ac_cv_prog_OTOOL64
   7141 if test -n "$OTOOL64"; then
   7142   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7143 $as_echo "$OTOOL64" >&6; }
   7144 else
   7145   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7146 $as_echo "no" >&6; }
   7147 fi
   7148 
   7149 
   7150 fi
   7151 if test -z "$ac_cv_prog_OTOOL64"; then
   7152   ac_ct_OTOOL64=$OTOOL64
   7153   # Extract the first word of "otool64", so it can be a program name with args.
   7154 set dummy otool64; ac_word=$2
   7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7156 $as_echo_n "checking for $ac_word... " >&6; }
   7157 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7158   $as_echo_n "(cached) " >&6
   7159 else
   7160   if test -n "$ac_ct_OTOOL64"; then
   7161   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7162 else
   7163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7164 for as_dir in $PATH
   7165 do
   7166   IFS=$as_save_IFS
   7167   test -z "$as_dir" && as_dir=.
   7168     for ac_exec_ext in '' $ac_executable_extensions; do
   7169   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7170     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7171     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7172     break 2
   7173   fi
   7174 done
   7175   done
   7176 IFS=$as_save_IFS
   7177 
   7178 fi
   7179 fi
   7180 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7181 if test -n "$ac_ct_OTOOL64"; then
   7182   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7183 $as_echo "$ac_ct_OTOOL64" >&6; }
   7184 else
   7185   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7186 $as_echo "no" >&6; }
   7187 fi
   7188 
   7189   if test "x$ac_ct_OTOOL64" = x; then
   7190     OTOOL64=":"
   7191   else
   7192     case $cross_compiling:$ac_tool_warned in
   7193 yes:)
   7194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7196 ac_tool_warned=yes ;;
   7197 esac
   7198     OTOOL64=$ac_ct_OTOOL64
   7199   fi
   7200 else
   7201   OTOOL64="$ac_cv_prog_OTOOL64"
   7202 fi
   7203 
   7204 
   7205 
   7206 
   7207 
   7208 
   7209 
   7210 
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 
   7227 
   7228 
   7229 
   7230     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7231 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7232 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7233   $as_echo_n "(cached) " >&6
   7234 else
   7235   lt_cv_apple_cc_single_mod=no
   7236       if test -z "$LT_MULTI_MODULE"; then
   7237 	# By default we will add the -single_module flag. You can override
   7238 	# by either setting the environment variable LT_MULTI_MODULE
   7239 	# non-empty at configure time, or by adding -multi_module to the
   7240 	# link flags.
   7241 	rm -rf libconftest.dylib*
   7242 	echo "int foo(void){return 1;}" > conftest.c
   7243 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7244 -dynamiclib -Wl,-single_module conftest.c" >&5
   7245 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7246 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7247         _lt_result=$?
   7248 	# If there is a non-empty error log, and "single_module"
   7249 	# appears in it, assume the flag caused a linker warning
   7250         if test -s conftest.err && $GREP single_module conftest.err; then
   7251 	  cat conftest.err >&5
   7252 	# Otherwise, if the output was created with a 0 exit code from
   7253 	# the compiler, it worked.
   7254 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7255 	  lt_cv_apple_cc_single_mod=yes
   7256 	else
   7257 	  cat conftest.err >&5
   7258 	fi
   7259 	rm -rf libconftest.dylib*
   7260 	rm -f conftest.*
   7261       fi
   7262 fi
   7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7264 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7265 
   7266     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7267 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7268 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7269   $as_echo_n "(cached) " >&6
   7270 else
   7271   lt_cv_ld_exported_symbols_list=no
   7272       save_LDFLAGS=$LDFLAGS
   7273       echo "_main" > conftest.sym
   7274       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7275       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7276 /* end confdefs.h.  */
   7277 
   7278 int
   7279 main ()
   7280 {
   7281 
   7282   ;
   7283   return 0;
   7284 }
   7285 _ACEOF
   7286 if ac_fn_c_try_link "$LINENO"; then :
   7287   lt_cv_ld_exported_symbols_list=yes
   7288 else
   7289   lt_cv_ld_exported_symbols_list=no
   7290 fi
   7291 rm -f core conftest.err conftest.$ac_objext \
   7292     conftest$ac_exeext conftest.$ac_ext
   7293 	LDFLAGS=$save_LDFLAGS
   7294 
   7295 fi
   7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7297 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7298 
   7299     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7300 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7301 if ${lt_cv_ld_force_load+:} false; then :
   7302   $as_echo_n "(cached) " >&6
   7303 else
   7304   lt_cv_ld_force_load=no
   7305       cat > conftest.c << _LT_EOF
   7306 int forced_loaded() { return 2;}
   7307 _LT_EOF
   7308       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7309       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7310       echo "$AR cru libconftest.a conftest.o" >&5
   7311       $AR cru libconftest.a conftest.o 2>&5
   7312       echo "$RANLIB libconftest.a" >&5
   7313       $RANLIB libconftest.a 2>&5
   7314       cat > conftest.c << _LT_EOF
   7315 int main() { return 0;}
   7316 _LT_EOF
   7317       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7318       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7319       _lt_result=$?
   7320       if test -s conftest.err && $GREP force_load conftest.err; then
   7321 	cat conftest.err >&5
   7322       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7323 	lt_cv_ld_force_load=yes
   7324       else
   7325 	cat conftest.err >&5
   7326       fi
   7327         rm -f conftest.err libconftest.a conftest conftest.c
   7328         rm -rf conftest.dSYM
   7329 
   7330 fi
   7331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7332 $as_echo "$lt_cv_ld_force_load" >&6; }
   7333     case $host_os in
   7334     rhapsody* | darwin1.[012])
   7335       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7336     darwin1.*)
   7337       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7338     darwin*) # darwin 5.x on
   7339       # if running on 10.5 or later, the deployment target defaults
   7340       # to the OS version, if on x86, and 10.4, the deployment
   7341       # target defaults to 10.4. Don't you love it?
   7342       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7343 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7344 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7345 	10.[012][,.]*)
   7346 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7347 	10.*)
   7348 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7349       esac
   7350     ;;
   7351   esac
   7352     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7353       _lt_dar_single_mod='$single_module'
   7354     fi
   7355     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7356       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7357     else
   7358       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7359     fi
   7360     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7361       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7362     else
   7363       _lt_dsymutil=
   7364     fi
   7365     ;;
   7366   esac
   7367 
   7368 # func_munge_path_list VARIABLE PATH
   7369 # -----------------------------------
   7370 # VARIABLE is name of variable containing _space_ separated list of
   7371 # directories to be munged by the contents of PATH, which is string
   7372 # having a format:
   7373 # "DIR[:DIR]:"
   7374 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7375 # ":DIR[:DIR]"
   7376 #       string "DIR[ DIR]" will be appended to VARIABLE
   7377 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7378 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7379 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7380 # "DIR[:DIR]"
   7381 #       VARIABLE will be replaced by "DIR[ DIR]"
   7382 func_munge_path_list ()
   7383 {
   7384     case x$2 in
   7385     x)
   7386         ;;
   7387     *:)
   7388         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7389         ;;
   7390     x:*)
   7391         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7392         ;;
   7393     *::*)
   7394         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7395         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7396         ;;
   7397     *)
   7398         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7399         ;;
   7400     esac
   7401 }
   7402 
   7403 ac_ext=c
   7404 ac_cpp='$CPP $CPPFLAGS'
   7405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7409 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7410 # On Suns, sometimes $CPP names a directory.
   7411 if test -n "$CPP" && test -d "$CPP"; then
   7412   CPP=
   7413 fi
   7414 if test -z "$CPP"; then
   7415   if ${ac_cv_prog_CPP+:} false; then :
   7416   $as_echo_n "(cached) " >&6
   7417 else
   7418       # Double quotes because CPP needs to be expanded
   7419     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7420     do
   7421       ac_preproc_ok=false
   7422 for ac_c_preproc_warn_flag in '' yes
   7423 do
   7424   # Use a header file that comes with gcc, so configuring glibc
   7425   # with a fresh cross-compiler works.
   7426   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7427   # <limits.h> exists even on freestanding compilers.
   7428   # On the NeXT, cc -E runs the code through the compiler's parser,
   7429   # not just through cpp. "Syntax error" is here to catch this case.
   7430   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7431 /* end confdefs.h.  */
   7432 #ifdef __STDC__
   7433 # include <limits.h>
   7434 #else
   7435 # include <assert.h>
   7436 #endif
   7437 		     Syntax error
   7438 _ACEOF
   7439 if ac_fn_c_try_cpp "$LINENO"; then :
   7440 
   7441 else
   7442   # Broken: fails on valid input.
   7443 continue
   7444 fi
   7445 rm -f conftest.err conftest.i conftest.$ac_ext
   7446 
   7447   # OK, works on sane cases.  Now check whether nonexistent headers
   7448   # can be detected and how.
   7449   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7450 /* end confdefs.h.  */
   7451 #include <ac_nonexistent.h>
   7452 _ACEOF
   7453 if ac_fn_c_try_cpp "$LINENO"; then :
   7454   # Broken: success on invalid input.
   7455 continue
   7456 else
   7457   # Passes both tests.
   7458 ac_preproc_ok=:
   7459 break
   7460 fi
   7461 rm -f conftest.err conftest.i conftest.$ac_ext
   7462 
   7463 done
   7464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7465 rm -f conftest.i conftest.err conftest.$ac_ext
   7466 if $ac_preproc_ok; then :
   7467   break
   7468 fi
   7469 
   7470     done
   7471     ac_cv_prog_CPP=$CPP
   7472 
   7473 fi
   7474   CPP=$ac_cv_prog_CPP
   7475 else
   7476   ac_cv_prog_CPP=$CPP
   7477 fi
   7478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7479 $as_echo "$CPP" >&6; }
   7480 ac_preproc_ok=false
   7481 for ac_c_preproc_warn_flag in '' yes
   7482 do
   7483   # Use a header file that comes with gcc, so configuring glibc
   7484   # with a fresh cross-compiler works.
   7485   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7486   # <limits.h> exists even on freestanding compilers.
   7487   # On the NeXT, cc -E runs the code through the compiler's parser,
   7488   # not just through cpp. "Syntax error" is here to catch this case.
   7489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7490 /* end confdefs.h.  */
   7491 #ifdef __STDC__
   7492 # include <limits.h>
   7493 #else
   7494 # include <assert.h>
   7495 #endif
   7496 		     Syntax error
   7497 _ACEOF
   7498 if ac_fn_c_try_cpp "$LINENO"; then :
   7499 
   7500 else
   7501   # Broken: fails on valid input.
   7502 continue
   7503 fi
   7504 rm -f conftest.err conftest.i conftest.$ac_ext
   7505 
   7506   # OK, works on sane cases.  Now check whether nonexistent headers
   7507   # can be detected and how.
   7508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7509 /* end confdefs.h.  */
   7510 #include <ac_nonexistent.h>
   7511 _ACEOF
   7512 if ac_fn_c_try_cpp "$LINENO"; then :
   7513   # Broken: success on invalid input.
   7514 continue
   7515 else
   7516   # Passes both tests.
   7517 ac_preproc_ok=:
   7518 break
   7519 fi
   7520 rm -f conftest.err conftest.i conftest.$ac_ext
   7521 
   7522 done
   7523 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7524 rm -f conftest.i conftest.err conftest.$ac_ext
   7525 if $ac_preproc_ok; then :
   7526 
   7527 else
   7528   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7530 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7531 See \`config.log' for more details" "$LINENO" 5; }
   7532 fi
   7533 
   7534 ac_ext=c
   7535 ac_cpp='$CPP $CPPFLAGS'
   7536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7539 
   7540 
   7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7542 $as_echo_n "checking for ANSI C header files... " >&6; }
   7543 if ${ac_cv_header_stdc+:} false; then :
   7544   $as_echo_n "(cached) " >&6
   7545 else
   7546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7547 /* end confdefs.h.  */
   7548 #include <stdlib.h>
   7549 #include <stdarg.h>
   7550 #include <string.h>
   7551 #include <float.h>
   7552 
   7553 int
   7554 main ()
   7555 {
   7556 
   7557   ;
   7558   return 0;
   7559 }
   7560 _ACEOF
   7561 if ac_fn_c_try_compile "$LINENO"; then :
   7562   ac_cv_header_stdc=yes
   7563 else
   7564   ac_cv_header_stdc=no
   7565 fi
   7566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7567 
   7568 if test $ac_cv_header_stdc = yes; then
   7569   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7571 /* end confdefs.h.  */
   7572 #include <string.h>
   7573 
   7574 _ACEOF
   7575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7576   $EGREP "memchr" >/dev/null 2>&1; then :
   7577 
   7578 else
   7579   ac_cv_header_stdc=no
   7580 fi
   7581 rm -f conftest*
   7582 
   7583 fi
   7584 
   7585 if test $ac_cv_header_stdc = yes; then
   7586   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7588 /* end confdefs.h.  */
   7589 #include <stdlib.h>
   7590 
   7591 _ACEOF
   7592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7593   $EGREP "free" >/dev/null 2>&1; then :
   7594 
   7595 else
   7596   ac_cv_header_stdc=no
   7597 fi
   7598 rm -f conftest*
   7599 
   7600 fi
   7601 
   7602 if test $ac_cv_header_stdc = yes; then
   7603   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7604   if test "$cross_compiling" = yes; then :
   7605   :
   7606 else
   7607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7608 /* end confdefs.h.  */
   7609 #include <ctype.h>
   7610 #include <stdlib.h>
   7611 #if ((' ' & 0x0FF) == 0x020)
   7612 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7613 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7614 #else
   7615 # define ISLOWER(c) \
   7616 		   (('a' <= (c) && (c) <= 'i') \
   7617 		     || ('j' <= (c) && (c) <= 'r') \
   7618 		     || ('s' <= (c) && (c) <= 'z'))
   7619 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7620 #endif
   7621 
   7622 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7623 int
   7624 main ()
   7625 {
   7626   int i;
   7627   for (i = 0; i < 256; i++)
   7628     if (XOR (islower (i), ISLOWER (i))
   7629 	|| toupper (i) != TOUPPER (i))
   7630       return 2;
   7631   return 0;
   7632 }
   7633 _ACEOF
   7634 if ac_fn_c_try_run "$LINENO"; then :
   7635 
   7636 else
   7637   ac_cv_header_stdc=no
   7638 fi
   7639 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7640   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7641 fi
   7642 
   7643 fi
   7644 fi
   7645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7646 $as_echo "$ac_cv_header_stdc" >&6; }
   7647 if test $ac_cv_header_stdc = yes; then
   7648 
   7649 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7650 
   7651 fi
   7652 
   7653 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7654 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7655 		  inttypes.h stdint.h unistd.h
   7656 do :
   7657   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7658 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7659 "
   7660 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7661   cat >>confdefs.h <<_ACEOF
   7662 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7663 _ACEOF
   7664 
   7665 fi
   7666 
   7667 done
   7668 
   7669 
   7670 for ac_header in dlfcn.h
   7671 do :
   7672   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7673 "
   7674 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7675   cat >>confdefs.h <<_ACEOF
   7676 #define HAVE_DLFCN_H 1
   7677 _ACEOF
   7678 
   7679 fi
   7680 
   7681 done
   7682 
   7683 
   7684 
   7685 
   7686 
   7687 # Set options
   7688 
   7689 
   7690 
   7691         enable_dlopen=no
   7692 
   7693 
   7694   enable_win32_dll=no
   7695 
   7696 
   7697             # Check whether --enable-shared was given.
   7698 if test "${enable_shared+set}" = set; then :
   7699   enableval=$enable_shared; p=${PACKAGE-default}
   7700     case $enableval in
   7701     yes) enable_shared=yes ;;
   7702     no) enable_shared=no ;;
   7703     *)
   7704       enable_shared=no
   7705       # Look at the argument we got.  We use all the common list separators.
   7706       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7707       for pkg in $enableval; do
   7708 	IFS=$lt_save_ifs
   7709 	if test "X$pkg" = "X$p"; then
   7710 	  enable_shared=yes
   7711 	fi
   7712       done
   7713       IFS=$lt_save_ifs
   7714       ;;
   7715     esac
   7716 else
   7717   enable_shared=yes
   7718 fi
   7719 
   7720 
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 # Check whether --with-pic was given.
   7731 if test "${with_pic+set}" = set; then :
   7732   withval=$with_pic; lt_p=${PACKAGE-default}
   7733     case $withval in
   7734     yes|no) pic_mode=$withval ;;
   7735     *)
   7736       pic_mode=default
   7737       # Look at the argument we got.  We use all the common list separators.
   7738       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7739       for lt_pkg in $withval; do
   7740 	IFS=$lt_save_ifs
   7741 	if test "X$lt_pkg" = "X$lt_p"; then
   7742 	  pic_mode=yes
   7743 	fi
   7744       done
   7745       IFS=$lt_save_ifs
   7746       ;;
   7747     esac
   7748 else
   7749   pic_mode=default
   7750 fi
   7751 
   7752 
   7753 
   7754 
   7755 
   7756 
   7757 
   7758 
   7759   # Check whether --enable-fast-install was given.
   7760 if test "${enable_fast_install+set}" = set; then :
   7761   enableval=$enable_fast_install; p=${PACKAGE-default}
   7762     case $enableval in
   7763     yes) enable_fast_install=yes ;;
   7764     no) enable_fast_install=no ;;
   7765     *)
   7766       enable_fast_install=no
   7767       # Look at the argument we got.  We use all the common list separators.
   7768       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7769       for pkg in $enableval; do
   7770 	IFS=$lt_save_ifs
   7771 	if test "X$pkg" = "X$p"; then
   7772 	  enable_fast_install=yes
   7773 	fi
   7774       done
   7775       IFS=$lt_save_ifs
   7776       ;;
   7777     esac
   7778 else
   7779   enable_fast_install=yes
   7780 fi
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789   shared_archive_member_spec=
   7790 case $host,$enable_shared in
   7791 power*-*-aix[5-9]*,yes)
   7792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   7793 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   7794 
   7795 # Check whether --with-aix-soname was given.
   7796 if test "${with_aix_soname+set}" = set; then :
   7797   withval=$with_aix_soname; case $withval in
   7798     aix|svr4|both)
   7799       ;;
   7800     *)
   7801       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   7802       ;;
   7803     esac
   7804     lt_cv_with_aix_soname=$with_aix_soname
   7805 else
   7806   if ${lt_cv_with_aix_soname+:} false; then :
   7807   $as_echo_n "(cached) " >&6
   7808 else
   7809   lt_cv_with_aix_soname=aix
   7810 fi
   7811 
   7812     with_aix_soname=$lt_cv_with_aix_soname
   7813 fi
   7814 
   7815   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   7816 $as_echo "$with_aix_soname" >&6; }
   7817   if test aix != "$with_aix_soname"; then
   7818     # For the AIX way of multilib, we name the shared archive member
   7819     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   7820     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   7821     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   7822     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   7823     if test 64 = "${OBJECT_MODE-32}"; then
   7824       shared_archive_member_spec=shr_64
   7825     else
   7826       shared_archive_member_spec=shr
   7827     fi
   7828   fi
   7829   ;;
   7830 *)
   7831   with_aix_soname=aix
   7832   ;;
   7833 esac
   7834 
   7835 
   7836 
   7837 
   7838 
   7839 
   7840 
   7841 
   7842 
   7843 
   7844 # This can be used to rebuild libtool when needed
   7845 LIBTOOL_DEPS=$ltmain
   7846 
   7847 # Always use our own libtool.
   7848 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7849 
   7850 
   7851 
   7852 
   7853 
   7854 
   7855 
   7856 
   7857 
   7858 
   7859 
   7860 
   7861 
   7862 
   7863 
   7864 
   7865 
   7866 
   7867 
   7868 
   7869 
   7870 
   7871 
   7872 
   7873 
   7874 
   7875 
   7876 
   7877 
   7878 
   7879 test -z "$LN_S" && LN_S="ln -s"
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 
   7889 
   7890 
   7891 
   7892 
   7893 
   7894 if test -n "${ZSH_VERSION+set}"; then
   7895    setopt NO_GLOB_SUBST
   7896 fi
   7897 
   7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7899 $as_echo_n "checking for objdir... " >&6; }
   7900 if ${lt_cv_objdir+:} false; then :
   7901   $as_echo_n "(cached) " >&6
   7902 else
   7903   rm -f .libs 2>/dev/null
   7904 mkdir .libs 2>/dev/null
   7905 if test -d .libs; then
   7906   lt_cv_objdir=.libs
   7907 else
   7908   # MS-DOS does not allow filenames that begin with a dot.
   7909   lt_cv_objdir=_libs
   7910 fi
   7911 rmdir .libs 2>/dev/null
   7912 fi
   7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7914 $as_echo "$lt_cv_objdir" >&6; }
   7915 objdir=$lt_cv_objdir
   7916 
   7917 
   7918 
   7919 
   7920 
   7921 cat >>confdefs.h <<_ACEOF
   7922 #define LT_OBJDIR "$lt_cv_objdir/"
   7923 _ACEOF
   7924 
   7925 
   7926 
   7927 
   7928 case $host_os in
   7929 aix3*)
   7930   # AIX sometimes has problems with the GCC collect2 program.  For some
   7931   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7932   # vanish in a puff of smoke.
   7933   if test set != "${COLLECT_NAMES+set}"; then
   7934     COLLECT_NAMES=
   7935     export COLLECT_NAMES
   7936   fi
   7937   ;;
   7938 esac
   7939 
   7940 # Global variables:
   7941 ofile=libtool
   7942 can_build_shared=yes
   7943 
   7944 # All known linkers require a '.a' archive for static linking (except MSVC,
   7945 # which needs '.lib').
   7946 libext=a
   7947 
   7948 with_gnu_ld=$lt_cv_prog_gnu_ld
   7949 
   7950 old_CC=$CC
   7951 old_CFLAGS=$CFLAGS
   7952 
   7953 # Set sane defaults for various variables
   7954 test -z "$CC" && CC=cc
   7955 test -z "$LTCC" && LTCC=$CC
   7956 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7957 test -z "$LD" && LD=ld
   7958 test -z "$ac_objext" && ac_objext=o
   7959 
   7960 func_cc_basename $compiler
   7961 cc_basename=$func_cc_basename_result
   7962 
   7963 
   7964 # Only perform the check for file, if the check method requires it
   7965 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7966 case $deplibs_check_method in
   7967 file_magic*)
   7968   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7969     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7970 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7971 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7972   $as_echo_n "(cached) " >&6
   7973 else
   7974   case $MAGIC_CMD in
   7975 [\\/*] |  ?:[\\/]*)
   7976   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   7977   ;;
   7978 *)
   7979   lt_save_MAGIC_CMD=$MAGIC_CMD
   7980   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   7981   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7982   for ac_dir in $ac_dummy; do
   7983     IFS=$lt_save_ifs
   7984     test -z "$ac_dir" && ac_dir=.
   7985     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   7986       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   7987       if test -n "$file_magic_test_file"; then
   7988 	case $deplibs_check_method in
   7989 	"file_magic "*)
   7990 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7991 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   7992 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7993 	    $EGREP "$file_magic_regex" > /dev/null; then
   7994 	    :
   7995 	  else
   7996 	    cat <<_LT_EOF 1>&2
   7997 
   7998 *** Warning: the command libtool uses to detect shared libraries,
   7999 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8000 *** The result is that libtool may fail to recognize shared libraries
   8001 *** as such.  This will affect the creation of libtool libraries that
   8002 *** depend on shared libraries, but programs linked with such libtool
   8003 *** libraries will work regardless of this problem.  Nevertheless, you
   8004 *** may want to report the problem to your system manager and/or to
   8005 *** bug-libtool (at] gnu.org
   8006 
   8007 _LT_EOF
   8008 	  fi ;;
   8009 	esac
   8010       fi
   8011       break
   8012     fi
   8013   done
   8014   IFS=$lt_save_ifs
   8015   MAGIC_CMD=$lt_save_MAGIC_CMD
   8016   ;;
   8017 esac
   8018 fi
   8019 
   8020 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8021 if test -n "$MAGIC_CMD"; then
   8022   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8023 $as_echo "$MAGIC_CMD" >&6; }
   8024 else
   8025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8026 $as_echo "no" >&6; }
   8027 fi
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8034   if test -n "$ac_tool_prefix"; then
   8035     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8036 $as_echo_n "checking for file... " >&6; }
   8037 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8038   $as_echo_n "(cached) " >&6
   8039 else
   8040   case $MAGIC_CMD in
   8041 [\\/*] |  ?:[\\/]*)
   8042   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8043   ;;
   8044 *)
   8045   lt_save_MAGIC_CMD=$MAGIC_CMD
   8046   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8047   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8048   for ac_dir in $ac_dummy; do
   8049     IFS=$lt_save_ifs
   8050     test -z "$ac_dir" && ac_dir=.
   8051     if test -f "$ac_dir/file"; then
   8052       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8053       if test -n "$file_magic_test_file"; then
   8054 	case $deplibs_check_method in
   8055 	"file_magic "*)
   8056 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8057 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8058 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8059 	    $EGREP "$file_magic_regex" > /dev/null; then
   8060 	    :
   8061 	  else
   8062 	    cat <<_LT_EOF 1>&2
   8063 
   8064 *** Warning: the command libtool uses to detect shared libraries,
   8065 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8066 *** The result is that libtool may fail to recognize shared libraries
   8067 *** as such.  This will affect the creation of libtool libraries that
   8068 *** depend on shared libraries, but programs linked with such libtool
   8069 *** libraries will work regardless of this problem.  Nevertheless, you
   8070 *** may want to report the problem to your system manager and/or to
   8071 *** bug-libtool (at] gnu.org
   8072 
   8073 _LT_EOF
   8074 	  fi ;;
   8075 	esac
   8076       fi
   8077       break
   8078     fi
   8079   done
   8080   IFS=$lt_save_ifs
   8081   MAGIC_CMD=$lt_save_MAGIC_CMD
   8082   ;;
   8083 esac
   8084 fi
   8085 
   8086 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8087 if test -n "$MAGIC_CMD"; then
   8088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8089 $as_echo "$MAGIC_CMD" >&6; }
   8090 else
   8091   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8092 $as_echo "no" >&6; }
   8093 fi
   8094 
   8095 
   8096   else
   8097     MAGIC_CMD=:
   8098   fi
   8099 fi
   8100 
   8101   fi
   8102   ;;
   8103 esac
   8104 
   8105 # Use C for the default configuration in the libtool script
   8106 
   8107 lt_save_CC=$CC
   8108 ac_ext=c
   8109 ac_cpp='$CPP $CPPFLAGS'
   8110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8113 
   8114 
   8115 # Source file extension for C test sources.
   8116 ac_ext=c
   8117 
   8118 # Object file extension for compiled C test sources.
   8119 objext=o
   8120 objext=$objext
   8121 
   8122 # Code to be used in simple compile tests
   8123 lt_simple_compile_test_code="int some_variable = 0;"
   8124 
   8125 # Code to be used in simple link tests
   8126 lt_simple_link_test_code='int main(){return(0);}'
   8127 
   8128 
   8129 
   8130 
   8131 
   8132 
   8133 
   8134 # If no C compiler was specified, use CC.
   8135 LTCC=${LTCC-"$CC"}
   8136 
   8137 # If no C compiler flags were specified, use CFLAGS.
   8138 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8139 
   8140 # Allow CC to be a program name with arguments.
   8141 compiler=$CC
   8142 
   8143 # Save the default compiler, since it gets overwritten when the other
   8144 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8145 compiler_DEFAULT=$CC
   8146 
   8147 # save warnings/boilerplate of simple test code
   8148 ac_outfile=conftest.$ac_objext
   8149 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8150 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8151 _lt_compiler_boilerplate=`cat conftest.err`
   8152 $RM conftest*
   8153 
   8154 ac_outfile=conftest.$ac_objext
   8155 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8156 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8157 _lt_linker_boilerplate=`cat conftest.err`
   8158 $RM -r conftest*
   8159 
   8160 
   8161 if test -n "$compiler"; then
   8162 
   8163 lt_prog_compiler_no_builtin_flag=
   8164 
   8165 if test yes = "$GCC"; then
   8166   case $cc_basename in
   8167   nvcc*)
   8168     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8169   *)
   8170     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8171   esac
   8172 
   8173   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8174 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8175 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8176   $as_echo_n "(cached) " >&6
   8177 else
   8178   lt_cv_prog_compiler_rtti_exceptions=no
   8179    ac_outfile=conftest.$ac_objext
   8180    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8181    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8182    # Insert the option either (1) after the last *FLAGS variable, or
   8183    # (2) before a word containing "conftest.", or (3) at the end.
   8184    # Note that $ac_compile itself does not contain backslashes and begins
   8185    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8186    # The option is referenced via a variable to avoid confusing sed.
   8187    lt_compile=`echo "$ac_compile" | $SED \
   8188    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8189    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8190    -e 's:$: $lt_compiler_flag:'`
   8191    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8192    (eval "$lt_compile" 2>conftest.err)
   8193    ac_status=$?
   8194    cat conftest.err >&5
   8195    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8196    if (exit $ac_status) && test -s "$ac_outfile"; then
   8197      # The compiler can only warn and ignore the option if not recognized
   8198      # So say no if there are warnings other than the usual output.
   8199      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8200      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8201      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8202        lt_cv_prog_compiler_rtti_exceptions=yes
   8203      fi
   8204    fi
   8205    $RM conftest*
   8206 
   8207 fi
   8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8209 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8210 
   8211 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8212     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8213 else
   8214     :
   8215 fi
   8216 
   8217 fi
   8218 
   8219 
   8220 
   8221 
   8222 
   8223 
   8224   lt_prog_compiler_wl=
   8225 lt_prog_compiler_pic=
   8226 lt_prog_compiler_static=
   8227 
   8228 
   8229   if test yes = "$GCC"; then
   8230     lt_prog_compiler_wl='-Wl,'
   8231     lt_prog_compiler_static='-static'
   8232 
   8233     case $host_os in
   8234       aix*)
   8235       # All AIX code is PIC.
   8236       if test ia64 = "$host_cpu"; then
   8237 	# AIX 5 now supports IA64 processor
   8238 	lt_prog_compiler_static='-Bstatic'
   8239       fi
   8240       lt_prog_compiler_pic='-fPIC'
   8241       ;;
   8242 
   8243     amigaos*)
   8244       case $host_cpu in
   8245       powerpc)
   8246             # see comment about AmigaOS4 .so support
   8247             lt_prog_compiler_pic='-fPIC'
   8248         ;;
   8249       m68k)
   8250             # FIXME: we need at least 68020 code to build shared libraries, but
   8251             # adding the '-m68020' flag to GCC prevents building anything better,
   8252             # like '-m68040'.
   8253             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8254         ;;
   8255       esac
   8256       ;;
   8257 
   8258     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8259       # PIC is the default for these OSes.
   8260       ;;
   8261 
   8262     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8263       # This hack is so that the source file can tell whether it is being
   8264       # built for inclusion in a dll (and should export symbols for example).
   8265       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8266       # (--disable-auto-import) libraries
   8267       lt_prog_compiler_pic='-DDLL_EXPORT'
   8268       case $host_os in
   8269       os2*)
   8270 	lt_prog_compiler_static='$wl-static'
   8271 	;;
   8272       esac
   8273       ;;
   8274 
   8275     darwin* | rhapsody*)
   8276       # PIC is the default on this platform
   8277       # Common symbols not allowed in MH_DYLIB files
   8278       lt_prog_compiler_pic='-fno-common'
   8279       ;;
   8280 
   8281     haiku*)
   8282       # PIC is the default for Haiku.
   8283       # The "-static" flag exists, but is broken.
   8284       lt_prog_compiler_static=
   8285       ;;
   8286 
   8287     hpux*)
   8288       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8289       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8290       # sets the default TLS model and affects inlining.
   8291       case $host_cpu in
   8292       hppa*64*)
   8293 	# +Z the default
   8294 	;;
   8295       *)
   8296 	lt_prog_compiler_pic='-fPIC'
   8297 	;;
   8298       esac
   8299       ;;
   8300 
   8301     interix[3-9]*)
   8302       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8303       # Instead, we relocate shared libraries at runtime.
   8304       ;;
   8305 
   8306     msdosdjgpp*)
   8307       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8308       # on systems that don't support them.
   8309       lt_prog_compiler_can_build_shared=no
   8310       enable_shared=no
   8311       ;;
   8312 
   8313     *nto* | *qnx*)
   8314       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8315       # it will coredump.
   8316       lt_prog_compiler_pic='-fPIC -shared'
   8317       ;;
   8318 
   8319     sysv4*MP*)
   8320       if test -d /usr/nec; then
   8321 	lt_prog_compiler_pic=-Kconform_pic
   8322       fi
   8323       ;;
   8324 
   8325     *)
   8326       lt_prog_compiler_pic='-fPIC'
   8327       ;;
   8328     esac
   8329 
   8330     case $cc_basename in
   8331     nvcc*) # Cuda Compiler Driver 2.2
   8332       lt_prog_compiler_wl='-Xlinker '
   8333       if test -n "$lt_prog_compiler_pic"; then
   8334         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8335       fi
   8336       ;;
   8337     esac
   8338   else
   8339     # PORTME Check for flag to pass linker flags through the system compiler.
   8340     case $host_os in
   8341     aix*)
   8342       lt_prog_compiler_wl='-Wl,'
   8343       if test ia64 = "$host_cpu"; then
   8344 	# AIX 5 now supports IA64 processor
   8345 	lt_prog_compiler_static='-Bstatic'
   8346       else
   8347 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8348       fi
   8349       ;;
   8350 
   8351     darwin* | rhapsody*)
   8352       # PIC is the default on this platform
   8353       # Common symbols not allowed in MH_DYLIB files
   8354       lt_prog_compiler_pic='-fno-common'
   8355       case $cc_basename in
   8356       nagfor*)
   8357         # NAG Fortran compiler
   8358         lt_prog_compiler_wl='-Wl,-Wl,,'
   8359         lt_prog_compiler_pic='-PIC'
   8360         lt_prog_compiler_static='-Bstatic'
   8361         ;;
   8362       esac
   8363       ;;
   8364 
   8365     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8366       # This hack is so that the source file can tell whether it is being
   8367       # built for inclusion in a dll (and should export symbols for example).
   8368       lt_prog_compiler_pic='-DDLL_EXPORT'
   8369       case $host_os in
   8370       os2*)
   8371 	lt_prog_compiler_static='$wl-static'
   8372 	;;
   8373       esac
   8374       ;;
   8375 
   8376     hpux9* | hpux10* | hpux11*)
   8377       lt_prog_compiler_wl='-Wl,'
   8378       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8379       # not for PA HP-UX.
   8380       case $host_cpu in
   8381       hppa*64*|ia64*)
   8382 	# +Z the default
   8383 	;;
   8384       *)
   8385 	lt_prog_compiler_pic='+Z'
   8386 	;;
   8387       esac
   8388       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8389       lt_prog_compiler_static='$wl-a ${wl}archive'
   8390       ;;
   8391 
   8392     irix5* | irix6* | nonstopux*)
   8393       lt_prog_compiler_wl='-Wl,'
   8394       # PIC (with -KPIC) is the default.
   8395       lt_prog_compiler_static='-non_shared'
   8396       ;;
   8397 
   8398     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8399       case $cc_basename in
   8400       # old Intel for x86_64, which still supported -KPIC.
   8401       ecc*)
   8402 	lt_prog_compiler_wl='-Wl,'
   8403 	lt_prog_compiler_pic='-KPIC'
   8404 	lt_prog_compiler_static='-static'
   8405         ;;
   8406       # icc used to be incompatible with GCC.
   8407       # ICC 10 doesn't accept -KPIC any more.
   8408       icc* | ifort*)
   8409 	lt_prog_compiler_wl='-Wl,'
   8410 	lt_prog_compiler_pic='-fPIC'
   8411 	lt_prog_compiler_static='-static'
   8412         ;;
   8413       # Lahey Fortran 8.1.
   8414       lf95*)
   8415 	lt_prog_compiler_wl='-Wl,'
   8416 	lt_prog_compiler_pic='--shared'
   8417 	lt_prog_compiler_static='--static'
   8418 	;;
   8419       nagfor*)
   8420 	# NAG Fortran compiler
   8421 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8422 	lt_prog_compiler_pic='-PIC'
   8423 	lt_prog_compiler_static='-Bstatic'
   8424 	;;
   8425       tcc*)
   8426 	# Fabrice Bellard et al's Tiny C Compiler
   8427 	lt_prog_compiler_wl='-Wl,'
   8428 	lt_prog_compiler_pic='-fPIC'
   8429 	lt_prog_compiler_static='-static'
   8430 	;;
   8431       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8432         # Portland Group compilers (*not* the Pentium gcc compiler,
   8433 	# which looks to be a dead project)
   8434 	lt_prog_compiler_wl='-Wl,'
   8435 	lt_prog_compiler_pic='-fpic'
   8436 	lt_prog_compiler_static='-Bstatic'
   8437         ;;
   8438       ccc*)
   8439         lt_prog_compiler_wl='-Wl,'
   8440         # All Alpha code is PIC.
   8441         lt_prog_compiler_static='-non_shared'
   8442         ;;
   8443       xl* | bgxl* | bgf* | mpixl*)
   8444 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8445 	lt_prog_compiler_wl='-Wl,'
   8446 	lt_prog_compiler_pic='-qpic'
   8447 	lt_prog_compiler_static='-qstaticlink'
   8448 	;;
   8449       *)
   8450 	case `$CC -V 2>&1 | sed 5q` in
   8451 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8452 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8453 	  lt_prog_compiler_pic='-KPIC'
   8454 	  lt_prog_compiler_static='-Bstatic'
   8455 	  lt_prog_compiler_wl=''
   8456 	  ;;
   8457 	*Sun\ F* | *Sun*Fortran*)
   8458 	  lt_prog_compiler_pic='-KPIC'
   8459 	  lt_prog_compiler_static='-Bstatic'
   8460 	  lt_prog_compiler_wl='-Qoption ld '
   8461 	  ;;
   8462 	*Sun\ C*)
   8463 	  # Sun C 5.9
   8464 	  lt_prog_compiler_pic='-KPIC'
   8465 	  lt_prog_compiler_static='-Bstatic'
   8466 	  lt_prog_compiler_wl='-Wl,'
   8467 	  ;;
   8468         *Intel*\ [CF]*Compiler*)
   8469 	  lt_prog_compiler_wl='-Wl,'
   8470 	  lt_prog_compiler_pic='-fPIC'
   8471 	  lt_prog_compiler_static='-static'
   8472 	  ;;
   8473 	*Portland\ Group*)
   8474 	  lt_prog_compiler_wl='-Wl,'
   8475 	  lt_prog_compiler_pic='-fpic'
   8476 	  lt_prog_compiler_static='-Bstatic'
   8477 	  ;;
   8478 	esac
   8479 	;;
   8480       esac
   8481       ;;
   8482 
   8483     newsos6)
   8484       lt_prog_compiler_pic='-KPIC'
   8485       lt_prog_compiler_static='-Bstatic'
   8486       ;;
   8487 
   8488     *nto* | *qnx*)
   8489       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8490       # it will coredump.
   8491       lt_prog_compiler_pic='-fPIC -shared'
   8492       ;;
   8493 
   8494     osf3* | osf4* | osf5*)
   8495       lt_prog_compiler_wl='-Wl,'
   8496       # All OSF/1 code is PIC.
   8497       lt_prog_compiler_static='-non_shared'
   8498       ;;
   8499 
   8500     rdos*)
   8501       lt_prog_compiler_static='-non_shared'
   8502       ;;
   8503 
   8504     solaris*)
   8505       lt_prog_compiler_pic='-KPIC'
   8506       lt_prog_compiler_static='-Bstatic'
   8507       case $cc_basename in
   8508       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8509 	lt_prog_compiler_wl='-Qoption ld ';;
   8510       *)
   8511 	lt_prog_compiler_wl='-Wl,';;
   8512       esac
   8513       ;;
   8514 
   8515     sunos4*)
   8516       lt_prog_compiler_wl='-Qoption ld '
   8517       lt_prog_compiler_pic='-PIC'
   8518       lt_prog_compiler_static='-Bstatic'
   8519       ;;
   8520 
   8521     sysv4 | sysv4.2uw2* | sysv4.3*)
   8522       lt_prog_compiler_wl='-Wl,'
   8523       lt_prog_compiler_pic='-KPIC'
   8524       lt_prog_compiler_static='-Bstatic'
   8525       ;;
   8526 
   8527     sysv4*MP*)
   8528       if test -d /usr/nec; then
   8529 	lt_prog_compiler_pic='-Kconform_pic'
   8530 	lt_prog_compiler_static='-Bstatic'
   8531       fi
   8532       ;;
   8533 
   8534     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8535       lt_prog_compiler_wl='-Wl,'
   8536       lt_prog_compiler_pic='-KPIC'
   8537       lt_prog_compiler_static='-Bstatic'
   8538       ;;
   8539 
   8540     unicos*)
   8541       lt_prog_compiler_wl='-Wl,'
   8542       lt_prog_compiler_can_build_shared=no
   8543       ;;
   8544 
   8545     uts4*)
   8546       lt_prog_compiler_pic='-pic'
   8547       lt_prog_compiler_static='-Bstatic'
   8548       ;;
   8549 
   8550     *)
   8551       lt_prog_compiler_can_build_shared=no
   8552       ;;
   8553     esac
   8554   fi
   8555 
   8556 case $host_os in
   8557   # For platforms that do not support PIC, -DPIC is meaningless:
   8558   *djgpp*)
   8559     lt_prog_compiler_pic=
   8560     ;;
   8561   *)
   8562     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8563     ;;
   8564 esac
   8565 
   8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8567 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8568 if ${lt_cv_prog_compiler_pic+:} false; then :
   8569   $as_echo_n "(cached) " >&6
   8570 else
   8571   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8572 fi
   8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8574 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8575 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8576 
   8577 #
   8578 # Check to make sure the PIC flag actually works.
   8579 #
   8580 if test -n "$lt_prog_compiler_pic"; then
   8581   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8582 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8583 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8584   $as_echo_n "(cached) " >&6
   8585 else
   8586   lt_cv_prog_compiler_pic_works=no
   8587    ac_outfile=conftest.$ac_objext
   8588    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8589    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8590    # Insert the option either (1) after the last *FLAGS variable, or
   8591    # (2) before a word containing "conftest.", or (3) at the end.
   8592    # Note that $ac_compile itself does not contain backslashes and begins
   8593    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8594    # The option is referenced via a variable to avoid confusing sed.
   8595    lt_compile=`echo "$ac_compile" | $SED \
   8596    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8597    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8598    -e 's:$: $lt_compiler_flag:'`
   8599    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8600    (eval "$lt_compile" 2>conftest.err)
   8601    ac_status=$?
   8602    cat conftest.err >&5
   8603    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8604    if (exit $ac_status) && test -s "$ac_outfile"; then
   8605      # The compiler can only warn and ignore the option if not recognized
   8606      # So say no if there are warnings other than the usual output.
   8607      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8608      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8609      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8610        lt_cv_prog_compiler_pic_works=yes
   8611      fi
   8612    fi
   8613    $RM conftest*
   8614 
   8615 fi
   8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8617 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8618 
   8619 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   8620     case $lt_prog_compiler_pic in
   8621      "" | " "*) ;;
   8622      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8623      esac
   8624 else
   8625     lt_prog_compiler_pic=
   8626      lt_prog_compiler_can_build_shared=no
   8627 fi
   8628 
   8629 fi
   8630 
   8631 
   8632 
   8633 
   8634 
   8635 
   8636 
   8637 
   8638 
   8639 
   8640 
   8641 #
   8642 # Check to make sure the static flag actually works.
   8643 #
   8644 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8646 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8647 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8648   $as_echo_n "(cached) " >&6
   8649 else
   8650   lt_cv_prog_compiler_static_works=no
   8651    save_LDFLAGS=$LDFLAGS
   8652    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8653    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8654    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8655      # The linker can only warn and ignore the option if not recognized
   8656      # So say no if there are warnings
   8657      if test -s conftest.err; then
   8658        # Append any errors to the config.log.
   8659        cat conftest.err 1>&5
   8660        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8661        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8662        if diff conftest.exp conftest.er2 >/dev/null; then
   8663          lt_cv_prog_compiler_static_works=yes
   8664        fi
   8665      else
   8666        lt_cv_prog_compiler_static_works=yes
   8667      fi
   8668    fi
   8669    $RM -r conftest*
   8670    LDFLAGS=$save_LDFLAGS
   8671 
   8672 fi
   8673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8674 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8675 
   8676 if test yes = "$lt_cv_prog_compiler_static_works"; then
   8677     :
   8678 else
   8679     lt_prog_compiler_static=
   8680 fi
   8681 
   8682 
   8683 
   8684 
   8685 
   8686 
   8687 
   8688   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8689 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8690 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8691   $as_echo_n "(cached) " >&6
   8692 else
   8693   lt_cv_prog_compiler_c_o=no
   8694    $RM -r conftest 2>/dev/null
   8695    mkdir conftest
   8696    cd conftest
   8697    mkdir out
   8698    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8699 
   8700    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8701    # Insert the option either (1) after the last *FLAGS variable, or
   8702    # (2) before a word containing "conftest.", or (3) at the end.
   8703    # Note that $ac_compile itself does not contain backslashes and begins
   8704    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8705    lt_compile=`echo "$ac_compile" | $SED \
   8706    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8707    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8708    -e 's:$: $lt_compiler_flag:'`
   8709    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8710    (eval "$lt_compile" 2>out/conftest.err)
   8711    ac_status=$?
   8712    cat out/conftest.err >&5
   8713    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8714    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8715    then
   8716      # The compiler can only warn and ignore the option if not recognized
   8717      # So say no if there are warnings
   8718      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8719      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8720      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8721        lt_cv_prog_compiler_c_o=yes
   8722      fi
   8723    fi
   8724    chmod u+w . 2>&5
   8725    $RM conftest*
   8726    # SGI C++ compiler will create directory out/ii_files/ for
   8727    # template instantiation
   8728    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8729    $RM out/* && rmdir out
   8730    cd ..
   8731    $RM -r conftest
   8732    $RM conftest*
   8733 
   8734 fi
   8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8736 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8744 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8745 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8746   $as_echo_n "(cached) " >&6
   8747 else
   8748   lt_cv_prog_compiler_c_o=no
   8749    $RM -r conftest 2>/dev/null
   8750    mkdir conftest
   8751    cd conftest
   8752    mkdir out
   8753    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8754 
   8755    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8756    # Insert the option either (1) after the last *FLAGS variable, or
   8757    # (2) before a word containing "conftest.", or (3) at the end.
   8758    # Note that $ac_compile itself does not contain backslashes and begins
   8759    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8760    lt_compile=`echo "$ac_compile" | $SED \
   8761    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8762    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8763    -e 's:$: $lt_compiler_flag:'`
   8764    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8765    (eval "$lt_compile" 2>out/conftest.err)
   8766    ac_status=$?
   8767    cat out/conftest.err >&5
   8768    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8769    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8770    then
   8771      # The compiler can only warn and ignore the option if not recognized
   8772      # So say no if there are warnings
   8773      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8774      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8775      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8776        lt_cv_prog_compiler_c_o=yes
   8777      fi
   8778    fi
   8779    chmod u+w . 2>&5
   8780    $RM conftest*
   8781    # SGI C++ compiler will create directory out/ii_files/ for
   8782    # template instantiation
   8783    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8784    $RM out/* && rmdir out
   8785    cd ..
   8786    $RM -r conftest
   8787    $RM conftest*
   8788 
   8789 fi
   8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8791 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8792 
   8793 
   8794 
   8795 
   8796 hard_links=nottested
   8797 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   8798   # do not overwrite the value of need_locks provided by the user
   8799   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8800 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8801   hard_links=yes
   8802   $RM conftest*
   8803   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8804   touch conftest.a
   8805   ln conftest.a conftest.b 2>&5 || hard_links=no
   8806   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8807   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8808 $as_echo "$hard_links" >&6; }
   8809   if test no = "$hard_links"; then
   8810     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   8811 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   8812     need_locks=warn
   8813   fi
   8814 else
   8815   need_locks=no
   8816 fi
   8817 
   8818 
   8819 
   8820 
   8821 
   8822 
   8823   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8824 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8825 
   8826   runpath_var=
   8827   allow_undefined_flag=
   8828   always_export_symbols=no
   8829   archive_cmds=
   8830   archive_expsym_cmds=
   8831   compiler_needs_object=no
   8832   enable_shared_with_static_runtimes=no
   8833   export_dynamic_flag_spec=
   8834   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8835   hardcode_automatic=no
   8836   hardcode_direct=no
   8837   hardcode_direct_absolute=no
   8838   hardcode_libdir_flag_spec=
   8839   hardcode_libdir_separator=
   8840   hardcode_minus_L=no
   8841   hardcode_shlibpath_var=unsupported
   8842   inherit_rpath=no
   8843   link_all_deplibs=unknown
   8844   module_cmds=
   8845   module_expsym_cmds=
   8846   old_archive_from_new_cmds=
   8847   old_archive_from_expsyms_cmds=
   8848   thread_safe_flag_spec=
   8849   whole_archive_flag_spec=
   8850   # include_expsyms should be a list of space-separated symbols to be *always*
   8851   # included in the symbol list
   8852   include_expsyms=
   8853   # exclude_expsyms can be an extended regexp of symbols to exclude
   8854   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   8855   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   8856   # as well as any symbol that contains 'd'.
   8857   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8858   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8859   # platforms (ab)use it in PIC code, but their linkers get confused if
   8860   # the symbol is explicitly referenced.  Since portable code cannot
   8861   # rely on this symbol name, it's probably fine to never include it in
   8862   # preloaded symbol tables.
   8863   # Exclude shared library initialization/finalization symbols.
   8864   extract_expsyms_cmds=
   8865 
   8866   case $host_os in
   8867   cygwin* | mingw* | pw32* | cegcc*)
   8868     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8869     # When not using gcc, we currently assume that we are using
   8870     # Microsoft Visual C++.
   8871     if test yes != "$GCC"; then
   8872       with_gnu_ld=no
   8873     fi
   8874     ;;
   8875   interix*)
   8876     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8877     with_gnu_ld=yes
   8878     ;;
   8879   openbsd* | bitrig*)
   8880     with_gnu_ld=no
   8881     ;;
   8882   esac
   8883 
   8884   ld_shlibs=yes
   8885 
   8886   # On some targets, GNU ld is compatible enough with the native linker
   8887   # that we're better off using the native interface for both.
   8888   lt_use_gnu_ld_interface=no
   8889   if test yes = "$with_gnu_ld"; then
   8890     case $host_os in
   8891       aix*)
   8892 	# The AIX port of GNU ld has always aspired to compatibility
   8893 	# with the native linker.  However, as the warning in the GNU ld
   8894 	# block says, versions before 2.19.5* couldn't really create working
   8895 	# shared libraries, regardless of the interface used.
   8896 	case `$LD -v 2>&1` in
   8897 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8898 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8899 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8900 	  *)
   8901 	    lt_use_gnu_ld_interface=yes
   8902 	    ;;
   8903 	esac
   8904 	;;
   8905       *)
   8906 	lt_use_gnu_ld_interface=yes
   8907 	;;
   8908     esac
   8909   fi
   8910 
   8911   if test yes = "$lt_use_gnu_ld_interface"; then
   8912     # If archive_cmds runs LD, not CC, wlarc should be empty
   8913     wlarc='$wl'
   8914 
   8915     # Set some defaults for GNU ld with shared library support. These
   8916     # are reset later if shared libraries are not supported. Putting them
   8917     # here allows them to be overridden if necessary.
   8918     runpath_var=LD_RUN_PATH
   8919     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   8920     export_dynamic_flag_spec='$wl--export-dynamic'
   8921     # ancient GNU ld didn't support --whole-archive et. al.
   8922     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8923       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   8924     else
   8925       whole_archive_flag_spec=
   8926     fi
   8927     supports_anon_versioning=no
   8928     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   8929       *GNU\ gold*) supports_anon_versioning=yes ;;
   8930       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8931       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8932       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8933       *\ 2.11.*) ;; # other 2.11 versions
   8934       *) supports_anon_versioning=yes ;;
   8935     esac
   8936 
   8937     # See if GNU ld supports shared libraries.
   8938     case $host_os in
   8939     aix[3-9]*)
   8940       # On AIX/PPC, the GNU linker is very broken
   8941       if test ia64 != "$host_cpu"; then
   8942 	ld_shlibs=no
   8943 	cat <<_LT_EOF 1>&2
   8944 
   8945 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8946 *** to be unable to reliably create shared libraries on AIX.
   8947 *** Therefore, libtool is disabling shared libraries support.  If you
   8948 *** really care for shared libraries, you may want to install binutils
   8949 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8950 *** You will then need to restart the configuration process.
   8951 
   8952 _LT_EOF
   8953       fi
   8954       ;;
   8955 
   8956     amigaos*)
   8957       case $host_cpu in
   8958       powerpc)
   8959             # see comment about AmigaOS4 .so support
   8960             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   8961             archive_expsym_cmds=''
   8962         ;;
   8963       m68k)
   8964             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)'
   8965             hardcode_libdir_flag_spec='-L$libdir'
   8966             hardcode_minus_L=yes
   8967         ;;
   8968       esac
   8969       ;;
   8970 
   8971     beos*)
   8972       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8973 	allow_undefined_flag=unsupported
   8974 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8975 	# support --undefined.  This deserves some investigation.  FIXME
   8976 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   8977       else
   8978 	ld_shlibs=no
   8979       fi
   8980       ;;
   8981 
   8982     cygwin* | mingw* | pw32* | cegcc*)
   8983       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8984       # as there is no search path for DLLs.
   8985       hardcode_libdir_flag_spec='-L$libdir'
   8986       export_dynamic_flag_spec='$wl--export-all-symbols'
   8987       allow_undefined_flag=unsupported
   8988       always_export_symbols=no
   8989       enable_shared_with_static_runtimes=yes
   8990       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'
   8991       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8992 
   8993       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8994         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8995 	# If the export-symbols file already is a .def file, use it as
   8996 	# is; otherwise, prepend EXPORTS...
   8997 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   8998           cp $export_symbols $output_objdir/$soname.def;
   8999         else
   9000           echo EXPORTS > $output_objdir/$soname.def;
   9001           cat $export_symbols >> $output_objdir/$soname.def;
   9002         fi~
   9003         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9004       else
   9005 	ld_shlibs=no
   9006       fi
   9007       ;;
   9008 
   9009     haiku*)
   9010       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9011       link_all_deplibs=yes
   9012       ;;
   9013 
   9014     os2*)
   9015       hardcode_libdir_flag_spec='-L$libdir'
   9016       hardcode_minus_L=yes
   9017       allow_undefined_flag=unsupported
   9018       shrext_cmds=.dll
   9019       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9020 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9021 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9022 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9023 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9024 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9025 	emximp -o $lib $output_objdir/$libname.def'
   9026       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9027 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9028 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9029 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9030 	prefix_cmds="$SED"~
   9031 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9032 	  prefix_cmds="$prefix_cmds -e 1d";
   9033 	fi~
   9034 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9035 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9036 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9037 	emximp -o $lib $output_objdir/$libname.def'
   9038       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9039       enable_shared_with_static_runtimes=yes
   9040       ;;
   9041 
   9042     interix[3-9]*)
   9043       hardcode_direct=no
   9044       hardcode_shlibpath_var=no
   9045       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9046       export_dynamic_flag_spec='$wl-E'
   9047       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9048       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9049       # default) and relocated if they conflict, which is a slow very memory
   9050       # consuming and fragmenting process.  To avoid this, we pick a random,
   9051       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9052       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9053       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9054       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'
   9055       ;;
   9056 
   9057     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9058       tmp_diet=no
   9059       if test linux-dietlibc = "$host_os"; then
   9060 	case $cc_basename in
   9061 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9062 	esac
   9063       fi
   9064       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9065 	 && test no = "$tmp_diet"
   9066       then
   9067 	tmp_addflag=' $pic_flag'
   9068 	tmp_sharedflag='-shared'
   9069 	case $cc_basename,$host_cpu in
   9070         pgcc*)				# Portland Group C compiler
   9071 	  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'
   9072 	  tmp_addflag=' $pic_flag'
   9073 	  ;;
   9074 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9075 					# Portland Group f77 and f90 compilers
   9076 	  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'
   9077 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9078 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9079 	  tmp_addflag=' -i_dynamic' ;;
   9080 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9081 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9082 	ifc* | ifort*)			# Intel Fortran compiler
   9083 	  tmp_addflag=' -nofor_main' ;;
   9084 	lf95*)				# Lahey Fortran 8.1
   9085 	  whole_archive_flag_spec=
   9086 	  tmp_sharedflag='--shared' ;;
   9087         nagfor*)                        # NAGFOR 5.3
   9088           tmp_sharedflag='-Wl,-shared' ;;
   9089 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9090 	  tmp_sharedflag='-qmkshrobj'
   9091 	  tmp_addflag= ;;
   9092 	nvcc*)	# Cuda Compiler Driver 2.2
   9093 	  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'
   9094 	  compiler_needs_object=yes
   9095 	  ;;
   9096 	esac
   9097 	case `$CC -V 2>&1 | sed 5q` in
   9098 	*Sun\ C*)			# Sun C 5.9
   9099 	  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'
   9100 	  compiler_needs_object=yes
   9101 	  tmp_sharedflag='-G' ;;
   9102 	*Sun\ F*)			# Sun Fortran 8.3
   9103 	  tmp_sharedflag='-G' ;;
   9104 	esac
   9105 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9106 
   9107         if test yes = "$supports_anon_versioning"; then
   9108           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9109             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9110             echo "local: *; };" >> $output_objdir/$libname.ver~
   9111             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9112         fi
   9113 
   9114 	case $cc_basename in
   9115 	tcc*)
   9116 	  export_dynamic_flag_spec='-rdynamic'
   9117 	  ;;
   9118 	xlf* | bgf* | bgxlf* | mpixlf*)
   9119 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9120 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9121 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9122 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9123 	  if test yes = "$supports_anon_versioning"; then
   9124 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9125               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9126               echo "local: *; };" >> $output_objdir/$libname.ver~
   9127               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9128 	  fi
   9129 	  ;;
   9130 	esac
   9131       else
   9132         ld_shlibs=no
   9133       fi
   9134       ;;
   9135 
   9136     netbsd*)
   9137       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9138 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9139 	wlarc=
   9140       else
   9141 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9142 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9143       fi
   9144       ;;
   9145 
   9146     solaris*)
   9147       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9148 	ld_shlibs=no
   9149 	cat <<_LT_EOF 1>&2
   9150 
   9151 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9152 *** create shared libraries on Solaris systems.  Therefore, libtool
   9153 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9154 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9155 *** your PATH or compiler configuration so that the native linker is
   9156 *** used, and then restart.
   9157 
   9158 _LT_EOF
   9159       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9160 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9161 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9162       else
   9163 	ld_shlibs=no
   9164       fi
   9165       ;;
   9166 
   9167     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9168       case `$LD -v 2>&1` in
   9169         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9170 	ld_shlibs=no
   9171 	cat <<_LT_EOF 1>&2
   9172 
   9173 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9174 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9175 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9176 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9177 *** your PATH or compiler configuration so that the native linker is
   9178 *** used, and then restart.
   9179 
   9180 _LT_EOF
   9181 	;;
   9182 	*)
   9183 	  # For security reasons, it is highly recommended that you always
   9184 	  # use absolute paths for naming shared libraries, and exclude the
   9185 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9186 	  # requires that you compile everything twice, which is a pain.
   9187 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9188 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9189 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9190 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9191 	  else
   9192 	    ld_shlibs=no
   9193 	  fi
   9194 	;;
   9195       esac
   9196       ;;
   9197 
   9198     sunos4*)
   9199       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9200       wlarc=
   9201       hardcode_direct=yes
   9202       hardcode_shlibpath_var=no
   9203       ;;
   9204 
   9205     *)
   9206       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9207 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9208 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9209       else
   9210 	ld_shlibs=no
   9211       fi
   9212       ;;
   9213     esac
   9214 
   9215     if test no = "$ld_shlibs"; then
   9216       runpath_var=
   9217       hardcode_libdir_flag_spec=
   9218       export_dynamic_flag_spec=
   9219       whole_archive_flag_spec=
   9220     fi
   9221   else
   9222     # PORTME fill in a description of your system's linker (not GNU ld)
   9223     case $host_os in
   9224     aix3*)
   9225       allow_undefined_flag=unsupported
   9226       always_export_symbols=yes
   9227       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'
   9228       # Note: this linker hardcodes the directories in LIBPATH if there
   9229       # are no directories specified by -L.
   9230       hardcode_minus_L=yes
   9231       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9232 	# Neither direct hardcoding nor static linking is supported with a
   9233 	# broken collect2.
   9234 	hardcode_direct=unsupported
   9235       fi
   9236       ;;
   9237 
   9238     aix[4-9]*)
   9239       if test ia64 = "$host_cpu"; then
   9240 	# On IA64, the linker does run time linking by default, so we don't
   9241 	# have to do anything special.
   9242 	aix_use_runtimelinking=no
   9243 	exp_sym_flag='-Bexport'
   9244 	no_entry_flag=
   9245       else
   9246 	# If we're using GNU nm, then we don't want the "-C" option.
   9247 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9248 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9249 	# weak defined symbols like other global defined symbols, whereas
   9250 	# GNU nm marks them as "W".
   9251 	# While the 'weak' keyword is ignored in the Export File, we need
   9252 	# it in the Import File for the 'aix-soname' feature, so we have
   9253 	# to replace the "-B" option with "-P" for AIX nm.
   9254 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9255 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   9256 	else
   9257 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9258 	fi
   9259 	aix_use_runtimelinking=no
   9260 
   9261 	# Test if we are trying to use run time linking or normal
   9262 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9263 	# have runtime linking enabled, and use it for executables.
   9264 	# For shared libraries, we enable/disable runtime linking
   9265 	# depending on the kind of the shared library created -
   9266 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9267 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9268 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9269 	#            lib.a           static archive
   9270 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9271 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9272 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9273 	#            lib.a(lib.so.V) shared, rtl:no
   9274 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9275 	#            lib.a           static archive
   9276 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9277 	  for ld_flag in $LDFLAGS; do
   9278 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9279 	    aix_use_runtimelinking=yes
   9280 	    break
   9281 	  fi
   9282 	  done
   9283 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9284 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9285 	    # so we don't have lib.a shared libs to link our executables.
   9286 	    # We have to force runtime linking in this case.
   9287 	    aix_use_runtimelinking=yes
   9288 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9289 	  fi
   9290 	  ;;
   9291 	esac
   9292 
   9293 	exp_sym_flag='-bexport'
   9294 	no_entry_flag='-bnoentry'
   9295       fi
   9296 
   9297       # When large executables or shared objects are built, AIX ld can
   9298       # have problems creating the table of contents.  If linking a library
   9299       # or program results in "error TOC overflow" add -mminimal-toc to
   9300       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9301       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9302 
   9303       archive_cmds=''
   9304       hardcode_direct=yes
   9305       hardcode_direct_absolute=yes
   9306       hardcode_libdir_separator=':'
   9307       link_all_deplibs=yes
   9308       file_list_spec='$wl-f,'
   9309       case $with_aix_soname,$aix_use_runtimelinking in
   9310       aix,*) ;; # traditional, no import file
   9311       svr4,* | *,yes) # use import file
   9312 	# The Import File defines what to hardcode.
   9313 	hardcode_direct=no
   9314 	hardcode_direct_absolute=no
   9315 	;;
   9316       esac
   9317 
   9318       if test yes = "$GCC"; then
   9319 	case $host_os in aix4.[012]|aix4.[012].*)
   9320 	# We only want to do this on AIX 4.2 and lower, the check
   9321 	# below for broken collect2 doesn't work under 4.3+
   9322 	  collect2name=`$CC -print-prog-name=collect2`
   9323 	  if test -f "$collect2name" &&
   9324 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9325 	  then
   9326 	  # We have reworked collect2
   9327 	  :
   9328 	  else
   9329 	  # We have old collect2
   9330 	  hardcode_direct=unsupported
   9331 	  # It fails to find uninstalled libraries when the uninstalled
   9332 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9333 	  # to unsupported forces relinking
   9334 	  hardcode_minus_L=yes
   9335 	  hardcode_libdir_flag_spec='-L$libdir'
   9336 	  hardcode_libdir_separator=
   9337 	  fi
   9338 	  ;;
   9339 	esac
   9340 	shared_flag='-shared'
   9341 	if test yes = "$aix_use_runtimelinking"; then
   9342 	  shared_flag="$shared_flag "'$wl-G'
   9343 	fi
   9344 	# Need to ensure runtime linking is disabled for the traditional
   9345 	# shared library, or the linker may eventually find shared libraries
   9346 	# /with/ Import File - we do not want to mix them.
   9347 	shared_flag_aix='-shared'
   9348 	shared_flag_svr4='-shared $wl-G'
   9349       else
   9350 	# not using gcc
   9351 	if test ia64 = "$host_cpu"; then
   9352 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9353 	# chokes on -Wl,-G. The following line is correct:
   9354 	  shared_flag='-G'
   9355 	else
   9356 	  if test yes = "$aix_use_runtimelinking"; then
   9357 	    shared_flag='$wl-G'
   9358 	  else
   9359 	    shared_flag='$wl-bM:SRE'
   9360 	  fi
   9361 	  shared_flag_aix='$wl-bM:SRE'
   9362 	  shared_flag_svr4='$wl-G'
   9363 	fi
   9364       fi
   9365 
   9366       export_dynamic_flag_spec='$wl-bexpall'
   9367       # It seems that -bexpall does not export symbols beginning with
   9368       # underscore (_), so it is better to generate a list of symbols to export.
   9369       always_export_symbols=yes
   9370       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9371 	# Warning - without using the other runtime loading flags (-brtl),
   9372 	# -berok will link without error, but may produce a broken library.
   9373 	allow_undefined_flag='-berok'
   9374         # Determine the default libpath from the value encoded in an
   9375         # empty executable.
   9376         if test set = "${lt_cv_aix_libpath+set}"; then
   9377   aix_libpath=$lt_cv_aix_libpath
   9378 else
   9379   if ${lt_cv_aix_libpath_+:} false; then :
   9380   $as_echo_n "(cached) " >&6
   9381 else
   9382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9383 /* end confdefs.h.  */
   9384 
   9385 int
   9386 main ()
   9387 {
   9388 
   9389   ;
   9390   return 0;
   9391 }
   9392 _ACEOF
   9393 if ac_fn_c_try_link "$LINENO"; then :
   9394 
   9395   lt_aix_libpath_sed='
   9396       /Import File Strings/,/^$/ {
   9397 	  /^0/ {
   9398 	      s/^0  *\([^ ]*\) *$/\1/
   9399 	      p
   9400 	  }
   9401       }'
   9402   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9403   # Check for a 64-bit object if we didn't find anything.
   9404   if test -z "$lt_cv_aix_libpath_"; then
   9405     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9406   fi
   9407 fi
   9408 rm -f core conftest.err conftest.$ac_objext \
   9409     conftest$ac_exeext conftest.$ac_ext
   9410   if test -z "$lt_cv_aix_libpath_"; then
   9411     lt_cv_aix_libpath_=/usr/lib:/lib
   9412   fi
   9413 
   9414 fi
   9415 
   9416   aix_libpath=$lt_cv_aix_libpath_
   9417 fi
   9418 
   9419         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9420         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   9421       else
   9422 	if test ia64 = "$host_cpu"; then
   9423 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9424 	  allow_undefined_flag="-z nodefs"
   9425 	  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"
   9426 	else
   9427 	 # Determine the default libpath from the value encoded in an
   9428 	 # empty executable.
   9429 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9430   aix_libpath=$lt_cv_aix_libpath
   9431 else
   9432   if ${lt_cv_aix_libpath_+:} false; then :
   9433   $as_echo_n "(cached) " >&6
   9434 else
   9435   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9436 /* end confdefs.h.  */
   9437 
   9438 int
   9439 main ()
   9440 {
   9441 
   9442   ;
   9443   return 0;
   9444 }
   9445 _ACEOF
   9446 if ac_fn_c_try_link "$LINENO"; then :
   9447 
   9448   lt_aix_libpath_sed='
   9449       /Import File Strings/,/^$/ {
   9450 	  /^0/ {
   9451 	      s/^0  *\([^ ]*\) *$/\1/
   9452 	      p
   9453 	  }
   9454       }'
   9455   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9456   # Check for a 64-bit object if we didn't find anything.
   9457   if test -z "$lt_cv_aix_libpath_"; then
   9458     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9459   fi
   9460 fi
   9461 rm -f core conftest.err conftest.$ac_objext \
   9462     conftest$ac_exeext conftest.$ac_ext
   9463   if test -z "$lt_cv_aix_libpath_"; then
   9464     lt_cv_aix_libpath_=/usr/lib:/lib
   9465   fi
   9466 
   9467 fi
   9468 
   9469   aix_libpath=$lt_cv_aix_libpath_
   9470 fi
   9471 
   9472 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9473 	  # Warning - without using the other run time loading flags,
   9474 	  # -berok will link without error, but may produce a broken library.
   9475 	  no_undefined_flag=' $wl-bernotok'
   9476 	  allow_undefined_flag=' $wl-berok'
   9477 	  if test yes = "$with_gnu_ld"; then
   9478 	    # We only use this code for GNU lds that support --whole-archive.
   9479 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9480 	  else
   9481 	    # Exported symbols can be pulled into shared objects from archives
   9482 	    whole_archive_flag_spec='$convenience'
   9483 	  fi
   9484 	  archive_cmds_need_lc=yes
   9485 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9486 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9487 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9488 	  if test svr4 != "$with_aix_soname"; then
   9489 	    # This is similar to how AIX traditionally builds its shared libraries.
   9490 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   9491 	  fi
   9492 	  if test aix != "$with_aix_soname"; then
   9493 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   9494 	  else
   9495 	    # used by -dlpreopen to get the symbols
   9496 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9497 	  fi
   9498 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9499 	fi
   9500       fi
   9501       ;;
   9502 
   9503     amigaos*)
   9504       case $host_cpu in
   9505       powerpc)
   9506             # see comment about AmigaOS4 .so support
   9507             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9508             archive_expsym_cmds=''
   9509         ;;
   9510       m68k)
   9511             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)'
   9512             hardcode_libdir_flag_spec='-L$libdir'
   9513             hardcode_minus_L=yes
   9514         ;;
   9515       esac
   9516       ;;
   9517 
   9518     bsdi[45]*)
   9519       export_dynamic_flag_spec=-rdynamic
   9520       ;;
   9521 
   9522     cygwin* | mingw* | pw32* | cegcc*)
   9523       # When not using gcc, we currently assume that we are using
   9524       # Microsoft Visual C++.
   9525       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9526       # no search path for DLLs.
   9527       case $cc_basename in
   9528       cl*)
   9529 	# Native MSVC
   9530 	hardcode_libdir_flag_spec=' '
   9531 	allow_undefined_flag=unsupported
   9532 	always_export_symbols=yes
   9533 	file_list_spec='@'
   9534 	# Tell ltmain to make .lib files, not .a files.
   9535 	libext=lib
   9536 	# Tell ltmain to make .dll files, not .so files.
   9537 	shrext_cmds=.dll
   9538 	# FIXME: Setting linknames here is a bad hack.
   9539 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9540 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9541             cp "$export_symbols" "$output_objdir/$soname.def";
   9542             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9543           else
   9544             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9545           fi~
   9546           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9547           linknames='
   9548 	# The linker will not automatically build a static lib if we build a DLL.
   9549 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9550 	enable_shared_with_static_runtimes=yes
   9551 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9552 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9553 	# Don't use ranlib
   9554 	old_postinstall_cmds='chmod 644 $oldlib'
   9555 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9556           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9557           case $lt_outputfile in
   9558             *.exe|*.EXE) ;;
   9559             *)
   9560               lt_outputfile=$lt_outputfile.exe
   9561               lt_tool_outputfile=$lt_tool_outputfile.exe
   9562               ;;
   9563           esac~
   9564           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9565             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9566             $RM "$lt_outputfile.manifest";
   9567           fi'
   9568 	;;
   9569       *)
   9570 	# Assume MSVC wrapper
   9571 	hardcode_libdir_flag_spec=' '
   9572 	allow_undefined_flag=unsupported
   9573 	# Tell ltmain to make .lib files, not .a files.
   9574 	libext=lib
   9575 	# Tell ltmain to make .dll files, not .so files.
   9576 	shrext_cmds=.dll
   9577 	# FIXME: Setting linknames here is a bad hack.
   9578 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9579 	# The linker will automatically build a .lib file if we build a DLL.
   9580 	old_archive_from_new_cmds='true'
   9581 	# FIXME: Should let the user specify the lib program.
   9582 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9583 	enable_shared_with_static_runtimes=yes
   9584 	;;
   9585       esac
   9586       ;;
   9587 
   9588     darwin* | rhapsody*)
   9589 
   9590 
   9591   archive_cmds_need_lc=no
   9592   hardcode_direct=no
   9593   hardcode_automatic=yes
   9594   hardcode_shlibpath_var=unsupported
   9595   if test yes = "$lt_cv_ld_force_load"; then
   9596     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\"`'
   9597 
   9598   else
   9599     whole_archive_flag_spec=''
   9600   fi
   9601   link_all_deplibs=yes
   9602   allow_undefined_flag=$_lt_dar_allow_undefined
   9603   case $cc_basename in
   9604      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   9605      *) _lt_dar_can_shared=$GCC ;;
   9606   esac
   9607   if test yes = "$_lt_dar_can_shared"; then
   9608     output_verbose_link_cmd=func_echo_all
   9609     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   9610     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   9611     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"
   9612     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"
   9613 
   9614   else
   9615   ld_shlibs=no
   9616   fi
   9617 
   9618       ;;
   9619 
   9620     dgux*)
   9621       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9622       hardcode_libdir_flag_spec='-L$libdir'
   9623       hardcode_shlibpath_var=no
   9624       ;;
   9625 
   9626     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9627     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9628     # does not break anything, and helps significantly (at the cost of a little
   9629     # extra space).
   9630     freebsd2.2*)
   9631       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9632       hardcode_libdir_flag_spec='-R$libdir'
   9633       hardcode_direct=yes
   9634       hardcode_shlibpath_var=no
   9635       ;;
   9636 
   9637     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9638     freebsd2.*)
   9639       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9640       hardcode_direct=yes
   9641       hardcode_minus_L=yes
   9642       hardcode_shlibpath_var=no
   9643       ;;
   9644 
   9645     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9646     freebsd* | dragonfly*)
   9647       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9648       hardcode_libdir_flag_spec='-R$libdir'
   9649       hardcode_direct=yes
   9650       hardcode_shlibpath_var=no
   9651       ;;
   9652 
   9653     hpux9*)
   9654       if test yes = "$GCC"; then
   9655 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9656       else
   9657 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9658       fi
   9659       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9660       hardcode_libdir_separator=:
   9661       hardcode_direct=yes
   9662 
   9663       # hardcode_minus_L: Not really in the search PATH,
   9664       # but as the default location of the library.
   9665       hardcode_minus_L=yes
   9666       export_dynamic_flag_spec='$wl-E'
   9667       ;;
   9668 
   9669     hpux10*)
   9670       if test yes,no = "$GCC,$with_gnu_ld"; then
   9671 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9672       else
   9673 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9674       fi
   9675       if test no = "$with_gnu_ld"; then
   9676 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9677 	hardcode_libdir_separator=:
   9678 	hardcode_direct=yes
   9679 	hardcode_direct_absolute=yes
   9680 	export_dynamic_flag_spec='$wl-E'
   9681 	# hardcode_minus_L: Not really in the search PATH,
   9682 	# but as the default location of the library.
   9683 	hardcode_minus_L=yes
   9684       fi
   9685       ;;
   9686 
   9687     hpux11*)
   9688       if test yes,no = "$GCC,$with_gnu_ld"; then
   9689 	case $host_cpu in
   9690 	hppa*64*)
   9691 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9692 	  ;;
   9693 	ia64*)
   9694 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9695 	  ;;
   9696 	*)
   9697 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9698 	  ;;
   9699 	esac
   9700       else
   9701 	case $host_cpu in
   9702 	hppa*64*)
   9703 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9704 	  ;;
   9705 	ia64*)
   9706 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9707 	  ;;
   9708 	*)
   9709 
   9710 	  # Older versions of the 11.00 compiler do not understand -b yet
   9711 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9712 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9713 $as_echo_n "checking if $CC understands -b... " >&6; }
   9714 if ${lt_cv_prog_compiler__b+:} false; then :
   9715   $as_echo_n "(cached) " >&6
   9716 else
   9717   lt_cv_prog_compiler__b=no
   9718    save_LDFLAGS=$LDFLAGS
   9719    LDFLAGS="$LDFLAGS -b"
   9720    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9721    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9722      # The linker can only warn and ignore the option if not recognized
   9723      # So say no if there are warnings
   9724      if test -s conftest.err; then
   9725        # Append any errors to the config.log.
   9726        cat conftest.err 1>&5
   9727        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9728        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9729        if diff conftest.exp conftest.er2 >/dev/null; then
   9730          lt_cv_prog_compiler__b=yes
   9731        fi
   9732      else
   9733        lt_cv_prog_compiler__b=yes
   9734      fi
   9735    fi
   9736    $RM -r conftest*
   9737    LDFLAGS=$save_LDFLAGS
   9738 
   9739 fi
   9740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9741 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9742 
   9743 if test yes = "$lt_cv_prog_compiler__b"; then
   9744     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9745 else
   9746     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9747 fi
   9748 
   9749 	  ;;
   9750 	esac
   9751       fi
   9752       if test no = "$with_gnu_ld"; then
   9753 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9754 	hardcode_libdir_separator=:
   9755 
   9756 	case $host_cpu in
   9757 	hppa*64*|ia64*)
   9758 	  hardcode_direct=no
   9759 	  hardcode_shlibpath_var=no
   9760 	  ;;
   9761 	*)
   9762 	  hardcode_direct=yes
   9763 	  hardcode_direct_absolute=yes
   9764 	  export_dynamic_flag_spec='$wl-E'
   9765 
   9766 	  # hardcode_minus_L: Not really in the search PATH,
   9767 	  # but as the default location of the library.
   9768 	  hardcode_minus_L=yes
   9769 	  ;;
   9770 	esac
   9771       fi
   9772       ;;
   9773 
   9774     irix5* | irix6* | nonstopux*)
   9775       if test yes = "$GCC"; then
   9776 	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'
   9777 	# Try to use the -exported_symbol ld option, if it does not
   9778 	# work, assume that -exports_file does not work either and
   9779 	# implicitly export all symbols.
   9780 	# This should be the same for all languages, so no per-tag cache variable.
   9781 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9782 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9783 if ${lt_cv_irix_exported_symbol+:} false; then :
   9784   $as_echo_n "(cached) " >&6
   9785 else
   9786   save_LDFLAGS=$LDFLAGS
   9787 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   9788 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9789 /* end confdefs.h.  */
   9790 int foo (void) { return 0; }
   9791 _ACEOF
   9792 if ac_fn_c_try_link "$LINENO"; then :
   9793   lt_cv_irix_exported_symbol=yes
   9794 else
   9795   lt_cv_irix_exported_symbol=no
   9796 fi
   9797 rm -f core conftest.err conftest.$ac_objext \
   9798     conftest$ac_exeext conftest.$ac_ext
   9799            LDFLAGS=$save_LDFLAGS
   9800 fi
   9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9802 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9803 	if test yes = "$lt_cv_irix_exported_symbol"; then
   9804           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'
   9805 	fi
   9806       else
   9807 	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'
   9808 	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'
   9809       fi
   9810       archive_cmds_need_lc='no'
   9811       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9812       hardcode_libdir_separator=:
   9813       inherit_rpath=yes
   9814       link_all_deplibs=yes
   9815       ;;
   9816 
   9817     linux*)
   9818       case $cc_basename in
   9819       tcc*)
   9820 	# Fabrice Bellard et al's Tiny C Compiler
   9821 	ld_shlibs=yes
   9822 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9823 	;;
   9824       esac
   9825       ;;
   9826 
   9827     netbsd*)
   9828       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9829 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9830       else
   9831 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9832       fi
   9833       hardcode_libdir_flag_spec='-R$libdir'
   9834       hardcode_direct=yes
   9835       hardcode_shlibpath_var=no
   9836       ;;
   9837 
   9838     newsos6)
   9839       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9840       hardcode_direct=yes
   9841       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9842       hardcode_libdir_separator=:
   9843       hardcode_shlibpath_var=no
   9844       ;;
   9845 
   9846     *nto* | *qnx*)
   9847       ;;
   9848 
   9849     openbsd* | bitrig*)
   9850       if test -f /usr/libexec/ld.so; then
   9851 	hardcode_direct=yes
   9852 	hardcode_shlibpath_var=no
   9853 	hardcode_direct_absolute=yes
   9854 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   9855 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9856 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   9857 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9858 	  export_dynamic_flag_spec='$wl-E'
   9859 	else
   9860 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9861 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9862 	fi
   9863       else
   9864 	ld_shlibs=no
   9865       fi
   9866       ;;
   9867 
   9868     os2*)
   9869       hardcode_libdir_flag_spec='-L$libdir'
   9870       hardcode_minus_L=yes
   9871       allow_undefined_flag=unsupported
   9872       shrext_cmds=.dll
   9873       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9874 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9875 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9876 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9877 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9878 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9879 	emximp -o $lib $output_objdir/$libname.def'
   9880       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9881 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9882 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9883 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9884 	prefix_cmds="$SED"~
   9885 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9886 	  prefix_cmds="$prefix_cmds -e 1d";
   9887 	fi~
   9888 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9889 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9890 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9891 	emximp -o $lib $output_objdir/$libname.def'
   9892       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9893       enable_shared_with_static_runtimes=yes
   9894       ;;
   9895 
   9896     osf3*)
   9897       if test yes = "$GCC"; then
   9898 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   9899 	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'
   9900       else
   9901 	allow_undefined_flag=' -expect_unresolved \*'
   9902 	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'
   9903       fi
   9904       archive_cmds_need_lc='no'
   9905       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9906       hardcode_libdir_separator=:
   9907       ;;
   9908 
   9909     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9910       if test yes = "$GCC"; then
   9911 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   9912 	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'
   9913 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9914       else
   9915 	allow_undefined_flag=' -expect_unresolved \*'
   9916 	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'
   9917 	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~
   9918           $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'
   9919 
   9920 	# Both c and cxx compiler support -rpath directly
   9921 	hardcode_libdir_flag_spec='-rpath $libdir'
   9922       fi
   9923       archive_cmds_need_lc='no'
   9924       hardcode_libdir_separator=:
   9925       ;;
   9926 
   9927     solaris*)
   9928       no_undefined_flag=' -z defs'
   9929       if test yes = "$GCC"; then
   9930 	wlarc='$wl'
   9931 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9932 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9933           $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'
   9934       else
   9935 	case `$CC -V 2>&1` in
   9936 	*"Compilers 5.0"*)
   9937 	  wlarc=''
   9938 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9939 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9940             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9941 	  ;;
   9942 	*)
   9943 	  wlarc='$wl'
   9944 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9945 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9946             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9947 	  ;;
   9948 	esac
   9949       fi
   9950       hardcode_libdir_flag_spec='-R$libdir'
   9951       hardcode_shlibpath_var=no
   9952       case $host_os in
   9953       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9954       *)
   9955 	# The compiler driver will combine and reorder linker options,
   9956 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   9957 	# but is careful enough not to reorder.
   9958 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9959 	if test yes = "$GCC"; then
   9960 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   9961 	else
   9962 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9963 	fi
   9964 	;;
   9965       esac
   9966       link_all_deplibs=yes
   9967       ;;
   9968 
   9969     sunos4*)
   9970       if test sequent = "$host_vendor"; then
   9971 	# Use $CC to link under sequent, because it throws in some extra .o
   9972 	# files that make .init and .fini sections work.
   9973 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9974       else
   9975 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9976       fi
   9977       hardcode_libdir_flag_spec='-L$libdir'
   9978       hardcode_direct=yes
   9979       hardcode_minus_L=yes
   9980       hardcode_shlibpath_var=no
   9981       ;;
   9982 
   9983     sysv4)
   9984       case $host_vendor in
   9985 	sni)
   9986 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9987 	  hardcode_direct=yes # is this really true???
   9988 	;;
   9989 	siemens)
   9990 	  ## LD is ld it makes a PLAMLIB
   9991 	  ## CC just makes a GrossModule.
   9992 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9993 	  reload_cmds='$CC -r -o $output$reload_objs'
   9994 	  hardcode_direct=no
   9995         ;;
   9996 	motorola)
   9997 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9998 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9999 	;;
   10000       esac
   10001       runpath_var='LD_RUN_PATH'
   10002       hardcode_shlibpath_var=no
   10003       ;;
   10004 
   10005     sysv4.3*)
   10006       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10007       hardcode_shlibpath_var=no
   10008       export_dynamic_flag_spec='-Bexport'
   10009       ;;
   10010 
   10011     sysv4*MP*)
   10012       if test -d /usr/nec; then
   10013 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10014 	hardcode_shlibpath_var=no
   10015 	runpath_var=LD_RUN_PATH
   10016 	hardcode_runpath_var=yes
   10017 	ld_shlibs=yes
   10018       fi
   10019       ;;
   10020 
   10021     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10022       no_undefined_flag='$wl-z,text'
   10023       archive_cmds_need_lc=no
   10024       hardcode_shlibpath_var=no
   10025       runpath_var='LD_RUN_PATH'
   10026 
   10027       if test yes = "$GCC"; then
   10028 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10029 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10030       else
   10031 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10032 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10033       fi
   10034       ;;
   10035 
   10036     sysv5* | sco3.2v5* | sco5v6*)
   10037       # Note: We CANNOT use -z defs as we might desire, because we do not
   10038       # link with -lc, and that would cause any symbols used from libc to
   10039       # always be unresolved, which means just about no library would
   10040       # ever link correctly.  If we're not using GNU ld we use -z text
   10041       # though, which does catch some bad symbols but isn't as heavy-handed
   10042       # as -z defs.
   10043       no_undefined_flag='$wl-z,text'
   10044       allow_undefined_flag='$wl-z,nodefs'
   10045       archive_cmds_need_lc=no
   10046       hardcode_shlibpath_var=no
   10047       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10048       hardcode_libdir_separator=':'
   10049       link_all_deplibs=yes
   10050       export_dynamic_flag_spec='$wl-Bexport'
   10051       runpath_var='LD_RUN_PATH'
   10052 
   10053       if test yes = "$GCC"; then
   10054 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10055 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10056       else
   10057 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10058 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10059       fi
   10060       ;;
   10061 
   10062     uts4*)
   10063       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10064       hardcode_libdir_flag_spec='-L$libdir'
   10065       hardcode_shlibpath_var=no
   10066       ;;
   10067 
   10068     *)
   10069       ld_shlibs=no
   10070       ;;
   10071     esac
   10072 
   10073     if test sni = "$host_vendor"; then
   10074       case $host in
   10075       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10076 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10077 	;;
   10078       esac
   10079     fi
   10080   fi
   10081 
   10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10083 $as_echo "$ld_shlibs" >&6; }
   10084 test no = "$ld_shlibs" && can_build_shared=no
   10085 
   10086 with_gnu_ld=$with_gnu_ld
   10087 
   10088 
   10089 
   10090 
   10091 
   10092 
   10093 
   10094 
   10095 
   10096 
   10097 
   10098 
   10099 
   10100 
   10101 
   10102 #
   10103 # Do we need to explicitly link libc?
   10104 #
   10105 case "x$archive_cmds_need_lc" in
   10106 x|xyes)
   10107   # Assume -lc should be added
   10108   archive_cmds_need_lc=yes
   10109 
   10110   if test yes,yes = "$GCC,$enable_shared"; then
   10111     case $archive_cmds in
   10112     *'~'*)
   10113       # FIXME: we may have to deal with multi-command sequences.
   10114       ;;
   10115     '$CC '*)
   10116       # Test whether the compiler implicitly links with -lc since on some
   10117       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10118       # to ld, don't add -lc before -lgcc.
   10119       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10120 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10121 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10122   $as_echo_n "(cached) " >&6
   10123 else
   10124   $RM conftest*
   10125 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10126 
   10127 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10128   (eval $ac_compile) 2>&5
   10129   ac_status=$?
   10130   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10131   test $ac_status = 0; } 2>conftest.err; then
   10132 	  soname=conftest
   10133 	  lib=conftest
   10134 	  libobjs=conftest.$ac_objext
   10135 	  deplibs=
   10136 	  wl=$lt_prog_compiler_wl
   10137 	  pic_flag=$lt_prog_compiler_pic
   10138 	  compiler_flags=-v
   10139 	  linker_flags=-v
   10140 	  verstring=
   10141 	  output_objdir=.
   10142 	  libname=conftest
   10143 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10144 	  allow_undefined_flag=
   10145 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10146   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10147   ac_status=$?
   10148   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10149   test $ac_status = 0; }
   10150 	  then
   10151 	    lt_cv_archive_cmds_need_lc=no
   10152 	  else
   10153 	    lt_cv_archive_cmds_need_lc=yes
   10154 	  fi
   10155 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10156 	else
   10157 	  cat conftest.err 1>&5
   10158 	fi
   10159 	$RM conftest*
   10160 
   10161 fi
   10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10163 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10164       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10165       ;;
   10166     esac
   10167   fi
   10168   ;;
   10169 esac
   10170 
   10171 
   10172 
   10173 
   10174 
   10175 
   10176 
   10177 
   10178 
   10179 
   10180 
   10181 
   10182 
   10183 
   10184 
   10185 
   10186 
   10187 
   10188 
   10189 
   10190 
   10191 
   10192 
   10193 
   10194 
   10195 
   10196 
   10197 
   10198 
   10199 
   10200 
   10201 
   10202 
   10203 
   10204 
   10205 
   10206 
   10207 
   10208 
   10209 
   10210 
   10211 
   10212 
   10213 
   10214 
   10215 
   10216 
   10217 
   10218 
   10219 
   10220 
   10221 
   10222 
   10223 
   10224 
   10225 
   10226 
   10227 
   10228 
   10229 
   10230 
   10231 
   10232 
   10233 
   10234 
   10235 
   10236 
   10237 
   10238 
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 
   10261 
   10262 
   10263 
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 
   10311 
   10312 
   10313 
   10314 
   10315 
   10316 
   10317 
   10318 
   10319 
   10320 
   10321 
   10322   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10323 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10324 
   10325 if test yes = "$GCC"; then
   10326   case $host_os in
   10327     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10328     *) lt_awk_arg='/^libraries:/' ;;
   10329   esac
   10330   case $host_os in
   10331     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10332     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10333   esac
   10334   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10335   case $lt_search_path_spec in
   10336   *\;*)
   10337     # if the path contains ";" then we assume it to be the separator
   10338     # otherwise default to the standard path separator (i.e. ":") - it is
   10339     # assumed that no part of a normal pathname contains ";" but that should
   10340     # okay in the real world where ";" in dirpaths is itself problematic.
   10341     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10342     ;;
   10343   *)
   10344     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10345     ;;
   10346   esac
   10347   # Ok, now we have the path, separated by spaces, we can step through it
   10348   # and add multilib dir if necessary...
   10349   lt_tmp_lt_search_path_spec=
   10350   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10351   # ...but if some path component already ends with the multilib dir we assume
   10352   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10353   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10354   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10355     lt_multi_os_dir=
   10356     ;;
   10357   esac
   10358   for lt_sys_path in $lt_search_path_spec; do
   10359     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10360       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10361     elif test -n "$lt_multi_os_dir"; then
   10362       test -d "$lt_sys_path" && \
   10363 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10364     fi
   10365   done
   10366   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10367 BEGIN {RS = " "; FS = "/|\n";} {
   10368   lt_foo = "";
   10369   lt_count = 0;
   10370   for (lt_i = NF; lt_i > 0; lt_i--) {
   10371     if ($lt_i != "" && $lt_i != ".") {
   10372       if ($lt_i == "..") {
   10373         lt_count++;
   10374       } else {
   10375         if (lt_count == 0) {
   10376           lt_foo = "/" $lt_i lt_foo;
   10377         } else {
   10378           lt_count--;
   10379         }
   10380       }
   10381     }
   10382   }
   10383   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10384   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10385 }'`
   10386   # AWK program above erroneously prepends '/' to C:/dos/paths
   10387   # for these hosts.
   10388   case $host_os in
   10389     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10390       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10391   esac
   10392   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10393 else
   10394   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10395 fi
   10396 library_names_spec=
   10397 libname_spec='lib$name'
   10398 soname_spec=
   10399 shrext_cmds=.so
   10400 postinstall_cmds=
   10401 postuninstall_cmds=
   10402 finish_cmds=
   10403 finish_eval=
   10404 shlibpath_var=
   10405 shlibpath_overrides_runpath=unknown
   10406 version_type=none
   10407 dynamic_linker="$host_os ld.so"
   10408 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10409 need_lib_prefix=unknown
   10410 hardcode_into_libs=no
   10411 
   10412 # when you set need_version to no, make sure it does not cause -set_version
   10413 # flags to be left without arguments
   10414 need_version=unknown
   10415 
   10416 
   10417 
   10418 case $host_os in
   10419 aix3*)
   10420   version_type=linux # correct to gnu/linux during the next big refactor
   10421   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10422   shlibpath_var=LIBPATH
   10423 
   10424   # AIX 3 has no versioning support, so we append a major version to the name.
   10425   soname_spec='$libname$release$shared_ext$major'
   10426   ;;
   10427 
   10428 aix[4-9]*)
   10429   version_type=linux # correct to gnu/linux during the next big refactor
   10430   need_lib_prefix=no
   10431   need_version=no
   10432   hardcode_into_libs=yes
   10433   if test ia64 = "$host_cpu"; then
   10434     # AIX 5 supports IA64
   10435     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10436     shlibpath_var=LD_LIBRARY_PATH
   10437   else
   10438     # With GCC up to 2.95.x, collect2 would create an import file
   10439     # for dependence libraries.  The import file would start with
   10440     # the line '#! .'.  This would cause the generated library to
   10441     # depend on '.', always an invalid library.  This was fixed in
   10442     # development snapshots of GCC prior to 3.0.
   10443     case $host_os in
   10444       aix4 | aix4.[01] | aix4.[01].*)
   10445       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10446 	   echo ' yes '
   10447 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10448 	:
   10449       else
   10450 	can_build_shared=no
   10451       fi
   10452       ;;
   10453     esac
   10454     # Using Import Files as archive members, it is possible to support
   10455     # filename-based versioning of shared library archives on AIX. While
   10456     # this would work for both with and without runtime linking, it will
   10457     # prevent static linking of such archives. So we do filename-based
   10458     # shared library versioning with .so extension only, which is used
   10459     # when both runtime linking and shared linking is enabled.
   10460     # Unfortunately, runtime linking may impact performance, so we do
   10461     # not want this to be the default eventually. Also, we use the
   10462     # versioned .so libs for executables only if there is the -brtl
   10463     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10464     # To allow for filename-based versioning support, we need to create
   10465     # libNAME.so.V as an archive file, containing:
   10466     # *) an Import File, referring to the versioned filename of the
   10467     #    archive as well as the shared archive member, telling the
   10468     #    bitwidth (32 or 64) of that shared object, and providing the
   10469     #    list of exported symbols of that shared object, eventually
   10470     #    decorated with the 'weak' keyword
   10471     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10472     #    it being seen by the linker.
   10473     # At run time we better use the real file rather than another symlink,
   10474     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10475 
   10476     case $with_aix_soname,$aix_use_runtimelinking in
   10477     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10478     # soname into executable. Probably we can add versioning support to
   10479     # collect2, so additional links can be useful in future.
   10480     aix,yes) # traditional libtool
   10481       dynamic_linker='AIX unversionable lib.so'
   10482       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10483       # instead of lib<name>.a to let people know that these are not
   10484       # typical AIX shared libraries.
   10485       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10486       ;;
   10487     aix,no) # traditional AIX only
   10488       dynamic_linker='AIX lib.a(lib.so.V)'
   10489       # We preserve .a as extension for shared libraries through AIX4.2
   10490       # and later when we are not doing run time linking.
   10491       library_names_spec='$libname$release.a $libname.a'
   10492       soname_spec='$libname$release$shared_ext$major'
   10493       ;;
   10494     svr4,*) # full svr4 only
   10495       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10496       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10497       # We do not specify a path in Import Files, so LIBPATH fires.
   10498       shlibpath_overrides_runpath=yes
   10499       ;;
   10500     *,yes) # both, prefer svr4
   10501       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10502       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10503       # unpreferred sharedlib libNAME.a needs extra handling
   10504       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   10505       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   10506       # We do not specify a path in Import Files, so LIBPATH fires.
   10507       shlibpath_overrides_runpath=yes
   10508       ;;
   10509     *,no) # both, prefer aix
   10510       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10511       library_names_spec='$libname$release.a $libname.a'
   10512       soname_spec='$libname$release$shared_ext$major'
   10513       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10514       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   10515       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   10516       ;;
   10517     esac
   10518     shlibpath_var=LIBPATH
   10519   fi
   10520   ;;
   10521 
   10522 amigaos*)
   10523   case $host_cpu in
   10524   powerpc)
   10525     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10526     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10527     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10528     ;;
   10529   m68k)
   10530     library_names_spec='$libname.ixlibrary $libname.a'
   10531     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10532     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
   10533     ;;
   10534   esac
   10535   ;;
   10536 
   10537 beos*)
   10538   library_names_spec='$libname$shared_ext'
   10539   dynamic_linker="$host_os ld.so"
   10540   shlibpath_var=LIBRARY_PATH
   10541   ;;
   10542 
   10543 bsdi[45]*)
   10544   version_type=linux # correct to gnu/linux during the next big refactor
   10545   need_version=no
   10546   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10547   soname_spec='$libname$release$shared_ext$major'
   10548   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10549   shlibpath_var=LD_LIBRARY_PATH
   10550   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10551   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10552   # the default ld.so.conf also contains /usr/contrib/lib and
   10553   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10554   # libtool to hard-code these into programs
   10555   ;;
   10556 
   10557 cygwin* | mingw* | pw32* | cegcc*)
   10558   version_type=windows
   10559   shrext_cmds=.dll
   10560   need_version=no
   10561   need_lib_prefix=no
   10562 
   10563   case $GCC,$cc_basename in
   10564   yes,*)
   10565     # gcc
   10566     library_names_spec='$libname.dll.a'
   10567     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10568     postinstall_cmds='base_file=`basename \$file`~
   10569       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10570       dldir=$destdir/`dirname \$dlpath`~
   10571       test -d \$dldir || mkdir -p \$dldir~
   10572       $install_prog $dir/$dlname \$dldir/$dlname~
   10573       chmod a+x \$dldir/$dlname~
   10574       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10575         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10576       fi'
   10577     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10578       dlpath=$dir/\$dldll~
   10579        $RM \$dlpath'
   10580     shlibpath_overrides_runpath=yes
   10581 
   10582     case $host_os in
   10583     cygwin*)
   10584       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10585       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10586 
   10587       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10588       ;;
   10589     mingw* | cegcc*)
   10590       # MinGW DLLs use traditional 'lib' prefix
   10591       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10592       ;;
   10593     pw32*)
   10594       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10595       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10596       ;;
   10597     esac
   10598     dynamic_linker='Win32 ld.exe'
   10599     ;;
   10600 
   10601   *,cl*)
   10602     # Native MSVC
   10603     libname_spec='$name'
   10604     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10605     library_names_spec='$libname.dll.lib'
   10606 
   10607     case $build_os in
   10608     mingw*)
   10609       sys_lib_search_path_spec=
   10610       lt_save_ifs=$IFS
   10611       IFS=';'
   10612       for lt_path in $LIB
   10613       do
   10614         IFS=$lt_save_ifs
   10615         # Let DOS variable expansion print the short 8.3 style file name.
   10616         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10617         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10618       done
   10619       IFS=$lt_save_ifs
   10620       # Convert to MSYS style.
   10621       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10622       ;;
   10623     cygwin*)
   10624       # Convert to unix form, then to dos form, then back to unix form
   10625       # but this time dos style (no spaces!) so that the unix form looks
   10626       # like /cygdrive/c/PROGRA~1:/cygdr...
   10627       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10628       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10629       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10630       ;;
   10631     *)
   10632       sys_lib_search_path_spec=$LIB
   10633       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10634         # It is most probably a Windows format PATH.
   10635         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10636       else
   10637         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10638       fi
   10639       # FIXME: find the short name or the path components, as spaces are
   10640       # common. (e.g. "Program Files" -> "PROGRA~1")
   10641       ;;
   10642     esac
   10643 
   10644     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10645     postinstall_cmds='base_file=`basename \$file`~
   10646       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10647       dldir=$destdir/`dirname \$dlpath`~
   10648       test -d \$dldir || mkdir -p \$dldir~
   10649       $install_prog $dir/$dlname \$dldir/$dlname'
   10650     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10651       dlpath=$dir/\$dldll~
   10652        $RM \$dlpath'
   10653     shlibpath_overrides_runpath=yes
   10654     dynamic_linker='Win32 link.exe'
   10655     ;;
   10656 
   10657   *)
   10658     # Assume MSVC wrapper
   10659     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   10660     dynamic_linker='Win32 ld.exe'
   10661     ;;
   10662   esac
   10663   # FIXME: first we should search . and the directory the executable is in
   10664   shlibpath_var=PATH
   10665   ;;
   10666 
   10667 darwin* | rhapsody*)
   10668   dynamic_linker="$host_os dyld"
   10669   version_type=darwin
   10670   need_lib_prefix=no
   10671   need_version=no
   10672   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   10673   soname_spec='$libname$release$major$shared_ext'
   10674   shlibpath_overrides_runpath=yes
   10675   shlibpath_var=DYLD_LIBRARY_PATH
   10676   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10677 
   10678   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10679   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10680   ;;
   10681 
   10682 dgux*)
   10683   version_type=linux # correct to gnu/linux during the next big refactor
   10684   need_lib_prefix=no
   10685   need_version=no
   10686   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10687   soname_spec='$libname$release$shared_ext$major'
   10688   shlibpath_var=LD_LIBRARY_PATH
   10689   ;;
   10690 
   10691 freebsd* | dragonfly*)
   10692   # DragonFly does not have aout.  When/if they implement a new
   10693   # versioning mechanism, adjust this.
   10694   if test -x /usr/bin/objformat; then
   10695     objformat=`/usr/bin/objformat`
   10696   else
   10697     case $host_os in
   10698     freebsd[23].*) objformat=aout ;;
   10699     *) objformat=elf ;;
   10700     esac
   10701   fi
   10702   version_type=freebsd-$objformat
   10703   case $version_type in
   10704     freebsd-elf*)
   10705       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10706       soname_spec='$libname$release$shared_ext$major'
   10707       need_version=no
   10708       need_lib_prefix=no
   10709       ;;
   10710     freebsd-*)
   10711       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10712       need_version=yes
   10713       ;;
   10714   esac
   10715   shlibpath_var=LD_LIBRARY_PATH
   10716   case $host_os in
   10717   freebsd2.*)
   10718     shlibpath_overrides_runpath=yes
   10719     ;;
   10720   freebsd3.[01]* | freebsdelf3.[01]*)
   10721     shlibpath_overrides_runpath=yes
   10722     hardcode_into_libs=yes
   10723     ;;
   10724   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10725   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10726     shlibpath_overrides_runpath=no
   10727     hardcode_into_libs=yes
   10728     ;;
   10729   *) # from 4.6 on, and DragonFly
   10730     shlibpath_overrides_runpath=yes
   10731     hardcode_into_libs=yes
   10732     ;;
   10733   esac
   10734   ;;
   10735 
   10736 haiku*)
   10737   version_type=linux # correct to gnu/linux during the next big refactor
   10738   need_lib_prefix=no
   10739   need_version=no
   10740   dynamic_linker="$host_os runtime_loader"
   10741   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10742   soname_spec='$libname$release$shared_ext$major'
   10743   shlibpath_var=LIBRARY_PATH
   10744   shlibpath_overrides_runpath=no
   10745   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10746   hardcode_into_libs=yes
   10747   ;;
   10748 
   10749 hpux9* | hpux10* | hpux11*)
   10750   # Give a soname corresponding to the major version so that dld.sl refuses to
   10751   # link against other versions.
   10752   version_type=sunos
   10753   need_lib_prefix=no
   10754   need_version=no
   10755   case $host_cpu in
   10756   ia64*)
   10757     shrext_cmds='.so'
   10758     hardcode_into_libs=yes
   10759     dynamic_linker="$host_os dld.so"
   10760     shlibpath_var=LD_LIBRARY_PATH
   10761     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10762     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10763     soname_spec='$libname$release$shared_ext$major'
   10764     if test 32 = "$HPUX_IA64_MODE"; then
   10765       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10766       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   10767     else
   10768       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10769       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   10770     fi
   10771     ;;
   10772   hppa*64*)
   10773     shrext_cmds='.sl'
   10774     hardcode_into_libs=yes
   10775     dynamic_linker="$host_os dld.sl"
   10776     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10777     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10778     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10779     soname_spec='$libname$release$shared_ext$major'
   10780     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10781     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10782     ;;
   10783   *)
   10784     shrext_cmds='.sl'
   10785     dynamic_linker="$host_os dld.sl"
   10786     shlibpath_var=SHLIB_PATH
   10787     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10788     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10789     soname_spec='$libname$release$shared_ext$major'
   10790     ;;
   10791   esac
   10792   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10793   postinstall_cmds='chmod 555 $lib'
   10794   # or fails outright, so override atomically:
   10795   install_override_mode=555
   10796   ;;
   10797 
   10798 interix[3-9]*)
   10799   version_type=linux # correct to gnu/linux during the next big refactor
   10800   need_lib_prefix=no
   10801   need_version=no
   10802   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10803   soname_spec='$libname$release$shared_ext$major'
   10804   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10805   shlibpath_var=LD_LIBRARY_PATH
   10806   shlibpath_overrides_runpath=no
   10807   hardcode_into_libs=yes
   10808   ;;
   10809 
   10810 irix5* | irix6* | nonstopux*)
   10811   case $host_os in
   10812     nonstopux*) version_type=nonstopux ;;
   10813     *)
   10814 	if test yes = "$lt_cv_prog_gnu_ld"; then
   10815 		version_type=linux # correct to gnu/linux during the next big refactor
   10816 	else
   10817 		version_type=irix
   10818 	fi ;;
   10819   esac
   10820   need_lib_prefix=no
   10821   need_version=no
   10822   soname_spec='$libname$release$shared_ext$major'
   10823   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   10824   case $host_os in
   10825   irix5* | nonstopux*)
   10826     libsuff= shlibsuff=
   10827     ;;
   10828   *)
   10829     case $LD in # libtool.m4 will add one of these switches to LD
   10830     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10831       libsuff= shlibsuff= libmagic=32-bit;;
   10832     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10833       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10834     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10835       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10836     *) libsuff= shlibsuff= libmagic=never-match;;
   10837     esac
   10838     ;;
   10839   esac
   10840   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10841   shlibpath_overrides_runpath=no
   10842   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   10843   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   10844   hardcode_into_libs=yes
   10845   ;;
   10846 
   10847 # No shared lib support for Linux oldld, aout, or coff.
   10848 linux*oldld* | linux*aout* | linux*coff*)
   10849   dynamic_linker=no
   10850   ;;
   10851 
   10852 linux*android*)
   10853   version_type=none # Android doesn't support versioned libraries.
   10854   need_lib_prefix=no
   10855   need_version=no
   10856   library_names_spec='$libname$release$shared_ext'
   10857   soname_spec='$libname$release$shared_ext'
   10858   finish_cmds=
   10859   shlibpath_var=LD_LIBRARY_PATH
   10860   shlibpath_overrides_runpath=yes
   10861 
   10862   # This implies no fast_install, which is unacceptable.
   10863   # Some rework will be needed to allow for fast_install
   10864   # before this can be enabled.
   10865   hardcode_into_libs=yes
   10866 
   10867   dynamic_linker='Android linker'
   10868   # Don't embed -rpath directories since the linker doesn't support them.
   10869   hardcode_libdir_flag_spec='-L$libdir'
   10870   ;;
   10871 
   10872 # This must be glibc/ELF.
   10873 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   10874   version_type=linux # correct to gnu/linux during the next big refactor
   10875   need_lib_prefix=no
   10876   need_version=no
   10877   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10878   soname_spec='$libname$release$shared_ext$major'
   10879   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10880   shlibpath_var=LD_LIBRARY_PATH
   10881   shlibpath_overrides_runpath=no
   10882 
   10883   # Some binutils ld are patched to set DT_RUNPATH
   10884   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10885   $as_echo_n "(cached) " >&6
   10886 else
   10887   lt_cv_shlibpath_overrides_runpath=no
   10888     save_LDFLAGS=$LDFLAGS
   10889     save_libdir=$libdir
   10890     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10891 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10892     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10893 /* end confdefs.h.  */
   10894 
   10895 int
   10896 main ()
   10897 {
   10898 
   10899   ;
   10900   return 0;
   10901 }
   10902 _ACEOF
   10903 if ac_fn_c_try_link "$LINENO"; then :
   10904   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10905   lt_cv_shlibpath_overrides_runpath=yes
   10906 fi
   10907 fi
   10908 rm -f core conftest.err conftest.$ac_objext \
   10909     conftest$ac_exeext conftest.$ac_ext
   10910     LDFLAGS=$save_LDFLAGS
   10911     libdir=$save_libdir
   10912 
   10913 fi
   10914 
   10915   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10916 
   10917   # This implies no fast_install, which is unacceptable.
   10918   # Some rework will be needed to allow for fast_install
   10919   # before this can be enabled.
   10920   hardcode_into_libs=yes
   10921 
   10922   # Add ABI-specific directories to the system library path.
   10923   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10924 
   10925   # Ideally, we could use ldconfig to report *all* directores which are
   10926   # searched for libraries, however this is still not possible.  Aside from not
   10927   # being certain /sbin/ldconfig is available, command
   10928   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   10929   # even though it is searched at run-time.  Try to do the best guess by
   10930   # appending ld.so.conf contents (and includes) to the search path.
   10931   if test -f /etc/ld.so.conf; then
   10932     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' ' '`
   10933     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10934   fi
   10935 
   10936   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10937   # powerpc, because MkLinux only supported shared libraries with the
   10938   # GNU dynamic linker.  Since this was broken with cross compilers,
   10939   # most powerpc-linux boxes support dynamic linking these days and
   10940   # people can always --disable-shared, the test was removed, and we
   10941   # assume the GNU/Linux dynamic linker is in use.
   10942   dynamic_linker='GNU/Linux ld.so'
   10943   ;;
   10944 
   10945 netbsd*)
   10946   version_type=sunos
   10947   need_lib_prefix=no
   10948   need_version=no
   10949   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10950     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10951     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10952     dynamic_linker='NetBSD (a.out) ld.so'
   10953   else
   10954     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10955     soname_spec='$libname$release$shared_ext$major'
   10956     dynamic_linker='NetBSD ld.elf_so'
   10957   fi
   10958   shlibpath_var=LD_LIBRARY_PATH
   10959   shlibpath_overrides_runpath=yes
   10960   hardcode_into_libs=yes
   10961   ;;
   10962 
   10963 newsos6)
   10964   version_type=linux # correct to gnu/linux during the next big refactor
   10965   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10966   shlibpath_var=LD_LIBRARY_PATH
   10967   shlibpath_overrides_runpath=yes
   10968   ;;
   10969 
   10970 *nto* | *qnx*)
   10971   version_type=qnx
   10972   need_lib_prefix=no
   10973   need_version=no
   10974   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10975   soname_spec='$libname$release$shared_ext$major'
   10976   shlibpath_var=LD_LIBRARY_PATH
   10977   shlibpath_overrides_runpath=no
   10978   hardcode_into_libs=yes
   10979   dynamic_linker='ldqnx.so'
   10980   ;;
   10981 
   10982 openbsd* | bitrig*)
   10983   version_type=sunos
   10984   sys_lib_dlsearch_path_spec=/usr/lib
   10985   need_lib_prefix=no
   10986   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10987     need_version=no
   10988   else
   10989     need_version=yes
   10990   fi
   10991   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10992   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10993   shlibpath_var=LD_LIBRARY_PATH
   10994   shlibpath_overrides_runpath=yes
   10995   ;;
   10996 
   10997 os2*)
   10998   libname_spec='$name'
   10999   version_type=windows
   11000   shrext_cmds=.dll
   11001   need_version=no
   11002   need_lib_prefix=no
   11003   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11004   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11005     v=$($ECHO $release$versuffix | tr -d .-);
   11006     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11007     $ECHO $n$v`$shared_ext'
   11008   library_names_spec='${libname}_dll.$libext'
   11009   dynamic_linker='OS/2 ld.exe'
   11010   shlibpath_var=BEGINLIBPATH
   11011   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11012   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11013   postinstall_cmds='base_file=`basename \$file`~
   11014     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11015     dldir=$destdir/`dirname \$dlpath`~
   11016     test -d \$dldir || mkdir -p \$dldir~
   11017     $install_prog $dir/$dlname \$dldir/$dlname~
   11018     chmod a+x \$dldir/$dlname~
   11019     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11020       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11021     fi'
   11022   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11023     dlpath=$dir/\$dldll~
   11024     $RM \$dlpath'
   11025   ;;
   11026 
   11027 osf3* | osf4* | osf5*)
   11028   version_type=osf
   11029   need_lib_prefix=no
   11030   need_version=no
   11031   soname_spec='$libname$release$shared_ext$major'
   11032   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11033   shlibpath_var=LD_LIBRARY_PATH
   11034   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11035   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11036   ;;
   11037 
   11038 rdos*)
   11039   dynamic_linker=no
   11040   ;;
   11041 
   11042 solaris*)
   11043   version_type=linux # correct to gnu/linux during the next big refactor
   11044   need_lib_prefix=no
   11045   need_version=no
   11046   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11047   soname_spec='$libname$release$shared_ext$major'
   11048   shlibpath_var=LD_LIBRARY_PATH
   11049   shlibpath_overrides_runpath=yes
   11050   hardcode_into_libs=yes
   11051   # ldd complains unless libraries are executable
   11052   postinstall_cmds='chmod +x $lib'
   11053   ;;
   11054 
   11055 sunos4*)
   11056   version_type=sunos
   11057   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11058   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11059   shlibpath_var=LD_LIBRARY_PATH
   11060   shlibpath_overrides_runpath=yes
   11061   if test yes = "$with_gnu_ld"; then
   11062     need_lib_prefix=no
   11063   fi
   11064   need_version=yes
   11065   ;;
   11066 
   11067 sysv4 | sysv4.3*)
   11068   version_type=linux # correct to gnu/linux during the next big refactor
   11069   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11070   soname_spec='$libname$release$shared_ext$major'
   11071   shlibpath_var=LD_LIBRARY_PATH
   11072   case $host_vendor in
   11073     sni)
   11074       shlibpath_overrides_runpath=no
   11075       need_lib_prefix=no
   11076       runpath_var=LD_RUN_PATH
   11077       ;;
   11078     siemens)
   11079       need_lib_prefix=no
   11080       ;;
   11081     motorola)
   11082       need_lib_prefix=no
   11083       need_version=no
   11084       shlibpath_overrides_runpath=no
   11085       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11086       ;;
   11087   esac
   11088   ;;
   11089 
   11090 sysv4*MP*)
   11091   if test -d /usr/nec; then
   11092     version_type=linux # correct to gnu/linux during the next big refactor
   11093     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11094     soname_spec='$libname$shared_ext.$major'
   11095     shlibpath_var=LD_LIBRARY_PATH
   11096   fi
   11097   ;;
   11098 
   11099 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11100   version_type=sco
   11101   need_lib_prefix=no
   11102   need_version=no
   11103   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11104   soname_spec='$libname$release$shared_ext$major'
   11105   shlibpath_var=LD_LIBRARY_PATH
   11106   shlibpath_overrides_runpath=yes
   11107   hardcode_into_libs=yes
   11108   if test yes = "$with_gnu_ld"; then
   11109     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11110   else
   11111     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11112     case $host_os in
   11113       sco3.2v5*)
   11114         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11115 	;;
   11116     esac
   11117   fi
   11118   sys_lib_dlsearch_path_spec='/usr/lib'
   11119   ;;
   11120 
   11121 tpf*)
   11122   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11123   version_type=linux # correct to gnu/linux during the next big refactor
   11124   need_lib_prefix=no
   11125   need_version=no
   11126   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11127   shlibpath_var=LD_LIBRARY_PATH
   11128   shlibpath_overrides_runpath=no
   11129   hardcode_into_libs=yes
   11130   ;;
   11131 
   11132 uts4*)
   11133   version_type=linux # correct to gnu/linux during the next big refactor
   11134   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11135   soname_spec='$libname$release$shared_ext$major'
   11136   shlibpath_var=LD_LIBRARY_PATH
   11137   ;;
   11138 
   11139 *)
   11140   dynamic_linker=no
   11141   ;;
   11142 esac
   11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11144 $as_echo "$dynamic_linker" >&6; }
   11145 test no = "$dynamic_linker" && can_build_shared=no
   11146 
   11147 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11148 if test yes = "$GCC"; then
   11149   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11150 fi
   11151 
   11152 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11153   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11154 fi
   11155 
   11156 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11157   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11158 fi
   11159 
   11160 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11161 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11162 
   11163 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11164 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11165 
   11166 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11167 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 
   11180 
   11181 
   11182 
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 
   11201 
   11202 
   11203 
   11204 
   11205 
   11206 
   11207 
   11208 
   11209 
   11210 
   11211 
   11212 
   11213 
   11214 
   11215 
   11216 
   11217 
   11218 
   11219 
   11220 
   11221 
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 
   11228 
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241 
   11242 
   11243 
   11244 
   11245 
   11246 
   11247 
   11248 
   11249 
   11250 
   11251 
   11252 
   11253 
   11254 
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 
   11265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11266 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11267 hardcode_action=
   11268 if test -n "$hardcode_libdir_flag_spec" ||
   11269    test -n "$runpath_var" ||
   11270    test yes = "$hardcode_automatic"; then
   11271 
   11272   # We can hardcode non-existent directories.
   11273   if test no != "$hardcode_direct" &&
   11274      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11275      # have to relink, otherwise we might link with an installed library
   11276      # when we should be linking with a yet-to-be-installed one
   11277      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11278      test no != "$hardcode_minus_L"; then
   11279     # Linking always hardcodes the temporary library directory.
   11280     hardcode_action=relink
   11281   else
   11282     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11283     hardcode_action=immediate
   11284   fi
   11285 else
   11286   # We cannot hardcode anything, or else we can only hardcode existing
   11287   # directories.
   11288   hardcode_action=unsupported
   11289 fi
   11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11291 $as_echo "$hardcode_action" >&6; }
   11292 
   11293 if test relink = "$hardcode_action" ||
   11294    test yes = "$inherit_rpath"; then
   11295   # Fast installation is not supported
   11296   enable_fast_install=no
   11297 elif test yes = "$shlibpath_overrides_runpath" ||
   11298      test no = "$enable_shared"; then
   11299   # Fast installation is not necessary
   11300   enable_fast_install=needless
   11301 fi
   11302 
   11303 
   11304 
   11305 
   11306 
   11307 
   11308   if test yes != "$enable_dlopen"; then
   11309   enable_dlopen=unknown
   11310   enable_dlopen_self=unknown
   11311   enable_dlopen_self_static=unknown
   11312 else
   11313   lt_cv_dlopen=no
   11314   lt_cv_dlopen_libs=
   11315 
   11316   case $host_os in
   11317   beos*)
   11318     lt_cv_dlopen=load_add_on
   11319     lt_cv_dlopen_libs=
   11320     lt_cv_dlopen_self=yes
   11321     ;;
   11322 
   11323   mingw* | pw32* | cegcc*)
   11324     lt_cv_dlopen=LoadLibrary
   11325     lt_cv_dlopen_libs=
   11326     ;;
   11327 
   11328   cygwin*)
   11329     lt_cv_dlopen=dlopen
   11330     lt_cv_dlopen_libs=
   11331     ;;
   11332 
   11333   darwin*)
   11334     # if libdl is installed we need to link against it
   11335     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11336 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11337 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11338   $as_echo_n "(cached) " >&6
   11339 else
   11340   ac_check_lib_save_LIBS=$LIBS
   11341 LIBS="-ldl  $LIBS"
   11342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11343 /* end confdefs.h.  */
   11344 
   11345 /* Override any GCC internal prototype to avoid an error.
   11346    Use char because int might match the return type of a GCC
   11347    builtin and then its argument prototype would still apply.  */
   11348 #ifdef __cplusplus
   11349 extern "C"
   11350 #endif
   11351 char dlopen ();
   11352 int
   11353 main ()
   11354 {
   11355 return dlopen ();
   11356   ;
   11357   return 0;
   11358 }
   11359 _ACEOF
   11360 if ac_fn_c_try_link "$LINENO"; then :
   11361   ac_cv_lib_dl_dlopen=yes
   11362 else
   11363   ac_cv_lib_dl_dlopen=no
   11364 fi
   11365 rm -f core conftest.err conftest.$ac_objext \
   11366     conftest$ac_exeext conftest.$ac_ext
   11367 LIBS=$ac_check_lib_save_LIBS
   11368 fi
   11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11370 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11371 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11372   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11373 else
   11374 
   11375     lt_cv_dlopen=dyld
   11376     lt_cv_dlopen_libs=
   11377     lt_cv_dlopen_self=yes
   11378 
   11379 fi
   11380 
   11381     ;;
   11382 
   11383   tpf*)
   11384     # Don't try to run any link tests for TPF.  We know it's impossible
   11385     # because TPF is a cross-compiler, and we know how we open DSOs.
   11386     lt_cv_dlopen=dlopen
   11387     lt_cv_dlopen_libs=
   11388     lt_cv_dlopen_self=no
   11389     ;;
   11390 
   11391   *)
   11392     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11393 if test "x$ac_cv_func_shl_load" = xyes; then :
   11394   lt_cv_dlopen=shl_load
   11395 else
   11396   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11397 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11398 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11399   $as_echo_n "(cached) " >&6
   11400 else
   11401   ac_check_lib_save_LIBS=$LIBS
   11402 LIBS="-ldld  $LIBS"
   11403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11404 /* end confdefs.h.  */
   11405 
   11406 /* Override any GCC internal prototype to avoid an error.
   11407    Use char because int might match the return type of a GCC
   11408    builtin and then its argument prototype would still apply.  */
   11409 #ifdef __cplusplus
   11410 extern "C"
   11411 #endif
   11412 char shl_load ();
   11413 int
   11414 main ()
   11415 {
   11416 return shl_load ();
   11417   ;
   11418   return 0;
   11419 }
   11420 _ACEOF
   11421 if ac_fn_c_try_link "$LINENO"; then :
   11422   ac_cv_lib_dld_shl_load=yes
   11423 else
   11424   ac_cv_lib_dld_shl_load=no
   11425 fi
   11426 rm -f core conftest.err conftest.$ac_objext \
   11427     conftest$ac_exeext conftest.$ac_ext
   11428 LIBS=$ac_check_lib_save_LIBS
   11429 fi
   11430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11431 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11432 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11433   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11434 else
   11435   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11436 if test "x$ac_cv_func_dlopen" = xyes; then :
   11437   lt_cv_dlopen=dlopen
   11438 else
   11439   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11440 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11441 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11442   $as_echo_n "(cached) " >&6
   11443 else
   11444   ac_check_lib_save_LIBS=$LIBS
   11445 LIBS="-ldl  $LIBS"
   11446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11447 /* end confdefs.h.  */
   11448 
   11449 /* Override any GCC internal prototype to avoid an error.
   11450    Use char because int might match the return type of a GCC
   11451    builtin and then its argument prototype would still apply.  */
   11452 #ifdef __cplusplus
   11453 extern "C"
   11454 #endif
   11455 char dlopen ();
   11456 int
   11457 main ()
   11458 {
   11459 return dlopen ();
   11460   ;
   11461   return 0;
   11462 }
   11463 _ACEOF
   11464 if ac_fn_c_try_link "$LINENO"; then :
   11465   ac_cv_lib_dl_dlopen=yes
   11466 else
   11467   ac_cv_lib_dl_dlopen=no
   11468 fi
   11469 rm -f core conftest.err conftest.$ac_objext \
   11470     conftest$ac_exeext conftest.$ac_ext
   11471 LIBS=$ac_check_lib_save_LIBS
   11472 fi
   11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11474 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11475 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11476   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11477 else
   11478   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11479 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11480 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11481   $as_echo_n "(cached) " >&6
   11482 else
   11483   ac_check_lib_save_LIBS=$LIBS
   11484 LIBS="-lsvld  $LIBS"
   11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11486 /* end confdefs.h.  */
   11487 
   11488 /* Override any GCC internal prototype to avoid an error.
   11489    Use char because int might match the return type of a GCC
   11490    builtin and then its argument prototype would still apply.  */
   11491 #ifdef __cplusplus
   11492 extern "C"
   11493 #endif
   11494 char dlopen ();
   11495 int
   11496 main ()
   11497 {
   11498 return dlopen ();
   11499   ;
   11500   return 0;
   11501 }
   11502 _ACEOF
   11503 if ac_fn_c_try_link "$LINENO"; then :
   11504   ac_cv_lib_svld_dlopen=yes
   11505 else
   11506   ac_cv_lib_svld_dlopen=no
   11507 fi
   11508 rm -f core conftest.err conftest.$ac_objext \
   11509     conftest$ac_exeext conftest.$ac_ext
   11510 LIBS=$ac_check_lib_save_LIBS
   11511 fi
   11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11513 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11514 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11515   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11516 else
   11517   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11518 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11519 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11520   $as_echo_n "(cached) " >&6
   11521 else
   11522   ac_check_lib_save_LIBS=$LIBS
   11523 LIBS="-ldld  $LIBS"
   11524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11525 /* end confdefs.h.  */
   11526 
   11527 /* Override any GCC internal prototype to avoid an error.
   11528    Use char because int might match the return type of a GCC
   11529    builtin and then its argument prototype would still apply.  */
   11530 #ifdef __cplusplus
   11531 extern "C"
   11532 #endif
   11533 char dld_link ();
   11534 int
   11535 main ()
   11536 {
   11537 return dld_link ();
   11538   ;
   11539   return 0;
   11540 }
   11541 _ACEOF
   11542 if ac_fn_c_try_link "$LINENO"; then :
   11543   ac_cv_lib_dld_dld_link=yes
   11544 else
   11545   ac_cv_lib_dld_dld_link=no
   11546 fi
   11547 rm -f core conftest.err conftest.$ac_objext \
   11548     conftest$ac_exeext conftest.$ac_ext
   11549 LIBS=$ac_check_lib_save_LIBS
   11550 fi
   11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11552 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11553 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11554   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11555 fi
   11556 
   11557 
   11558 fi
   11559 
   11560 
   11561 fi
   11562 
   11563 
   11564 fi
   11565 
   11566 
   11567 fi
   11568 
   11569 
   11570 fi
   11571 
   11572     ;;
   11573   esac
   11574 
   11575   if test no = "$lt_cv_dlopen"; then
   11576     enable_dlopen=no
   11577   else
   11578     enable_dlopen=yes
   11579   fi
   11580 
   11581   case $lt_cv_dlopen in
   11582   dlopen)
   11583     save_CPPFLAGS=$CPPFLAGS
   11584     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11585 
   11586     save_LDFLAGS=$LDFLAGS
   11587     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11588 
   11589     save_LIBS=$LIBS
   11590     LIBS="$lt_cv_dlopen_libs $LIBS"
   11591 
   11592     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11593 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11594 if ${lt_cv_dlopen_self+:} false; then :
   11595   $as_echo_n "(cached) " >&6
   11596 else
   11597   	  if test yes = "$cross_compiling"; then :
   11598   lt_cv_dlopen_self=cross
   11599 else
   11600   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11601   lt_status=$lt_dlunknown
   11602   cat > conftest.$ac_ext <<_LT_EOF
   11603 #line $LINENO "configure"
   11604 #include "confdefs.h"
   11605 
   11606 #if HAVE_DLFCN_H
   11607 #include <dlfcn.h>
   11608 #endif
   11609 
   11610 #include <stdio.h>
   11611 
   11612 #ifdef RTLD_GLOBAL
   11613 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11614 #else
   11615 #  ifdef DL_GLOBAL
   11616 #    define LT_DLGLOBAL		DL_GLOBAL
   11617 #  else
   11618 #    define LT_DLGLOBAL		0
   11619 #  endif
   11620 #endif
   11621 
   11622 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11623    find out it does not work in some platform. */
   11624 #ifndef LT_DLLAZY_OR_NOW
   11625 #  ifdef RTLD_LAZY
   11626 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11627 #  else
   11628 #    ifdef DL_LAZY
   11629 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11630 #    else
   11631 #      ifdef RTLD_NOW
   11632 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11633 #      else
   11634 #        ifdef DL_NOW
   11635 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11636 #        else
   11637 #          define LT_DLLAZY_OR_NOW	0
   11638 #        endif
   11639 #      endif
   11640 #    endif
   11641 #  endif
   11642 #endif
   11643 
   11644 /* When -fvisibility=hidden is used, assume the code has been annotated
   11645    correspondingly for the symbols needed.  */
   11646 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11647 int fnord () __attribute__((visibility("default")));
   11648 #endif
   11649 
   11650 int fnord () { return 42; }
   11651 int main ()
   11652 {
   11653   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11654   int status = $lt_dlunknown;
   11655 
   11656   if (self)
   11657     {
   11658       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11659       else
   11660         {
   11661 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11662           else puts (dlerror ());
   11663 	}
   11664       /* dlclose (self); */
   11665     }
   11666   else
   11667     puts (dlerror ());
   11668 
   11669   return status;
   11670 }
   11671 _LT_EOF
   11672   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11673   (eval $ac_link) 2>&5
   11674   ac_status=$?
   11675   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11676   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11677     (./conftest; exit; ) >&5 2>/dev/null
   11678     lt_status=$?
   11679     case x$lt_status in
   11680       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11681       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11682       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11683     esac
   11684   else :
   11685     # compilation failed
   11686     lt_cv_dlopen_self=no
   11687   fi
   11688 fi
   11689 rm -fr conftest*
   11690 
   11691 
   11692 fi
   11693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11694 $as_echo "$lt_cv_dlopen_self" >&6; }
   11695 
   11696     if test yes = "$lt_cv_dlopen_self"; then
   11697       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11698       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11699 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11700 if ${lt_cv_dlopen_self_static+:} false; then :
   11701   $as_echo_n "(cached) " >&6
   11702 else
   11703   	  if test yes = "$cross_compiling"; then :
   11704   lt_cv_dlopen_self_static=cross
   11705 else
   11706   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11707   lt_status=$lt_dlunknown
   11708   cat > conftest.$ac_ext <<_LT_EOF
   11709 #line $LINENO "configure"
   11710 #include "confdefs.h"
   11711 
   11712 #if HAVE_DLFCN_H
   11713 #include <dlfcn.h>
   11714 #endif
   11715 
   11716 #include <stdio.h>
   11717 
   11718 #ifdef RTLD_GLOBAL
   11719 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11720 #else
   11721 #  ifdef DL_GLOBAL
   11722 #    define LT_DLGLOBAL		DL_GLOBAL
   11723 #  else
   11724 #    define LT_DLGLOBAL		0
   11725 #  endif
   11726 #endif
   11727 
   11728 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11729    find out it does not work in some platform. */
   11730 #ifndef LT_DLLAZY_OR_NOW
   11731 #  ifdef RTLD_LAZY
   11732 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11733 #  else
   11734 #    ifdef DL_LAZY
   11735 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11736 #    else
   11737 #      ifdef RTLD_NOW
   11738 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11739 #      else
   11740 #        ifdef DL_NOW
   11741 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11742 #        else
   11743 #          define LT_DLLAZY_OR_NOW	0
   11744 #        endif
   11745 #      endif
   11746 #    endif
   11747 #  endif
   11748 #endif
   11749 
   11750 /* When -fvisibility=hidden is used, assume the code has been annotated
   11751    correspondingly for the symbols needed.  */
   11752 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11753 int fnord () __attribute__((visibility("default")));
   11754 #endif
   11755 
   11756 int fnord () { return 42; }
   11757 int main ()
   11758 {
   11759   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11760   int status = $lt_dlunknown;
   11761 
   11762   if (self)
   11763     {
   11764       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11765       else
   11766         {
   11767 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11768           else puts (dlerror ());
   11769 	}
   11770       /* dlclose (self); */
   11771     }
   11772   else
   11773     puts (dlerror ());
   11774 
   11775   return status;
   11776 }
   11777 _LT_EOF
   11778   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11779   (eval $ac_link) 2>&5
   11780   ac_status=$?
   11781   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11782   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11783     (./conftest; exit; ) >&5 2>/dev/null
   11784     lt_status=$?
   11785     case x$lt_status in
   11786       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11787       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11788       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11789     esac
   11790   else :
   11791     # compilation failed
   11792     lt_cv_dlopen_self_static=no
   11793   fi
   11794 fi
   11795 rm -fr conftest*
   11796 
   11797 
   11798 fi
   11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11800 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11801     fi
   11802 
   11803     CPPFLAGS=$save_CPPFLAGS
   11804     LDFLAGS=$save_LDFLAGS
   11805     LIBS=$save_LIBS
   11806     ;;
   11807   esac
   11808 
   11809   case $lt_cv_dlopen_self in
   11810   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11811   *) enable_dlopen_self=unknown ;;
   11812   esac
   11813 
   11814   case $lt_cv_dlopen_self_static in
   11815   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11816   *) enable_dlopen_self_static=unknown ;;
   11817   esac
   11818 fi
   11819 
   11820 
   11821 
   11822 
   11823 
   11824 
   11825 
   11826 
   11827 
   11828 
   11829 
   11830 
   11831 
   11832 
   11833 
   11834 
   11835 
   11836 striplib=
   11837 old_striplib=
   11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11839 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11840 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11841   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11842   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11843   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11844 $as_echo "yes" >&6; }
   11845 else
   11846 # FIXME - insert some real tests, host_os isn't really good enough
   11847   case $host_os in
   11848   darwin*)
   11849     if test -n "$STRIP"; then
   11850       striplib="$STRIP -x"
   11851       old_striplib="$STRIP -S"
   11852       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11853 $as_echo "yes" >&6; }
   11854     else
   11855       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11856 $as_echo "no" >&6; }
   11857     fi
   11858     ;;
   11859   *)
   11860     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11861 $as_echo "no" >&6; }
   11862     ;;
   11863   esac
   11864 fi
   11865 
   11866 
   11867 
   11868 
   11869 
   11870 
   11871 
   11872 
   11873 
   11874 
   11875 
   11876 
   11877   # Report what library types will actually be built
   11878   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11879 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11880   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11881 $as_echo "$can_build_shared" >&6; }
   11882 
   11883   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11884 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11885   test no = "$can_build_shared" && enable_shared=no
   11886 
   11887   # On AIX, shared libraries and static libraries use the same namespace, and
   11888   # are all built from PIC.
   11889   case $host_os in
   11890   aix3*)
   11891     test yes = "$enable_shared" && enable_static=no
   11892     if test -n "$RANLIB"; then
   11893       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11894       postinstall_cmds='$RANLIB $lib'
   11895     fi
   11896     ;;
   11897 
   11898   aix[4-9]*)
   11899     if test ia64 != "$host_cpu"; then
   11900       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   11901       yes,aix,yes) ;;			# shared object as lib.so file only
   11902       yes,svr4,*) ;;			# shared object as lib.so archive member only
   11903       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   11904       esac
   11905     fi
   11906     ;;
   11907   esac
   11908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11909 $as_echo "$enable_shared" >&6; }
   11910 
   11911   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11912 $as_echo_n "checking whether to build static libraries... " >&6; }
   11913   # Make sure either enable_shared or enable_static is yes.
   11914   test yes = "$enable_shared" || enable_static=yes
   11915   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11916 $as_echo "$enable_static" >&6; }
   11917 
   11918 
   11919 
   11920 
   11921 fi
   11922 ac_ext=c
   11923 ac_cpp='$CPP $CPPFLAGS'
   11924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11927 
   11928 CC=$lt_save_CC
   11929 
   11930 
   11931 
   11932 
   11933 
   11934 
   11935 
   11936 
   11937 
   11938 
   11939 
   11940 
   11941 
   11942 
   11943 
   11944         ac_config_commands="$ac_config_commands libtool"
   11945 
   11946 
   11947 
   11948 
   11949 # Only expand once:
   11950 
   11951 
   11952 
   11953 # Initialize X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 
   11964 
   11965    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11966 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11967 if ${ac_cv_prog_cc_c99+:} false; then :
   11968   $as_echo_n "(cached) " >&6
   11969 else
   11970   ac_cv_prog_cc_c99=no
   11971 ac_save_CC=$CC
   11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11973 /* end confdefs.h.  */
   11974 #include <stdarg.h>
   11975 #include <stdbool.h>
   11976 #include <stdlib.h>
   11977 #include <wchar.h>
   11978 #include <stdio.h>
   11979 
   11980 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11981 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11982 #define showlist(...) puts (#__VA_ARGS__)
   11983 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11984 static void
   11985 test_varargs_macros (void)
   11986 {
   11987   int x = 1234;
   11988   int y = 5678;
   11989   debug ("Flag");
   11990   debug ("X = %d\n", x);
   11991   showlist (The first, second, and third items.);
   11992   report (x>y, "x is %d but y is %d", x, y);
   11993 }
   11994 
   11995 // Check long long types.
   11996 #define BIG64 18446744073709551615ull
   11997 #define BIG32 4294967295ul
   11998 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11999 #if !BIG_OK
   12000   your preprocessor is broken;
   12001 #endif
   12002 #if BIG_OK
   12003 #else
   12004   your preprocessor is broken;
   12005 #endif
   12006 static long long int bignum = -9223372036854775807LL;
   12007 static unsigned long long int ubignum = BIG64;
   12008 
   12009 struct incomplete_array
   12010 {
   12011   int datasize;
   12012   double data[];
   12013 };
   12014 
   12015 struct named_init {
   12016   int number;
   12017   const wchar_t *name;
   12018   double average;
   12019 };
   12020 
   12021 typedef const char *ccp;
   12022 
   12023 static inline int
   12024 test_restrict (ccp restrict text)
   12025 {
   12026   // See if C++-style comments work.
   12027   // Iterate through items via the restricted pointer.
   12028   // Also check for declarations in for loops.
   12029   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12030     continue;
   12031   return 0;
   12032 }
   12033 
   12034 // Check varargs and va_copy.
   12035 static void
   12036 test_varargs (const char *format, ...)
   12037 {
   12038   va_list args;
   12039   va_start (args, format);
   12040   va_list args_copy;
   12041   va_copy (args_copy, args);
   12042 
   12043   const char *str;
   12044   int number;
   12045   float fnumber;
   12046 
   12047   while (*format)
   12048     {
   12049       switch (*format++)
   12050 	{
   12051 	case 's': // string
   12052 	  str = va_arg (args_copy, const char *);
   12053 	  break;
   12054 	case 'd': // int
   12055 	  number = va_arg (args_copy, int);
   12056 	  break;
   12057 	case 'f': // float
   12058 	  fnumber = va_arg (args_copy, double);
   12059 	  break;
   12060 	default:
   12061 	  break;
   12062 	}
   12063     }
   12064   va_end (args_copy);
   12065   va_end (args);
   12066 }
   12067 
   12068 int
   12069 main ()
   12070 {
   12071 
   12072   // Check bool.
   12073   _Bool success = false;
   12074 
   12075   // Check restrict.
   12076   if (test_restrict ("String literal") == 0)
   12077     success = true;
   12078   char *restrict newvar = "Another string";
   12079 
   12080   // Check varargs.
   12081   test_varargs ("s, d' f .", "string", 65, 34.234);
   12082   test_varargs_macros ();
   12083 
   12084   // Check flexible array members.
   12085   struct incomplete_array *ia =
   12086     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12087   ia->datasize = 10;
   12088   for (int i = 0; i < ia->datasize; ++i)
   12089     ia->data[i] = i * 1.234;
   12090 
   12091   // Check named initializers.
   12092   struct named_init ni = {
   12093     .number = 34,
   12094     .name = L"Test wide string",
   12095     .average = 543.34343,
   12096   };
   12097 
   12098   ni.number = 58;
   12099 
   12100   int dynamic_array[ni.number];
   12101   dynamic_array[ni.number - 1] = 543;
   12102 
   12103   // work around unused variable warnings
   12104   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12105 	  || dynamic_array[ni.number - 1] != 543);
   12106 
   12107   ;
   12108   return 0;
   12109 }
   12110 _ACEOF
   12111 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12112 do
   12113   CC="$ac_save_CC $ac_arg"
   12114   if ac_fn_c_try_compile "$LINENO"; then :
   12115   ac_cv_prog_cc_c99=$ac_arg
   12116 fi
   12117 rm -f core conftest.err conftest.$ac_objext
   12118   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12119 done
   12120 rm -f conftest.$ac_ext
   12121 CC=$ac_save_CC
   12122 
   12123 fi
   12124 # AC_CACHE_VAL
   12125 case "x$ac_cv_prog_cc_c99" in
   12126   x)
   12127     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12128 $as_echo "none needed" >&6; } ;;
   12129   xno)
   12130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12131 $as_echo "unsupported" >&6; } ;;
   12132   *)
   12133     CC="$CC $ac_cv_prog_cc_c99"
   12134     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12135 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12136 esac
   12137 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12138 
   12139 fi
   12140 
   12141 
   12142 
   12143 
   12144 
   12145 
   12146 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12147 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12148   CLANGCC="yes"
   12149 else
   12150   CLANGCC="no"
   12151 fi
   12152 
   12153 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12154 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12155   INTELCC="yes"
   12156 else
   12157   INTELCC="no"
   12158 fi
   12159 
   12160 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12161 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12162   SUNCC="yes"
   12163 else
   12164   SUNCC="no"
   12165 fi
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 
   12173 
   12174 
   12175 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12176 	if test -n "$ac_tool_prefix"; then
   12177   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12178 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12180 $as_echo_n "checking for $ac_word... " >&6; }
   12181 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12182   $as_echo_n "(cached) " >&6
   12183 else
   12184   case $PKG_CONFIG in
   12185   [\\/]* | ?:[\\/]*)
   12186   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12187   ;;
   12188   *)
   12189   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12190 for as_dir in $PATH
   12191 do
   12192   IFS=$as_save_IFS
   12193   test -z "$as_dir" && as_dir=.
   12194     for ac_exec_ext in '' $ac_executable_extensions; do
   12195   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12196     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12197     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12198     break 2
   12199   fi
   12200 done
   12201   done
   12202 IFS=$as_save_IFS
   12203 
   12204   ;;
   12205 esac
   12206 fi
   12207 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12208 if test -n "$PKG_CONFIG"; then
   12209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12210 $as_echo "$PKG_CONFIG" >&6; }
   12211 else
   12212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12213 $as_echo "no" >&6; }
   12214 fi
   12215 
   12216 
   12217 fi
   12218 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12219   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12220   # Extract the first word of "pkg-config", so it can be a program name with args.
   12221 set dummy pkg-config; ac_word=$2
   12222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12223 $as_echo_n "checking for $ac_word... " >&6; }
   12224 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12225   $as_echo_n "(cached) " >&6
   12226 else
   12227   case $ac_pt_PKG_CONFIG in
   12228   [\\/]* | ?:[\\/]*)
   12229   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12230   ;;
   12231   *)
   12232   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12233 for as_dir in $PATH
   12234 do
   12235   IFS=$as_save_IFS
   12236   test -z "$as_dir" && as_dir=.
   12237     for ac_exec_ext in '' $ac_executable_extensions; do
   12238   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12239     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12240     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12241     break 2
   12242   fi
   12243 done
   12244   done
   12245 IFS=$as_save_IFS
   12246 
   12247   ;;
   12248 esac
   12249 fi
   12250 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12251 if test -n "$ac_pt_PKG_CONFIG"; then
   12252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12253 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12254 else
   12255   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12256 $as_echo "no" >&6; }
   12257 fi
   12258 
   12259   if test "x$ac_pt_PKG_CONFIG" = x; then
   12260     PKG_CONFIG=""
   12261   else
   12262     case $cross_compiling:$ac_tool_warned in
   12263 yes:)
   12264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12266 ac_tool_warned=yes ;;
   12267 esac
   12268     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12269   fi
   12270 else
   12271   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12272 fi
   12273 
   12274 fi
   12275 if test -n "$PKG_CONFIG"; then
   12276 	_pkg_min_version=0.9.0
   12277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12278 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12279 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12280 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12281 $as_echo "yes" >&6; }
   12282 	else
   12283 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12284 $as_echo "no" >&6; }
   12285 		PKG_CONFIG=""
   12286 	fi
   12287 fi
   12288 
   12289 
   12290 
   12291 
   12292 
   12293 # Check whether --enable-selective-werror was given.
   12294 if test "${enable_selective_werror+set}" = set; then :
   12295   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12296 else
   12297   SELECTIVE_WERROR=yes
   12298 fi
   12299 
   12300 
   12301 
   12302 
   12303 
   12304 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12305 if test "x$SUNCC" = "xyes"; then
   12306     BASE_CFLAGS="-v"
   12307 else
   12308     BASE_CFLAGS=""
   12309 fi
   12310 
   12311 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12312 
   12313 
   12314 
   12315 
   12316 
   12317 
   12318 
   12319 
   12320 
   12321 
   12322 
   12323 
   12324 
   12325 xorg_testset_save_CFLAGS="$CFLAGS"
   12326 
   12327 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12328 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12329 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12330 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12331 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12332   $as_echo_n "(cached) " >&6
   12333 else
   12334   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12335 /* end confdefs.h.  */
   12336 int i;
   12337 _ACEOF
   12338 if ac_fn_c_try_compile "$LINENO"; then :
   12339   xorg_cv_cc_flag_unknown_warning_option=yes
   12340 else
   12341   xorg_cv_cc_flag_unknown_warning_option=no
   12342 fi
   12343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12344 fi
   12345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12346 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12347 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12348 	CFLAGS="$xorg_testset_save_CFLAGS"
   12349 fi
   12350 
   12351 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12352 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12353 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12354 	fi
   12355 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12356 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12357 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12358 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12359   $as_echo_n "(cached) " >&6
   12360 else
   12361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12362 /* end confdefs.h.  */
   12363 int i;
   12364 _ACEOF
   12365 if ac_fn_c_try_compile "$LINENO"; then :
   12366   xorg_cv_cc_flag_unused_command_line_argument=yes
   12367 else
   12368   xorg_cv_cc_flag_unused_command_line_argument=no
   12369 fi
   12370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12371 fi
   12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12373 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12374 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12375 	CFLAGS="$xorg_testset_save_CFLAGS"
   12376 fi
   12377 
   12378 found="no"
   12379 
   12380 	if test $found = "no" ; then
   12381 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12382 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12383 		fi
   12384 
   12385 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12386 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12387 		fi
   12388 
   12389 		CFLAGS="$CFLAGS -Wall"
   12390 
   12391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12392 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12393 		cacheid=xorg_cv_cc_flag__Wall
   12394 		if eval \${$cacheid+:} false; then :
   12395   $as_echo_n "(cached) " >&6
   12396 else
   12397   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12398 /* end confdefs.h.  */
   12399 int i;
   12400 int
   12401 main ()
   12402 {
   12403 
   12404   ;
   12405   return 0;
   12406 }
   12407 _ACEOF
   12408 if ac_fn_c_try_link "$LINENO"; then :
   12409   eval $cacheid=yes
   12410 else
   12411   eval $cacheid=no
   12412 fi
   12413 rm -f core conftest.err conftest.$ac_objext \
   12414     conftest$ac_exeext conftest.$ac_ext
   12415 fi
   12416 
   12417 
   12418 		CFLAGS="$xorg_testset_save_CFLAGS"
   12419 
   12420 		eval supported=\$$cacheid
   12421 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12422 $as_echo "$supported" >&6; }
   12423 		if test "$supported" = "yes" ; then
   12424 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12425 			found="yes"
   12426 		fi
   12427 	fi
   12428 
   12429 
   12430 
   12431 
   12432 
   12433 
   12434 
   12435 
   12436 
   12437 
   12438 
   12439 
   12440 
   12441 
   12442 
   12443 xorg_testset_save_CFLAGS="$CFLAGS"
   12444 
   12445 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12446 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12447 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12448 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12449 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12450   $as_echo_n "(cached) " >&6
   12451 else
   12452   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12453 /* end confdefs.h.  */
   12454 int i;
   12455 _ACEOF
   12456 if ac_fn_c_try_compile "$LINENO"; then :
   12457   xorg_cv_cc_flag_unknown_warning_option=yes
   12458 else
   12459   xorg_cv_cc_flag_unknown_warning_option=no
   12460 fi
   12461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12462 fi
   12463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12464 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12465 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12466 	CFLAGS="$xorg_testset_save_CFLAGS"
   12467 fi
   12468 
   12469 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12470 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12471 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12472 	fi
   12473 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12474 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12475 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12476 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12477   $as_echo_n "(cached) " >&6
   12478 else
   12479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12480 /* end confdefs.h.  */
   12481 int i;
   12482 _ACEOF
   12483 if ac_fn_c_try_compile "$LINENO"; then :
   12484   xorg_cv_cc_flag_unused_command_line_argument=yes
   12485 else
   12486   xorg_cv_cc_flag_unused_command_line_argument=no
   12487 fi
   12488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12489 fi
   12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12491 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12492 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12493 	CFLAGS="$xorg_testset_save_CFLAGS"
   12494 fi
   12495 
   12496 found="no"
   12497 
   12498 	if test $found = "no" ; then
   12499 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12501 		fi
   12502 
   12503 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12505 		fi
   12506 
   12507 		CFLAGS="$CFLAGS -Wpointer-arith"
   12508 
   12509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12510 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12511 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12512 		if eval \${$cacheid+:} false; then :
   12513   $as_echo_n "(cached) " >&6
   12514 else
   12515   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12516 /* end confdefs.h.  */
   12517 int i;
   12518 int
   12519 main ()
   12520 {
   12521 
   12522   ;
   12523   return 0;
   12524 }
   12525 _ACEOF
   12526 if ac_fn_c_try_link "$LINENO"; then :
   12527   eval $cacheid=yes
   12528 else
   12529   eval $cacheid=no
   12530 fi
   12531 rm -f core conftest.err conftest.$ac_objext \
   12532     conftest$ac_exeext conftest.$ac_ext
   12533 fi
   12534 
   12535 
   12536 		CFLAGS="$xorg_testset_save_CFLAGS"
   12537 
   12538 		eval supported=\$$cacheid
   12539 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12540 $as_echo "$supported" >&6; }
   12541 		if test "$supported" = "yes" ; then
   12542 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12543 			found="yes"
   12544 		fi
   12545 	fi
   12546 
   12547 
   12548 
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 
   12556 
   12557 
   12558 
   12559 
   12560 
   12561 xorg_testset_save_CFLAGS="$CFLAGS"
   12562 
   12563 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12564 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12565 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12566 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12567 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12568   $as_echo_n "(cached) " >&6
   12569 else
   12570   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12571 /* end confdefs.h.  */
   12572 int i;
   12573 _ACEOF
   12574 if ac_fn_c_try_compile "$LINENO"; then :
   12575   xorg_cv_cc_flag_unknown_warning_option=yes
   12576 else
   12577   xorg_cv_cc_flag_unknown_warning_option=no
   12578 fi
   12579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12580 fi
   12581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12582 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12583 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12584 	CFLAGS="$xorg_testset_save_CFLAGS"
   12585 fi
   12586 
   12587 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12588 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12589 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12590 	fi
   12591 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12592 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12593 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12594 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12595   $as_echo_n "(cached) " >&6
   12596 else
   12597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12598 /* end confdefs.h.  */
   12599 int i;
   12600 _ACEOF
   12601 if ac_fn_c_try_compile "$LINENO"; then :
   12602   xorg_cv_cc_flag_unused_command_line_argument=yes
   12603 else
   12604   xorg_cv_cc_flag_unused_command_line_argument=no
   12605 fi
   12606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12607 fi
   12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12609 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12610 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12611 	CFLAGS="$xorg_testset_save_CFLAGS"
   12612 fi
   12613 
   12614 found="no"
   12615 
   12616 	if test $found = "no" ; then
   12617 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12618 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12619 		fi
   12620 
   12621 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12622 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12623 		fi
   12624 
   12625 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12626 
   12627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12628 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12629 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12630 		if eval \${$cacheid+:} false; then :
   12631   $as_echo_n "(cached) " >&6
   12632 else
   12633   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12634 /* end confdefs.h.  */
   12635 int i;
   12636 int
   12637 main ()
   12638 {
   12639 
   12640   ;
   12641   return 0;
   12642 }
   12643 _ACEOF
   12644 if ac_fn_c_try_link "$LINENO"; then :
   12645   eval $cacheid=yes
   12646 else
   12647   eval $cacheid=no
   12648 fi
   12649 rm -f core conftest.err conftest.$ac_objext \
   12650     conftest$ac_exeext conftest.$ac_ext
   12651 fi
   12652 
   12653 
   12654 		CFLAGS="$xorg_testset_save_CFLAGS"
   12655 
   12656 		eval supported=\$$cacheid
   12657 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12658 $as_echo "$supported" >&6; }
   12659 		if test "$supported" = "yes" ; then
   12660 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12661 			found="yes"
   12662 		fi
   12663 	fi
   12664 
   12665 
   12666 
   12667 
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 xorg_testset_save_CFLAGS="$CFLAGS"
   12680 
   12681 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12682 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12683 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12684 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12685 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12686   $as_echo_n "(cached) " >&6
   12687 else
   12688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12689 /* end confdefs.h.  */
   12690 int i;
   12691 _ACEOF
   12692 if ac_fn_c_try_compile "$LINENO"; then :
   12693   xorg_cv_cc_flag_unknown_warning_option=yes
   12694 else
   12695   xorg_cv_cc_flag_unknown_warning_option=no
   12696 fi
   12697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12698 fi
   12699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12700 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12701 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12702 	CFLAGS="$xorg_testset_save_CFLAGS"
   12703 fi
   12704 
   12705 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12706 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12707 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12708 	fi
   12709 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12710 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12711 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12712 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12713   $as_echo_n "(cached) " >&6
   12714 else
   12715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12716 /* end confdefs.h.  */
   12717 int i;
   12718 _ACEOF
   12719 if ac_fn_c_try_compile "$LINENO"; then :
   12720   xorg_cv_cc_flag_unused_command_line_argument=yes
   12721 else
   12722   xorg_cv_cc_flag_unused_command_line_argument=no
   12723 fi
   12724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12725 fi
   12726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12727 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12728 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12729 	CFLAGS="$xorg_testset_save_CFLAGS"
   12730 fi
   12731 
   12732 found="no"
   12733 
   12734 	if test $found = "no" ; then
   12735 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12736 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12737 		fi
   12738 
   12739 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12740 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12741 		fi
   12742 
   12743 		CFLAGS="$CFLAGS -Wformat=2"
   12744 
   12745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12746 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12747 		cacheid=xorg_cv_cc_flag__Wformat_2
   12748 		if eval \${$cacheid+:} false; then :
   12749   $as_echo_n "(cached) " >&6
   12750 else
   12751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12752 /* end confdefs.h.  */
   12753 int i;
   12754 int
   12755 main ()
   12756 {
   12757 
   12758   ;
   12759   return 0;
   12760 }
   12761 _ACEOF
   12762 if ac_fn_c_try_link "$LINENO"; then :
   12763   eval $cacheid=yes
   12764 else
   12765   eval $cacheid=no
   12766 fi
   12767 rm -f core conftest.err conftest.$ac_objext \
   12768     conftest$ac_exeext conftest.$ac_ext
   12769 fi
   12770 
   12771 
   12772 		CFLAGS="$xorg_testset_save_CFLAGS"
   12773 
   12774 		eval supported=\$$cacheid
   12775 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12776 $as_echo "$supported" >&6; }
   12777 		if test "$supported" = "yes" ; then
   12778 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12779 			found="yes"
   12780 		fi
   12781 	fi
   12782 
   12783 	if test $found = "no" ; then
   12784 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12785 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12786 		fi
   12787 
   12788 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12789 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12790 		fi
   12791 
   12792 		CFLAGS="$CFLAGS -Wformat"
   12793 
   12794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12795 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12796 		cacheid=xorg_cv_cc_flag__Wformat
   12797 		if eval \${$cacheid+:} false; then :
   12798   $as_echo_n "(cached) " >&6
   12799 else
   12800   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12801 /* end confdefs.h.  */
   12802 int i;
   12803 int
   12804 main ()
   12805 {
   12806 
   12807   ;
   12808   return 0;
   12809 }
   12810 _ACEOF
   12811 if ac_fn_c_try_link "$LINENO"; then :
   12812   eval $cacheid=yes
   12813 else
   12814   eval $cacheid=no
   12815 fi
   12816 rm -f core conftest.err conftest.$ac_objext \
   12817     conftest$ac_exeext conftest.$ac_ext
   12818 fi
   12819 
   12820 
   12821 		CFLAGS="$xorg_testset_save_CFLAGS"
   12822 
   12823 		eval supported=\$$cacheid
   12824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12825 $as_echo "$supported" >&6; }
   12826 		if test "$supported" = "yes" ; then
   12827 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12828 			found="yes"
   12829 		fi
   12830 	fi
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 
   12840 
   12841 
   12842 
   12843 
   12844 
   12845 
   12846 
   12847 
   12848 xorg_testset_save_CFLAGS="$CFLAGS"
   12849 
   12850 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12851 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12852 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12853 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12854 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12855   $as_echo_n "(cached) " >&6
   12856 else
   12857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12858 /* end confdefs.h.  */
   12859 int i;
   12860 _ACEOF
   12861 if ac_fn_c_try_compile "$LINENO"; then :
   12862   xorg_cv_cc_flag_unknown_warning_option=yes
   12863 else
   12864   xorg_cv_cc_flag_unknown_warning_option=no
   12865 fi
   12866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12867 fi
   12868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12869 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12870 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12871 	CFLAGS="$xorg_testset_save_CFLAGS"
   12872 fi
   12873 
   12874 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12875 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12876 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12877 	fi
   12878 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12879 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12880 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12881 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12882   $as_echo_n "(cached) " >&6
   12883 else
   12884   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12885 /* end confdefs.h.  */
   12886 int i;
   12887 _ACEOF
   12888 if ac_fn_c_try_compile "$LINENO"; then :
   12889   xorg_cv_cc_flag_unused_command_line_argument=yes
   12890 else
   12891   xorg_cv_cc_flag_unused_command_line_argument=no
   12892 fi
   12893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12894 fi
   12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12896 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12897 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12898 	CFLAGS="$xorg_testset_save_CFLAGS"
   12899 fi
   12900 
   12901 found="no"
   12902 
   12903 	if test $found = "no" ; then
   12904 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12905 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12906 		fi
   12907 
   12908 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12909 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12910 		fi
   12911 
   12912 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12913 
   12914 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12915 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12916 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12917 		if eval \${$cacheid+:} false; then :
   12918   $as_echo_n "(cached) " >&6
   12919 else
   12920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12921 /* end confdefs.h.  */
   12922 int i;
   12923 int
   12924 main ()
   12925 {
   12926 
   12927   ;
   12928   return 0;
   12929 }
   12930 _ACEOF
   12931 if ac_fn_c_try_link "$LINENO"; then :
   12932   eval $cacheid=yes
   12933 else
   12934   eval $cacheid=no
   12935 fi
   12936 rm -f core conftest.err conftest.$ac_objext \
   12937     conftest$ac_exeext conftest.$ac_ext
   12938 fi
   12939 
   12940 
   12941 		CFLAGS="$xorg_testset_save_CFLAGS"
   12942 
   12943 		eval supported=\$$cacheid
   12944 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12945 $as_echo "$supported" >&6; }
   12946 		if test "$supported" = "yes" ; then
   12947 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12948 			found="yes"
   12949 		fi
   12950 	fi
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 
   12958 
   12959 
   12960 
   12961 
   12962 
   12963 
   12964 
   12965 
   12966 xorg_testset_save_CFLAGS="$CFLAGS"
   12967 
   12968 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12969 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12970 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12971 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12972 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12973   $as_echo_n "(cached) " >&6
   12974 else
   12975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12976 /* end confdefs.h.  */
   12977 int i;
   12978 _ACEOF
   12979 if ac_fn_c_try_compile "$LINENO"; then :
   12980   xorg_cv_cc_flag_unknown_warning_option=yes
   12981 else
   12982   xorg_cv_cc_flag_unknown_warning_option=no
   12983 fi
   12984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12985 fi
   12986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12987 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12988 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12989 	CFLAGS="$xorg_testset_save_CFLAGS"
   12990 fi
   12991 
   12992 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12993 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12994 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12995 	fi
   12996 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12997 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12998 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12999 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13000   $as_echo_n "(cached) " >&6
   13001 else
   13002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13003 /* end confdefs.h.  */
   13004 int i;
   13005 _ACEOF
   13006 if ac_fn_c_try_compile "$LINENO"; then :
   13007   xorg_cv_cc_flag_unused_command_line_argument=yes
   13008 else
   13009   xorg_cv_cc_flag_unused_command_line_argument=no
   13010 fi
   13011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13012 fi
   13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13014 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13015 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13016 	CFLAGS="$xorg_testset_save_CFLAGS"
   13017 fi
   13018 
   13019 found="no"
   13020 
   13021 	if test $found = "no" ; then
   13022 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13023 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13024 		fi
   13025 
   13026 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13027 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13028 		fi
   13029 
   13030 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13031 
   13032 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13033 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13034 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13035 		if eval \${$cacheid+:} false; then :
   13036   $as_echo_n "(cached) " >&6
   13037 else
   13038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13039 /* end confdefs.h.  */
   13040 int i;
   13041 int
   13042 main ()
   13043 {
   13044 
   13045   ;
   13046   return 0;
   13047 }
   13048 _ACEOF
   13049 if ac_fn_c_try_link "$LINENO"; then :
   13050   eval $cacheid=yes
   13051 else
   13052   eval $cacheid=no
   13053 fi
   13054 rm -f core conftest.err conftest.$ac_objext \
   13055     conftest$ac_exeext conftest.$ac_ext
   13056 fi
   13057 
   13058 
   13059 		CFLAGS="$xorg_testset_save_CFLAGS"
   13060 
   13061 		eval supported=\$$cacheid
   13062 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13063 $as_echo "$supported" >&6; }
   13064 		if test "$supported" = "yes" ; then
   13065 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13066 			found="yes"
   13067 		fi
   13068 	fi
   13069 
   13070 
   13071 
   13072 
   13073 
   13074 
   13075 
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 
   13082 
   13083 
   13084 xorg_testset_save_CFLAGS="$CFLAGS"
   13085 
   13086 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13087 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13088 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13089 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13090 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13091   $as_echo_n "(cached) " >&6
   13092 else
   13093   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13094 /* end confdefs.h.  */
   13095 int i;
   13096 _ACEOF
   13097 if ac_fn_c_try_compile "$LINENO"; then :
   13098   xorg_cv_cc_flag_unknown_warning_option=yes
   13099 else
   13100   xorg_cv_cc_flag_unknown_warning_option=no
   13101 fi
   13102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13103 fi
   13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13105 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13106 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13107 	CFLAGS="$xorg_testset_save_CFLAGS"
   13108 fi
   13109 
   13110 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13111 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13112 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13113 	fi
   13114 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13115 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13116 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13117 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13118   $as_echo_n "(cached) " >&6
   13119 else
   13120   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13121 /* end confdefs.h.  */
   13122 int i;
   13123 _ACEOF
   13124 if ac_fn_c_try_compile "$LINENO"; then :
   13125   xorg_cv_cc_flag_unused_command_line_argument=yes
   13126 else
   13127   xorg_cv_cc_flag_unused_command_line_argument=no
   13128 fi
   13129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13130 fi
   13131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13132 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13133 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13134 	CFLAGS="$xorg_testset_save_CFLAGS"
   13135 fi
   13136 
   13137 found="no"
   13138 
   13139 	if test $found = "no" ; then
   13140 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13141 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13142 		fi
   13143 
   13144 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13145 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13146 		fi
   13147 
   13148 		CFLAGS="$CFLAGS -Wnested-externs"
   13149 
   13150 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13151 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13152 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13153 		if eval \${$cacheid+:} false; then :
   13154   $as_echo_n "(cached) " >&6
   13155 else
   13156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13157 /* end confdefs.h.  */
   13158 int i;
   13159 int
   13160 main ()
   13161 {
   13162 
   13163   ;
   13164   return 0;
   13165 }
   13166 _ACEOF
   13167 if ac_fn_c_try_link "$LINENO"; then :
   13168   eval $cacheid=yes
   13169 else
   13170   eval $cacheid=no
   13171 fi
   13172 rm -f core conftest.err conftest.$ac_objext \
   13173     conftest$ac_exeext conftest.$ac_ext
   13174 fi
   13175 
   13176 
   13177 		CFLAGS="$xorg_testset_save_CFLAGS"
   13178 
   13179 		eval supported=\$$cacheid
   13180 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13181 $as_echo "$supported" >&6; }
   13182 		if test "$supported" = "yes" ; then
   13183 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13184 			found="yes"
   13185 		fi
   13186 	fi
   13187 
   13188 
   13189 
   13190 
   13191 
   13192 
   13193 
   13194 
   13195 
   13196 
   13197 
   13198 
   13199 
   13200 
   13201 
   13202 xorg_testset_save_CFLAGS="$CFLAGS"
   13203 
   13204 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13205 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13206 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13207 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13208 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13209   $as_echo_n "(cached) " >&6
   13210 else
   13211   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13212 /* end confdefs.h.  */
   13213 int i;
   13214 _ACEOF
   13215 if ac_fn_c_try_compile "$LINENO"; then :
   13216   xorg_cv_cc_flag_unknown_warning_option=yes
   13217 else
   13218   xorg_cv_cc_flag_unknown_warning_option=no
   13219 fi
   13220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13221 fi
   13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13223 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13224 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13225 	CFLAGS="$xorg_testset_save_CFLAGS"
   13226 fi
   13227 
   13228 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13229 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13230 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13231 	fi
   13232 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13233 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13234 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13235 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13236   $as_echo_n "(cached) " >&6
   13237 else
   13238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13239 /* end confdefs.h.  */
   13240 int i;
   13241 _ACEOF
   13242 if ac_fn_c_try_compile "$LINENO"; then :
   13243   xorg_cv_cc_flag_unused_command_line_argument=yes
   13244 else
   13245   xorg_cv_cc_flag_unused_command_line_argument=no
   13246 fi
   13247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13248 fi
   13249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13250 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13251 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13252 	CFLAGS="$xorg_testset_save_CFLAGS"
   13253 fi
   13254 
   13255 found="no"
   13256 
   13257 	if test $found = "no" ; then
   13258 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13260 		fi
   13261 
   13262 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13264 		fi
   13265 
   13266 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13267 
   13268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13269 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13270 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13271 		if eval \${$cacheid+:} false; then :
   13272   $as_echo_n "(cached) " >&6
   13273 else
   13274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13275 /* end confdefs.h.  */
   13276 int i;
   13277 int
   13278 main ()
   13279 {
   13280 
   13281   ;
   13282   return 0;
   13283 }
   13284 _ACEOF
   13285 if ac_fn_c_try_link "$LINENO"; then :
   13286   eval $cacheid=yes
   13287 else
   13288   eval $cacheid=no
   13289 fi
   13290 rm -f core conftest.err conftest.$ac_objext \
   13291     conftest$ac_exeext conftest.$ac_ext
   13292 fi
   13293 
   13294 
   13295 		CFLAGS="$xorg_testset_save_CFLAGS"
   13296 
   13297 		eval supported=\$$cacheid
   13298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13299 $as_echo "$supported" >&6; }
   13300 		if test "$supported" = "yes" ; then
   13301 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13302 			found="yes"
   13303 		fi
   13304 	fi
   13305 
   13306 
   13307 
   13308 
   13309 
   13310 
   13311 
   13312 
   13313 
   13314 
   13315 
   13316 
   13317 
   13318 
   13319 
   13320 xorg_testset_save_CFLAGS="$CFLAGS"
   13321 
   13322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13325 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13326 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13327   $as_echo_n "(cached) " >&6
   13328 else
   13329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13330 /* end confdefs.h.  */
   13331 int i;
   13332 _ACEOF
   13333 if ac_fn_c_try_compile "$LINENO"; then :
   13334   xorg_cv_cc_flag_unknown_warning_option=yes
   13335 else
   13336   xorg_cv_cc_flag_unknown_warning_option=no
   13337 fi
   13338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13339 fi
   13340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13341 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13343 	CFLAGS="$xorg_testset_save_CFLAGS"
   13344 fi
   13345 
   13346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13349 	fi
   13350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13351 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13352 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13353 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13354   $as_echo_n "(cached) " >&6
   13355 else
   13356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13357 /* end confdefs.h.  */
   13358 int i;
   13359 _ACEOF
   13360 if ac_fn_c_try_compile "$LINENO"; then :
   13361   xorg_cv_cc_flag_unused_command_line_argument=yes
   13362 else
   13363   xorg_cv_cc_flag_unused_command_line_argument=no
   13364 fi
   13365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13366 fi
   13367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13368 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13370 	CFLAGS="$xorg_testset_save_CFLAGS"
   13371 fi
   13372 
   13373 found="no"
   13374 
   13375 	if test $found = "no" ; then
   13376 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13378 		fi
   13379 
   13380 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13382 		fi
   13383 
   13384 		CFLAGS="$CFLAGS -Wold-style-definition"
   13385 
   13386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13387 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13388 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13389 		if eval \${$cacheid+:} false; then :
   13390   $as_echo_n "(cached) " >&6
   13391 else
   13392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13393 /* end confdefs.h.  */
   13394 int i;
   13395 int
   13396 main ()
   13397 {
   13398 
   13399   ;
   13400   return 0;
   13401 }
   13402 _ACEOF
   13403 if ac_fn_c_try_link "$LINENO"; then :
   13404   eval $cacheid=yes
   13405 else
   13406   eval $cacheid=no
   13407 fi
   13408 rm -f core conftest.err conftest.$ac_objext \
   13409     conftest$ac_exeext conftest.$ac_ext
   13410 fi
   13411 
   13412 
   13413 		CFLAGS="$xorg_testset_save_CFLAGS"
   13414 
   13415 		eval supported=\$$cacheid
   13416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13417 $as_echo "$supported" >&6; }
   13418 		if test "$supported" = "yes" ; then
   13419 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13420 			found="yes"
   13421 		fi
   13422 	fi
   13423 
   13424 	if test $found = "no" ; then
   13425 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13426 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13427 		fi
   13428 
   13429 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13430 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13431 		fi
   13432 
   13433 		CFLAGS="$CFLAGS -fd"
   13434 
   13435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13436 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13437 		cacheid=xorg_cv_cc_flag__fd
   13438 		if eval \${$cacheid+:} false; then :
   13439   $as_echo_n "(cached) " >&6
   13440 else
   13441   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13442 /* end confdefs.h.  */
   13443 int i;
   13444 int
   13445 main ()
   13446 {
   13447 
   13448   ;
   13449   return 0;
   13450 }
   13451 _ACEOF
   13452 if ac_fn_c_try_link "$LINENO"; then :
   13453   eval $cacheid=yes
   13454 else
   13455   eval $cacheid=no
   13456 fi
   13457 rm -f core conftest.err conftest.$ac_objext \
   13458     conftest$ac_exeext conftest.$ac_ext
   13459 fi
   13460 
   13461 
   13462 		CFLAGS="$xorg_testset_save_CFLAGS"
   13463 
   13464 		eval supported=\$$cacheid
   13465 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13466 $as_echo "$supported" >&6; }
   13467 		if test "$supported" = "yes" ; then
   13468 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13469 			found="yes"
   13470 		fi
   13471 	fi
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 
   13479 
   13480 
   13481 
   13482 
   13483 
   13484 
   13485 
   13486 
   13487 xorg_testset_save_CFLAGS="$CFLAGS"
   13488 
   13489 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13490 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13492 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13493 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13494   $as_echo_n "(cached) " >&6
   13495 else
   13496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13497 /* end confdefs.h.  */
   13498 int i;
   13499 _ACEOF
   13500 if ac_fn_c_try_compile "$LINENO"; then :
   13501   xorg_cv_cc_flag_unknown_warning_option=yes
   13502 else
   13503   xorg_cv_cc_flag_unknown_warning_option=no
   13504 fi
   13505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13506 fi
   13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13508 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13509 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13510 	CFLAGS="$xorg_testset_save_CFLAGS"
   13511 fi
   13512 
   13513 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13514 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13515 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13516 	fi
   13517 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13519 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13520 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13521   $as_echo_n "(cached) " >&6
   13522 else
   13523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13524 /* end confdefs.h.  */
   13525 int i;
   13526 _ACEOF
   13527 if ac_fn_c_try_compile "$LINENO"; then :
   13528   xorg_cv_cc_flag_unused_command_line_argument=yes
   13529 else
   13530   xorg_cv_cc_flag_unused_command_line_argument=no
   13531 fi
   13532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13533 fi
   13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13535 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13536 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13537 	CFLAGS="$xorg_testset_save_CFLAGS"
   13538 fi
   13539 
   13540 found="no"
   13541 
   13542 	if test $found = "no" ; then
   13543 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13544 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13545 		fi
   13546 
   13547 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13548 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13549 		fi
   13550 
   13551 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13552 
   13553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13554 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13555 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13556 		if eval \${$cacheid+:} false; then :
   13557   $as_echo_n "(cached) " >&6
   13558 else
   13559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13560 /* end confdefs.h.  */
   13561 int i;
   13562 int
   13563 main ()
   13564 {
   13565 
   13566   ;
   13567   return 0;
   13568 }
   13569 _ACEOF
   13570 if ac_fn_c_try_link "$LINENO"; then :
   13571   eval $cacheid=yes
   13572 else
   13573   eval $cacheid=no
   13574 fi
   13575 rm -f core conftest.err conftest.$ac_objext \
   13576     conftest$ac_exeext conftest.$ac_ext
   13577 fi
   13578 
   13579 
   13580 		CFLAGS="$xorg_testset_save_CFLAGS"
   13581 
   13582 		eval supported=\$$cacheid
   13583 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13584 $as_echo "$supported" >&6; }
   13585 		if test "$supported" = "yes" ; then
   13586 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13587 			found="yes"
   13588 		fi
   13589 	fi
   13590 
   13591 
   13592 
   13593 
   13594 
   13595 # This chunk adds additional warnings that could catch undesired effects.
   13596 
   13597 
   13598 
   13599 
   13600 
   13601 
   13602 
   13603 
   13604 
   13605 
   13606 
   13607 
   13608 
   13609 xorg_testset_save_CFLAGS="$CFLAGS"
   13610 
   13611 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13612 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13613 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13614 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13615 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13616   $as_echo_n "(cached) " >&6
   13617 else
   13618   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13619 /* end confdefs.h.  */
   13620 int i;
   13621 _ACEOF
   13622 if ac_fn_c_try_compile "$LINENO"; then :
   13623   xorg_cv_cc_flag_unknown_warning_option=yes
   13624 else
   13625   xorg_cv_cc_flag_unknown_warning_option=no
   13626 fi
   13627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13628 fi
   13629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13630 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13631 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13632 	CFLAGS="$xorg_testset_save_CFLAGS"
   13633 fi
   13634 
   13635 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13636 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13637 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13638 	fi
   13639 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13640 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13641 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13642 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13643   $as_echo_n "(cached) " >&6
   13644 else
   13645   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13646 /* end confdefs.h.  */
   13647 int i;
   13648 _ACEOF
   13649 if ac_fn_c_try_compile "$LINENO"; then :
   13650   xorg_cv_cc_flag_unused_command_line_argument=yes
   13651 else
   13652   xorg_cv_cc_flag_unused_command_line_argument=no
   13653 fi
   13654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13655 fi
   13656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13657 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13658 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13659 	CFLAGS="$xorg_testset_save_CFLAGS"
   13660 fi
   13661 
   13662 found="no"
   13663 
   13664 	if test $found = "no" ; then
   13665 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13666 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13667 		fi
   13668 
   13669 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13670 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13671 		fi
   13672 
   13673 		CFLAGS="$CFLAGS -Wunused"
   13674 
   13675 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13676 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13677 		cacheid=xorg_cv_cc_flag__Wunused
   13678 		if eval \${$cacheid+:} false; then :
   13679   $as_echo_n "(cached) " >&6
   13680 else
   13681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13682 /* end confdefs.h.  */
   13683 int i;
   13684 int
   13685 main ()
   13686 {
   13687 
   13688   ;
   13689   return 0;
   13690 }
   13691 _ACEOF
   13692 if ac_fn_c_try_link "$LINENO"; then :
   13693   eval $cacheid=yes
   13694 else
   13695   eval $cacheid=no
   13696 fi
   13697 rm -f core conftest.err conftest.$ac_objext \
   13698     conftest$ac_exeext conftest.$ac_ext
   13699 fi
   13700 
   13701 
   13702 		CFLAGS="$xorg_testset_save_CFLAGS"
   13703 
   13704 		eval supported=\$$cacheid
   13705 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13706 $as_echo "$supported" >&6; }
   13707 		if test "$supported" = "yes" ; then
   13708 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13709 			found="yes"
   13710 		fi
   13711 	fi
   13712 
   13713 
   13714 
   13715 
   13716 
   13717 
   13718 
   13719 
   13720 
   13721 
   13722 
   13723 
   13724 
   13725 
   13726 
   13727 xorg_testset_save_CFLAGS="$CFLAGS"
   13728 
   13729 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13730 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13731 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13732 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13733 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13734   $as_echo_n "(cached) " >&6
   13735 else
   13736   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13737 /* end confdefs.h.  */
   13738 int i;
   13739 _ACEOF
   13740 if ac_fn_c_try_compile "$LINENO"; then :
   13741   xorg_cv_cc_flag_unknown_warning_option=yes
   13742 else
   13743   xorg_cv_cc_flag_unknown_warning_option=no
   13744 fi
   13745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13746 fi
   13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13748 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13749 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13750 	CFLAGS="$xorg_testset_save_CFLAGS"
   13751 fi
   13752 
   13753 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13754 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13755 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13756 	fi
   13757 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13758 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13759 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13760 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13761   $as_echo_n "(cached) " >&6
   13762 else
   13763   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13764 /* end confdefs.h.  */
   13765 int i;
   13766 _ACEOF
   13767 if ac_fn_c_try_compile "$LINENO"; then :
   13768   xorg_cv_cc_flag_unused_command_line_argument=yes
   13769 else
   13770   xorg_cv_cc_flag_unused_command_line_argument=no
   13771 fi
   13772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13773 fi
   13774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13775 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13776 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13777 	CFLAGS="$xorg_testset_save_CFLAGS"
   13778 fi
   13779 
   13780 found="no"
   13781 
   13782 	if test $found = "no" ; then
   13783 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13784 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13785 		fi
   13786 
   13787 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13788 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13789 		fi
   13790 
   13791 		CFLAGS="$CFLAGS -Wuninitialized"
   13792 
   13793 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13794 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13795 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13796 		if eval \${$cacheid+:} false; then :
   13797   $as_echo_n "(cached) " >&6
   13798 else
   13799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13800 /* end confdefs.h.  */
   13801 int i;
   13802 int
   13803 main ()
   13804 {
   13805 
   13806   ;
   13807   return 0;
   13808 }
   13809 _ACEOF
   13810 if ac_fn_c_try_link "$LINENO"; then :
   13811   eval $cacheid=yes
   13812 else
   13813   eval $cacheid=no
   13814 fi
   13815 rm -f core conftest.err conftest.$ac_objext \
   13816     conftest$ac_exeext conftest.$ac_ext
   13817 fi
   13818 
   13819 
   13820 		CFLAGS="$xorg_testset_save_CFLAGS"
   13821 
   13822 		eval supported=\$$cacheid
   13823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13824 $as_echo "$supported" >&6; }
   13825 		if test "$supported" = "yes" ; then
   13826 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13827 			found="yes"
   13828 		fi
   13829 	fi
   13830 
   13831 
   13832 
   13833 
   13834 
   13835 
   13836 
   13837 
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 xorg_testset_save_CFLAGS="$CFLAGS"
   13846 
   13847 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13848 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13849 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13850 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13851 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13852   $as_echo_n "(cached) " >&6
   13853 else
   13854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13855 /* end confdefs.h.  */
   13856 int i;
   13857 _ACEOF
   13858 if ac_fn_c_try_compile "$LINENO"; then :
   13859   xorg_cv_cc_flag_unknown_warning_option=yes
   13860 else
   13861   xorg_cv_cc_flag_unknown_warning_option=no
   13862 fi
   13863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13864 fi
   13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13866 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13867 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13868 	CFLAGS="$xorg_testset_save_CFLAGS"
   13869 fi
   13870 
   13871 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13872 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13873 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13874 	fi
   13875 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13876 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13877 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13878 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13879   $as_echo_n "(cached) " >&6
   13880 else
   13881   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13882 /* end confdefs.h.  */
   13883 int i;
   13884 _ACEOF
   13885 if ac_fn_c_try_compile "$LINENO"; then :
   13886   xorg_cv_cc_flag_unused_command_line_argument=yes
   13887 else
   13888   xorg_cv_cc_flag_unused_command_line_argument=no
   13889 fi
   13890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13891 fi
   13892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13893 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13894 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13895 	CFLAGS="$xorg_testset_save_CFLAGS"
   13896 fi
   13897 
   13898 found="no"
   13899 
   13900 	if test $found = "no" ; then
   13901 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13902 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13903 		fi
   13904 
   13905 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13906 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13907 		fi
   13908 
   13909 		CFLAGS="$CFLAGS -Wshadow"
   13910 
   13911 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13912 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13913 		cacheid=xorg_cv_cc_flag__Wshadow
   13914 		if eval \${$cacheid+:} false; then :
   13915   $as_echo_n "(cached) " >&6
   13916 else
   13917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13918 /* end confdefs.h.  */
   13919 int i;
   13920 int
   13921 main ()
   13922 {
   13923 
   13924   ;
   13925   return 0;
   13926 }
   13927 _ACEOF
   13928 if ac_fn_c_try_link "$LINENO"; then :
   13929   eval $cacheid=yes
   13930 else
   13931   eval $cacheid=no
   13932 fi
   13933 rm -f core conftest.err conftest.$ac_objext \
   13934     conftest$ac_exeext conftest.$ac_ext
   13935 fi
   13936 
   13937 
   13938 		CFLAGS="$xorg_testset_save_CFLAGS"
   13939 
   13940 		eval supported=\$$cacheid
   13941 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13942 $as_echo "$supported" >&6; }
   13943 		if test "$supported" = "yes" ; then
   13944 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13945 			found="yes"
   13946 		fi
   13947 	fi
   13948 
   13949 
   13950 
   13951 
   13952 
   13953 
   13954 
   13955 
   13956 
   13957 
   13958 
   13959 
   13960 
   13961 
   13962 
   13963 xorg_testset_save_CFLAGS="$CFLAGS"
   13964 
   13965 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13966 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13967 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13968 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13969 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13970   $as_echo_n "(cached) " >&6
   13971 else
   13972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13973 /* end confdefs.h.  */
   13974 int i;
   13975 _ACEOF
   13976 if ac_fn_c_try_compile "$LINENO"; then :
   13977   xorg_cv_cc_flag_unknown_warning_option=yes
   13978 else
   13979   xorg_cv_cc_flag_unknown_warning_option=no
   13980 fi
   13981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13982 fi
   13983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13984 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13985 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13986 	CFLAGS="$xorg_testset_save_CFLAGS"
   13987 fi
   13988 
   13989 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13990 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13991 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13992 	fi
   13993 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13994 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13995 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13996 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13997   $as_echo_n "(cached) " >&6
   13998 else
   13999   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14000 /* end confdefs.h.  */
   14001 int i;
   14002 _ACEOF
   14003 if ac_fn_c_try_compile "$LINENO"; then :
   14004   xorg_cv_cc_flag_unused_command_line_argument=yes
   14005 else
   14006   xorg_cv_cc_flag_unused_command_line_argument=no
   14007 fi
   14008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14009 fi
   14010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14011 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14012 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14013 	CFLAGS="$xorg_testset_save_CFLAGS"
   14014 fi
   14015 
   14016 found="no"
   14017 
   14018 	if test $found = "no" ; then
   14019 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14020 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14021 		fi
   14022 
   14023 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14024 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14025 		fi
   14026 
   14027 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14028 
   14029 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14030 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14031 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14032 		if eval \${$cacheid+:} false; then :
   14033   $as_echo_n "(cached) " >&6
   14034 else
   14035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14036 /* end confdefs.h.  */
   14037 int i;
   14038 int
   14039 main ()
   14040 {
   14041 
   14042   ;
   14043   return 0;
   14044 }
   14045 _ACEOF
   14046 if ac_fn_c_try_link "$LINENO"; then :
   14047   eval $cacheid=yes
   14048 else
   14049   eval $cacheid=no
   14050 fi
   14051 rm -f core conftest.err conftest.$ac_objext \
   14052     conftest$ac_exeext conftest.$ac_ext
   14053 fi
   14054 
   14055 
   14056 		CFLAGS="$xorg_testset_save_CFLAGS"
   14057 
   14058 		eval supported=\$$cacheid
   14059 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14060 $as_echo "$supported" >&6; }
   14061 		if test "$supported" = "yes" ; then
   14062 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14063 			found="yes"
   14064 		fi
   14065 	fi
   14066 
   14067 
   14068 
   14069 
   14070 
   14071 
   14072 
   14073 
   14074 
   14075 
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 xorg_testset_save_CFLAGS="$CFLAGS"
   14082 
   14083 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14084 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14085 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14086 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14087 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14088   $as_echo_n "(cached) " >&6
   14089 else
   14090   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14091 /* end confdefs.h.  */
   14092 int i;
   14093 _ACEOF
   14094 if ac_fn_c_try_compile "$LINENO"; then :
   14095   xorg_cv_cc_flag_unknown_warning_option=yes
   14096 else
   14097   xorg_cv_cc_flag_unknown_warning_option=no
   14098 fi
   14099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14100 fi
   14101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14102 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14103 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14104 	CFLAGS="$xorg_testset_save_CFLAGS"
   14105 fi
   14106 
   14107 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14108 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14109 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14110 	fi
   14111 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14112 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14113 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14114 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14115   $as_echo_n "(cached) " >&6
   14116 else
   14117   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14118 /* end confdefs.h.  */
   14119 int i;
   14120 _ACEOF
   14121 if ac_fn_c_try_compile "$LINENO"; then :
   14122   xorg_cv_cc_flag_unused_command_line_argument=yes
   14123 else
   14124   xorg_cv_cc_flag_unused_command_line_argument=no
   14125 fi
   14126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14127 fi
   14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14129 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14130 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14131 	CFLAGS="$xorg_testset_save_CFLAGS"
   14132 fi
   14133 
   14134 found="no"
   14135 
   14136 	if test $found = "no" ; then
   14137 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14138 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14139 		fi
   14140 
   14141 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14142 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14143 		fi
   14144 
   14145 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14146 
   14147 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14148 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14149 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14150 		if eval \${$cacheid+:} false; then :
   14151   $as_echo_n "(cached) " >&6
   14152 else
   14153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14154 /* end confdefs.h.  */
   14155 int i;
   14156 int
   14157 main ()
   14158 {
   14159 
   14160   ;
   14161   return 0;
   14162 }
   14163 _ACEOF
   14164 if ac_fn_c_try_link "$LINENO"; then :
   14165   eval $cacheid=yes
   14166 else
   14167   eval $cacheid=no
   14168 fi
   14169 rm -f core conftest.err conftest.$ac_objext \
   14170     conftest$ac_exeext conftest.$ac_ext
   14171 fi
   14172 
   14173 
   14174 		CFLAGS="$xorg_testset_save_CFLAGS"
   14175 
   14176 		eval supported=\$$cacheid
   14177 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14178 $as_echo "$supported" >&6; }
   14179 		if test "$supported" = "yes" ; then
   14180 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14181 			found="yes"
   14182 		fi
   14183 	fi
   14184 
   14185 
   14186 
   14187 
   14188 
   14189 
   14190 
   14191 
   14192 
   14193 
   14194 
   14195 
   14196 
   14197 
   14198 
   14199 xorg_testset_save_CFLAGS="$CFLAGS"
   14200 
   14201 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14202 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14203 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14204 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14205 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14206   $as_echo_n "(cached) " >&6
   14207 else
   14208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14209 /* end confdefs.h.  */
   14210 int i;
   14211 _ACEOF
   14212 if ac_fn_c_try_compile "$LINENO"; then :
   14213   xorg_cv_cc_flag_unknown_warning_option=yes
   14214 else
   14215   xorg_cv_cc_flag_unknown_warning_option=no
   14216 fi
   14217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14218 fi
   14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14220 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14221 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14222 	CFLAGS="$xorg_testset_save_CFLAGS"
   14223 fi
   14224 
   14225 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14226 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14227 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14228 	fi
   14229 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14231 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14232 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14233   $as_echo_n "(cached) " >&6
   14234 else
   14235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14236 /* end confdefs.h.  */
   14237 int i;
   14238 _ACEOF
   14239 if ac_fn_c_try_compile "$LINENO"; then :
   14240   xorg_cv_cc_flag_unused_command_line_argument=yes
   14241 else
   14242   xorg_cv_cc_flag_unused_command_line_argument=no
   14243 fi
   14244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14245 fi
   14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14247 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14248 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14249 	CFLAGS="$xorg_testset_save_CFLAGS"
   14250 fi
   14251 
   14252 found="no"
   14253 
   14254 	if test $found = "no" ; then
   14255 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14256 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14257 		fi
   14258 
   14259 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14260 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14261 		fi
   14262 
   14263 		CFLAGS="$CFLAGS -Wredundant-decls"
   14264 
   14265 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14266 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14267 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14268 		if eval \${$cacheid+:} false; then :
   14269   $as_echo_n "(cached) " >&6
   14270 else
   14271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14272 /* end confdefs.h.  */
   14273 int i;
   14274 int
   14275 main ()
   14276 {
   14277 
   14278   ;
   14279   return 0;
   14280 }
   14281 _ACEOF
   14282 if ac_fn_c_try_link "$LINENO"; then :
   14283   eval $cacheid=yes
   14284 else
   14285   eval $cacheid=no
   14286 fi
   14287 rm -f core conftest.err conftest.$ac_objext \
   14288     conftest$ac_exeext conftest.$ac_ext
   14289 fi
   14290 
   14291 
   14292 		CFLAGS="$xorg_testset_save_CFLAGS"
   14293 
   14294 		eval supported=\$$cacheid
   14295 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14296 $as_echo "$supported" >&6; }
   14297 		if test "$supported" = "yes" ; then
   14298 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14299 			found="yes"
   14300 		fi
   14301 	fi
   14302 
   14303 
   14304 
   14305 
   14306 
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 
   14313 
   14314 
   14315 
   14316 
   14317 xorg_testset_save_CFLAGS="$CFLAGS"
   14318 
   14319 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14320 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14321 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14322 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14323 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14324   $as_echo_n "(cached) " >&6
   14325 else
   14326   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14327 /* end confdefs.h.  */
   14328 int i;
   14329 _ACEOF
   14330 if ac_fn_c_try_compile "$LINENO"; then :
   14331   xorg_cv_cc_flag_unknown_warning_option=yes
   14332 else
   14333   xorg_cv_cc_flag_unknown_warning_option=no
   14334 fi
   14335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14336 fi
   14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14338 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14339 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14340 	CFLAGS="$xorg_testset_save_CFLAGS"
   14341 fi
   14342 
   14343 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14344 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14345 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14346 	fi
   14347 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14349 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14350 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14351   $as_echo_n "(cached) " >&6
   14352 else
   14353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14354 /* end confdefs.h.  */
   14355 int i;
   14356 _ACEOF
   14357 if ac_fn_c_try_compile "$LINENO"; then :
   14358   xorg_cv_cc_flag_unused_command_line_argument=yes
   14359 else
   14360   xorg_cv_cc_flag_unused_command_line_argument=no
   14361 fi
   14362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14363 fi
   14364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14365 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14366 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14367 	CFLAGS="$xorg_testset_save_CFLAGS"
   14368 fi
   14369 
   14370 found="no"
   14371 
   14372 	if test $found = "no" ; then
   14373 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14374 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14375 		fi
   14376 
   14377 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14378 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14379 		fi
   14380 
   14381 		CFLAGS="$CFLAGS -Wlogical-op"
   14382 
   14383 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14384 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14385 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14386 		if eval \${$cacheid+:} false; then :
   14387   $as_echo_n "(cached) " >&6
   14388 else
   14389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14390 /* end confdefs.h.  */
   14391 int i;
   14392 int
   14393 main ()
   14394 {
   14395 
   14396   ;
   14397   return 0;
   14398 }
   14399 _ACEOF
   14400 if ac_fn_c_try_link "$LINENO"; then :
   14401   eval $cacheid=yes
   14402 else
   14403   eval $cacheid=no
   14404 fi
   14405 rm -f core conftest.err conftest.$ac_objext \
   14406     conftest$ac_exeext conftest.$ac_ext
   14407 fi
   14408 
   14409 
   14410 		CFLAGS="$xorg_testset_save_CFLAGS"
   14411 
   14412 		eval supported=\$$cacheid
   14413 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14414 $as_echo "$supported" >&6; }
   14415 		if test "$supported" = "yes" ; then
   14416 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14417 			found="yes"
   14418 		fi
   14419 	fi
   14420 
   14421 
   14422 
   14423 # These are currently disabled because they are noisy.  They will be enabled
   14424 # in the future once the codebase is sufficiently modernized to silence
   14425 # them.  For now, I don't want them to drown out the other warnings.
   14426 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14427 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14428 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14429 
   14430 # Turn some warnings into errors, so we don't accidently get successful builds
   14431 # when there are problems that should be fixed.
   14432 
   14433 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14434 
   14435 
   14436 
   14437 
   14438 
   14439 
   14440 
   14441 
   14442 
   14443 
   14444 
   14445 
   14446 
   14447 xorg_testset_save_CFLAGS="$CFLAGS"
   14448 
   14449 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14450 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14451 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14452 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14453 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14454   $as_echo_n "(cached) " >&6
   14455 else
   14456   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14457 /* end confdefs.h.  */
   14458 int i;
   14459 _ACEOF
   14460 if ac_fn_c_try_compile "$LINENO"; then :
   14461   xorg_cv_cc_flag_unknown_warning_option=yes
   14462 else
   14463   xorg_cv_cc_flag_unknown_warning_option=no
   14464 fi
   14465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14466 fi
   14467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14468 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14469 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14470 	CFLAGS="$xorg_testset_save_CFLAGS"
   14471 fi
   14472 
   14473 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14474 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14475 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14476 	fi
   14477 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14478 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14479 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14480 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14481   $as_echo_n "(cached) " >&6
   14482 else
   14483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14484 /* end confdefs.h.  */
   14485 int i;
   14486 _ACEOF
   14487 if ac_fn_c_try_compile "$LINENO"; then :
   14488   xorg_cv_cc_flag_unused_command_line_argument=yes
   14489 else
   14490   xorg_cv_cc_flag_unused_command_line_argument=no
   14491 fi
   14492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14493 fi
   14494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14495 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14496 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14497 	CFLAGS="$xorg_testset_save_CFLAGS"
   14498 fi
   14499 
   14500 found="no"
   14501 
   14502 	if test $found = "no" ; then
   14503 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14504 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14505 		fi
   14506 
   14507 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14508 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14509 		fi
   14510 
   14511 		CFLAGS="$CFLAGS -Werror=implicit"
   14512 
   14513 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14514 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14515 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14516 		if eval \${$cacheid+:} false; then :
   14517   $as_echo_n "(cached) " >&6
   14518 else
   14519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14520 /* end confdefs.h.  */
   14521 int i;
   14522 int
   14523 main ()
   14524 {
   14525 
   14526   ;
   14527   return 0;
   14528 }
   14529 _ACEOF
   14530 if ac_fn_c_try_link "$LINENO"; then :
   14531   eval $cacheid=yes
   14532 else
   14533   eval $cacheid=no
   14534 fi
   14535 rm -f core conftest.err conftest.$ac_objext \
   14536     conftest$ac_exeext conftest.$ac_ext
   14537 fi
   14538 
   14539 
   14540 		CFLAGS="$xorg_testset_save_CFLAGS"
   14541 
   14542 		eval supported=\$$cacheid
   14543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14544 $as_echo "$supported" >&6; }
   14545 		if test "$supported" = "yes" ; then
   14546 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14547 			found="yes"
   14548 		fi
   14549 	fi
   14550 
   14551 	if test $found = "no" ; then
   14552 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14553 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14554 		fi
   14555 
   14556 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14557 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14558 		fi
   14559 
   14560 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14561 
   14562 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14563 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14564 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14565 		if eval \${$cacheid+:} false; then :
   14566   $as_echo_n "(cached) " >&6
   14567 else
   14568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14569 /* end confdefs.h.  */
   14570 int i;
   14571 int
   14572 main ()
   14573 {
   14574 
   14575   ;
   14576   return 0;
   14577 }
   14578 _ACEOF
   14579 if ac_fn_c_try_link "$LINENO"; then :
   14580   eval $cacheid=yes
   14581 else
   14582   eval $cacheid=no
   14583 fi
   14584 rm -f core conftest.err conftest.$ac_objext \
   14585     conftest$ac_exeext conftest.$ac_ext
   14586 fi
   14587 
   14588 
   14589 		CFLAGS="$xorg_testset_save_CFLAGS"
   14590 
   14591 		eval supported=\$$cacheid
   14592 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14593 $as_echo "$supported" >&6; }
   14594 		if test "$supported" = "yes" ; then
   14595 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14596 			found="yes"
   14597 		fi
   14598 	fi
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 
   14609 
   14610 
   14611 
   14612 
   14613 
   14614 xorg_testset_save_CFLAGS="$CFLAGS"
   14615 
   14616 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14617 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14619 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14620 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14621   $as_echo_n "(cached) " >&6
   14622 else
   14623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14624 /* end confdefs.h.  */
   14625 int i;
   14626 _ACEOF
   14627 if ac_fn_c_try_compile "$LINENO"; then :
   14628   xorg_cv_cc_flag_unknown_warning_option=yes
   14629 else
   14630   xorg_cv_cc_flag_unknown_warning_option=no
   14631 fi
   14632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14633 fi
   14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14635 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14636 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14637 	CFLAGS="$xorg_testset_save_CFLAGS"
   14638 fi
   14639 
   14640 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14641 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14642 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14643 	fi
   14644 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14645 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14646 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14647 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14648   $as_echo_n "(cached) " >&6
   14649 else
   14650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14651 /* end confdefs.h.  */
   14652 int i;
   14653 _ACEOF
   14654 if ac_fn_c_try_compile "$LINENO"; then :
   14655   xorg_cv_cc_flag_unused_command_line_argument=yes
   14656 else
   14657   xorg_cv_cc_flag_unused_command_line_argument=no
   14658 fi
   14659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14660 fi
   14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14662 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14663 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14664 	CFLAGS="$xorg_testset_save_CFLAGS"
   14665 fi
   14666 
   14667 found="no"
   14668 
   14669 	if test $found = "no" ; then
   14670 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14671 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14672 		fi
   14673 
   14674 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14675 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14676 		fi
   14677 
   14678 		CFLAGS="$CFLAGS -Werror=nonnull"
   14679 
   14680 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14681 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14682 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14683 		if eval \${$cacheid+:} false; then :
   14684   $as_echo_n "(cached) " >&6
   14685 else
   14686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14687 /* end confdefs.h.  */
   14688 int i;
   14689 int
   14690 main ()
   14691 {
   14692 
   14693   ;
   14694   return 0;
   14695 }
   14696 _ACEOF
   14697 if ac_fn_c_try_link "$LINENO"; then :
   14698   eval $cacheid=yes
   14699 else
   14700   eval $cacheid=no
   14701 fi
   14702 rm -f core conftest.err conftest.$ac_objext \
   14703     conftest$ac_exeext conftest.$ac_ext
   14704 fi
   14705 
   14706 
   14707 		CFLAGS="$xorg_testset_save_CFLAGS"
   14708 
   14709 		eval supported=\$$cacheid
   14710 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14711 $as_echo "$supported" >&6; }
   14712 		if test "$supported" = "yes" ; then
   14713 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14714 			found="yes"
   14715 		fi
   14716 	fi
   14717 
   14718 
   14719 
   14720 
   14721 
   14722 
   14723 
   14724 
   14725 
   14726 
   14727 
   14728 
   14729 
   14730 
   14731 
   14732 xorg_testset_save_CFLAGS="$CFLAGS"
   14733 
   14734 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14735 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14737 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14738 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14739   $as_echo_n "(cached) " >&6
   14740 else
   14741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14742 /* end confdefs.h.  */
   14743 int i;
   14744 _ACEOF
   14745 if ac_fn_c_try_compile "$LINENO"; then :
   14746   xorg_cv_cc_flag_unknown_warning_option=yes
   14747 else
   14748   xorg_cv_cc_flag_unknown_warning_option=no
   14749 fi
   14750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14751 fi
   14752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14753 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14754 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14755 	CFLAGS="$xorg_testset_save_CFLAGS"
   14756 fi
   14757 
   14758 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14759 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14760 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14761 	fi
   14762 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14763 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14764 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14765 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14766   $as_echo_n "(cached) " >&6
   14767 else
   14768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14769 /* end confdefs.h.  */
   14770 int i;
   14771 _ACEOF
   14772 if ac_fn_c_try_compile "$LINENO"; then :
   14773   xorg_cv_cc_flag_unused_command_line_argument=yes
   14774 else
   14775   xorg_cv_cc_flag_unused_command_line_argument=no
   14776 fi
   14777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14778 fi
   14779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14780 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14781 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14782 	CFLAGS="$xorg_testset_save_CFLAGS"
   14783 fi
   14784 
   14785 found="no"
   14786 
   14787 	if test $found = "no" ; then
   14788 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14789 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14790 		fi
   14791 
   14792 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14793 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14794 		fi
   14795 
   14796 		CFLAGS="$CFLAGS -Werror=init-self"
   14797 
   14798 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14799 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14800 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14801 		if eval \${$cacheid+:} false; then :
   14802   $as_echo_n "(cached) " >&6
   14803 else
   14804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14805 /* end confdefs.h.  */
   14806 int i;
   14807 int
   14808 main ()
   14809 {
   14810 
   14811   ;
   14812   return 0;
   14813 }
   14814 _ACEOF
   14815 if ac_fn_c_try_link "$LINENO"; then :
   14816   eval $cacheid=yes
   14817 else
   14818   eval $cacheid=no
   14819 fi
   14820 rm -f core conftest.err conftest.$ac_objext \
   14821     conftest$ac_exeext conftest.$ac_ext
   14822 fi
   14823 
   14824 
   14825 		CFLAGS="$xorg_testset_save_CFLAGS"
   14826 
   14827 		eval supported=\$$cacheid
   14828 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14829 $as_echo "$supported" >&6; }
   14830 		if test "$supported" = "yes" ; then
   14831 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14832 			found="yes"
   14833 		fi
   14834 	fi
   14835 
   14836 
   14837 
   14838 
   14839 
   14840 
   14841 
   14842 
   14843 
   14844 
   14845 
   14846 
   14847 
   14848 
   14849 
   14850 xorg_testset_save_CFLAGS="$CFLAGS"
   14851 
   14852 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14853 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14854 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14855 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14856 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14857   $as_echo_n "(cached) " >&6
   14858 else
   14859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14860 /* end confdefs.h.  */
   14861 int i;
   14862 _ACEOF
   14863 if ac_fn_c_try_compile "$LINENO"; then :
   14864   xorg_cv_cc_flag_unknown_warning_option=yes
   14865 else
   14866   xorg_cv_cc_flag_unknown_warning_option=no
   14867 fi
   14868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14869 fi
   14870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14871 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14872 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14873 	CFLAGS="$xorg_testset_save_CFLAGS"
   14874 fi
   14875 
   14876 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14877 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14878 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14879 	fi
   14880 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14881 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14882 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14883 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14884   $as_echo_n "(cached) " >&6
   14885 else
   14886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14887 /* end confdefs.h.  */
   14888 int i;
   14889 _ACEOF
   14890 if ac_fn_c_try_compile "$LINENO"; then :
   14891   xorg_cv_cc_flag_unused_command_line_argument=yes
   14892 else
   14893   xorg_cv_cc_flag_unused_command_line_argument=no
   14894 fi
   14895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14896 fi
   14897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14898 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14899 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14900 	CFLAGS="$xorg_testset_save_CFLAGS"
   14901 fi
   14902 
   14903 found="no"
   14904 
   14905 	if test $found = "no" ; then
   14906 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14907 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14908 		fi
   14909 
   14910 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14911 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14912 		fi
   14913 
   14914 		CFLAGS="$CFLAGS -Werror=main"
   14915 
   14916 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14917 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14918 		cacheid=xorg_cv_cc_flag__Werror_main
   14919 		if eval \${$cacheid+:} false; then :
   14920   $as_echo_n "(cached) " >&6
   14921 else
   14922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14923 /* end confdefs.h.  */
   14924 int i;
   14925 int
   14926 main ()
   14927 {
   14928 
   14929   ;
   14930   return 0;
   14931 }
   14932 _ACEOF
   14933 if ac_fn_c_try_link "$LINENO"; then :
   14934   eval $cacheid=yes
   14935 else
   14936   eval $cacheid=no
   14937 fi
   14938 rm -f core conftest.err conftest.$ac_objext \
   14939     conftest$ac_exeext conftest.$ac_ext
   14940 fi
   14941 
   14942 
   14943 		CFLAGS="$xorg_testset_save_CFLAGS"
   14944 
   14945 		eval supported=\$$cacheid
   14946 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14947 $as_echo "$supported" >&6; }
   14948 		if test "$supported" = "yes" ; then
   14949 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14950 			found="yes"
   14951 		fi
   14952 	fi
   14953 
   14954 
   14955 
   14956 
   14957 
   14958 
   14959 
   14960 
   14961 
   14962 
   14963 
   14964 
   14965 
   14966 
   14967 
   14968 xorg_testset_save_CFLAGS="$CFLAGS"
   14969 
   14970 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14971 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14972 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14973 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14974 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14975   $as_echo_n "(cached) " >&6
   14976 else
   14977   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14978 /* end confdefs.h.  */
   14979 int i;
   14980 _ACEOF
   14981 if ac_fn_c_try_compile "$LINENO"; then :
   14982   xorg_cv_cc_flag_unknown_warning_option=yes
   14983 else
   14984   xorg_cv_cc_flag_unknown_warning_option=no
   14985 fi
   14986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14987 fi
   14988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14989 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14990 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14991 	CFLAGS="$xorg_testset_save_CFLAGS"
   14992 fi
   14993 
   14994 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14995 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14996 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14997 	fi
   14998 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14999 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15000 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15001 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15002   $as_echo_n "(cached) " >&6
   15003 else
   15004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15005 /* end confdefs.h.  */
   15006 int i;
   15007 _ACEOF
   15008 if ac_fn_c_try_compile "$LINENO"; then :
   15009   xorg_cv_cc_flag_unused_command_line_argument=yes
   15010 else
   15011   xorg_cv_cc_flag_unused_command_line_argument=no
   15012 fi
   15013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15014 fi
   15015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15016 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15017 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15018 	CFLAGS="$xorg_testset_save_CFLAGS"
   15019 fi
   15020 
   15021 found="no"
   15022 
   15023 	if test $found = "no" ; then
   15024 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15025 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15026 		fi
   15027 
   15028 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15029 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15030 		fi
   15031 
   15032 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15033 
   15034 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15035 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15036 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15037 		if eval \${$cacheid+:} false; then :
   15038   $as_echo_n "(cached) " >&6
   15039 else
   15040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15041 /* end confdefs.h.  */
   15042 int i;
   15043 int
   15044 main ()
   15045 {
   15046 
   15047   ;
   15048   return 0;
   15049 }
   15050 _ACEOF
   15051 if ac_fn_c_try_link "$LINENO"; then :
   15052   eval $cacheid=yes
   15053 else
   15054   eval $cacheid=no
   15055 fi
   15056 rm -f core conftest.err conftest.$ac_objext \
   15057     conftest$ac_exeext conftest.$ac_ext
   15058 fi
   15059 
   15060 
   15061 		CFLAGS="$xorg_testset_save_CFLAGS"
   15062 
   15063 		eval supported=\$$cacheid
   15064 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15065 $as_echo "$supported" >&6; }
   15066 		if test "$supported" = "yes" ; then
   15067 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15068 			found="yes"
   15069 		fi
   15070 	fi
   15071 
   15072 
   15073 
   15074 
   15075 
   15076 
   15077 
   15078 
   15079 
   15080 
   15081 
   15082 
   15083 
   15084 
   15085 
   15086 xorg_testset_save_CFLAGS="$CFLAGS"
   15087 
   15088 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15089 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15091 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15092 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15093   $as_echo_n "(cached) " >&6
   15094 else
   15095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15096 /* end confdefs.h.  */
   15097 int i;
   15098 _ACEOF
   15099 if ac_fn_c_try_compile "$LINENO"; then :
   15100   xorg_cv_cc_flag_unknown_warning_option=yes
   15101 else
   15102   xorg_cv_cc_flag_unknown_warning_option=no
   15103 fi
   15104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15105 fi
   15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15107 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15108 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15109 	CFLAGS="$xorg_testset_save_CFLAGS"
   15110 fi
   15111 
   15112 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15113 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15114 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15115 	fi
   15116 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15117 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15118 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15119 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15120   $as_echo_n "(cached) " >&6
   15121 else
   15122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15123 /* end confdefs.h.  */
   15124 int i;
   15125 _ACEOF
   15126 if ac_fn_c_try_compile "$LINENO"; then :
   15127   xorg_cv_cc_flag_unused_command_line_argument=yes
   15128 else
   15129   xorg_cv_cc_flag_unused_command_line_argument=no
   15130 fi
   15131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15132 fi
   15133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15134 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15135 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15136 	CFLAGS="$xorg_testset_save_CFLAGS"
   15137 fi
   15138 
   15139 found="no"
   15140 
   15141 	if test $found = "no" ; then
   15142 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15143 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15144 		fi
   15145 
   15146 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15147 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15148 		fi
   15149 
   15150 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15151 
   15152 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15153 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15154 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15155 		if eval \${$cacheid+:} false; then :
   15156   $as_echo_n "(cached) " >&6
   15157 else
   15158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15159 /* end confdefs.h.  */
   15160 int i;
   15161 int
   15162 main ()
   15163 {
   15164 
   15165   ;
   15166   return 0;
   15167 }
   15168 _ACEOF
   15169 if ac_fn_c_try_link "$LINENO"; then :
   15170   eval $cacheid=yes
   15171 else
   15172   eval $cacheid=no
   15173 fi
   15174 rm -f core conftest.err conftest.$ac_objext \
   15175     conftest$ac_exeext conftest.$ac_ext
   15176 fi
   15177 
   15178 
   15179 		CFLAGS="$xorg_testset_save_CFLAGS"
   15180 
   15181 		eval supported=\$$cacheid
   15182 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15183 $as_echo "$supported" >&6; }
   15184 		if test "$supported" = "yes" ; then
   15185 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15186 			found="yes"
   15187 		fi
   15188 	fi
   15189 
   15190 
   15191 
   15192 
   15193 
   15194 
   15195 
   15196 
   15197 
   15198 
   15199 
   15200 
   15201 
   15202 
   15203 
   15204 xorg_testset_save_CFLAGS="$CFLAGS"
   15205 
   15206 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15207 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15208 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15209 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15210 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15211   $as_echo_n "(cached) " >&6
   15212 else
   15213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15214 /* end confdefs.h.  */
   15215 int i;
   15216 _ACEOF
   15217 if ac_fn_c_try_compile "$LINENO"; then :
   15218   xorg_cv_cc_flag_unknown_warning_option=yes
   15219 else
   15220   xorg_cv_cc_flag_unknown_warning_option=no
   15221 fi
   15222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15223 fi
   15224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15225 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15226 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15227 	CFLAGS="$xorg_testset_save_CFLAGS"
   15228 fi
   15229 
   15230 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15231 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15232 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15233 	fi
   15234 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15235 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15236 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15237 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15238   $as_echo_n "(cached) " >&6
   15239 else
   15240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15241 /* end confdefs.h.  */
   15242 int i;
   15243 _ACEOF
   15244 if ac_fn_c_try_compile "$LINENO"; then :
   15245   xorg_cv_cc_flag_unused_command_line_argument=yes
   15246 else
   15247   xorg_cv_cc_flag_unused_command_line_argument=no
   15248 fi
   15249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15250 fi
   15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15252 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15253 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15254 	CFLAGS="$xorg_testset_save_CFLAGS"
   15255 fi
   15256 
   15257 found="no"
   15258 
   15259 	if test $found = "no" ; then
   15260 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15261 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15262 		fi
   15263 
   15264 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15265 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15266 		fi
   15267 
   15268 		CFLAGS="$CFLAGS -Werror=return-type"
   15269 
   15270 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15271 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15272 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15273 		if eval \${$cacheid+:} false; then :
   15274   $as_echo_n "(cached) " >&6
   15275 else
   15276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15277 /* end confdefs.h.  */
   15278 int i;
   15279 int
   15280 main ()
   15281 {
   15282 
   15283   ;
   15284   return 0;
   15285 }
   15286 _ACEOF
   15287 if ac_fn_c_try_link "$LINENO"; then :
   15288   eval $cacheid=yes
   15289 else
   15290   eval $cacheid=no
   15291 fi
   15292 rm -f core conftest.err conftest.$ac_objext \
   15293     conftest$ac_exeext conftest.$ac_ext
   15294 fi
   15295 
   15296 
   15297 		CFLAGS="$xorg_testset_save_CFLAGS"
   15298 
   15299 		eval supported=\$$cacheid
   15300 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15301 $as_echo "$supported" >&6; }
   15302 		if test "$supported" = "yes" ; then
   15303 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15304 			found="yes"
   15305 		fi
   15306 	fi
   15307 
   15308 	if test $found = "no" ; then
   15309 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15310 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15311 		fi
   15312 
   15313 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15314 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15315 		fi
   15316 
   15317 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15318 
   15319 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15320 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15321 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15322 		if eval \${$cacheid+:} false; then :
   15323   $as_echo_n "(cached) " >&6
   15324 else
   15325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15326 /* end confdefs.h.  */
   15327 int i;
   15328 int
   15329 main ()
   15330 {
   15331 
   15332   ;
   15333   return 0;
   15334 }
   15335 _ACEOF
   15336 if ac_fn_c_try_link "$LINENO"; then :
   15337   eval $cacheid=yes
   15338 else
   15339   eval $cacheid=no
   15340 fi
   15341 rm -f core conftest.err conftest.$ac_objext \
   15342     conftest$ac_exeext conftest.$ac_ext
   15343 fi
   15344 
   15345 
   15346 		CFLAGS="$xorg_testset_save_CFLAGS"
   15347 
   15348 		eval supported=\$$cacheid
   15349 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15350 $as_echo "$supported" >&6; }
   15351 		if test "$supported" = "yes" ; then
   15352 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15353 			found="yes"
   15354 		fi
   15355 	fi
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 
   15365 
   15366 
   15367 
   15368 
   15369 
   15370 
   15371 xorg_testset_save_CFLAGS="$CFLAGS"
   15372 
   15373 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15374 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15375 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15376 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15377 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15378   $as_echo_n "(cached) " >&6
   15379 else
   15380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15381 /* end confdefs.h.  */
   15382 int i;
   15383 _ACEOF
   15384 if ac_fn_c_try_compile "$LINENO"; then :
   15385   xorg_cv_cc_flag_unknown_warning_option=yes
   15386 else
   15387   xorg_cv_cc_flag_unknown_warning_option=no
   15388 fi
   15389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15390 fi
   15391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15392 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15393 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15394 	CFLAGS="$xorg_testset_save_CFLAGS"
   15395 fi
   15396 
   15397 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15398 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15399 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15400 	fi
   15401 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15402 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15403 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15404 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15405   $as_echo_n "(cached) " >&6
   15406 else
   15407   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15408 /* end confdefs.h.  */
   15409 int i;
   15410 _ACEOF
   15411 if ac_fn_c_try_compile "$LINENO"; then :
   15412   xorg_cv_cc_flag_unused_command_line_argument=yes
   15413 else
   15414   xorg_cv_cc_flag_unused_command_line_argument=no
   15415 fi
   15416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15417 fi
   15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15419 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15420 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15421 	CFLAGS="$xorg_testset_save_CFLAGS"
   15422 fi
   15423 
   15424 found="no"
   15425 
   15426 	if test $found = "no" ; then
   15427 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15428 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15429 		fi
   15430 
   15431 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15432 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15433 		fi
   15434 
   15435 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15436 
   15437 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15438 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15439 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15440 		if eval \${$cacheid+:} false; then :
   15441   $as_echo_n "(cached) " >&6
   15442 else
   15443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15444 /* end confdefs.h.  */
   15445 int i;
   15446 int
   15447 main ()
   15448 {
   15449 
   15450   ;
   15451   return 0;
   15452 }
   15453 _ACEOF
   15454 if ac_fn_c_try_link "$LINENO"; then :
   15455   eval $cacheid=yes
   15456 else
   15457   eval $cacheid=no
   15458 fi
   15459 rm -f core conftest.err conftest.$ac_objext \
   15460     conftest$ac_exeext conftest.$ac_ext
   15461 fi
   15462 
   15463 
   15464 		CFLAGS="$xorg_testset_save_CFLAGS"
   15465 
   15466 		eval supported=\$$cacheid
   15467 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15468 $as_echo "$supported" >&6; }
   15469 		if test "$supported" = "yes" ; then
   15470 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15471 			found="yes"
   15472 		fi
   15473 	fi
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 
   15483 
   15484 
   15485 
   15486 
   15487 
   15488 
   15489 xorg_testset_save_CFLAGS="$CFLAGS"
   15490 
   15491 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15492 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15493 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15494 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15495 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15496   $as_echo_n "(cached) " >&6
   15497 else
   15498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15499 /* end confdefs.h.  */
   15500 int i;
   15501 _ACEOF
   15502 if ac_fn_c_try_compile "$LINENO"; then :
   15503   xorg_cv_cc_flag_unknown_warning_option=yes
   15504 else
   15505   xorg_cv_cc_flag_unknown_warning_option=no
   15506 fi
   15507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15508 fi
   15509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15510 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15511 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15512 	CFLAGS="$xorg_testset_save_CFLAGS"
   15513 fi
   15514 
   15515 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15516 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15517 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15518 	fi
   15519 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15520 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15521 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15522 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15523   $as_echo_n "(cached) " >&6
   15524 else
   15525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15526 /* end confdefs.h.  */
   15527 int i;
   15528 _ACEOF
   15529 if ac_fn_c_try_compile "$LINENO"; then :
   15530   xorg_cv_cc_flag_unused_command_line_argument=yes
   15531 else
   15532   xorg_cv_cc_flag_unused_command_line_argument=no
   15533 fi
   15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15535 fi
   15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15537 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15538 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15539 	CFLAGS="$xorg_testset_save_CFLAGS"
   15540 fi
   15541 
   15542 found="no"
   15543 
   15544 	if test $found = "no" ; then
   15545 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15546 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15547 		fi
   15548 
   15549 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15550 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15551 		fi
   15552 
   15553 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15554 
   15555 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15556 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15557 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15558 		if eval \${$cacheid+:} false; then :
   15559   $as_echo_n "(cached) " >&6
   15560 else
   15561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15562 /* end confdefs.h.  */
   15563 int i;
   15564 int
   15565 main ()
   15566 {
   15567 
   15568   ;
   15569   return 0;
   15570 }
   15571 _ACEOF
   15572 if ac_fn_c_try_link "$LINENO"; then :
   15573   eval $cacheid=yes
   15574 else
   15575   eval $cacheid=no
   15576 fi
   15577 rm -f core conftest.err conftest.$ac_objext \
   15578     conftest$ac_exeext conftest.$ac_ext
   15579 fi
   15580 
   15581 
   15582 		CFLAGS="$xorg_testset_save_CFLAGS"
   15583 
   15584 		eval supported=\$$cacheid
   15585 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15586 $as_echo "$supported" >&6; }
   15587 		if test "$supported" = "yes" ; then
   15588 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15589 			found="yes"
   15590 		fi
   15591 	fi
   15592 
   15593 
   15594 
   15595 
   15596 
   15597 
   15598 
   15599 
   15600 
   15601 
   15602 
   15603 
   15604 
   15605 
   15606 
   15607 xorg_testset_save_CFLAGS="$CFLAGS"
   15608 
   15609 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15610 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15612 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15613 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15614   $as_echo_n "(cached) " >&6
   15615 else
   15616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15617 /* end confdefs.h.  */
   15618 int i;
   15619 _ACEOF
   15620 if ac_fn_c_try_compile "$LINENO"; then :
   15621   xorg_cv_cc_flag_unknown_warning_option=yes
   15622 else
   15623   xorg_cv_cc_flag_unknown_warning_option=no
   15624 fi
   15625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15626 fi
   15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15628 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15629 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15630 	CFLAGS="$xorg_testset_save_CFLAGS"
   15631 fi
   15632 
   15633 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15634 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15635 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15636 	fi
   15637 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15638 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15639 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15640 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15641   $as_echo_n "(cached) " >&6
   15642 else
   15643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15644 /* end confdefs.h.  */
   15645 int i;
   15646 _ACEOF
   15647 if ac_fn_c_try_compile "$LINENO"; then :
   15648   xorg_cv_cc_flag_unused_command_line_argument=yes
   15649 else
   15650   xorg_cv_cc_flag_unused_command_line_argument=no
   15651 fi
   15652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15653 fi
   15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15655 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15656 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15657 	CFLAGS="$xorg_testset_save_CFLAGS"
   15658 fi
   15659 
   15660 found="no"
   15661 
   15662 	if test $found = "no" ; then
   15663 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15664 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15665 		fi
   15666 
   15667 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15668 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15669 		fi
   15670 
   15671 		CFLAGS="$CFLAGS -Werror=write-strings"
   15672 
   15673 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15674 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15675 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15676 		if eval \${$cacheid+:} 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 int
   15683 main ()
   15684 {
   15685 
   15686   ;
   15687   return 0;
   15688 }
   15689 _ACEOF
   15690 if ac_fn_c_try_link "$LINENO"; then :
   15691   eval $cacheid=yes
   15692 else
   15693   eval $cacheid=no
   15694 fi
   15695 rm -f core conftest.err conftest.$ac_objext \
   15696     conftest$ac_exeext conftest.$ac_ext
   15697 fi
   15698 
   15699 
   15700 		CFLAGS="$xorg_testset_save_CFLAGS"
   15701 
   15702 		eval supported=\$$cacheid
   15703 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15704 $as_echo "$supported" >&6; }
   15705 		if test "$supported" = "yes" ; then
   15706 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15707 			found="yes"
   15708 		fi
   15709 	fi
   15710 
   15711 
   15712 
   15713 
   15714 
   15715 
   15716 
   15717 
   15718 
   15719 
   15720 
   15721 
   15722 
   15723 
   15724 
   15725 xorg_testset_save_CFLAGS="$CFLAGS"
   15726 
   15727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15730 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15731 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15732   $as_echo_n "(cached) " >&6
   15733 else
   15734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15735 /* end confdefs.h.  */
   15736 int i;
   15737 _ACEOF
   15738 if ac_fn_c_try_compile "$LINENO"; then :
   15739   xorg_cv_cc_flag_unknown_warning_option=yes
   15740 else
   15741   xorg_cv_cc_flag_unknown_warning_option=no
   15742 fi
   15743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15744 fi
   15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15746 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15748 	CFLAGS="$xorg_testset_save_CFLAGS"
   15749 fi
   15750 
   15751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15754 	fi
   15755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15757 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15758 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15759   $as_echo_n "(cached) " >&6
   15760 else
   15761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15762 /* end confdefs.h.  */
   15763 int i;
   15764 _ACEOF
   15765 if ac_fn_c_try_compile "$LINENO"; then :
   15766   xorg_cv_cc_flag_unused_command_line_argument=yes
   15767 else
   15768   xorg_cv_cc_flag_unused_command_line_argument=no
   15769 fi
   15770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15771 fi
   15772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15773 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15775 	CFLAGS="$xorg_testset_save_CFLAGS"
   15776 fi
   15777 
   15778 found="no"
   15779 
   15780 	if test $found = "no" ; then
   15781 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15783 		fi
   15784 
   15785 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15787 		fi
   15788 
   15789 		CFLAGS="$CFLAGS -Werror=address"
   15790 
   15791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15792 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15793 		cacheid=xorg_cv_cc_flag__Werror_address
   15794 		if eval \${$cacheid+:} 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 int
   15801 main ()
   15802 {
   15803 
   15804   ;
   15805   return 0;
   15806 }
   15807 _ACEOF
   15808 if ac_fn_c_try_link "$LINENO"; then :
   15809   eval $cacheid=yes
   15810 else
   15811   eval $cacheid=no
   15812 fi
   15813 rm -f core conftest.err conftest.$ac_objext \
   15814     conftest$ac_exeext conftest.$ac_ext
   15815 fi
   15816 
   15817 
   15818 		CFLAGS="$xorg_testset_save_CFLAGS"
   15819 
   15820 		eval supported=\$$cacheid
   15821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15822 $as_echo "$supported" >&6; }
   15823 		if test "$supported" = "yes" ; then
   15824 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15825 			found="yes"
   15826 		fi
   15827 	fi
   15828 
   15829 
   15830 
   15831 
   15832 
   15833 
   15834 
   15835 
   15836 
   15837 
   15838 
   15839 
   15840 
   15841 
   15842 
   15843 xorg_testset_save_CFLAGS="$CFLAGS"
   15844 
   15845 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15846 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15848 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15849 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15850   $as_echo_n "(cached) " >&6
   15851 else
   15852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15853 /* end confdefs.h.  */
   15854 int i;
   15855 _ACEOF
   15856 if ac_fn_c_try_compile "$LINENO"; then :
   15857   xorg_cv_cc_flag_unknown_warning_option=yes
   15858 else
   15859   xorg_cv_cc_flag_unknown_warning_option=no
   15860 fi
   15861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15862 fi
   15863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15864 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15865 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15866 	CFLAGS="$xorg_testset_save_CFLAGS"
   15867 fi
   15868 
   15869 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15870 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15871 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15872 	fi
   15873 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15874 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15875 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15876 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15877   $as_echo_n "(cached) " >&6
   15878 else
   15879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15880 /* end confdefs.h.  */
   15881 int i;
   15882 _ACEOF
   15883 if ac_fn_c_try_compile "$LINENO"; then :
   15884   xorg_cv_cc_flag_unused_command_line_argument=yes
   15885 else
   15886   xorg_cv_cc_flag_unused_command_line_argument=no
   15887 fi
   15888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15889 fi
   15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15891 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15892 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15893 	CFLAGS="$xorg_testset_save_CFLAGS"
   15894 fi
   15895 
   15896 found="no"
   15897 
   15898 	if test $found = "no" ; then
   15899 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15900 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15901 		fi
   15902 
   15903 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15904 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15905 		fi
   15906 
   15907 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15908 
   15909 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15910 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15911 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15912 		if eval \${$cacheid+:} 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 int
   15919 main ()
   15920 {
   15921 
   15922   ;
   15923   return 0;
   15924 }
   15925 _ACEOF
   15926 if ac_fn_c_try_link "$LINENO"; then :
   15927   eval $cacheid=yes
   15928 else
   15929   eval $cacheid=no
   15930 fi
   15931 rm -f core conftest.err conftest.$ac_objext \
   15932     conftest$ac_exeext conftest.$ac_ext
   15933 fi
   15934 
   15935 
   15936 		CFLAGS="$xorg_testset_save_CFLAGS"
   15937 
   15938 		eval supported=\$$cacheid
   15939 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15940 $as_echo "$supported" >&6; }
   15941 		if test "$supported" = "yes" ; then
   15942 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15943 			found="yes"
   15944 		fi
   15945 	fi
   15946 
   15947 	if test $found = "no" ; then
   15948 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15950 		fi
   15951 
   15952 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15954 		fi
   15955 
   15956 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15957 
   15958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15959 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15960 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15961 		if eval \${$cacheid+:} false; then :
   15962   $as_echo_n "(cached) " >&6
   15963 else
   15964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15965 /* end confdefs.h.  */
   15966 int i;
   15967 int
   15968 main ()
   15969 {
   15970 
   15971   ;
   15972   return 0;
   15973 }
   15974 _ACEOF
   15975 if ac_fn_c_try_link "$LINENO"; then :
   15976   eval $cacheid=yes
   15977 else
   15978   eval $cacheid=no
   15979 fi
   15980 rm -f core conftest.err conftest.$ac_objext \
   15981     conftest$ac_exeext conftest.$ac_ext
   15982 fi
   15983 
   15984 
   15985 		CFLAGS="$xorg_testset_save_CFLAGS"
   15986 
   15987 		eval supported=\$$cacheid
   15988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15989 $as_echo "$supported" >&6; }
   15990 		if test "$supported" = "yes" ; then
   15991 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15992 			found="yes"
   15993 		fi
   15994 	fi
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 
   16004 
   16005 
   16006 
   16007 
   16008 
   16009 
   16010 xorg_testset_save_CFLAGS="$CFLAGS"
   16011 
   16012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16015 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16016 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16017   $as_echo_n "(cached) " >&6
   16018 else
   16019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16020 /* end confdefs.h.  */
   16021 int i;
   16022 _ACEOF
   16023 if ac_fn_c_try_compile "$LINENO"; then :
   16024   xorg_cv_cc_flag_unknown_warning_option=yes
   16025 else
   16026   xorg_cv_cc_flag_unknown_warning_option=no
   16027 fi
   16028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16029 fi
   16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16031 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16032 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16033 	CFLAGS="$xorg_testset_save_CFLAGS"
   16034 fi
   16035 
   16036 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16037 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16038 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16039 	fi
   16040 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16042 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16043 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16044   $as_echo_n "(cached) " >&6
   16045 else
   16046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16047 /* end confdefs.h.  */
   16048 int i;
   16049 _ACEOF
   16050 if ac_fn_c_try_compile "$LINENO"; then :
   16051   xorg_cv_cc_flag_unused_command_line_argument=yes
   16052 else
   16053   xorg_cv_cc_flag_unused_command_line_argument=no
   16054 fi
   16055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16056 fi
   16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16058 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16060 	CFLAGS="$xorg_testset_save_CFLAGS"
   16061 fi
   16062 
   16063 found="no"
   16064 
   16065 	if test $found = "no" ; then
   16066 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16068 		fi
   16069 
   16070 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16072 		fi
   16073 
   16074 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16075 
   16076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16077 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16078 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16079 		if eval \${$cacheid+:} false; then :
   16080   $as_echo_n "(cached) " >&6
   16081 else
   16082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16083 /* end confdefs.h.  */
   16084 int i;
   16085 int
   16086 main ()
   16087 {
   16088 
   16089   ;
   16090   return 0;
   16091 }
   16092 _ACEOF
   16093 if ac_fn_c_try_link "$LINENO"; then :
   16094   eval $cacheid=yes
   16095 else
   16096   eval $cacheid=no
   16097 fi
   16098 rm -f core conftest.err conftest.$ac_objext \
   16099     conftest$ac_exeext conftest.$ac_ext
   16100 fi
   16101 
   16102 
   16103 		CFLAGS="$xorg_testset_save_CFLAGS"
   16104 
   16105 		eval supported=\$$cacheid
   16106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16107 $as_echo "$supported" >&6; }
   16108 		if test "$supported" = "yes" ; then
   16109 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16110 			found="yes"
   16111 		fi
   16112 	fi
   16113 
   16114  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16115 else
   16116 { $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
   16117 $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;}
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 xorg_testset_save_CFLAGS="$CFLAGS"
   16132 
   16133 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16134 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16135 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16136 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16137 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16138   $as_echo_n "(cached) " >&6
   16139 else
   16140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16141 /* end confdefs.h.  */
   16142 int i;
   16143 _ACEOF
   16144 if ac_fn_c_try_compile "$LINENO"; then :
   16145   xorg_cv_cc_flag_unknown_warning_option=yes
   16146 else
   16147   xorg_cv_cc_flag_unknown_warning_option=no
   16148 fi
   16149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16150 fi
   16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16152 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16153 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16154 	CFLAGS="$xorg_testset_save_CFLAGS"
   16155 fi
   16156 
   16157 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16158 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16159 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16160 	fi
   16161 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16162 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16163 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16164 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16165   $as_echo_n "(cached) " >&6
   16166 else
   16167   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16168 /* end confdefs.h.  */
   16169 int i;
   16170 _ACEOF
   16171 if ac_fn_c_try_compile "$LINENO"; then :
   16172   xorg_cv_cc_flag_unused_command_line_argument=yes
   16173 else
   16174   xorg_cv_cc_flag_unused_command_line_argument=no
   16175 fi
   16176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16177 fi
   16178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16179 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16180 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16181 	CFLAGS="$xorg_testset_save_CFLAGS"
   16182 fi
   16183 
   16184 found="no"
   16185 
   16186 	if test $found = "no" ; then
   16187 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16188 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16189 		fi
   16190 
   16191 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16192 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16193 		fi
   16194 
   16195 		CFLAGS="$CFLAGS -Wimplicit"
   16196 
   16197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16198 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16199 		cacheid=xorg_cv_cc_flag__Wimplicit
   16200 		if eval \${$cacheid+:} false; then :
   16201   $as_echo_n "(cached) " >&6
   16202 else
   16203   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16204 /* end confdefs.h.  */
   16205 int i;
   16206 int
   16207 main ()
   16208 {
   16209 
   16210   ;
   16211   return 0;
   16212 }
   16213 _ACEOF
   16214 if ac_fn_c_try_link "$LINENO"; then :
   16215   eval $cacheid=yes
   16216 else
   16217   eval $cacheid=no
   16218 fi
   16219 rm -f core conftest.err conftest.$ac_objext \
   16220     conftest$ac_exeext conftest.$ac_ext
   16221 fi
   16222 
   16223 
   16224 		CFLAGS="$xorg_testset_save_CFLAGS"
   16225 
   16226 		eval supported=\$$cacheid
   16227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16228 $as_echo "$supported" >&6; }
   16229 		if test "$supported" = "yes" ; then
   16230 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16231 			found="yes"
   16232 		fi
   16233 	fi
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241 
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 
   16249 xorg_testset_save_CFLAGS="$CFLAGS"
   16250 
   16251 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16252 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16253 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16254 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16255 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16256   $as_echo_n "(cached) " >&6
   16257 else
   16258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16259 /* end confdefs.h.  */
   16260 int i;
   16261 _ACEOF
   16262 if ac_fn_c_try_compile "$LINENO"; then :
   16263   xorg_cv_cc_flag_unknown_warning_option=yes
   16264 else
   16265   xorg_cv_cc_flag_unknown_warning_option=no
   16266 fi
   16267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16268 fi
   16269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16270 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16271 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16272 	CFLAGS="$xorg_testset_save_CFLAGS"
   16273 fi
   16274 
   16275 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16276 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16277 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16278 	fi
   16279 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16280 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16281 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16282 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16283   $as_echo_n "(cached) " >&6
   16284 else
   16285   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16286 /* end confdefs.h.  */
   16287 int i;
   16288 _ACEOF
   16289 if ac_fn_c_try_compile "$LINENO"; then :
   16290   xorg_cv_cc_flag_unused_command_line_argument=yes
   16291 else
   16292   xorg_cv_cc_flag_unused_command_line_argument=no
   16293 fi
   16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16295 fi
   16296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16297 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16298 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16299 	CFLAGS="$xorg_testset_save_CFLAGS"
   16300 fi
   16301 
   16302 found="no"
   16303 
   16304 	if test $found = "no" ; then
   16305 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16306 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16307 		fi
   16308 
   16309 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16310 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16311 		fi
   16312 
   16313 		CFLAGS="$CFLAGS -Wnonnull"
   16314 
   16315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16316 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16317 		cacheid=xorg_cv_cc_flag__Wnonnull
   16318 		if eval \${$cacheid+:} false; then :
   16319   $as_echo_n "(cached) " >&6
   16320 else
   16321   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16322 /* end confdefs.h.  */
   16323 int i;
   16324 int
   16325 main ()
   16326 {
   16327 
   16328   ;
   16329   return 0;
   16330 }
   16331 _ACEOF
   16332 if ac_fn_c_try_link "$LINENO"; then :
   16333   eval $cacheid=yes
   16334 else
   16335   eval $cacheid=no
   16336 fi
   16337 rm -f core conftest.err conftest.$ac_objext \
   16338     conftest$ac_exeext conftest.$ac_ext
   16339 fi
   16340 
   16341 
   16342 		CFLAGS="$xorg_testset_save_CFLAGS"
   16343 
   16344 		eval supported=\$$cacheid
   16345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16346 $as_echo "$supported" >&6; }
   16347 		if test "$supported" = "yes" ; then
   16348 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16349 			found="yes"
   16350 		fi
   16351 	fi
   16352 
   16353 
   16354 
   16355 
   16356 
   16357 
   16358 
   16359 
   16360 
   16361 
   16362 
   16363 
   16364 
   16365 
   16366 
   16367 xorg_testset_save_CFLAGS="$CFLAGS"
   16368 
   16369 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16370 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16371 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16372 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16373 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16374   $as_echo_n "(cached) " >&6
   16375 else
   16376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16377 /* end confdefs.h.  */
   16378 int i;
   16379 _ACEOF
   16380 if ac_fn_c_try_compile "$LINENO"; then :
   16381   xorg_cv_cc_flag_unknown_warning_option=yes
   16382 else
   16383   xorg_cv_cc_flag_unknown_warning_option=no
   16384 fi
   16385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16386 fi
   16387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16388 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16389 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16390 	CFLAGS="$xorg_testset_save_CFLAGS"
   16391 fi
   16392 
   16393 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16394 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16395 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16396 	fi
   16397 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16398 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16399 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16400 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16401   $as_echo_n "(cached) " >&6
   16402 else
   16403   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16404 /* end confdefs.h.  */
   16405 int i;
   16406 _ACEOF
   16407 if ac_fn_c_try_compile "$LINENO"; then :
   16408   xorg_cv_cc_flag_unused_command_line_argument=yes
   16409 else
   16410   xorg_cv_cc_flag_unused_command_line_argument=no
   16411 fi
   16412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16413 fi
   16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16415 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16416 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16417 	CFLAGS="$xorg_testset_save_CFLAGS"
   16418 fi
   16419 
   16420 found="no"
   16421 
   16422 	if test $found = "no" ; then
   16423 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16424 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16425 		fi
   16426 
   16427 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16428 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16429 		fi
   16430 
   16431 		CFLAGS="$CFLAGS -Winit-self"
   16432 
   16433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16434 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16435 		cacheid=xorg_cv_cc_flag__Winit_self
   16436 		if eval \${$cacheid+:} false; then :
   16437   $as_echo_n "(cached) " >&6
   16438 else
   16439   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16440 /* end confdefs.h.  */
   16441 int i;
   16442 int
   16443 main ()
   16444 {
   16445 
   16446   ;
   16447   return 0;
   16448 }
   16449 _ACEOF
   16450 if ac_fn_c_try_link "$LINENO"; then :
   16451   eval $cacheid=yes
   16452 else
   16453   eval $cacheid=no
   16454 fi
   16455 rm -f core conftest.err conftest.$ac_objext \
   16456     conftest$ac_exeext conftest.$ac_ext
   16457 fi
   16458 
   16459 
   16460 		CFLAGS="$xorg_testset_save_CFLAGS"
   16461 
   16462 		eval supported=\$$cacheid
   16463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16464 $as_echo "$supported" >&6; }
   16465 		if test "$supported" = "yes" ; then
   16466 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16467 			found="yes"
   16468 		fi
   16469 	fi
   16470 
   16471 
   16472 
   16473 
   16474 
   16475 
   16476 
   16477 
   16478 
   16479 
   16480 
   16481 
   16482 
   16483 
   16484 
   16485 xorg_testset_save_CFLAGS="$CFLAGS"
   16486 
   16487 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16488 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16489 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16490 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16491 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16492   $as_echo_n "(cached) " >&6
   16493 else
   16494   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16495 /* end confdefs.h.  */
   16496 int i;
   16497 _ACEOF
   16498 if ac_fn_c_try_compile "$LINENO"; then :
   16499   xorg_cv_cc_flag_unknown_warning_option=yes
   16500 else
   16501   xorg_cv_cc_flag_unknown_warning_option=no
   16502 fi
   16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16504 fi
   16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16506 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16507 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16508 	CFLAGS="$xorg_testset_save_CFLAGS"
   16509 fi
   16510 
   16511 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16512 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16513 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16514 	fi
   16515 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16516 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16517 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16518 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16519   $as_echo_n "(cached) " >&6
   16520 else
   16521   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16522 /* end confdefs.h.  */
   16523 int i;
   16524 _ACEOF
   16525 if ac_fn_c_try_compile "$LINENO"; then :
   16526   xorg_cv_cc_flag_unused_command_line_argument=yes
   16527 else
   16528   xorg_cv_cc_flag_unused_command_line_argument=no
   16529 fi
   16530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16531 fi
   16532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16533 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16534 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16535 	CFLAGS="$xorg_testset_save_CFLAGS"
   16536 fi
   16537 
   16538 found="no"
   16539 
   16540 	if test $found = "no" ; then
   16541 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16542 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16543 		fi
   16544 
   16545 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16546 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16547 		fi
   16548 
   16549 		CFLAGS="$CFLAGS -Wmain"
   16550 
   16551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16552 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16553 		cacheid=xorg_cv_cc_flag__Wmain
   16554 		if eval \${$cacheid+:} false; then :
   16555   $as_echo_n "(cached) " >&6
   16556 else
   16557   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16558 /* end confdefs.h.  */
   16559 int i;
   16560 int
   16561 main ()
   16562 {
   16563 
   16564   ;
   16565   return 0;
   16566 }
   16567 _ACEOF
   16568 if ac_fn_c_try_link "$LINENO"; then :
   16569   eval $cacheid=yes
   16570 else
   16571   eval $cacheid=no
   16572 fi
   16573 rm -f core conftest.err conftest.$ac_objext \
   16574     conftest$ac_exeext conftest.$ac_ext
   16575 fi
   16576 
   16577 
   16578 		CFLAGS="$xorg_testset_save_CFLAGS"
   16579 
   16580 		eval supported=\$$cacheid
   16581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16582 $as_echo "$supported" >&6; }
   16583 		if test "$supported" = "yes" ; then
   16584 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16585 			found="yes"
   16586 		fi
   16587 	fi
   16588 
   16589 
   16590 
   16591 
   16592 
   16593 
   16594 
   16595 
   16596 
   16597 
   16598 
   16599 
   16600 
   16601 
   16602 
   16603 xorg_testset_save_CFLAGS="$CFLAGS"
   16604 
   16605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16610   $as_echo_n "(cached) " >&6
   16611 else
   16612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16613 /* end confdefs.h.  */
   16614 int i;
   16615 _ACEOF
   16616 if ac_fn_c_try_compile "$LINENO"; then :
   16617   xorg_cv_cc_flag_unknown_warning_option=yes
   16618 else
   16619   xorg_cv_cc_flag_unknown_warning_option=no
   16620 fi
   16621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16622 fi
   16623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16626 	CFLAGS="$xorg_testset_save_CFLAGS"
   16627 fi
   16628 
   16629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16632 	fi
   16633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16637   $as_echo_n "(cached) " >&6
   16638 else
   16639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16640 /* end confdefs.h.  */
   16641 int i;
   16642 _ACEOF
   16643 if ac_fn_c_try_compile "$LINENO"; then :
   16644   xorg_cv_cc_flag_unused_command_line_argument=yes
   16645 else
   16646   xorg_cv_cc_flag_unused_command_line_argument=no
   16647 fi
   16648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16649 fi
   16650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16653 	CFLAGS="$xorg_testset_save_CFLAGS"
   16654 fi
   16655 
   16656 found="no"
   16657 
   16658 	if test $found = "no" ; then
   16659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16661 		fi
   16662 
   16663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16665 		fi
   16666 
   16667 		CFLAGS="$CFLAGS -Wmissing-braces"
   16668 
   16669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16670 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16671 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16672 		if eval \${$cacheid+:} false; then :
   16673   $as_echo_n "(cached) " >&6
   16674 else
   16675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16676 /* end confdefs.h.  */
   16677 int i;
   16678 int
   16679 main ()
   16680 {
   16681 
   16682   ;
   16683   return 0;
   16684 }
   16685 _ACEOF
   16686 if ac_fn_c_try_link "$LINENO"; then :
   16687   eval $cacheid=yes
   16688 else
   16689   eval $cacheid=no
   16690 fi
   16691 rm -f core conftest.err conftest.$ac_objext \
   16692     conftest$ac_exeext conftest.$ac_ext
   16693 fi
   16694 
   16695 
   16696 		CFLAGS="$xorg_testset_save_CFLAGS"
   16697 
   16698 		eval supported=\$$cacheid
   16699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16700 $as_echo "$supported" >&6; }
   16701 		if test "$supported" = "yes" ; then
   16702 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16703 			found="yes"
   16704 		fi
   16705 	fi
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 xorg_testset_save_CFLAGS="$CFLAGS"
   16722 
   16723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16726 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16727 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16728   $as_echo_n "(cached) " >&6
   16729 else
   16730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16731 /* end confdefs.h.  */
   16732 int i;
   16733 _ACEOF
   16734 if ac_fn_c_try_compile "$LINENO"; then :
   16735   xorg_cv_cc_flag_unknown_warning_option=yes
   16736 else
   16737   xorg_cv_cc_flag_unknown_warning_option=no
   16738 fi
   16739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16740 fi
   16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16742 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16744 	CFLAGS="$xorg_testset_save_CFLAGS"
   16745 fi
   16746 
   16747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16750 	fi
   16751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16753 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16754 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16755   $as_echo_n "(cached) " >&6
   16756 else
   16757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16758 /* end confdefs.h.  */
   16759 int i;
   16760 _ACEOF
   16761 if ac_fn_c_try_compile "$LINENO"; then :
   16762   xorg_cv_cc_flag_unused_command_line_argument=yes
   16763 else
   16764   xorg_cv_cc_flag_unused_command_line_argument=no
   16765 fi
   16766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16767 fi
   16768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16769 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16771 	CFLAGS="$xorg_testset_save_CFLAGS"
   16772 fi
   16773 
   16774 found="no"
   16775 
   16776 	if test $found = "no" ; then
   16777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16779 		fi
   16780 
   16781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16783 		fi
   16784 
   16785 		CFLAGS="$CFLAGS -Wsequence-point"
   16786 
   16787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16788 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16789 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16790 		if eval \${$cacheid+:} false; then :
   16791   $as_echo_n "(cached) " >&6
   16792 else
   16793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16794 /* end confdefs.h.  */
   16795 int i;
   16796 int
   16797 main ()
   16798 {
   16799 
   16800   ;
   16801   return 0;
   16802 }
   16803 _ACEOF
   16804 if ac_fn_c_try_link "$LINENO"; then :
   16805   eval $cacheid=yes
   16806 else
   16807   eval $cacheid=no
   16808 fi
   16809 rm -f core conftest.err conftest.$ac_objext \
   16810     conftest$ac_exeext conftest.$ac_ext
   16811 fi
   16812 
   16813 
   16814 		CFLAGS="$xorg_testset_save_CFLAGS"
   16815 
   16816 		eval supported=\$$cacheid
   16817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16818 $as_echo "$supported" >&6; }
   16819 		if test "$supported" = "yes" ; then
   16820 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16821 			found="yes"
   16822 		fi
   16823 	fi
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 xorg_testset_save_CFLAGS="$CFLAGS"
   16840 
   16841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16844 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16845 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16846   $as_echo_n "(cached) " >&6
   16847 else
   16848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16849 /* end confdefs.h.  */
   16850 int i;
   16851 _ACEOF
   16852 if ac_fn_c_try_compile "$LINENO"; then :
   16853   xorg_cv_cc_flag_unknown_warning_option=yes
   16854 else
   16855   xorg_cv_cc_flag_unknown_warning_option=no
   16856 fi
   16857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16858 fi
   16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16860 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16862 	CFLAGS="$xorg_testset_save_CFLAGS"
   16863 fi
   16864 
   16865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16868 	fi
   16869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16871 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16872 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16873   $as_echo_n "(cached) " >&6
   16874 else
   16875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16876 /* end confdefs.h.  */
   16877 int i;
   16878 _ACEOF
   16879 if ac_fn_c_try_compile "$LINENO"; then :
   16880   xorg_cv_cc_flag_unused_command_line_argument=yes
   16881 else
   16882   xorg_cv_cc_flag_unused_command_line_argument=no
   16883 fi
   16884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16885 fi
   16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16887 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16889 	CFLAGS="$xorg_testset_save_CFLAGS"
   16890 fi
   16891 
   16892 found="no"
   16893 
   16894 	if test $found = "no" ; then
   16895 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16897 		fi
   16898 
   16899 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16901 		fi
   16902 
   16903 		CFLAGS="$CFLAGS -Wreturn-type"
   16904 
   16905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16906 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16907 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16908 		if eval \${$cacheid+:} false; then :
   16909   $as_echo_n "(cached) " >&6
   16910 else
   16911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16912 /* end confdefs.h.  */
   16913 int i;
   16914 int
   16915 main ()
   16916 {
   16917 
   16918   ;
   16919   return 0;
   16920 }
   16921 _ACEOF
   16922 if ac_fn_c_try_link "$LINENO"; then :
   16923   eval $cacheid=yes
   16924 else
   16925   eval $cacheid=no
   16926 fi
   16927 rm -f core conftest.err conftest.$ac_objext \
   16928     conftest$ac_exeext conftest.$ac_ext
   16929 fi
   16930 
   16931 
   16932 		CFLAGS="$xorg_testset_save_CFLAGS"
   16933 
   16934 		eval supported=\$$cacheid
   16935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16936 $as_echo "$supported" >&6; }
   16937 		if test "$supported" = "yes" ; then
   16938 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16939 			found="yes"
   16940 		fi
   16941 	fi
   16942 
   16943 
   16944 
   16945 
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 xorg_testset_save_CFLAGS="$CFLAGS"
   16958 
   16959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16962 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16963 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16964   $as_echo_n "(cached) " >&6
   16965 else
   16966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16967 /* end confdefs.h.  */
   16968 int i;
   16969 _ACEOF
   16970 if ac_fn_c_try_compile "$LINENO"; then :
   16971   xorg_cv_cc_flag_unknown_warning_option=yes
   16972 else
   16973   xorg_cv_cc_flag_unknown_warning_option=no
   16974 fi
   16975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16976 fi
   16977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16978 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16980 	CFLAGS="$xorg_testset_save_CFLAGS"
   16981 fi
   16982 
   16983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16986 	fi
   16987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16989 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16990 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16991   $as_echo_n "(cached) " >&6
   16992 else
   16993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16994 /* end confdefs.h.  */
   16995 int i;
   16996 _ACEOF
   16997 if ac_fn_c_try_compile "$LINENO"; then :
   16998   xorg_cv_cc_flag_unused_command_line_argument=yes
   16999 else
   17000   xorg_cv_cc_flag_unused_command_line_argument=no
   17001 fi
   17002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17003 fi
   17004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17005 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17007 	CFLAGS="$xorg_testset_save_CFLAGS"
   17008 fi
   17009 
   17010 found="no"
   17011 
   17012 	if test $found = "no" ; then
   17013 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17015 		fi
   17016 
   17017 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17019 		fi
   17020 
   17021 		CFLAGS="$CFLAGS -Wtrigraphs"
   17022 
   17023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17024 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17025 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17026 		if eval \${$cacheid+:} false; then :
   17027   $as_echo_n "(cached) " >&6
   17028 else
   17029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17030 /* end confdefs.h.  */
   17031 int i;
   17032 int
   17033 main ()
   17034 {
   17035 
   17036   ;
   17037   return 0;
   17038 }
   17039 _ACEOF
   17040 if ac_fn_c_try_link "$LINENO"; then :
   17041   eval $cacheid=yes
   17042 else
   17043   eval $cacheid=no
   17044 fi
   17045 rm -f core conftest.err conftest.$ac_objext \
   17046     conftest$ac_exeext conftest.$ac_ext
   17047 fi
   17048 
   17049 
   17050 		CFLAGS="$xorg_testset_save_CFLAGS"
   17051 
   17052 		eval supported=\$$cacheid
   17053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17054 $as_echo "$supported" >&6; }
   17055 		if test "$supported" = "yes" ; then
   17056 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17057 			found="yes"
   17058 		fi
   17059 	fi
   17060 
   17061 
   17062 
   17063 
   17064 
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071 
   17072 
   17073 
   17074 
   17075 xorg_testset_save_CFLAGS="$CFLAGS"
   17076 
   17077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17080 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17081 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17082   $as_echo_n "(cached) " >&6
   17083 else
   17084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17085 /* end confdefs.h.  */
   17086 int i;
   17087 _ACEOF
   17088 if ac_fn_c_try_compile "$LINENO"; then :
   17089   xorg_cv_cc_flag_unknown_warning_option=yes
   17090 else
   17091   xorg_cv_cc_flag_unknown_warning_option=no
   17092 fi
   17093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17094 fi
   17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17096 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17098 	CFLAGS="$xorg_testset_save_CFLAGS"
   17099 fi
   17100 
   17101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17104 	fi
   17105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17107 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17108 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17109   $as_echo_n "(cached) " >&6
   17110 else
   17111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17112 /* end confdefs.h.  */
   17113 int i;
   17114 _ACEOF
   17115 if ac_fn_c_try_compile "$LINENO"; then :
   17116   xorg_cv_cc_flag_unused_command_line_argument=yes
   17117 else
   17118   xorg_cv_cc_flag_unused_command_line_argument=no
   17119 fi
   17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17121 fi
   17122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17123 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17125 	CFLAGS="$xorg_testset_save_CFLAGS"
   17126 fi
   17127 
   17128 found="no"
   17129 
   17130 	if test $found = "no" ; then
   17131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17133 		fi
   17134 
   17135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17137 		fi
   17138 
   17139 		CFLAGS="$CFLAGS -Warray-bounds"
   17140 
   17141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17142 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17143 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17144 		if eval \${$cacheid+:} false; then :
   17145   $as_echo_n "(cached) " >&6
   17146 else
   17147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17148 /* end confdefs.h.  */
   17149 int i;
   17150 int
   17151 main ()
   17152 {
   17153 
   17154   ;
   17155   return 0;
   17156 }
   17157 _ACEOF
   17158 if ac_fn_c_try_link "$LINENO"; then :
   17159   eval $cacheid=yes
   17160 else
   17161   eval $cacheid=no
   17162 fi
   17163 rm -f core conftest.err conftest.$ac_objext \
   17164     conftest$ac_exeext conftest.$ac_ext
   17165 fi
   17166 
   17167 
   17168 		CFLAGS="$xorg_testset_save_CFLAGS"
   17169 
   17170 		eval supported=\$$cacheid
   17171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17172 $as_echo "$supported" >&6; }
   17173 		if test "$supported" = "yes" ; then
   17174 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17175 			found="yes"
   17176 		fi
   17177 	fi
   17178 
   17179 
   17180 
   17181 
   17182 
   17183 
   17184 
   17185 
   17186 
   17187 
   17188 
   17189 
   17190 
   17191 
   17192 
   17193 xorg_testset_save_CFLAGS="$CFLAGS"
   17194 
   17195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17198 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17199 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17200   $as_echo_n "(cached) " >&6
   17201 else
   17202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17203 /* end confdefs.h.  */
   17204 int i;
   17205 _ACEOF
   17206 if ac_fn_c_try_compile "$LINENO"; then :
   17207   xorg_cv_cc_flag_unknown_warning_option=yes
   17208 else
   17209   xorg_cv_cc_flag_unknown_warning_option=no
   17210 fi
   17211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17212 fi
   17213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17214 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17216 	CFLAGS="$xorg_testset_save_CFLAGS"
   17217 fi
   17218 
   17219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17222 	fi
   17223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17225 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17226 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17227   $as_echo_n "(cached) " >&6
   17228 else
   17229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17230 /* end confdefs.h.  */
   17231 int i;
   17232 _ACEOF
   17233 if ac_fn_c_try_compile "$LINENO"; then :
   17234   xorg_cv_cc_flag_unused_command_line_argument=yes
   17235 else
   17236   xorg_cv_cc_flag_unused_command_line_argument=no
   17237 fi
   17238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17239 fi
   17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17241 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17243 	CFLAGS="$xorg_testset_save_CFLAGS"
   17244 fi
   17245 
   17246 found="no"
   17247 
   17248 	if test $found = "no" ; then
   17249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17251 		fi
   17252 
   17253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17255 		fi
   17256 
   17257 		CFLAGS="$CFLAGS -Wwrite-strings"
   17258 
   17259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17260 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17261 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17262 		if eval \${$cacheid+:} false; then :
   17263   $as_echo_n "(cached) " >&6
   17264 else
   17265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17266 /* end confdefs.h.  */
   17267 int i;
   17268 int
   17269 main ()
   17270 {
   17271 
   17272   ;
   17273   return 0;
   17274 }
   17275 _ACEOF
   17276 if ac_fn_c_try_link "$LINENO"; then :
   17277   eval $cacheid=yes
   17278 else
   17279   eval $cacheid=no
   17280 fi
   17281 rm -f core conftest.err conftest.$ac_objext \
   17282     conftest$ac_exeext conftest.$ac_ext
   17283 fi
   17284 
   17285 
   17286 		CFLAGS="$xorg_testset_save_CFLAGS"
   17287 
   17288 		eval supported=\$$cacheid
   17289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17290 $as_echo "$supported" >&6; }
   17291 		if test "$supported" = "yes" ; then
   17292 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17293 			found="yes"
   17294 		fi
   17295 	fi
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309 
   17310 
   17311 xorg_testset_save_CFLAGS="$CFLAGS"
   17312 
   17313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17318   $as_echo_n "(cached) " >&6
   17319 else
   17320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17321 /* end confdefs.h.  */
   17322 int i;
   17323 _ACEOF
   17324 if ac_fn_c_try_compile "$LINENO"; then :
   17325   xorg_cv_cc_flag_unknown_warning_option=yes
   17326 else
   17327   xorg_cv_cc_flag_unknown_warning_option=no
   17328 fi
   17329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17330 fi
   17331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17334 	CFLAGS="$xorg_testset_save_CFLAGS"
   17335 fi
   17336 
   17337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17340 	fi
   17341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17345   $as_echo_n "(cached) " >&6
   17346 else
   17347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17348 /* end confdefs.h.  */
   17349 int i;
   17350 _ACEOF
   17351 if ac_fn_c_try_compile "$LINENO"; then :
   17352   xorg_cv_cc_flag_unused_command_line_argument=yes
   17353 else
   17354   xorg_cv_cc_flag_unused_command_line_argument=no
   17355 fi
   17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17357 fi
   17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17361 	CFLAGS="$xorg_testset_save_CFLAGS"
   17362 fi
   17363 
   17364 found="no"
   17365 
   17366 	if test $found = "no" ; then
   17367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17369 		fi
   17370 
   17371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17373 		fi
   17374 
   17375 		CFLAGS="$CFLAGS -Waddress"
   17376 
   17377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17378 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17379 		cacheid=xorg_cv_cc_flag__Waddress
   17380 		if eval \${$cacheid+:} false; then :
   17381   $as_echo_n "(cached) " >&6
   17382 else
   17383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17384 /* end confdefs.h.  */
   17385 int i;
   17386 int
   17387 main ()
   17388 {
   17389 
   17390   ;
   17391   return 0;
   17392 }
   17393 _ACEOF
   17394 if ac_fn_c_try_link "$LINENO"; then :
   17395   eval $cacheid=yes
   17396 else
   17397   eval $cacheid=no
   17398 fi
   17399 rm -f core conftest.err conftest.$ac_objext \
   17400     conftest$ac_exeext conftest.$ac_ext
   17401 fi
   17402 
   17403 
   17404 		CFLAGS="$xorg_testset_save_CFLAGS"
   17405 
   17406 		eval supported=\$$cacheid
   17407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17408 $as_echo "$supported" >&6; }
   17409 		if test "$supported" = "yes" ; then
   17410 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17411 			found="yes"
   17412 		fi
   17413 	fi
   17414 
   17415 
   17416 
   17417 
   17418 
   17419 
   17420 
   17421 
   17422 
   17423 
   17424 
   17425 
   17426 
   17427 
   17428 
   17429 xorg_testset_save_CFLAGS="$CFLAGS"
   17430 
   17431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17434 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17435 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17436   $as_echo_n "(cached) " >&6
   17437 else
   17438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17439 /* end confdefs.h.  */
   17440 int i;
   17441 _ACEOF
   17442 if ac_fn_c_try_compile "$LINENO"; then :
   17443   xorg_cv_cc_flag_unknown_warning_option=yes
   17444 else
   17445   xorg_cv_cc_flag_unknown_warning_option=no
   17446 fi
   17447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17448 fi
   17449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17450 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17452 	CFLAGS="$xorg_testset_save_CFLAGS"
   17453 fi
   17454 
   17455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17458 	fi
   17459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17461 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17462 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17463   $as_echo_n "(cached) " >&6
   17464 else
   17465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17466 /* end confdefs.h.  */
   17467 int i;
   17468 _ACEOF
   17469 if ac_fn_c_try_compile "$LINENO"; then :
   17470   xorg_cv_cc_flag_unused_command_line_argument=yes
   17471 else
   17472   xorg_cv_cc_flag_unused_command_line_argument=no
   17473 fi
   17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17475 fi
   17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17477 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17478 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17479 	CFLAGS="$xorg_testset_save_CFLAGS"
   17480 fi
   17481 
   17482 found="no"
   17483 
   17484 	if test $found = "no" ; then
   17485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17487 		fi
   17488 
   17489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17491 		fi
   17492 
   17493 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17494 
   17495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17496 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17497 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17498 		if eval \${$cacheid+:} false; then :
   17499   $as_echo_n "(cached) " >&6
   17500 else
   17501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17502 /* end confdefs.h.  */
   17503 int i;
   17504 int
   17505 main ()
   17506 {
   17507 
   17508   ;
   17509   return 0;
   17510 }
   17511 _ACEOF
   17512 if ac_fn_c_try_link "$LINENO"; then :
   17513   eval $cacheid=yes
   17514 else
   17515   eval $cacheid=no
   17516 fi
   17517 rm -f core conftest.err conftest.$ac_objext \
   17518     conftest$ac_exeext conftest.$ac_ext
   17519 fi
   17520 
   17521 
   17522 		CFLAGS="$xorg_testset_save_CFLAGS"
   17523 
   17524 		eval supported=\$$cacheid
   17525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17526 $as_echo "$supported" >&6; }
   17527 		if test "$supported" = "yes" ; then
   17528 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17529 			found="yes"
   17530 		fi
   17531 	fi
   17532 
   17533 
   17534 
   17535 
   17536 
   17537 
   17538 
   17539 
   17540 
   17541 
   17542 
   17543 
   17544 
   17545 
   17546 
   17547 xorg_testset_save_CFLAGS="$CFLAGS"
   17548 
   17549 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17550 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17551 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17552 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17553 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17554   $as_echo_n "(cached) " >&6
   17555 else
   17556   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17557 /* end confdefs.h.  */
   17558 int i;
   17559 _ACEOF
   17560 if ac_fn_c_try_compile "$LINENO"; then :
   17561   xorg_cv_cc_flag_unknown_warning_option=yes
   17562 else
   17563   xorg_cv_cc_flag_unknown_warning_option=no
   17564 fi
   17565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17566 fi
   17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17568 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17569 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17570 	CFLAGS="$xorg_testset_save_CFLAGS"
   17571 fi
   17572 
   17573 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17574 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17575 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17576 	fi
   17577 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17578 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17579 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17580 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17581   $as_echo_n "(cached) " >&6
   17582 else
   17583   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17584 /* end confdefs.h.  */
   17585 int i;
   17586 _ACEOF
   17587 if ac_fn_c_try_compile "$LINENO"; then :
   17588   xorg_cv_cc_flag_unused_command_line_argument=yes
   17589 else
   17590   xorg_cv_cc_flag_unused_command_line_argument=no
   17591 fi
   17592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17593 fi
   17594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17595 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17596 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17597 	CFLAGS="$xorg_testset_save_CFLAGS"
   17598 fi
   17599 
   17600 found="no"
   17601 
   17602 	if test $found = "no" ; then
   17603 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17604 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17605 		fi
   17606 
   17607 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17608 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17609 		fi
   17610 
   17611 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17612 
   17613 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17614 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17615 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17616 		if eval \${$cacheid+:} false; then :
   17617   $as_echo_n "(cached) " >&6
   17618 else
   17619   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17620 /* end confdefs.h.  */
   17621 int i;
   17622 int
   17623 main ()
   17624 {
   17625 
   17626   ;
   17627   return 0;
   17628 }
   17629 _ACEOF
   17630 if ac_fn_c_try_link "$LINENO"; then :
   17631   eval $cacheid=yes
   17632 else
   17633   eval $cacheid=no
   17634 fi
   17635 rm -f core conftest.err conftest.$ac_objext \
   17636     conftest$ac_exeext conftest.$ac_ext
   17637 fi
   17638 
   17639 
   17640 		CFLAGS="$xorg_testset_save_CFLAGS"
   17641 
   17642 		eval supported=\$$cacheid
   17643 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17644 $as_echo "$supported" >&6; }
   17645 		if test "$supported" = "yes" ; then
   17646 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17647 			found="yes"
   17648 		fi
   17649 	fi
   17650 
   17651 
   17652 fi
   17653 
   17654 
   17655 
   17656 
   17657 
   17658 
   17659 
   17660 		CWARNFLAGS="$BASE_CFLAGS"
   17661 		if  test "x$GCC" = xyes ; then
   17662 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17663 		fi
   17664 
   17665 
   17666 
   17667 
   17668 
   17669 
   17670 
   17671 
   17672 # Check whether --enable-strict-compilation was given.
   17673 if test "${enable_strict_compilation+set}" = set; then :
   17674   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17675 else
   17676   STRICT_COMPILE=no
   17677 fi
   17678 
   17679 
   17680 
   17681 
   17682 
   17683 
   17684 STRICT_CFLAGS=""
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 xorg_testset_save_CFLAGS="$CFLAGS"
   17699 
   17700 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17701 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17703 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17704 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17705   $as_echo_n "(cached) " >&6
   17706 else
   17707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17708 /* end confdefs.h.  */
   17709 int i;
   17710 _ACEOF
   17711 if ac_fn_c_try_compile "$LINENO"; then :
   17712   xorg_cv_cc_flag_unknown_warning_option=yes
   17713 else
   17714   xorg_cv_cc_flag_unknown_warning_option=no
   17715 fi
   17716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17717 fi
   17718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17719 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17720 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17721 	CFLAGS="$xorg_testset_save_CFLAGS"
   17722 fi
   17723 
   17724 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17725 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17726 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17727 	fi
   17728 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17730 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17731 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17732   $as_echo_n "(cached) " >&6
   17733 else
   17734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17735 /* end confdefs.h.  */
   17736 int i;
   17737 _ACEOF
   17738 if ac_fn_c_try_compile "$LINENO"; then :
   17739   xorg_cv_cc_flag_unused_command_line_argument=yes
   17740 else
   17741   xorg_cv_cc_flag_unused_command_line_argument=no
   17742 fi
   17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17744 fi
   17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17746 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17747 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17748 	CFLAGS="$xorg_testset_save_CFLAGS"
   17749 fi
   17750 
   17751 found="no"
   17752 
   17753 	if test $found = "no" ; then
   17754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17756 		fi
   17757 
   17758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17760 		fi
   17761 
   17762 		CFLAGS="$CFLAGS -pedantic"
   17763 
   17764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17765 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17766 		cacheid=xorg_cv_cc_flag__pedantic
   17767 		if eval \${$cacheid+:} false; then :
   17768   $as_echo_n "(cached) " >&6
   17769 else
   17770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17771 /* end confdefs.h.  */
   17772 int i;
   17773 int
   17774 main ()
   17775 {
   17776 
   17777   ;
   17778   return 0;
   17779 }
   17780 _ACEOF
   17781 if ac_fn_c_try_link "$LINENO"; then :
   17782   eval $cacheid=yes
   17783 else
   17784   eval $cacheid=no
   17785 fi
   17786 rm -f core conftest.err conftest.$ac_objext \
   17787     conftest$ac_exeext conftest.$ac_ext
   17788 fi
   17789 
   17790 
   17791 		CFLAGS="$xorg_testset_save_CFLAGS"
   17792 
   17793 		eval supported=\$$cacheid
   17794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17795 $as_echo "$supported" >&6; }
   17796 		if test "$supported" = "yes" ; then
   17797 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17798 			found="yes"
   17799 		fi
   17800 	fi
   17801 
   17802 
   17803 
   17804 
   17805 
   17806 
   17807 
   17808 
   17809 
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 xorg_testset_save_CFLAGS="$CFLAGS"
   17817 
   17818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17821 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17822 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17823   $as_echo_n "(cached) " >&6
   17824 else
   17825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17826 /* end confdefs.h.  */
   17827 int i;
   17828 _ACEOF
   17829 if ac_fn_c_try_compile "$LINENO"; then :
   17830   xorg_cv_cc_flag_unknown_warning_option=yes
   17831 else
   17832   xorg_cv_cc_flag_unknown_warning_option=no
   17833 fi
   17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17835 fi
   17836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17837 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17839 	CFLAGS="$xorg_testset_save_CFLAGS"
   17840 fi
   17841 
   17842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17845 	fi
   17846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17848 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17849 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17850   $as_echo_n "(cached) " >&6
   17851 else
   17852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17853 /* end confdefs.h.  */
   17854 int i;
   17855 _ACEOF
   17856 if ac_fn_c_try_compile "$LINENO"; then :
   17857   xorg_cv_cc_flag_unused_command_line_argument=yes
   17858 else
   17859   xorg_cv_cc_flag_unused_command_line_argument=no
   17860 fi
   17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17862 fi
   17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17864 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17866 	CFLAGS="$xorg_testset_save_CFLAGS"
   17867 fi
   17868 
   17869 found="no"
   17870 
   17871 	if test $found = "no" ; then
   17872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17874 		fi
   17875 
   17876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17878 		fi
   17879 
   17880 		CFLAGS="$CFLAGS -Werror"
   17881 
   17882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17883 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17884 		cacheid=xorg_cv_cc_flag__Werror
   17885 		if eval \${$cacheid+:} false; then :
   17886   $as_echo_n "(cached) " >&6
   17887 else
   17888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17889 /* end confdefs.h.  */
   17890 int i;
   17891 int
   17892 main ()
   17893 {
   17894 
   17895   ;
   17896   return 0;
   17897 }
   17898 _ACEOF
   17899 if ac_fn_c_try_link "$LINENO"; then :
   17900   eval $cacheid=yes
   17901 else
   17902   eval $cacheid=no
   17903 fi
   17904 rm -f core conftest.err conftest.$ac_objext \
   17905     conftest$ac_exeext conftest.$ac_ext
   17906 fi
   17907 
   17908 
   17909 		CFLAGS="$xorg_testset_save_CFLAGS"
   17910 
   17911 		eval supported=\$$cacheid
   17912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17913 $as_echo "$supported" >&6; }
   17914 		if test "$supported" = "yes" ; then
   17915 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17916 			found="yes"
   17917 		fi
   17918 	fi
   17919 
   17920 	if test $found = "no" ; then
   17921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17923 		fi
   17924 
   17925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17927 		fi
   17928 
   17929 		CFLAGS="$CFLAGS -errwarn"
   17930 
   17931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17932 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17933 		cacheid=xorg_cv_cc_flag__errwarn
   17934 		if eval \${$cacheid+:} false; then :
   17935   $as_echo_n "(cached) " >&6
   17936 else
   17937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17938 /* end confdefs.h.  */
   17939 int i;
   17940 int
   17941 main ()
   17942 {
   17943 
   17944   ;
   17945   return 0;
   17946 }
   17947 _ACEOF
   17948 if ac_fn_c_try_link "$LINENO"; then :
   17949   eval $cacheid=yes
   17950 else
   17951   eval $cacheid=no
   17952 fi
   17953 rm -f core conftest.err conftest.$ac_objext \
   17954     conftest$ac_exeext conftest.$ac_ext
   17955 fi
   17956 
   17957 
   17958 		CFLAGS="$xorg_testset_save_CFLAGS"
   17959 
   17960 		eval supported=\$$cacheid
   17961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17962 $as_echo "$supported" >&6; }
   17963 		if test "$supported" = "yes" ; then
   17964 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17965 			found="yes"
   17966 		fi
   17967 	fi
   17968 
   17969 
   17970 
   17971 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17972 # activate it with -Werror, so we add it here explicitly.
   17973 
   17974 
   17975 
   17976 
   17977 
   17978 
   17979 
   17980 
   17981 
   17982 
   17983 
   17984 
   17985 
   17986 xorg_testset_save_CFLAGS="$CFLAGS"
   17987 
   17988 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17989 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17990 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17991 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17992 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17993   $as_echo_n "(cached) " >&6
   17994 else
   17995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17996 /* end confdefs.h.  */
   17997 int i;
   17998 _ACEOF
   17999 if ac_fn_c_try_compile "$LINENO"; then :
   18000   xorg_cv_cc_flag_unknown_warning_option=yes
   18001 else
   18002   xorg_cv_cc_flag_unknown_warning_option=no
   18003 fi
   18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18005 fi
   18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18007 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18008 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18009 	CFLAGS="$xorg_testset_save_CFLAGS"
   18010 fi
   18011 
   18012 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18013 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18014 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18015 	fi
   18016 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18017 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18018 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18019 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18020   $as_echo_n "(cached) " >&6
   18021 else
   18022   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18023 /* end confdefs.h.  */
   18024 int i;
   18025 _ACEOF
   18026 if ac_fn_c_try_compile "$LINENO"; then :
   18027   xorg_cv_cc_flag_unused_command_line_argument=yes
   18028 else
   18029   xorg_cv_cc_flag_unused_command_line_argument=no
   18030 fi
   18031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18032 fi
   18033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18034 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18035 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18036 	CFLAGS="$xorg_testset_save_CFLAGS"
   18037 fi
   18038 
   18039 found="no"
   18040 
   18041 	if test $found = "no" ; then
   18042 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18043 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18044 		fi
   18045 
   18046 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18047 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18048 		fi
   18049 
   18050 		CFLAGS="$CFLAGS -Werror=attributes"
   18051 
   18052 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18053 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18054 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18055 		if eval \${$cacheid+:} false; then :
   18056   $as_echo_n "(cached) " >&6
   18057 else
   18058   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18059 /* end confdefs.h.  */
   18060 int i;
   18061 int
   18062 main ()
   18063 {
   18064 
   18065   ;
   18066   return 0;
   18067 }
   18068 _ACEOF
   18069 if ac_fn_c_try_link "$LINENO"; then :
   18070   eval $cacheid=yes
   18071 else
   18072   eval $cacheid=no
   18073 fi
   18074 rm -f core conftest.err conftest.$ac_objext \
   18075     conftest$ac_exeext conftest.$ac_ext
   18076 fi
   18077 
   18078 
   18079 		CFLAGS="$xorg_testset_save_CFLAGS"
   18080 
   18081 		eval supported=\$$cacheid
   18082 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18083 $as_echo "$supported" >&6; }
   18084 		if test "$supported" = "yes" ; then
   18085 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18086 			found="yes"
   18087 		fi
   18088 	fi
   18089 
   18090 
   18091 
   18092 if test "x$STRICT_COMPILE" = "xyes"; then
   18093     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18094     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18095 fi
   18096 
   18097 
   18098 
   18099 
   18100 
   18101 
   18102 cat >>confdefs.h <<_ACEOF
   18103 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18104 _ACEOF
   18105 
   18106 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18107 	if test "x$PVM" = "x"; then
   18108 		PVM="0"
   18109 	fi
   18110 
   18111 cat >>confdefs.h <<_ACEOF
   18112 #define PACKAGE_VERSION_MINOR $PVM
   18113 _ACEOF
   18114 
   18115 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18116 	if test "x$PVP" = "x"; then
   18117 		PVP="0"
   18118 	fi
   18119 
   18120 cat >>confdefs.h <<_ACEOF
   18121 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18122 _ACEOF
   18123 
   18124 
   18125 
   18126 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18127 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18128 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18129 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18130 
   18131 
   18132 
   18133 
   18134 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18135 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18136 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18137 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18138 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18139 
   18140 
   18141 
   18142 
   18143 
   18144 
   18145 if test x$APP_MAN_SUFFIX = x    ; then
   18146     APP_MAN_SUFFIX=1
   18147 fi
   18148 if test x$APP_MAN_DIR = x    ; then
   18149     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18150 fi
   18151 
   18152 if test x$LIB_MAN_SUFFIX = x    ; then
   18153     LIB_MAN_SUFFIX=3
   18154 fi
   18155 if test x$LIB_MAN_DIR = x    ; then
   18156     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18157 fi
   18158 
   18159 if test x$FILE_MAN_SUFFIX = x    ; then
   18160     case $host_os in
   18161 	# Solaris 2.0 - 11 use SysV man page sections
   18162 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   18163 	*)				FILE_MAN_SUFFIX=5  ;;
   18164     esac
   18165 fi
   18166 if test x$FILE_MAN_DIR = x    ; then
   18167     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18168 fi
   18169 
   18170 if test x$MISC_MAN_SUFFIX = x    ; then
   18171     case $host_os in
   18172 	# Solaris 2.0 - 11 use SysV man page sections
   18173 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   18174 	*)				MISC_MAN_SUFFIX=7  ;;
   18175     esac
   18176 fi
   18177 if test x$MISC_MAN_DIR = x    ; then
   18178     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18179 fi
   18180 
   18181 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18182     case $host_os in
   18183 	# Solaris 2.0 - 11 use SysV man page sections
   18184 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   18185 	*)				DRIVER_MAN_SUFFIX=4  ;;
   18186     esac
   18187 fi
   18188 if test x$DRIVER_MAN_DIR = x    ; then
   18189     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18190 fi
   18191 
   18192 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18193     case $host_os in
   18194 	# Solaris 2.0 - 11 use SysV man page sections
   18195 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   18196 	*)				ADMIN_MAN_SUFFIX=8  ;;
   18197     esac
   18198 fi
   18199 if test x$ADMIN_MAN_DIR = x    ; then
   18200     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18201 fi
   18202 
   18203 
   18204 
   18205 
   18206 
   18207 
   18208 
   18209 
   18210 
   18211 
   18212 
   18213 
   18214 
   18215 
   18216 
   18217 XORG_MAN_PAGE="X Version 11"
   18218 
   18219 MAN_SUBSTS="\
   18220 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18221 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18222 	-e 's|__xservername__|Xorg|g' \
   18223 	-e 's|__xconfigfile__|xorg.conf|g' \
   18224 	-e 's|__xorgconfdir__|xorg.conf.d|g' \
   18225 	-e 's|__projectroot__|\$(prefix)|g' \
   18226 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18227 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18228 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18229 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18230 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18231 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18232 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18233 
   18234 
   18235 
   18236 # Check whether --enable-silent-rules was given.
   18237 if test "${enable_silent_rules+set}" = set; then :
   18238   enableval=$enable_silent_rules;
   18239 fi
   18240 
   18241 case $enable_silent_rules in # (((
   18242   yes) AM_DEFAULT_VERBOSITY=0;;
   18243    no) AM_DEFAULT_VERBOSITY=1;;
   18244     *) AM_DEFAULT_VERBOSITY=0;;
   18245 esac
   18246 am_make=${MAKE-make}
   18247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18248 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18249 if ${am_cv_make_support_nested_variables+:} false; then :
   18250   $as_echo_n "(cached) " >&6
   18251 else
   18252   if $as_echo 'TRUE=$(BAR$(V))
   18253 BAR0=false
   18254 BAR1=true
   18255 V=1
   18256 am__doit:
   18257 	@$(TRUE)
   18258 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18259   am_cv_make_support_nested_variables=yes
   18260 else
   18261   am_cv_make_support_nested_variables=no
   18262 fi
   18263 fi
   18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18265 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18266 if test $am_cv_make_support_nested_variables = yes; then
   18267     AM_V='$(V)'
   18268   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18269 else
   18270   AM_V=$AM_DEFAULT_VERBOSITY
   18271   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18272 fi
   18273 AM_BACKSLASH='\'
   18274 
   18275 
   18276 
   18277 # Obtain compiler/linker options from server and required extensions
   18278 
   18279 pkg_failed=no
   18280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18281 $as_echo_n "checking for XORG... " >&6; }
   18282 
   18283 if test -n "$XORG_CFLAGS"; then
   18284     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18285  elif test -n "$PKG_CONFIG"; then
   18286     if test -n "$PKG_CONFIG" && \
   18287     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.10 xproto inputproto\""; } >&5
   18288   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.10 xproto inputproto") 2>&5
   18289   ac_status=$?
   18290   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18291   test $ac_status = 0; }; then
   18292   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.10 xproto inputproto" 2>/dev/null`
   18293 		      test "x$?" != "x0" && pkg_failed=yes
   18294 else
   18295   pkg_failed=yes
   18296 fi
   18297  else
   18298     pkg_failed=untried
   18299 fi
   18300 if test -n "$XORG_LIBS"; then
   18301     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18302  elif test -n "$PKG_CONFIG"; then
   18303     if test -n "$PKG_CONFIG" && \
   18304     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.10 xproto inputproto\""; } >&5
   18305   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.10 xproto inputproto") 2>&5
   18306   ac_status=$?
   18307   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18308   test $ac_status = 0; }; then
   18309   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.10 xproto inputproto" 2>/dev/null`
   18310 		      test "x$?" != "x0" && pkg_failed=yes
   18311 else
   18312   pkg_failed=yes
   18313 fi
   18314  else
   18315     pkg_failed=untried
   18316 fi
   18317 
   18318 
   18319 
   18320 if test $pkg_failed = yes; then
   18321    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18322 $as_echo "no" >&6; }
   18323 
   18324 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18325         _pkg_short_errors_supported=yes
   18326 else
   18327         _pkg_short_errors_supported=no
   18328 fi
   18329         if test $_pkg_short_errors_supported = yes; then
   18330 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.10 xproto inputproto" 2>&1`
   18331         else
   18332 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.10 xproto inputproto" 2>&1`
   18333         fi
   18334 	# Put the nasty error message in config.log where it belongs
   18335 	echo "$XORG_PKG_ERRORS" >&5
   18336 
   18337 	as_fn_error $? "Package requirements (xorg-server >= 1.10 xproto inputproto) were not met:
   18338 
   18339 $XORG_PKG_ERRORS
   18340 
   18341 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18342 installed software in a non-standard prefix.
   18343 
   18344 Alternatively, you may set the environment variables XORG_CFLAGS
   18345 and XORG_LIBS to avoid the need to call pkg-config.
   18346 See the pkg-config man page for more details." "$LINENO" 5
   18347 elif test $pkg_failed = untried; then
   18348      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18349 $as_echo "no" >&6; }
   18350 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18351 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18352 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18353 is in your PATH or set the PKG_CONFIG environment variable to the full
   18354 path to pkg-config.
   18355 
   18356 Alternatively, you may set the environment variables XORG_CFLAGS
   18357 and XORG_LIBS to avoid the need to call pkg-config.
   18358 See the pkg-config man page for more details.
   18359 
   18360 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18361 See \`config.log' for more details" "$LINENO" 5; }
   18362 else
   18363 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18364 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18365         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18366 $as_echo "yes" >&6; }
   18367 
   18368 fi
   18369 
   18370 # Define a configure option for an alternate input module directory
   18371 
   18372 # Check whether --with-xorg-module-dir was given.
   18373 if test "${with_xorg_module_dir+set}" = set; then :
   18374   withval=$with_xorg_module_dir; moduledir="$withval"
   18375 else
   18376   moduledir="$libdir/xorg/modules"
   18377 fi
   18378 
   18379 inputdir=${moduledir}/input
   18380 
   18381 
   18382 # The keyboard driver code is O/S specific
   18383 case $host_os in
   18384   linux*)
   18385     IS_LINUX="yes"
   18386     ;;
   18387 
   18388   freebsd* | kfreebsd-gnu* | netbsd* | openbsd* | dragonfly*)
   18389     IS_BSD="yes"
   18390     ;;
   18391 
   18392   solaris*)
   18393     IS_SOLARIS="yes"
   18394     ;;
   18395 
   18396   gnu*)
   18397     IS_HURD="yes"
   18398     ;;
   18399 
   18400   *)
   18401     as_fn_error $? "Your operating system is not supported by the kbd driver.
   18402                   Contact xorg@lists.freedesktop.org if you are interested in
   18403                   porting it." "$LINENO" 5
   18404     ;;
   18405 esac
   18406 case $host_os in
   18407   netbsd*)
   18408     case $host in
   18409       *powerpc-*|*sparc-*|*sparc64-*|*vax-*)
   18410         OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
   18411         ;;
   18412     esac
   18413     case "$(uname -m 2>&1)" in
   18414       evbarm|sgimips|shark)
   18415         OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD"
   18416         ;;
   18417     esac
   18418     ;;
   18419 esac
   18420 
   18421 
   18422  if test "x$IS_LINUX" = xyes; then
   18423   LINUX_TRUE=
   18424   LINUX_FALSE='#'
   18425 else
   18426   LINUX_TRUE='#'
   18427   LINUX_FALSE=
   18428 fi
   18429 
   18430  if test "x$IS_BSD" = xyes; then
   18431   BSD_TRUE=
   18432   BSD_FALSE='#'
   18433 else
   18434   BSD_TRUE='#'
   18435   BSD_FALSE=
   18436 fi
   18437 
   18438  if test "x$IS_SOLARIS" = xyes; then
   18439   SOLARIS_TRUE=
   18440   SOLARIS_FALSE='#'
   18441 else
   18442   SOLARIS_TRUE='#'
   18443   SOLARIS_FALSE=
   18444 fi
   18445 
   18446  if test "x$IS_HURD" = xyes; then
   18447   HURD_TRUE=
   18448   HURD_FALSE='#'
   18449 else
   18450   HURD_TRUE='#'
   18451   HURD_FALSE=
   18452 fi
   18453 
   18454 
   18455 DRIVER_NAME=kbd
   18456 
   18457 
   18458 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18459 
   18460 cat >confcache <<\_ACEOF
   18461 # This file is a shell script that caches the results of configure
   18462 # tests run on this system so they can be shared between configure
   18463 # scripts and configure runs, see configure's option --config-cache.
   18464 # It is not useful on other systems.  If it contains results you don't
   18465 # want to keep, you may remove or edit it.
   18466 #
   18467 # config.status only pays attention to the cache file if you give it
   18468 # the --recheck option to rerun configure.
   18469 #
   18470 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18471 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18472 # following values.
   18473 
   18474 _ACEOF
   18475 
   18476 # The following way of writing the cache mishandles newlines in values,
   18477 # but we know of no workaround that is simple, portable, and efficient.
   18478 # So, we kill variables containing newlines.
   18479 # Ultrix sh set writes to stderr and can't be redirected directly,
   18480 # and sets the high bit in the cache file unless we assign to the vars.
   18481 (
   18482   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18483     eval ac_val=\$$ac_var
   18484     case $ac_val in #(
   18485     *${as_nl}*)
   18486       case $ac_var in #(
   18487       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18488 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18489       esac
   18490       case $ac_var in #(
   18491       _ | IFS | as_nl) ;; #(
   18492       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18493       *) { eval $ac_var=; unset $ac_var;} ;;
   18494       esac ;;
   18495     esac
   18496   done
   18497 
   18498   (set) 2>&1 |
   18499     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18500     *${as_nl}ac_space=\ *)
   18501       # `set' does not quote correctly, so add quotes: double-quote
   18502       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18503       sed -n \
   18504 	"s/'/'\\\\''/g;
   18505 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18506       ;; #(
   18507     *)
   18508       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18509       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18510       ;;
   18511     esac |
   18512     sort
   18513 ) |
   18514   sed '
   18515      /^ac_cv_env_/b end
   18516      t clear
   18517      :clear
   18518      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18519      t end
   18520      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18521      :end' >>confcache
   18522 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18523   if test -w "$cache_file"; then
   18524     if test "x$cache_file" != "x/dev/null"; then
   18525       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18526 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18527       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18528 	cat confcache >"$cache_file"
   18529       else
   18530         case $cache_file in #(
   18531         */* | ?:*)
   18532 	  mv -f confcache "$cache_file"$$ &&
   18533 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18534         *)
   18535 	  mv -f confcache "$cache_file" ;;
   18536 	esac
   18537       fi
   18538     fi
   18539   else
   18540     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18541 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18542   fi
   18543 fi
   18544 rm -f confcache
   18545 
   18546 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18547 # Let make expand exec_prefix.
   18548 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18549 
   18550 DEFS=-DHAVE_CONFIG_H
   18551 
   18552 ac_libobjs=
   18553 ac_ltlibobjs=
   18554 U=
   18555 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18556   # 1. Remove the extension, and $U if already installed.
   18557   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18558   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18559   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18560   #    will be set to the directory where LIBOBJS objects are built.
   18561   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18562   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18563 done
   18564 LIBOBJS=$ac_libobjs
   18565 
   18566 LTLIBOBJS=$ac_ltlibobjs
   18567 
   18568 
   18569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18570 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18571    if test -n "$am_sleep_pid"; then
   18572      # Hide warnings about reused PIDs.
   18573      wait $am_sleep_pid 2>/dev/null
   18574    fi
   18575    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18576 $as_echo "done" >&6; }
   18577  if test -n "$EXEEXT"; then
   18578   am__EXEEXT_TRUE=
   18579   am__EXEEXT_FALSE='#'
   18580 else
   18581   am__EXEEXT_TRUE='#'
   18582   am__EXEEXT_FALSE=
   18583 fi
   18584 
   18585 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18586   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18587 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18588 fi
   18589 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18590   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18591 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18592 fi
   18593 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
   18594   as_fn_error $? "conditional \"LINUX\" was never defined.
   18595 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18596 fi
   18597 if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then
   18598   as_fn_error $? "conditional \"BSD\" was never defined.
   18599 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18600 fi
   18601 if test -z "${SOLARIS_TRUE}" && test -z "${SOLARIS_FALSE}"; then
   18602   as_fn_error $? "conditional \"SOLARIS\" was never defined.
   18603 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18604 fi
   18605 if test -z "${HURD_TRUE}" && test -z "${HURD_FALSE}"; then
   18606   as_fn_error $? "conditional \"HURD\" was never defined.
   18607 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18608 fi
   18609 
   18610 : "${CONFIG_STATUS=./config.status}"
   18611 ac_write_fail=0
   18612 ac_clean_files_save=$ac_clean_files
   18613 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18614 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18615 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18616 as_write_fail=0
   18617 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18618 #! $SHELL
   18619 # Generated by $as_me.
   18620 # Run this file to recreate the current configuration.
   18621 # Compiler output produced by configure, useful for debugging
   18622 # configure, is in config.log if it exists.
   18623 
   18624 debug=false
   18625 ac_cs_recheck=false
   18626 ac_cs_silent=false
   18627 
   18628 SHELL=\${CONFIG_SHELL-$SHELL}
   18629 export SHELL
   18630 _ASEOF
   18631 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18632 ## -------------------- ##
   18633 ## M4sh Initialization. ##
   18634 ## -------------------- ##
   18635 
   18636 # Be more Bourne compatible
   18637 DUALCASE=1; export DUALCASE # for MKS sh
   18638 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18639   emulate sh
   18640   NULLCMD=:
   18641   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18642   # is contrary to our usage.  Disable this feature.
   18643   alias -g '${1+"$@"}'='"$@"'
   18644   setopt NO_GLOB_SUBST
   18645 else
   18646   case `(set -o) 2>/dev/null` in #(
   18647   *posix*) :
   18648     set -o posix ;; #(
   18649   *) :
   18650      ;;
   18651 esac
   18652 fi
   18653 
   18654 
   18655 as_nl='
   18656 '
   18657 export as_nl
   18658 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18659 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18660 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18661 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18662 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18663 # but without wasting forks for bash or zsh.
   18664 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18665     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18666   as_echo='print -r --'
   18667   as_echo_n='print -rn --'
   18668 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18669   as_echo='printf %s\n'
   18670   as_echo_n='printf %s'
   18671 else
   18672   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18673     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18674     as_echo_n='/usr/ucb/echo -n'
   18675   else
   18676     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18677     as_echo_n_body='eval
   18678       arg=$1;
   18679       case $arg in #(
   18680       *"$as_nl"*)
   18681 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18682 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18683       esac;
   18684       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18685     '
   18686     export as_echo_n_body
   18687     as_echo_n='sh -c $as_echo_n_body as_echo'
   18688   fi
   18689   export as_echo_body
   18690   as_echo='sh -c $as_echo_body as_echo'
   18691 fi
   18692 
   18693 # The user is always right.
   18694 if test "${PATH_SEPARATOR+set}" != set; then
   18695   PATH_SEPARATOR=:
   18696   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18697     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18698       PATH_SEPARATOR=';'
   18699   }
   18700 fi
   18701 
   18702 
   18703 # IFS
   18704 # We need space, tab and new line, in precisely that order.  Quoting is
   18705 # there to prevent editors from complaining about space-tab.
   18706 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18707 # splitting by setting IFS to empty value.)
   18708 IFS=" ""	$as_nl"
   18709 
   18710 # Find who we are.  Look in the path if we contain no directory separator.
   18711 as_myself=
   18712 case $0 in #((
   18713   *[\\/]* ) as_myself=$0 ;;
   18714   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18715 for as_dir in $PATH
   18716 do
   18717   IFS=$as_save_IFS
   18718   test -z "$as_dir" && as_dir=.
   18719     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18720   done
   18721 IFS=$as_save_IFS
   18722 
   18723      ;;
   18724 esac
   18725 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18726 # in which case we are not to be found in the path.
   18727 if test "x$as_myself" = x; then
   18728   as_myself=$0
   18729 fi
   18730 if test ! -f "$as_myself"; then
   18731   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18732   exit 1
   18733 fi
   18734 
   18735 # Unset variables that we do not need and which cause bugs (e.g. in
   18736 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18737 # suppresses any "Segmentation fault" message there.  '((' could
   18738 # trigger a bug in pdksh 5.2.14.
   18739 for as_var in BASH_ENV ENV MAIL MAILPATH
   18740 do eval test x\${$as_var+set} = xset \
   18741   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18742 done
   18743 PS1='$ '
   18744 PS2='> '
   18745 PS4='+ '
   18746 
   18747 # NLS nuisances.
   18748 LC_ALL=C
   18749 export LC_ALL
   18750 LANGUAGE=C
   18751 export LANGUAGE
   18752 
   18753 # CDPATH.
   18754 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18755 
   18756 
   18757 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18758 # ----------------------------------------
   18759 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18760 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18761 # script with STATUS, using 1 if that was 0.
   18762 as_fn_error ()
   18763 {
   18764   as_status=$1; test $as_status -eq 0 && as_status=1
   18765   if test "$4"; then
   18766     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18767     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18768   fi
   18769   $as_echo "$as_me: error: $2" >&2
   18770   as_fn_exit $as_status
   18771 } # as_fn_error
   18772 
   18773 
   18774 # as_fn_set_status STATUS
   18775 # -----------------------
   18776 # Set $? to STATUS, without forking.
   18777 as_fn_set_status ()
   18778 {
   18779   return $1
   18780 } # as_fn_set_status
   18781 
   18782 # as_fn_exit STATUS
   18783 # -----------------
   18784 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18785 as_fn_exit ()
   18786 {
   18787   set +e
   18788   as_fn_set_status $1
   18789   exit $1
   18790 } # as_fn_exit
   18791 
   18792 # as_fn_unset VAR
   18793 # ---------------
   18794 # Portably unset VAR.
   18795 as_fn_unset ()
   18796 {
   18797   { eval $1=; unset $1;}
   18798 }
   18799 as_unset=as_fn_unset
   18800 # as_fn_append VAR VALUE
   18801 # ----------------------
   18802 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18803 # advantage of any shell optimizations that allow amortized linear growth over
   18804 # repeated appends, instead of the typical quadratic growth present in naive
   18805 # implementations.
   18806 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18807   eval 'as_fn_append ()
   18808   {
   18809     eval $1+=\$2
   18810   }'
   18811 else
   18812   as_fn_append ()
   18813   {
   18814     eval $1=\$$1\$2
   18815   }
   18816 fi # as_fn_append
   18817 
   18818 # as_fn_arith ARG...
   18819 # ------------------
   18820 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18821 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18822 # must be portable across $(()) and expr.
   18823 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18824   eval 'as_fn_arith ()
   18825   {
   18826     as_val=$(( $* ))
   18827   }'
   18828 else
   18829   as_fn_arith ()
   18830   {
   18831     as_val=`expr "$@" || test $? -eq 1`
   18832   }
   18833 fi # as_fn_arith
   18834 
   18835 
   18836 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18837    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18838   as_expr=expr
   18839 else
   18840   as_expr=false
   18841 fi
   18842 
   18843 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18844   as_basename=basename
   18845 else
   18846   as_basename=false
   18847 fi
   18848 
   18849 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18850   as_dirname=dirname
   18851 else
   18852   as_dirname=false
   18853 fi
   18854 
   18855 as_me=`$as_basename -- "$0" ||
   18856 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18857 	 X"$0" : 'X\(//\)$' \| \
   18858 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18859 $as_echo X/"$0" |
   18860     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18861 	    s//\1/
   18862 	    q
   18863 	  }
   18864 	  /^X\/\(\/\/\)$/{
   18865 	    s//\1/
   18866 	    q
   18867 	  }
   18868 	  /^X\/\(\/\).*/{
   18869 	    s//\1/
   18870 	    q
   18871 	  }
   18872 	  s/.*/./; q'`
   18873 
   18874 # Avoid depending upon Character Ranges.
   18875 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18876 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18877 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18878 as_cr_digits='0123456789'
   18879 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18880 
   18881 ECHO_C= ECHO_N= ECHO_T=
   18882 case `echo -n x` in #(((((
   18883 -n*)
   18884   case `echo 'xy\c'` in
   18885   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18886   xy)  ECHO_C='\c';;
   18887   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18888        ECHO_T='	';;
   18889   esac;;
   18890 *)
   18891   ECHO_N='-n';;
   18892 esac
   18893 
   18894 rm -f conf$$ conf$$.exe conf$$.file
   18895 if test -d conf$$.dir; then
   18896   rm -f conf$$.dir/conf$$.file
   18897 else
   18898   rm -f conf$$.dir
   18899   mkdir conf$$.dir 2>/dev/null
   18900 fi
   18901 if (echo >conf$$.file) 2>/dev/null; then
   18902   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18903     as_ln_s='ln -s'
   18904     # ... but there are two gotchas:
   18905     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18906     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18907     # In both cases, we have to default to `cp -pR'.
   18908     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18909       as_ln_s='cp -pR'
   18910   elif ln conf$$.file conf$$ 2>/dev/null; then
   18911     as_ln_s=ln
   18912   else
   18913     as_ln_s='cp -pR'
   18914   fi
   18915 else
   18916   as_ln_s='cp -pR'
   18917 fi
   18918 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18919 rmdir conf$$.dir 2>/dev/null
   18920 
   18921 
   18922 # as_fn_mkdir_p
   18923 # -------------
   18924 # Create "$as_dir" as a directory, including parents if necessary.
   18925 as_fn_mkdir_p ()
   18926 {
   18927 
   18928   case $as_dir in #(
   18929   -*) as_dir=./$as_dir;;
   18930   esac
   18931   test -d "$as_dir" || eval $as_mkdir_p || {
   18932     as_dirs=
   18933     while :; do
   18934       case $as_dir in #(
   18935       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18936       *) as_qdir=$as_dir;;
   18937       esac
   18938       as_dirs="'$as_qdir' $as_dirs"
   18939       as_dir=`$as_dirname -- "$as_dir" ||
   18940 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18941 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18942 	 X"$as_dir" : 'X\(//\)$' \| \
   18943 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18944 $as_echo X"$as_dir" |
   18945     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18946 	    s//\1/
   18947 	    q
   18948 	  }
   18949 	  /^X\(\/\/\)[^/].*/{
   18950 	    s//\1/
   18951 	    q
   18952 	  }
   18953 	  /^X\(\/\/\)$/{
   18954 	    s//\1/
   18955 	    q
   18956 	  }
   18957 	  /^X\(\/\).*/{
   18958 	    s//\1/
   18959 	    q
   18960 	  }
   18961 	  s/.*/./; q'`
   18962       test -d "$as_dir" && break
   18963     done
   18964     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18965   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18966 
   18967 
   18968 } # as_fn_mkdir_p
   18969 if mkdir -p . 2>/dev/null; then
   18970   as_mkdir_p='mkdir -p "$as_dir"'
   18971 else
   18972   test -d ./-p && rmdir ./-p
   18973   as_mkdir_p=false
   18974 fi
   18975 
   18976 
   18977 # as_fn_executable_p FILE
   18978 # -----------------------
   18979 # Test if FILE is an executable regular file.
   18980 as_fn_executable_p ()
   18981 {
   18982   test -f "$1" && test -x "$1"
   18983 } # as_fn_executable_p
   18984 as_test_x='test -x'
   18985 as_executable_p=as_fn_executable_p
   18986 
   18987 # Sed expression to map a string onto a valid CPP name.
   18988 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18989 
   18990 # Sed expression to map a string onto a valid variable name.
   18991 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18992 
   18993 
   18994 exec 6>&1
   18995 ## ----------------------------------- ##
   18996 ## Main body of $CONFIG_STATUS script. ##
   18997 ## ----------------------------------- ##
   18998 _ASEOF
   18999 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19000 
   19001 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19002 # Save the log message, to keep $0 and so on meaningful, and to
   19003 # report actual input values of CONFIG_FILES etc. instead of their
   19004 # values after options handling.
   19005 ac_log="
   19006 This file was extended by xf86-input-keyboard $as_me 1.9.0, which was
   19007 generated by GNU Autoconf 2.69.  Invocation command line was
   19008 
   19009   CONFIG_FILES    = $CONFIG_FILES
   19010   CONFIG_HEADERS  = $CONFIG_HEADERS
   19011   CONFIG_LINKS    = $CONFIG_LINKS
   19012   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19013   $ $0 $@
   19014 
   19015 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19016 "
   19017 
   19018 _ACEOF
   19019 
   19020 case $ac_config_files in *"
   19021 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19022 esac
   19023 
   19024 case $ac_config_headers in *"
   19025 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19026 esac
   19027 
   19028 
   19029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19030 # Files that config.status was made for.
   19031 config_files="$ac_config_files"
   19032 config_headers="$ac_config_headers"
   19033 config_commands="$ac_config_commands"
   19034 
   19035 _ACEOF
   19036 
   19037 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19038 ac_cs_usage="\
   19039 \`$as_me' instantiates files and other configuration actions
   19040 from templates according to the current configuration.  Unless the files
   19041 and actions are specified as TAGs, all are instantiated by default.
   19042 
   19043 Usage: $0 [OPTION]... [TAG]...
   19044 
   19045   -h, --help       print this help, then exit
   19046   -V, --version    print version number and configuration settings, then exit
   19047       --config     print configuration, then exit
   19048   -q, --quiet, --silent
   19049                    do not print progress messages
   19050   -d, --debug      don't remove temporary files
   19051       --recheck    update $as_me by reconfiguring in the same conditions
   19052       --file=FILE[:TEMPLATE]
   19053                    instantiate the configuration file FILE
   19054       --header=FILE[:TEMPLATE]
   19055                    instantiate the configuration header FILE
   19056 
   19057 Configuration files:
   19058 $config_files
   19059 
   19060 Configuration headers:
   19061 $config_headers
   19062 
   19063 Configuration commands:
   19064 $config_commands
   19065 
   19066 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19067 
   19068 _ACEOF
   19069 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19070 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19071 ac_cs_version="\\
   19072 xf86-input-keyboard config.status 1.9.0
   19073 configured by $0, generated by GNU Autoconf 2.69,
   19074   with options \\"\$ac_cs_config\\"
   19075 
   19076 Copyright (C) 2012 Free Software Foundation, Inc.
   19077 This config.status script is free software; the Free Software Foundation
   19078 gives unlimited permission to copy, distribute and modify it."
   19079 
   19080 ac_pwd='$ac_pwd'
   19081 srcdir='$srcdir'
   19082 INSTALL='$INSTALL'
   19083 MKDIR_P='$MKDIR_P'
   19084 AWK='$AWK'
   19085 test -n "\$AWK" || AWK=awk
   19086 _ACEOF
   19087 
   19088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19089 # The default lists apply if the user does not specify any file.
   19090 ac_need_defaults=:
   19091 while test $# != 0
   19092 do
   19093   case $1 in
   19094   --*=?*)
   19095     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19096     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19097     ac_shift=:
   19098     ;;
   19099   --*=)
   19100     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19101     ac_optarg=
   19102     ac_shift=:
   19103     ;;
   19104   *)
   19105     ac_option=$1
   19106     ac_optarg=$2
   19107     ac_shift=shift
   19108     ;;
   19109   esac
   19110 
   19111   case $ac_option in
   19112   # Handling of the options.
   19113   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19114     ac_cs_recheck=: ;;
   19115   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19116     $as_echo "$ac_cs_version"; exit ;;
   19117   --config | --confi | --conf | --con | --co | --c )
   19118     $as_echo "$ac_cs_config"; exit ;;
   19119   --debug | --debu | --deb | --de | --d | -d )
   19120     debug=: ;;
   19121   --file | --fil | --fi | --f )
   19122     $ac_shift
   19123     case $ac_optarg in
   19124     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19125     '') as_fn_error $? "missing file argument" ;;
   19126     esac
   19127     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19128     ac_need_defaults=false;;
   19129   --header | --heade | --head | --hea )
   19130     $ac_shift
   19131     case $ac_optarg in
   19132     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19133     esac
   19134     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19135     ac_need_defaults=false;;
   19136   --he | --h)
   19137     # Conflict between --help and --header
   19138     as_fn_error $? "ambiguous option: \`$1'
   19139 Try \`$0 --help' for more information.";;
   19140   --help | --hel | -h )
   19141     $as_echo "$ac_cs_usage"; exit ;;
   19142   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19143   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19144     ac_cs_silent=: ;;
   19145 
   19146   # This is an error.
   19147   -*) as_fn_error $? "unrecognized option: \`$1'
   19148 Try \`$0 --help' for more information." ;;
   19149 
   19150   *) as_fn_append ac_config_targets " $1"
   19151      ac_need_defaults=false ;;
   19152 
   19153   esac
   19154   shift
   19155 done
   19156 
   19157 ac_configure_extra_args=
   19158 
   19159 if $ac_cs_silent; then
   19160   exec 6>/dev/null
   19161   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19162 fi
   19163 
   19164 _ACEOF
   19165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19166 if \$ac_cs_recheck; then
   19167   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19168   shift
   19169   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19170   CONFIG_SHELL='$SHELL'
   19171   export CONFIG_SHELL
   19172   exec "\$@"
   19173 fi
   19174 
   19175 _ACEOF
   19176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19177 exec 5>>config.log
   19178 {
   19179   echo
   19180   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19181 ## Running $as_me. ##
   19182 _ASBOX
   19183   $as_echo "$ac_log"
   19184 } >&5
   19185 
   19186 _ACEOF
   19187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19188 #
   19189 # INIT-COMMANDS
   19190 #
   19191 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19192 
   19193 
   19194 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19195 # if CDPATH is set.
   19196 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19197 
   19198 sed_quote_subst='$sed_quote_subst'
   19199 double_quote_subst='$double_quote_subst'
   19200 delay_variable_subst='$delay_variable_subst'
   19201 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19202 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19203 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19204 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19205 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19206 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19207 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19208 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19209 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19210 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19211 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19212 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19213 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19214 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19215 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19216 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19217 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19218 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19219 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19220 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19221 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19222 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19223 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19224 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19225 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19226 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19227 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19228 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19229 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19230 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19231 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19232 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19233 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19234 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19235 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19236 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19237 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19238 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19239 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19240 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19241 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19242 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19243 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19244 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19245 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19246 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19247 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19248 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19249 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19250 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19251 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19252 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19253 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19254 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19255 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19256 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19257 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19258 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19259 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"`'
   19260 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19261 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19262 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19263 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19264 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19265 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19266 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19267 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19268 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19269 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19270 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19271 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19272 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19273 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19274 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19275 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19276 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19277 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19278 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19279 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19280 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19281 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19282 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19283 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19284 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19285 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19286 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19287 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19288 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19289 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19290 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19291 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19292 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19293 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19294 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19295 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19296 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19297 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19298 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19299 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19300 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19301 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19302 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19303 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19304 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19305 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19306 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19307 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19308 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19309 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19310 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19311 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19312 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19313 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19314 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19315 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19316 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19317 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19318 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19319 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19320 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19321 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19322 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19323 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19324 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19325 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19326 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19327 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19328 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19329 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19330 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19331 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19332 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19333 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19334 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19335 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19336 
   19337 LTCC='$LTCC'
   19338 LTCFLAGS='$LTCFLAGS'
   19339 compiler='$compiler_DEFAULT'
   19340 
   19341 # A function that is used when there is no print builtin or printf.
   19342 func_fallback_echo ()
   19343 {
   19344   eval 'cat <<_LTECHO_EOF
   19345 \$1
   19346 _LTECHO_EOF'
   19347 }
   19348 
   19349 # Quote evaled strings.
   19350 for var in SHELL \
   19351 ECHO \
   19352 PATH_SEPARATOR \
   19353 SED \
   19354 GREP \
   19355 EGREP \
   19356 FGREP \
   19357 LD \
   19358 NM \
   19359 LN_S \
   19360 lt_SP2NL \
   19361 lt_NL2SP \
   19362 reload_flag \
   19363 OBJDUMP \
   19364 deplibs_check_method \
   19365 file_magic_cmd \
   19366 file_magic_glob \
   19367 want_nocaseglob \
   19368 DLLTOOL \
   19369 sharedlib_from_linklib_cmd \
   19370 AR \
   19371 AR_FLAGS \
   19372 archiver_list_spec \
   19373 STRIP \
   19374 RANLIB \
   19375 CC \
   19376 CFLAGS \
   19377 compiler \
   19378 lt_cv_sys_global_symbol_pipe \
   19379 lt_cv_sys_global_symbol_to_cdecl \
   19380 lt_cv_sys_global_symbol_to_import \
   19381 lt_cv_sys_global_symbol_to_c_name_address \
   19382 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19383 lt_cv_nm_interface \
   19384 nm_file_list_spec \
   19385 lt_cv_truncate_bin \
   19386 lt_prog_compiler_no_builtin_flag \
   19387 lt_prog_compiler_pic \
   19388 lt_prog_compiler_wl \
   19389 lt_prog_compiler_static \
   19390 lt_cv_prog_compiler_c_o \
   19391 need_locks \
   19392 MANIFEST_TOOL \
   19393 DSYMUTIL \
   19394 NMEDIT \
   19395 LIPO \
   19396 OTOOL \
   19397 OTOOL64 \
   19398 shrext_cmds \
   19399 export_dynamic_flag_spec \
   19400 whole_archive_flag_spec \
   19401 compiler_needs_object \
   19402 with_gnu_ld \
   19403 allow_undefined_flag \
   19404 no_undefined_flag \
   19405 hardcode_libdir_flag_spec \
   19406 hardcode_libdir_separator \
   19407 exclude_expsyms \
   19408 include_expsyms \
   19409 file_list_spec \
   19410 variables_saved_for_relink \
   19411 libname_spec \
   19412 library_names_spec \
   19413 soname_spec \
   19414 install_override_mode \
   19415 finish_eval \
   19416 old_striplib \
   19417 striplib; do
   19418     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19419     *[\\\\\\\`\\"\\\$]*)
   19420       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19421       ;;
   19422     *)
   19423       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19424       ;;
   19425     esac
   19426 done
   19427 
   19428 # Double-quote double-evaled strings.
   19429 for var in reload_cmds \
   19430 old_postinstall_cmds \
   19431 old_postuninstall_cmds \
   19432 old_archive_cmds \
   19433 extract_expsyms_cmds \
   19434 old_archive_from_new_cmds \
   19435 old_archive_from_expsyms_cmds \
   19436 archive_cmds \
   19437 archive_expsym_cmds \
   19438 module_cmds \
   19439 module_expsym_cmds \
   19440 export_symbols_cmds \
   19441 prelink_cmds \
   19442 postlink_cmds \
   19443 postinstall_cmds \
   19444 postuninstall_cmds \
   19445 finish_cmds \
   19446 sys_lib_search_path_spec \
   19447 configure_time_dlsearch_path \
   19448 configure_time_lt_sys_library_path; do
   19449     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19450     *[\\\\\\\`\\"\\\$]*)
   19451       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19452       ;;
   19453     *)
   19454       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19455       ;;
   19456     esac
   19457 done
   19458 
   19459 ac_aux_dir='$ac_aux_dir'
   19460 
   19461 # See if we are running on zsh, and set the options that allow our
   19462 # commands through without removal of \ escapes INIT.
   19463 if test -n "\${ZSH_VERSION+set}"; then
   19464    setopt NO_GLOB_SUBST
   19465 fi
   19466 
   19467 
   19468     PACKAGE='$PACKAGE'
   19469     VERSION='$VERSION'
   19470     RM='$RM'
   19471     ofile='$ofile'
   19472 
   19473 
   19474 
   19475 
   19476 _ACEOF
   19477 
   19478 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19479 
   19480 # Handling of arguments.
   19481 for ac_config_target in $ac_config_targets
   19482 do
   19483   case $ac_config_target in
   19484     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19485     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19486     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19487     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19488     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19489     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19490 
   19491   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19492   esac
   19493 done
   19494 
   19495 
   19496 # If the user did not use the arguments to specify the items to instantiate,
   19497 # then the envvar interface is used.  Set only those that are not.
   19498 # We use the long form for the default assignment because of an extremely
   19499 # bizarre bug on SunOS 4.1.3.
   19500 if $ac_need_defaults; then
   19501   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19502   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19503   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19504 fi
   19505 
   19506 # Have a temporary directory for convenience.  Make it in the build tree
   19507 # simply because there is no reason against having it here, and in addition,
   19508 # creating and moving files from /tmp can sometimes cause problems.
   19509 # Hook for its removal unless debugging.
   19510 # Note that there is a small window in which the directory will not be cleaned:
   19511 # after its creation but before its name has been assigned to `$tmp'.
   19512 $debug ||
   19513 {
   19514   tmp= ac_tmp=
   19515   trap 'exit_status=$?
   19516   : "${ac_tmp:=$tmp}"
   19517   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19518 ' 0
   19519   trap 'as_fn_exit 1' 1 2 13 15
   19520 }
   19521 # Create a (secure) tmp directory for tmp files.
   19522 
   19523 {
   19524   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19525   test -d "$tmp"
   19526 }  ||
   19527 {
   19528   tmp=./conf$$-$RANDOM
   19529   (umask 077 && mkdir "$tmp")
   19530 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19531 ac_tmp=$tmp
   19532 
   19533 # Set up the scripts for CONFIG_FILES section.
   19534 # No need to generate them if there are no CONFIG_FILES.
   19535 # This happens for instance with `./config.status config.h'.
   19536 if test -n "$CONFIG_FILES"; then
   19537 
   19538 
   19539 ac_cr=`echo X | tr X '\015'`
   19540 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19541 # But we know of no other shell where ac_cr would be empty at this
   19542 # point, so we can use a bashism as a fallback.
   19543 if test "x$ac_cr" = x; then
   19544   eval ac_cr=\$\'\\r\'
   19545 fi
   19546 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19547 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19548   ac_cs_awk_cr='\\r'
   19549 else
   19550   ac_cs_awk_cr=$ac_cr
   19551 fi
   19552 
   19553 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19554 _ACEOF
   19555 
   19556 
   19557 {
   19558   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19559   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19560   echo "_ACEOF"
   19561 } >conf$$subs.sh ||
   19562   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19563 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19564 ac_delim='%!_!# '
   19565 for ac_last_try in false false false false false :; do
   19566   . ./conf$$subs.sh ||
   19567     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19568 
   19569   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19570   if test $ac_delim_n = $ac_delim_num; then
   19571     break
   19572   elif $ac_last_try; then
   19573     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19574   else
   19575     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19576   fi
   19577 done
   19578 rm -f conf$$subs.sh
   19579 
   19580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19581 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19582 _ACEOF
   19583 sed -n '
   19584 h
   19585 s/^/S["/; s/!.*/"]=/
   19586 p
   19587 g
   19588 s/^[^!]*!//
   19589 :repl
   19590 t repl
   19591 s/'"$ac_delim"'$//
   19592 t delim
   19593 :nl
   19594 h
   19595 s/\(.\{148\}\)..*/\1/
   19596 t more1
   19597 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19598 p
   19599 n
   19600 b repl
   19601 :more1
   19602 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19603 p
   19604 g
   19605 s/.\{148\}//
   19606 t nl
   19607 :delim
   19608 h
   19609 s/\(.\{148\}\)..*/\1/
   19610 t more2
   19611 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19612 p
   19613 b
   19614 :more2
   19615 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19616 p
   19617 g
   19618 s/.\{148\}//
   19619 t delim
   19620 ' <conf$$subs.awk | sed '
   19621 /^[^""]/{
   19622   N
   19623   s/\n//
   19624 }
   19625 ' >>$CONFIG_STATUS || ac_write_fail=1
   19626 rm -f conf$$subs.awk
   19627 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19628 _ACAWK
   19629 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19630   for (key in S) S_is_set[key] = 1
   19631   FS = ""
   19632 
   19633 }
   19634 {
   19635   line = $ 0
   19636   nfields = split(line, field, "@")
   19637   substed = 0
   19638   len = length(field[1])
   19639   for (i = 2; i < nfields; i++) {
   19640     key = field[i]
   19641     keylen = length(key)
   19642     if (S_is_set[key]) {
   19643       value = S[key]
   19644       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19645       len += length(value) + length(field[++i])
   19646       substed = 1
   19647     } else
   19648       len += 1 + keylen
   19649   }
   19650 
   19651   print line
   19652 }
   19653 
   19654 _ACAWK
   19655 _ACEOF
   19656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19657 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19658   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19659 else
   19660   cat
   19661 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19662   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19663 _ACEOF
   19664 
   19665 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19666 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19667 # trailing colons and then remove the whole line if VPATH becomes empty
   19668 # (actually we leave an empty line to preserve line numbers).
   19669 if test "x$srcdir" = x.; then
   19670   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19671 h
   19672 s///
   19673 s/^/:/
   19674 s/[	 ]*$/:/
   19675 s/:\$(srcdir):/:/g
   19676 s/:\${srcdir}:/:/g
   19677 s/:@srcdir@:/:/g
   19678 s/^:*//
   19679 s/:*$//
   19680 x
   19681 s/\(=[	 ]*\).*/\1/
   19682 G
   19683 s/\n//
   19684 s/^[^=]*=[	 ]*$//
   19685 }'
   19686 fi
   19687 
   19688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19689 fi # test -n "$CONFIG_FILES"
   19690 
   19691 # Set up the scripts for CONFIG_HEADERS section.
   19692 # No need to generate them if there are no CONFIG_HEADERS.
   19693 # This happens for instance with `./config.status Makefile'.
   19694 if test -n "$CONFIG_HEADERS"; then
   19695 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19696 BEGIN {
   19697 _ACEOF
   19698 
   19699 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19700 # here-document in config.status, that substitutes the proper values into
   19701 # config.h.in to produce config.h.
   19702 
   19703 # Create a delimiter string that does not exist in confdefs.h, to ease
   19704 # handling of long lines.
   19705 ac_delim='%!_!# '
   19706 for ac_last_try in false false :; do
   19707   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19708   if test -z "$ac_tt"; then
   19709     break
   19710   elif $ac_last_try; then
   19711     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19712   else
   19713     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19714   fi
   19715 done
   19716 
   19717 # For the awk script, D is an array of macro values keyed by name,
   19718 # likewise P contains macro parameters if any.  Preserve backslash
   19719 # newline sequences.
   19720 
   19721 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19722 sed -n '
   19723 s/.\{148\}/&'"$ac_delim"'/g
   19724 t rset
   19725 :rset
   19726 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19727 t def
   19728 d
   19729 :def
   19730 s/\\$//
   19731 t bsnl
   19732 s/["\\]/\\&/g
   19733 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19734 D["\1"]=" \3"/p
   19735 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19736 d
   19737 :bsnl
   19738 s/["\\]/\\&/g
   19739 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19740 D["\1"]=" \3\\\\\\n"\\/p
   19741 t cont
   19742 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19743 t cont
   19744 d
   19745 :cont
   19746 n
   19747 s/.\{148\}/&'"$ac_delim"'/g
   19748 t clear
   19749 :clear
   19750 s/\\$//
   19751 t bsnlc
   19752 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19753 d
   19754 :bsnlc
   19755 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19756 b cont
   19757 ' <confdefs.h | sed '
   19758 s/'"$ac_delim"'/"\\\
   19759 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19760 
   19761 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19762   for (key in D) D_is_set[key] = 1
   19763   FS = ""
   19764 }
   19765 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19766   line = \$ 0
   19767   split(line, arg, " ")
   19768   if (arg[1] == "#") {
   19769     defundef = arg[2]
   19770     mac1 = arg[3]
   19771   } else {
   19772     defundef = substr(arg[1], 2)
   19773     mac1 = arg[2]
   19774   }
   19775   split(mac1, mac2, "(") #)
   19776   macro = mac2[1]
   19777   prefix = substr(line, 1, index(line, defundef) - 1)
   19778   if (D_is_set[macro]) {
   19779     # Preserve the white space surrounding the "#".
   19780     print prefix "define", macro P[macro] D[macro]
   19781     next
   19782   } else {
   19783     # Replace #undef with comments.  This is necessary, for example,
   19784     # in the case of _POSIX_SOURCE, which is predefined and required
   19785     # on some systems where configure will not decide to define it.
   19786     if (defundef == "undef") {
   19787       print "/*", prefix defundef, macro, "*/"
   19788       next
   19789     }
   19790   }
   19791 }
   19792 { print }
   19793 _ACAWK
   19794 _ACEOF
   19795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19796   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19797 fi # test -n "$CONFIG_HEADERS"
   19798 
   19799 
   19800 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19801 shift
   19802 for ac_tag
   19803 do
   19804   case $ac_tag in
   19805   :[FHLC]) ac_mode=$ac_tag; continue;;
   19806   esac
   19807   case $ac_mode$ac_tag in
   19808   :[FHL]*:*);;
   19809   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19810   :[FH]-) ac_tag=-:-;;
   19811   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19812   esac
   19813   ac_save_IFS=$IFS
   19814   IFS=:
   19815   set x $ac_tag
   19816   IFS=$ac_save_IFS
   19817   shift
   19818   ac_file=$1
   19819   shift
   19820 
   19821   case $ac_mode in
   19822   :L) ac_source=$1;;
   19823   :[FH])
   19824     ac_file_inputs=
   19825     for ac_f
   19826     do
   19827       case $ac_f in
   19828       -) ac_f="$ac_tmp/stdin";;
   19829       *) # Look for the file first in the build tree, then in the source tree
   19830 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19831 	 # because $ac_f cannot contain `:'.
   19832 	 test -f "$ac_f" ||
   19833 	   case $ac_f in
   19834 	   [\\/$]*) false;;
   19835 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19836 	   esac ||
   19837 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19838       esac
   19839       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19840       as_fn_append ac_file_inputs " '$ac_f'"
   19841     done
   19842 
   19843     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19844     # use $as_me), people would be surprised to read:
   19845     #    /* config.h.  Generated by config.status.  */
   19846     configure_input='Generated from '`
   19847 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19848 	`' by configure.'
   19849     if test x"$ac_file" != x-; then
   19850       configure_input="$ac_file.  $configure_input"
   19851       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19852 $as_echo "$as_me: creating $ac_file" >&6;}
   19853     fi
   19854     # Neutralize special characters interpreted by sed in replacement strings.
   19855     case $configure_input in #(
   19856     *\&* | *\|* | *\\* )
   19857        ac_sed_conf_input=`$as_echo "$configure_input" |
   19858        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19859     *) ac_sed_conf_input=$configure_input;;
   19860     esac
   19861 
   19862     case $ac_tag in
   19863     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19864       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19865     esac
   19866     ;;
   19867   esac
   19868 
   19869   ac_dir=`$as_dirname -- "$ac_file" ||
   19870 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19871 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19872 	 X"$ac_file" : 'X\(//\)$' \| \
   19873 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19874 $as_echo X"$ac_file" |
   19875     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19876 	    s//\1/
   19877 	    q
   19878 	  }
   19879 	  /^X\(\/\/\)[^/].*/{
   19880 	    s//\1/
   19881 	    q
   19882 	  }
   19883 	  /^X\(\/\/\)$/{
   19884 	    s//\1/
   19885 	    q
   19886 	  }
   19887 	  /^X\(\/\).*/{
   19888 	    s//\1/
   19889 	    q
   19890 	  }
   19891 	  s/.*/./; q'`
   19892   as_dir="$ac_dir"; as_fn_mkdir_p
   19893   ac_builddir=.
   19894 
   19895 case "$ac_dir" in
   19896 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19897 *)
   19898   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19899   # A ".." for each directory in $ac_dir_suffix.
   19900   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19901   case $ac_top_builddir_sub in
   19902   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19903   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19904   esac ;;
   19905 esac
   19906 ac_abs_top_builddir=$ac_pwd
   19907 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19908 # for backward compatibility:
   19909 ac_top_builddir=$ac_top_build_prefix
   19910 
   19911 case $srcdir in
   19912   .)  # We are building in place.
   19913     ac_srcdir=.
   19914     ac_top_srcdir=$ac_top_builddir_sub
   19915     ac_abs_top_srcdir=$ac_pwd ;;
   19916   [\\/]* | ?:[\\/]* )  # Absolute name.
   19917     ac_srcdir=$srcdir$ac_dir_suffix;
   19918     ac_top_srcdir=$srcdir
   19919     ac_abs_top_srcdir=$srcdir ;;
   19920   *) # Relative name.
   19921     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19922     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19923     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19924 esac
   19925 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19926 
   19927 
   19928   case $ac_mode in
   19929   :F)
   19930   #
   19931   # CONFIG_FILE
   19932   #
   19933 
   19934   case $INSTALL in
   19935   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19936   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19937   esac
   19938   ac_MKDIR_P=$MKDIR_P
   19939   case $MKDIR_P in
   19940   [\\/$]* | ?:[\\/]* ) ;;
   19941   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19942   esac
   19943 _ACEOF
   19944 
   19945 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19946 # If the template does not know about datarootdir, expand it.
   19947 # FIXME: This hack should be removed a few years after 2.60.
   19948 ac_datarootdir_hack=; ac_datarootdir_seen=
   19949 ac_sed_dataroot='
   19950 /datarootdir/ {
   19951   p
   19952   q
   19953 }
   19954 /@datadir@/p
   19955 /@docdir@/p
   19956 /@infodir@/p
   19957 /@localedir@/p
   19958 /@mandir@/p'
   19959 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19960 *datarootdir*) ac_datarootdir_seen=yes;;
   19961 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19962   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19963 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19964 _ACEOF
   19965 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19966   ac_datarootdir_hack='
   19967   s&@datadir@&$datadir&g
   19968   s&@docdir@&$docdir&g
   19969   s&@infodir@&$infodir&g
   19970   s&@localedir@&$localedir&g
   19971   s&@mandir@&$mandir&g
   19972   s&\\\${datarootdir}&$datarootdir&g' ;;
   19973 esac
   19974 _ACEOF
   19975 
   19976 # Neutralize VPATH when `$srcdir' = `.'.
   19977 # Shell code in configure.ac might set extrasub.
   19978 # FIXME: do we really want to maintain this feature?
   19979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19980 ac_sed_extra="$ac_vpsub
   19981 $extrasub
   19982 _ACEOF
   19983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19984 :t
   19985 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19986 s|@configure_input@|$ac_sed_conf_input|;t t
   19987 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19988 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19989 s&@srcdir@&$ac_srcdir&;t t
   19990 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19991 s&@top_srcdir@&$ac_top_srcdir&;t t
   19992 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19993 s&@builddir@&$ac_builddir&;t t
   19994 s&@abs_builddir@&$ac_abs_builddir&;t t
   19995 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19996 s&@INSTALL@&$ac_INSTALL&;t t
   19997 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19998 $ac_datarootdir_hack
   19999 "
   20000 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20001   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20002 
   20003 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20004   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20005   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20006       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20007   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20008 which seems to be undefined.  Please make sure it is defined" >&5
   20009 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20010 which seems to be undefined.  Please make sure it is defined" >&2;}
   20011 
   20012   rm -f "$ac_tmp/stdin"
   20013   case $ac_file in
   20014   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20015   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20016   esac \
   20017   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20018  ;;
   20019   :H)
   20020   #
   20021   # CONFIG_HEADER
   20022   #
   20023   if test x"$ac_file" != x-; then
   20024     {
   20025       $as_echo "/* $configure_input  */" \
   20026       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20027     } >"$ac_tmp/config.h" \
   20028       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20029     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20030       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20031 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20032     else
   20033       rm -f "$ac_file"
   20034       mv "$ac_tmp/config.h" "$ac_file" \
   20035 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20036     fi
   20037   else
   20038     $as_echo "/* $configure_input  */" \
   20039       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20040       || as_fn_error $? "could not create -" "$LINENO" 5
   20041   fi
   20042 # Compute "$ac_file"'s index in $config_headers.
   20043 _am_arg="$ac_file"
   20044 _am_stamp_count=1
   20045 for _am_header in $config_headers :; do
   20046   case $_am_header in
   20047     $_am_arg | $_am_arg:* )
   20048       break ;;
   20049     * )
   20050       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20051   esac
   20052 done
   20053 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20054 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20055 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20056 	 X"$_am_arg" : 'X\(//\)$' \| \
   20057 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20058 $as_echo X"$_am_arg" |
   20059     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20060 	    s//\1/
   20061 	    q
   20062 	  }
   20063 	  /^X\(\/\/\)[^/].*/{
   20064 	    s//\1/
   20065 	    q
   20066 	  }
   20067 	  /^X\(\/\/\)$/{
   20068 	    s//\1/
   20069 	    q
   20070 	  }
   20071 	  /^X\(\/\).*/{
   20072 	    s//\1/
   20073 	    q
   20074 	  }
   20075 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20076  ;;
   20077 
   20078   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20079 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20080  ;;
   20081   esac
   20082 
   20083 
   20084   case $ac_file$ac_mode in
   20085     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20086   # Older Autoconf quotes --file arguments for eval, but not when files
   20087   # are listed without --file.  Let's play safe and only enable the eval
   20088   # if we detect the quoting.
   20089   case $CONFIG_FILES in
   20090   *\'*) eval set x "$CONFIG_FILES" ;;
   20091   *)   set x $CONFIG_FILES ;;
   20092   esac
   20093   shift
   20094   for mf
   20095   do
   20096     # Strip MF so we end up with the name of the file.
   20097     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20098     # Check whether this is an Automake generated Makefile or not.
   20099     # We used to match only the files named 'Makefile.in', but
   20100     # some people rename them; so instead we look at the file content.
   20101     # Grep'ing the first line is not enough: some people post-process
   20102     # each Makefile.in and add a new line on top of each file to say so.
   20103     # Grep'ing the whole file is not good either: AIX grep has a line
   20104     # limit of 2048, but all sed's we know have understand at least 4000.
   20105     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20106       dirpart=`$as_dirname -- "$mf" ||
   20107 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20108 	 X"$mf" : 'X\(//\)[^/]' \| \
   20109 	 X"$mf" : 'X\(//\)$' \| \
   20110 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20111 $as_echo X"$mf" |
   20112     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20113 	    s//\1/
   20114 	    q
   20115 	  }
   20116 	  /^X\(\/\/\)[^/].*/{
   20117 	    s//\1/
   20118 	    q
   20119 	  }
   20120 	  /^X\(\/\/\)$/{
   20121 	    s//\1/
   20122 	    q
   20123 	  }
   20124 	  /^X\(\/\).*/{
   20125 	    s//\1/
   20126 	    q
   20127 	  }
   20128 	  s/.*/./; q'`
   20129     else
   20130       continue
   20131     fi
   20132     # Extract the definition of DEPDIR, am__include, and am__quote
   20133     # from the Makefile without running 'make'.
   20134     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20135     test -z "$DEPDIR" && continue
   20136     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20137     test -z "$am__include" && continue
   20138     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20139     # Find all dependency output files, they are included files with
   20140     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20141     # simplest approach to changing $(DEPDIR) to its actual value in the
   20142     # expansion.
   20143     for file in `sed -n "
   20144       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20145 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20146       # Make sure the directory exists.
   20147       test -f "$dirpart/$file" && continue
   20148       fdir=`$as_dirname -- "$file" ||
   20149 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20150 	 X"$file" : 'X\(//\)[^/]' \| \
   20151 	 X"$file" : 'X\(//\)$' \| \
   20152 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20153 $as_echo X"$file" |
   20154     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20155 	    s//\1/
   20156 	    q
   20157 	  }
   20158 	  /^X\(\/\/\)[^/].*/{
   20159 	    s//\1/
   20160 	    q
   20161 	  }
   20162 	  /^X\(\/\/\)$/{
   20163 	    s//\1/
   20164 	    q
   20165 	  }
   20166 	  /^X\(\/\).*/{
   20167 	    s//\1/
   20168 	    q
   20169 	  }
   20170 	  s/.*/./; q'`
   20171       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20172       # echo "creating $dirpart/$file"
   20173       echo '# dummy' > "$dirpart/$file"
   20174     done
   20175   done
   20176 }
   20177  ;;
   20178     "libtool":C)
   20179 
   20180     # See if we are running on zsh, and set the options that allow our
   20181     # commands through without removal of \ escapes.
   20182     if test -n "${ZSH_VERSION+set}"; then
   20183       setopt NO_GLOB_SUBST
   20184     fi
   20185 
   20186     cfgfile=${ofile}T
   20187     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20188     $RM "$cfgfile"
   20189 
   20190     cat <<_LT_EOF >> "$cfgfile"
   20191 #! $SHELL
   20192 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20193 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20194 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20195 
   20196 # Provide generalized library-building support services.
   20197 # Written by Gordon Matzigkeit, 1996
   20198 
   20199 # Copyright (C) 2014 Free Software Foundation, Inc.
   20200 # This is free software; see the source for copying conditions.  There is NO
   20201 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20202 
   20203 # GNU Libtool is free software; you can redistribute it and/or modify
   20204 # it under the terms of the GNU General Public License as published by
   20205 # the Free Software Foundation; either version 2 of of the License, or
   20206 # (at your option) any later version.
   20207 #
   20208 # As a special exception to the GNU General Public License, if you
   20209 # distribute this file as part of a program or library that is built
   20210 # using GNU Libtool, you may include this file under the  same
   20211 # distribution terms that you use for the rest of that program.
   20212 #
   20213 # GNU Libtool is distributed in the hope that it will be useful, but
   20214 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20215 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20216 # GNU General Public License for more details.
   20217 #
   20218 # You should have received a copy of the GNU General Public License
   20219 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20220 
   20221 
   20222 # The names of the tagged configurations supported by this script.
   20223 available_tags=''
   20224 
   20225 # Configured defaults for sys_lib_dlsearch_path munging.
   20226 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20227 
   20228 # ### BEGIN LIBTOOL CONFIG
   20229 
   20230 # Whether or not to build static libraries.
   20231 build_old_libs=$enable_static
   20232 
   20233 # Which release of libtool.m4 was used?
   20234 macro_version=$macro_version
   20235 macro_revision=$macro_revision
   20236 
   20237 # Whether or not to build shared libraries.
   20238 build_libtool_libs=$enable_shared
   20239 
   20240 # What type of objects to build.
   20241 pic_mode=$pic_mode
   20242 
   20243 # Whether or not to optimize for fast installation.
   20244 fast_install=$enable_fast_install
   20245 
   20246 # Shared archive member basename,for filename based shared library versioning on AIX.
   20247 shared_archive_member_spec=$shared_archive_member_spec
   20248 
   20249 # Shell to use when invoking shell scripts.
   20250 SHELL=$lt_SHELL
   20251 
   20252 # An echo program that protects backslashes.
   20253 ECHO=$lt_ECHO
   20254 
   20255 # The PATH separator for the build system.
   20256 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20257 
   20258 # The host system.
   20259 host_alias=$host_alias
   20260 host=$host
   20261 host_os=$host_os
   20262 
   20263 # The build system.
   20264 build_alias=$build_alias
   20265 build=$build
   20266 build_os=$build_os
   20267 
   20268 # A sed program that does not truncate output.
   20269 SED=$lt_SED
   20270 
   20271 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20272 Xsed="\$SED -e 1s/^X//"
   20273 
   20274 # A grep program that handles long lines.
   20275 GREP=$lt_GREP
   20276 
   20277 # An ERE matcher.
   20278 EGREP=$lt_EGREP
   20279 
   20280 # A literal string matcher.
   20281 FGREP=$lt_FGREP
   20282 
   20283 # A BSD- or MS-compatible name lister.
   20284 NM=$lt_NM
   20285 
   20286 # Whether we need soft or hard links.
   20287 LN_S=$lt_LN_S
   20288 
   20289 # What is the maximum length of a command?
   20290 max_cmd_len=$max_cmd_len
   20291 
   20292 # Object file suffix (normally "o").
   20293 objext=$ac_objext
   20294 
   20295 # Executable file suffix (normally "").
   20296 exeext=$exeext
   20297 
   20298 # whether the shell understands "unset".
   20299 lt_unset=$lt_unset
   20300 
   20301 # turn spaces into newlines.
   20302 SP2NL=$lt_lt_SP2NL
   20303 
   20304 # turn newlines into spaces.
   20305 NL2SP=$lt_lt_NL2SP
   20306 
   20307 # convert \$build file names to \$host format.
   20308 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20309 
   20310 # convert \$build files to toolchain format.
   20311 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20312 
   20313 # An object symbol dumper.
   20314 OBJDUMP=$lt_OBJDUMP
   20315 
   20316 # Method to check whether dependent libraries are shared objects.
   20317 deplibs_check_method=$lt_deplibs_check_method
   20318 
   20319 # Command to use when deplibs_check_method = "file_magic".
   20320 file_magic_cmd=$lt_file_magic_cmd
   20321 
   20322 # How to find potential files when deplibs_check_method = "file_magic".
   20323 file_magic_glob=$lt_file_magic_glob
   20324 
   20325 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20326 want_nocaseglob=$lt_want_nocaseglob
   20327 
   20328 # DLL creation program.
   20329 DLLTOOL=$lt_DLLTOOL
   20330 
   20331 # Command to associate shared and link libraries.
   20332 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20333 
   20334 # The archiver.
   20335 AR=$lt_AR
   20336 
   20337 # Flags to create an archive.
   20338 AR_FLAGS=$lt_AR_FLAGS
   20339 
   20340 # How to feed a file listing to the archiver.
   20341 archiver_list_spec=$lt_archiver_list_spec
   20342 
   20343 # A symbol stripping program.
   20344 STRIP=$lt_STRIP
   20345 
   20346 # Commands used to install an old-style archive.
   20347 RANLIB=$lt_RANLIB
   20348 old_postinstall_cmds=$lt_old_postinstall_cmds
   20349 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20350 
   20351 # Whether to use a lock for old archive extraction.
   20352 lock_old_archive_extraction=$lock_old_archive_extraction
   20353 
   20354 # A C compiler.
   20355 LTCC=$lt_CC
   20356 
   20357 # LTCC compiler flags.
   20358 LTCFLAGS=$lt_CFLAGS
   20359 
   20360 # Take the output of nm and produce a listing of raw symbols and C names.
   20361 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20362 
   20363 # Transform the output of nm in a proper C declaration.
   20364 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20365 
   20366 # Transform the output of nm into a list of symbols to manually relocate.
   20367 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20368 
   20369 # Transform the output of nm in a C name address pair.
   20370 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20371 
   20372 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20373 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20374 
   20375 # The name lister interface.
   20376 nm_interface=$lt_lt_cv_nm_interface
   20377 
   20378 # Specify filename containing input files for \$NM.
   20379 nm_file_list_spec=$lt_nm_file_list_spec
   20380 
   20381 # The root where to search for dependent libraries,and where our libraries should be installed.
   20382 lt_sysroot=$lt_sysroot
   20383 
   20384 # Command to truncate a binary pipe.
   20385 lt_truncate_bin=$lt_lt_cv_truncate_bin
   20386 
   20387 # The name of the directory that contains temporary libtool files.
   20388 objdir=$objdir
   20389 
   20390 # Used to examine libraries when file_magic_cmd begins with "file".
   20391 MAGIC_CMD=$MAGIC_CMD
   20392 
   20393 # Must we lock files when doing compilation?
   20394 need_locks=$lt_need_locks
   20395 
   20396 # Manifest tool.
   20397 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20398 
   20399 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20400 DSYMUTIL=$lt_DSYMUTIL
   20401 
   20402 # Tool to change global to local symbols on Mac OS X.
   20403 NMEDIT=$lt_NMEDIT
   20404 
   20405 # Tool to manipulate fat objects and archives on Mac OS X.
   20406 LIPO=$lt_LIPO
   20407 
   20408 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20409 OTOOL=$lt_OTOOL
   20410 
   20411 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20412 OTOOL64=$lt_OTOOL64
   20413 
   20414 # Old archive suffix (normally "a").
   20415 libext=$libext
   20416 
   20417 # Shared library suffix (normally ".so").
   20418 shrext_cmds=$lt_shrext_cmds
   20419 
   20420 # The commands to extract the exported symbol list from a shared archive.
   20421 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20422 
   20423 # Variables whose values should be saved in libtool wrapper scripts and
   20424 # restored at link time.
   20425 variables_saved_for_relink=$lt_variables_saved_for_relink
   20426 
   20427 # Do we need the "lib" prefix for modules?
   20428 need_lib_prefix=$need_lib_prefix
   20429 
   20430 # Do we need a version for libraries?
   20431 need_version=$need_version
   20432 
   20433 # Library versioning type.
   20434 version_type=$version_type
   20435 
   20436 # Shared library runtime path variable.
   20437 runpath_var=$runpath_var
   20438 
   20439 # Shared library path variable.
   20440 shlibpath_var=$shlibpath_var
   20441 
   20442 # Is shlibpath searched before the hard-coded library search path?
   20443 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20444 
   20445 # Format of library name prefix.
   20446 libname_spec=$lt_libname_spec
   20447 
   20448 # List of archive names.  First name is the real one, the rest are links.
   20449 # The last name is the one that the linker finds with -lNAME
   20450 library_names_spec=$lt_library_names_spec
   20451 
   20452 # The coded name of the library, if different from the real name.
   20453 soname_spec=$lt_soname_spec
   20454 
   20455 # Permission mode override for installation of shared libraries.
   20456 install_override_mode=$lt_install_override_mode
   20457 
   20458 # Command to use after installation of a shared archive.
   20459 postinstall_cmds=$lt_postinstall_cmds
   20460 
   20461 # Command to use after uninstallation of a shared archive.
   20462 postuninstall_cmds=$lt_postuninstall_cmds
   20463 
   20464 # Commands used to finish a libtool library installation in a directory.
   20465 finish_cmds=$lt_finish_cmds
   20466 
   20467 # As "finish_cmds", except a single script fragment to be evaled but
   20468 # not shown.
   20469 finish_eval=$lt_finish_eval
   20470 
   20471 # Whether we should hardcode library paths into libraries.
   20472 hardcode_into_libs=$hardcode_into_libs
   20473 
   20474 # Compile-time system search path for libraries.
   20475 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20476 
   20477 # Detected run-time system search path for libraries.
   20478 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   20479 
   20480 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   20481 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   20482 
   20483 # Whether dlopen is supported.
   20484 dlopen_support=$enable_dlopen
   20485 
   20486 # Whether dlopen of programs is supported.
   20487 dlopen_self=$enable_dlopen_self
   20488 
   20489 # Whether dlopen of statically linked programs is supported.
   20490 dlopen_self_static=$enable_dlopen_self_static
   20491 
   20492 # Commands to strip libraries.
   20493 old_striplib=$lt_old_striplib
   20494 striplib=$lt_striplib
   20495 
   20496 
   20497 # The linker used to build libraries.
   20498 LD=$lt_LD
   20499 
   20500 # How to create reloadable object files.
   20501 reload_flag=$lt_reload_flag
   20502 reload_cmds=$lt_reload_cmds
   20503 
   20504 # Commands used to build an old-style archive.
   20505 old_archive_cmds=$lt_old_archive_cmds
   20506 
   20507 # A language specific compiler.
   20508 CC=$lt_compiler
   20509 
   20510 # Is the compiler the GNU compiler?
   20511 with_gcc=$GCC
   20512 
   20513 # Compiler flag to turn off builtin functions.
   20514 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20515 
   20516 # Additional compiler flags for building library objects.
   20517 pic_flag=$lt_lt_prog_compiler_pic
   20518 
   20519 # How to pass a linker flag through the compiler.
   20520 wl=$lt_lt_prog_compiler_wl
   20521 
   20522 # Compiler flag to prevent dynamic linking.
   20523 link_static_flag=$lt_lt_prog_compiler_static
   20524 
   20525 # Does compiler simultaneously support -c and -o options?
   20526 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20527 
   20528 # Whether or not to add -lc for building shared libraries.
   20529 build_libtool_need_lc=$archive_cmds_need_lc
   20530 
   20531 # Whether or not to disallow shared libs when runtime libs are static.
   20532 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20533 
   20534 # Compiler flag to allow reflexive dlopens.
   20535 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20536 
   20537 # Compiler flag to generate shared objects directly from archives.
   20538 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20539 
   20540 # Whether the compiler copes with passing no objects directly.
   20541 compiler_needs_object=$lt_compiler_needs_object
   20542 
   20543 # Create an old-style archive from a shared archive.
   20544 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20545 
   20546 # Create a temporary old-style archive to link instead of a shared archive.
   20547 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20548 
   20549 # Commands used to build a shared archive.
   20550 archive_cmds=$lt_archive_cmds
   20551 archive_expsym_cmds=$lt_archive_expsym_cmds
   20552 
   20553 # Commands used to build a loadable module if different from building
   20554 # a shared archive.
   20555 module_cmds=$lt_module_cmds
   20556 module_expsym_cmds=$lt_module_expsym_cmds
   20557 
   20558 # Whether we are building with GNU ld or not.
   20559 with_gnu_ld=$lt_with_gnu_ld
   20560 
   20561 # Flag that allows shared libraries with undefined symbols to be built.
   20562 allow_undefined_flag=$lt_allow_undefined_flag
   20563 
   20564 # Flag that enforces no undefined symbols.
   20565 no_undefined_flag=$lt_no_undefined_flag
   20566 
   20567 # Flag to hardcode \$libdir into a binary during linking.
   20568 # This must work even if \$libdir does not exist
   20569 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20570 
   20571 # Whether we need a single "-rpath" flag with a separated argument.
   20572 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20573 
   20574 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20575 # DIR into the resulting binary.
   20576 hardcode_direct=$hardcode_direct
   20577 
   20578 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20579 # DIR into the resulting binary and the resulting library dependency is
   20580 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   20581 # library is relocated.
   20582 hardcode_direct_absolute=$hardcode_direct_absolute
   20583 
   20584 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20585 # into the resulting binary.
   20586 hardcode_minus_L=$hardcode_minus_L
   20587 
   20588 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20589 # into the resulting binary.
   20590 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20591 
   20592 # Set to "yes" if building a shared library automatically hardcodes DIR
   20593 # into the library and all subsequent libraries and executables linked
   20594 # against it.
   20595 hardcode_automatic=$hardcode_automatic
   20596 
   20597 # Set to yes if linker adds runtime paths of dependent libraries
   20598 # to runtime path list.
   20599 inherit_rpath=$inherit_rpath
   20600 
   20601 # Whether libtool must link a program against all its dependency libraries.
   20602 link_all_deplibs=$link_all_deplibs
   20603 
   20604 # Set to "yes" if exported symbols are required.
   20605 always_export_symbols=$always_export_symbols
   20606 
   20607 # The commands to list exported symbols.
   20608 export_symbols_cmds=$lt_export_symbols_cmds
   20609 
   20610 # Symbols that should not be listed in the preloaded symbols.
   20611 exclude_expsyms=$lt_exclude_expsyms
   20612 
   20613 # Symbols that must always be exported.
   20614 include_expsyms=$lt_include_expsyms
   20615 
   20616 # Commands necessary for linking programs (against libraries) with templates.
   20617 prelink_cmds=$lt_prelink_cmds
   20618 
   20619 # Commands necessary for finishing linking programs.
   20620 postlink_cmds=$lt_postlink_cmds
   20621 
   20622 # Specify filename containing input files.
   20623 file_list_spec=$lt_file_list_spec
   20624 
   20625 # How to hardcode a shared library path into an executable.
   20626 hardcode_action=$hardcode_action
   20627 
   20628 # ### END LIBTOOL CONFIG
   20629 
   20630 _LT_EOF
   20631 
   20632     cat <<'_LT_EOF' >> "$cfgfile"
   20633 
   20634 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   20635 
   20636 # func_munge_path_list VARIABLE PATH
   20637 # -----------------------------------
   20638 # VARIABLE is name of variable containing _space_ separated list of
   20639 # directories to be munged by the contents of PATH, which is string
   20640 # having a format:
   20641 # "DIR[:DIR]:"
   20642 #       string "DIR[ DIR]" will be prepended to VARIABLE
   20643 # ":DIR[:DIR]"
   20644 #       string "DIR[ DIR]" will be appended to VARIABLE
   20645 # "DIRP[:DIRP]::[DIRA:]DIRA"
   20646 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   20647 #       "DIRA[ DIRA]" will be appended to VARIABLE
   20648 # "DIR[:DIR]"
   20649 #       VARIABLE will be replaced by "DIR[ DIR]"
   20650 func_munge_path_list ()
   20651 {
   20652     case x$2 in
   20653     x)
   20654         ;;
   20655     *:)
   20656         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   20657         ;;
   20658     x:*)
   20659         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   20660         ;;
   20661     *::*)
   20662         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   20663         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   20664         ;;
   20665     *)
   20666         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   20667         ;;
   20668     esac
   20669 }
   20670 
   20671 
   20672 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   20673 func_cc_basename ()
   20674 {
   20675     for cc_temp in $*""; do
   20676       case $cc_temp in
   20677         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   20678         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   20679         \-*) ;;
   20680         *) break;;
   20681       esac
   20682     done
   20683     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   20684 }
   20685 
   20686 
   20687 # ### END FUNCTIONS SHARED WITH CONFIGURE
   20688 
   20689 _LT_EOF
   20690 
   20691   case $host_os in
   20692   aix3*)
   20693     cat <<\_LT_EOF >> "$cfgfile"
   20694 # AIX sometimes has problems with the GCC collect2 program.  For some
   20695 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20696 # vanish in a puff of smoke.
   20697 if test set != "${COLLECT_NAMES+set}"; then
   20698   COLLECT_NAMES=
   20699   export COLLECT_NAMES
   20700 fi
   20701 _LT_EOF
   20702     ;;
   20703   esac
   20704 
   20705 
   20706 ltmain=$ac_aux_dir/ltmain.sh
   20707 
   20708 
   20709   # We use sed instead of cat because bash on DJGPP gets confused if
   20710   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20711   # text mode, it properly converts lines to CR/LF.  This bash problem
   20712   # is reportedly fixed, but why not run on old versions too?
   20713   sed '$q' "$ltmain" >> "$cfgfile" \
   20714      || (rm -f "$cfgfile"; exit 1)
   20715 
   20716    mv -f "$cfgfile" "$ofile" ||
   20717     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20718   chmod +x "$ofile"
   20719 
   20720  ;;
   20721 
   20722   esac
   20723 done # for ac_tag
   20724 
   20725 
   20726 as_fn_exit 0
   20727 _ACEOF
   20728 ac_clean_files=$ac_clean_files_save
   20729 
   20730 test $ac_write_fail = 0 ||
   20731   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20732 
   20733 
   20734 # configure is writing to config.log, and then calls config.status.
   20735 # config.status does its own redirection, appending to config.log.
   20736 # Unfortunately, on DOS this fails, as config.log is still kept open
   20737 # by configure, so config.status won't be able to write to it; its
   20738 # output is simply discarded.  So we exec the FD to /dev/null,
   20739 # effectively closing config.log, so it can be properly (re)opened and
   20740 # appended to by config.status.  When coming back to configure, we
   20741 # need to make the FD available again.
   20742 if test "$no_create" != yes; then
   20743   ac_cs_success=:
   20744   ac_config_status_args=
   20745   test "$silent" = yes &&
   20746     ac_config_status_args="$ac_config_status_args --quiet"
   20747   exec 5>/dev/null
   20748   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20749   exec 5>>config.log
   20750   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20751   # would make configure fail if this is the last instruction.
   20752   $ac_cs_success || as_fn_exit 1
   20753 fi
   20754 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20755   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20756 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20757 fi
   20758 
   20759