Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.6
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-input-keyboard 1.7.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.7.0'
    595 PACKAGE_STRING='xf86-input-keyboard 1.7.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 inputdir
    650 XORG_LIBS
    651 XORG_CFLAGS
    652 AM_BACKSLASH
    653 AM_DEFAULT_VERBOSITY
    654 AM_DEFAULT_V
    655 AM_V
    656 MAN_SUBSTS
    657 XORG_MAN_PAGE
    658 ADMIN_MAN_DIR
    659 DRIVER_MAN_DIR
    660 MISC_MAN_DIR
    661 FILE_MAN_DIR
    662 LIB_MAN_DIR
    663 APP_MAN_DIR
    664 ADMIN_MAN_SUFFIX
    665 DRIVER_MAN_SUFFIX
    666 MISC_MAN_SUFFIX
    667 FILE_MAN_SUFFIX
    668 LIB_MAN_SUFFIX
    669 APP_MAN_SUFFIX
    670 INSTALL_CMD
    671 PKG_CONFIG_LIBDIR
    672 PKG_CONFIG_PATH
    673 PKG_CONFIG
    674 CHANGELOG_CMD
    675 STRICT_CFLAGS
    676 CWARNFLAGS
    677 BASE_CFLAGS
    678 CPP
    679 OTOOL64
    680 OTOOL
    681 LIPO
    682 NMEDIT
    683 DSYMUTIL
    684 MANIFEST_TOOL
    685 RANLIB
    686 ac_ct_AR
    687 AR
    688 DLLTOOL
    689 OBJDUMP
    690 LN_S
    691 NM
    692 ac_ct_DUMPBIN
    693 DUMPBIN
    694 LD
    695 FGREP
    696 EGREP
    697 GREP
    698 SED
    699 am__fastdepCC_FALSE
    700 am__fastdepCC_TRUE
    701 CCDEPMODE
    702 am__nodep
    703 AMDEPBACKSLASH
    704 AMDEP_FALSE
    705 AMDEP_TRUE
    706 am__quote
    707 am__include
    708 DEPDIR
    709 OBJEXT
    710 EXEEXT
    711 ac_ct_CC
    712 CPPFLAGS
    713 LDFLAGS
    714 CFLAGS
    715 CC
    716 host_os
    717 host_vendor
    718 host_cpu
    719 host
    720 build_os
    721 build_vendor
    722 build_cpu
    723 build
    724 LIBTOOL
    725 am__untar
    726 am__tar
    727 AMTAR
    728 am__leading_dot
    729 SET_MAKE
    730 AWK
    731 mkdir_p
    732 MKDIR_P
    733 INSTALL_STRIP_PROGRAM
    734 STRIP
    735 install_sh
    736 MAKEINFO
    737 AUTOHEADER
    738 AUTOMAKE
    739 AUTOCONF
    740 ACLOCAL
    741 VERSION
    742 PACKAGE
    743 CYGPATH_W
    744 am__isrc
    745 INSTALL_DATA
    746 INSTALL_SCRIPT
    747 INSTALL_PROGRAM
    748 target_alias
    749 host_alias
    750 build_alias
    751 LIBS
    752 ECHO_T
    753 ECHO_N
    754 ECHO_C
    755 DEFS
    756 mandir
    757 localedir
    758 libdir
    759 psdir
    760 pdfdir
    761 dvidir
    762 htmldir
    763 infodir
    764 docdir
    765 oldincludedir
    766 includedir
    767 localstatedir
    768 sharedstatedir
    769 sysconfdir
    770 datadir
    771 datarootdir
    772 libexecdir
    773 sbindir
    774 bindir
    775 program_transform_name
    776 prefix
    777 exec_prefix
    778 PACKAGE_URL
    779 PACKAGE_BUGREPORT
    780 PACKAGE_STRING
    781 PACKAGE_VERSION
    782 PACKAGE_TARNAME
    783 PACKAGE_NAME
    784 PATH_SEPARATOR
    785 SHELL'
    786 ac_subst_files=''
    787 ac_user_opts='
    788 enable_option_checking
    789 enable_static
    790 enable_shared
    791 with_pic
    792 enable_fast_install
    793 enable_dependency_tracking
    794 with_gnu_ld
    795 with_sysroot
    796 enable_libtool_lock
    797 enable_selective_werror
    798 enable_strict_compilation
    799 enable_silent_rules
    800 with_xorg_module_dir
    801 '
    802       ac_precious_vars='build_alias
    803 host_alias
    804 target_alias
    805 CC
    806 CFLAGS
    807 LDFLAGS
    808 LIBS
    809 CPPFLAGS
    810 CPP
    811 PKG_CONFIG
    812 PKG_CONFIG_PATH
    813 PKG_CONFIG_LIBDIR
    814 XORG_CFLAGS
    815 XORG_LIBS'
    816 
    817 
    818 # Initialize some variables set by options.
    819 ac_init_help=
    820 ac_init_version=false
    821 ac_unrecognized_opts=
    822 ac_unrecognized_sep=
    823 # The variables have the same names as the options, with
    824 # dashes changed to underlines.
    825 cache_file=/dev/null
    826 exec_prefix=NONE
    827 no_create=
    828 no_recursion=
    829 prefix=NONE
    830 program_prefix=NONE
    831 program_suffix=NONE
    832 program_transform_name=s,x,x,
    833 silent=
    834 site=
    835 srcdir=
    836 verbose=
    837 x_includes=NONE
    838 x_libraries=NONE
    839 
    840 # Installation directory options.
    841 # These are left unexpanded so users can "make install exec_prefix=/foo"
    842 # and all the variables that are supposed to be based on exec_prefix
    843 # by default will actually change.
    844 # Use braces instead of parens because sh, perl, etc. also accept them.
    845 # (The list follows the same order as the GNU Coding Standards.)
    846 bindir='${exec_prefix}/bin'
    847 sbindir='${exec_prefix}/sbin'
    848 libexecdir='${exec_prefix}/libexec'
    849 datarootdir='${prefix}/share'
    850 datadir='${datarootdir}'
    851 sysconfdir='${prefix}/etc'
    852 sharedstatedir='${prefix}/com'
    853 localstatedir='${prefix}/var'
    854 includedir='${prefix}/include'
    855 oldincludedir='/usr/include'
    856 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    857 infodir='${datarootdir}/info'
    858 htmldir='${docdir}'
    859 dvidir='${docdir}'
    860 pdfdir='${docdir}'
    861 psdir='${docdir}'
    862 libdir='${exec_prefix}/lib'
    863 localedir='${datarootdir}/locale'
    864 mandir='${datarootdir}/man'
    865 
    866 ac_prev=
    867 ac_dashdash=
    868 for ac_option
    869 do
    870   # If the previous option needs an argument, assign it.
    871   if test -n "$ac_prev"; then
    872     eval $ac_prev=\$ac_option
    873     ac_prev=
    874     continue
    875   fi
    876 
    877   case $ac_option in
    878   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    879   *=)   ac_optarg= ;;
    880   *)    ac_optarg=yes ;;
    881   esac
    882 
    883   # Accept the important Cygnus configure options, so we can diagnose typos.
    884 
    885   case $ac_dashdash$ac_option in
    886   --)
    887     ac_dashdash=yes ;;
    888 
    889   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    890     ac_prev=bindir ;;
    891   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    892     bindir=$ac_optarg ;;
    893 
    894   -build | --build | --buil | --bui | --bu)
    895     ac_prev=build_alias ;;
    896   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    897     build_alias=$ac_optarg ;;
    898 
    899   -cache-file | --cache-file | --cache-fil | --cache-fi \
    900   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    901     ac_prev=cache_file ;;
    902   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    903   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    904     cache_file=$ac_optarg ;;
    905 
    906   --config-cache | -C)
    907     cache_file=config.cache ;;
    908 
    909   -datadir | --datadir | --datadi | --datad)
    910     ac_prev=datadir ;;
    911   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    912     datadir=$ac_optarg ;;
    913 
    914   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    915   | --dataroo | --dataro | --datar)
    916     ac_prev=datarootdir ;;
    917   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    918   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    919     datarootdir=$ac_optarg ;;
    920 
    921   -disable-* | --disable-*)
    922     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    923     # Reject names that are not valid shell variable names.
    924     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    925       as_fn_error $? "invalid feature name: $ac_useropt"
    926     ac_useropt_orig=$ac_useropt
    927     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    928     case $ac_user_opts in
    929       *"
    930 "enable_$ac_useropt"
    931 "*) ;;
    932       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    933 	 ac_unrecognized_sep=', ';;
    934     esac
    935     eval enable_$ac_useropt=no ;;
    936 
    937   -docdir | --docdir | --docdi | --doc | --do)
    938     ac_prev=docdir ;;
    939   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    940     docdir=$ac_optarg ;;
    941 
    942   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    943     ac_prev=dvidir ;;
    944   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    945     dvidir=$ac_optarg ;;
    946 
    947   -enable-* | --enable-*)
    948     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    949     # Reject names that are not valid shell variable names.
    950     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    951       as_fn_error $? "invalid feature name: $ac_useropt"
    952     ac_useropt_orig=$ac_useropt
    953     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    954     case $ac_user_opts in
    955       *"
    956 "enable_$ac_useropt"
    957 "*) ;;
    958       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    959 	 ac_unrecognized_sep=', ';;
    960     esac
    961     eval enable_$ac_useropt=\$ac_optarg ;;
    962 
    963   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    964   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    965   | --exec | --exe | --ex)
    966     ac_prev=exec_prefix ;;
    967   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    968   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    969   | --exec=* | --exe=* | --ex=*)
    970     exec_prefix=$ac_optarg ;;
    971 
    972   -gas | --gas | --ga | --g)
    973     # Obsolete; use --with-gas.
    974     with_gas=yes ;;
    975 
    976   -help | --help | --hel | --he | -h)
    977     ac_init_help=long ;;
    978   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    979     ac_init_help=recursive ;;
    980   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    981     ac_init_help=short ;;
    982 
    983   -host | --host | --hos | --ho)
    984     ac_prev=host_alias ;;
    985   -host=* | --host=* | --hos=* | --ho=*)
    986     host_alias=$ac_optarg ;;
    987 
    988   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    989     ac_prev=htmldir ;;
    990   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    991   | --ht=*)
    992     htmldir=$ac_optarg ;;
    993 
    994   -includedir | --includedir | --includedi | --included | --include \
    995   | --includ | --inclu | --incl | --inc)
    996     ac_prev=includedir ;;
    997   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    998   | --includ=* | --inclu=* | --incl=* | --inc=*)
    999     includedir=$ac_optarg ;;
   1000 
   1001   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1002     ac_prev=infodir ;;
   1003   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1004     infodir=$ac_optarg ;;
   1005 
   1006   -libdir | --libdir | --libdi | --libd)
   1007     ac_prev=libdir ;;
   1008   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1009     libdir=$ac_optarg ;;
   1010 
   1011   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1012   | --libexe | --libex | --libe)
   1013     ac_prev=libexecdir ;;
   1014   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1015   | --libexe=* | --libex=* | --libe=*)
   1016     libexecdir=$ac_optarg ;;
   1017 
   1018   -localedir | --localedir | --localedi | --localed | --locale)
   1019     ac_prev=localedir ;;
   1020   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1021     localedir=$ac_optarg ;;
   1022 
   1023   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1024   | --localstate | --localstat | --localsta | --localst | --locals)
   1025     ac_prev=localstatedir ;;
   1026   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1027   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1028     localstatedir=$ac_optarg ;;
   1029 
   1030   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1031     ac_prev=mandir ;;
   1032   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1033     mandir=$ac_optarg ;;
   1034 
   1035   -nfp | --nfp | --nf)
   1036     # Obsolete; use --without-fp.
   1037     with_fp=no ;;
   1038 
   1039   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1040   | --no-cr | --no-c | -n)
   1041     no_create=yes ;;
   1042 
   1043   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1044   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1045     no_recursion=yes ;;
   1046 
   1047   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1048   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1049   | --oldin | --oldi | --old | --ol | --o)
   1050     ac_prev=oldincludedir ;;
   1051   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1052   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1053   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1054     oldincludedir=$ac_optarg ;;
   1055 
   1056   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1057     ac_prev=prefix ;;
   1058   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1059     prefix=$ac_optarg ;;
   1060 
   1061   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1062   | --program-pre | --program-pr | --program-p)
   1063     ac_prev=program_prefix ;;
   1064   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1065   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1066     program_prefix=$ac_optarg ;;
   1067 
   1068   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1069   | --program-suf | --program-su | --program-s)
   1070     ac_prev=program_suffix ;;
   1071   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1072   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1073     program_suffix=$ac_optarg ;;
   1074 
   1075   -program-transform-name | --program-transform-name \
   1076   | --program-transform-nam | --program-transform-na \
   1077   | --program-transform-n | --program-transform- \
   1078   | --program-transform | --program-transfor \
   1079   | --program-transfo | --program-transf \
   1080   | --program-trans | --program-tran \
   1081   | --progr-tra | --program-tr | --program-t)
   1082     ac_prev=program_transform_name ;;
   1083   -program-transform-name=* | --program-transform-name=* \
   1084   | --program-transform-nam=* | --program-transform-na=* \
   1085   | --program-transform-n=* | --program-transform-=* \
   1086   | --program-transform=* | --program-transfor=* \
   1087   | --program-transfo=* | --program-transf=* \
   1088   | --program-trans=* | --program-tran=* \
   1089   | --progr-tra=* | --program-tr=* | --program-t=*)
   1090     program_transform_name=$ac_optarg ;;
   1091 
   1092   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1093     ac_prev=pdfdir ;;
   1094   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1095     pdfdir=$ac_optarg ;;
   1096 
   1097   -psdir | --psdir | --psdi | --psd | --ps)
   1098     ac_prev=psdir ;;
   1099   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1100     psdir=$ac_optarg ;;
   1101 
   1102   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1103   | -silent | --silent | --silen | --sile | --sil)
   1104     silent=yes ;;
   1105 
   1106   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1107     ac_prev=sbindir ;;
   1108   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1109   | --sbi=* | --sb=*)
   1110     sbindir=$ac_optarg ;;
   1111 
   1112   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1113   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1114   | --sharedst | --shareds | --shared | --share | --shar \
   1115   | --sha | --sh)
   1116     ac_prev=sharedstatedir ;;
   1117   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1118   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1119   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1120   | --sha=* | --sh=*)
   1121     sharedstatedir=$ac_optarg ;;
   1122 
   1123   -site | --site | --sit)
   1124     ac_prev=site ;;
   1125   -site=* | --site=* | --sit=*)
   1126     site=$ac_optarg ;;
   1127 
   1128   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1129     ac_prev=srcdir ;;
   1130   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1131     srcdir=$ac_optarg ;;
   1132 
   1133   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1134   | --syscon | --sysco | --sysc | --sys | --sy)
   1135     ac_prev=sysconfdir ;;
   1136   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1137   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1138     sysconfdir=$ac_optarg ;;
   1139 
   1140   -target | --target | --targe | --targ | --tar | --ta | --t)
   1141     ac_prev=target_alias ;;
   1142   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1143     target_alias=$ac_optarg ;;
   1144 
   1145   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1146     verbose=yes ;;
   1147 
   1148   -version | --version | --versio | --versi | --vers | -V)
   1149     ac_init_version=: ;;
   1150 
   1151   -with-* | --with-*)
   1152     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1153     # Reject names that are not valid shell variable names.
   1154     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1155       as_fn_error $? "invalid package name: $ac_useropt"
   1156     ac_useropt_orig=$ac_useropt
   1157     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1158     case $ac_user_opts in
   1159       *"
   1160 "with_$ac_useropt"
   1161 "*) ;;
   1162       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1163 	 ac_unrecognized_sep=', ';;
   1164     esac
   1165     eval with_$ac_useropt=\$ac_optarg ;;
   1166 
   1167   -without-* | --without-*)
   1168     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1169     # Reject names that are not valid shell variable names.
   1170     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1171       as_fn_error $? "invalid package name: $ac_useropt"
   1172     ac_useropt_orig=$ac_useropt
   1173     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1174     case $ac_user_opts in
   1175       *"
   1176 "with_$ac_useropt"
   1177 "*) ;;
   1178       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1179 	 ac_unrecognized_sep=', ';;
   1180     esac
   1181     eval with_$ac_useropt=no ;;
   1182 
   1183   --x)
   1184     # Obsolete; use --with-x.
   1185     with_x=yes ;;
   1186 
   1187   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1188   | --x-incl | --x-inc | --x-in | --x-i)
   1189     ac_prev=x_includes ;;
   1190   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1191   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1192     x_includes=$ac_optarg ;;
   1193 
   1194   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1195   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1196     ac_prev=x_libraries ;;
   1197   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1198   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1199     x_libraries=$ac_optarg ;;
   1200 
   1201   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1202 Try \`$0 --help' for more information"
   1203     ;;
   1204 
   1205   *=*)
   1206     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1207     # Reject names that are not valid shell variable names.
   1208     case $ac_envvar in #(
   1209       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1210       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1211     esac
   1212     eval $ac_envvar=\$ac_optarg
   1213     export $ac_envvar ;;
   1214 
   1215   *)
   1216     # FIXME: should be removed in autoconf 3.0.
   1217     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1218     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1219       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1220     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1221     ;;
   1222 
   1223   esac
   1224 done
   1225 
   1226 if test -n "$ac_prev"; then
   1227   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1228   as_fn_error $? "missing argument to $ac_option"
   1229 fi
   1230 
   1231 if test -n "$ac_unrecognized_opts"; then
   1232   case $enable_option_checking in
   1233     no) ;;
   1234     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1235     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1236   esac
   1237 fi
   1238 
   1239 # Check all directory arguments for consistency.
   1240 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1241 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1242 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1243 		libdir localedir mandir
   1244 do
   1245   eval ac_val=\$$ac_var
   1246   # Remove trailing slashes.
   1247   case $ac_val in
   1248     */ )
   1249       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1250       eval $ac_var=\$ac_val;;
   1251   esac
   1252   # Be sure to have absolute directory names.
   1253   case $ac_val in
   1254     [\\/$]* | ?:[\\/]* )  continue;;
   1255     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1256   esac
   1257   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1258 done
   1259 
   1260 # There might be people who depend on the old broken behavior: `$host'
   1261 # used to hold the argument of --host etc.
   1262 # FIXME: To remove some day.
   1263 build=$build_alias
   1264 host=$host_alias
   1265 target=$target_alias
   1266 
   1267 # FIXME: To remove some day.
   1268 if test "x$host_alias" != x; then
   1269   if test "x$build_alias" = x; then
   1270     cross_compiling=maybe
   1271   elif test "x$build_alias" != "x$host_alias"; then
   1272     cross_compiling=yes
   1273   fi
   1274 fi
   1275 
   1276 ac_tool_prefix=
   1277 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1278 
   1279 test "$silent" = yes && exec 6>/dev/null
   1280 
   1281 
   1282 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1283 ac_ls_di=`ls -di .` &&
   1284 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1285   as_fn_error $? "working directory cannot be determined"
   1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1287   as_fn_error $? "pwd does not report name of working directory"
   1288 
   1289 
   1290 # Find the source files, if location was not specified.
   1291 if test -z "$srcdir"; then
   1292   ac_srcdir_defaulted=yes
   1293   # Try the directory containing this script, then the parent directory.
   1294   ac_confdir=`$as_dirname -- "$as_myself" ||
   1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1296 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1297 	 X"$as_myself" : 'X\(//\)$' \| \
   1298 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1299 $as_echo X"$as_myself" |
   1300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\/\)[^/].*/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\/\)$/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  /^X\(\/\).*/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  s/.*/./; q'`
   1317   srcdir=$ac_confdir
   1318   if test ! -r "$srcdir/$ac_unique_file"; then
   1319     srcdir=..
   1320   fi
   1321 else
   1322   ac_srcdir_defaulted=no
   1323 fi
   1324 if test ! -r "$srcdir/$ac_unique_file"; then
   1325   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1326   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1327 fi
   1328 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1329 ac_abs_confdir=`(
   1330 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1331 	pwd)`
   1332 # When building in place, set srcdir=.
   1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1334   srcdir=.
   1335 fi
   1336 # Remove unnecessary trailing slashes from srcdir.
   1337 # Double slashes in file names in object file debugging info
   1338 # mess up M-x gdb in Emacs.
   1339 case $srcdir in
   1340 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1341 esac
   1342 for ac_var in $ac_precious_vars; do
   1343   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1344   eval ac_env_${ac_var}_value=\$${ac_var}
   1345   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1346   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1347 done
   1348 
   1349 #
   1350 # Report the --help message.
   1351 #
   1352 if test "$ac_init_help" = "long"; then
   1353   # Omit some internal or obsolete options to make the list less imposing.
   1354   # This message is too long to be a string in the A/UX 3.1 sh.
   1355   cat <<_ACEOF
   1356 \`configure' configures xf86-input-keyboard 1.7.0 to adapt to many kinds of systems.
   1357 
   1358 Usage: $0 [OPTION]... [VAR=VALUE]...
   1359 
   1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1361 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1362 
   1363 Defaults for the options are specified in brackets.
   1364 
   1365 Configuration:
   1366   -h, --help              display this help and exit
   1367       --help=short        display options specific to this package
   1368       --help=recursive    display the short help of all the included packages
   1369   -V, --version           display version information and exit
   1370   -q, --quiet, --silent   do not print \`checking ...' messages
   1371       --cache-file=FILE   cache test results in FILE [disabled]
   1372   -C, --config-cache      alias for \`--cache-file=config.cache'
   1373   -n, --no-create         do not create output files
   1374       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1375 
   1376 Installation directories:
   1377   --prefix=PREFIX         install architecture-independent files in PREFIX
   1378                           [$ac_default_prefix]
   1379   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1380                           [PREFIX]
   1381 
   1382 By default, \`make install' will install all the files in
   1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1385 for instance \`--prefix=\$HOME'.
   1386 
   1387 For better control, use the options below.
   1388 
   1389 Fine tuning of the installation directories:
   1390   --bindir=DIR            user executables [EPREFIX/bin]
   1391   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1392   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1393   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1394   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1395   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1396   --libdir=DIR            object code libraries [EPREFIX/lib]
   1397   --includedir=DIR        C header files [PREFIX/include]
   1398   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1399   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1400   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1401   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1402   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1403   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1404   --docdir=DIR            documentation root
   1405                           [DATAROOTDIR/doc/xf86-input-keyboard]
   1406   --htmldir=DIR           html documentation [DOCDIR]
   1407   --dvidir=DIR            dvi documentation [DOCDIR]
   1408   --pdfdir=DIR            pdf documentation [DOCDIR]
   1409   --psdir=DIR             ps documentation [DOCDIR]
   1410 _ACEOF
   1411 
   1412   cat <<\_ACEOF
   1413 
   1414 Program names:
   1415   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1416   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1417   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1418 
   1419 System types:
   1420   --build=BUILD     configure for building on BUILD [guessed]
   1421   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1422 _ACEOF
   1423 fi
   1424 
   1425 if test -n "$ac_init_help"; then
   1426   case $ac_init_help in
   1427      short | recursive ) echo "Configuration of xf86-input-keyboard 1.7.0:";;
   1428    esac
   1429   cat <<\_ACEOF
   1430 
   1431 Optional Features:
   1432   --disable-option-checking  ignore unrecognized --enable/--with options
   1433   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1434   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1435   --enable-static[=PKGS]  build static libraries [default=no]
   1436   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1437   --enable-fast-install[=PKGS]
   1438                           optimize for fast installation [default=yes]
   1439   --enable-dependency-tracking
   1440                           do not reject slow dependency extractors
   1441   --disable-dependency-tracking
   1442                           speeds up one-time build
   1443   --disable-libtool-lock  avoid locking (might break parallel builds)
   1444   --disable-selective-werror
   1445                           Turn off selective compiler errors. (default:
   1446                           enabled)
   1447   --enable-strict-compilation
   1448                           Enable all warnings from compiler and make them
   1449                           errors (default: disabled)
   1450   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1451   --disable-silent-rules  verbose build output (undo: "make V=0")
   1452 
   1453 Optional Packages:
   1454   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1455   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1456   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1457                           both]
   1458   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1459   --with-sysroot=DIR Search for dependent libraries within DIR
   1460                         (or the compiler's sysroot if not specified).
   1461   --with-xorg-module-dir=DIR
   1462                           Default xorg module directory
   1463                           [[default=$libdir/xorg/modules]]
   1464 
   1465 Some influential environment variables:
   1466   CC          C compiler command
   1467   CFLAGS      C compiler flags
   1468   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1469               nonstandard directory <lib dir>
   1470   LIBS        libraries to pass to the linker, e.g. -l<library>
   1471   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1472               you have headers in a nonstandard directory <include dir>
   1473   CPP         C preprocessor
   1474   PKG_CONFIG  path to pkg-config utility
   1475   PKG_CONFIG_PATH
   1476               directories to add to pkg-config's search path
   1477   PKG_CONFIG_LIBDIR
   1478               path overriding pkg-config's built-in search path
   1479   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1480   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1481 
   1482 Use these variables to override the choices made by `configure' or to help
   1483 it to find libraries and programs with nonstandard names/locations.
   1484 
   1485 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1486 _ACEOF
   1487 ac_status=$?
   1488 fi
   1489 
   1490 if test "$ac_init_help" = "recursive"; then
   1491   # If there are subdirs, report their specific --help.
   1492   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1493     test -d "$ac_dir" ||
   1494       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1495       continue
   1496     ac_builddir=.
   1497 
   1498 case "$ac_dir" in
   1499 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1500 *)
   1501   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1502   # A ".." for each directory in $ac_dir_suffix.
   1503   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1504   case $ac_top_builddir_sub in
   1505   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1506   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1507   esac ;;
   1508 esac
   1509 ac_abs_top_builddir=$ac_pwd
   1510 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1511 # for backward compatibility:
   1512 ac_top_builddir=$ac_top_build_prefix
   1513 
   1514 case $srcdir in
   1515   .)  # We are building in place.
   1516     ac_srcdir=.
   1517     ac_top_srcdir=$ac_top_builddir_sub
   1518     ac_abs_top_srcdir=$ac_pwd ;;
   1519   [\\/]* | ?:[\\/]* )  # Absolute name.
   1520     ac_srcdir=$srcdir$ac_dir_suffix;
   1521     ac_top_srcdir=$srcdir
   1522     ac_abs_top_srcdir=$srcdir ;;
   1523   *) # Relative name.
   1524     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1525     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1526     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1527 esac
   1528 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1529 
   1530     cd "$ac_dir" || { ac_status=$?; continue; }
   1531     # Check for guested configure.
   1532     if test -f "$ac_srcdir/configure.gnu"; then
   1533       echo &&
   1534       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1535     elif test -f "$ac_srcdir/configure"; then
   1536       echo &&
   1537       $SHELL "$ac_srcdir/configure" --help=recursive
   1538     else
   1539       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1540     fi || ac_status=$?
   1541     cd "$ac_pwd" || { ac_status=$?; break; }
   1542   done
   1543 fi
   1544 
   1545 test -n "$ac_init_help" && exit $ac_status
   1546 if $ac_init_version; then
   1547   cat <<\_ACEOF
   1548 xf86-input-keyboard configure 1.7.0
   1549 generated by GNU Autoconf 2.69
   1550 
   1551 Copyright (C) 2012 Free Software Foundation, Inc.
   1552 This configure script is free software; the Free Software Foundation
   1553 gives unlimited permission to copy, distribute and modify it.
   1554 _ACEOF
   1555   exit
   1556 fi
   1557 
   1558 ## ------------------------ ##
   1559 ## Autoconf initialization. ##
   1560 ## ------------------------ ##
   1561 
   1562 # ac_fn_c_try_compile LINENO
   1563 # --------------------------
   1564 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1565 ac_fn_c_try_compile ()
   1566 {
   1567   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1568   rm -f conftest.$ac_objext
   1569   if { { ac_try="$ac_compile"
   1570 case "(($ac_try" in
   1571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1572   *) ac_try_echo=$ac_try;;
   1573 esac
   1574 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1575 $as_echo "$ac_try_echo"; } >&5
   1576   (eval "$ac_compile") 2>conftest.err
   1577   ac_status=$?
   1578   if test -s conftest.err; then
   1579     grep -v '^ *+' conftest.err >conftest.er1
   1580     cat conftest.er1 >&5
   1581     mv -f conftest.er1 conftest.err
   1582   fi
   1583   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1584   test $ac_status = 0; } && {
   1585 	 test -z "$ac_c_werror_flag" ||
   1586 	 test ! -s conftest.err
   1587        } && test -s conftest.$ac_objext; then :
   1588   ac_retval=0
   1589 else
   1590   $as_echo "$as_me: failed program was:" >&5
   1591 sed 's/^/| /' conftest.$ac_ext >&5
   1592 
   1593 	ac_retval=1
   1594 fi
   1595   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1596   as_fn_set_status $ac_retval
   1597 
   1598 } # ac_fn_c_try_compile
   1599 
   1600 # ac_fn_c_try_link LINENO
   1601 # -----------------------
   1602 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1603 ac_fn_c_try_link ()
   1604 {
   1605   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1606   rm -f conftest.$ac_objext conftest$ac_exeext
   1607   if { { ac_try="$ac_link"
   1608 case "(($ac_try" in
   1609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1610   *) ac_try_echo=$ac_try;;
   1611 esac
   1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1613 $as_echo "$ac_try_echo"; } >&5
   1614   (eval "$ac_link") 2>conftest.err
   1615   ac_status=$?
   1616   if test -s conftest.err; then
   1617     grep -v '^ *+' conftest.err >conftest.er1
   1618     cat conftest.er1 >&5
   1619     mv -f conftest.er1 conftest.err
   1620   fi
   1621   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1622   test $ac_status = 0; } && {
   1623 	 test -z "$ac_c_werror_flag" ||
   1624 	 test ! -s conftest.err
   1625        } && test -s conftest$ac_exeext && {
   1626 	 test "$cross_compiling" = yes ||
   1627 	 test -x conftest$ac_exeext
   1628        }; then :
   1629   ac_retval=0
   1630 else
   1631   $as_echo "$as_me: failed program was:" >&5
   1632 sed 's/^/| /' conftest.$ac_ext >&5
   1633 
   1634 	ac_retval=1
   1635 fi
   1636   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1637   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1638   # interfere with the next link command; also delete a directory that is
   1639   # left behind by Apple's compiler.  We do this before executing the actions.
   1640   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1641   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1642   as_fn_set_status $ac_retval
   1643 
   1644 } # ac_fn_c_try_link
   1645 
   1646 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1647 # -------------------------------------------------------
   1648 # Tests whether HEADER exists and can be compiled using the include files in
   1649 # INCLUDES, setting the cache variable VAR accordingly.
   1650 ac_fn_c_check_header_compile ()
   1651 {
   1652   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1653   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1654 $as_echo_n "checking for $2... " >&6; }
   1655 if eval \${$3+:} false; then :
   1656   $as_echo_n "(cached) " >&6
   1657 else
   1658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1659 /* end confdefs.h.  */
   1660 $4
   1661 #include <$2>
   1662 _ACEOF
   1663 if ac_fn_c_try_compile "$LINENO"; then :
   1664   eval "$3=yes"
   1665 else
   1666   eval "$3=no"
   1667 fi
   1668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1669 fi
   1670 eval ac_res=\$$3
   1671 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1672 $as_echo "$ac_res" >&6; }
   1673   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1674 
   1675 } # ac_fn_c_check_header_compile
   1676 
   1677 # ac_fn_c_try_cpp LINENO
   1678 # ----------------------
   1679 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1680 ac_fn_c_try_cpp ()
   1681 {
   1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1683   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1684 case "(($ac_try" in
   1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1686   *) ac_try_echo=$ac_try;;
   1687 esac
   1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1689 $as_echo "$ac_try_echo"; } >&5
   1690   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1691   ac_status=$?
   1692   if test -s conftest.err; then
   1693     grep -v '^ *+' conftest.err >conftest.er1
   1694     cat conftest.er1 >&5
   1695     mv -f conftest.er1 conftest.err
   1696   fi
   1697   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1698   test $ac_status = 0; } > conftest.i && {
   1699 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1700 	 test ! -s conftest.err
   1701        }; then :
   1702   ac_retval=0
   1703 else
   1704   $as_echo "$as_me: failed program was:" >&5
   1705 sed 's/^/| /' conftest.$ac_ext >&5
   1706 
   1707     ac_retval=1
   1708 fi
   1709   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1710   as_fn_set_status $ac_retval
   1711 
   1712 } # ac_fn_c_try_cpp
   1713 
   1714 # ac_fn_c_try_run LINENO
   1715 # ----------------------
   1716 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1717 # that executables *can* be run.
   1718 ac_fn_c_try_run ()
   1719 {
   1720   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1721   if { { ac_try="$ac_link"
   1722 case "(($ac_try" in
   1723   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1724   *) ac_try_echo=$ac_try;;
   1725 esac
   1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1727 $as_echo "$ac_try_echo"; } >&5
   1728   (eval "$ac_link") 2>&5
   1729   ac_status=$?
   1730   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1731   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1732   { { case "(($ac_try" in
   1733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1734   *) ac_try_echo=$ac_try;;
   1735 esac
   1736 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1737 $as_echo "$ac_try_echo"; } >&5
   1738   (eval "$ac_try") 2>&5
   1739   ac_status=$?
   1740   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1741   test $ac_status = 0; }; }; then :
   1742   ac_retval=0
   1743 else
   1744   $as_echo "$as_me: program exited with status $ac_status" >&5
   1745        $as_echo "$as_me: failed program was:" >&5
   1746 sed 's/^/| /' conftest.$ac_ext >&5
   1747 
   1748        ac_retval=$ac_status
   1749 fi
   1750   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1751   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1752   as_fn_set_status $ac_retval
   1753 
   1754 } # ac_fn_c_try_run
   1755 
   1756 # ac_fn_c_check_func LINENO FUNC VAR
   1757 # ----------------------------------
   1758 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1759 ac_fn_c_check_func ()
   1760 {
   1761   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1762   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1763 $as_echo_n "checking for $2... " >&6; }
   1764 if eval \${$3+:} false; then :
   1765   $as_echo_n "(cached) " >&6
   1766 else
   1767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1768 /* end confdefs.h.  */
   1769 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1771 #define $2 innocuous_$2
   1772 
   1773 /* System header to define __stub macros and hopefully few prototypes,
   1774     which can conflict with char $2 (); below.
   1775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1776     <limits.h> exists even on freestanding compilers.  */
   1777 
   1778 #ifdef __STDC__
   1779 # include <limits.h>
   1780 #else
   1781 # include <assert.h>
   1782 #endif
   1783 
   1784 #undef $2
   1785 
   1786 /* Override any GCC internal prototype to avoid an error.
   1787    Use char because int might match the return type of a GCC
   1788    builtin and then its argument prototype would still apply.  */
   1789 #ifdef __cplusplus
   1790 extern "C"
   1791 #endif
   1792 char $2 ();
   1793 /* The GNU C library defines this for functions which it implements
   1794     to always fail with ENOSYS.  Some functions are actually named
   1795     something starting with __ and the normal name is an alias.  */
   1796 #if defined __stub_$2 || defined __stub___$2
   1797 choke me
   1798 #endif
   1799 
   1800 int
   1801 main ()
   1802 {
   1803 return $2 ();
   1804   ;
   1805   return 0;
   1806 }
   1807 _ACEOF
   1808 if ac_fn_c_try_link "$LINENO"; then :
   1809   eval "$3=yes"
   1810 else
   1811   eval "$3=no"
   1812 fi
   1813 rm -f core conftest.err conftest.$ac_objext \
   1814     conftest$ac_exeext conftest.$ac_ext
   1815 fi
   1816 eval ac_res=\$$3
   1817 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1818 $as_echo "$ac_res" >&6; }
   1819   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1820 
   1821 } # ac_fn_c_check_func
   1822 
   1823 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1824 # ---------------------------------------------
   1825 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1826 # accordingly.
   1827 ac_fn_c_check_decl ()
   1828 {
   1829   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1830   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1831   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1832   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1833 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1834 if eval \${$3+:} false; then :
   1835   $as_echo_n "(cached) " >&6
   1836 else
   1837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1838 /* end confdefs.h.  */
   1839 $4
   1840 int
   1841 main ()
   1842 {
   1843 #ifndef $as_decl_name
   1844 #ifdef __cplusplus
   1845   (void) $as_decl_use;
   1846 #else
   1847   (void) $as_decl_name;
   1848 #endif
   1849 #endif
   1850 
   1851   ;
   1852   return 0;
   1853 }
   1854 _ACEOF
   1855 if ac_fn_c_try_compile "$LINENO"; then :
   1856   eval "$3=yes"
   1857 else
   1858   eval "$3=no"
   1859 fi
   1860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1861 fi
   1862 eval ac_res=\$$3
   1863 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1864 $as_echo "$ac_res" >&6; }
   1865   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1866 
   1867 } # ac_fn_c_check_decl
   1868 cat >config.log <<_ACEOF
   1869 This file contains any messages produced by compilers while
   1870 running configure, to aid debugging if configure makes a mistake.
   1871 
   1872 It was created by xf86-input-keyboard $as_me 1.7.0, which was
   1873 generated by GNU Autoconf 2.69.  Invocation command line was
   1874 
   1875   $ $0 $@
   1876 
   1877 _ACEOF
   1878 exec 5>>config.log
   1879 {
   1880 cat <<_ASUNAME
   1881 ## --------- ##
   1882 ## Platform. ##
   1883 ## --------- ##
   1884 
   1885 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1886 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1887 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1888 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1889 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1890 
   1891 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1892 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1893 
   1894 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1895 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1896 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1897 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1898 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1899 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1900 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1901 
   1902 _ASUNAME
   1903 
   1904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1905 for as_dir in $PATH
   1906 do
   1907   IFS=$as_save_IFS
   1908   test -z "$as_dir" && as_dir=.
   1909     $as_echo "PATH: $as_dir"
   1910   done
   1911 IFS=$as_save_IFS
   1912 
   1913 } >&5
   1914 
   1915 cat >&5 <<_ACEOF
   1916 
   1917 
   1918 ## ----------- ##
   1919 ## Core tests. ##
   1920 ## ----------- ##
   1921 
   1922 _ACEOF
   1923 
   1924 
   1925 # Keep a trace of the command line.
   1926 # Strip out --no-create and --no-recursion so they do not pile up.
   1927 # Strip out --silent because we don't want to record it for future runs.
   1928 # Also quote any args containing shell meta-characters.
   1929 # Make two passes to allow for proper duplicate-argument suppression.
   1930 ac_configure_args=
   1931 ac_configure_args0=
   1932 ac_configure_args1=
   1933 ac_must_keep_next=false
   1934 for ac_pass in 1 2
   1935 do
   1936   for ac_arg
   1937   do
   1938     case $ac_arg in
   1939     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1940     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1941     | -silent | --silent | --silen | --sile | --sil)
   1942       continue ;;
   1943     *\'*)
   1944       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1945     esac
   1946     case $ac_pass in
   1947     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1948     2)
   1949       as_fn_append ac_configure_args1 " '$ac_arg'"
   1950       if test $ac_must_keep_next = true; then
   1951 	ac_must_keep_next=false # Got value, back to normal.
   1952       else
   1953 	case $ac_arg in
   1954 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1955 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1956 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1957 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1958 	    case "$ac_configure_args0 " in
   1959 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1960 	    esac
   1961 	    ;;
   1962 	  -* ) ac_must_keep_next=true ;;
   1963 	esac
   1964       fi
   1965       as_fn_append ac_configure_args " '$ac_arg'"
   1966       ;;
   1967     esac
   1968   done
   1969 done
   1970 { ac_configure_args0=; unset ac_configure_args0;}
   1971 { ac_configure_args1=; unset ac_configure_args1;}
   1972 
   1973 # When interrupted or exit'd, cleanup temporary files, and complete
   1974 # config.log.  We remove comments because anyway the quotes in there
   1975 # would cause problems or look ugly.
   1976 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1977 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1978 trap 'exit_status=$?
   1979   # Save into config.log some information that might help in debugging.
   1980   {
   1981     echo
   1982 
   1983     $as_echo "## ---------------- ##
   1984 ## Cache variables. ##
   1985 ## ---------------- ##"
   1986     echo
   1987     # The following way of writing the cache mishandles newlines in values,
   1988 (
   1989   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1990     eval ac_val=\$$ac_var
   1991     case $ac_val in #(
   1992     *${as_nl}*)
   1993       case $ac_var in #(
   1994       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1995 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1996       esac
   1997       case $ac_var in #(
   1998       _ | IFS | as_nl) ;; #(
   1999       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2000       *) { eval $ac_var=; unset $ac_var;} ;;
   2001       esac ;;
   2002     esac
   2003   done
   2004   (set) 2>&1 |
   2005     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2006     *${as_nl}ac_space=\ *)
   2007       sed -n \
   2008 	"s/'\''/'\''\\\\'\'''\''/g;
   2009 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2010       ;; #(
   2011     *)
   2012       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2013       ;;
   2014     esac |
   2015     sort
   2016 )
   2017     echo
   2018 
   2019     $as_echo "## ----------------- ##
   2020 ## Output variables. ##
   2021 ## ----------------- ##"
   2022     echo
   2023     for ac_var in $ac_subst_vars
   2024     do
   2025       eval ac_val=\$$ac_var
   2026       case $ac_val in
   2027       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2028       esac
   2029       $as_echo "$ac_var='\''$ac_val'\''"
   2030     done | sort
   2031     echo
   2032 
   2033     if test -n "$ac_subst_files"; then
   2034       $as_echo "## ------------------- ##
   2035 ## File substitutions. ##
   2036 ## ------------------- ##"
   2037       echo
   2038       for ac_var in $ac_subst_files
   2039       do
   2040 	eval ac_val=\$$ac_var
   2041 	case $ac_val in
   2042 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2043 	esac
   2044 	$as_echo "$ac_var='\''$ac_val'\''"
   2045       done | sort
   2046       echo
   2047     fi
   2048 
   2049     if test -s confdefs.h; then
   2050       $as_echo "## ----------- ##
   2051 ## confdefs.h. ##
   2052 ## ----------- ##"
   2053       echo
   2054       cat confdefs.h
   2055       echo
   2056     fi
   2057     test "$ac_signal" != 0 &&
   2058       $as_echo "$as_me: caught signal $ac_signal"
   2059     $as_echo "$as_me: exit $exit_status"
   2060   } >&5
   2061   rm -f core *.core core.conftest.* &&
   2062     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2063     exit $exit_status
   2064 ' 0
   2065 for ac_signal in 1 2 13 15; do
   2066   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2067 done
   2068 ac_signal=0
   2069 
   2070 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2071 rm -f -r conftest* confdefs.h
   2072 
   2073 $as_echo "/* confdefs.h */" > confdefs.h
   2074 
   2075 # Predefined preprocessor variables.
   2076 
   2077 cat >>confdefs.h <<_ACEOF
   2078 #define PACKAGE_NAME "$PACKAGE_NAME"
   2079 _ACEOF
   2080 
   2081 cat >>confdefs.h <<_ACEOF
   2082 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2083 _ACEOF
   2084 
   2085 cat >>confdefs.h <<_ACEOF
   2086 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2087 _ACEOF
   2088 
   2089 cat >>confdefs.h <<_ACEOF
   2090 #define PACKAGE_STRING "$PACKAGE_STRING"
   2091 _ACEOF
   2092 
   2093 cat >>confdefs.h <<_ACEOF
   2094 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2095 _ACEOF
   2096 
   2097 cat >>confdefs.h <<_ACEOF
   2098 #define PACKAGE_URL "$PACKAGE_URL"
   2099 _ACEOF
   2100 
   2101 
   2102 # Let the site file select an alternate cache file if it wants to.
   2103 # Prefer an explicitly selected file to automatically selected ones.
   2104 ac_site_file1=NONE
   2105 ac_site_file2=NONE
   2106 if test -n "$CONFIG_SITE"; then
   2107   # We do not want a PATH search for config.site.
   2108   case $CONFIG_SITE in #((
   2109     -*)  ac_site_file1=./$CONFIG_SITE;;
   2110     */*) ac_site_file1=$CONFIG_SITE;;
   2111     *)   ac_site_file1=./$CONFIG_SITE;;
   2112   esac
   2113 elif test "x$prefix" != xNONE; then
   2114   ac_site_file1=$prefix/share/config.site
   2115   ac_site_file2=$prefix/etc/config.site
   2116 else
   2117   ac_site_file1=$ac_default_prefix/share/config.site
   2118   ac_site_file2=$ac_default_prefix/etc/config.site
   2119 fi
   2120 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2121 do
   2122   test "x$ac_site_file" = xNONE && continue
   2123   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2124     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2125 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2126     sed 's/^/| /' "$ac_site_file" >&5
   2127     . "$ac_site_file" \
   2128       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2130 as_fn_error $? "failed to load site script $ac_site_file
   2131 See \`config.log' for more details" "$LINENO" 5; }
   2132   fi
   2133 done
   2134 
   2135 if test -r "$cache_file"; then
   2136   # Some versions of bash will fail to source /dev/null (special files
   2137   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2138   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2139     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2140 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2141     case $cache_file in
   2142       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2143       *)                      . "./$cache_file";;
   2144     esac
   2145   fi
   2146 else
   2147   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2148 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2149   >$cache_file
   2150 fi
   2151 
   2152 # Check that the precious variables saved in the cache have kept the same
   2153 # value.
   2154 ac_cache_corrupted=false
   2155 for ac_var in $ac_precious_vars; do
   2156   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2157   eval ac_new_set=\$ac_env_${ac_var}_set
   2158   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2159   eval ac_new_val=\$ac_env_${ac_var}_value
   2160   case $ac_old_set,$ac_new_set in
   2161     set,)
   2162       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2163 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2164       ac_cache_corrupted=: ;;
   2165     ,set)
   2166       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2167 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2168       ac_cache_corrupted=: ;;
   2169     ,);;
   2170     *)
   2171       if test "x$ac_old_val" != "x$ac_new_val"; then
   2172 	# differences in whitespace do not lead to failure.
   2173 	ac_old_val_w=`echo x $ac_old_val`
   2174 	ac_new_val_w=`echo x $ac_new_val`
   2175 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2176 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2177 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2178 	  ac_cache_corrupted=:
   2179 	else
   2180 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2181 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2182 	  eval $ac_var=\$ac_old_val
   2183 	fi
   2184 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2185 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2186 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2187 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2188       fi;;
   2189   esac
   2190   # Pass precious variables to config.status.
   2191   if test "$ac_new_set" = set; then
   2192     case $ac_new_val in
   2193     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2194     *) ac_arg=$ac_var=$ac_new_val ;;
   2195     esac
   2196     case " $ac_configure_args " in
   2197       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2198       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2199     esac
   2200   fi
   2201 done
   2202 if $ac_cache_corrupted; then
   2203   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2204 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2205   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2206 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2207   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2208 fi
   2209 ## -------------------- ##
   2210 ## Main body of script. ##
   2211 ## -------------------- ##
   2212 
   2213 ac_ext=c
   2214 ac_cpp='$CPP $CPPFLAGS'
   2215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2218 
   2219 
   2220 
   2221 ac_config_headers="$ac_config_headers config.h"
   2222 
   2223 ac_aux_dir=
   2224 for ac_dir in . "$srcdir"/.; do
   2225   if test -f "$ac_dir/install-sh"; then
   2226     ac_aux_dir=$ac_dir
   2227     ac_install_sh="$ac_aux_dir/install-sh -c"
   2228     break
   2229   elif test -f "$ac_dir/install.sh"; then
   2230     ac_aux_dir=$ac_dir
   2231     ac_install_sh="$ac_aux_dir/install.sh -c"
   2232     break
   2233   elif test -f "$ac_dir/shtool"; then
   2234     ac_aux_dir=$ac_dir
   2235     ac_install_sh="$ac_aux_dir/shtool install -c"
   2236     break
   2237   fi
   2238 done
   2239 if test -z "$ac_aux_dir"; then
   2240   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2241 fi
   2242 
   2243 # These three variables are undocumented and unsupported,
   2244 # and are intended to be withdrawn in a future Autoconf release.
   2245 # They can cause serious problems if a builder's source tree is in a directory
   2246 # whose full name contains unusual characters.
   2247 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2248 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2249 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2250 
   2251 
   2252 
   2253 # Initialize Automake
   2254 am__api_version='1.12'
   2255 
   2256 # Find a good install program.  We prefer a C program (faster),
   2257 # so one script is as good as another.  But avoid the broken or
   2258 # incompatible versions:
   2259 # SysV /etc/install, /usr/sbin/install
   2260 # SunOS /usr/etc/install
   2261 # IRIX /sbin/install
   2262 # AIX /bin/install
   2263 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2264 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2265 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2266 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2267 # OS/2's system install, which has a completely different semantic
   2268 # ./install, which can be erroneously created by make from ./install.sh.
   2269 # Reject install programs that cannot install multiple files.
   2270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2271 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2272 if test -z "$INSTALL"; then
   2273 if ${ac_cv_path_install+:} false; then :
   2274   $as_echo_n "(cached) " >&6
   2275 else
   2276   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2277 for as_dir in $PATH
   2278 do
   2279   IFS=$as_save_IFS
   2280   test -z "$as_dir" && as_dir=.
   2281     # Account for people who put trailing slashes in PATH elements.
   2282 case $as_dir/ in #((
   2283   ./ | .// | /[cC]/* | \
   2284   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2285   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2286   /usr/ucb/* ) ;;
   2287   *)
   2288     # OSF1 and SCO ODT 3.0 have their own names for install.
   2289     # Don't use installbsd from OSF since it installs stuff as root
   2290     # by default.
   2291     for ac_prog in ginstall scoinst install; do
   2292       for ac_exec_ext in '' $ac_executable_extensions; do
   2293 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2294 	  if test $ac_prog = install &&
   2295 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2296 	    # AIX install.  It has an incompatible calling convention.
   2297 	    :
   2298 	  elif test $ac_prog = install &&
   2299 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2300 	    # program-specific install script used by HP pwplus--don't use.
   2301 	    :
   2302 	  else
   2303 	    rm -rf conftest.one conftest.two conftest.dir
   2304 	    echo one > conftest.one
   2305 	    echo two > conftest.two
   2306 	    mkdir conftest.dir
   2307 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2308 	      test -s conftest.one && test -s conftest.two &&
   2309 	      test -s conftest.dir/conftest.one &&
   2310 	      test -s conftest.dir/conftest.two
   2311 	    then
   2312 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2313 	      break 3
   2314 	    fi
   2315 	  fi
   2316 	fi
   2317       done
   2318     done
   2319     ;;
   2320 esac
   2321 
   2322   done
   2323 IFS=$as_save_IFS
   2324 
   2325 rm -rf conftest.one conftest.two conftest.dir
   2326 
   2327 fi
   2328   if test "${ac_cv_path_install+set}" = set; then
   2329     INSTALL=$ac_cv_path_install
   2330   else
   2331     # As a last resort, use the slow shell script.  Don't cache a
   2332     # value for INSTALL within a source directory, because that will
   2333     # break other packages using the cache if that directory is
   2334     # removed, or if the value is a relative name.
   2335     INSTALL=$ac_install_sh
   2336   fi
   2337 fi
   2338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2339 $as_echo "$INSTALL" >&6; }
   2340 
   2341 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2342 # It thinks the first close brace ends the variable substitution.
   2343 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2344 
   2345 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2346 
   2347 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2348 
   2349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2350 $as_echo_n "checking whether build environment is sane... " >&6; }
   2351 # Reject unsafe characters in $srcdir or the absolute working directory
   2352 # name.  Accept space and tab only in the latter.
   2353 am_lf='
   2354 '
   2355 case `pwd` in
   2356   *[\\\"\#\$\&\'\`$am_lf]*)
   2357     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2358 esac
   2359 case $srcdir in
   2360   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2361     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2362 esac
   2363 
   2364 # Do 'set' in a subshell so we don't clobber the current shell's
   2365 # arguments.  Must try -L first in case configure is actually a
   2366 # symlink; some systems play weird games with the mod time of symlinks
   2367 # (eg FreeBSD returns the mod time of the symlink's containing
   2368 # directory).
   2369 if (
   2370    am_has_slept=no
   2371    for am_try in 1 2; do
   2372      echo "timestamp, slept: $am_has_slept" > conftest.file
   2373      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2374      if test "$*" = "X"; then
   2375 	# -L didn't work.
   2376 	set X `ls -t "$srcdir/configure" conftest.file`
   2377      fi
   2378      if test "$*" != "X $srcdir/configure conftest.file" \
   2379 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2380 
   2381 	# If neither matched, then we have a broken ls.  This can happen
   2382 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2383 	# broken ls alias from the environment.  This has actually
   2384 	# happened.  Such a system could not be considered "sane".
   2385 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2386   alias in your environment" "$LINENO" 5
   2387      fi
   2388      if test "$2" = conftest.file || test $am_try -eq 2; then
   2389        break
   2390      fi
   2391      # Just in case.
   2392      sleep 1
   2393      am_has_slept=yes
   2394    done
   2395    test "$2" = conftest.file
   2396    )
   2397 then
   2398    # Ok.
   2399    :
   2400 else
   2401    as_fn_error $? "newly created file is older than distributed files!
   2402 Check your system clock" "$LINENO" 5
   2403 fi
   2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2405 $as_echo "yes" >&6; }
   2406 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2407 # generated files are strictly newer.
   2408 am_sleep_pid=
   2409 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2410   ( sleep 1 ) &
   2411   am_sleep_pid=$!
   2412 fi
   2413 
   2414 rm -f conftest.file
   2415 
   2416 test "$program_prefix" != NONE &&
   2417   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2418 # Use a double $ so make ignores it.
   2419 test "$program_suffix" != NONE &&
   2420   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2421 # Double any \ or $.
   2422 # By default was `s,x,x', remove it if useless.
   2423 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2424 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2425 
   2426 # expand $ac_aux_dir to an absolute path
   2427 am_aux_dir=`cd $ac_aux_dir && pwd`
   2428 
   2429 if test x"${MISSING+set}" != xset; then
   2430   case $am_aux_dir in
   2431   *\ * | *\	*)
   2432     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2433   *)
   2434     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2435   esac
   2436 fi
   2437 # Use eval to expand $SHELL
   2438 if eval "$MISSING --run true"; then
   2439   am_missing_run="$MISSING --run "
   2440 else
   2441   am_missing_run=
   2442   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2443 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2444 fi
   2445 
   2446 if test x"${install_sh}" != xset; then
   2447   case $am_aux_dir in
   2448   *\ * | *\	*)
   2449     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2450   *)
   2451     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2452   esac
   2453 fi
   2454 
   2455 # Installed binaries are usually stripped using 'strip' when the user
   2456 # run "make install-strip".  However 'strip' might not be the right
   2457 # tool to use in cross-compilation environments, therefore Automake
   2458 # will honor the 'STRIP' environment variable to overrule this program.
   2459 if test "$cross_compiling" != no; then
   2460   if test -n "$ac_tool_prefix"; then
   2461   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2462 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2464 $as_echo_n "checking for $ac_word... " >&6; }
   2465 if ${ac_cv_prog_STRIP+:} false; then :
   2466   $as_echo_n "(cached) " >&6
   2467 else
   2468   if test -n "$STRIP"; then
   2469   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2470 else
   2471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2472 for as_dir in $PATH
   2473 do
   2474   IFS=$as_save_IFS
   2475   test -z "$as_dir" && as_dir=.
   2476     for ac_exec_ext in '' $ac_executable_extensions; do
   2477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2478     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2480     break 2
   2481   fi
   2482 done
   2483   done
   2484 IFS=$as_save_IFS
   2485 
   2486 fi
   2487 fi
   2488 STRIP=$ac_cv_prog_STRIP
   2489 if test -n "$STRIP"; then
   2490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2491 $as_echo "$STRIP" >&6; }
   2492 else
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2494 $as_echo "no" >&6; }
   2495 fi
   2496 
   2497 
   2498 fi
   2499 if test -z "$ac_cv_prog_STRIP"; then
   2500   ac_ct_STRIP=$STRIP
   2501   # Extract the first word of "strip", so it can be a program name with args.
   2502 set dummy strip; ac_word=$2
   2503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2504 $as_echo_n "checking for $ac_word... " >&6; }
   2505 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2506   $as_echo_n "(cached) " >&6
   2507 else
   2508   if test -n "$ac_ct_STRIP"; then
   2509   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2510 else
   2511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2512 for as_dir in $PATH
   2513 do
   2514   IFS=$as_save_IFS
   2515   test -z "$as_dir" && as_dir=.
   2516     for ac_exec_ext in '' $ac_executable_extensions; do
   2517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2518     ac_cv_prog_ac_ct_STRIP="strip"
   2519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2520     break 2
   2521   fi
   2522 done
   2523   done
   2524 IFS=$as_save_IFS
   2525 
   2526 fi
   2527 fi
   2528 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2529 if test -n "$ac_ct_STRIP"; then
   2530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2531 $as_echo "$ac_ct_STRIP" >&6; }
   2532 else
   2533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2534 $as_echo "no" >&6; }
   2535 fi
   2536 
   2537   if test "x$ac_ct_STRIP" = x; then
   2538     STRIP=":"
   2539   else
   2540     case $cross_compiling:$ac_tool_warned in
   2541 yes:)
   2542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2544 ac_tool_warned=yes ;;
   2545 esac
   2546     STRIP=$ac_ct_STRIP
   2547   fi
   2548 else
   2549   STRIP="$ac_cv_prog_STRIP"
   2550 fi
   2551 
   2552 fi
   2553 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2554 
   2555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2556 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2557 if test -z "$MKDIR_P"; then
   2558   if ${ac_cv_path_mkdir+:} false; then :
   2559   $as_echo_n "(cached) " >&6
   2560 else
   2561   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2562 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2563 do
   2564   IFS=$as_save_IFS
   2565   test -z "$as_dir" && as_dir=.
   2566     for ac_prog in mkdir gmkdir; do
   2567 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2568 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2569 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2570 	     'mkdir (GNU coreutils) '* | \
   2571 	     'mkdir (coreutils) '* | \
   2572 	     'mkdir (fileutils) '4.1*)
   2573 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2574 	       break 3;;
   2575 	   esac
   2576 	 done
   2577        done
   2578   done
   2579 IFS=$as_save_IFS
   2580 
   2581 fi
   2582 
   2583   test -d ./--version && rmdir ./--version
   2584   if test "${ac_cv_path_mkdir+set}" = set; then
   2585     MKDIR_P="$ac_cv_path_mkdir -p"
   2586   else
   2587     # As a last resort, use the slow shell script.  Don't cache a
   2588     # value for MKDIR_P within a source directory, because that will
   2589     # break other packages using the cache if that directory is
   2590     # removed, or if the value is a relative name.
   2591     MKDIR_P="$ac_install_sh -d"
   2592   fi
   2593 fi
   2594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2595 $as_echo "$MKDIR_P" >&6; }
   2596 
   2597 for ac_prog in gawk mawk nawk awk
   2598 do
   2599   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2600 set dummy $ac_prog; ac_word=$2
   2601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2602 $as_echo_n "checking for $ac_word... " >&6; }
   2603 if ${ac_cv_prog_AWK+:} false; then :
   2604   $as_echo_n "(cached) " >&6
   2605 else
   2606   if test -n "$AWK"; then
   2607   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2608 else
   2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2610 for as_dir in $PATH
   2611 do
   2612   IFS=$as_save_IFS
   2613   test -z "$as_dir" && as_dir=.
   2614     for ac_exec_ext in '' $ac_executable_extensions; do
   2615   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2616     ac_cv_prog_AWK="$ac_prog"
   2617     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2618     break 2
   2619   fi
   2620 done
   2621   done
   2622 IFS=$as_save_IFS
   2623 
   2624 fi
   2625 fi
   2626 AWK=$ac_cv_prog_AWK
   2627 if test -n "$AWK"; then
   2628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2629 $as_echo "$AWK" >&6; }
   2630 else
   2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2632 $as_echo "no" >&6; }
   2633 fi
   2634 
   2635 
   2636   test -n "$AWK" && break
   2637 done
   2638 
   2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2640 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2641 set x ${MAKE-make}
   2642 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2643 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2644   $as_echo_n "(cached) " >&6
   2645 else
   2646   cat >conftest.make <<\_ACEOF
   2647 SHELL = /bin/sh
   2648 all:
   2649 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2650 _ACEOF
   2651 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2652 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2653   *@@@%%%=?*=@@@%%%*)
   2654     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2655   *)
   2656     eval ac_cv_prog_make_${ac_make}_set=no;;
   2657 esac
   2658 rm -f conftest.make
   2659 fi
   2660 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2662 $as_echo "yes" >&6; }
   2663   SET_MAKE=
   2664 else
   2665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2666 $as_echo "no" >&6; }
   2667   SET_MAKE="MAKE=${MAKE-make}"
   2668 fi
   2669 
   2670 rm -rf .tst 2>/dev/null
   2671 mkdir .tst 2>/dev/null
   2672 if test -d .tst; then
   2673   am__leading_dot=.
   2674 else
   2675   am__leading_dot=_
   2676 fi
   2677 rmdir .tst 2>/dev/null
   2678 
   2679 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2680   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2681   # is not polluted with repeated "-I."
   2682   am__isrc=' -I$(srcdir)'
   2683   # test to see if srcdir already configured
   2684   if test -f $srcdir/config.status; then
   2685     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2686   fi
   2687 fi
   2688 
   2689 # test whether we have cygpath
   2690 if test -z "$CYGPATH_W"; then
   2691   if (cygpath --version) >/dev/null 2>/dev/null; then
   2692     CYGPATH_W='cygpath -w'
   2693   else
   2694     CYGPATH_W=echo
   2695   fi
   2696 fi
   2697 
   2698 
   2699 # Define the identity of the package.
   2700  PACKAGE='xf86-input-keyboard'
   2701  VERSION='1.7.0'
   2702 
   2703 
   2704 cat >>confdefs.h <<_ACEOF
   2705 #define PACKAGE "$PACKAGE"
   2706 _ACEOF
   2707 
   2708 
   2709 cat >>confdefs.h <<_ACEOF
   2710 #define VERSION "$VERSION"
   2711 _ACEOF
   2712 
   2713 # Some tools Automake needs.
   2714 
   2715 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2716 
   2717 
   2718 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2719 
   2720 
   2721 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2722 
   2723 
   2724 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2725 
   2726 
   2727 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2728 
   2729 # For better backward compatibility.  To be removed once Automake 1.9.x
   2730 # dies out for good.  For more background, see:
   2731 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2732 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2733 mkdir_p='$(MKDIR_P)'
   2734 
   2735 # We need awk for the "check" target.  The system "awk" is bad on
   2736 # some platforms.
   2737 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2738 # in the wild :-(  We should find a proper way to deprecate it ...
   2739 AMTAR='$${TAR-tar}'
   2740 
   2741 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2742 
   2743 
   2744 
   2745 
   2746 
   2747 
   2748 # Initialize libtool
   2749 # Check whether --enable-static was given.
   2750 if test "${enable_static+set}" = set; then :
   2751   enableval=$enable_static; p=${PACKAGE-default}
   2752     case $enableval in
   2753     yes) enable_static=yes ;;
   2754     no) enable_static=no ;;
   2755     *)
   2756      enable_static=no
   2757       # Look at the argument we got.  We use all the common list separators.
   2758       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   2759       for pkg in $enableval; do
   2760 	IFS="$lt_save_ifs"
   2761 	if test "X$pkg" = "X$p"; then
   2762 	  enable_static=yes
   2763 	fi
   2764       done
   2765       IFS="$lt_save_ifs"
   2766       ;;
   2767     esac
   2768 else
   2769   enable_static=no
   2770 fi
   2771 
   2772 
   2773 
   2774 
   2775 
   2776 
   2777 
   2778 
   2779 
   2780 case `pwd` in
   2781   *\ * | *\	*)
   2782     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   2783 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   2784 esac
   2785 
   2786 
   2787 
   2788 macro_version='2.4.2'
   2789 macro_revision='1.3337'
   2790 
   2791 
   2792 
   2793 
   2794 
   2795 
   2796 
   2797 
   2798 
   2799 
   2800 
   2801 
   2802 
   2803 ltmain="$ac_aux_dir/ltmain.sh"
   2804 
   2805 # Make sure we can run config.sub.
   2806 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   2807   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   2808 
   2809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   2810 $as_echo_n "checking build system type... " >&6; }
   2811 if ${ac_cv_build+:} false; then :
   2812   $as_echo_n "(cached) " >&6
   2813 else
   2814   ac_build_alias=$build_alias
   2815 test "x$ac_build_alias" = x &&
   2816   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   2817 test "x$ac_build_alias" = x &&
   2818   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   2819 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   2820   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   2821 
   2822 fi
   2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   2824 $as_echo "$ac_cv_build" >&6; }
   2825 case $ac_cv_build in
   2826 *-*-*) ;;
   2827 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   2828 esac
   2829 build=$ac_cv_build
   2830 ac_save_IFS=$IFS; IFS='-'
   2831 set x $ac_cv_build
   2832 shift
   2833 build_cpu=$1
   2834 build_vendor=$2
   2835 shift; shift
   2836 # Remember, the first character of IFS is used to create $*,
   2837 # except with old shells:
   2838 build_os=$*
   2839 IFS=$ac_save_IFS
   2840 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   2841 
   2842 
   2843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   2844 $as_echo_n "checking host system type... " >&6; }
   2845 if ${ac_cv_host+:} false; then :
   2846   $as_echo_n "(cached) " >&6
   2847 else
   2848   if test "x$host_alias" = x; then
   2849   ac_cv_host=$ac_cv_build
   2850 else
   2851   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   2852     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   2853 fi
   2854 
   2855 fi
   2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   2857 $as_echo "$ac_cv_host" >&6; }
   2858 case $ac_cv_host in
   2859 *-*-*) ;;
   2860 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   2861 esac
   2862 host=$ac_cv_host
   2863 ac_save_IFS=$IFS; IFS='-'
   2864 set x $ac_cv_host
   2865 shift
   2866 host_cpu=$1
   2867 host_vendor=$2
   2868 shift; shift
   2869 # Remember, the first character of IFS is used to create $*,
   2870 # except with old shells:
   2871 host_os=$*
   2872 IFS=$ac_save_IFS
   2873 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   2874 
   2875 
   2876 # Backslashify metacharacters that are still active within
   2877 # double-quoted strings.
   2878 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   2879 
   2880 # Same as above, but do not quote variable references.
   2881 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   2882 
   2883 # Sed substitution to delay expansion of an escaped shell variable in a
   2884 # double_quote_subst'ed string.
   2885 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   2886 
   2887 # Sed substitution to delay expansion of an escaped single quote.
   2888 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   2889 
   2890 # Sed substitution to avoid accidental globbing in evaled expressions
   2891 no_glob_subst='s/\*/\\\*/g'
   2892 
   2893 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   2894 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   2895 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   2896 
   2897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   2898 $as_echo_n "checking how to print strings... " >&6; }
   2899 # Test print first, because it will be a builtin if present.
   2900 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   2901    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   2902   ECHO='print -r --'
   2903 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   2904   ECHO='printf %s\n'
   2905 else
   2906   # Use this function as a fallback that always works.
   2907   func_fallback_echo ()
   2908   {
   2909     eval 'cat <<_LTECHO_EOF
   2910 $1
   2911 _LTECHO_EOF'
   2912   }
   2913   ECHO='func_fallback_echo'
   2914 fi
   2915 
   2916 # func_echo_all arg...
   2917 # Invoke $ECHO with all args, space-separated.
   2918 func_echo_all ()
   2919 {
   2920     $ECHO ""
   2921 }
   2922 
   2923 case "$ECHO" in
   2924   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   2925 $as_echo "printf" >&6; } ;;
   2926   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   2927 $as_echo "print -r" >&6; } ;;
   2928   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   2929 $as_echo "cat" >&6; } ;;
   2930 esac
   2931 
   2932 
   2933 
   2934 
   2935 
   2936 
   2937 
   2938 
   2939 
   2940 
   2941 
   2942 
   2943 
   2944 
   2945 DEPDIR="${am__leading_dot}deps"
   2946 
   2947 ac_config_commands="$ac_config_commands depfiles"
   2948 
   2949 
   2950 am_make=${MAKE-make}
   2951 cat > confinc << 'END'
   2952 am__doit:
   2953 	@echo this is the am__doit target
   2954 .PHONY: am__doit
   2955 END
   2956 # If we don't find an include directive, just comment out the code.
   2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2958 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2959 am__include="#"
   2960 am__quote=
   2961 _am_result=none
   2962 # First try GNU make style include.
   2963 echo "include confinc" > confmf
   2964 # Ignore all kinds of additional output from 'make'.
   2965 case `$am_make -s -f confmf 2> /dev/null` in #(
   2966 *the\ am__doit\ target*)
   2967   am__include=include
   2968   am__quote=
   2969   _am_result=GNU
   2970   ;;
   2971 esac
   2972 # Now try BSD make style include.
   2973 if test "$am__include" = "#"; then
   2974    echo '.include "confinc"' > confmf
   2975    case `$am_make -s -f confmf 2> /dev/null` in #(
   2976    *the\ am__doit\ target*)
   2977      am__include=.include
   2978      am__quote="\""
   2979      _am_result=BSD
   2980      ;;
   2981    esac
   2982 fi
   2983 
   2984 
   2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2986 $as_echo "$_am_result" >&6; }
   2987 rm -f confinc confmf
   2988 
   2989 # Check whether --enable-dependency-tracking was given.
   2990 if test "${enable_dependency_tracking+set}" = set; then :
   2991   enableval=$enable_dependency_tracking;
   2992 fi
   2993 
   2994 if test "x$enable_dependency_tracking" != xno; then
   2995   am_depcomp="$ac_aux_dir/depcomp"
   2996   AMDEPBACKSLASH='\'
   2997   am__nodep='_no'
   2998 fi
   2999  if test "x$enable_dependency_tracking" != xno; then
   3000   AMDEP_TRUE=
   3001   AMDEP_FALSE='#'
   3002 else
   3003   AMDEP_TRUE='#'
   3004   AMDEP_FALSE=
   3005 fi
   3006 
   3007 
   3008 ac_ext=c
   3009 ac_cpp='$CPP $CPPFLAGS'
   3010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3013 if test -n "$ac_tool_prefix"; then
   3014   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3015 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3017 $as_echo_n "checking for $ac_word... " >&6; }
   3018 if ${ac_cv_prog_CC+:} false; then :
   3019   $as_echo_n "(cached) " >&6
   3020 else
   3021   if test -n "$CC"; then
   3022   ac_cv_prog_CC="$CC" # Let the user override the test.
   3023 else
   3024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3025 for as_dir in $PATH
   3026 do
   3027   IFS=$as_save_IFS
   3028   test -z "$as_dir" && as_dir=.
   3029     for ac_exec_ext in '' $ac_executable_extensions; do
   3030   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3031     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3033     break 2
   3034   fi
   3035 done
   3036   done
   3037 IFS=$as_save_IFS
   3038 
   3039 fi
   3040 fi
   3041 CC=$ac_cv_prog_CC
   3042 if test -n "$CC"; then
   3043   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3044 $as_echo "$CC" >&6; }
   3045 else
   3046   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3047 $as_echo "no" >&6; }
   3048 fi
   3049 
   3050 
   3051 fi
   3052 if test -z "$ac_cv_prog_CC"; then
   3053   ac_ct_CC=$CC
   3054   # Extract the first word of "gcc", so it can be a program name with args.
   3055 set dummy gcc; ac_word=$2
   3056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3057 $as_echo_n "checking for $ac_word... " >&6; }
   3058 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3059   $as_echo_n "(cached) " >&6
   3060 else
   3061   if test -n "$ac_ct_CC"; then
   3062   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3063 else
   3064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3065 for as_dir in $PATH
   3066 do
   3067   IFS=$as_save_IFS
   3068   test -z "$as_dir" && as_dir=.
   3069     for ac_exec_ext in '' $ac_executable_extensions; do
   3070   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3071     ac_cv_prog_ac_ct_CC="gcc"
   3072     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3073     break 2
   3074   fi
   3075 done
   3076   done
   3077 IFS=$as_save_IFS
   3078 
   3079 fi
   3080 fi
   3081 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3082 if test -n "$ac_ct_CC"; then
   3083   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3084 $as_echo "$ac_ct_CC" >&6; }
   3085 else
   3086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3087 $as_echo "no" >&6; }
   3088 fi
   3089 
   3090   if test "x$ac_ct_CC" = x; then
   3091     CC=""
   3092   else
   3093     case $cross_compiling:$ac_tool_warned in
   3094 yes:)
   3095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3097 ac_tool_warned=yes ;;
   3098 esac
   3099     CC=$ac_ct_CC
   3100   fi
   3101 else
   3102   CC="$ac_cv_prog_CC"
   3103 fi
   3104 
   3105 if test -z "$CC"; then
   3106           if test -n "$ac_tool_prefix"; then
   3107     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3108 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3110 $as_echo_n "checking for $ac_word... " >&6; }
   3111 if ${ac_cv_prog_CC+:} false; then :
   3112   $as_echo_n "(cached) " >&6
   3113 else
   3114   if test -n "$CC"; then
   3115   ac_cv_prog_CC="$CC" # Let the user override the test.
   3116 else
   3117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3118 for as_dir in $PATH
   3119 do
   3120   IFS=$as_save_IFS
   3121   test -z "$as_dir" && as_dir=.
   3122     for ac_exec_ext in '' $ac_executable_extensions; do
   3123   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3124     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3125     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3126     break 2
   3127   fi
   3128 done
   3129   done
   3130 IFS=$as_save_IFS
   3131 
   3132 fi
   3133 fi
   3134 CC=$ac_cv_prog_CC
   3135 if test -n "$CC"; then
   3136   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3137 $as_echo "$CC" >&6; }
   3138 else
   3139   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3140 $as_echo "no" >&6; }
   3141 fi
   3142 
   3143 
   3144   fi
   3145 fi
   3146 if test -z "$CC"; then
   3147   # Extract the first word of "cc", so it can be a program name with args.
   3148 set dummy cc; ac_word=$2
   3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3150 $as_echo_n "checking for $ac_word... " >&6; }
   3151 if ${ac_cv_prog_CC+:} false; then :
   3152   $as_echo_n "(cached) " >&6
   3153 else
   3154   if test -n "$CC"; then
   3155   ac_cv_prog_CC="$CC" # Let the user override the test.
   3156 else
   3157   ac_prog_rejected=no
   3158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3159 for as_dir in $PATH
   3160 do
   3161   IFS=$as_save_IFS
   3162   test -z "$as_dir" && as_dir=.
   3163     for ac_exec_ext in '' $ac_executable_extensions; do
   3164   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3165     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3166        ac_prog_rejected=yes
   3167        continue
   3168      fi
   3169     ac_cv_prog_CC="cc"
   3170     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3171     break 2
   3172   fi
   3173 done
   3174   done
   3175 IFS=$as_save_IFS
   3176 
   3177 if test $ac_prog_rejected = yes; then
   3178   # We found a bogon in the path, so make sure we never use it.
   3179   set dummy $ac_cv_prog_CC
   3180   shift
   3181   if test $# != 0; then
   3182     # We chose a different compiler from the bogus one.
   3183     # However, it has the same basename, so the bogon will be chosen
   3184     # first if we set CC to just the basename; use the full file name.
   3185     shift
   3186     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3187   fi
   3188 fi
   3189 fi
   3190 fi
   3191 CC=$ac_cv_prog_CC
   3192 if test -n "$CC"; then
   3193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3194 $as_echo "$CC" >&6; }
   3195 else
   3196   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3197 $as_echo "no" >&6; }
   3198 fi
   3199 
   3200 
   3201 fi
   3202 if test -z "$CC"; then
   3203   if test -n "$ac_tool_prefix"; then
   3204   for ac_prog in cl.exe
   3205   do
   3206     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3209 $as_echo_n "checking for $ac_word... " >&6; }
   3210 if ${ac_cv_prog_CC+:} false; then :
   3211   $as_echo_n "(cached) " >&6
   3212 else
   3213   if test -n "$CC"; then
   3214   ac_cv_prog_CC="$CC" # Let the user override the test.
   3215 else
   3216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3217 for as_dir in $PATH
   3218 do
   3219   IFS=$as_save_IFS
   3220   test -z "$as_dir" && as_dir=.
   3221     for ac_exec_ext in '' $ac_executable_extensions; do
   3222   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3223     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3224     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3225     break 2
   3226   fi
   3227 done
   3228   done
   3229 IFS=$as_save_IFS
   3230 
   3231 fi
   3232 fi
   3233 CC=$ac_cv_prog_CC
   3234 if test -n "$CC"; then
   3235   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3236 $as_echo "$CC" >&6; }
   3237 else
   3238   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3239 $as_echo "no" >&6; }
   3240 fi
   3241 
   3242 
   3243     test -n "$CC" && break
   3244   done
   3245 fi
   3246 if test -z "$CC"; then
   3247   ac_ct_CC=$CC
   3248   for ac_prog in cl.exe
   3249 do
   3250   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3251 set dummy $ac_prog; ac_word=$2
   3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3253 $as_echo_n "checking for $ac_word... " >&6; }
   3254 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3255   $as_echo_n "(cached) " >&6
   3256 else
   3257   if test -n "$ac_ct_CC"; then
   3258   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3259 else
   3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3261 for as_dir in $PATH
   3262 do
   3263   IFS=$as_save_IFS
   3264   test -z "$as_dir" && as_dir=.
   3265     for ac_exec_ext in '' $ac_executable_extensions; do
   3266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3267     ac_cv_prog_ac_ct_CC="$ac_prog"
   3268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3269     break 2
   3270   fi
   3271 done
   3272   done
   3273 IFS=$as_save_IFS
   3274 
   3275 fi
   3276 fi
   3277 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3278 if test -n "$ac_ct_CC"; then
   3279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3280 $as_echo "$ac_ct_CC" >&6; }
   3281 else
   3282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3283 $as_echo "no" >&6; }
   3284 fi
   3285 
   3286 
   3287   test -n "$ac_ct_CC" && break
   3288 done
   3289 
   3290   if test "x$ac_ct_CC" = x; then
   3291     CC=""
   3292   else
   3293     case $cross_compiling:$ac_tool_warned in
   3294 yes:)
   3295 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3296 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3297 ac_tool_warned=yes ;;
   3298 esac
   3299     CC=$ac_ct_CC
   3300   fi
   3301 fi
   3302 
   3303 fi
   3304 
   3305 
   3306 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3308 as_fn_error $? "no acceptable C compiler found in \$PATH
   3309 See \`config.log' for more details" "$LINENO" 5; }
   3310 
   3311 # Provide some information about the compiler.
   3312 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3313 set X $ac_compile
   3314 ac_compiler=$2
   3315 for ac_option in --version -v -V -qversion; do
   3316   { { ac_try="$ac_compiler $ac_option >&5"
   3317 case "(($ac_try" in
   3318   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3319   *) ac_try_echo=$ac_try;;
   3320 esac
   3321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3322 $as_echo "$ac_try_echo"; } >&5
   3323   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3324   ac_status=$?
   3325   if test -s conftest.err; then
   3326     sed '10a\
   3327 ... rest of stderr output deleted ...
   3328          10q' conftest.err >conftest.er1
   3329     cat conftest.er1 >&5
   3330   fi
   3331   rm -f conftest.er1 conftest.err
   3332   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3333   test $ac_status = 0; }
   3334 done
   3335 
   3336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3337 /* end confdefs.h.  */
   3338 
   3339 int
   3340 main ()
   3341 {
   3342 
   3343   ;
   3344   return 0;
   3345 }
   3346 _ACEOF
   3347 ac_clean_files_save=$ac_clean_files
   3348 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3349 # Try to create an executable without -o first, disregard a.out.
   3350 # It will help us diagnose broken compilers, and finding out an intuition
   3351 # of exeext.
   3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3353 $as_echo_n "checking whether the C compiler works... " >&6; }
   3354 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3355 
   3356 # The possible output files:
   3357 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3358 
   3359 ac_rmfiles=
   3360 for ac_file in $ac_files
   3361 do
   3362   case $ac_file in
   3363     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3364     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3365   esac
   3366 done
   3367 rm -f $ac_rmfiles
   3368 
   3369 if { { ac_try="$ac_link_default"
   3370 case "(($ac_try" in
   3371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3372   *) ac_try_echo=$ac_try;;
   3373 esac
   3374 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3375 $as_echo "$ac_try_echo"; } >&5
   3376   (eval "$ac_link_default") 2>&5
   3377   ac_status=$?
   3378   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3379   test $ac_status = 0; }; then :
   3380   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3381 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3382 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3383 # so that the user can short-circuit this test for compilers unknown to
   3384 # Autoconf.
   3385 for ac_file in $ac_files ''
   3386 do
   3387   test -f "$ac_file" || continue
   3388   case $ac_file in
   3389     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3390 	;;
   3391     [ab].out )
   3392 	# We found the default executable, but exeext='' is most
   3393 	# certainly right.
   3394 	break;;
   3395     *.* )
   3396 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3397 	then :; else
   3398 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3399 	fi
   3400 	# We set ac_cv_exeext here because the later test for it is not
   3401 	# safe: cross compilers may not add the suffix if given an `-o'
   3402 	# argument, so we may need to know it at that point already.
   3403 	# Even if this section looks crufty: it has the advantage of
   3404 	# actually working.
   3405 	break;;
   3406     * )
   3407 	break;;
   3408   esac
   3409 done
   3410 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3411 
   3412 else
   3413   ac_file=''
   3414 fi
   3415 if test -z "$ac_file"; then :
   3416   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3417 $as_echo "no" >&6; }
   3418 $as_echo "$as_me: failed program was:" >&5
   3419 sed 's/^/| /' conftest.$ac_ext >&5
   3420 
   3421 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3422 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3423 as_fn_error 77 "C compiler cannot create executables
   3424 See \`config.log' for more details" "$LINENO" 5; }
   3425 else
   3426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3427 $as_echo "yes" >&6; }
   3428 fi
   3429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3430 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3432 $as_echo "$ac_file" >&6; }
   3433 ac_exeext=$ac_cv_exeext
   3434 
   3435 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3436 ac_clean_files=$ac_clean_files_save
   3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3438 $as_echo_n "checking for suffix of executables... " >&6; }
   3439 if { { ac_try="$ac_link"
   3440 case "(($ac_try" in
   3441   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3442   *) ac_try_echo=$ac_try;;
   3443 esac
   3444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3445 $as_echo "$ac_try_echo"; } >&5
   3446   (eval "$ac_link") 2>&5
   3447   ac_status=$?
   3448   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3449   test $ac_status = 0; }; then :
   3450   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3451 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3452 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3453 # `rm'.
   3454 for ac_file in conftest.exe conftest conftest.*; do
   3455   test -f "$ac_file" || continue
   3456   case $ac_file in
   3457     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3458     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3459 	  break;;
   3460     * ) break;;
   3461   esac
   3462 done
   3463 else
   3464   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3466 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3467 See \`config.log' for more details" "$LINENO" 5; }
   3468 fi
   3469 rm -f conftest conftest$ac_cv_exeext
   3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3471 $as_echo "$ac_cv_exeext" >&6; }
   3472 
   3473 rm -f conftest.$ac_ext
   3474 EXEEXT=$ac_cv_exeext
   3475 ac_exeext=$EXEEXT
   3476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3477 /* end confdefs.h.  */
   3478 #include <stdio.h>
   3479 int
   3480 main ()
   3481 {
   3482 FILE *f = fopen ("conftest.out", "w");
   3483  return ferror (f) || fclose (f) != 0;
   3484 
   3485   ;
   3486   return 0;
   3487 }
   3488 _ACEOF
   3489 ac_clean_files="$ac_clean_files conftest.out"
   3490 # Check that the compiler produces executables we can run.  If not, either
   3491 # the compiler is broken, or we cross compile.
   3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3493 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3494 if test "$cross_compiling" != yes; then
   3495   { { ac_try="$ac_link"
   3496 case "(($ac_try" in
   3497   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3498   *) ac_try_echo=$ac_try;;
   3499 esac
   3500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3501 $as_echo "$ac_try_echo"; } >&5
   3502   (eval "$ac_link") 2>&5
   3503   ac_status=$?
   3504   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3505   test $ac_status = 0; }
   3506   if { ac_try='./conftest$ac_cv_exeext'
   3507   { { case "(($ac_try" in
   3508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3509   *) ac_try_echo=$ac_try;;
   3510 esac
   3511 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3512 $as_echo "$ac_try_echo"; } >&5
   3513   (eval "$ac_try") 2>&5
   3514   ac_status=$?
   3515   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3516   test $ac_status = 0; }; }; then
   3517     cross_compiling=no
   3518   else
   3519     if test "$cross_compiling" = maybe; then
   3520 	cross_compiling=yes
   3521     else
   3522 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3524 as_fn_error $? "cannot run C compiled programs.
   3525 If you meant to cross compile, use \`--host'.
   3526 See \`config.log' for more details" "$LINENO" 5; }
   3527     fi
   3528   fi
   3529 fi
   3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3531 $as_echo "$cross_compiling" >&6; }
   3532 
   3533 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3534 ac_clean_files=$ac_clean_files_save
   3535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3536 $as_echo_n "checking for suffix of object files... " >&6; }
   3537 if ${ac_cv_objext+:} false; then :
   3538   $as_echo_n "(cached) " >&6
   3539 else
   3540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3541 /* end confdefs.h.  */
   3542 
   3543 int
   3544 main ()
   3545 {
   3546 
   3547   ;
   3548   return 0;
   3549 }
   3550 _ACEOF
   3551 rm -f conftest.o conftest.obj
   3552 if { { ac_try="$ac_compile"
   3553 case "(($ac_try" in
   3554   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3555   *) ac_try_echo=$ac_try;;
   3556 esac
   3557 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3558 $as_echo "$ac_try_echo"; } >&5
   3559   (eval "$ac_compile") 2>&5
   3560   ac_status=$?
   3561   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3562   test $ac_status = 0; }; then :
   3563   for ac_file in conftest.o conftest.obj conftest.*; do
   3564   test -f "$ac_file" || continue;
   3565   case $ac_file in
   3566     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3567     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3568        break;;
   3569   esac
   3570 done
   3571 else
   3572   $as_echo "$as_me: failed program was:" >&5
   3573 sed 's/^/| /' conftest.$ac_ext >&5
   3574 
   3575 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3577 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3578 See \`config.log' for more details" "$LINENO" 5; }
   3579 fi
   3580 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3581 fi
   3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3583 $as_echo "$ac_cv_objext" >&6; }
   3584 OBJEXT=$ac_cv_objext
   3585 ac_objext=$OBJEXT
   3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3587 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3588 if ${ac_cv_c_compiler_gnu+:} false; then :
   3589   $as_echo_n "(cached) " >&6
   3590 else
   3591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3592 /* end confdefs.h.  */
   3593 
   3594 int
   3595 main ()
   3596 {
   3597 #ifndef __GNUC__
   3598        choke me
   3599 #endif
   3600 
   3601   ;
   3602   return 0;
   3603 }
   3604 _ACEOF
   3605 if ac_fn_c_try_compile "$LINENO"; then :
   3606   ac_compiler_gnu=yes
   3607 else
   3608   ac_compiler_gnu=no
   3609 fi
   3610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3611 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3612 
   3613 fi
   3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3615 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3616 if test $ac_compiler_gnu = yes; then
   3617   GCC=yes
   3618 else
   3619   GCC=
   3620 fi
   3621 ac_test_CFLAGS=${CFLAGS+set}
   3622 ac_save_CFLAGS=$CFLAGS
   3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3624 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3625 if ${ac_cv_prog_cc_g+:} false; then :
   3626   $as_echo_n "(cached) " >&6
   3627 else
   3628   ac_save_c_werror_flag=$ac_c_werror_flag
   3629    ac_c_werror_flag=yes
   3630    ac_cv_prog_cc_g=no
   3631    CFLAGS="-g"
   3632    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3633 /* end confdefs.h.  */
   3634 
   3635 int
   3636 main ()
   3637 {
   3638 
   3639   ;
   3640   return 0;
   3641 }
   3642 _ACEOF
   3643 if ac_fn_c_try_compile "$LINENO"; then :
   3644   ac_cv_prog_cc_g=yes
   3645 else
   3646   CFLAGS=""
   3647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3648 /* end confdefs.h.  */
   3649 
   3650 int
   3651 main ()
   3652 {
   3653 
   3654   ;
   3655   return 0;
   3656 }
   3657 _ACEOF
   3658 if ac_fn_c_try_compile "$LINENO"; then :
   3659 
   3660 else
   3661   ac_c_werror_flag=$ac_save_c_werror_flag
   3662 	 CFLAGS="-g"
   3663 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3664 /* end confdefs.h.  */
   3665 
   3666 int
   3667 main ()
   3668 {
   3669 
   3670   ;
   3671   return 0;
   3672 }
   3673 _ACEOF
   3674 if ac_fn_c_try_compile "$LINENO"; then :
   3675   ac_cv_prog_cc_g=yes
   3676 fi
   3677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3678 fi
   3679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3680 fi
   3681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3682    ac_c_werror_flag=$ac_save_c_werror_flag
   3683 fi
   3684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3685 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3686 if test "$ac_test_CFLAGS" = set; then
   3687   CFLAGS=$ac_save_CFLAGS
   3688 elif test $ac_cv_prog_cc_g = yes; then
   3689   if test "$GCC" = yes; then
   3690     CFLAGS="-g -O2"
   3691   else
   3692     CFLAGS="-g"
   3693   fi
   3694 else
   3695   if test "$GCC" = yes; then
   3696     CFLAGS="-O2"
   3697   else
   3698     CFLAGS=
   3699   fi
   3700 fi
   3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3702 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3703 if ${ac_cv_prog_cc_c89+:} false; then :
   3704   $as_echo_n "(cached) " >&6
   3705 else
   3706   ac_cv_prog_cc_c89=no
   3707 ac_save_CC=$CC
   3708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3709 /* end confdefs.h.  */
   3710 #include <stdarg.h>
   3711 #include <stdio.h>
   3712 struct stat;
   3713 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3714 struct buf { int x; };
   3715 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3716 static char *e (p, i)
   3717      char **p;
   3718      int i;
   3719 {
   3720   return p[i];
   3721 }
   3722 static char *f (char * (*g) (char **, int), char **p, ...)
   3723 {
   3724   char *s;
   3725   va_list v;
   3726   va_start (v,p);
   3727   s = g (p, va_arg (v,int));
   3728   va_end (v);
   3729   return s;
   3730 }
   3731 
   3732 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3733    function prototypes and stuff, but not '\xHH' hex character constants.
   3734    These don't provoke an error unfortunately, instead are silently treated
   3735    as 'x'.  The following induces an error, until -std is added to get
   3736    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3737    array size at least.  It's necessary to write '\x00'==0 to get something
   3738    that's true only with -std.  */
   3739 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3740 
   3741 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3742    inside strings and character constants.  */
   3743 #define FOO(x) 'x'
   3744 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3745 
   3746 int test (int i, double x);
   3747 struct s1 {int (*f) (int a);};
   3748 struct s2 {int (*f) (double a);};
   3749 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3750 int argc;
   3751 char **argv;
   3752 int
   3753 main ()
   3754 {
   3755 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3756   ;
   3757   return 0;
   3758 }
   3759 _ACEOF
   3760 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3761 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3762 do
   3763   CC="$ac_save_CC $ac_arg"
   3764   if ac_fn_c_try_compile "$LINENO"; then :
   3765   ac_cv_prog_cc_c89=$ac_arg
   3766 fi
   3767 rm -f core conftest.err conftest.$ac_objext
   3768   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3769 done
   3770 rm -f conftest.$ac_ext
   3771 CC=$ac_save_CC
   3772 
   3773 fi
   3774 # AC_CACHE_VAL
   3775 case "x$ac_cv_prog_cc_c89" in
   3776   x)
   3777     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3778 $as_echo "none needed" >&6; } ;;
   3779   xno)
   3780     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3781 $as_echo "unsupported" >&6; } ;;
   3782   *)
   3783     CC="$CC $ac_cv_prog_cc_c89"
   3784     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3785 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3786 esac
   3787 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3788 
   3789 fi
   3790 
   3791 ac_ext=c
   3792 ac_cpp='$CPP $CPPFLAGS'
   3793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3796 
   3797 depcc="$CC"   am_compiler_list=
   3798 
   3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3800 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3801 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3802   $as_echo_n "(cached) " >&6
   3803 else
   3804   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3805   # We make a subdir and do the tests there.  Otherwise we can end up
   3806   # making bogus files that we don't know about and never remove.  For
   3807   # instance it was reported that on HP-UX the gcc test will end up
   3808   # making a dummy file named 'D' -- because '-MD' means "put the output
   3809   # in D".
   3810   rm -rf conftest.dir
   3811   mkdir conftest.dir
   3812   # Copy depcomp to subdir because otherwise we won't find it if we're
   3813   # using a relative directory.
   3814   cp "$am_depcomp" conftest.dir
   3815   cd conftest.dir
   3816   # We will build objects and dependencies in a subdirectory because
   3817   # it helps to detect inapplicable dependency modes.  For instance
   3818   # both Tru64's cc and ICC support -MD to output dependencies as a
   3819   # side effect of compilation, but ICC will put the dependencies in
   3820   # the current directory while Tru64 will put them in the object
   3821   # directory.
   3822   mkdir sub
   3823 
   3824   am_cv_CC_dependencies_compiler_type=none
   3825   if test "$am_compiler_list" = ""; then
   3826      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3827   fi
   3828   am__universal=false
   3829   case " $depcc " in #(
   3830      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3831      esac
   3832 
   3833   for depmode in $am_compiler_list; do
   3834     # Setup a source with many dependencies, because some compilers
   3835     # like to wrap large dependency lists on column 80 (with \), and
   3836     # we should not choose a depcomp mode which is confused by this.
   3837     #
   3838     # We need to recreate these files for each test, as the compiler may
   3839     # overwrite some of them when testing with obscure command lines.
   3840     # This happens at least with the AIX C compiler.
   3841     : > sub/conftest.c
   3842     for i in 1 2 3 4 5 6; do
   3843       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3844       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3845       # Solaris 10 /bin/sh.
   3846       echo '/* dummy */' > sub/conftst$i.h
   3847     done
   3848     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3849 
   3850     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3851     # mode.  It turns out that the SunPro C++ compiler does not properly
   3852     # handle '-M -o', and we need to detect this.  Also, some Intel
   3853     # versions had trouble with output in subdirs.
   3854     am__obj=sub/conftest.${OBJEXT-o}
   3855     am__minus_obj="-o $am__obj"
   3856     case $depmode in
   3857     gcc)
   3858       # This depmode causes a compiler race in universal mode.
   3859       test "$am__universal" = false || continue
   3860       ;;
   3861     nosideeffect)
   3862       # After this tag, mechanisms are not by side-effect, so they'll
   3863       # only be used when explicitly requested.
   3864       if test "x$enable_dependency_tracking" = xyes; then
   3865 	continue
   3866       else
   3867 	break
   3868       fi
   3869       ;;
   3870     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3871       # This compiler won't grok '-c -o', but also, the minuso test has
   3872       # not run yet.  These depmodes are late enough in the game, and
   3873       # so weak that their functioning should not be impacted.
   3874       am__obj=conftest.${OBJEXT-o}
   3875       am__minus_obj=
   3876       ;;
   3877     none) break ;;
   3878     esac
   3879     if depmode=$depmode \
   3880        source=sub/conftest.c object=$am__obj \
   3881        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3882        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3883          >/dev/null 2>conftest.err &&
   3884        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3885        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3886        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3887        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3888       # icc doesn't choke on unknown options, it will just issue warnings
   3889       # or remarks (even with -Werror).  So we grep stderr for any message
   3890       # that says an option was ignored or not supported.
   3891       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3892       #   icc: Command line warning: ignoring option '-M'; no argument required
   3893       # The diagnosis changed in icc 8.0:
   3894       #   icc: Command line remark: option '-MP' not supported
   3895       if (grep 'ignoring option' conftest.err ||
   3896           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3897         am_cv_CC_dependencies_compiler_type=$depmode
   3898         break
   3899       fi
   3900     fi
   3901   done
   3902 
   3903   cd ..
   3904   rm -rf conftest.dir
   3905 else
   3906   am_cv_CC_dependencies_compiler_type=none
   3907 fi
   3908 
   3909 fi
   3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3911 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3912 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3913 
   3914  if
   3915   test "x$enable_dependency_tracking" != xno \
   3916   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3917   am__fastdepCC_TRUE=
   3918   am__fastdepCC_FALSE='#'
   3919 else
   3920   am__fastdepCC_TRUE='#'
   3921   am__fastdepCC_FALSE=
   3922 fi
   3923 
   3924 
   3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   3926 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   3927 if ${ac_cv_path_SED+:} false; then :
   3928   $as_echo_n "(cached) " >&6
   3929 else
   3930             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   3931      for ac_i in 1 2 3 4 5 6 7; do
   3932        ac_script="$ac_script$as_nl$ac_script"
   3933      done
   3934      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   3935      { ac_script=; unset ac_script;}
   3936      if test -z "$SED"; then
   3937   ac_path_SED_found=false
   3938   # Loop through the user's path and test for each of PROGNAME-LIST
   3939   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3940 for as_dir in $PATH
   3941 do
   3942   IFS=$as_save_IFS
   3943   test -z "$as_dir" && as_dir=.
   3944     for ac_prog in sed gsed; do
   3945     for ac_exec_ext in '' $ac_executable_extensions; do
   3946       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   3947       as_fn_executable_p "$ac_path_SED" || continue
   3948 # Check for GNU ac_path_SED and select it if it is found.
   3949   # Check for GNU $ac_path_SED
   3950 case `"$ac_path_SED" --version 2>&1` in
   3951 *GNU*)
   3952   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   3953 *)
   3954   ac_count=0
   3955   $as_echo_n 0123456789 >"conftest.in"
   3956   while :
   3957   do
   3958     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3959     mv "conftest.tmp" "conftest.in"
   3960     cp "conftest.in" "conftest.nl"
   3961     $as_echo '' >> "conftest.nl"
   3962     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3963     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3964     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3965     if test $ac_count -gt ${ac_path_SED_max-0}; then
   3966       # Best one so far, save it but keep looking for a better one
   3967       ac_cv_path_SED="$ac_path_SED"
   3968       ac_path_SED_max=$ac_count
   3969     fi
   3970     # 10*(2^10) chars as input seems more than enough
   3971     test $ac_count -gt 10 && break
   3972   done
   3973   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3974 esac
   3975 
   3976       $ac_path_SED_found && break 3
   3977     done
   3978   done
   3979   done
   3980 IFS=$as_save_IFS
   3981   if test -z "$ac_cv_path_SED"; then
   3982     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   3983   fi
   3984 else
   3985   ac_cv_path_SED=$SED
   3986 fi
   3987 
   3988 fi
   3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   3990 $as_echo "$ac_cv_path_SED" >&6; }
   3991  SED="$ac_cv_path_SED"
   3992   rm -f conftest.sed
   3993 
   3994 test -z "$SED" && SED=sed
   3995 Xsed="$SED -e 1s/^X//"
   3996 
   3997 
   3998 
   3999 
   4000 
   4001 
   4002 
   4003 
   4004 
   4005 
   4006 
   4007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4008 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4009 if ${ac_cv_path_GREP+:} false; then :
   4010   $as_echo_n "(cached) " >&6
   4011 else
   4012   if test -z "$GREP"; then
   4013   ac_path_GREP_found=false
   4014   # Loop through the user's path and test for each of PROGNAME-LIST
   4015   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4016 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4017 do
   4018   IFS=$as_save_IFS
   4019   test -z "$as_dir" && as_dir=.
   4020     for ac_prog in grep ggrep; do
   4021     for ac_exec_ext in '' $ac_executable_extensions; do
   4022       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4023       as_fn_executable_p "$ac_path_GREP" || continue
   4024 # Check for GNU ac_path_GREP and select it if it is found.
   4025   # Check for GNU $ac_path_GREP
   4026 case `"$ac_path_GREP" --version 2>&1` in
   4027 *GNU*)
   4028   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4029 *)
   4030   ac_count=0
   4031   $as_echo_n 0123456789 >"conftest.in"
   4032   while :
   4033   do
   4034     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4035     mv "conftest.tmp" "conftest.in"
   4036     cp "conftest.in" "conftest.nl"
   4037     $as_echo 'GREP' >> "conftest.nl"
   4038     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4039     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4040     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4041     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4042       # Best one so far, save it but keep looking for a better one
   4043       ac_cv_path_GREP="$ac_path_GREP"
   4044       ac_path_GREP_max=$ac_count
   4045     fi
   4046     # 10*(2^10) chars as input seems more than enough
   4047     test $ac_count -gt 10 && break
   4048   done
   4049   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4050 esac
   4051 
   4052       $ac_path_GREP_found && break 3
   4053     done
   4054   done
   4055   done
   4056 IFS=$as_save_IFS
   4057   if test -z "$ac_cv_path_GREP"; then
   4058     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4059   fi
   4060 else
   4061   ac_cv_path_GREP=$GREP
   4062 fi
   4063 
   4064 fi
   4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4066 $as_echo "$ac_cv_path_GREP" >&6; }
   4067  GREP="$ac_cv_path_GREP"
   4068 
   4069 
   4070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4071 $as_echo_n "checking for egrep... " >&6; }
   4072 if ${ac_cv_path_EGREP+:} false; then :
   4073   $as_echo_n "(cached) " >&6
   4074 else
   4075   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4076    then ac_cv_path_EGREP="$GREP -E"
   4077    else
   4078      if test -z "$EGREP"; then
   4079   ac_path_EGREP_found=false
   4080   # Loop through the user's path and test for each of PROGNAME-LIST
   4081   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4082 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4083 do
   4084   IFS=$as_save_IFS
   4085   test -z "$as_dir" && as_dir=.
   4086     for ac_prog in egrep; do
   4087     for ac_exec_ext in '' $ac_executable_extensions; do
   4088       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4089       as_fn_executable_p "$ac_path_EGREP" || continue
   4090 # Check for GNU ac_path_EGREP and select it if it is found.
   4091   # Check for GNU $ac_path_EGREP
   4092 case `"$ac_path_EGREP" --version 2>&1` in
   4093 *GNU*)
   4094   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4095 *)
   4096   ac_count=0
   4097   $as_echo_n 0123456789 >"conftest.in"
   4098   while :
   4099   do
   4100     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4101     mv "conftest.tmp" "conftest.in"
   4102     cp "conftest.in" "conftest.nl"
   4103     $as_echo 'EGREP' >> "conftest.nl"
   4104     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4105     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4106     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4107     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4108       # Best one so far, save it but keep looking for a better one
   4109       ac_cv_path_EGREP="$ac_path_EGREP"
   4110       ac_path_EGREP_max=$ac_count
   4111     fi
   4112     # 10*(2^10) chars as input seems more than enough
   4113     test $ac_count -gt 10 && break
   4114   done
   4115   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4116 esac
   4117 
   4118       $ac_path_EGREP_found && break 3
   4119     done
   4120   done
   4121   done
   4122 IFS=$as_save_IFS
   4123   if test -z "$ac_cv_path_EGREP"; then
   4124     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4125   fi
   4126 else
   4127   ac_cv_path_EGREP=$EGREP
   4128 fi
   4129 
   4130    fi
   4131 fi
   4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4133 $as_echo "$ac_cv_path_EGREP" >&6; }
   4134  EGREP="$ac_cv_path_EGREP"
   4135 
   4136 
   4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4138 $as_echo_n "checking for fgrep... " >&6; }
   4139 if ${ac_cv_path_FGREP+:} false; then :
   4140   $as_echo_n "(cached) " >&6
   4141 else
   4142   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4143    then ac_cv_path_FGREP="$GREP -F"
   4144    else
   4145      if test -z "$FGREP"; then
   4146   ac_path_FGREP_found=false
   4147   # Loop through the user's path and test for each of PROGNAME-LIST
   4148   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4149 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4150 do
   4151   IFS=$as_save_IFS
   4152   test -z "$as_dir" && as_dir=.
   4153     for ac_prog in fgrep; do
   4154     for ac_exec_ext in '' $ac_executable_extensions; do
   4155       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4156       as_fn_executable_p "$ac_path_FGREP" || continue
   4157 # Check for GNU ac_path_FGREP and select it if it is found.
   4158   # Check for GNU $ac_path_FGREP
   4159 case `"$ac_path_FGREP" --version 2>&1` in
   4160 *GNU*)
   4161   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4162 *)
   4163   ac_count=0
   4164   $as_echo_n 0123456789 >"conftest.in"
   4165   while :
   4166   do
   4167     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4168     mv "conftest.tmp" "conftest.in"
   4169     cp "conftest.in" "conftest.nl"
   4170     $as_echo 'FGREP' >> "conftest.nl"
   4171     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4172     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4173     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4174     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4175       # Best one so far, save it but keep looking for a better one
   4176       ac_cv_path_FGREP="$ac_path_FGREP"
   4177       ac_path_FGREP_max=$ac_count
   4178     fi
   4179     # 10*(2^10) chars as input seems more than enough
   4180     test $ac_count -gt 10 && break
   4181   done
   4182   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4183 esac
   4184 
   4185       $ac_path_FGREP_found && break 3
   4186     done
   4187   done
   4188   done
   4189 IFS=$as_save_IFS
   4190   if test -z "$ac_cv_path_FGREP"; then
   4191     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4192   fi
   4193 else
   4194   ac_cv_path_FGREP=$FGREP
   4195 fi
   4196 
   4197    fi
   4198 fi
   4199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4200 $as_echo "$ac_cv_path_FGREP" >&6; }
   4201  FGREP="$ac_cv_path_FGREP"
   4202 
   4203 
   4204 test -z "$GREP" && GREP=grep
   4205 
   4206 
   4207 
   4208 
   4209 
   4210 
   4211 
   4212 
   4213 
   4214 
   4215 
   4216 
   4217 
   4218 
   4219 
   4220 
   4221 
   4222 
   4223 
   4224 # Check whether --with-gnu-ld was given.
   4225 if test "${with_gnu_ld+set}" = set; then :
   4226   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   4227 else
   4228   with_gnu_ld=no
   4229 fi
   4230 
   4231 ac_prog=ld
   4232 if test "$GCC" = yes; then
   4233   # Check if gcc -print-prog-name=ld gives a path.
   4234   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4235 $as_echo_n "checking for ld used by $CC... " >&6; }
   4236   case $host in
   4237   *-*-mingw*)
   4238     # gcc leaves a trailing carriage return which upsets mingw
   4239     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4240   *)
   4241     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4242   esac
   4243   case $ac_prog in
   4244     # Accept absolute paths.
   4245     [\\/]* | ?:[\\/]*)
   4246       re_direlt='/[^/][^/]*/\.\./'
   4247       # Canonicalize the pathname of ld
   4248       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4249       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4250 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4251       done
   4252       test -z "$LD" && LD="$ac_prog"
   4253       ;;
   4254   "")
   4255     # If it fails, then pretend we aren't using GCC.
   4256     ac_prog=ld
   4257     ;;
   4258   *)
   4259     # If it is relative, then search for the first ld in PATH.
   4260     with_gnu_ld=unknown
   4261     ;;
   4262   esac
   4263 elif test "$with_gnu_ld" = yes; then
   4264   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4265 $as_echo_n "checking for GNU ld... " >&6; }
   4266 else
   4267   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4268 $as_echo_n "checking for non-GNU ld... " >&6; }
   4269 fi
   4270 if ${lt_cv_path_LD+:} false; then :
   4271   $as_echo_n "(cached) " >&6
   4272 else
   4273   if test -z "$LD"; then
   4274   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4275   for ac_dir in $PATH; do
   4276     IFS="$lt_save_ifs"
   4277     test -z "$ac_dir" && ac_dir=.
   4278     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4279       lt_cv_path_LD="$ac_dir/$ac_prog"
   4280       # Check to see if the program is GNU ld.  I'd rather use --version,
   4281       # but apparently some variants of GNU ld only accept -v.
   4282       # Break only if it was the GNU/non-GNU ld that we prefer.
   4283       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4284       *GNU* | *'with BFD'*)
   4285 	test "$with_gnu_ld" != no && break
   4286 	;;
   4287       *)
   4288 	test "$with_gnu_ld" != yes && break
   4289 	;;
   4290       esac
   4291     fi
   4292   done
   4293   IFS="$lt_save_ifs"
   4294 else
   4295   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   4296 fi
   4297 fi
   4298 
   4299 LD="$lt_cv_path_LD"
   4300 if test -n "$LD"; then
   4301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4302 $as_echo "$LD" >&6; }
   4303 else
   4304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4305 $as_echo "no" >&6; }
   4306 fi
   4307 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4309 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4310 if ${lt_cv_prog_gnu_ld+:} false; then :
   4311   $as_echo_n "(cached) " >&6
   4312 else
   4313   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4314 case `$LD -v 2>&1 </dev/null` in
   4315 *GNU* | *'with BFD'*)
   4316   lt_cv_prog_gnu_ld=yes
   4317   ;;
   4318 *)
   4319   lt_cv_prog_gnu_ld=no
   4320   ;;
   4321 esac
   4322 fi
   4323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4324 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4325 with_gnu_ld=$lt_cv_prog_gnu_ld
   4326 
   4327 
   4328 
   4329 
   4330 
   4331 
   4332 
   4333 
   4334 
   4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4336 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4337 if ${lt_cv_path_NM+:} false; then :
   4338   $as_echo_n "(cached) " >&6
   4339 else
   4340   if test -n "$NM"; then
   4341   # Let the user override the test.
   4342   lt_cv_path_NM="$NM"
   4343 else
   4344   lt_nm_to_check="${ac_tool_prefix}nm"
   4345   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4346     lt_nm_to_check="$lt_nm_to_check nm"
   4347   fi
   4348   for lt_tmp_nm in $lt_nm_to_check; do
   4349     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   4350     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4351       IFS="$lt_save_ifs"
   4352       test -z "$ac_dir" && ac_dir=.
   4353       tmp_nm="$ac_dir/$lt_tmp_nm"
   4354       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   4355 	# Check to see if the nm accepts a BSD-compat flag.
   4356 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   4357 	#   nm: unknown option "B" ignored
   4358 	# Tru64's nm complains that /dev/null is an invalid object file
   4359 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   4360 	*/dev/null* | *'Invalid file or object type'*)
   4361 	  lt_cv_path_NM="$tmp_nm -B"
   4362 	  break
   4363 	  ;;
   4364 	*)
   4365 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4366 	  */dev/null*)
   4367 	    lt_cv_path_NM="$tmp_nm -p"
   4368 	    break
   4369 	    ;;
   4370 	  *)
   4371 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4372 	    continue # so that we can try to find one that supports BSD flags
   4373 	    ;;
   4374 	  esac
   4375 	  ;;
   4376 	esac
   4377       fi
   4378     done
   4379     IFS="$lt_save_ifs"
   4380   done
   4381   : ${lt_cv_path_NM=no}
   4382 fi
   4383 fi
   4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4385 $as_echo "$lt_cv_path_NM" >&6; }
   4386 if test "$lt_cv_path_NM" != "no"; then
   4387   NM="$lt_cv_path_NM"
   4388 else
   4389   # Didn't find any BSD compatible name lister, look for dumpbin.
   4390   if test -n "$DUMPBIN"; then :
   4391     # Let the user override the test.
   4392   else
   4393     if test -n "$ac_tool_prefix"; then
   4394   for ac_prog in dumpbin "link -dump"
   4395   do
   4396     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4397 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4399 $as_echo_n "checking for $ac_word... " >&6; }
   4400 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4401   $as_echo_n "(cached) " >&6
   4402 else
   4403   if test -n "$DUMPBIN"; then
   4404   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4405 else
   4406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4407 for as_dir in $PATH
   4408 do
   4409   IFS=$as_save_IFS
   4410   test -z "$as_dir" && as_dir=.
   4411     for ac_exec_ext in '' $ac_executable_extensions; do
   4412   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4413     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4414     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4415     break 2
   4416   fi
   4417 done
   4418   done
   4419 IFS=$as_save_IFS
   4420 
   4421 fi
   4422 fi
   4423 DUMPBIN=$ac_cv_prog_DUMPBIN
   4424 if test -n "$DUMPBIN"; then
   4425   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   4426 $as_echo "$DUMPBIN" >&6; }
   4427 else
   4428   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4429 $as_echo "no" >&6; }
   4430 fi
   4431 
   4432 
   4433     test -n "$DUMPBIN" && break
   4434   done
   4435 fi
   4436 if test -z "$DUMPBIN"; then
   4437   ac_ct_DUMPBIN=$DUMPBIN
   4438   for ac_prog in dumpbin "link -dump"
   4439 do
   4440   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4441 set dummy $ac_prog; ac_word=$2
   4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4443 $as_echo_n "checking for $ac_word... " >&6; }
   4444 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   4445   $as_echo_n "(cached) " >&6
   4446 else
   4447   if test -n "$ac_ct_DUMPBIN"; then
   4448   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   4449 else
   4450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4451 for as_dir in $PATH
   4452 do
   4453   IFS=$as_save_IFS
   4454   test -z "$as_dir" && as_dir=.
   4455     for ac_exec_ext in '' $ac_executable_extensions; do
   4456   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4457     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   4458     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4459     break 2
   4460   fi
   4461 done
   4462   done
   4463 IFS=$as_save_IFS
   4464 
   4465 fi
   4466 fi
   4467 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   4468 if test -n "$ac_ct_DUMPBIN"; then
   4469   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   4470 $as_echo "$ac_ct_DUMPBIN" >&6; }
   4471 else
   4472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4473 $as_echo "no" >&6; }
   4474 fi
   4475 
   4476 
   4477   test -n "$ac_ct_DUMPBIN" && break
   4478 done
   4479 
   4480   if test "x$ac_ct_DUMPBIN" = x; then
   4481     DUMPBIN=":"
   4482   else
   4483     case $cross_compiling:$ac_tool_warned in
   4484 yes:)
   4485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4486 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4487 ac_tool_warned=yes ;;
   4488 esac
   4489     DUMPBIN=$ac_ct_DUMPBIN
   4490   fi
   4491 fi
   4492 
   4493     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   4494     *COFF*)
   4495       DUMPBIN="$DUMPBIN -symbols"
   4496       ;;
   4497     *)
   4498       DUMPBIN=:
   4499       ;;
   4500     esac
   4501   fi
   4502 
   4503   if test "$DUMPBIN" != ":"; then
   4504     NM="$DUMPBIN"
   4505   fi
   4506 fi
   4507 test -z "$NM" && NM=nm
   4508 
   4509 
   4510 
   4511 
   4512 
   4513 
   4514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   4515 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   4516 if ${lt_cv_nm_interface+:} false; then :
   4517   $as_echo_n "(cached) " >&6
   4518 else
   4519   lt_cv_nm_interface="BSD nm"
   4520   echo "int some_variable = 0;" > conftest.$ac_ext
   4521   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   4522   (eval "$ac_compile" 2>conftest.err)
   4523   cat conftest.err >&5
   4524   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   4525   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   4526   cat conftest.err >&5
   4527   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   4528   cat conftest.out >&5
   4529   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   4530     lt_cv_nm_interface="MS dumpbin"
   4531   fi
   4532   rm -f conftest*
   4533 fi
   4534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   4535 $as_echo "$lt_cv_nm_interface" >&6; }
   4536 
   4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   4538 $as_echo_n "checking whether ln -s works... " >&6; }
   4539 LN_S=$as_ln_s
   4540 if test "$LN_S" = "ln -s"; then
   4541   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4542 $as_echo "yes" >&6; }
   4543 else
   4544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   4545 $as_echo "no, using $LN_S" >&6; }
   4546 fi
   4547 
   4548 # find the maximum length of command line arguments
   4549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   4550 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   4551 if ${lt_cv_sys_max_cmd_len+:} false; then :
   4552   $as_echo_n "(cached) " >&6
   4553 else
   4554     i=0
   4555   teststring="ABCD"
   4556 
   4557   case $build_os in
   4558   msdosdjgpp*)
   4559     # On DJGPP, this test can blow up pretty badly due to problems in libc
   4560     # (any single argument exceeding 2000 bytes causes a buffer overrun
   4561     # during glob expansion).  Even if it were fixed, the result of this
   4562     # check would be larger than it should be.
   4563     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   4564     ;;
   4565 
   4566   gnu*)
   4567     # Under GNU Hurd, this test is not required because there is
   4568     # no limit to the length of command line arguments.
   4569     # Libtool will interpret -1 as no limit whatsoever
   4570     lt_cv_sys_max_cmd_len=-1;
   4571     ;;
   4572 
   4573   cygwin* | mingw* | cegcc*)
   4574     # On Win9x/ME, this test blows up -- it succeeds, but takes
   4575     # about 5 minutes as the teststring grows exponentially.
   4576     # Worse, since 9x/ME are not pre-emptively multitasking,
   4577     # you end up with a "frozen" computer, even though with patience
   4578     # the test eventually succeeds (with a max line length of 256k).
   4579     # Instead, let's just punt: use the minimum linelength reported by
   4580     # all of the supported platforms: 8192 (on NT/2K/XP).
   4581     lt_cv_sys_max_cmd_len=8192;
   4582     ;;
   4583 
   4584   mint*)
   4585     # On MiNT this can take a long time and run out of memory.
   4586     lt_cv_sys_max_cmd_len=8192;
   4587     ;;
   4588 
   4589   amigaos*)
   4590     # On AmigaOS with pdksh, this test takes hours, literally.
   4591     # So we just punt and use a minimum line length of 8192.
   4592     lt_cv_sys_max_cmd_len=8192;
   4593     ;;
   4594 
   4595   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   4596     # This has been around since 386BSD, at least.  Likely further.
   4597     if test -x /sbin/sysctl; then
   4598       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   4599     elif test -x /usr/sbin/sysctl; then
   4600       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   4601     else
   4602       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   4603     fi
   4604     # And add a safety zone
   4605     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4606     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4607     ;;
   4608 
   4609   interix*)
   4610     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   4611     lt_cv_sys_max_cmd_len=196608
   4612     ;;
   4613 
   4614   os2*)
   4615     # The test takes a long time on OS/2.
   4616     lt_cv_sys_max_cmd_len=8192
   4617     ;;
   4618 
   4619   osf*)
   4620     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   4621     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   4622     # nice to cause kernel panics so lets avoid the loop below.
   4623     # First set a reasonable default.
   4624     lt_cv_sys_max_cmd_len=16384
   4625     #
   4626     if test -x /sbin/sysconfig; then
   4627       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   4628         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   4629       esac
   4630     fi
   4631     ;;
   4632   sco3.2v5*)
   4633     lt_cv_sys_max_cmd_len=102400
   4634     ;;
   4635   sysv5* | sco5v6* | sysv4.2uw2*)
   4636     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   4637     if test -n "$kargmax"; then
   4638       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   4639     else
   4640       lt_cv_sys_max_cmd_len=32768
   4641     fi
   4642     ;;
   4643   *)
   4644     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   4645     if test -n "$lt_cv_sys_max_cmd_len"; then
   4646       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   4647       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   4648     else
   4649       # Make teststring a little bigger before we do anything with it.
   4650       # a 1K string should be a reasonable start.
   4651       for i in 1 2 3 4 5 6 7 8 ; do
   4652         teststring=$teststring$teststring
   4653       done
   4654       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   4655       # If test is not a shell built-in, we'll probably end up computing a
   4656       # maximum length that is only half of the actual maximum length, but
   4657       # we can't tell.
   4658       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   4659 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   4660 	      test $i != 17 # 1/2 MB should be enough
   4661       do
   4662         i=`expr $i + 1`
   4663         teststring=$teststring$teststring
   4664       done
   4665       # Only check the string length outside the loop.
   4666       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   4667       teststring=
   4668       # Add a significant safety factor because C++ compilers can tack on
   4669       # massive amounts of additional arguments before passing them to the
   4670       # linker.  It appears as though 1/2 is a usable value.
   4671       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   4672     fi
   4673     ;;
   4674   esac
   4675 
   4676 fi
   4677 
   4678 if test -n $lt_cv_sys_max_cmd_len ; then
   4679   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   4680 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   4681 else
   4682   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   4683 $as_echo "none" >&6; }
   4684 fi
   4685 max_cmd_len=$lt_cv_sys_max_cmd_len
   4686 
   4687 
   4688 
   4689 
   4690 
   4691 
   4692 : ${CP="cp -f"}
   4693 : ${MV="mv -f"}
   4694 : ${RM="rm -f"}
   4695 
   4696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   4697 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   4698 # Try some XSI features
   4699 xsi_shell=no
   4700 ( _lt_dummy="a/b/c"
   4701   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   4702       = c,a/b,b/c, \
   4703     && eval 'test $(( 1 + 1 )) -eq 2 \
   4704     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   4705   && xsi_shell=yes
   4706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   4707 $as_echo "$xsi_shell" >&6; }
   4708 
   4709 
   4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   4711 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   4712 lt_shell_append=no
   4713 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   4714     >/dev/null 2>&1 \
   4715   && lt_shell_append=yes
   4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   4717 $as_echo "$lt_shell_append" >&6; }
   4718 
   4719 
   4720 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   4721   lt_unset=unset
   4722 else
   4723   lt_unset=false
   4724 fi
   4725 
   4726 
   4727 
   4728 
   4729 
   4730 # test EBCDIC or ASCII
   4731 case `echo X|tr X '\101'` in
   4732  A) # ASCII based system
   4733     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   4734   lt_SP2NL='tr \040 \012'
   4735   lt_NL2SP='tr \015\012 \040\040'
   4736   ;;
   4737  *) # EBCDIC based system
   4738   lt_SP2NL='tr \100 \n'
   4739   lt_NL2SP='tr \r\n \100\100'
   4740   ;;
   4741 esac
   4742 
   4743 
   4744 
   4745 
   4746 
   4747 
   4748 
   4749 
   4750 
   4751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   4752 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   4753 if ${lt_cv_to_host_file_cmd+:} false; then :
   4754   $as_echo_n "(cached) " >&6
   4755 else
   4756   case $host in
   4757   *-*-mingw* )
   4758     case $build in
   4759       *-*-mingw* ) # actually msys
   4760         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   4761         ;;
   4762       *-*-cygwin* )
   4763         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   4764         ;;
   4765       * ) # otherwise, assume *nix
   4766         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   4767         ;;
   4768     esac
   4769     ;;
   4770   *-*-cygwin* )
   4771     case $build in
   4772       *-*-mingw* ) # actually msys
   4773         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   4774         ;;
   4775       *-*-cygwin* )
   4776         lt_cv_to_host_file_cmd=func_convert_file_noop
   4777         ;;
   4778       * ) # otherwise, assume *nix
   4779         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   4780         ;;
   4781     esac
   4782     ;;
   4783   * ) # unhandled hosts (and "normal" native builds)
   4784     lt_cv_to_host_file_cmd=func_convert_file_noop
   4785     ;;
   4786 esac
   4787 
   4788 fi
   4789 
   4790 to_host_file_cmd=$lt_cv_to_host_file_cmd
   4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   4792 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   4793 
   4794 
   4795 
   4796 
   4797 
   4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   4799 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   4800 if ${lt_cv_to_tool_file_cmd+:} false; then :
   4801   $as_echo_n "(cached) " >&6
   4802 else
   4803   #assume ordinary cross tools, or native build.
   4804 lt_cv_to_tool_file_cmd=func_convert_file_noop
   4805 case $host in
   4806   *-*-mingw* )
   4807     case $build in
   4808       *-*-mingw* ) # actually msys
   4809         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   4810         ;;
   4811     esac
   4812     ;;
   4813 esac
   4814 
   4815 fi
   4816 
   4817 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   4819 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   4820 
   4821 
   4822 
   4823 
   4824 
   4825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   4826 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   4827 if ${lt_cv_ld_reload_flag+:} false; then :
   4828   $as_echo_n "(cached) " >&6
   4829 else
   4830   lt_cv_ld_reload_flag='-r'
   4831 fi
   4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   4833 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   4834 reload_flag=$lt_cv_ld_reload_flag
   4835 case $reload_flag in
   4836 "" | " "*) ;;
   4837 *) reload_flag=" $reload_flag" ;;
   4838 esac
   4839 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4840 case $host_os in
   4841   cygwin* | mingw* | pw32* | cegcc*)
   4842     if test "$GCC" != yes; then
   4843       reload_cmds=false
   4844     fi
   4845     ;;
   4846   darwin*)
   4847     if test "$GCC" = yes; then
   4848       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   4849     else
   4850       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   4851     fi
   4852     ;;
   4853 esac
   4854 
   4855 
   4856 
   4857 
   4858 
   4859 
   4860 
   4861 
   4862 
   4863 if test -n "$ac_tool_prefix"; then
   4864   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   4865 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   4866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4867 $as_echo_n "checking for $ac_word... " >&6; }
   4868 if ${ac_cv_prog_OBJDUMP+:} false; then :
   4869   $as_echo_n "(cached) " >&6
   4870 else
   4871   if test -n "$OBJDUMP"; then
   4872   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   4873 else
   4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4875 for as_dir in $PATH
   4876 do
   4877   IFS=$as_save_IFS
   4878   test -z "$as_dir" && as_dir=.
   4879     for ac_exec_ext in '' $ac_executable_extensions; do
   4880   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4881     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   4882     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4883     break 2
   4884   fi
   4885 done
   4886   done
   4887 IFS=$as_save_IFS
   4888 
   4889 fi
   4890 fi
   4891 OBJDUMP=$ac_cv_prog_OBJDUMP
   4892 if test -n "$OBJDUMP"; then
   4893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   4894 $as_echo "$OBJDUMP" >&6; }
   4895 else
   4896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4897 $as_echo "no" >&6; }
   4898 fi
   4899 
   4900 
   4901 fi
   4902 if test -z "$ac_cv_prog_OBJDUMP"; then
   4903   ac_ct_OBJDUMP=$OBJDUMP
   4904   # Extract the first word of "objdump", so it can be a program name with args.
   4905 set dummy objdump; ac_word=$2
   4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4907 $as_echo_n "checking for $ac_word... " >&6; }
   4908 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   4909   $as_echo_n "(cached) " >&6
   4910 else
   4911   if test -n "$ac_ct_OBJDUMP"; then
   4912   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   4913 else
   4914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4915 for as_dir in $PATH
   4916 do
   4917   IFS=$as_save_IFS
   4918   test -z "$as_dir" && as_dir=.
   4919     for ac_exec_ext in '' $ac_executable_extensions; do
   4920   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4921     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   4922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4923     break 2
   4924   fi
   4925 done
   4926   done
   4927 IFS=$as_save_IFS
   4928 
   4929 fi
   4930 fi
   4931 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   4932 if test -n "$ac_ct_OBJDUMP"; then
   4933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   4934 $as_echo "$ac_ct_OBJDUMP" >&6; }
   4935 else
   4936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4937 $as_echo "no" >&6; }
   4938 fi
   4939 
   4940   if test "x$ac_ct_OBJDUMP" = x; then
   4941     OBJDUMP="false"
   4942   else
   4943     case $cross_compiling:$ac_tool_warned in
   4944 yes:)
   4945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4947 ac_tool_warned=yes ;;
   4948 esac
   4949     OBJDUMP=$ac_ct_OBJDUMP
   4950   fi
   4951 else
   4952   OBJDUMP="$ac_cv_prog_OBJDUMP"
   4953 fi
   4954 
   4955 test -z "$OBJDUMP" && OBJDUMP=objdump
   4956 
   4957 
   4958 
   4959 
   4960 
   4961 
   4962 
   4963 
   4964 
   4965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   4966 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   4967 if ${lt_cv_deplibs_check_method+:} false; then :
   4968   $as_echo_n "(cached) " >&6
   4969 else
   4970   lt_cv_file_magic_cmd='$MAGIC_CMD'
   4971 lt_cv_file_magic_test_file=
   4972 lt_cv_deplibs_check_method='unknown'
   4973 # Need to set the preceding variable on all platforms that support
   4974 # interlibrary dependencies.
   4975 # 'none' -- dependencies not supported.
   4976 # `unknown' -- same as none, but documents that we really don't know.
   4977 # 'pass_all' -- all dependencies passed with no checks.
   4978 # 'test_compile' -- check by making test program.
   4979 # 'file_magic [[regex]]' -- check by looking for files in library path
   4980 # which responds to the $file_magic_cmd with a given extended regex.
   4981 # If you have `file' or equivalent on your system and you're not sure
   4982 # whether `pass_all' will *always* work, you probably want this one.
   4983 
   4984 case $host_os in
   4985 aix[4-9]*)
   4986   lt_cv_deplibs_check_method=pass_all
   4987   ;;
   4988 
   4989 beos*)
   4990   lt_cv_deplibs_check_method=pass_all
   4991   ;;
   4992 
   4993 bsdi[45]*)
   4994   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   4995   lt_cv_file_magic_cmd='/usr/bin/file -L'
   4996   lt_cv_file_magic_test_file=/shlib/libc.so
   4997   ;;
   4998 
   4999 cygwin*)
   5000   # func_win32_libid is a shell function defined in ltmain.sh
   5001   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5002   lt_cv_file_magic_cmd='func_win32_libid'
   5003   ;;
   5004 
   5005 mingw* | pw32*)
   5006   # Base MSYS/MinGW do not provide the 'file' command needed by
   5007   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5008   # unless we find 'file', for example because we are cross-compiling.
   5009   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   5010   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   5011     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5012     lt_cv_file_magic_cmd='func_win32_libid'
   5013   else
   5014     # Keep this pattern in sync with the one in func_win32_libid.
   5015     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5016     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5017   fi
   5018   ;;
   5019 
   5020 cegcc*)
   5021   # use the weaker test based on 'objdump'. See mingw*.
   5022   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5023   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5024   ;;
   5025 
   5026 darwin* | rhapsody*)
   5027   lt_cv_deplibs_check_method=pass_all
   5028   ;;
   5029 
   5030 freebsd* | dragonfly*)
   5031   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5032     case $host_cpu in
   5033     i*86 )
   5034       # Not sure whether the presence of OpenBSD here was a mistake.
   5035       # Let's accept both of them until this is cleared up.
   5036       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5037       lt_cv_file_magic_cmd=/usr/bin/file
   5038       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5039       ;;
   5040     esac
   5041   else
   5042     lt_cv_deplibs_check_method=pass_all
   5043   fi
   5044   ;;
   5045 
   5046 gnu*)
   5047   lt_cv_deplibs_check_method=pass_all
   5048   ;;
   5049 
   5050 haiku*)
   5051   lt_cv_deplibs_check_method=pass_all
   5052   ;;
   5053 
   5054 hpux10.20* | hpux11*)
   5055   lt_cv_file_magic_cmd=/usr/bin/file
   5056   case $host_cpu in
   5057   ia64*)
   5058     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5059     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5060     ;;
   5061   hppa*64*)
   5062     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]'
   5063     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5064     ;;
   5065   *)
   5066     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5067     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5068     ;;
   5069   esac
   5070   ;;
   5071 
   5072 interix[3-9]*)
   5073   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5074   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5075   ;;
   5076 
   5077 irix5* | irix6* | nonstopux*)
   5078   case $LD in
   5079   *-32|*"-32 ") libmagic=32-bit;;
   5080   *-n32|*"-n32 ") libmagic=N32;;
   5081   *-64|*"-64 ") libmagic=64-bit;;
   5082   *) libmagic=never-match;;
   5083   esac
   5084   lt_cv_deplibs_check_method=pass_all
   5085   ;;
   5086 
   5087 # This must be glibc/ELF.
   5088 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   5089   lt_cv_deplibs_check_method=pass_all
   5090   ;;
   5091 
   5092 netbsd*)
   5093   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5094     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5095   else
   5096     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5097   fi
   5098   ;;
   5099 
   5100 newos6*)
   5101   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5102   lt_cv_file_magic_cmd=/usr/bin/file
   5103   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5104   ;;
   5105 
   5106 *nto* | *qnx*)
   5107   lt_cv_deplibs_check_method=pass_all
   5108   ;;
   5109 
   5110 openbsd*)
   5111   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5112     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5113   else
   5114     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5115   fi
   5116   ;;
   5117 
   5118 osf3* | osf4* | osf5*)
   5119   lt_cv_deplibs_check_method=pass_all
   5120   ;;
   5121 
   5122 rdos*)
   5123   lt_cv_deplibs_check_method=pass_all
   5124   ;;
   5125 
   5126 solaris*)
   5127   lt_cv_deplibs_check_method=pass_all
   5128   ;;
   5129 
   5130 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5131   lt_cv_deplibs_check_method=pass_all
   5132   ;;
   5133 
   5134 sysv4 | sysv4.3*)
   5135   case $host_vendor in
   5136   motorola)
   5137     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]'
   5138     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5139     ;;
   5140   ncr)
   5141     lt_cv_deplibs_check_method=pass_all
   5142     ;;
   5143   sequent)
   5144     lt_cv_file_magic_cmd='/bin/file'
   5145     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5146     ;;
   5147   sni)
   5148     lt_cv_file_magic_cmd='/bin/file'
   5149     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5150     lt_cv_file_magic_test_file=/lib/libc.so
   5151     ;;
   5152   siemens)
   5153     lt_cv_deplibs_check_method=pass_all
   5154     ;;
   5155   pc)
   5156     lt_cv_deplibs_check_method=pass_all
   5157     ;;
   5158   esac
   5159   ;;
   5160 
   5161 tpf*)
   5162   lt_cv_deplibs_check_method=pass_all
   5163   ;;
   5164 esac
   5165 
   5166 fi
   5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5168 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5169 
   5170 file_magic_glob=
   5171 want_nocaseglob=no
   5172 if test "$build" = "$host"; then
   5173   case $host_os in
   5174   mingw* | pw32*)
   5175     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5176       want_nocaseglob=yes
   5177     else
   5178       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5179     fi
   5180     ;;
   5181   esac
   5182 fi
   5183 
   5184 file_magic_cmd=$lt_cv_file_magic_cmd
   5185 deplibs_check_method=$lt_cv_deplibs_check_method
   5186 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 
   5209 if test -n "$ac_tool_prefix"; then
   5210   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5211 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5213 $as_echo_n "checking for $ac_word... " >&6; }
   5214 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5215   $as_echo_n "(cached) " >&6
   5216 else
   5217   if test -n "$DLLTOOL"; then
   5218   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5219 else
   5220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5221 for as_dir in $PATH
   5222 do
   5223   IFS=$as_save_IFS
   5224   test -z "$as_dir" && as_dir=.
   5225     for ac_exec_ext in '' $ac_executable_extensions; do
   5226   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5227     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5229     break 2
   5230   fi
   5231 done
   5232   done
   5233 IFS=$as_save_IFS
   5234 
   5235 fi
   5236 fi
   5237 DLLTOOL=$ac_cv_prog_DLLTOOL
   5238 if test -n "$DLLTOOL"; then
   5239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5240 $as_echo "$DLLTOOL" >&6; }
   5241 else
   5242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5243 $as_echo "no" >&6; }
   5244 fi
   5245 
   5246 
   5247 fi
   5248 if test -z "$ac_cv_prog_DLLTOOL"; then
   5249   ac_ct_DLLTOOL=$DLLTOOL
   5250   # Extract the first word of "dlltool", so it can be a program name with args.
   5251 set dummy dlltool; ac_word=$2
   5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5253 $as_echo_n "checking for $ac_word... " >&6; }
   5254 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5255   $as_echo_n "(cached) " >&6
   5256 else
   5257   if test -n "$ac_ct_DLLTOOL"; then
   5258   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5259 else
   5260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5261 for as_dir in $PATH
   5262 do
   5263   IFS=$as_save_IFS
   5264   test -z "$as_dir" && as_dir=.
   5265     for ac_exec_ext in '' $ac_executable_extensions; do
   5266   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5267     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5268     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5269     break 2
   5270   fi
   5271 done
   5272   done
   5273 IFS=$as_save_IFS
   5274 
   5275 fi
   5276 fi
   5277 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5278 if test -n "$ac_ct_DLLTOOL"; then
   5279   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5280 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5281 else
   5282   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5283 $as_echo "no" >&6; }
   5284 fi
   5285 
   5286   if test "x$ac_ct_DLLTOOL" = x; then
   5287     DLLTOOL="false"
   5288   else
   5289     case $cross_compiling:$ac_tool_warned in
   5290 yes:)
   5291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5292 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5293 ac_tool_warned=yes ;;
   5294 esac
   5295     DLLTOOL=$ac_ct_DLLTOOL
   5296   fi
   5297 else
   5298   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5299 fi
   5300 
   5301 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5302 
   5303 
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5313 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5314 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5315   $as_echo_n "(cached) " >&6
   5316 else
   5317   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5318 
   5319 case $host_os in
   5320 cygwin* | mingw* | pw32* | cegcc*)
   5321   # two different shell functions defined in ltmain.sh
   5322   # decide which to use based on capabilities of $DLLTOOL
   5323   case `$DLLTOOL --help 2>&1` in
   5324   *--identify-strict*)
   5325     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5326     ;;
   5327   *)
   5328     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5329     ;;
   5330   esac
   5331   ;;
   5332 *)
   5333   # fallback: assume linklib IS sharedlib
   5334   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   5335   ;;
   5336 esac
   5337 
   5338 fi
   5339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5340 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5341 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5342 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5343 
   5344 
   5345 
   5346 
   5347 
   5348 
   5349 
   5350 
   5351 if test -n "$ac_tool_prefix"; then
   5352   for ac_prog in ar
   5353   do
   5354     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5355 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5357 $as_echo_n "checking for $ac_word... " >&6; }
   5358 if ${ac_cv_prog_AR+:} false; then :
   5359   $as_echo_n "(cached) " >&6
   5360 else
   5361   if test -n "$AR"; then
   5362   ac_cv_prog_AR="$AR" # Let the user override the test.
   5363 else
   5364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5365 for as_dir in $PATH
   5366 do
   5367   IFS=$as_save_IFS
   5368   test -z "$as_dir" && as_dir=.
   5369     for ac_exec_ext in '' $ac_executable_extensions; do
   5370   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5371     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5373     break 2
   5374   fi
   5375 done
   5376   done
   5377 IFS=$as_save_IFS
   5378 
   5379 fi
   5380 fi
   5381 AR=$ac_cv_prog_AR
   5382 if test -n "$AR"; then
   5383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5384 $as_echo "$AR" >&6; }
   5385 else
   5386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5387 $as_echo "no" >&6; }
   5388 fi
   5389 
   5390 
   5391     test -n "$AR" && break
   5392   done
   5393 fi
   5394 if test -z "$AR"; then
   5395   ac_ct_AR=$AR
   5396   for ac_prog in ar
   5397 do
   5398   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5399 set dummy $ac_prog; ac_word=$2
   5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5401 $as_echo_n "checking for $ac_word... " >&6; }
   5402 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5403   $as_echo_n "(cached) " >&6
   5404 else
   5405   if test -n "$ac_ct_AR"; then
   5406   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5407 else
   5408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5409 for as_dir in $PATH
   5410 do
   5411   IFS=$as_save_IFS
   5412   test -z "$as_dir" && as_dir=.
   5413     for ac_exec_ext in '' $ac_executable_extensions; do
   5414   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5415     ac_cv_prog_ac_ct_AR="$ac_prog"
   5416     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5417     break 2
   5418   fi
   5419 done
   5420   done
   5421 IFS=$as_save_IFS
   5422 
   5423 fi
   5424 fi
   5425 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5426 if test -n "$ac_ct_AR"; then
   5427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5428 $as_echo "$ac_ct_AR" >&6; }
   5429 else
   5430   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5431 $as_echo "no" >&6; }
   5432 fi
   5433 
   5434 
   5435   test -n "$ac_ct_AR" && break
   5436 done
   5437 
   5438   if test "x$ac_ct_AR" = x; then
   5439     AR="false"
   5440   else
   5441     case $cross_compiling:$ac_tool_warned in
   5442 yes:)
   5443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5444 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5445 ac_tool_warned=yes ;;
   5446 esac
   5447     AR=$ac_ct_AR
   5448   fi
   5449 fi
   5450 
   5451 : ${AR=ar}
   5452 : ${AR_FLAGS=cru}
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 
   5461 
   5462 
   5463 
   5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   5465 $as_echo_n "checking for archiver @FILE support... " >&6; }
   5466 if ${lt_cv_ar_at_file+:} false; then :
   5467   $as_echo_n "(cached) " >&6
   5468 else
   5469   lt_cv_ar_at_file=no
   5470    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5471 /* end confdefs.h.  */
   5472 
   5473 int
   5474 main ()
   5475 {
   5476 
   5477   ;
   5478   return 0;
   5479 }
   5480 _ACEOF
   5481 if ac_fn_c_try_compile "$LINENO"; then :
   5482   echo conftest.$ac_objext > conftest.lst
   5483       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   5484       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5485   (eval $lt_ar_try) 2>&5
   5486   ac_status=$?
   5487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5488   test $ac_status = 0; }
   5489       if test "$ac_status" -eq 0; then
   5490 	# Ensure the archiver fails upon bogus file names.
   5491 	rm -f conftest.$ac_objext libconftest.a
   5492 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   5493   (eval $lt_ar_try) 2>&5
   5494   ac_status=$?
   5495   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5496   test $ac_status = 0; }
   5497 	if test "$ac_status" -ne 0; then
   5498           lt_cv_ar_at_file=@
   5499         fi
   5500       fi
   5501       rm -f conftest.* libconftest.a
   5502 
   5503 fi
   5504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5505 
   5506 fi
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   5508 $as_echo "$lt_cv_ar_at_file" >&6; }
   5509 
   5510 if test "x$lt_cv_ar_at_file" = xno; then
   5511   archiver_list_spec=
   5512 else
   5513   archiver_list_spec=$lt_cv_ar_at_file
   5514 fi
   5515 
   5516 
   5517 
   5518 
   5519 
   5520 
   5521 
   5522 if test -n "$ac_tool_prefix"; then
   5523   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   5524 set dummy ${ac_tool_prefix}strip; ac_word=$2
   5525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5526 $as_echo_n "checking for $ac_word... " >&6; }
   5527 if ${ac_cv_prog_STRIP+:} false; then :
   5528   $as_echo_n "(cached) " >&6
   5529 else
   5530   if test -n "$STRIP"; then
   5531   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   5532 else
   5533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5534 for as_dir in $PATH
   5535 do
   5536   IFS=$as_save_IFS
   5537   test -z "$as_dir" && as_dir=.
   5538     for ac_exec_ext in '' $ac_executable_extensions; do
   5539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5540     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   5541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5542     break 2
   5543   fi
   5544 done
   5545   done
   5546 IFS=$as_save_IFS
   5547 
   5548 fi
   5549 fi
   5550 STRIP=$ac_cv_prog_STRIP
   5551 if test -n "$STRIP"; then
   5552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   5553 $as_echo "$STRIP" >&6; }
   5554 else
   5555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5556 $as_echo "no" >&6; }
   5557 fi
   5558 
   5559 
   5560 fi
   5561 if test -z "$ac_cv_prog_STRIP"; then
   5562   ac_ct_STRIP=$STRIP
   5563   # Extract the first word of "strip", so it can be a program name with args.
   5564 set dummy strip; ac_word=$2
   5565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5566 $as_echo_n "checking for $ac_word... " >&6; }
   5567 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   5568   $as_echo_n "(cached) " >&6
   5569 else
   5570   if test -n "$ac_ct_STRIP"; then
   5571   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   5572 else
   5573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5574 for as_dir in $PATH
   5575 do
   5576   IFS=$as_save_IFS
   5577   test -z "$as_dir" && as_dir=.
   5578     for ac_exec_ext in '' $ac_executable_extensions; do
   5579   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5580     ac_cv_prog_ac_ct_STRIP="strip"
   5581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5582     break 2
   5583   fi
   5584 done
   5585   done
   5586 IFS=$as_save_IFS
   5587 
   5588 fi
   5589 fi
   5590 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   5591 if test -n "$ac_ct_STRIP"; then
   5592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   5593 $as_echo "$ac_ct_STRIP" >&6; }
   5594 else
   5595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5596 $as_echo "no" >&6; }
   5597 fi
   5598 
   5599   if test "x$ac_ct_STRIP" = x; then
   5600     STRIP=":"
   5601   else
   5602     case $cross_compiling:$ac_tool_warned in
   5603 yes:)
   5604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5606 ac_tool_warned=yes ;;
   5607 esac
   5608     STRIP=$ac_ct_STRIP
   5609   fi
   5610 else
   5611   STRIP="$ac_cv_prog_STRIP"
   5612 fi
   5613 
   5614 test -z "$STRIP" && STRIP=:
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 
   5621 if test -n "$ac_tool_prefix"; then
   5622   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   5623 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5625 $as_echo_n "checking for $ac_word... " >&6; }
   5626 if ${ac_cv_prog_RANLIB+:} false; then :
   5627   $as_echo_n "(cached) " >&6
   5628 else
   5629   if test -n "$RANLIB"; then
   5630   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   5631 else
   5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5633 for as_dir in $PATH
   5634 do
   5635   IFS=$as_save_IFS
   5636   test -z "$as_dir" && as_dir=.
   5637     for ac_exec_ext in '' $ac_executable_extensions; do
   5638   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5639     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   5640     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5641     break 2
   5642   fi
   5643 done
   5644   done
   5645 IFS=$as_save_IFS
   5646 
   5647 fi
   5648 fi
   5649 RANLIB=$ac_cv_prog_RANLIB
   5650 if test -n "$RANLIB"; then
   5651   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   5652 $as_echo "$RANLIB" >&6; }
   5653 else
   5654   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5655 $as_echo "no" >&6; }
   5656 fi
   5657 
   5658 
   5659 fi
   5660 if test -z "$ac_cv_prog_RANLIB"; then
   5661   ac_ct_RANLIB=$RANLIB
   5662   # Extract the first word of "ranlib", so it can be a program name with args.
   5663 set dummy ranlib; ac_word=$2
   5664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5665 $as_echo_n "checking for $ac_word... " >&6; }
   5666 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   5667   $as_echo_n "(cached) " >&6
   5668 else
   5669   if test -n "$ac_ct_RANLIB"; then
   5670   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   5671 else
   5672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5673 for as_dir in $PATH
   5674 do
   5675   IFS=$as_save_IFS
   5676   test -z "$as_dir" && as_dir=.
   5677     for ac_exec_ext in '' $ac_executable_extensions; do
   5678   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5679     ac_cv_prog_ac_ct_RANLIB="ranlib"
   5680     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5681     break 2
   5682   fi
   5683 done
   5684   done
   5685 IFS=$as_save_IFS
   5686 
   5687 fi
   5688 fi
   5689 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   5690 if test -n "$ac_ct_RANLIB"; then
   5691   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   5692 $as_echo "$ac_ct_RANLIB" >&6; }
   5693 else
   5694   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5695 $as_echo "no" >&6; }
   5696 fi
   5697 
   5698   if test "x$ac_ct_RANLIB" = x; then
   5699     RANLIB=":"
   5700   else
   5701     case $cross_compiling:$ac_tool_warned in
   5702 yes:)
   5703 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5704 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5705 ac_tool_warned=yes ;;
   5706 esac
   5707     RANLIB=$ac_ct_RANLIB
   5708   fi
   5709 else
   5710   RANLIB="$ac_cv_prog_RANLIB"
   5711 fi
   5712 
   5713 test -z "$RANLIB" && RANLIB=:
   5714 
   5715 
   5716 
   5717 
   5718 
   5719 
   5720 # Determine commands to create old-style static archives.
   5721 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   5722 old_postinstall_cmds='chmod 644 $oldlib'
   5723 old_postuninstall_cmds=
   5724 
   5725 if test -n "$RANLIB"; then
   5726   case $host_os in
   5727   openbsd*)
   5728     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   5729     ;;
   5730   *)
   5731     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   5732     ;;
   5733   esac
   5734   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   5735 fi
   5736 
   5737 case $host_os in
   5738   darwin*)
   5739     lock_old_archive_extraction=yes ;;
   5740   *)
   5741     lock_old_archive_extraction=no ;;
   5742 esac
   5743 
   5744 
   5745 
   5746 
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 
   5770 
   5771 
   5772 
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 # If no C compiler was specified, use CC.
   5783 LTCC=${LTCC-"$CC"}
   5784 
   5785 # If no C compiler flags were specified, use CFLAGS.
   5786 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   5787 
   5788 # Allow CC to be a program name with arguments.
   5789 compiler=$CC
   5790 
   5791 
   5792 # Check for command to grab the raw symbol name followed by C symbol from nm.
   5793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   5794 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   5795 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   5796   $as_echo_n "(cached) " >&6
   5797 else
   5798 
   5799 # These are sane defaults that work on at least a few old systems.
   5800 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   5801 
   5802 # Character class describing NM global symbol codes.
   5803 symcode='[BCDEGRST]'
   5804 
   5805 # Regexp to match symbols that can be accessed directly from C.
   5806 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   5807 
   5808 # Define system-specific variables.
   5809 case $host_os in
   5810 aix*)
   5811   symcode='[BCDT]'
   5812   ;;
   5813 cygwin* | mingw* | pw32* | cegcc*)
   5814   symcode='[ABCDGISTW]'
   5815   ;;
   5816 hpux*)
   5817   if test "$host_cpu" = ia64; then
   5818     symcode='[ABCDEGRST]'
   5819   fi
   5820   ;;
   5821 irix* | nonstopux*)
   5822   symcode='[BCDEGRST]'
   5823   ;;
   5824 osf*)
   5825   symcode='[BCDEGQRST]'
   5826   ;;
   5827 solaris*)
   5828   symcode='[BDRT]'
   5829   ;;
   5830 sco3.2v5*)
   5831   symcode='[DT]'
   5832   ;;
   5833 sysv4.2uw2*)
   5834   symcode='[DT]'
   5835   ;;
   5836 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   5837   symcode='[ABDT]'
   5838   ;;
   5839 sysv4)
   5840   symcode='[DFNSTU]'
   5841   ;;
   5842 esac
   5843 
   5844 # If we're using GNU nm, then use its standard symbol codes.
   5845 case `$NM -V 2>&1` in
   5846 *GNU* | *'with BFD'*)
   5847   symcode='[ABCDGIRSTW]' ;;
   5848 esac
   5849 
   5850 # Transform an extracted symbol line into a proper C declaration.
   5851 # Some systems (esp. on ia64) link data and code symbols differently,
   5852 # so use this general approach.
   5853 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   5854 
   5855 # Transform an extracted symbol line into symbol name and symbol address
   5856 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   5857 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   5858 
   5859 # Handle CRLF in mingw tool chain
   5860 opt_cr=
   5861 case $build_os in
   5862 mingw*)
   5863   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   5864   ;;
   5865 esac
   5866 
   5867 # Try without a prefix underscore, then with it.
   5868 for ac_symprfx in "" "_"; do
   5869 
   5870   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   5871   symxfrm="\\1 $ac_symprfx\\2 \\2"
   5872 
   5873   # Write the raw and C identifiers.
   5874   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   5875     # Fake it for dumpbin and say T for any non-static function
   5876     # and D for any global variable.
   5877     # Also find C++ and __fastcall symbols from MSVC++,
   5878     # which start with @ or ?.
   5879     lt_cv_sys_global_symbol_pipe="$AWK '"\
   5880 "     {last_section=section; section=\$ 3};"\
   5881 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   5882 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   5883 "     \$ 0!~/External *\|/{next};"\
   5884 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   5885 "     {if(hide[section]) next};"\
   5886 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   5887 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   5888 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   5889 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   5890 "     ' prfx=^$ac_symprfx"
   5891   else
   5892     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   5893   fi
   5894   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   5895 
   5896   # Check to see that the pipe works correctly.
   5897   pipe_works=no
   5898 
   5899   rm -f conftest*
   5900   cat > conftest.$ac_ext <<_LT_EOF
   5901 #ifdef __cplusplus
   5902 extern "C" {
   5903 #endif
   5904 char nm_test_var;
   5905 void nm_test_func(void);
   5906 void nm_test_func(void){}
   5907 #ifdef __cplusplus
   5908 }
   5909 #endif
   5910 int main(){nm_test_var='a';nm_test_func();return(0);}
   5911 _LT_EOF
   5912 
   5913   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   5914   (eval $ac_compile) 2>&5
   5915   ac_status=$?
   5916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5917   test $ac_status = 0; }; then
   5918     # Now try to grab the symbols.
   5919     nlist=conftest.nm
   5920     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   5921   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   5922   ac_status=$?
   5923   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5924   test $ac_status = 0; } && test -s "$nlist"; then
   5925       # Try sorting and uniquifying the output.
   5926       if sort "$nlist" | uniq > "$nlist"T; then
   5927 	mv -f "$nlist"T "$nlist"
   5928       else
   5929 	rm -f "$nlist"T
   5930       fi
   5931 
   5932       # Make sure that we snagged all the symbols we need.
   5933       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   5934 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   5935 	  cat <<_LT_EOF > conftest.$ac_ext
   5936 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   5937 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   5938 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   5939    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   5940 # define LT_DLSYM_CONST
   5941 #elif defined(__osf__)
   5942 /* This system does not cope well with relocations in const data.  */
   5943 # define LT_DLSYM_CONST
   5944 #else
   5945 # define LT_DLSYM_CONST const
   5946 #endif
   5947 
   5948 #ifdef __cplusplus
   5949 extern "C" {
   5950 #endif
   5951 
   5952 _LT_EOF
   5953 	  # Now generate the symbol file.
   5954 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   5955 
   5956 	  cat <<_LT_EOF >> conftest.$ac_ext
   5957 
   5958 /* The mapping between symbol names and symbols.  */
   5959 LT_DLSYM_CONST struct {
   5960   const char *name;
   5961   void       *address;
   5962 }
   5963 lt__PROGRAM__LTX_preloaded_symbols[] =
   5964 {
   5965   { "@PROGRAM@", (void *) 0 },
   5966 _LT_EOF
   5967 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   5968 	  cat <<\_LT_EOF >> conftest.$ac_ext
   5969   {0, (void *) 0}
   5970 };
   5971 
   5972 /* This works around a problem in FreeBSD linker */
   5973 #ifdef FREEBSD_WORKAROUND
   5974 static const void *lt_preloaded_setup() {
   5975   return lt__PROGRAM__LTX_preloaded_symbols;
   5976 }
   5977 #endif
   5978 
   5979 #ifdef __cplusplus
   5980 }
   5981 #endif
   5982 _LT_EOF
   5983 	  # Now try linking the two files.
   5984 	  mv conftest.$ac_objext conftstm.$ac_objext
   5985 	  lt_globsym_save_LIBS=$LIBS
   5986 	  lt_globsym_save_CFLAGS=$CFLAGS
   5987 	  LIBS="conftstm.$ac_objext"
   5988 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   5989 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   5990   (eval $ac_link) 2>&5
   5991   ac_status=$?
   5992   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   5993   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   5994 	    pipe_works=yes
   5995 	  fi
   5996 	  LIBS=$lt_globsym_save_LIBS
   5997 	  CFLAGS=$lt_globsym_save_CFLAGS
   5998 	else
   5999 	  echo "cannot find nm_test_func in $nlist" >&5
   6000 	fi
   6001       else
   6002 	echo "cannot find nm_test_var in $nlist" >&5
   6003       fi
   6004     else
   6005       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6006     fi
   6007   else
   6008     echo "$progname: failed program was:" >&5
   6009     cat conftest.$ac_ext >&5
   6010   fi
   6011   rm -rf conftest* conftst*
   6012 
   6013   # Do not use the global_symbol_pipe unless it works.
   6014   if test "$pipe_works" = yes; then
   6015     break
   6016   else
   6017     lt_cv_sys_global_symbol_pipe=
   6018   fi
   6019 done
   6020 
   6021 fi
   6022 
   6023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6024   lt_cv_sys_global_symbol_to_cdecl=
   6025 fi
   6026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6027   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6028 $as_echo "failed" >&6; }
   6029 else
   6030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6031 $as_echo "ok" >&6; }
   6032 fi
   6033 
   6034 # Response file support.
   6035 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6036   nm_file_list_spec='@'
   6037 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6038   nm_file_list_spec='@'
   6039 fi
   6040 
   6041 
   6042 
   6043 
   6044 
   6045 
   6046 
   6047 
   6048 
   6049 
   6050 
   6051 
   6052 
   6053 
   6054 
   6055 
   6056 
   6057 
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6068 $as_echo_n "checking for sysroot... " >&6; }
   6069 
   6070 # Check whether --with-sysroot was given.
   6071 if test "${with_sysroot+set}" = set; then :
   6072   withval=$with_sysroot;
   6073 else
   6074   with_sysroot=no
   6075 fi
   6076 
   6077 
   6078 lt_sysroot=
   6079 case ${with_sysroot} in #(
   6080  yes)
   6081    if test "$GCC" = yes; then
   6082      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6083    fi
   6084    ;; #(
   6085  /*)
   6086    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6087    ;; #(
   6088  no|'')
   6089    ;; #(
   6090  *)
   6091    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   6092 $as_echo "${with_sysroot}" >&6; }
   6093    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6094    ;;
   6095 esac
   6096 
   6097  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6098 $as_echo "${lt_sysroot:-no}" >&6; }
   6099 
   6100 
   6101 
   6102 
   6103 
   6104 # Check whether --enable-libtool-lock was given.
   6105 if test "${enable_libtool_lock+set}" = set; then :
   6106   enableval=$enable_libtool_lock;
   6107 fi
   6108 
   6109 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6110 
   6111 # Some flags need to be propagated to the compiler or linker for good
   6112 # libtool support.
   6113 case $host in
   6114 ia64-*-hpux*)
   6115   # Find out which ABI we are using.
   6116   echo 'int i;' > conftest.$ac_ext
   6117   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6118   (eval $ac_compile) 2>&5
   6119   ac_status=$?
   6120   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6121   test $ac_status = 0; }; then
   6122     case `/usr/bin/file conftest.$ac_objext` in
   6123       *ELF-32*)
   6124 	HPUX_IA64_MODE="32"
   6125 	;;
   6126       *ELF-64*)
   6127 	HPUX_IA64_MODE="64"
   6128 	;;
   6129     esac
   6130   fi
   6131   rm -rf conftest*
   6132   ;;
   6133 *-*-irix6*)
   6134   # Find out which ABI we are using.
   6135   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6136   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6137   (eval $ac_compile) 2>&5
   6138   ac_status=$?
   6139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6140   test $ac_status = 0; }; then
   6141     if test "$lt_cv_prog_gnu_ld" = yes; then
   6142       case `/usr/bin/file conftest.$ac_objext` in
   6143 	*32-bit*)
   6144 	  LD="${LD-ld} -melf32bsmip"
   6145 	  ;;
   6146 	*N32*)
   6147 	  LD="${LD-ld} -melf32bmipn32"
   6148 	  ;;
   6149 	*64-bit*)
   6150 	  LD="${LD-ld} -melf64bmip"
   6151 	;;
   6152       esac
   6153     else
   6154       case `/usr/bin/file conftest.$ac_objext` in
   6155 	*32-bit*)
   6156 	  LD="${LD-ld} -32"
   6157 	  ;;
   6158 	*N32*)
   6159 	  LD="${LD-ld} -n32"
   6160 	  ;;
   6161 	*64-bit*)
   6162 	  LD="${LD-ld} -64"
   6163 	  ;;
   6164       esac
   6165     fi
   6166   fi
   6167   rm -rf conftest*
   6168   ;;
   6169 
   6170 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6171 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6172   # Find out which ABI we are using.
   6173   echo 'int i;' > conftest.$ac_ext
   6174   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6175   (eval $ac_compile) 2>&5
   6176   ac_status=$?
   6177   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6178   test $ac_status = 0; }; then
   6179     case `/usr/bin/file conftest.o` in
   6180       *32-bit*)
   6181 	case $host in
   6182 	  x86_64-*kfreebsd*-gnu)
   6183 	    LD="${LD-ld} -m elf_i386_fbsd"
   6184 	    ;;
   6185 	  x86_64-*linux*)
   6186 	    LD="${LD-ld} -m elf_i386"
   6187 	    ;;
   6188 	  ppc64-*linux*|powerpc64-*linux*)
   6189 	    LD="${LD-ld} -m elf32ppclinux"
   6190 	    ;;
   6191 	  s390x-*linux*)
   6192 	    LD="${LD-ld} -m elf_s390"
   6193 	    ;;
   6194 	  sparc64-*linux*)
   6195 	    LD="${LD-ld} -m elf32_sparc"
   6196 	    ;;
   6197 	esac
   6198 	;;
   6199       *64-bit*)
   6200 	case $host in
   6201 	  x86_64-*kfreebsd*-gnu)
   6202 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6203 	    ;;
   6204 	  x86_64-*linux*)
   6205 	    LD="${LD-ld} -m elf_x86_64"
   6206 	    ;;
   6207 	  ppc*-*linux*|powerpc*-*linux*)
   6208 	    LD="${LD-ld} -m elf64ppc"
   6209 	    ;;
   6210 	  s390*-*linux*|s390*-*tpf*)
   6211 	    LD="${LD-ld} -m elf64_s390"
   6212 	    ;;
   6213 	  sparc*-*linux*)
   6214 	    LD="${LD-ld} -m elf64_sparc"
   6215 	    ;;
   6216 	esac
   6217 	;;
   6218     esac
   6219   fi
   6220   rm -rf conftest*
   6221   ;;
   6222 
   6223 *-*-sco3.2v5*)
   6224   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6225   SAVE_CFLAGS="$CFLAGS"
   6226   CFLAGS="$CFLAGS -belf"
   6227   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6228 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6229 if ${lt_cv_cc_needs_belf+:} false; then :
   6230   $as_echo_n "(cached) " >&6
   6231 else
   6232   ac_ext=c
   6233 ac_cpp='$CPP $CPPFLAGS'
   6234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6237 
   6238      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6239 /* end confdefs.h.  */
   6240 
   6241 int
   6242 main ()
   6243 {
   6244 
   6245   ;
   6246   return 0;
   6247 }
   6248 _ACEOF
   6249 if ac_fn_c_try_link "$LINENO"; then :
   6250   lt_cv_cc_needs_belf=yes
   6251 else
   6252   lt_cv_cc_needs_belf=no
   6253 fi
   6254 rm -f core conftest.err conftest.$ac_objext \
   6255     conftest$ac_exeext conftest.$ac_ext
   6256      ac_ext=c
   6257 ac_cpp='$CPP $CPPFLAGS'
   6258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6261 
   6262 fi
   6263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   6264 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   6265   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6266     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6267     CFLAGS="$SAVE_CFLAGS"
   6268   fi
   6269   ;;
   6270 *-*solaris*)
   6271   # Find out which ABI we are using.
   6272   echo 'int i;' > conftest.$ac_ext
   6273   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6274   (eval $ac_compile) 2>&5
   6275   ac_status=$?
   6276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6277   test $ac_status = 0; }; then
   6278     case `/usr/bin/file conftest.o` in
   6279     *64-bit*)
   6280       case $lt_cv_prog_gnu_ld in
   6281       yes*)
   6282         case $host in
   6283         i?86-*-solaris*)
   6284           LD="${LD-ld} -m elf_x86_64"
   6285           ;;
   6286         sparc*-*-solaris*)
   6287           LD="${LD-ld} -m elf64_sparc"
   6288           ;;
   6289         esac
   6290         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   6291         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   6292           LD="${LD-ld}_sol2"
   6293         fi
   6294         ;;
   6295       *)
   6296 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   6297 	  LD="${LD-ld} -64"
   6298 	fi
   6299 	;;
   6300       esac
   6301       ;;
   6302     esac
   6303   fi
   6304   rm -rf conftest*
   6305   ;;
   6306 esac
   6307 
   6308 need_locks="$enable_libtool_lock"
   6309 
   6310 if test -n "$ac_tool_prefix"; then
   6311   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   6312 set dummy ${ac_tool_prefix}mt; ac_word=$2
   6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6314 $as_echo_n "checking for $ac_word... " >&6; }
   6315 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   6316   $as_echo_n "(cached) " >&6
   6317 else
   6318   if test -n "$MANIFEST_TOOL"; then
   6319   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   6320 else
   6321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6322 for as_dir in $PATH
   6323 do
   6324   IFS=$as_save_IFS
   6325   test -z "$as_dir" && as_dir=.
   6326     for ac_exec_ext in '' $ac_executable_extensions; do
   6327   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6328     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   6329     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6330     break 2
   6331   fi
   6332 done
   6333   done
   6334 IFS=$as_save_IFS
   6335 
   6336 fi
   6337 fi
   6338 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   6339 if test -n "$MANIFEST_TOOL"; then
   6340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   6341 $as_echo "$MANIFEST_TOOL" >&6; }
   6342 else
   6343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6344 $as_echo "no" >&6; }
   6345 fi
   6346 
   6347 
   6348 fi
   6349 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   6350   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   6351   # Extract the first word of "mt", so it can be a program name with args.
   6352 set dummy mt; ac_word=$2
   6353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6354 $as_echo_n "checking for $ac_word... " >&6; }
   6355 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   6356   $as_echo_n "(cached) " >&6
   6357 else
   6358   if test -n "$ac_ct_MANIFEST_TOOL"; then
   6359   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   6360 else
   6361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6362 for as_dir in $PATH
   6363 do
   6364   IFS=$as_save_IFS
   6365   test -z "$as_dir" && as_dir=.
   6366     for ac_exec_ext in '' $ac_executable_extensions; do
   6367   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6368     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   6369     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6370     break 2
   6371   fi
   6372 done
   6373   done
   6374 IFS=$as_save_IFS
   6375 
   6376 fi
   6377 fi
   6378 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   6379 if test -n "$ac_ct_MANIFEST_TOOL"; then
   6380   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   6381 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   6382 else
   6383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6384 $as_echo "no" >&6; }
   6385 fi
   6386 
   6387   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   6388     MANIFEST_TOOL=":"
   6389   else
   6390     case $cross_compiling:$ac_tool_warned in
   6391 yes:)
   6392 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6393 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6394 ac_tool_warned=yes ;;
   6395 esac
   6396     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   6397   fi
   6398 else
   6399   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   6400 fi
   6401 
   6402 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   6404 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   6405 if ${lt_cv_path_mainfest_tool+:} false; then :
   6406   $as_echo_n "(cached) " >&6
   6407 else
   6408   lt_cv_path_mainfest_tool=no
   6409   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   6410   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   6411   cat conftest.err >&5
   6412   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   6413     lt_cv_path_mainfest_tool=yes
   6414   fi
   6415   rm -f conftest*
   6416 fi
   6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   6418 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   6419 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   6420   MANIFEST_TOOL=:
   6421 fi
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428   case $host_os in
   6429     rhapsody* | darwin*)
   6430     if test -n "$ac_tool_prefix"; then
   6431   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   6432 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   6433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6434 $as_echo_n "checking for $ac_word... " >&6; }
   6435 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   6436   $as_echo_n "(cached) " >&6
   6437 else
   6438   if test -n "$DSYMUTIL"; then
   6439   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   6440 else
   6441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6442 for as_dir in $PATH
   6443 do
   6444   IFS=$as_save_IFS
   6445   test -z "$as_dir" && as_dir=.
   6446     for ac_exec_ext in '' $ac_executable_extensions; do
   6447   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6448     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   6449     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6450     break 2
   6451   fi
   6452 done
   6453   done
   6454 IFS=$as_save_IFS
   6455 
   6456 fi
   6457 fi
   6458 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   6459 if test -n "$DSYMUTIL"; then
   6460   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   6461 $as_echo "$DSYMUTIL" >&6; }
   6462 else
   6463   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6464 $as_echo "no" >&6; }
   6465 fi
   6466 
   6467 
   6468 fi
   6469 if test -z "$ac_cv_prog_DSYMUTIL"; then
   6470   ac_ct_DSYMUTIL=$DSYMUTIL
   6471   # Extract the first word of "dsymutil", so it can be a program name with args.
   6472 set dummy dsymutil; ac_word=$2
   6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6474 $as_echo_n "checking for $ac_word... " >&6; }
   6475 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   6476   $as_echo_n "(cached) " >&6
   6477 else
   6478   if test -n "$ac_ct_DSYMUTIL"; then
   6479   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   6480 else
   6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6482 for as_dir in $PATH
   6483 do
   6484   IFS=$as_save_IFS
   6485   test -z "$as_dir" && as_dir=.
   6486     for ac_exec_ext in '' $ac_executable_extensions; do
   6487   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6488     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   6489     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6490     break 2
   6491   fi
   6492 done
   6493   done
   6494 IFS=$as_save_IFS
   6495 
   6496 fi
   6497 fi
   6498 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   6499 if test -n "$ac_ct_DSYMUTIL"; then
   6500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   6501 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   6502 else
   6503   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6504 $as_echo "no" >&6; }
   6505 fi
   6506 
   6507   if test "x$ac_ct_DSYMUTIL" = x; then
   6508     DSYMUTIL=":"
   6509   else
   6510     case $cross_compiling:$ac_tool_warned in
   6511 yes:)
   6512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6514 ac_tool_warned=yes ;;
   6515 esac
   6516     DSYMUTIL=$ac_ct_DSYMUTIL
   6517   fi
   6518 else
   6519   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   6520 fi
   6521 
   6522     if test -n "$ac_tool_prefix"; then
   6523   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   6524 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6526 $as_echo_n "checking for $ac_word... " >&6; }
   6527 if ${ac_cv_prog_NMEDIT+:} false; then :
   6528   $as_echo_n "(cached) " >&6
   6529 else
   6530   if test -n "$NMEDIT"; then
   6531   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   6532 else
   6533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6534 for as_dir in $PATH
   6535 do
   6536   IFS=$as_save_IFS
   6537   test -z "$as_dir" && as_dir=.
   6538     for ac_exec_ext in '' $ac_executable_extensions; do
   6539   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6540     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   6541     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6542     break 2
   6543   fi
   6544 done
   6545   done
   6546 IFS=$as_save_IFS
   6547 
   6548 fi
   6549 fi
   6550 NMEDIT=$ac_cv_prog_NMEDIT
   6551 if test -n "$NMEDIT"; then
   6552   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   6553 $as_echo "$NMEDIT" >&6; }
   6554 else
   6555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6556 $as_echo "no" >&6; }
   6557 fi
   6558 
   6559 
   6560 fi
   6561 if test -z "$ac_cv_prog_NMEDIT"; then
   6562   ac_ct_NMEDIT=$NMEDIT
   6563   # Extract the first word of "nmedit", so it can be a program name with args.
   6564 set dummy nmedit; ac_word=$2
   6565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6566 $as_echo_n "checking for $ac_word... " >&6; }
   6567 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   6568   $as_echo_n "(cached) " >&6
   6569 else
   6570   if test -n "$ac_ct_NMEDIT"; then
   6571   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   6572 else
   6573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6574 for as_dir in $PATH
   6575 do
   6576   IFS=$as_save_IFS
   6577   test -z "$as_dir" && as_dir=.
   6578     for ac_exec_ext in '' $ac_executable_extensions; do
   6579   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6580     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   6581     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6582     break 2
   6583   fi
   6584 done
   6585   done
   6586 IFS=$as_save_IFS
   6587 
   6588 fi
   6589 fi
   6590 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   6591 if test -n "$ac_ct_NMEDIT"; then
   6592   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   6593 $as_echo "$ac_ct_NMEDIT" >&6; }
   6594 else
   6595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6596 $as_echo "no" >&6; }
   6597 fi
   6598 
   6599   if test "x$ac_ct_NMEDIT" = x; then
   6600     NMEDIT=":"
   6601   else
   6602     case $cross_compiling:$ac_tool_warned in
   6603 yes:)
   6604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6606 ac_tool_warned=yes ;;
   6607 esac
   6608     NMEDIT=$ac_ct_NMEDIT
   6609   fi
   6610 else
   6611   NMEDIT="$ac_cv_prog_NMEDIT"
   6612 fi
   6613 
   6614     if test -n "$ac_tool_prefix"; then
   6615   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   6616 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6618 $as_echo_n "checking for $ac_word... " >&6; }
   6619 if ${ac_cv_prog_LIPO+:} false; then :
   6620   $as_echo_n "(cached) " >&6
   6621 else
   6622   if test -n "$LIPO"; then
   6623   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   6624 else
   6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6626 for as_dir in $PATH
   6627 do
   6628   IFS=$as_save_IFS
   6629   test -z "$as_dir" && as_dir=.
   6630     for ac_exec_ext in '' $ac_executable_extensions; do
   6631   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6632     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   6633     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6634     break 2
   6635   fi
   6636 done
   6637   done
   6638 IFS=$as_save_IFS
   6639 
   6640 fi
   6641 fi
   6642 LIPO=$ac_cv_prog_LIPO
   6643 if test -n "$LIPO"; then
   6644   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   6645 $as_echo "$LIPO" >&6; }
   6646 else
   6647   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6648 $as_echo "no" >&6; }
   6649 fi
   6650 
   6651 
   6652 fi
   6653 if test -z "$ac_cv_prog_LIPO"; then
   6654   ac_ct_LIPO=$LIPO
   6655   # Extract the first word of "lipo", so it can be a program name with args.
   6656 set dummy lipo; ac_word=$2
   6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6658 $as_echo_n "checking for $ac_word... " >&6; }
   6659 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   6660   $as_echo_n "(cached) " >&6
   6661 else
   6662   if test -n "$ac_ct_LIPO"; then
   6663   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   6664 else
   6665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6666 for as_dir in $PATH
   6667 do
   6668   IFS=$as_save_IFS
   6669   test -z "$as_dir" && as_dir=.
   6670     for ac_exec_ext in '' $ac_executable_extensions; do
   6671   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6672     ac_cv_prog_ac_ct_LIPO="lipo"
   6673     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6674     break 2
   6675   fi
   6676 done
   6677   done
   6678 IFS=$as_save_IFS
   6679 
   6680 fi
   6681 fi
   6682 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   6683 if test -n "$ac_ct_LIPO"; then
   6684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   6685 $as_echo "$ac_ct_LIPO" >&6; }
   6686 else
   6687   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6688 $as_echo "no" >&6; }
   6689 fi
   6690 
   6691   if test "x$ac_ct_LIPO" = x; then
   6692     LIPO=":"
   6693   else
   6694     case $cross_compiling:$ac_tool_warned in
   6695 yes:)
   6696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6698 ac_tool_warned=yes ;;
   6699 esac
   6700     LIPO=$ac_ct_LIPO
   6701   fi
   6702 else
   6703   LIPO="$ac_cv_prog_LIPO"
   6704 fi
   6705 
   6706     if test -n "$ac_tool_prefix"; then
   6707   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   6708 set dummy ${ac_tool_prefix}otool; ac_word=$2
   6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6710 $as_echo_n "checking for $ac_word... " >&6; }
   6711 if ${ac_cv_prog_OTOOL+:} false; then :
   6712   $as_echo_n "(cached) " >&6
   6713 else
   6714   if test -n "$OTOOL"; then
   6715   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   6716 else
   6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6718 for as_dir in $PATH
   6719 do
   6720   IFS=$as_save_IFS
   6721   test -z "$as_dir" && as_dir=.
   6722     for ac_exec_ext in '' $ac_executable_extensions; do
   6723   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6724     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   6725     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6726     break 2
   6727   fi
   6728 done
   6729   done
   6730 IFS=$as_save_IFS
   6731 
   6732 fi
   6733 fi
   6734 OTOOL=$ac_cv_prog_OTOOL
   6735 if test -n "$OTOOL"; then
   6736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   6737 $as_echo "$OTOOL" >&6; }
   6738 else
   6739   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6740 $as_echo "no" >&6; }
   6741 fi
   6742 
   6743 
   6744 fi
   6745 if test -z "$ac_cv_prog_OTOOL"; then
   6746   ac_ct_OTOOL=$OTOOL
   6747   # Extract the first word of "otool", so it can be a program name with args.
   6748 set dummy otool; ac_word=$2
   6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6750 $as_echo_n "checking for $ac_word... " >&6; }
   6751 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   6752   $as_echo_n "(cached) " >&6
   6753 else
   6754   if test -n "$ac_ct_OTOOL"; then
   6755   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   6756 else
   6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6758 for as_dir in $PATH
   6759 do
   6760   IFS=$as_save_IFS
   6761   test -z "$as_dir" && as_dir=.
   6762     for ac_exec_ext in '' $ac_executable_extensions; do
   6763   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6764     ac_cv_prog_ac_ct_OTOOL="otool"
   6765     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6766     break 2
   6767   fi
   6768 done
   6769   done
   6770 IFS=$as_save_IFS
   6771 
   6772 fi
   6773 fi
   6774 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   6775 if test -n "$ac_ct_OTOOL"; then
   6776   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   6777 $as_echo "$ac_ct_OTOOL" >&6; }
   6778 else
   6779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6780 $as_echo "no" >&6; }
   6781 fi
   6782 
   6783   if test "x$ac_ct_OTOOL" = x; then
   6784     OTOOL=":"
   6785   else
   6786     case $cross_compiling:$ac_tool_warned in
   6787 yes:)
   6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6790 ac_tool_warned=yes ;;
   6791 esac
   6792     OTOOL=$ac_ct_OTOOL
   6793   fi
   6794 else
   6795   OTOOL="$ac_cv_prog_OTOOL"
   6796 fi
   6797 
   6798     if test -n "$ac_tool_prefix"; then
   6799   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   6800 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6802 $as_echo_n "checking for $ac_word... " >&6; }
   6803 if ${ac_cv_prog_OTOOL64+:} false; then :
   6804   $as_echo_n "(cached) " >&6
   6805 else
   6806   if test -n "$OTOOL64"; then
   6807   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   6808 else
   6809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6810 for as_dir in $PATH
   6811 do
   6812   IFS=$as_save_IFS
   6813   test -z "$as_dir" && as_dir=.
   6814     for ac_exec_ext in '' $ac_executable_extensions; do
   6815   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6816     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   6817     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6818     break 2
   6819   fi
   6820 done
   6821   done
   6822 IFS=$as_save_IFS
   6823 
   6824 fi
   6825 fi
   6826 OTOOL64=$ac_cv_prog_OTOOL64
   6827 if test -n "$OTOOL64"; then
   6828   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   6829 $as_echo "$OTOOL64" >&6; }
   6830 else
   6831   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6832 $as_echo "no" >&6; }
   6833 fi
   6834 
   6835 
   6836 fi
   6837 if test -z "$ac_cv_prog_OTOOL64"; then
   6838   ac_ct_OTOOL64=$OTOOL64
   6839   # Extract the first word of "otool64", so it can be a program name with args.
   6840 set dummy otool64; ac_word=$2
   6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6842 $as_echo_n "checking for $ac_word... " >&6; }
   6843 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   6844   $as_echo_n "(cached) " >&6
   6845 else
   6846   if test -n "$ac_ct_OTOOL64"; then
   6847   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   6848 else
   6849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6850 for as_dir in $PATH
   6851 do
   6852   IFS=$as_save_IFS
   6853   test -z "$as_dir" && as_dir=.
   6854     for ac_exec_ext in '' $ac_executable_extensions; do
   6855   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6856     ac_cv_prog_ac_ct_OTOOL64="otool64"
   6857     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6858     break 2
   6859   fi
   6860 done
   6861   done
   6862 IFS=$as_save_IFS
   6863 
   6864 fi
   6865 fi
   6866 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   6867 if test -n "$ac_ct_OTOOL64"; then
   6868   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   6869 $as_echo "$ac_ct_OTOOL64" >&6; }
   6870 else
   6871   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6872 $as_echo "no" >&6; }
   6873 fi
   6874 
   6875   if test "x$ac_ct_OTOOL64" = x; then
   6876     OTOOL64=":"
   6877   else
   6878     case $cross_compiling:$ac_tool_warned in
   6879 yes:)
   6880 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6881 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6882 ac_tool_warned=yes ;;
   6883 esac
   6884     OTOOL64=$ac_ct_OTOOL64
   6885   fi
   6886 else
   6887   OTOOL64="$ac_cv_prog_OTOOL64"
   6888 fi
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 
   6904 
   6905 
   6906 
   6907 
   6908 
   6909 
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   6917 $as_echo_n "checking for -single_module linker flag... " >&6; }
   6918 if ${lt_cv_apple_cc_single_mod+:} false; then :
   6919   $as_echo_n "(cached) " >&6
   6920 else
   6921   lt_cv_apple_cc_single_mod=no
   6922       if test -z "${LT_MULTI_MODULE}"; then
   6923 	# By default we will add the -single_module flag. You can override
   6924 	# by either setting the environment variable LT_MULTI_MODULE
   6925 	# non-empty at configure time, or by adding -multi_module to the
   6926 	# link flags.
   6927 	rm -rf libconftest.dylib*
   6928 	echo "int foo(void){return 1;}" > conftest.c
   6929 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6930 -dynamiclib -Wl,-single_module conftest.c" >&5
   6931 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   6932 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   6933         _lt_result=$?
   6934 	# If there is a non-empty error log, and "single_module"
   6935 	# appears in it, assume the flag caused a linker warning
   6936         if test -s conftest.err && $GREP single_module conftest.err; then
   6937 	  cat conftest.err >&5
   6938 	# Otherwise, if the output was created with a 0 exit code from
   6939 	# the compiler, it worked.
   6940 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   6941 	  lt_cv_apple_cc_single_mod=yes
   6942 	else
   6943 	  cat conftest.err >&5
   6944 	fi
   6945 	rm -rf libconftest.dylib*
   6946 	rm -f conftest.*
   6947       fi
   6948 fi
   6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   6950 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   6951 
   6952     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   6953 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   6954 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   6955   $as_echo_n "(cached) " >&6
   6956 else
   6957   lt_cv_ld_exported_symbols_list=no
   6958       save_LDFLAGS=$LDFLAGS
   6959       echo "_main" > conftest.sym
   6960       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   6961       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6962 /* end confdefs.h.  */
   6963 
   6964 int
   6965 main ()
   6966 {
   6967 
   6968   ;
   6969   return 0;
   6970 }
   6971 _ACEOF
   6972 if ac_fn_c_try_link "$LINENO"; then :
   6973   lt_cv_ld_exported_symbols_list=yes
   6974 else
   6975   lt_cv_ld_exported_symbols_list=no
   6976 fi
   6977 rm -f core conftest.err conftest.$ac_objext \
   6978     conftest$ac_exeext conftest.$ac_ext
   6979 	LDFLAGS="$save_LDFLAGS"
   6980 
   6981 fi
   6982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   6983 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   6984 
   6985     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   6986 $as_echo_n "checking for -force_load linker flag... " >&6; }
   6987 if ${lt_cv_ld_force_load+:} false; then :
   6988   $as_echo_n "(cached) " >&6
   6989 else
   6990   lt_cv_ld_force_load=no
   6991       cat > conftest.c << _LT_EOF
   6992 int forced_loaded() { return 2;}
   6993 _LT_EOF
   6994       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   6995       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   6996       echo "$AR cru libconftest.a conftest.o" >&5
   6997       $AR cru libconftest.a conftest.o 2>&5
   6998       echo "$RANLIB libconftest.a" >&5
   6999       $RANLIB libconftest.a 2>&5
   7000       cat > conftest.c << _LT_EOF
   7001 int main() { return 0;}
   7002 _LT_EOF
   7003       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7004       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7005       _lt_result=$?
   7006       if test -s conftest.err && $GREP force_load conftest.err; then
   7007 	cat conftest.err >&5
   7008       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   7009 	lt_cv_ld_force_load=yes
   7010       else
   7011 	cat conftest.err >&5
   7012       fi
   7013         rm -f conftest.err libconftest.a conftest conftest.c
   7014         rm -rf conftest.dSYM
   7015 
   7016 fi
   7017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7018 $as_echo "$lt_cv_ld_force_load" >&6; }
   7019     case $host_os in
   7020     rhapsody* | darwin1.[012])
   7021       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   7022     darwin1.*)
   7023       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7024     darwin*) # darwin 5.x on
   7025       # if running on 10.5 or later, the deployment target defaults
   7026       # to the OS version, if on x86, and 10.4, the deployment
   7027       # target defaults to 10.4. Don't you love it?
   7028       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7029 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7030 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7031 	10.[012]*)
   7032 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   7033 	10.*)
   7034 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   7035       esac
   7036     ;;
   7037   esac
   7038     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   7039       _lt_dar_single_mod='$single_module'
   7040     fi
   7041     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   7042       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   7043     else
   7044       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   7045     fi
   7046     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   7047       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7048     else
   7049       _lt_dsymutil=
   7050     fi
   7051     ;;
   7052   esac
   7053 
   7054 ac_ext=c
   7055 ac_cpp='$CPP $CPPFLAGS'
   7056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   7060 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   7061 # On Suns, sometimes $CPP names a directory.
   7062 if test -n "$CPP" && test -d "$CPP"; then
   7063   CPP=
   7064 fi
   7065 if test -z "$CPP"; then
   7066   if ${ac_cv_prog_CPP+:} false; then :
   7067   $as_echo_n "(cached) " >&6
   7068 else
   7069       # Double quotes because CPP needs to be expanded
   7070     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   7071     do
   7072       ac_preproc_ok=false
   7073 for ac_c_preproc_warn_flag in '' yes
   7074 do
   7075   # Use a header file that comes with gcc, so configuring glibc
   7076   # with a fresh cross-compiler works.
   7077   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7078   # <limits.h> exists even on freestanding compilers.
   7079   # On the NeXT, cc -E runs the code through the compiler's parser,
   7080   # not just through cpp. "Syntax error" is here to catch this case.
   7081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7082 /* end confdefs.h.  */
   7083 #ifdef __STDC__
   7084 # include <limits.h>
   7085 #else
   7086 # include <assert.h>
   7087 #endif
   7088 		     Syntax error
   7089 _ACEOF
   7090 if ac_fn_c_try_cpp "$LINENO"; then :
   7091 
   7092 else
   7093   # Broken: fails on valid input.
   7094 continue
   7095 fi
   7096 rm -f conftest.err conftest.i conftest.$ac_ext
   7097 
   7098   # OK, works on sane cases.  Now check whether nonexistent headers
   7099   # can be detected and how.
   7100   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7101 /* end confdefs.h.  */
   7102 #include <ac_nonexistent.h>
   7103 _ACEOF
   7104 if ac_fn_c_try_cpp "$LINENO"; then :
   7105   # Broken: success on invalid input.
   7106 continue
   7107 else
   7108   # Passes both tests.
   7109 ac_preproc_ok=:
   7110 break
   7111 fi
   7112 rm -f conftest.err conftest.i conftest.$ac_ext
   7113 
   7114 done
   7115 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7116 rm -f conftest.i conftest.err conftest.$ac_ext
   7117 if $ac_preproc_ok; then :
   7118   break
   7119 fi
   7120 
   7121     done
   7122     ac_cv_prog_CPP=$CPP
   7123 
   7124 fi
   7125   CPP=$ac_cv_prog_CPP
   7126 else
   7127   ac_cv_prog_CPP=$CPP
   7128 fi
   7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   7130 $as_echo "$CPP" >&6; }
   7131 ac_preproc_ok=false
   7132 for ac_c_preproc_warn_flag in '' yes
   7133 do
   7134   # Use a header file that comes with gcc, so configuring glibc
   7135   # with a fresh cross-compiler works.
   7136   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   7137   # <limits.h> exists even on freestanding compilers.
   7138   # On the NeXT, cc -E runs the code through the compiler's parser,
   7139   # not just through cpp. "Syntax error" is here to catch this case.
   7140   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7141 /* end confdefs.h.  */
   7142 #ifdef __STDC__
   7143 # include <limits.h>
   7144 #else
   7145 # include <assert.h>
   7146 #endif
   7147 		     Syntax error
   7148 _ACEOF
   7149 if ac_fn_c_try_cpp "$LINENO"; then :
   7150 
   7151 else
   7152   # Broken: fails on valid input.
   7153 continue
   7154 fi
   7155 rm -f conftest.err conftest.i conftest.$ac_ext
   7156 
   7157   # OK, works on sane cases.  Now check whether nonexistent headers
   7158   # can be detected and how.
   7159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7160 /* end confdefs.h.  */
   7161 #include <ac_nonexistent.h>
   7162 _ACEOF
   7163 if ac_fn_c_try_cpp "$LINENO"; then :
   7164   # Broken: success on invalid input.
   7165 continue
   7166 else
   7167   # Passes both tests.
   7168 ac_preproc_ok=:
   7169 break
   7170 fi
   7171 rm -f conftest.err conftest.i conftest.$ac_ext
   7172 
   7173 done
   7174 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   7175 rm -f conftest.i conftest.err conftest.$ac_ext
   7176 if $ac_preproc_ok; then :
   7177 
   7178 else
   7179   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   7180 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   7181 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   7182 See \`config.log' for more details" "$LINENO" 5; }
   7183 fi
   7184 
   7185 ac_ext=c
   7186 ac_cpp='$CPP $CPPFLAGS'
   7187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7190 
   7191 
   7192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   7193 $as_echo_n "checking for ANSI C header files... " >&6; }
   7194 if ${ac_cv_header_stdc+:} false; then :
   7195   $as_echo_n "(cached) " >&6
   7196 else
   7197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7198 /* end confdefs.h.  */
   7199 #include <stdlib.h>
   7200 #include <stdarg.h>
   7201 #include <string.h>
   7202 #include <float.h>
   7203 
   7204 int
   7205 main ()
   7206 {
   7207 
   7208   ;
   7209   return 0;
   7210 }
   7211 _ACEOF
   7212 if ac_fn_c_try_compile "$LINENO"; then :
   7213   ac_cv_header_stdc=yes
   7214 else
   7215   ac_cv_header_stdc=no
   7216 fi
   7217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7218 
   7219 if test $ac_cv_header_stdc = yes; then
   7220   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   7221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7222 /* end confdefs.h.  */
   7223 #include <string.h>
   7224 
   7225 _ACEOF
   7226 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7227   $EGREP "memchr" >/dev/null 2>&1; then :
   7228 
   7229 else
   7230   ac_cv_header_stdc=no
   7231 fi
   7232 rm -f conftest*
   7233 
   7234 fi
   7235 
   7236 if test $ac_cv_header_stdc = yes; then
   7237   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   7238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7239 /* end confdefs.h.  */
   7240 #include <stdlib.h>
   7241 
   7242 _ACEOF
   7243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   7244   $EGREP "free" >/dev/null 2>&1; then :
   7245 
   7246 else
   7247   ac_cv_header_stdc=no
   7248 fi
   7249 rm -f conftest*
   7250 
   7251 fi
   7252 
   7253 if test $ac_cv_header_stdc = yes; then
   7254   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   7255   if test "$cross_compiling" = yes; then :
   7256   :
   7257 else
   7258   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7259 /* end confdefs.h.  */
   7260 #include <ctype.h>
   7261 #include <stdlib.h>
   7262 #if ((' ' & 0x0FF) == 0x020)
   7263 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   7264 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   7265 #else
   7266 # define ISLOWER(c) \
   7267 		   (('a' <= (c) && (c) <= 'i') \
   7268 		     || ('j' <= (c) && (c) <= 'r') \
   7269 		     || ('s' <= (c) && (c) <= 'z'))
   7270 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   7271 #endif
   7272 
   7273 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   7274 int
   7275 main ()
   7276 {
   7277   int i;
   7278   for (i = 0; i < 256; i++)
   7279     if (XOR (islower (i), ISLOWER (i))
   7280 	|| toupper (i) != TOUPPER (i))
   7281       return 2;
   7282   return 0;
   7283 }
   7284 _ACEOF
   7285 if ac_fn_c_try_run "$LINENO"; then :
   7286 
   7287 else
   7288   ac_cv_header_stdc=no
   7289 fi
   7290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   7291   conftest.$ac_objext conftest.beam conftest.$ac_ext
   7292 fi
   7293 
   7294 fi
   7295 fi
   7296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   7297 $as_echo "$ac_cv_header_stdc" >&6; }
   7298 if test $ac_cv_header_stdc = yes; then
   7299 
   7300 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   7301 
   7302 fi
   7303 
   7304 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   7305 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   7306 		  inttypes.h stdint.h unistd.h
   7307 do :
   7308   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   7309 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   7310 "
   7311 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   7312   cat >>confdefs.h <<_ACEOF
   7313 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   7314 _ACEOF
   7315 
   7316 fi
   7317 
   7318 done
   7319 
   7320 
   7321 for ac_header in dlfcn.h
   7322 do :
   7323   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7324 "
   7325 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7326   cat >>confdefs.h <<_ACEOF
   7327 #define HAVE_DLFCN_H 1
   7328 _ACEOF
   7329 
   7330 fi
   7331 
   7332 done
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 # Set options
   7339 
   7340 
   7341 
   7342         enable_dlopen=no
   7343 
   7344 
   7345   enable_win32_dll=no
   7346 
   7347 
   7348             # Check whether --enable-shared was given.
   7349 if test "${enable_shared+set}" = set; then :
   7350   enableval=$enable_shared; p=${PACKAGE-default}
   7351     case $enableval in
   7352     yes) enable_shared=yes ;;
   7353     no) enable_shared=no ;;
   7354     *)
   7355       enable_shared=no
   7356       # Look at the argument we got.  We use all the common list separators.
   7357       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7358       for pkg in $enableval; do
   7359 	IFS="$lt_save_ifs"
   7360 	if test "X$pkg" = "X$p"; then
   7361 	  enable_shared=yes
   7362 	fi
   7363       done
   7364       IFS="$lt_save_ifs"
   7365       ;;
   7366     esac
   7367 else
   7368   enable_shared=yes
   7369 fi
   7370 
   7371 
   7372 
   7373 
   7374 
   7375 
   7376 
   7377 
   7378 
   7379 
   7380 
   7381 # Check whether --with-pic was given.
   7382 if test "${with_pic+set}" = set; then :
   7383   withval=$with_pic; lt_p=${PACKAGE-default}
   7384     case $withval in
   7385     yes|no) pic_mode=$withval ;;
   7386     *)
   7387       pic_mode=default
   7388       # Look at the argument we got.  We use all the common list separators.
   7389       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7390       for lt_pkg in $withval; do
   7391 	IFS="$lt_save_ifs"
   7392 	if test "X$lt_pkg" = "X$lt_p"; then
   7393 	  pic_mode=yes
   7394 	fi
   7395       done
   7396       IFS="$lt_save_ifs"
   7397       ;;
   7398     esac
   7399 else
   7400   pic_mode=default
   7401 fi
   7402 
   7403 
   7404 test -z "$pic_mode" && pic_mode=default
   7405 
   7406 
   7407 
   7408 
   7409 
   7410 
   7411 
   7412   # Check whether --enable-fast-install was given.
   7413 if test "${enable_fast_install+set}" = set; then :
   7414   enableval=$enable_fast_install; p=${PACKAGE-default}
   7415     case $enableval in
   7416     yes) enable_fast_install=yes ;;
   7417     no) enable_fast_install=no ;;
   7418     *)
   7419       enable_fast_install=no
   7420       # Look at the argument we got.  We use all the common list separators.
   7421       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   7422       for pkg in $enableval; do
   7423 	IFS="$lt_save_ifs"
   7424 	if test "X$pkg" = "X$p"; then
   7425 	  enable_fast_install=yes
   7426 	fi
   7427       done
   7428       IFS="$lt_save_ifs"
   7429       ;;
   7430     esac
   7431 else
   7432   enable_fast_install=yes
   7433 fi
   7434 
   7435 
   7436 
   7437 
   7438 
   7439 
   7440 
   7441 
   7442 
   7443 
   7444 
   7445 # This can be used to rebuild libtool when needed
   7446 LIBTOOL_DEPS="$ltmain"
   7447 
   7448 # Always use our own libtool.
   7449 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 
   7463 
   7464 
   7465 
   7466 
   7467 
   7468 
   7469 
   7470 
   7471 
   7472 
   7473 
   7474 
   7475 
   7476 
   7477 
   7478 
   7479 
   7480 test -z "$LN_S" && LN_S="ln -s"
   7481 
   7482 
   7483 
   7484 
   7485 
   7486 
   7487 
   7488 
   7489 
   7490 
   7491 
   7492 
   7493 
   7494 
   7495 if test -n "${ZSH_VERSION+set}" ; then
   7496    setopt NO_GLOB_SUBST
   7497 fi
   7498 
   7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   7500 $as_echo_n "checking for objdir... " >&6; }
   7501 if ${lt_cv_objdir+:} false; then :
   7502   $as_echo_n "(cached) " >&6
   7503 else
   7504   rm -f .libs 2>/dev/null
   7505 mkdir .libs 2>/dev/null
   7506 if test -d .libs; then
   7507   lt_cv_objdir=.libs
   7508 else
   7509   # MS-DOS does not allow filenames that begin with a dot.
   7510   lt_cv_objdir=_libs
   7511 fi
   7512 rmdir .libs 2>/dev/null
   7513 fi
   7514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   7515 $as_echo "$lt_cv_objdir" >&6; }
   7516 objdir=$lt_cv_objdir
   7517 
   7518 
   7519 
   7520 
   7521 
   7522 cat >>confdefs.h <<_ACEOF
   7523 #define LT_OBJDIR "$lt_cv_objdir/"
   7524 _ACEOF
   7525 
   7526 
   7527 
   7528 
   7529 case $host_os in
   7530 aix3*)
   7531   # AIX sometimes has problems with the GCC collect2 program.  For some
   7532   # reason, if we set the COLLECT_NAMES environment variable, the problems
   7533   # vanish in a puff of smoke.
   7534   if test "X${COLLECT_NAMES+set}" != Xset; then
   7535     COLLECT_NAMES=
   7536     export COLLECT_NAMES
   7537   fi
   7538   ;;
   7539 esac
   7540 
   7541 # Global variables:
   7542 ofile=libtool
   7543 can_build_shared=yes
   7544 
   7545 # All known linkers require a `.a' archive for static linking (except MSVC,
   7546 # which needs '.lib').
   7547 libext=a
   7548 
   7549 with_gnu_ld="$lt_cv_prog_gnu_ld"
   7550 
   7551 old_CC="$CC"
   7552 old_CFLAGS="$CFLAGS"
   7553 
   7554 # Set sane defaults for various variables
   7555 test -z "$CC" && CC=cc
   7556 test -z "$LTCC" && LTCC=$CC
   7557 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   7558 test -z "$LD" && LD=ld
   7559 test -z "$ac_objext" && ac_objext=o
   7560 
   7561 for cc_temp in $compiler""; do
   7562   case $cc_temp in
   7563     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   7564     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7565     \-*) ;;
   7566     *) break;;
   7567   esac
   7568 done
   7569 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   7570 
   7571 
   7572 # Only perform the check for file, if the check method requires it
   7573 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7574 case $deplibs_check_method in
   7575 file_magic*)
   7576   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7577     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   7578 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   7579 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7580   $as_echo_n "(cached) " >&6
   7581 else
   7582   case $MAGIC_CMD in
   7583 [\\/*] |  ?:[\\/]*)
   7584   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7585   ;;
   7586 *)
   7587   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7588   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7589   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7590   for ac_dir in $ac_dummy; do
   7591     IFS="$lt_save_ifs"
   7592     test -z "$ac_dir" && ac_dir=.
   7593     if test -f $ac_dir/${ac_tool_prefix}file; then
   7594       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7595       if test -n "$file_magic_test_file"; then
   7596 	case $deplibs_check_method in
   7597 	"file_magic "*)
   7598 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7599 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7600 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7601 	    $EGREP "$file_magic_regex" > /dev/null; then
   7602 	    :
   7603 	  else
   7604 	    cat <<_LT_EOF 1>&2
   7605 
   7606 *** Warning: the command libtool uses to detect shared libraries,
   7607 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7608 *** The result is that libtool may fail to recognize shared libraries
   7609 *** as such.  This will affect the creation of libtool libraries that
   7610 *** depend on shared libraries, but programs linked with such libtool
   7611 *** libraries will work regardless of this problem.  Nevertheless, you
   7612 *** may want to report the problem to your system manager and/or to
   7613 *** bug-libtool@gnu.org
   7614 
   7615 _LT_EOF
   7616 	  fi ;;
   7617 	esac
   7618       fi
   7619       break
   7620     fi
   7621   done
   7622   IFS="$lt_save_ifs"
   7623   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7624   ;;
   7625 esac
   7626 fi
   7627 
   7628 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7629 if test -n "$MAGIC_CMD"; then
   7630   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7631 $as_echo "$MAGIC_CMD" >&6; }
   7632 else
   7633   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7634 $as_echo "no" >&6; }
   7635 fi
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7642   if test -n "$ac_tool_prefix"; then
   7643     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   7644 $as_echo_n "checking for file... " >&6; }
   7645 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   7646   $as_echo_n "(cached) " >&6
   7647 else
   7648   case $MAGIC_CMD in
   7649 [\\/*] |  ?:[\\/]*)
   7650   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7651   ;;
   7652 *)
   7653   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7654   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7655   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7656   for ac_dir in $ac_dummy; do
   7657     IFS="$lt_save_ifs"
   7658     test -z "$ac_dir" && ac_dir=.
   7659     if test -f $ac_dir/file; then
   7660       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7661       if test -n "$file_magic_test_file"; then
   7662 	case $deplibs_check_method in
   7663 	"file_magic "*)
   7664 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7665 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7666 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7667 	    $EGREP "$file_magic_regex" > /dev/null; then
   7668 	    :
   7669 	  else
   7670 	    cat <<_LT_EOF 1>&2
   7671 
   7672 *** Warning: the command libtool uses to detect shared libraries,
   7673 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7674 *** The result is that libtool may fail to recognize shared libraries
   7675 *** as such.  This will affect the creation of libtool libraries that
   7676 *** depend on shared libraries, but programs linked with such libtool
   7677 *** libraries will work regardless of this problem.  Nevertheless, you
   7678 *** may want to report the problem to your system manager and/or to
   7679 *** bug-libtool@gnu.org
   7680 
   7681 _LT_EOF
   7682 	  fi ;;
   7683 	esac
   7684       fi
   7685       break
   7686     fi
   7687   done
   7688   IFS="$lt_save_ifs"
   7689   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7690   ;;
   7691 esac
   7692 fi
   7693 
   7694 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7695 if test -n "$MAGIC_CMD"; then
   7696   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   7697 $as_echo "$MAGIC_CMD" >&6; }
   7698 else
   7699   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7700 $as_echo "no" >&6; }
   7701 fi
   7702 
   7703 
   7704   else
   7705     MAGIC_CMD=:
   7706   fi
   7707 fi
   7708 
   7709   fi
   7710   ;;
   7711 esac
   7712 
   7713 # Use C for the default configuration in the libtool script
   7714 
   7715 lt_save_CC="$CC"
   7716 ac_ext=c
   7717 ac_cpp='$CPP $CPPFLAGS'
   7718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7721 
   7722 
   7723 # Source file extension for C test sources.
   7724 ac_ext=c
   7725 
   7726 # Object file extension for compiled C test sources.
   7727 objext=o
   7728 objext=$objext
   7729 
   7730 # Code to be used in simple compile tests
   7731 lt_simple_compile_test_code="int some_variable = 0;"
   7732 
   7733 # Code to be used in simple link tests
   7734 lt_simple_link_test_code='int main(){return(0);}'
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 # If no C compiler was specified, use CC.
   7743 LTCC=${LTCC-"$CC"}
   7744 
   7745 # If no C compiler flags were specified, use CFLAGS.
   7746 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7747 
   7748 # Allow CC to be a program name with arguments.
   7749 compiler=$CC
   7750 
   7751 # Save the default compiler, since it gets overwritten when the other
   7752 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7753 compiler_DEFAULT=$CC
   7754 
   7755 # save warnings/boilerplate of simple test code
   7756 ac_outfile=conftest.$ac_objext
   7757 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7758 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7759 _lt_compiler_boilerplate=`cat conftest.err`
   7760 $RM conftest*
   7761 
   7762 ac_outfile=conftest.$ac_objext
   7763 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7764 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7765 _lt_linker_boilerplate=`cat conftest.err`
   7766 $RM -r conftest*
   7767 
   7768 
   7769 if test -n "$compiler"; then
   7770 
   7771 lt_prog_compiler_no_builtin_flag=
   7772 
   7773 if test "$GCC" = yes; then
   7774   case $cc_basename in
   7775   nvcc*)
   7776     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   7777   *)
   7778     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   7779   esac
   7780 
   7781   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7782 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   7783 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   7784   $as_echo_n "(cached) " >&6
   7785 else
   7786   lt_cv_prog_compiler_rtti_exceptions=no
   7787    ac_outfile=conftest.$ac_objext
   7788    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7789    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7790    # Insert the option either (1) after the last *FLAGS variable, or
   7791    # (2) before a word containing "conftest.", or (3) at the end.
   7792    # Note that $ac_compile itself does not contain backslashes and begins
   7793    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7794    # The option is referenced via a variable to avoid confusing sed.
   7795    lt_compile=`echo "$ac_compile" | $SED \
   7796    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7797    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7798    -e 's:$: $lt_compiler_flag:'`
   7799    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   7800    (eval "$lt_compile" 2>conftest.err)
   7801    ac_status=$?
   7802    cat conftest.err >&5
   7803    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   7804    if (exit $ac_status) && test -s "$ac_outfile"; then
   7805      # The compiler can only warn and ignore the option if not recognized
   7806      # So say no if there are warnings other than the usual output.
   7807      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   7808      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7809      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7810        lt_cv_prog_compiler_rtti_exceptions=yes
   7811      fi
   7812    fi
   7813    $RM conftest*
   7814 
   7815 fi
   7816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7817 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   7818 
   7819 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7820     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7821 else
   7822     :
   7823 fi
   7824 
   7825 fi
   7826 
   7827 
   7828 
   7829 
   7830 
   7831 
   7832   lt_prog_compiler_wl=
   7833 lt_prog_compiler_pic=
   7834 lt_prog_compiler_static=
   7835 
   7836 
   7837   if test "$GCC" = yes; then
   7838     lt_prog_compiler_wl='-Wl,'
   7839     lt_prog_compiler_static='-static'
   7840 
   7841     case $host_os in
   7842       aix*)
   7843       # All AIX code is PIC.
   7844       if test "$host_cpu" = ia64; then
   7845 	# AIX 5 now supports IA64 processor
   7846 	lt_prog_compiler_static='-Bstatic'
   7847       fi
   7848       ;;
   7849 
   7850     amigaos*)
   7851       case $host_cpu in
   7852       powerpc)
   7853             # see comment about AmigaOS4 .so support
   7854             lt_prog_compiler_pic='-fPIC'
   7855         ;;
   7856       m68k)
   7857             # FIXME: we need at least 68020 code to build shared libraries, but
   7858             # adding the `-m68020' flag to GCC prevents building anything better,
   7859             # like `-m68040'.
   7860             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7861         ;;
   7862       esac
   7863       ;;
   7864 
   7865     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7866       # PIC is the default for these OSes.
   7867       ;;
   7868 
   7869     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7870       # This hack is so that the source file can tell whether it is being
   7871       # built for inclusion in a dll (and should export symbols for example).
   7872       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7873       # (--disable-auto-import) libraries
   7874       lt_prog_compiler_pic='-DDLL_EXPORT'
   7875       ;;
   7876 
   7877     darwin* | rhapsody*)
   7878       # PIC is the default on this platform
   7879       # Common symbols not allowed in MH_DYLIB files
   7880       lt_prog_compiler_pic='-fno-common'
   7881       ;;
   7882 
   7883     haiku*)
   7884       # PIC is the default for Haiku.
   7885       # The "-static" flag exists, but is broken.
   7886       lt_prog_compiler_static=
   7887       ;;
   7888 
   7889     hpux*)
   7890       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   7891       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   7892       # sets the default TLS model and affects inlining.
   7893       case $host_cpu in
   7894       hppa*64*)
   7895 	# +Z the default
   7896 	;;
   7897       *)
   7898 	lt_prog_compiler_pic='-fPIC'
   7899 	;;
   7900       esac
   7901       ;;
   7902 
   7903     interix[3-9]*)
   7904       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7905       # Instead, we relocate shared libraries at runtime.
   7906       ;;
   7907 
   7908     msdosdjgpp*)
   7909       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7910       # on systems that don't support them.
   7911       lt_prog_compiler_can_build_shared=no
   7912       enable_shared=no
   7913       ;;
   7914 
   7915     *nto* | *qnx*)
   7916       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7917       # it will coredump.
   7918       lt_prog_compiler_pic='-fPIC -shared'
   7919       ;;
   7920 
   7921     sysv4*MP*)
   7922       if test -d /usr/nec; then
   7923 	lt_prog_compiler_pic=-Kconform_pic
   7924       fi
   7925       ;;
   7926 
   7927     *)
   7928       lt_prog_compiler_pic='-fPIC'
   7929       ;;
   7930     esac
   7931 
   7932     case $cc_basename in
   7933     nvcc*) # Cuda Compiler Driver 2.2
   7934       lt_prog_compiler_wl='-Xlinker '
   7935       if test -n "$lt_prog_compiler_pic"; then
   7936         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   7937       fi
   7938       ;;
   7939     esac
   7940   else
   7941     # PORTME Check for flag to pass linker flags through the system compiler.
   7942     case $host_os in
   7943     aix*)
   7944       lt_prog_compiler_wl='-Wl,'
   7945       if test "$host_cpu" = ia64; then
   7946 	# AIX 5 now supports IA64 processor
   7947 	lt_prog_compiler_static='-Bstatic'
   7948       else
   7949 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7950       fi
   7951       ;;
   7952 
   7953     mingw* | cygwin* | pw32* | os2* | cegcc*)
   7954       # This hack is so that the source file can tell whether it is being
   7955       # built for inclusion in a dll (and should export symbols for example).
   7956       lt_prog_compiler_pic='-DDLL_EXPORT'
   7957       ;;
   7958 
   7959     hpux9* | hpux10* | hpux11*)
   7960       lt_prog_compiler_wl='-Wl,'
   7961       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7962       # not for PA HP-UX.
   7963       case $host_cpu in
   7964       hppa*64*|ia64*)
   7965 	# +Z the default
   7966 	;;
   7967       *)
   7968 	lt_prog_compiler_pic='+Z'
   7969 	;;
   7970       esac
   7971       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7972       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7973       ;;
   7974 
   7975     irix5* | irix6* | nonstopux*)
   7976       lt_prog_compiler_wl='-Wl,'
   7977       # PIC (with -KPIC) is the default.
   7978       lt_prog_compiler_static='-non_shared'
   7979       ;;
   7980 
   7981     linux* | k*bsd*-gnu | kopensolaris*-gnu)
   7982       case $cc_basename in
   7983       # old Intel for x86_64 which still supported -KPIC.
   7984       ecc*)
   7985 	lt_prog_compiler_wl='-Wl,'
   7986 	lt_prog_compiler_pic='-KPIC'
   7987 	lt_prog_compiler_static='-static'
   7988         ;;
   7989       # icc used to be incompatible with GCC.
   7990       # ICC 10 doesn't accept -KPIC any more.
   7991       icc* | ifort*)
   7992 	lt_prog_compiler_wl='-Wl,'
   7993 	lt_prog_compiler_pic='-fPIC'
   7994 	lt_prog_compiler_static='-static'
   7995         ;;
   7996       # Lahey Fortran 8.1.
   7997       lf95*)
   7998 	lt_prog_compiler_wl='-Wl,'
   7999 	lt_prog_compiler_pic='--shared'
   8000 	lt_prog_compiler_static='--static'
   8001 	;;
   8002       nagfor*)
   8003 	# NAG Fortran compiler
   8004 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8005 	lt_prog_compiler_pic='-PIC'
   8006 	lt_prog_compiler_static='-Bstatic'
   8007 	;;
   8008       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8009         # Portland Group compilers (*not* the Pentium gcc compiler,
   8010 	# which looks to be a dead project)
   8011 	lt_prog_compiler_wl='-Wl,'
   8012 	lt_prog_compiler_pic='-fpic'
   8013 	lt_prog_compiler_static='-Bstatic'
   8014         ;;
   8015       ccc*)
   8016         lt_prog_compiler_wl='-Wl,'
   8017         # All Alpha code is PIC.
   8018         lt_prog_compiler_static='-non_shared'
   8019         ;;
   8020       xl* | bgxl* | bgf* | mpixl*)
   8021 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8022 	lt_prog_compiler_wl='-Wl,'
   8023 	lt_prog_compiler_pic='-qpic'
   8024 	lt_prog_compiler_static='-qstaticlink'
   8025 	;;
   8026       *)
   8027 	case `$CC -V 2>&1 | sed 5q` in
   8028 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8029 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8030 	  lt_prog_compiler_pic='-KPIC'
   8031 	  lt_prog_compiler_static='-Bstatic'
   8032 	  lt_prog_compiler_wl=''
   8033 	  ;;
   8034 	*Sun\ F* | *Sun*Fortran*)
   8035 	  lt_prog_compiler_pic='-KPIC'
   8036 	  lt_prog_compiler_static='-Bstatic'
   8037 	  lt_prog_compiler_wl='-Qoption ld '
   8038 	  ;;
   8039 	*Sun\ C*)
   8040 	  # Sun C 5.9
   8041 	  lt_prog_compiler_pic='-KPIC'
   8042 	  lt_prog_compiler_static='-Bstatic'
   8043 	  lt_prog_compiler_wl='-Wl,'
   8044 	  ;;
   8045         *Intel*\ [CF]*Compiler*)
   8046 	  lt_prog_compiler_wl='-Wl,'
   8047 	  lt_prog_compiler_pic='-fPIC'
   8048 	  lt_prog_compiler_static='-static'
   8049 	  ;;
   8050 	*Portland\ Group*)
   8051 	  lt_prog_compiler_wl='-Wl,'
   8052 	  lt_prog_compiler_pic='-fpic'
   8053 	  lt_prog_compiler_static='-Bstatic'
   8054 	  ;;
   8055 	esac
   8056 	;;
   8057       esac
   8058       ;;
   8059 
   8060     newsos6)
   8061       lt_prog_compiler_pic='-KPIC'
   8062       lt_prog_compiler_static='-Bstatic'
   8063       ;;
   8064 
   8065     *nto* | *qnx*)
   8066       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8067       # it will coredump.
   8068       lt_prog_compiler_pic='-fPIC -shared'
   8069       ;;
   8070 
   8071     osf3* | osf4* | osf5*)
   8072       lt_prog_compiler_wl='-Wl,'
   8073       # All OSF/1 code is PIC.
   8074       lt_prog_compiler_static='-non_shared'
   8075       ;;
   8076 
   8077     rdos*)
   8078       lt_prog_compiler_static='-non_shared'
   8079       ;;
   8080 
   8081     solaris*)
   8082       lt_prog_compiler_pic='-KPIC'
   8083       lt_prog_compiler_static='-Bstatic'
   8084       case $cc_basename in
   8085       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8086 	lt_prog_compiler_wl='-Qoption ld ';;
   8087       *)
   8088 	lt_prog_compiler_wl='-Wl,';;
   8089       esac
   8090       ;;
   8091 
   8092     sunos4*)
   8093       lt_prog_compiler_wl='-Qoption ld '
   8094       lt_prog_compiler_pic='-PIC'
   8095       lt_prog_compiler_static='-Bstatic'
   8096       ;;
   8097 
   8098     sysv4 | sysv4.2uw2* | sysv4.3*)
   8099       lt_prog_compiler_wl='-Wl,'
   8100       lt_prog_compiler_pic='-KPIC'
   8101       lt_prog_compiler_static='-Bstatic'
   8102       ;;
   8103 
   8104     sysv4*MP*)
   8105       if test -d /usr/nec ;then
   8106 	lt_prog_compiler_pic='-Kconform_pic'
   8107 	lt_prog_compiler_static='-Bstatic'
   8108       fi
   8109       ;;
   8110 
   8111     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8112       lt_prog_compiler_wl='-Wl,'
   8113       lt_prog_compiler_pic='-KPIC'
   8114       lt_prog_compiler_static='-Bstatic'
   8115       ;;
   8116 
   8117     unicos*)
   8118       lt_prog_compiler_wl='-Wl,'
   8119       lt_prog_compiler_can_build_shared=no
   8120       ;;
   8121 
   8122     uts4*)
   8123       lt_prog_compiler_pic='-pic'
   8124       lt_prog_compiler_static='-Bstatic'
   8125       ;;
   8126 
   8127     *)
   8128       lt_prog_compiler_can_build_shared=no
   8129       ;;
   8130     esac
   8131   fi
   8132 
   8133 case $host_os in
   8134   # For platforms which do not support PIC, -DPIC is meaningless:
   8135   *djgpp*)
   8136     lt_prog_compiler_pic=
   8137     ;;
   8138   *)
   8139     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8140     ;;
   8141 esac
   8142 
   8143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8144 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8145 if ${lt_cv_prog_compiler_pic+:} false; then :
   8146   $as_echo_n "(cached) " >&6
   8147 else
   8148   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8149 fi
   8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8151 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8152 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8153 
   8154 #
   8155 # Check to make sure the PIC flag actually works.
   8156 #
   8157 if test -n "$lt_prog_compiler_pic"; then
   8158   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8159 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8160 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8161   $as_echo_n "(cached) " >&6
   8162 else
   8163   lt_cv_prog_compiler_pic_works=no
   8164    ac_outfile=conftest.$ac_objext
   8165    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8166    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   8167    # Insert the option either (1) after the last *FLAGS variable, or
   8168    # (2) before a word containing "conftest.", or (3) at the end.
   8169    # Note that $ac_compile itself does not contain backslashes and begins
   8170    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8171    # The option is referenced via a variable to avoid confusing sed.
   8172    lt_compile=`echo "$ac_compile" | $SED \
   8173    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8174    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8175    -e 's:$: $lt_compiler_flag:'`
   8176    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8177    (eval "$lt_compile" 2>conftest.err)
   8178    ac_status=$?
   8179    cat conftest.err >&5
   8180    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8181    if (exit $ac_status) && test -s "$ac_outfile"; then
   8182      # The compiler can only warn and ignore the option if not recognized
   8183      # So say no if there are warnings other than the usual output.
   8184      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8185      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8186      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8187        lt_cv_prog_compiler_pic_works=yes
   8188      fi
   8189    fi
   8190    $RM conftest*
   8191 
   8192 fi
   8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8194 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8195 
   8196 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   8197     case $lt_prog_compiler_pic in
   8198      "" | " "*) ;;
   8199      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8200      esac
   8201 else
   8202     lt_prog_compiler_pic=
   8203      lt_prog_compiler_can_build_shared=no
   8204 fi
   8205 
   8206 fi
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 #
   8219 # Check to make sure the static flag actually works.
   8220 #
   8221 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8223 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8224 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8225   $as_echo_n "(cached) " >&6
   8226 else
   8227   lt_cv_prog_compiler_static_works=no
   8228    save_LDFLAGS="$LDFLAGS"
   8229    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8230    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8231    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8232      # The linker can only warn and ignore the option if not recognized
   8233      # So say no if there are warnings
   8234      if test -s conftest.err; then
   8235        # Append any errors to the config.log.
   8236        cat conftest.err 1>&5
   8237        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8238        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8239        if diff conftest.exp conftest.er2 >/dev/null; then
   8240          lt_cv_prog_compiler_static_works=yes
   8241        fi
   8242      else
   8243        lt_cv_prog_compiler_static_works=yes
   8244      fi
   8245    fi
   8246    $RM -r conftest*
   8247    LDFLAGS="$save_LDFLAGS"
   8248 
   8249 fi
   8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8251 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8252 
   8253 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   8254     :
   8255 else
   8256     lt_prog_compiler_static=
   8257 fi
   8258 
   8259 
   8260 
   8261 
   8262 
   8263 
   8264 
   8265   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8266 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8267 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8268   $as_echo_n "(cached) " >&6
   8269 else
   8270   lt_cv_prog_compiler_c_o=no
   8271    $RM -r conftest 2>/dev/null
   8272    mkdir conftest
   8273    cd conftest
   8274    mkdir out
   8275    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8276 
   8277    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8278    # Insert the option either (1) after the last *FLAGS variable, or
   8279    # (2) before a word containing "conftest.", or (3) at the end.
   8280    # Note that $ac_compile itself does not contain backslashes and begins
   8281    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8282    lt_compile=`echo "$ac_compile" | $SED \
   8283    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8284    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8285    -e 's:$: $lt_compiler_flag:'`
   8286    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8287    (eval "$lt_compile" 2>out/conftest.err)
   8288    ac_status=$?
   8289    cat out/conftest.err >&5
   8290    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8291    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8292    then
   8293      # The compiler can only warn and ignore the option if not recognized
   8294      # So say no if there are warnings
   8295      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8296      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8297      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8298        lt_cv_prog_compiler_c_o=yes
   8299      fi
   8300    fi
   8301    chmod u+w . 2>&5
   8302    $RM conftest*
   8303    # SGI C++ compiler will create directory out/ii_files/ for
   8304    # template instantiation
   8305    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8306    $RM out/* && rmdir out
   8307    cd ..
   8308    $RM -r conftest
   8309    $RM conftest*
   8310 
   8311 fi
   8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8313 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8321 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8322 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8323   $as_echo_n "(cached) " >&6
   8324 else
   8325   lt_cv_prog_compiler_c_o=no
   8326    $RM -r conftest 2>/dev/null
   8327    mkdir conftest
   8328    cd conftest
   8329    mkdir out
   8330    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8331 
   8332    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8333    # Insert the option either (1) after the last *FLAGS variable, or
   8334    # (2) before a word containing "conftest.", or (3) at the end.
   8335    # Note that $ac_compile itself does not contain backslashes and begins
   8336    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8337    lt_compile=`echo "$ac_compile" | $SED \
   8338    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8339    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8340    -e 's:$: $lt_compiler_flag:'`
   8341    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8342    (eval "$lt_compile" 2>out/conftest.err)
   8343    ac_status=$?
   8344    cat out/conftest.err >&5
   8345    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8346    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8347    then
   8348      # The compiler can only warn and ignore the option if not recognized
   8349      # So say no if there are warnings
   8350      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8351      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8352      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8353        lt_cv_prog_compiler_c_o=yes
   8354      fi
   8355    fi
   8356    chmod u+w . 2>&5
   8357    $RM conftest*
   8358    # SGI C++ compiler will create directory out/ii_files/ for
   8359    # template instantiation
   8360    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8361    $RM out/* && rmdir out
   8362    cd ..
   8363    $RM -r conftest
   8364    $RM conftest*
   8365 
   8366 fi
   8367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8368 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8369 
   8370 
   8371 
   8372 
   8373 hard_links="nottested"
   8374 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   8375   # do not overwrite the value of need_locks provided by the user
   8376   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8377 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8378   hard_links=yes
   8379   $RM conftest*
   8380   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8381   touch conftest.a
   8382   ln conftest.a conftest.b 2>&5 || hard_links=no
   8383   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8385 $as_echo "$hard_links" >&6; }
   8386   if test "$hard_links" = no; then
   8387     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   8388 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   8389     need_locks=warn
   8390   fi
   8391 else
   8392   need_locks=no
   8393 fi
   8394 
   8395 
   8396 
   8397 
   8398 
   8399 
   8400   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8401 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8402 
   8403   runpath_var=
   8404   allow_undefined_flag=
   8405   always_export_symbols=no
   8406   archive_cmds=
   8407   archive_expsym_cmds=
   8408   compiler_needs_object=no
   8409   enable_shared_with_static_runtimes=no
   8410   export_dynamic_flag_spec=
   8411   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8412   hardcode_automatic=no
   8413   hardcode_direct=no
   8414   hardcode_direct_absolute=no
   8415   hardcode_libdir_flag_spec=
   8416   hardcode_libdir_separator=
   8417   hardcode_minus_L=no
   8418   hardcode_shlibpath_var=unsupported
   8419   inherit_rpath=no
   8420   link_all_deplibs=unknown
   8421   module_cmds=
   8422   module_expsym_cmds=
   8423   old_archive_from_new_cmds=
   8424   old_archive_from_expsyms_cmds=
   8425   thread_safe_flag_spec=
   8426   whole_archive_flag_spec=
   8427   # include_expsyms should be a list of space-separated symbols to be *always*
   8428   # included in the symbol list
   8429   include_expsyms=
   8430   # exclude_expsyms can be an extended regexp of symbols to exclude
   8431   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   8432   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   8433   # as well as any symbol that contains `d'.
   8434   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   8435   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   8436   # platforms (ab)use it in PIC code, but their linkers get confused if
   8437   # the symbol is explicitly referenced.  Since portable code cannot
   8438   # rely on this symbol name, it's probably fine to never include it in
   8439   # preloaded symbol tables.
   8440   # Exclude shared library initialization/finalization symbols.
   8441   extract_expsyms_cmds=
   8442 
   8443   case $host_os in
   8444   cygwin* | mingw* | pw32* | cegcc*)
   8445     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   8446     # When not using gcc, we currently assume that we are using
   8447     # Microsoft Visual C++.
   8448     if test "$GCC" != yes; then
   8449       with_gnu_ld=no
   8450     fi
   8451     ;;
   8452   interix*)
   8453     # we just hope/assume this is gcc and not c89 (= MSVC++)
   8454     with_gnu_ld=yes
   8455     ;;
   8456   openbsd*)
   8457     with_gnu_ld=no
   8458     ;;
   8459   esac
   8460 
   8461   ld_shlibs=yes
   8462 
   8463   # On some targets, GNU ld is compatible enough with the native linker
   8464   # that we're better off using the native interface for both.
   8465   lt_use_gnu_ld_interface=no
   8466   if test "$with_gnu_ld" = yes; then
   8467     case $host_os in
   8468       aix*)
   8469 	# The AIX port of GNU ld has always aspired to compatibility
   8470 	# with the native linker.  However, as the warning in the GNU ld
   8471 	# block says, versions before 2.19.5* couldn't really create working
   8472 	# shared libraries, regardless of the interface used.
   8473 	case `$LD -v 2>&1` in
   8474 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   8475 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   8476 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   8477 	  *)
   8478 	    lt_use_gnu_ld_interface=yes
   8479 	    ;;
   8480 	esac
   8481 	;;
   8482       *)
   8483 	lt_use_gnu_ld_interface=yes
   8484 	;;
   8485     esac
   8486   fi
   8487 
   8488   if test "$lt_use_gnu_ld_interface" = yes; then
   8489     # If archive_cmds runs LD, not CC, wlarc should be empty
   8490     wlarc='${wl}'
   8491 
   8492     # Set some defaults for GNU ld with shared library support. These
   8493     # are reset later if shared libraries are not supported. Putting them
   8494     # here allows them to be overridden if necessary.
   8495     runpath_var=LD_RUN_PATH
   8496     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8497     export_dynamic_flag_spec='${wl}--export-dynamic'
   8498     # ancient GNU ld didn't support --whole-archive et. al.
   8499     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   8500       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   8501     else
   8502       whole_archive_flag_spec=
   8503     fi
   8504     supports_anon_versioning=no
   8505     case `$LD -v 2>&1` in
   8506       *GNU\ gold*) supports_anon_versioning=yes ;;
   8507       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   8508       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   8509       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   8510       *\ 2.11.*) ;; # other 2.11 versions
   8511       *) supports_anon_versioning=yes ;;
   8512     esac
   8513 
   8514     # See if GNU ld supports shared libraries.
   8515     case $host_os in
   8516     aix[3-9]*)
   8517       # On AIX/PPC, the GNU linker is very broken
   8518       if test "$host_cpu" != ia64; then
   8519 	ld_shlibs=no
   8520 	cat <<_LT_EOF 1>&2
   8521 
   8522 *** Warning: the GNU linker, at least up to release 2.19, is reported
   8523 *** to be unable to reliably create shared libraries on AIX.
   8524 *** Therefore, libtool is disabling shared libraries support.  If you
   8525 *** really care for shared libraries, you may want to install binutils
   8526 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   8527 *** You will then need to restart the configuration process.
   8528 
   8529 _LT_EOF
   8530       fi
   8531       ;;
   8532 
   8533     amigaos*)
   8534       case $host_cpu in
   8535       powerpc)
   8536             # see comment about AmigaOS4 .so support
   8537             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8538             archive_expsym_cmds=''
   8539         ;;
   8540       m68k)
   8541             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)'
   8542             hardcode_libdir_flag_spec='-L$libdir'
   8543             hardcode_minus_L=yes
   8544         ;;
   8545       esac
   8546       ;;
   8547 
   8548     beos*)
   8549       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8550 	allow_undefined_flag=unsupported
   8551 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   8552 	# support --undefined.  This deserves some investigation.  FIXME
   8553 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8554       else
   8555 	ld_shlibs=no
   8556       fi
   8557       ;;
   8558 
   8559     cygwin* | mingw* | pw32* | cegcc*)
   8560       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   8561       # as there is no search path for DLLs.
   8562       hardcode_libdir_flag_spec='-L$libdir'
   8563       export_dynamic_flag_spec='${wl}--export-all-symbols'
   8564       allow_undefined_flag=unsupported
   8565       always_export_symbols=no
   8566       enable_shared_with_static_runtimes=yes
   8567       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'
   8568       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   8569 
   8570       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   8571         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8572 	# If the export-symbols file already is a .def file (1st line
   8573 	# is EXPORTS), use it as is; otherwise, prepend...
   8574 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   8575 	  cp $export_symbols $output_objdir/$soname.def;
   8576 	else
   8577 	  echo EXPORTS > $output_objdir/$soname.def;
   8578 	  cat $export_symbols >> $output_objdir/$soname.def;
   8579 	fi~
   8580 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   8581       else
   8582 	ld_shlibs=no
   8583       fi
   8584       ;;
   8585 
   8586     haiku*)
   8587       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8588       link_all_deplibs=yes
   8589       ;;
   8590 
   8591     interix[3-9]*)
   8592       hardcode_direct=no
   8593       hardcode_shlibpath_var=no
   8594       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8595       export_dynamic_flag_spec='${wl}-E'
   8596       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   8597       # Instead, shared libraries are loaded at an image base (0x10000000 by
   8598       # default) and relocated if they conflict, which is a slow very memory
   8599       # consuming and fragmenting process.  To avoid this, we pick a random,
   8600       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   8601       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   8602       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   8603       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'
   8604       ;;
   8605 
   8606     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   8607       tmp_diet=no
   8608       if test "$host_os" = linux-dietlibc; then
   8609 	case $cc_basename in
   8610 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   8611 	esac
   8612       fi
   8613       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   8614 	 && test "$tmp_diet" = no
   8615       then
   8616 	tmp_addflag=' $pic_flag'
   8617 	tmp_sharedflag='-shared'
   8618 	case $cc_basename,$host_cpu in
   8619         pgcc*)				# Portland Group C compiler
   8620 	  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'
   8621 	  tmp_addflag=' $pic_flag'
   8622 	  ;;
   8623 	pgf77* | pgf90* | pgf95* | pgfortran*)
   8624 					# Portland Group f77 and f90 compilers
   8625 	  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'
   8626 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   8627 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   8628 	  tmp_addflag=' -i_dynamic' ;;
   8629 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   8630 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   8631 	ifc* | ifort*)			# Intel Fortran compiler
   8632 	  tmp_addflag=' -nofor_main' ;;
   8633 	lf95*)				# Lahey Fortran 8.1
   8634 	  whole_archive_flag_spec=
   8635 	  tmp_sharedflag='--shared' ;;
   8636 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   8637 	  tmp_sharedflag='-qmkshrobj'
   8638 	  tmp_addflag= ;;
   8639 	nvcc*)	# Cuda Compiler Driver 2.2
   8640 	  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'
   8641 	  compiler_needs_object=yes
   8642 	  ;;
   8643 	esac
   8644 	case `$CC -V 2>&1 | sed 5q` in
   8645 	*Sun\ C*)			# Sun C 5.9
   8646 	  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'
   8647 	  compiler_needs_object=yes
   8648 	  tmp_sharedflag='-G' ;;
   8649 	*Sun\ F*)			# Sun Fortran 8.3
   8650 	  tmp_sharedflag='-G' ;;
   8651 	esac
   8652 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8653 
   8654         if test "x$supports_anon_versioning" = xyes; then
   8655           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8656 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8657 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   8658 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   8659         fi
   8660 
   8661 	case $cc_basename in
   8662 	xlf* | bgf* | bgxlf* | mpixlf*)
   8663 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   8664 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   8665 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8666 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   8667 	  if test "x$supports_anon_versioning" = xyes; then
   8668 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   8669 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   8670 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   8671 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   8672 	  fi
   8673 	  ;;
   8674 	esac
   8675       else
   8676         ld_shlibs=no
   8677       fi
   8678       ;;
   8679 
   8680     netbsd*)
   8681       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8682 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   8683 	wlarc=
   8684       else
   8685 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8686 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8687       fi
   8688       ;;
   8689 
   8690     solaris*)
   8691       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8692 	ld_shlibs=no
   8693 	cat <<_LT_EOF 1>&2
   8694 
   8695 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8696 *** create shared libraries on Solaris systems.  Therefore, libtool
   8697 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8698 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8699 *** your PATH or compiler configuration so that the native linker is
   8700 *** used, and then restart.
   8701 
   8702 _LT_EOF
   8703       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8704 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8705 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8706       else
   8707 	ld_shlibs=no
   8708       fi
   8709       ;;
   8710 
   8711     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8712       case `$LD -v 2>&1` in
   8713         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8714 	ld_shlibs=no
   8715 	cat <<_LT_EOF 1>&2
   8716 
   8717 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8718 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8719 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8720 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8721 *** your PATH or compiler configuration so that the native linker is
   8722 *** used, and then restart.
   8723 
   8724 _LT_EOF
   8725 	;;
   8726 	*)
   8727 	  # For security reasons, it is highly recommended that you always
   8728 	  # use absolute paths for naming shared libraries, and exclude the
   8729 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8730 	  # requires that you compile everything twice, which is a pain.
   8731 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8732 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8733 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8734 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8735 	  else
   8736 	    ld_shlibs=no
   8737 	  fi
   8738 	;;
   8739       esac
   8740       ;;
   8741 
   8742     sunos4*)
   8743       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8744       wlarc=
   8745       hardcode_direct=yes
   8746       hardcode_shlibpath_var=no
   8747       ;;
   8748 
   8749     *)
   8750       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8751 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8752 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8753       else
   8754 	ld_shlibs=no
   8755       fi
   8756       ;;
   8757     esac
   8758 
   8759     if test "$ld_shlibs" = no; then
   8760       runpath_var=
   8761       hardcode_libdir_flag_spec=
   8762       export_dynamic_flag_spec=
   8763       whole_archive_flag_spec=
   8764     fi
   8765   else
   8766     # PORTME fill in a description of your system's linker (not GNU ld)
   8767     case $host_os in
   8768     aix3*)
   8769       allow_undefined_flag=unsupported
   8770       always_export_symbols=yes
   8771       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'
   8772       # Note: this linker hardcodes the directories in LIBPATH if there
   8773       # are no directories specified by -L.
   8774       hardcode_minus_L=yes
   8775       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8776 	# Neither direct hardcoding nor static linking is supported with a
   8777 	# broken collect2.
   8778 	hardcode_direct=unsupported
   8779       fi
   8780       ;;
   8781 
   8782     aix[4-9]*)
   8783       if test "$host_cpu" = ia64; then
   8784 	# On IA64, the linker does run time linking by default, so we don't
   8785 	# have to do anything special.
   8786 	aix_use_runtimelinking=no
   8787 	exp_sym_flag='-Bexport'
   8788 	no_entry_flag=""
   8789       else
   8790 	# If we're using GNU nm, then we don't want the "-C" option.
   8791 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8792 	# Also, AIX nm treats weak defined symbols like other global
   8793 	# defined symbols, whereas GNU nm marks them as "W".
   8794 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8795 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8796 	else
   8797 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8798 	fi
   8799 	aix_use_runtimelinking=no
   8800 
   8801 	# Test if we are trying to use run time linking or normal
   8802 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8803 	# need to do runtime linking.
   8804 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8805 	  for ld_flag in $LDFLAGS; do
   8806 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8807 	    aix_use_runtimelinking=yes
   8808 	    break
   8809 	  fi
   8810 	  done
   8811 	  ;;
   8812 	esac
   8813 
   8814 	exp_sym_flag='-bexport'
   8815 	no_entry_flag='-bnoentry'
   8816       fi
   8817 
   8818       # When large executables or shared objects are built, AIX ld can
   8819       # have problems creating the table of contents.  If linking a library
   8820       # or program results in "error TOC overflow" add -mminimal-toc to
   8821       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8822       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8823 
   8824       archive_cmds=''
   8825       hardcode_direct=yes
   8826       hardcode_direct_absolute=yes
   8827       hardcode_libdir_separator=':'
   8828       link_all_deplibs=yes
   8829       file_list_spec='${wl}-f,'
   8830 
   8831       if test "$GCC" = yes; then
   8832 	case $host_os in aix4.[012]|aix4.[012].*)
   8833 	# We only want to do this on AIX 4.2 and lower, the check
   8834 	# below for broken collect2 doesn't work under 4.3+
   8835 	  collect2name=`${CC} -print-prog-name=collect2`
   8836 	  if test -f "$collect2name" &&
   8837 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8838 	  then
   8839 	  # We have reworked collect2
   8840 	  :
   8841 	  else
   8842 	  # We have old collect2
   8843 	  hardcode_direct=unsupported
   8844 	  # It fails to find uninstalled libraries when the uninstalled
   8845 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8846 	  # to unsupported forces relinking
   8847 	  hardcode_minus_L=yes
   8848 	  hardcode_libdir_flag_spec='-L$libdir'
   8849 	  hardcode_libdir_separator=
   8850 	  fi
   8851 	  ;;
   8852 	esac
   8853 	shared_flag='-shared'
   8854 	if test "$aix_use_runtimelinking" = yes; then
   8855 	  shared_flag="$shared_flag "'${wl}-G'
   8856 	fi
   8857       else
   8858 	# not using gcc
   8859 	if test "$host_cpu" = ia64; then
   8860 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8861 	# chokes on -Wl,-G. The following line is correct:
   8862 	  shared_flag='-G'
   8863 	else
   8864 	  if test "$aix_use_runtimelinking" = yes; then
   8865 	    shared_flag='${wl}-G'
   8866 	  else
   8867 	    shared_flag='${wl}-bM:SRE'
   8868 	  fi
   8869 	fi
   8870       fi
   8871 
   8872       export_dynamic_flag_spec='${wl}-bexpall'
   8873       # It seems that -bexpall does not export symbols beginning with
   8874       # underscore (_), so it is better to generate a list of symbols to export.
   8875       always_export_symbols=yes
   8876       if test "$aix_use_runtimelinking" = yes; then
   8877 	# Warning - without using the other runtime loading flags (-brtl),
   8878 	# -berok will link without error, but may produce a broken library.
   8879 	allow_undefined_flag='-berok'
   8880         # Determine the default libpath from the value encoded in an
   8881         # empty executable.
   8882         if test "${lt_cv_aix_libpath+set}" = set; then
   8883   aix_libpath=$lt_cv_aix_libpath
   8884 else
   8885   if ${lt_cv_aix_libpath_+:} false; then :
   8886   $as_echo_n "(cached) " >&6
   8887 else
   8888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8889 /* end confdefs.h.  */
   8890 
   8891 int
   8892 main ()
   8893 {
   8894 
   8895   ;
   8896   return 0;
   8897 }
   8898 _ACEOF
   8899 if ac_fn_c_try_link "$LINENO"; then :
   8900 
   8901   lt_aix_libpath_sed='
   8902       /Import File Strings/,/^$/ {
   8903 	  /^0/ {
   8904 	      s/^0  *\([^ ]*\) *$/\1/
   8905 	      p
   8906 	  }
   8907       }'
   8908   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8909   # Check for a 64-bit object if we didn't find anything.
   8910   if test -z "$lt_cv_aix_libpath_"; then
   8911     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8912   fi
   8913 fi
   8914 rm -f core conftest.err conftest.$ac_objext \
   8915     conftest$ac_exeext conftest.$ac_ext
   8916   if test -z "$lt_cv_aix_libpath_"; then
   8917     lt_cv_aix_libpath_="/usr/lib:/lib"
   8918   fi
   8919 
   8920 fi
   8921 
   8922   aix_libpath=$lt_cv_aix_libpath_
   8923 fi
   8924 
   8925         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8926         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8927       else
   8928 	if test "$host_cpu" = ia64; then
   8929 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8930 	  allow_undefined_flag="-z nodefs"
   8931 	  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"
   8932 	else
   8933 	 # Determine the default libpath from the value encoded in an
   8934 	 # empty executable.
   8935 	 if test "${lt_cv_aix_libpath+set}" = set; then
   8936   aix_libpath=$lt_cv_aix_libpath
   8937 else
   8938   if ${lt_cv_aix_libpath_+:} false; then :
   8939   $as_echo_n "(cached) " >&6
   8940 else
   8941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8942 /* end confdefs.h.  */
   8943 
   8944 int
   8945 main ()
   8946 {
   8947 
   8948   ;
   8949   return 0;
   8950 }
   8951 _ACEOF
   8952 if ac_fn_c_try_link "$LINENO"; then :
   8953 
   8954   lt_aix_libpath_sed='
   8955       /Import File Strings/,/^$/ {
   8956 	  /^0/ {
   8957 	      s/^0  *\([^ ]*\) *$/\1/
   8958 	      p
   8959 	  }
   8960       }'
   8961   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8962   # Check for a 64-bit object if we didn't find anything.
   8963   if test -z "$lt_cv_aix_libpath_"; then
   8964     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8965   fi
   8966 fi
   8967 rm -f core conftest.err conftest.$ac_objext \
   8968     conftest$ac_exeext conftest.$ac_ext
   8969   if test -z "$lt_cv_aix_libpath_"; then
   8970     lt_cv_aix_libpath_="/usr/lib:/lib"
   8971   fi
   8972 
   8973 fi
   8974 
   8975   aix_libpath=$lt_cv_aix_libpath_
   8976 fi
   8977 
   8978 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8979 	  # Warning - without using the other run time loading flags,
   8980 	  # -berok will link without error, but may produce a broken library.
   8981 	  no_undefined_flag=' ${wl}-bernotok'
   8982 	  allow_undefined_flag=' ${wl}-berok'
   8983 	  if test "$with_gnu_ld" = yes; then
   8984 	    # We only use this code for GNU lds that support --whole-archive.
   8985 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   8986 	  else
   8987 	    # Exported symbols can be pulled into shared objects from archives
   8988 	    whole_archive_flag_spec='$convenience'
   8989 	  fi
   8990 	  archive_cmds_need_lc=yes
   8991 	  # This is similar to how AIX traditionally builds its shared libraries.
   8992 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   8993 	fi
   8994       fi
   8995       ;;
   8996 
   8997     amigaos*)
   8998       case $host_cpu in
   8999       powerpc)
   9000             # see comment about AmigaOS4 .so support
   9001             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   9002             archive_expsym_cmds=''
   9003         ;;
   9004       m68k)
   9005             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)'
   9006             hardcode_libdir_flag_spec='-L$libdir'
   9007             hardcode_minus_L=yes
   9008         ;;
   9009       esac
   9010       ;;
   9011 
   9012     bsdi[45]*)
   9013       export_dynamic_flag_spec=-rdynamic
   9014       ;;
   9015 
   9016     cygwin* | mingw* | pw32* | cegcc*)
   9017       # When not using gcc, we currently assume that we are using
   9018       # Microsoft Visual C++.
   9019       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9020       # no search path for DLLs.
   9021       case $cc_basename in
   9022       cl*)
   9023 	# Native MSVC
   9024 	hardcode_libdir_flag_spec=' '
   9025 	allow_undefined_flag=unsupported
   9026 	always_export_symbols=yes
   9027 	file_list_spec='@'
   9028 	# Tell ltmain to make .lib files, not .a files.
   9029 	libext=lib
   9030 	# Tell ltmain to make .dll files, not .so files.
   9031 	shrext_cmds=".dll"
   9032 	# FIXME: Setting linknames here is a bad hack.
   9033 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   9034 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   9035 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   9036 	  else
   9037 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   9038 	  fi~
   9039 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9040 	  linknames='
   9041 	# The linker will not automatically build a static lib if we build a DLL.
   9042 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9043 	enable_shared_with_static_runtimes=yes
   9044 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9045 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9046 	# Don't use ranlib
   9047 	old_postinstall_cmds='chmod 644 $oldlib'
   9048 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9049 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   9050 	  case $lt_outputfile in
   9051 	    *.exe|*.EXE) ;;
   9052 	    *)
   9053 	      lt_outputfile="$lt_outputfile.exe"
   9054 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   9055 	      ;;
   9056 	  esac~
   9057 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   9058 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9059 	    $RM "$lt_outputfile.manifest";
   9060 	  fi'
   9061 	;;
   9062       *)
   9063 	# Assume MSVC wrapper
   9064 	hardcode_libdir_flag_spec=' '
   9065 	allow_undefined_flag=unsupported
   9066 	# Tell ltmain to make .lib files, not .a files.
   9067 	libext=lib
   9068 	# Tell ltmain to make .dll files, not .so files.
   9069 	shrext_cmds=".dll"
   9070 	# FIXME: Setting linknames here is a bad hack.
   9071 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9072 	# The linker will automatically build a .lib file if we build a DLL.
   9073 	old_archive_from_new_cmds='true'
   9074 	# FIXME: Should let the user specify the lib program.
   9075 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9076 	enable_shared_with_static_runtimes=yes
   9077 	;;
   9078       esac
   9079       ;;
   9080 
   9081     darwin* | rhapsody*)
   9082 
   9083 
   9084   archive_cmds_need_lc=no
   9085   hardcode_direct=no
   9086   hardcode_automatic=yes
   9087   hardcode_shlibpath_var=unsupported
   9088   if test "$lt_cv_ld_force_load" = "yes"; then
   9089     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\"`'
   9090 
   9091   else
   9092     whole_archive_flag_spec=''
   9093   fi
   9094   link_all_deplibs=yes
   9095   allow_undefined_flag="$_lt_dar_allow_undefined"
   9096   case $cc_basename in
   9097      ifort*) _lt_dar_can_shared=yes ;;
   9098      *) _lt_dar_can_shared=$GCC ;;
   9099   esac
   9100   if test "$_lt_dar_can_shared" = "yes"; then
   9101     output_verbose_link_cmd=func_echo_all
   9102     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   9103     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   9104     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}"
   9105     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}"
   9106 
   9107   else
   9108   ld_shlibs=no
   9109   fi
   9110 
   9111       ;;
   9112 
   9113     dgux*)
   9114       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9115       hardcode_libdir_flag_spec='-L$libdir'
   9116       hardcode_shlibpath_var=no
   9117       ;;
   9118 
   9119     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9120     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9121     # does not break anything, and helps significantly (at the cost of a little
   9122     # extra space).
   9123     freebsd2.2*)
   9124       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9125       hardcode_libdir_flag_spec='-R$libdir'
   9126       hardcode_direct=yes
   9127       hardcode_shlibpath_var=no
   9128       ;;
   9129 
   9130     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9131     freebsd2.*)
   9132       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9133       hardcode_direct=yes
   9134       hardcode_minus_L=yes
   9135       hardcode_shlibpath_var=no
   9136       ;;
   9137 
   9138     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9139     freebsd* | dragonfly*)
   9140       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9141       hardcode_libdir_flag_spec='-R$libdir'
   9142       hardcode_direct=yes
   9143       hardcode_shlibpath_var=no
   9144       ;;
   9145 
   9146     hpux9*)
   9147       if test "$GCC" = yes; then
   9148 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9149       else
   9150 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   9151       fi
   9152       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9153       hardcode_libdir_separator=:
   9154       hardcode_direct=yes
   9155 
   9156       # hardcode_minus_L: Not really in the search PATH,
   9157       # but as the default location of the library.
   9158       hardcode_minus_L=yes
   9159       export_dynamic_flag_spec='${wl}-E'
   9160       ;;
   9161 
   9162     hpux10*)
   9163       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9164 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9165       else
   9166 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9167       fi
   9168       if test "$with_gnu_ld" = no; then
   9169 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9170 	hardcode_libdir_separator=:
   9171 	hardcode_direct=yes
   9172 	hardcode_direct_absolute=yes
   9173 	export_dynamic_flag_spec='${wl}-E'
   9174 	# hardcode_minus_L: Not really in the search PATH,
   9175 	# but as the default location of the library.
   9176 	hardcode_minus_L=yes
   9177       fi
   9178       ;;
   9179 
   9180     hpux11*)
   9181       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   9182 	case $host_cpu in
   9183 	hppa*64*)
   9184 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9185 	  ;;
   9186 	ia64*)
   9187 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9188 	  ;;
   9189 	*)
   9190 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9191 	  ;;
   9192 	esac
   9193       else
   9194 	case $host_cpu in
   9195 	hppa*64*)
   9196 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9197 	  ;;
   9198 	ia64*)
   9199 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9200 	  ;;
   9201 	*)
   9202 
   9203 	  # Older versions of the 11.00 compiler do not understand -b yet
   9204 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9205 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9206 $as_echo_n "checking if $CC understands -b... " >&6; }
   9207 if ${lt_cv_prog_compiler__b+:} false; then :
   9208   $as_echo_n "(cached) " >&6
   9209 else
   9210   lt_cv_prog_compiler__b=no
   9211    save_LDFLAGS="$LDFLAGS"
   9212    LDFLAGS="$LDFLAGS -b"
   9213    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9214    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9215      # The linker can only warn and ignore the option if not recognized
   9216      # So say no if there are warnings
   9217      if test -s conftest.err; then
   9218        # Append any errors to the config.log.
   9219        cat conftest.err 1>&5
   9220        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9221        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9222        if diff conftest.exp conftest.er2 >/dev/null; then
   9223          lt_cv_prog_compiler__b=yes
   9224        fi
   9225      else
   9226        lt_cv_prog_compiler__b=yes
   9227      fi
   9228    fi
   9229    $RM -r conftest*
   9230    LDFLAGS="$save_LDFLAGS"
   9231 
   9232 fi
   9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9234 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9235 
   9236 if test x"$lt_cv_prog_compiler__b" = xyes; then
   9237     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9238 else
   9239     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9240 fi
   9241 
   9242 	  ;;
   9243 	esac
   9244       fi
   9245       if test "$with_gnu_ld" = no; then
   9246 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   9247 	hardcode_libdir_separator=:
   9248 
   9249 	case $host_cpu in
   9250 	hppa*64*|ia64*)
   9251 	  hardcode_direct=no
   9252 	  hardcode_shlibpath_var=no
   9253 	  ;;
   9254 	*)
   9255 	  hardcode_direct=yes
   9256 	  hardcode_direct_absolute=yes
   9257 	  export_dynamic_flag_spec='${wl}-E'
   9258 
   9259 	  # hardcode_minus_L: Not really in the search PATH,
   9260 	  # but as the default location of the library.
   9261 	  hardcode_minus_L=yes
   9262 	  ;;
   9263 	esac
   9264       fi
   9265       ;;
   9266 
   9267     irix5* | irix6* | nonstopux*)
   9268       if test "$GCC" = yes; then
   9269 	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'
   9270 	# Try to use the -exported_symbol ld option, if it does not
   9271 	# work, assume that -exports_file does not work either and
   9272 	# implicitly export all symbols.
   9273 	# This should be the same for all languages, so no per-tag cache variable.
   9274 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9275 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9276 if ${lt_cv_irix_exported_symbol+:} false; then :
   9277   $as_echo_n "(cached) " >&6
   9278 else
   9279   save_LDFLAGS="$LDFLAGS"
   9280 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   9281 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9282 /* end confdefs.h.  */
   9283 int foo (void) { return 0; }
   9284 _ACEOF
   9285 if ac_fn_c_try_link "$LINENO"; then :
   9286   lt_cv_irix_exported_symbol=yes
   9287 else
   9288   lt_cv_irix_exported_symbol=no
   9289 fi
   9290 rm -f core conftest.err conftest.$ac_objext \
   9291     conftest$ac_exeext conftest.$ac_ext
   9292            LDFLAGS="$save_LDFLAGS"
   9293 fi
   9294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9295 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9296 	if test "$lt_cv_irix_exported_symbol" = yes; then
   9297           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'
   9298 	fi
   9299       else
   9300 	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'
   9301 	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'
   9302       fi
   9303       archive_cmds_need_lc='no'
   9304       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9305       hardcode_libdir_separator=:
   9306       inherit_rpath=yes
   9307       link_all_deplibs=yes
   9308       ;;
   9309 
   9310     netbsd*)
   9311       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9312 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9313       else
   9314 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9315       fi
   9316       hardcode_libdir_flag_spec='-R$libdir'
   9317       hardcode_direct=yes
   9318       hardcode_shlibpath_var=no
   9319       ;;
   9320 
   9321     newsos6)
   9322       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9323       hardcode_direct=yes
   9324       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9325       hardcode_libdir_separator=:
   9326       hardcode_shlibpath_var=no
   9327       ;;
   9328 
   9329     *nto* | *qnx*)
   9330       ;;
   9331 
   9332     openbsd*)
   9333       if test -f /usr/libexec/ld.so; then
   9334 	hardcode_direct=yes
   9335 	hardcode_shlibpath_var=no
   9336 	hardcode_direct_absolute=yes
   9337 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9338 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9339 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   9340 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9341 	  export_dynamic_flag_spec='${wl}-E'
   9342 	else
   9343 	  case $host_os in
   9344 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   9345 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9346 	     hardcode_libdir_flag_spec='-R$libdir'
   9347 	     ;;
   9348 	   *)
   9349 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9350 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   9351 	     ;;
   9352 	  esac
   9353 	fi
   9354       else
   9355 	ld_shlibs=no
   9356       fi
   9357       ;;
   9358 
   9359     os2*)
   9360       hardcode_libdir_flag_spec='-L$libdir'
   9361       hardcode_minus_L=yes
   9362       allow_undefined_flag=unsupported
   9363       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   9364       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   9365       ;;
   9366 
   9367     osf3*)
   9368       if test "$GCC" = yes; then
   9369 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9370 	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'
   9371       else
   9372 	allow_undefined_flag=' -expect_unresolved \*'
   9373 	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'
   9374       fi
   9375       archive_cmds_need_lc='no'
   9376       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9377       hardcode_libdir_separator=:
   9378       ;;
   9379 
   9380     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   9381       if test "$GCC" = yes; then
   9382 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   9383 	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'
   9384 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   9385       else
   9386 	allow_undefined_flag=' -expect_unresolved \*'
   9387 	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'
   9388 	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~
   9389 	$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'
   9390 
   9391 	# Both c and cxx compiler support -rpath directly
   9392 	hardcode_libdir_flag_spec='-rpath $libdir'
   9393       fi
   9394       archive_cmds_need_lc='no'
   9395       hardcode_libdir_separator=:
   9396       ;;
   9397 
   9398     solaris*)
   9399       no_undefined_flag=' -z defs'
   9400       if test "$GCC" = yes; then
   9401 	wlarc='${wl}'
   9402 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   9403 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9404 	  $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'
   9405       else
   9406 	case `$CC -V 2>&1` in
   9407 	*"Compilers 5.0"*)
   9408 	  wlarc=''
   9409 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9410 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9411 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   9412 	  ;;
   9413 	*)
   9414 	  wlarc='${wl}'
   9415 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9416 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   9417 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   9418 	  ;;
   9419 	esac
   9420       fi
   9421       hardcode_libdir_flag_spec='-R$libdir'
   9422       hardcode_shlibpath_var=no
   9423       case $host_os in
   9424       solaris2.[0-5] | solaris2.[0-5].*) ;;
   9425       *)
   9426 	# The compiler driver will combine and reorder linker options,
   9427 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   9428 	# but is careful enough not to reorder.
   9429 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   9430 	if test "$GCC" = yes; then
   9431 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   9432 	else
   9433 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   9434 	fi
   9435 	;;
   9436       esac
   9437       link_all_deplibs=yes
   9438       ;;
   9439 
   9440     sunos4*)
   9441       if test "x$host_vendor" = xsequent; then
   9442 	# Use $CC to link under sequent, because it throws in some extra .o
   9443 	# files that make .init and .fini sections work.
   9444 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   9445       else
   9446 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   9447       fi
   9448       hardcode_libdir_flag_spec='-L$libdir'
   9449       hardcode_direct=yes
   9450       hardcode_minus_L=yes
   9451       hardcode_shlibpath_var=no
   9452       ;;
   9453 
   9454     sysv4)
   9455       case $host_vendor in
   9456 	sni)
   9457 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9458 	  hardcode_direct=yes # is this really true???
   9459 	;;
   9460 	siemens)
   9461 	  ## LD is ld it makes a PLAMLIB
   9462 	  ## CC just makes a GrossModule.
   9463 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   9464 	  reload_cmds='$CC -r -o $output$reload_objs'
   9465 	  hardcode_direct=no
   9466         ;;
   9467 	motorola)
   9468 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9469 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   9470 	;;
   9471       esac
   9472       runpath_var='LD_RUN_PATH'
   9473       hardcode_shlibpath_var=no
   9474       ;;
   9475 
   9476     sysv4.3*)
   9477       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9478       hardcode_shlibpath_var=no
   9479       export_dynamic_flag_spec='-Bexport'
   9480       ;;
   9481 
   9482     sysv4*MP*)
   9483       if test -d /usr/nec; then
   9484 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9485 	hardcode_shlibpath_var=no
   9486 	runpath_var=LD_RUN_PATH
   9487 	hardcode_runpath_var=yes
   9488 	ld_shlibs=yes
   9489       fi
   9490       ;;
   9491 
   9492     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   9493       no_undefined_flag='${wl}-z,text'
   9494       archive_cmds_need_lc=no
   9495       hardcode_shlibpath_var=no
   9496       runpath_var='LD_RUN_PATH'
   9497 
   9498       if test "$GCC" = yes; then
   9499 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9500 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9501       else
   9502 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9503 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9504       fi
   9505       ;;
   9506 
   9507     sysv5* | sco3.2v5* | sco5v6*)
   9508       # Note: We can NOT use -z defs as we might desire, because we do not
   9509       # link with -lc, and that would cause any symbols used from libc to
   9510       # always be unresolved, which means just about no library would
   9511       # ever link correctly.  If we're not using GNU ld we use -z text
   9512       # though, which does catch some bad symbols but isn't as heavy-handed
   9513       # as -z defs.
   9514       no_undefined_flag='${wl}-z,text'
   9515       allow_undefined_flag='${wl}-z,nodefs'
   9516       archive_cmds_need_lc=no
   9517       hardcode_shlibpath_var=no
   9518       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   9519       hardcode_libdir_separator=':'
   9520       link_all_deplibs=yes
   9521       export_dynamic_flag_spec='${wl}-Bexport'
   9522       runpath_var='LD_RUN_PATH'
   9523 
   9524       if test "$GCC" = yes; then
   9525 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9526 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9527       else
   9528 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9529 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   9530       fi
   9531       ;;
   9532 
   9533     uts4*)
   9534       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9535       hardcode_libdir_flag_spec='-L$libdir'
   9536       hardcode_shlibpath_var=no
   9537       ;;
   9538 
   9539     *)
   9540       ld_shlibs=no
   9541       ;;
   9542     esac
   9543 
   9544     if test x$host_vendor = xsni; then
   9545       case $host in
   9546       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   9547 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   9548 	;;
   9549       esac
   9550     fi
   9551   fi
   9552 
   9553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   9554 $as_echo "$ld_shlibs" >&6; }
   9555 test "$ld_shlibs" = no && can_build_shared=no
   9556 
   9557 with_gnu_ld=$with_gnu_ld
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 
   9570 
   9571 
   9572 
   9573 #
   9574 # Do we need to explicitly link libc?
   9575 #
   9576 case "x$archive_cmds_need_lc" in
   9577 x|xyes)
   9578   # Assume -lc should be added
   9579   archive_cmds_need_lc=yes
   9580 
   9581   if test "$enable_shared" = yes && test "$GCC" = yes; then
   9582     case $archive_cmds in
   9583     *'~'*)
   9584       # FIXME: we may have to deal with multi-command sequences.
   9585       ;;
   9586     '$CC '*)
   9587       # Test whether the compiler implicitly links with -lc since on some
   9588       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   9589       # to ld, don't add -lc before -lgcc.
   9590       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   9591 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   9592 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   9593   $as_echo_n "(cached) " >&6
   9594 else
   9595   $RM conftest*
   9596 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9597 
   9598 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   9599   (eval $ac_compile) 2>&5
   9600   ac_status=$?
   9601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9602   test $ac_status = 0; } 2>conftest.err; then
   9603 	  soname=conftest
   9604 	  lib=conftest
   9605 	  libobjs=conftest.$ac_objext
   9606 	  deplibs=
   9607 	  wl=$lt_prog_compiler_wl
   9608 	  pic_flag=$lt_prog_compiler_pic
   9609 	  compiler_flags=-v
   9610 	  linker_flags=-v
   9611 	  verstring=
   9612 	  output_objdir=.
   9613 	  libname=conftest
   9614 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   9615 	  allow_undefined_flag=
   9616 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   9617   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   9618   ac_status=$?
   9619   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   9620   test $ac_status = 0; }
   9621 	  then
   9622 	    lt_cv_archive_cmds_need_lc=no
   9623 	  else
   9624 	    lt_cv_archive_cmds_need_lc=yes
   9625 	  fi
   9626 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   9627 	else
   9628 	  cat conftest.err 1>&5
   9629 	fi
   9630 	$RM conftest*
   9631 
   9632 fi
   9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   9634 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   9635       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   9636       ;;
   9637     esac
   9638   fi
   9639   ;;
   9640 esac
   9641 
   9642 
   9643 
   9644 
   9645 
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 
   9662 
   9663 
   9664 
   9665 
   9666 
   9667 
   9668 
   9669 
   9670 
   9671 
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 
   9688 
   9689 
   9690 
   9691 
   9692 
   9693 
   9694 
   9695 
   9696 
   9697 
   9698 
   9699 
   9700 
   9701 
   9702 
   9703 
   9704 
   9705 
   9706 
   9707 
   9708 
   9709 
   9710 
   9711 
   9712 
   9713 
   9714 
   9715 
   9716 
   9717 
   9718 
   9719 
   9720 
   9721 
   9722 
   9723 
   9724 
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 
   9741 
   9742 
   9743 
   9744 
   9745 
   9746 
   9747 
   9748 
   9749 
   9750 
   9751 
   9752 
   9753 
   9754 
   9755 
   9756 
   9757 
   9758 
   9759 
   9760 
   9761 
   9762 
   9763 
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   9794 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   9795 
   9796 if test "$GCC" = yes; then
   9797   case $host_os in
   9798     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9799     *) lt_awk_arg="/^libraries:/" ;;
   9800   esac
   9801   case $host_os in
   9802     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   9803     *) lt_sed_strip_eq="s,=/,/,g" ;;
   9804   esac
   9805   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   9806   case $lt_search_path_spec in
   9807   *\;*)
   9808     # if the path contains ";" then we assume it to be the separator
   9809     # otherwise default to the standard path separator (i.e. ":") - it is
   9810     # assumed that no part of a normal pathname contains ";" but that should
   9811     # okay in the real world where ";" in dirpaths is itself problematic.
   9812     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   9813     ;;
   9814   *)
   9815     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   9816     ;;
   9817   esac
   9818   # Ok, now we have the path, separated by spaces, we can step through it
   9819   # and add multilib dir if necessary.
   9820   lt_tmp_lt_search_path_spec=
   9821   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9822   for lt_sys_path in $lt_search_path_spec; do
   9823     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9824       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9825     else
   9826       test -d "$lt_sys_path" && \
   9827 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9828     fi
   9829   done
   9830   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   9831 BEGIN {RS=" "; FS="/|\n";} {
   9832   lt_foo="";
   9833   lt_count=0;
   9834   for (lt_i = NF; lt_i > 0; lt_i--) {
   9835     if ($lt_i != "" && $lt_i != ".") {
   9836       if ($lt_i == "..") {
   9837         lt_count++;
   9838       } else {
   9839         if (lt_count == 0) {
   9840           lt_foo="/" $lt_i lt_foo;
   9841         } else {
   9842           lt_count--;
   9843         }
   9844       }
   9845     }
   9846   }
   9847   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9848   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9849 }'`
   9850   # AWK program above erroneously prepends '/' to C:/dos/paths
   9851   # for these hosts.
   9852   case $host_os in
   9853     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   9854       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   9855   esac
   9856   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   9857 else
   9858   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9859 fi
   9860 library_names_spec=
   9861 libname_spec='lib$name'
   9862 soname_spec=
   9863 shrext_cmds=".so"
   9864 postinstall_cmds=
   9865 postuninstall_cmds=
   9866 finish_cmds=
   9867 finish_eval=
   9868 shlibpath_var=
   9869 shlibpath_overrides_runpath=unknown
   9870 version_type=none
   9871 dynamic_linker="$host_os ld.so"
   9872 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9873 need_lib_prefix=unknown
   9874 hardcode_into_libs=no
   9875 
   9876 # when you set need_version to no, make sure it does not cause -set_version
   9877 # flags to be left without arguments
   9878 need_version=unknown
   9879 
   9880 case $host_os in
   9881 aix3*)
   9882   version_type=linux # correct to gnu/linux during the next big refactor
   9883   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9884   shlibpath_var=LIBPATH
   9885 
   9886   # AIX 3 has no versioning support, so we append a major version to the name.
   9887   soname_spec='${libname}${release}${shared_ext}$major'
   9888   ;;
   9889 
   9890 aix[4-9]*)
   9891   version_type=linux # correct to gnu/linux during the next big refactor
   9892   need_lib_prefix=no
   9893   need_version=no
   9894   hardcode_into_libs=yes
   9895   if test "$host_cpu" = ia64; then
   9896     # AIX 5 supports IA64
   9897     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9898     shlibpath_var=LD_LIBRARY_PATH
   9899   else
   9900     # With GCC up to 2.95.x, collect2 would create an import file
   9901     # for dependence libraries.  The import file would start with
   9902     # the line `#! .'.  This would cause the generated library to
   9903     # depend on `.', always an invalid library.  This was fixed in
   9904     # development snapshots of GCC prior to 3.0.
   9905     case $host_os in
   9906       aix4 | aix4.[01] | aix4.[01].*)
   9907       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9908 	   echo ' yes '
   9909 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9910 	:
   9911       else
   9912 	can_build_shared=no
   9913       fi
   9914       ;;
   9915     esac
   9916     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9917     # soname into executable. Probably we can add versioning support to
   9918     # collect2, so additional links can be useful in future.
   9919     if test "$aix_use_runtimelinking" = yes; then
   9920       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9921       # instead of lib<name>.a to let people know that these are not
   9922       # typical AIX shared libraries.
   9923       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9924     else
   9925       # We preserve .a as extension for shared libraries through AIX4.2
   9926       # and later when we are not doing run time linking.
   9927       library_names_spec='${libname}${release}.a $libname.a'
   9928       soname_spec='${libname}${release}${shared_ext}$major'
   9929     fi
   9930     shlibpath_var=LIBPATH
   9931   fi
   9932   ;;
   9933 
   9934 amigaos*)
   9935   case $host_cpu in
   9936   powerpc)
   9937     # Since July 2007 AmigaOS4 officially supports .so libraries.
   9938     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   9939     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9940     ;;
   9941   m68k)
   9942     library_names_spec='$libname.ixlibrary $libname.a'
   9943     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9944     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   9945     ;;
   9946   esac
   9947   ;;
   9948 
   9949 beos*)
   9950   library_names_spec='${libname}${shared_ext}'
   9951   dynamic_linker="$host_os ld.so"
   9952   shlibpath_var=LIBRARY_PATH
   9953   ;;
   9954 
   9955 bsdi[45]*)
   9956   version_type=linux # correct to gnu/linux during the next big refactor
   9957   need_version=no
   9958   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9959   soname_spec='${libname}${release}${shared_ext}$major'
   9960   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9961   shlibpath_var=LD_LIBRARY_PATH
   9962   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9963   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9964   # the default ld.so.conf also contains /usr/contrib/lib and
   9965   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9966   # libtool to hard-code these into programs
   9967   ;;
   9968 
   9969 cygwin* | mingw* | pw32* | cegcc*)
   9970   version_type=windows
   9971   shrext_cmds=".dll"
   9972   need_version=no
   9973   need_lib_prefix=no
   9974 
   9975   case $GCC,$cc_basename in
   9976   yes,*)
   9977     # gcc
   9978     library_names_spec='$libname.dll.a'
   9979     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9980     postinstall_cmds='base_file=`basename \${file}`~
   9981       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9982       dldir=$destdir/`dirname \$dlpath`~
   9983       test -d \$dldir || mkdir -p \$dldir~
   9984       $install_prog $dir/$dlname \$dldir/$dlname~
   9985       chmod a+x \$dldir/$dlname~
   9986       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9987         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9988       fi'
   9989     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9990       dlpath=$dir/\$dldll~
   9991        $RM \$dlpath'
   9992     shlibpath_overrides_runpath=yes
   9993 
   9994     case $host_os in
   9995     cygwin*)
   9996       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9997       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9998 
   9999       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10000       ;;
   10001     mingw* | cegcc*)
   10002       # MinGW DLLs use traditional 'lib' prefix
   10003       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10004       ;;
   10005     pw32*)
   10006       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10007       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10008       ;;
   10009     esac
   10010     dynamic_linker='Win32 ld.exe'
   10011     ;;
   10012 
   10013   *,cl*)
   10014     # Native MSVC
   10015     libname_spec='$name'
   10016     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   10017     library_names_spec='${libname}.dll.lib'
   10018 
   10019     case $build_os in
   10020     mingw*)
   10021       sys_lib_search_path_spec=
   10022       lt_save_ifs=$IFS
   10023       IFS=';'
   10024       for lt_path in $LIB
   10025       do
   10026         IFS=$lt_save_ifs
   10027         # Let DOS variable expansion print the short 8.3 style file name.
   10028         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10029         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10030       done
   10031       IFS=$lt_save_ifs
   10032       # Convert to MSYS style.
   10033       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10034       ;;
   10035     cygwin*)
   10036       # Convert to unix form, then to dos form, then back to unix form
   10037       # but this time dos style (no spaces!) so that the unix form looks
   10038       # like /cygdrive/c/PROGRA~1:/cygdr...
   10039       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10040       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10041       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10042       ;;
   10043     *)
   10044       sys_lib_search_path_spec="$LIB"
   10045       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10046         # It is most probably a Windows format PATH.
   10047         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10048       else
   10049         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10050       fi
   10051       # FIXME: find the short name or the path components, as spaces are
   10052       # common. (e.g. "Program Files" -> "PROGRA~1")
   10053       ;;
   10054     esac
   10055 
   10056     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10057     postinstall_cmds='base_file=`basename \${file}`~
   10058       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   10059       dldir=$destdir/`dirname \$dlpath`~
   10060       test -d \$dldir || mkdir -p \$dldir~
   10061       $install_prog $dir/$dlname \$dldir/$dlname'
   10062     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10063       dlpath=$dir/\$dldll~
   10064        $RM \$dlpath'
   10065     shlibpath_overrides_runpath=yes
   10066     dynamic_linker='Win32 link.exe'
   10067     ;;
   10068 
   10069   *)
   10070     # Assume MSVC wrapper
   10071     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   10072     dynamic_linker='Win32 ld.exe'
   10073     ;;
   10074   esac
   10075   # FIXME: first we should search . and the directory the executable is in
   10076   shlibpath_var=PATH
   10077   ;;
   10078 
   10079 darwin* | rhapsody*)
   10080   dynamic_linker="$host_os dyld"
   10081   version_type=darwin
   10082   need_lib_prefix=no
   10083   need_version=no
   10084   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   10085   soname_spec='${libname}${release}${major}$shared_ext'
   10086   shlibpath_overrides_runpath=yes
   10087   shlibpath_var=DYLD_LIBRARY_PATH
   10088   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10089 
   10090   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10091   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10092   ;;
   10093 
   10094 dgux*)
   10095   version_type=linux # correct to gnu/linux during the next big refactor
   10096   need_lib_prefix=no
   10097   need_version=no
   10098   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   10099   soname_spec='${libname}${release}${shared_ext}$major'
   10100   shlibpath_var=LD_LIBRARY_PATH
   10101   ;;
   10102 
   10103 freebsd* | dragonfly*)
   10104   # DragonFly does not have aout.  When/if they implement a new
   10105   # versioning mechanism, adjust this.
   10106   if test -x /usr/bin/objformat; then
   10107     objformat=`/usr/bin/objformat`
   10108   else
   10109     case $host_os in
   10110     freebsd[23].*) objformat=aout ;;
   10111     *) objformat=elf ;;
   10112     esac
   10113   fi
   10114   version_type=freebsd-$objformat
   10115   case $version_type in
   10116     freebsd-elf*)
   10117       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10118       need_version=no
   10119       need_lib_prefix=no
   10120       ;;
   10121     freebsd-*)
   10122       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   10123       need_version=yes
   10124       ;;
   10125   esac
   10126   shlibpath_var=LD_LIBRARY_PATH
   10127   case $host_os in
   10128   freebsd2.*)
   10129     shlibpath_overrides_runpath=yes
   10130     ;;
   10131   freebsd3.[01]* | freebsdelf3.[01]*)
   10132     shlibpath_overrides_runpath=yes
   10133     hardcode_into_libs=yes
   10134     ;;
   10135   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10136   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10137     shlibpath_overrides_runpath=no
   10138     hardcode_into_libs=yes
   10139     ;;
   10140   *) # from 4.6 on, and DragonFly
   10141     shlibpath_overrides_runpath=yes
   10142     hardcode_into_libs=yes
   10143     ;;
   10144   esac
   10145   ;;
   10146 
   10147 gnu*)
   10148   version_type=linux # correct to gnu/linux during the next big refactor
   10149   need_lib_prefix=no
   10150   need_version=no
   10151   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10152   soname_spec='${libname}${release}${shared_ext}$major'
   10153   shlibpath_var=LD_LIBRARY_PATH
   10154   shlibpath_overrides_runpath=no
   10155   hardcode_into_libs=yes
   10156   ;;
   10157 
   10158 haiku*)
   10159   version_type=linux # correct to gnu/linux during the next big refactor
   10160   need_lib_prefix=no
   10161   need_version=no
   10162   dynamic_linker="$host_os runtime_loader"
   10163   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   10164   soname_spec='${libname}${release}${shared_ext}$major'
   10165   shlibpath_var=LIBRARY_PATH
   10166   shlibpath_overrides_runpath=yes
   10167   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10168   hardcode_into_libs=yes
   10169   ;;
   10170 
   10171 hpux9* | hpux10* | hpux11*)
   10172   # Give a soname corresponding to the major version so that dld.sl refuses to
   10173   # link against other versions.
   10174   version_type=sunos
   10175   need_lib_prefix=no
   10176   need_version=no
   10177   case $host_cpu in
   10178   ia64*)
   10179     shrext_cmds='.so'
   10180     hardcode_into_libs=yes
   10181     dynamic_linker="$host_os dld.so"
   10182     shlibpath_var=LD_LIBRARY_PATH
   10183     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10184     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10185     soname_spec='${libname}${release}${shared_ext}$major'
   10186     if test "X$HPUX_IA64_MODE" = X32; then
   10187       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10188     else
   10189       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10190     fi
   10191     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10192     ;;
   10193   hppa*64*)
   10194     shrext_cmds='.sl'
   10195     hardcode_into_libs=yes
   10196     dynamic_linker="$host_os dld.sl"
   10197     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10198     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10199     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10200     soname_spec='${libname}${release}${shared_ext}$major'
   10201     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10202     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10203     ;;
   10204   *)
   10205     shrext_cmds='.sl'
   10206     dynamic_linker="$host_os dld.sl"
   10207     shlibpath_var=SHLIB_PATH
   10208     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10209     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10210     soname_spec='${libname}${release}${shared_ext}$major'
   10211     ;;
   10212   esac
   10213   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10214   postinstall_cmds='chmod 555 $lib'
   10215   # or fails outright, so override atomically:
   10216   install_override_mode=555
   10217   ;;
   10218 
   10219 interix[3-9]*)
   10220   version_type=linux # correct to gnu/linux during the next big refactor
   10221   need_lib_prefix=no
   10222   need_version=no
   10223   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10224   soname_spec='${libname}${release}${shared_ext}$major'
   10225   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10226   shlibpath_var=LD_LIBRARY_PATH
   10227   shlibpath_overrides_runpath=no
   10228   hardcode_into_libs=yes
   10229   ;;
   10230 
   10231 irix5* | irix6* | nonstopux*)
   10232   case $host_os in
   10233     nonstopux*) version_type=nonstopux ;;
   10234     *)
   10235 	if test "$lt_cv_prog_gnu_ld" = yes; then
   10236 		version_type=linux # correct to gnu/linux during the next big refactor
   10237 	else
   10238 		version_type=irix
   10239 	fi ;;
   10240   esac
   10241   need_lib_prefix=no
   10242   need_version=no
   10243   soname_spec='${libname}${release}${shared_ext}$major'
   10244   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   10245   case $host_os in
   10246   irix5* | nonstopux*)
   10247     libsuff= shlibsuff=
   10248     ;;
   10249   *)
   10250     case $LD in # libtool.m4 will add one of these switches to LD
   10251     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10252       libsuff= shlibsuff= libmagic=32-bit;;
   10253     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10254       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10255     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10256       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10257     *) libsuff= shlibsuff= libmagic=never-match;;
   10258     esac
   10259     ;;
   10260   esac
   10261   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10262   shlibpath_overrides_runpath=no
   10263   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   10264   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   10265   hardcode_into_libs=yes
   10266   ;;
   10267 
   10268 # No shared lib support for Linux oldld, aout, or coff.
   10269 linux*oldld* | linux*aout* | linux*coff*)
   10270   dynamic_linker=no
   10271   ;;
   10272 
   10273 # This must be glibc/ELF.
   10274 linux* | k*bsd*-gnu | kopensolaris*-gnu)
   10275   version_type=linux # correct to gnu/linux during the next big refactor
   10276   need_lib_prefix=no
   10277   need_version=no
   10278   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10279   soname_spec='${libname}${release}${shared_ext}$major'
   10280   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   10281   shlibpath_var=LD_LIBRARY_PATH
   10282   shlibpath_overrides_runpath=no
   10283 
   10284   # Some binutils ld are patched to set DT_RUNPATH
   10285   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   10286   $as_echo_n "(cached) " >&6
   10287 else
   10288   lt_cv_shlibpath_overrides_runpath=no
   10289     save_LDFLAGS=$LDFLAGS
   10290     save_libdir=$libdir
   10291     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   10292 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   10293     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10294 /* end confdefs.h.  */
   10295 
   10296 int
   10297 main ()
   10298 {
   10299 
   10300   ;
   10301   return 0;
   10302 }
   10303 _ACEOF
   10304 if ac_fn_c_try_link "$LINENO"; then :
   10305   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   10306   lt_cv_shlibpath_overrides_runpath=yes
   10307 fi
   10308 fi
   10309 rm -f core conftest.err conftest.$ac_objext \
   10310     conftest$ac_exeext conftest.$ac_ext
   10311     LDFLAGS=$save_LDFLAGS
   10312     libdir=$save_libdir
   10313 
   10314 fi
   10315 
   10316   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   10317 
   10318   # This implies no fast_install, which is unacceptable.
   10319   # Some rework will be needed to allow for fast_install
   10320   # before this can be enabled.
   10321   hardcode_into_libs=yes
   10322 
   10323   # Add ABI-specific directories to the system library path.
   10324   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   10325 
   10326   # Append ld.so.conf contents to the search path
   10327   if test -f /etc/ld.so.conf; then
   10328     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' ' '`
   10329     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   10330 
   10331   fi
   10332 
   10333   # We used to test for /lib/ld.so.1 and disable shared libraries on
   10334   # powerpc, because MkLinux only supported shared libraries with the
   10335   # GNU dynamic linker.  Since this was broken with cross compilers,
   10336   # most powerpc-linux boxes support dynamic linking these days and
   10337   # people can always --disable-shared, the test was removed, and we
   10338   # assume the GNU/Linux dynamic linker is in use.
   10339   dynamic_linker='GNU/Linux ld.so'
   10340   ;;
   10341 
   10342 netbsd*)
   10343   version_type=sunos
   10344   need_lib_prefix=no
   10345   need_version=no
   10346   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10347     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10348     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10349     dynamic_linker='NetBSD (a.out) ld.so'
   10350   else
   10351     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   10352     soname_spec='${libname}${release}${shared_ext}$major'
   10353     dynamic_linker='NetBSD ld.elf_so'
   10354   fi
   10355   shlibpath_var=LD_LIBRARY_PATH
   10356   shlibpath_overrides_runpath=yes
   10357   hardcode_into_libs=yes
   10358   ;;
   10359 
   10360 newsos6)
   10361   version_type=linux # correct to gnu/linux during the next big refactor
   10362   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10363   shlibpath_var=LD_LIBRARY_PATH
   10364   shlibpath_overrides_runpath=yes
   10365   ;;
   10366 
   10367 *nto* | *qnx*)
   10368   version_type=qnx
   10369   need_lib_prefix=no
   10370   need_version=no
   10371   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10372   soname_spec='${libname}${release}${shared_ext}$major'
   10373   shlibpath_var=LD_LIBRARY_PATH
   10374   shlibpath_overrides_runpath=no
   10375   hardcode_into_libs=yes
   10376   dynamic_linker='ldqnx.so'
   10377   ;;
   10378 
   10379 openbsd*)
   10380   version_type=sunos
   10381   sys_lib_dlsearch_path_spec="/usr/lib"
   10382   need_lib_prefix=no
   10383   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   10384   case $host_os in
   10385     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   10386     *)				need_version=no  ;;
   10387   esac
   10388   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10389   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   10390   shlibpath_var=LD_LIBRARY_PATH
   10391   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   10392     case $host_os in
   10393       openbsd2.[89] | openbsd2.[89].*)
   10394 	shlibpath_overrides_runpath=no
   10395 	;;
   10396       *)
   10397 	shlibpath_overrides_runpath=yes
   10398 	;;
   10399       esac
   10400   else
   10401     shlibpath_overrides_runpath=yes
   10402   fi
   10403   ;;
   10404 
   10405 os2*)
   10406   libname_spec='$name'
   10407   shrext_cmds=".dll"
   10408   need_lib_prefix=no
   10409   library_names_spec='$libname${shared_ext} $libname.a'
   10410   dynamic_linker='OS/2 ld.exe'
   10411   shlibpath_var=LIBPATH
   10412   ;;
   10413 
   10414 osf3* | osf4* | osf5*)
   10415   version_type=osf
   10416   need_lib_prefix=no
   10417   need_version=no
   10418   soname_spec='${libname}${release}${shared_ext}$major'
   10419   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10420   shlibpath_var=LD_LIBRARY_PATH
   10421   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   10422   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   10423   ;;
   10424 
   10425 rdos*)
   10426   dynamic_linker=no
   10427   ;;
   10428 
   10429 solaris*)
   10430   version_type=linux # correct to gnu/linux during the next big refactor
   10431   need_lib_prefix=no
   10432   need_version=no
   10433   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10434   soname_spec='${libname}${release}${shared_ext}$major'
   10435   shlibpath_var=LD_LIBRARY_PATH
   10436   shlibpath_overrides_runpath=yes
   10437   hardcode_into_libs=yes
   10438   # ldd complains unless libraries are executable
   10439   postinstall_cmds='chmod +x $lib'
   10440   ;;
   10441 
   10442 sunos4*)
   10443   version_type=sunos
   10444   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   10445   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   10446   shlibpath_var=LD_LIBRARY_PATH
   10447   shlibpath_overrides_runpath=yes
   10448   if test "$with_gnu_ld" = yes; then
   10449     need_lib_prefix=no
   10450   fi
   10451   need_version=yes
   10452   ;;
   10453 
   10454 sysv4 | sysv4.3*)
   10455   version_type=linux # correct to gnu/linux during the next big refactor
   10456   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10457   soname_spec='${libname}${release}${shared_ext}$major'
   10458   shlibpath_var=LD_LIBRARY_PATH
   10459   case $host_vendor in
   10460     sni)
   10461       shlibpath_overrides_runpath=no
   10462       need_lib_prefix=no
   10463       runpath_var=LD_RUN_PATH
   10464       ;;
   10465     siemens)
   10466       need_lib_prefix=no
   10467       ;;
   10468     motorola)
   10469       need_lib_prefix=no
   10470       need_version=no
   10471       shlibpath_overrides_runpath=no
   10472       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   10473       ;;
   10474   esac
   10475   ;;
   10476 
   10477 sysv4*MP*)
   10478   if test -d /usr/nec ;then
   10479     version_type=linux # correct to gnu/linux during the next big refactor
   10480     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   10481     soname_spec='$libname${shared_ext}.$major'
   10482     shlibpath_var=LD_LIBRARY_PATH
   10483   fi
   10484   ;;
   10485 
   10486 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   10487   version_type=freebsd-elf
   10488   need_lib_prefix=no
   10489   need_version=no
   10490   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   10491   soname_spec='${libname}${release}${shared_ext}$major'
   10492   shlibpath_var=LD_LIBRARY_PATH
   10493   shlibpath_overrides_runpath=yes
   10494   hardcode_into_libs=yes
   10495   if test "$with_gnu_ld" = yes; then
   10496     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   10497   else
   10498     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   10499     case $host_os in
   10500       sco3.2v5*)
   10501         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   10502 	;;
   10503     esac
   10504   fi
   10505   sys_lib_dlsearch_path_spec='/usr/lib'
   10506   ;;
   10507 
   10508 tpf*)
   10509   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   10510   version_type=linux # correct to gnu/linux during the next big refactor
   10511   need_lib_prefix=no
   10512   need_version=no
   10513   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10514   shlibpath_var=LD_LIBRARY_PATH
   10515   shlibpath_overrides_runpath=no
   10516   hardcode_into_libs=yes
   10517   ;;
   10518 
   10519 uts4*)
   10520   version_type=linux # correct to gnu/linux during the next big refactor
   10521   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   10522   soname_spec='${libname}${release}${shared_ext}$major'
   10523   shlibpath_var=LD_LIBRARY_PATH
   10524   ;;
   10525 
   10526 *)
   10527   dynamic_linker=no
   10528   ;;
   10529 esac
   10530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   10531 $as_echo "$dynamic_linker" >&6; }
   10532 test "$dynamic_linker" = no && can_build_shared=no
   10533 
   10534 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   10535 if test "$GCC" = yes; then
   10536   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   10537 fi
   10538 
   10539 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   10540   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   10541 fi
   10542 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   10543   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   10544 fi
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603 
   10604 
   10605 
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 
   10616 
   10617 
   10618 
   10619 
   10620 
   10621 
   10622 
   10623 
   10624 
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   10638 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   10639 hardcode_action=
   10640 if test -n "$hardcode_libdir_flag_spec" ||
   10641    test -n "$runpath_var" ||
   10642    test "X$hardcode_automatic" = "Xyes" ; then
   10643 
   10644   # We can hardcode non-existent directories.
   10645   if test "$hardcode_direct" != no &&
   10646      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   10647      # have to relink, otherwise we might link with an installed library
   10648      # when we should be linking with a yet-to-be-installed one
   10649      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   10650      test "$hardcode_minus_L" != no; then
   10651     # Linking always hardcodes the temporary library directory.
   10652     hardcode_action=relink
   10653   else
   10654     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   10655     hardcode_action=immediate
   10656   fi
   10657 else
   10658   # We cannot hardcode anything, or else we can only hardcode existing
   10659   # directories.
   10660   hardcode_action=unsupported
   10661 fi
   10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   10663 $as_echo "$hardcode_action" >&6; }
   10664 
   10665 if test "$hardcode_action" = relink ||
   10666    test "$inherit_rpath" = yes; then
   10667   # Fast installation is not supported
   10668   enable_fast_install=no
   10669 elif test "$shlibpath_overrides_runpath" = yes ||
   10670      test "$enable_shared" = no; then
   10671   # Fast installation is not necessary
   10672   enable_fast_install=needless
   10673 fi
   10674 
   10675 
   10676 
   10677 
   10678 
   10679 
   10680   if test "x$enable_dlopen" != xyes; then
   10681   enable_dlopen=unknown
   10682   enable_dlopen_self=unknown
   10683   enable_dlopen_self_static=unknown
   10684 else
   10685   lt_cv_dlopen=no
   10686   lt_cv_dlopen_libs=
   10687 
   10688   case $host_os in
   10689   beos*)
   10690     lt_cv_dlopen="load_add_on"
   10691     lt_cv_dlopen_libs=
   10692     lt_cv_dlopen_self=yes
   10693     ;;
   10694 
   10695   mingw* | pw32* | cegcc*)
   10696     lt_cv_dlopen="LoadLibrary"
   10697     lt_cv_dlopen_libs=
   10698     ;;
   10699 
   10700   cygwin*)
   10701     lt_cv_dlopen="dlopen"
   10702     lt_cv_dlopen_libs=
   10703     ;;
   10704 
   10705   darwin*)
   10706   # if libdl is installed we need to link against it
   10707     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10708 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10709 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10710   $as_echo_n "(cached) " >&6
   10711 else
   10712   ac_check_lib_save_LIBS=$LIBS
   10713 LIBS="-ldl  $LIBS"
   10714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10715 /* end confdefs.h.  */
   10716 
   10717 /* Override any GCC internal prototype to avoid an error.
   10718    Use char because int might match the return type of a GCC
   10719    builtin and then its argument prototype would still apply.  */
   10720 #ifdef __cplusplus
   10721 extern "C"
   10722 #endif
   10723 char dlopen ();
   10724 int
   10725 main ()
   10726 {
   10727 return dlopen ();
   10728   ;
   10729   return 0;
   10730 }
   10731 _ACEOF
   10732 if ac_fn_c_try_link "$LINENO"; then :
   10733   ac_cv_lib_dl_dlopen=yes
   10734 else
   10735   ac_cv_lib_dl_dlopen=no
   10736 fi
   10737 rm -f core conftest.err conftest.$ac_objext \
   10738     conftest$ac_exeext conftest.$ac_ext
   10739 LIBS=$ac_check_lib_save_LIBS
   10740 fi
   10741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10742 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10743 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10744   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10745 else
   10746 
   10747     lt_cv_dlopen="dyld"
   10748     lt_cv_dlopen_libs=
   10749     lt_cv_dlopen_self=yes
   10750 
   10751 fi
   10752 
   10753     ;;
   10754 
   10755   *)
   10756     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   10757 if test "x$ac_cv_func_shl_load" = xyes; then :
   10758   lt_cv_dlopen="shl_load"
   10759 else
   10760   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   10761 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   10762 if ${ac_cv_lib_dld_shl_load+:} false; then :
   10763   $as_echo_n "(cached) " >&6
   10764 else
   10765   ac_check_lib_save_LIBS=$LIBS
   10766 LIBS="-ldld  $LIBS"
   10767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10768 /* end confdefs.h.  */
   10769 
   10770 /* Override any GCC internal prototype to avoid an error.
   10771    Use char because int might match the return type of a GCC
   10772    builtin and then its argument prototype would still apply.  */
   10773 #ifdef __cplusplus
   10774 extern "C"
   10775 #endif
   10776 char shl_load ();
   10777 int
   10778 main ()
   10779 {
   10780 return shl_load ();
   10781   ;
   10782   return 0;
   10783 }
   10784 _ACEOF
   10785 if ac_fn_c_try_link "$LINENO"; then :
   10786   ac_cv_lib_dld_shl_load=yes
   10787 else
   10788   ac_cv_lib_dld_shl_load=no
   10789 fi
   10790 rm -f core conftest.err conftest.$ac_objext \
   10791     conftest$ac_exeext conftest.$ac_ext
   10792 LIBS=$ac_check_lib_save_LIBS
   10793 fi
   10794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   10795 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   10796 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   10797   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   10798 else
   10799   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   10800 if test "x$ac_cv_func_dlopen" = xyes; then :
   10801   lt_cv_dlopen="dlopen"
   10802 else
   10803   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   10804 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   10805 if ${ac_cv_lib_dl_dlopen+:} false; then :
   10806   $as_echo_n "(cached) " >&6
   10807 else
   10808   ac_check_lib_save_LIBS=$LIBS
   10809 LIBS="-ldl  $LIBS"
   10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10811 /* end confdefs.h.  */
   10812 
   10813 /* Override any GCC internal prototype to avoid an error.
   10814    Use char because int might match the return type of a GCC
   10815    builtin and then its argument prototype would still apply.  */
   10816 #ifdef __cplusplus
   10817 extern "C"
   10818 #endif
   10819 char dlopen ();
   10820 int
   10821 main ()
   10822 {
   10823 return dlopen ();
   10824   ;
   10825   return 0;
   10826 }
   10827 _ACEOF
   10828 if ac_fn_c_try_link "$LINENO"; then :
   10829   ac_cv_lib_dl_dlopen=yes
   10830 else
   10831   ac_cv_lib_dl_dlopen=no
   10832 fi
   10833 rm -f core conftest.err conftest.$ac_objext \
   10834     conftest$ac_exeext conftest.$ac_ext
   10835 LIBS=$ac_check_lib_save_LIBS
   10836 fi
   10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   10838 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   10839 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   10840   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10841 else
   10842   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   10843 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   10844 if ${ac_cv_lib_svld_dlopen+:} false; then :
   10845   $as_echo_n "(cached) " >&6
   10846 else
   10847   ac_check_lib_save_LIBS=$LIBS
   10848 LIBS="-lsvld  $LIBS"
   10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10850 /* end confdefs.h.  */
   10851 
   10852 /* Override any GCC internal prototype to avoid an error.
   10853    Use char because int might match the return type of a GCC
   10854    builtin and then its argument prototype would still apply.  */
   10855 #ifdef __cplusplus
   10856 extern "C"
   10857 #endif
   10858 char dlopen ();
   10859 int
   10860 main ()
   10861 {
   10862 return dlopen ();
   10863   ;
   10864   return 0;
   10865 }
   10866 _ACEOF
   10867 if ac_fn_c_try_link "$LINENO"; then :
   10868   ac_cv_lib_svld_dlopen=yes
   10869 else
   10870   ac_cv_lib_svld_dlopen=no
   10871 fi
   10872 rm -f core conftest.err conftest.$ac_objext \
   10873     conftest$ac_exeext conftest.$ac_ext
   10874 LIBS=$ac_check_lib_save_LIBS
   10875 fi
   10876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   10877 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   10878 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   10879   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10880 else
   10881   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   10882 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   10883 if ${ac_cv_lib_dld_dld_link+:} false; then :
   10884   $as_echo_n "(cached) " >&6
   10885 else
   10886   ac_check_lib_save_LIBS=$LIBS
   10887 LIBS="-ldld  $LIBS"
   10888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10889 /* end confdefs.h.  */
   10890 
   10891 /* Override any GCC internal prototype to avoid an error.
   10892    Use char because int might match the return type of a GCC
   10893    builtin and then its argument prototype would still apply.  */
   10894 #ifdef __cplusplus
   10895 extern "C"
   10896 #endif
   10897 char dld_link ();
   10898 int
   10899 main ()
   10900 {
   10901 return dld_link ();
   10902   ;
   10903   return 0;
   10904 }
   10905 _ACEOF
   10906 if ac_fn_c_try_link "$LINENO"; then :
   10907   ac_cv_lib_dld_dld_link=yes
   10908 else
   10909   ac_cv_lib_dld_dld_link=no
   10910 fi
   10911 rm -f core conftest.err conftest.$ac_objext \
   10912     conftest$ac_exeext conftest.$ac_ext
   10913 LIBS=$ac_check_lib_save_LIBS
   10914 fi
   10915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   10916 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   10917 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   10918   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   10919 fi
   10920 
   10921 
   10922 fi
   10923 
   10924 
   10925 fi
   10926 
   10927 
   10928 fi
   10929 
   10930 
   10931 fi
   10932 
   10933 
   10934 fi
   10935 
   10936     ;;
   10937   esac
   10938 
   10939   if test "x$lt_cv_dlopen" != xno; then
   10940     enable_dlopen=yes
   10941   else
   10942     enable_dlopen=no
   10943   fi
   10944 
   10945   case $lt_cv_dlopen in
   10946   dlopen)
   10947     save_CPPFLAGS="$CPPFLAGS"
   10948     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10949 
   10950     save_LDFLAGS="$LDFLAGS"
   10951     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10952 
   10953     save_LIBS="$LIBS"
   10954     LIBS="$lt_cv_dlopen_libs $LIBS"
   10955 
   10956     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   10957 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   10958 if ${lt_cv_dlopen_self+:} false; then :
   10959   $as_echo_n "(cached) " >&6
   10960 else
   10961   	  if test "$cross_compiling" = yes; then :
   10962   lt_cv_dlopen_self=cross
   10963 else
   10964   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10965   lt_status=$lt_dlunknown
   10966   cat > conftest.$ac_ext <<_LT_EOF
   10967 #line $LINENO "configure"
   10968 #include "confdefs.h"
   10969 
   10970 #if HAVE_DLFCN_H
   10971 #include <dlfcn.h>
   10972 #endif
   10973 
   10974 #include <stdio.h>
   10975 
   10976 #ifdef RTLD_GLOBAL
   10977 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10978 #else
   10979 #  ifdef DL_GLOBAL
   10980 #    define LT_DLGLOBAL		DL_GLOBAL
   10981 #  else
   10982 #    define LT_DLGLOBAL		0
   10983 #  endif
   10984 #endif
   10985 
   10986 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10987    find out it does not work in some platform. */
   10988 #ifndef LT_DLLAZY_OR_NOW
   10989 #  ifdef RTLD_LAZY
   10990 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10991 #  else
   10992 #    ifdef DL_LAZY
   10993 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10994 #    else
   10995 #      ifdef RTLD_NOW
   10996 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10997 #      else
   10998 #        ifdef DL_NOW
   10999 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11000 #        else
   11001 #          define LT_DLLAZY_OR_NOW	0
   11002 #        endif
   11003 #      endif
   11004 #    endif
   11005 #  endif
   11006 #endif
   11007 
   11008 /* When -fvisbility=hidden is used, assume the code has been annotated
   11009    correspondingly for the symbols needed.  */
   11010 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11011 int fnord () __attribute__((visibility("default")));
   11012 #endif
   11013 
   11014 int fnord () { return 42; }
   11015 int main ()
   11016 {
   11017   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11018   int status = $lt_dlunknown;
   11019 
   11020   if (self)
   11021     {
   11022       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11023       else
   11024         {
   11025 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11026           else puts (dlerror ());
   11027 	}
   11028       /* dlclose (self); */
   11029     }
   11030   else
   11031     puts (dlerror ());
   11032 
   11033   return status;
   11034 }
   11035 _LT_EOF
   11036   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11037   (eval $ac_link) 2>&5
   11038   ac_status=$?
   11039   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11040   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11041     (./conftest; exit; ) >&5 2>/dev/null
   11042     lt_status=$?
   11043     case x$lt_status in
   11044       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11045       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11046       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11047     esac
   11048   else :
   11049     # compilation failed
   11050     lt_cv_dlopen_self=no
   11051   fi
   11052 fi
   11053 rm -fr conftest*
   11054 
   11055 
   11056 fi
   11057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11058 $as_echo "$lt_cv_dlopen_self" >&6; }
   11059 
   11060     if test "x$lt_cv_dlopen_self" = xyes; then
   11061       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11062       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11063 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11064 if ${lt_cv_dlopen_self_static+:} false; then :
   11065   $as_echo_n "(cached) " >&6
   11066 else
   11067   	  if test "$cross_compiling" = yes; then :
   11068   lt_cv_dlopen_self_static=cross
   11069 else
   11070   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11071   lt_status=$lt_dlunknown
   11072   cat > conftest.$ac_ext <<_LT_EOF
   11073 #line $LINENO "configure"
   11074 #include "confdefs.h"
   11075 
   11076 #if HAVE_DLFCN_H
   11077 #include <dlfcn.h>
   11078 #endif
   11079 
   11080 #include <stdio.h>
   11081 
   11082 #ifdef RTLD_GLOBAL
   11083 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11084 #else
   11085 #  ifdef DL_GLOBAL
   11086 #    define LT_DLGLOBAL		DL_GLOBAL
   11087 #  else
   11088 #    define LT_DLGLOBAL		0
   11089 #  endif
   11090 #endif
   11091 
   11092 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11093    find out it does not work in some platform. */
   11094 #ifndef LT_DLLAZY_OR_NOW
   11095 #  ifdef RTLD_LAZY
   11096 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11097 #  else
   11098 #    ifdef DL_LAZY
   11099 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11100 #    else
   11101 #      ifdef RTLD_NOW
   11102 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11103 #      else
   11104 #        ifdef DL_NOW
   11105 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11106 #        else
   11107 #          define LT_DLLAZY_OR_NOW	0
   11108 #        endif
   11109 #      endif
   11110 #    endif
   11111 #  endif
   11112 #endif
   11113 
   11114 /* When -fvisbility=hidden is used, assume the code has been annotated
   11115    correspondingly for the symbols needed.  */
   11116 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11117 int fnord () __attribute__((visibility("default")));
   11118 #endif
   11119 
   11120 int fnord () { return 42; }
   11121 int main ()
   11122 {
   11123   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11124   int status = $lt_dlunknown;
   11125 
   11126   if (self)
   11127     {
   11128       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11129       else
   11130         {
   11131 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11132           else puts (dlerror ());
   11133 	}
   11134       /* dlclose (self); */
   11135     }
   11136   else
   11137     puts (dlerror ());
   11138 
   11139   return status;
   11140 }
   11141 _LT_EOF
   11142   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11143   (eval $ac_link) 2>&5
   11144   ac_status=$?
   11145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11146   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   11147     (./conftest; exit; ) >&5 2>/dev/null
   11148     lt_status=$?
   11149     case x$lt_status in
   11150       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11151       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11152       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11153     esac
   11154   else :
   11155     # compilation failed
   11156     lt_cv_dlopen_self_static=no
   11157   fi
   11158 fi
   11159 rm -fr conftest*
   11160 
   11161 
   11162 fi
   11163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11164 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11165     fi
   11166 
   11167     CPPFLAGS="$save_CPPFLAGS"
   11168     LDFLAGS="$save_LDFLAGS"
   11169     LIBS="$save_LIBS"
   11170     ;;
   11171   esac
   11172 
   11173   case $lt_cv_dlopen_self in
   11174   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11175   *) enable_dlopen_self=unknown ;;
   11176   esac
   11177 
   11178   case $lt_cv_dlopen_self_static in
   11179   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11180   *) enable_dlopen_self_static=unknown ;;
   11181   esac
   11182 fi
   11183 
   11184 
   11185 
   11186 
   11187 
   11188 
   11189 
   11190 
   11191 
   11192 
   11193 
   11194 
   11195 
   11196 
   11197 
   11198 
   11199 
   11200 striplib=
   11201 old_striplib=
   11202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11203 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11204 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11205   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   11206   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   11207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11208 $as_echo "yes" >&6; }
   11209 else
   11210 # FIXME - insert some real tests, host_os isn't really good enough
   11211   case $host_os in
   11212   darwin*)
   11213     if test -n "$STRIP" ; then
   11214       striplib="$STRIP -x"
   11215       old_striplib="$STRIP -S"
   11216       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11217 $as_echo "yes" >&6; }
   11218     else
   11219       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11220 $as_echo "no" >&6; }
   11221     fi
   11222     ;;
   11223   *)
   11224     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11225 $as_echo "no" >&6; }
   11226     ;;
   11227   esac
   11228 fi
   11229 
   11230 
   11231 
   11232 
   11233 
   11234 
   11235 
   11236 
   11237 
   11238 
   11239 
   11240 
   11241   # Report which library types will actually be built
   11242   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   11243 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   11244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   11245 $as_echo "$can_build_shared" >&6; }
   11246 
   11247   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   11248 $as_echo_n "checking whether to build shared libraries... " >&6; }
   11249   test "$can_build_shared" = "no" && enable_shared=no
   11250 
   11251   # On AIX, shared libraries and static libraries use the same namespace, and
   11252   # are all built from PIC.
   11253   case $host_os in
   11254   aix3*)
   11255     test "$enable_shared" = yes && enable_static=no
   11256     if test -n "$RANLIB"; then
   11257       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   11258       postinstall_cmds='$RANLIB $lib'
   11259     fi
   11260     ;;
   11261 
   11262   aix[4-9]*)
   11263     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   11264       test "$enable_shared" = yes && enable_static=no
   11265     fi
   11266     ;;
   11267   esac
   11268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   11269 $as_echo "$enable_shared" >&6; }
   11270 
   11271   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   11272 $as_echo_n "checking whether to build static libraries... " >&6; }
   11273   # Make sure either enable_shared or enable_static is yes.
   11274   test "$enable_shared" = yes || enable_static=yes
   11275   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   11276 $as_echo "$enable_static" >&6; }
   11277 
   11278 
   11279 
   11280 
   11281 fi
   11282 ac_ext=c
   11283 ac_cpp='$CPP $CPPFLAGS'
   11284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   11285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   11286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   11287 
   11288 CC="$lt_save_CC"
   11289 
   11290 
   11291 
   11292 
   11293 
   11294 
   11295 
   11296 
   11297 
   11298 
   11299 
   11300 
   11301 
   11302 
   11303 
   11304         ac_config_commands="$ac_config_commands libtool"
   11305 
   11306 
   11307 
   11308 
   11309 # Only expand once:
   11310 
   11311 
   11312 
   11313 # Initialize X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   11314 
   11315 
   11316 
   11317 
   11318 
   11319 
   11320 
   11321 
   11322 
   11323 
   11324 
   11325    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   11326 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   11327 if ${ac_cv_prog_cc_c99+:} false; then :
   11328   $as_echo_n "(cached) " >&6
   11329 else
   11330   ac_cv_prog_cc_c99=no
   11331 ac_save_CC=$CC
   11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11333 /* end confdefs.h.  */
   11334 #include <stdarg.h>
   11335 #include <stdbool.h>
   11336 #include <stdlib.h>
   11337 #include <wchar.h>
   11338 #include <stdio.h>
   11339 
   11340 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   11341 #define debug(...) fprintf (stderr, __VA_ARGS__)
   11342 #define showlist(...) puts (#__VA_ARGS__)
   11343 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   11344 static void
   11345 test_varargs_macros (void)
   11346 {
   11347   int x = 1234;
   11348   int y = 5678;
   11349   debug ("Flag");
   11350   debug ("X = %d\n", x);
   11351   showlist (The first, second, and third items.);
   11352   report (x>y, "x is %d but y is %d", x, y);
   11353 }
   11354 
   11355 // Check long long types.
   11356 #define BIG64 18446744073709551615ull
   11357 #define BIG32 4294967295ul
   11358 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   11359 #if !BIG_OK
   11360   your preprocessor is broken;
   11361 #endif
   11362 #if BIG_OK
   11363 #else
   11364   your preprocessor is broken;
   11365 #endif
   11366 static long long int bignum = -9223372036854775807LL;
   11367 static unsigned long long int ubignum = BIG64;
   11368 
   11369 struct incomplete_array
   11370 {
   11371   int datasize;
   11372   double data[];
   11373 };
   11374 
   11375 struct named_init {
   11376   int number;
   11377   const wchar_t *name;
   11378   double average;
   11379 };
   11380 
   11381 typedef const char *ccp;
   11382 
   11383 static inline int
   11384 test_restrict (ccp restrict text)
   11385 {
   11386   // See if C++-style comments work.
   11387   // Iterate through items via the restricted pointer.
   11388   // Also check for declarations in for loops.
   11389   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   11390     continue;
   11391   return 0;
   11392 }
   11393 
   11394 // Check varargs and va_copy.
   11395 static void
   11396 test_varargs (const char *format, ...)
   11397 {
   11398   va_list args;
   11399   va_start (args, format);
   11400   va_list args_copy;
   11401   va_copy (args_copy, args);
   11402 
   11403   const char *str;
   11404   int number;
   11405   float fnumber;
   11406 
   11407   while (*format)
   11408     {
   11409       switch (*format++)
   11410 	{
   11411 	case 's': // string
   11412 	  str = va_arg (args_copy, const char *);
   11413 	  break;
   11414 	case 'd': // int
   11415 	  number = va_arg (args_copy, int);
   11416 	  break;
   11417 	case 'f': // float
   11418 	  fnumber = va_arg (args_copy, double);
   11419 	  break;
   11420 	default:
   11421 	  break;
   11422 	}
   11423     }
   11424   va_end (args_copy);
   11425   va_end (args);
   11426 }
   11427 
   11428 int
   11429 main ()
   11430 {
   11431 
   11432   // Check bool.
   11433   _Bool success = false;
   11434 
   11435   // Check restrict.
   11436   if (test_restrict ("String literal") == 0)
   11437     success = true;
   11438   char *restrict newvar = "Another string";
   11439 
   11440   // Check varargs.
   11441   test_varargs ("s, d' f .", "string", 65, 34.234);
   11442   test_varargs_macros ();
   11443 
   11444   // Check flexible array members.
   11445   struct incomplete_array *ia =
   11446     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   11447   ia->datasize = 10;
   11448   for (int i = 0; i < ia->datasize; ++i)
   11449     ia->data[i] = i * 1.234;
   11450 
   11451   // Check named initializers.
   11452   struct named_init ni = {
   11453     .number = 34,
   11454     .name = L"Test wide string",
   11455     .average = 543.34343,
   11456   };
   11457 
   11458   ni.number = 58;
   11459 
   11460   int dynamic_array[ni.number];
   11461   dynamic_array[ni.number - 1] = 543;
   11462 
   11463   // work around unused variable warnings
   11464   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   11465 	  || dynamic_array[ni.number - 1] != 543);
   11466 
   11467   ;
   11468   return 0;
   11469 }
   11470 _ACEOF
   11471 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   11472 do
   11473   CC="$ac_save_CC $ac_arg"
   11474   if ac_fn_c_try_compile "$LINENO"; then :
   11475   ac_cv_prog_cc_c99=$ac_arg
   11476 fi
   11477 rm -f core conftest.err conftest.$ac_objext
   11478   test "x$ac_cv_prog_cc_c99" != "xno" && break
   11479 done
   11480 rm -f conftest.$ac_ext
   11481 CC=$ac_save_CC
   11482 
   11483 fi
   11484 # AC_CACHE_VAL
   11485 case "x$ac_cv_prog_cc_c99" in
   11486   x)
   11487     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   11488 $as_echo "none needed" >&6; } ;;
   11489   xno)
   11490     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   11491 $as_echo "unsupported" >&6; } ;;
   11492   *)
   11493     CC="$CC $ac_cv_prog_cc_c99"
   11494     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   11495 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   11496 esac
   11497 if test "x$ac_cv_prog_cc_c99" != xno; then :
   11498 
   11499 fi
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   11507 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   11508   CLANGCC="yes"
   11509 else
   11510   CLANGCC="no"
   11511 fi
   11512 
   11513 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   11514 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   11515   INTELCC="yes"
   11516 else
   11517   INTELCC="no"
   11518 fi
   11519 
   11520 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   11521 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   11522   SUNCC="yes"
   11523 else
   11524   SUNCC="no"
   11525 fi
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   11535 	if test -n "$ac_tool_prefix"; then
   11536   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   11537 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   11538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11539 $as_echo_n "checking for $ac_word... " >&6; }
   11540 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   11541   $as_echo_n "(cached) " >&6
   11542 else
   11543   case $PKG_CONFIG in
   11544   [\\/]* | ?:[\\/]*)
   11545   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   11546   ;;
   11547   *)
   11548   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11549 for as_dir in $PATH
   11550 do
   11551   IFS=$as_save_IFS
   11552   test -z "$as_dir" && as_dir=.
   11553     for ac_exec_ext in '' $ac_executable_extensions; do
   11554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11555     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11557     break 2
   11558   fi
   11559 done
   11560   done
   11561 IFS=$as_save_IFS
   11562 
   11563   ;;
   11564 esac
   11565 fi
   11566 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   11567 if test -n "$PKG_CONFIG"; then
   11568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   11569 $as_echo "$PKG_CONFIG" >&6; }
   11570 else
   11571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11572 $as_echo "no" >&6; }
   11573 fi
   11574 
   11575 
   11576 fi
   11577 if test -z "$ac_cv_path_PKG_CONFIG"; then
   11578   ac_pt_PKG_CONFIG=$PKG_CONFIG
   11579   # Extract the first word of "pkg-config", so it can be a program name with args.
   11580 set dummy pkg-config; ac_word=$2
   11581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11582 $as_echo_n "checking for $ac_word... " >&6; }
   11583 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   11584   $as_echo_n "(cached) " >&6
   11585 else
   11586   case $ac_pt_PKG_CONFIG in
   11587   [\\/]* | ?:[\\/]*)
   11588   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   11589   ;;
   11590   *)
   11591   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11592 for as_dir in $PATH
   11593 do
   11594   IFS=$as_save_IFS
   11595   test -z "$as_dir" && as_dir=.
   11596     for ac_exec_ext in '' $ac_executable_extensions; do
   11597   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11598     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   11599     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11600     break 2
   11601   fi
   11602 done
   11603   done
   11604 IFS=$as_save_IFS
   11605 
   11606   ;;
   11607 esac
   11608 fi
   11609 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   11610 if test -n "$ac_pt_PKG_CONFIG"; then
   11611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   11612 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   11613 else
   11614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11615 $as_echo "no" >&6; }
   11616 fi
   11617 
   11618   if test "x$ac_pt_PKG_CONFIG" = x; then
   11619     PKG_CONFIG=""
   11620   else
   11621     case $cross_compiling:$ac_tool_warned in
   11622 yes:)
   11623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11625 ac_tool_warned=yes ;;
   11626 esac
   11627     PKG_CONFIG=$ac_pt_PKG_CONFIG
   11628   fi
   11629 else
   11630   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   11631 fi
   11632 
   11633 fi
   11634 if test -n "$PKG_CONFIG"; then
   11635 	_pkg_min_version=0.9.0
   11636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   11637 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   11638 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   11639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11640 $as_echo "yes" >&6; }
   11641 	else
   11642 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11643 $as_echo "no" >&6; }
   11644 		PKG_CONFIG=""
   11645 	fi
   11646 fi
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 # Check whether --enable-selective-werror was given.
   11653 if test "${enable_selective_werror+set}" = set; then :
   11654   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   11655 else
   11656   SELECTIVE_WERROR=yes
   11657 fi
   11658 
   11659 
   11660 
   11661 
   11662 
   11663 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   11664 if test "x$SUNCC" = "xyes"; then
   11665     BASE_CFLAGS="-v"
   11666 else
   11667     BASE_CFLAGS=""
   11668 fi
   11669 
   11670 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   11671 
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 xorg_testset_save_CFLAGS="$CFLAGS"
   11685 
   11686 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11687 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11688 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11689 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11690 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11691   $as_echo_n "(cached) " >&6
   11692 else
   11693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11694 /* end confdefs.h.  */
   11695 int i;
   11696 _ACEOF
   11697 if ac_fn_c_try_compile "$LINENO"; then :
   11698   xorg_cv_cc_flag_unknown_warning_option=yes
   11699 else
   11700   xorg_cv_cc_flag_unknown_warning_option=no
   11701 fi
   11702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11703 fi
   11704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11705 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11706 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11707 	CFLAGS="$xorg_testset_save_CFLAGS"
   11708 fi
   11709 
   11710 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11711 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11712 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11713 	fi
   11714 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11715 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11716 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11717 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11718   $as_echo_n "(cached) " >&6
   11719 else
   11720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11721 /* end confdefs.h.  */
   11722 int i;
   11723 _ACEOF
   11724 if ac_fn_c_try_compile "$LINENO"; then :
   11725   xorg_cv_cc_flag_unused_command_line_argument=yes
   11726 else
   11727   xorg_cv_cc_flag_unused_command_line_argument=no
   11728 fi
   11729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11730 fi
   11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11732 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11733 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11734 	CFLAGS="$xorg_testset_save_CFLAGS"
   11735 fi
   11736 
   11737 found="no"
   11738 
   11739 	if test $found = "no" ; then
   11740 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11741 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11742 		fi
   11743 
   11744 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11745 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11746 		fi
   11747 
   11748 		CFLAGS="$CFLAGS -Wall"
   11749 
   11750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   11751 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   11752 		cacheid=xorg_cv_cc_flag__Wall
   11753 		if eval \${$cacheid+:} false; then :
   11754   $as_echo_n "(cached) " >&6
   11755 else
   11756   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11757 /* end confdefs.h.  */
   11758 int i;
   11759 int
   11760 main ()
   11761 {
   11762 
   11763   ;
   11764   return 0;
   11765 }
   11766 _ACEOF
   11767 if ac_fn_c_try_link "$LINENO"; then :
   11768   eval $cacheid=yes
   11769 else
   11770   eval $cacheid=no
   11771 fi
   11772 rm -f core conftest.err conftest.$ac_objext \
   11773     conftest$ac_exeext conftest.$ac_ext
   11774 fi
   11775 
   11776 
   11777 		CFLAGS="$xorg_testset_save_CFLAGS"
   11778 
   11779 		eval supported=\$$cacheid
   11780 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11781 $as_echo "$supported" >&6; }
   11782 		if test "$supported" = "yes" ; then
   11783 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   11784 			found="yes"
   11785 		fi
   11786 	fi
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 
   11801 
   11802 xorg_testset_save_CFLAGS="$CFLAGS"
   11803 
   11804 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11805 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11806 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11807 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11808 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11809   $as_echo_n "(cached) " >&6
   11810 else
   11811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11812 /* end confdefs.h.  */
   11813 int i;
   11814 _ACEOF
   11815 if ac_fn_c_try_compile "$LINENO"; then :
   11816   xorg_cv_cc_flag_unknown_warning_option=yes
   11817 else
   11818   xorg_cv_cc_flag_unknown_warning_option=no
   11819 fi
   11820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11821 fi
   11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11823 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11824 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11825 	CFLAGS="$xorg_testset_save_CFLAGS"
   11826 fi
   11827 
   11828 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11829 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11830 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11831 	fi
   11832 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11833 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11834 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11835 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11836   $as_echo_n "(cached) " >&6
   11837 else
   11838   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11839 /* end confdefs.h.  */
   11840 int i;
   11841 _ACEOF
   11842 if ac_fn_c_try_compile "$LINENO"; then :
   11843   xorg_cv_cc_flag_unused_command_line_argument=yes
   11844 else
   11845   xorg_cv_cc_flag_unused_command_line_argument=no
   11846 fi
   11847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11848 fi
   11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11850 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11851 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11852 	CFLAGS="$xorg_testset_save_CFLAGS"
   11853 fi
   11854 
   11855 found="no"
   11856 
   11857 	if test $found = "no" ; then
   11858 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11859 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11860 		fi
   11861 
   11862 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11863 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11864 		fi
   11865 
   11866 		CFLAGS="$CFLAGS -Wpointer-arith"
   11867 
   11868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   11869 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   11870 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   11871 		if eval \${$cacheid+:} false; then :
   11872   $as_echo_n "(cached) " >&6
   11873 else
   11874   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11875 /* end confdefs.h.  */
   11876 int i;
   11877 int
   11878 main ()
   11879 {
   11880 
   11881   ;
   11882   return 0;
   11883 }
   11884 _ACEOF
   11885 if ac_fn_c_try_link "$LINENO"; then :
   11886   eval $cacheid=yes
   11887 else
   11888   eval $cacheid=no
   11889 fi
   11890 rm -f core conftest.err conftest.$ac_objext \
   11891     conftest$ac_exeext conftest.$ac_ext
   11892 fi
   11893 
   11894 
   11895 		CFLAGS="$xorg_testset_save_CFLAGS"
   11896 
   11897 		eval supported=\$$cacheid
   11898 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   11899 $as_echo "$supported" >&6; }
   11900 		if test "$supported" = "yes" ; then
   11901 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   11902 			found="yes"
   11903 		fi
   11904 	fi
   11905 
   11906 
   11907 
   11908 
   11909 
   11910 
   11911 
   11912 
   11913 
   11914 
   11915 
   11916 
   11917 
   11918 
   11919 
   11920 xorg_testset_save_CFLAGS="$CFLAGS"
   11921 
   11922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   11923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   11925 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   11926 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   11927   $as_echo_n "(cached) " >&6
   11928 else
   11929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11930 /* end confdefs.h.  */
   11931 int i;
   11932 _ACEOF
   11933 if ac_fn_c_try_compile "$LINENO"; then :
   11934   xorg_cv_cc_flag_unknown_warning_option=yes
   11935 else
   11936   xorg_cv_cc_flag_unknown_warning_option=no
   11937 fi
   11938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11939 fi
   11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   11941 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   11942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   11943 	CFLAGS="$xorg_testset_save_CFLAGS"
   11944 fi
   11945 
   11946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   11947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   11948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11949 	fi
   11950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   11952 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   11953 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   11954   $as_echo_n "(cached) " >&6
   11955 else
   11956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11957 /* end confdefs.h.  */
   11958 int i;
   11959 _ACEOF
   11960 if ac_fn_c_try_compile "$LINENO"; then :
   11961   xorg_cv_cc_flag_unused_command_line_argument=yes
   11962 else
   11963   xorg_cv_cc_flag_unused_command_line_argument=no
   11964 fi
   11965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   11966 fi
   11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   11968 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   11969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   11970 	CFLAGS="$xorg_testset_save_CFLAGS"
   11971 fi
   11972 
   11973 found="no"
   11974 
   11975 	if test $found = "no" ; then
   11976 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   11977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   11978 		fi
   11979 
   11980 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   11981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   11982 		fi
   11983 
   11984 		CFLAGS="$CFLAGS -Wmissing-declarations"
   11985 
   11986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   11987 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   11988 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   11989 		if eval \${$cacheid+:} false; then :
   11990   $as_echo_n "(cached) " >&6
   11991 else
   11992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11993 /* end confdefs.h.  */
   11994 int i;
   11995 int
   11996 main ()
   11997 {
   11998 
   11999   ;
   12000   return 0;
   12001 }
   12002 _ACEOF
   12003 if ac_fn_c_try_link "$LINENO"; then :
   12004   eval $cacheid=yes
   12005 else
   12006   eval $cacheid=no
   12007 fi
   12008 rm -f core conftest.err conftest.$ac_objext \
   12009     conftest$ac_exeext conftest.$ac_ext
   12010 fi
   12011 
   12012 
   12013 		CFLAGS="$xorg_testset_save_CFLAGS"
   12014 
   12015 		eval supported=\$$cacheid
   12016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12017 $as_echo "$supported" >&6; }
   12018 		if test "$supported" = "yes" ; then
   12019 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12020 			found="yes"
   12021 		fi
   12022 	fi
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035 
   12036 
   12037 
   12038 xorg_testset_save_CFLAGS="$CFLAGS"
   12039 
   12040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12043 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12044 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12045   $as_echo_n "(cached) " >&6
   12046 else
   12047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12048 /* end confdefs.h.  */
   12049 int i;
   12050 _ACEOF
   12051 if ac_fn_c_try_compile "$LINENO"; then :
   12052   xorg_cv_cc_flag_unknown_warning_option=yes
   12053 else
   12054   xorg_cv_cc_flag_unknown_warning_option=no
   12055 fi
   12056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12057 fi
   12058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12059 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12061 	CFLAGS="$xorg_testset_save_CFLAGS"
   12062 fi
   12063 
   12064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12067 	fi
   12068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12070 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12071 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12072   $as_echo_n "(cached) " >&6
   12073 else
   12074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12075 /* end confdefs.h.  */
   12076 int i;
   12077 _ACEOF
   12078 if ac_fn_c_try_compile "$LINENO"; then :
   12079   xorg_cv_cc_flag_unused_command_line_argument=yes
   12080 else
   12081   xorg_cv_cc_flag_unused_command_line_argument=no
   12082 fi
   12083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12084 fi
   12085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12086 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12088 	CFLAGS="$xorg_testset_save_CFLAGS"
   12089 fi
   12090 
   12091 found="no"
   12092 
   12093 	if test $found = "no" ; then
   12094 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12096 		fi
   12097 
   12098 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12100 		fi
   12101 
   12102 		CFLAGS="$CFLAGS -Wformat=2"
   12103 
   12104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12105 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12106 		cacheid=xorg_cv_cc_flag__Wformat_2
   12107 		if eval \${$cacheid+:} false; then :
   12108   $as_echo_n "(cached) " >&6
   12109 else
   12110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12111 /* end confdefs.h.  */
   12112 int i;
   12113 int
   12114 main ()
   12115 {
   12116 
   12117   ;
   12118   return 0;
   12119 }
   12120 _ACEOF
   12121 if ac_fn_c_try_link "$LINENO"; then :
   12122   eval $cacheid=yes
   12123 else
   12124   eval $cacheid=no
   12125 fi
   12126 rm -f core conftest.err conftest.$ac_objext \
   12127     conftest$ac_exeext conftest.$ac_ext
   12128 fi
   12129 
   12130 
   12131 		CFLAGS="$xorg_testset_save_CFLAGS"
   12132 
   12133 		eval supported=\$$cacheid
   12134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12135 $as_echo "$supported" >&6; }
   12136 		if test "$supported" = "yes" ; then
   12137 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12138 			found="yes"
   12139 		fi
   12140 	fi
   12141 
   12142 	if test $found = "no" ; then
   12143 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12144 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12145 		fi
   12146 
   12147 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12148 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12149 		fi
   12150 
   12151 		CFLAGS="$CFLAGS -Wformat"
   12152 
   12153 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12154 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12155 		cacheid=xorg_cv_cc_flag__Wformat
   12156 		if eval \${$cacheid+:} false; then :
   12157   $as_echo_n "(cached) " >&6
   12158 else
   12159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12160 /* end confdefs.h.  */
   12161 int i;
   12162 int
   12163 main ()
   12164 {
   12165 
   12166   ;
   12167   return 0;
   12168 }
   12169 _ACEOF
   12170 if ac_fn_c_try_link "$LINENO"; then :
   12171   eval $cacheid=yes
   12172 else
   12173   eval $cacheid=no
   12174 fi
   12175 rm -f core conftest.err conftest.$ac_objext \
   12176     conftest$ac_exeext conftest.$ac_ext
   12177 fi
   12178 
   12179 
   12180 		CFLAGS="$xorg_testset_save_CFLAGS"
   12181 
   12182 		eval supported=\$$cacheid
   12183 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12184 $as_echo "$supported" >&6; }
   12185 		if test "$supported" = "yes" ; then
   12186 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12187 			found="yes"
   12188 		fi
   12189 	fi
   12190 
   12191 
   12192 
   12193 
   12194 
   12195 
   12196 
   12197 
   12198 
   12199 
   12200 
   12201 
   12202 
   12203 
   12204 
   12205 
   12206 
   12207 xorg_testset_save_CFLAGS="$CFLAGS"
   12208 
   12209 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12210 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12211 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12212 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12213 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12214   $as_echo_n "(cached) " >&6
   12215 else
   12216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12217 /* end confdefs.h.  */
   12218 int i;
   12219 _ACEOF
   12220 if ac_fn_c_try_compile "$LINENO"; then :
   12221   xorg_cv_cc_flag_unknown_warning_option=yes
   12222 else
   12223   xorg_cv_cc_flag_unknown_warning_option=no
   12224 fi
   12225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12226 fi
   12227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12228 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12229 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12230 	CFLAGS="$xorg_testset_save_CFLAGS"
   12231 fi
   12232 
   12233 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12234 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12235 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12236 	fi
   12237 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12238 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12239 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12240 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12241   $as_echo_n "(cached) " >&6
   12242 else
   12243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12244 /* end confdefs.h.  */
   12245 int i;
   12246 _ACEOF
   12247 if ac_fn_c_try_compile "$LINENO"; then :
   12248   xorg_cv_cc_flag_unused_command_line_argument=yes
   12249 else
   12250   xorg_cv_cc_flag_unused_command_line_argument=no
   12251 fi
   12252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12253 fi
   12254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12255 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12256 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12257 	CFLAGS="$xorg_testset_save_CFLAGS"
   12258 fi
   12259 
   12260 found="no"
   12261 
   12262 	if test $found = "no" ; then
   12263 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12264 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12265 		fi
   12266 
   12267 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12268 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12269 		fi
   12270 
   12271 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   12272 
   12273 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   12274 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   12275 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   12276 		if eval \${$cacheid+:} false; then :
   12277   $as_echo_n "(cached) " >&6
   12278 else
   12279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12280 /* end confdefs.h.  */
   12281 int i;
   12282 int
   12283 main ()
   12284 {
   12285 
   12286   ;
   12287   return 0;
   12288 }
   12289 _ACEOF
   12290 if ac_fn_c_try_link "$LINENO"; then :
   12291   eval $cacheid=yes
   12292 else
   12293   eval $cacheid=no
   12294 fi
   12295 rm -f core conftest.err conftest.$ac_objext \
   12296     conftest$ac_exeext conftest.$ac_ext
   12297 fi
   12298 
   12299 
   12300 		CFLAGS="$xorg_testset_save_CFLAGS"
   12301 
   12302 		eval supported=\$$cacheid
   12303 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12304 $as_echo "$supported" >&6; }
   12305 		if test "$supported" = "yes" ; then
   12306 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   12307 			found="yes"
   12308 		fi
   12309 	fi
   12310 
   12311 
   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_unknown_warning_option" = "xyes" ; then
   12382 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12383 		fi
   12384 
   12385 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12386 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12387 		fi
   12388 
   12389 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   12390 
   12391 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   12392 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   12393 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   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 -Wmissing-prototypes"
   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_unknown_warning_option" = "xyes" ; then
   12500 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12501 		fi
   12502 
   12503 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12504 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12505 		fi
   12506 
   12507 		CFLAGS="$CFLAGS -Wnested-externs"
   12508 
   12509 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   12510 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   12511 		cacheid=xorg_cv_cc_flag__Wnested_externs
   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 -Wnested-externs"
   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_unknown_warning_option" = "xyes" ; then
   12618 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12619 		fi
   12620 
   12621 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12622 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12623 		fi
   12624 
   12625 		CFLAGS="$CFLAGS -Wbad-function-cast"
   12626 
   12627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   12628 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   12629 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   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 -Wbad-function-cast"
   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_unknown_warning_option" = "xyes" ; then
   12736 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12737 		fi
   12738 
   12739 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12740 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12741 		fi
   12742 
   12743 		CFLAGS="$CFLAGS -Wold-style-definition"
   12744 
   12745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   12746 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   12747 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   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 -Wold-style-definition"
   12779 			found="yes"
   12780 		fi
   12781 	fi
   12782 
   12783 
   12784 
   12785 
   12786 
   12787 
   12788 
   12789 
   12790 
   12791 
   12792 
   12793 
   12794 
   12795 
   12796 
   12797 xorg_testset_save_CFLAGS="$CFLAGS"
   12798 
   12799 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12800 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12801 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12802 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12803 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12804   $as_echo_n "(cached) " >&6
   12805 else
   12806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12807 /* end confdefs.h.  */
   12808 int i;
   12809 _ACEOF
   12810 if ac_fn_c_try_compile "$LINENO"; then :
   12811   xorg_cv_cc_flag_unknown_warning_option=yes
   12812 else
   12813   xorg_cv_cc_flag_unknown_warning_option=no
   12814 fi
   12815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12816 fi
   12817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12818 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12819 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12820 	CFLAGS="$xorg_testset_save_CFLAGS"
   12821 fi
   12822 
   12823 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12824 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12825 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12826 	fi
   12827 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12828 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12829 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12830 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12831   $as_echo_n "(cached) " >&6
   12832 else
   12833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12834 /* end confdefs.h.  */
   12835 int i;
   12836 _ACEOF
   12837 if ac_fn_c_try_compile "$LINENO"; then :
   12838   xorg_cv_cc_flag_unused_command_line_argument=yes
   12839 else
   12840   xorg_cv_cc_flag_unused_command_line_argument=no
   12841 fi
   12842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12843 fi
   12844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12845 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12846 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12847 	CFLAGS="$xorg_testset_save_CFLAGS"
   12848 fi
   12849 
   12850 found="no"
   12851 
   12852 	if test $found = "no" ; then
   12853 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12854 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12855 		fi
   12856 
   12857 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12858 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12859 		fi
   12860 
   12861 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   12862 
   12863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   12864 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   12865 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   12866 		if eval \${$cacheid+:} false; then :
   12867   $as_echo_n "(cached) " >&6
   12868 else
   12869   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12870 /* end confdefs.h.  */
   12871 int i;
   12872 int
   12873 main ()
   12874 {
   12875 
   12876   ;
   12877   return 0;
   12878 }
   12879 _ACEOF
   12880 if ac_fn_c_try_link "$LINENO"; then :
   12881   eval $cacheid=yes
   12882 else
   12883   eval $cacheid=no
   12884 fi
   12885 rm -f core conftest.err conftest.$ac_objext \
   12886     conftest$ac_exeext conftest.$ac_ext
   12887 fi
   12888 
   12889 
   12890 		CFLAGS="$xorg_testset_save_CFLAGS"
   12891 
   12892 		eval supported=\$$cacheid
   12893 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12894 $as_echo "$supported" >&6; }
   12895 		if test "$supported" = "yes" ; then
   12896 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   12897 			found="yes"
   12898 		fi
   12899 	fi
   12900 
   12901 
   12902 
   12903 
   12904 
   12905 # This chunk adds additional warnings that could catch undesired effects.
   12906 
   12907 
   12908 
   12909 
   12910 
   12911 
   12912 
   12913 
   12914 
   12915 
   12916 
   12917 
   12918 
   12919 xorg_testset_save_CFLAGS="$CFLAGS"
   12920 
   12921 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12922 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12924 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12925 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12926   $as_echo_n "(cached) " >&6
   12927 else
   12928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12929 /* end confdefs.h.  */
   12930 int i;
   12931 _ACEOF
   12932 if ac_fn_c_try_compile "$LINENO"; then :
   12933   xorg_cv_cc_flag_unknown_warning_option=yes
   12934 else
   12935   xorg_cv_cc_flag_unknown_warning_option=no
   12936 fi
   12937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12938 fi
   12939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12940 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12941 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12942 	CFLAGS="$xorg_testset_save_CFLAGS"
   12943 fi
   12944 
   12945 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12946 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12947 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12948 	fi
   12949 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12950 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12951 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12952 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12953   $as_echo_n "(cached) " >&6
   12954 else
   12955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12956 /* end confdefs.h.  */
   12957 int i;
   12958 _ACEOF
   12959 if ac_fn_c_try_compile "$LINENO"; then :
   12960   xorg_cv_cc_flag_unused_command_line_argument=yes
   12961 else
   12962   xorg_cv_cc_flag_unused_command_line_argument=no
   12963 fi
   12964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12965 fi
   12966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12967 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12968 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12969 	CFLAGS="$xorg_testset_save_CFLAGS"
   12970 fi
   12971 
   12972 found="no"
   12973 
   12974 	if test $found = "no" ; then
   12975 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   12976 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12977 		fi
   12978 
   12979 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   12980 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12981 		fi
   12982 
   12983 		CFLAGS="$CFLAGS -Wunused"
   12984 
   12985 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   12986 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   12987 		cacheid=xorg_cv_cc_flag__Wunused
   12988 		if eval \${$cacheid+:} false; then :
   12989   $as_echo_n "(cached) " >&6
   12990 else
   12991   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12992 /* end confdefs.h.  */
   12993 int i;
   12994 int
   12995 main ()
   12996 {
   12997 
   12998   ;
   12999   return 0;
   13000 }
   13001 _ACEOF
   13002 if ac_fn_c_try_link "$LINENO"; then :
   13003   eval $cacheid=yes
   13004 else
   13005   eval $cacheid=no
   13006 fi
   13007 rm -f core conftest.err conftest.$ac_objext \
   13008     conftest$ac_exeext conftest.$ac_ext
   13009 fi
   13010 
   13011 
   13012 		CFLAGS="$xorg_testset_save_CFLAGS"
   13013 
   13014 		eval supported=\$$cacheid
   13015 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13016 $as_echo "$supported" >&6; }
   13017 		if test "$supported" = "yes" ; then
   13018 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13019 			found="yes"
   13020 		fi
   13021 	fi
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 xorg_testset_save_CFLAGS="$CFLAGS"
   13038 
   13039 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13040 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13042 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13043 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13044   $as_echo_n "(cached) " >&6
   13045 else
   13046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13047 /* end confdefs.h.  */
   13048 int i;
   13049 _ACEOF
   13050 if ac_fn_c_try_compile "$LINENO"; then :
   13051   xorg_cv_cc_flag_unknown_warning_option=yes
   13052 else
   13053   xorg_cv_cc_flag_unknown_warning_option=no
   13054 fi
   13055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13056 fi
   13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13058 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13059 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13060 	CFLAGS="$xorg_testset_save_CFLAGS"
   13061 fi
   13062 
   13063 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13064 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13065 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13066 	fi
   13067 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13068 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13069 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13070 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13071   $as_echo_n "(cached) " >&6
   13072 else
   13073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13074 /* end confdefs.h.  */
   13075 int i;
   13076 _ACEOF
   13077 if ac_fn_c_try_compile "$LINENO"; then :
   13078   xorg_cv_cc_flag_unused_command_line_argument=yes
   13079 else
   13080   xorg_cv_cc_flag_unused_command_line_argument=no
   13081 fi
   13082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13083 fi
   13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13085 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13086 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13087 	CFLAGS="$xorg_testset_save_CFLAGS"
   13088 fi
   13089 
   13090 found="no"
   13091 
   13092 	if test $found = "no" ; then
   13093 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13094 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13095 		fi
   13096 
   13097 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13098 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13099 		fi
   13100 
   13101 		CFLAGS="$CFLAGS -Wuninitialized"
   13102 
   13103 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13104 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13105 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13106 		if eval \${$cacheid+:} false; then :
   13107   $as_echo_n "(cached) " >&6
   13108 else
   13109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13110 /* end confdefs.h.  */
   13111 int i;
   13112 int
   13113 main ()
   13114 {
   13115 
   13116   ;
   13117   return 0;
   13118 }
   13119 _ACEOF
   13120 if ac_fn_c_try_link "$LINENO"; then :
   13121   eval $cacheid=yes
   13122 else
   13123   eval $cacheid=no
   13124 fi
   13125 rm -f core conftest.err conftest.$ac_objext \
   13126     conftest$ac_exeext conftest.$ac_ext
   13127 fi
   13128 
   13129 
   13130 		CFLAGS="$xorg_testset_save_CFLAGS"
   13131 
   13132 		eval supported=\$$cacheid
   13133 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13134 $as_echo "$supported" >&6; }
   13135 		if test "$supported" = "yes" ; then
   13136 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13137 			found="yes"
   13138 		fi
   13139 	fi
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 
   13148 
   13149 
   13150 
   13151 
   13152 
   13153 
   13154 
   13155 xorg_testset_save_CFLAGS="$CFLAGS"
   13156 
   13157 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13158 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13160 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13161 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13162   $as_echo_n "(cached) " >&6
   13163 else
   13164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13165 /* end confdefs.h.  */
   13166 int i;
   13167 _ACEOF
   13168 if ac_fn_c_try_compile "$LINENO"; then :
   13169   xorg_cv_cc_flag_unknown_warning_option=yes
   13170 else
   13171   xorg_cv_cc_flag_unknown_warning_option=no
   13172 fi
   13173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13174 fi
   13175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13176 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13177 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13178 	CFLAGS="$xorg_testset_save_CFLAGS"
   13179 fi
   13180 
   13181 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13182 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13183 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13184 	fi
   13185 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13186 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13187 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13188 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13189   $as_echo_n "(cached) " >&6
   13190 else
   13191   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13192 /* end confdefs.h.  */
   13193 int i;
   13194 _ACEOF
   13195 if ac_fn_c_try_compile "$LINENO"; then :
   13196   xorg_cv_cc_flag_unused_command_line_argument=yes
   13197 else
   13198   xorg_cv_cc_flag_unused_command_line_argument=no
   13199 fi
   13200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13201 fi
   13202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13203 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13204 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13205 	CFLAGS="$xorg_testset_save_CFLAGS"
   13206 fi
   13207 
   13208 found="no"
   13209 
   13210 	if test $found = "no" ; then
   13211 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13212 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13213 		fi
   13214 
   13215 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13216 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13217 		fi
   13218 
   13219 		CFLAGS="$CFLAGS -Wshadow"
   13220 
   13221 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   13222 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   13223 		cacheid=xorg_cv_cc_flag__Wshadow
   13224 		if eval \${$cacheid+:} false; then :
   13225   $as_echo_n "(cached) " >&6
   13226 else
   13227   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13228 /* end confdefs.h.  */
   13229 int i;
   13230 int
   13231 main ()
   13232 {
   13233 
   13234   ;
   13235   return 0;
   13236 }
   13237 _ACEOF
   13238 if ac_fn_c_try_link "$LINENO"; then :
   13239   eval $cacheid=yes
   13240 else
   13241   eval $cacheid=no
   13242 fi
   13243 rm -f core conftest.err conftest.$ac_objext \
   13244     conftest$ac_exeext conftest.$ac_ext
   13245 fi
   13246 
   13247 
   13248 		CFLAGS="$xorg_testset_save_CFLAGS"
   13249 
   13250 		eval supported=\$$cacheid
   13251 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13252 $as_echo "$supported" >&6; }
   13253 		if test "$supported" = "yes" ; then
   13254 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   13255 			found="yes"
   13256 		fi
   13257 	fi
   13258 
   13259 
   13260 
   13261 
   13262 
   13263 
   13264 
   13265 
   13266 
   13267 
   13268 
   13269 
   13270 
   13271 
   13272 
   13273 xorg_testset_save_CFLAGS="$CFLAGS"
   13274 
   13275 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13276 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13278 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13279 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13280   $as_echo_n "(cached) " >&6
   13281 else
   13282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13283 /* end confdefs.h.  */
   13284 int i;
   13285 _ACEOF
   13286 if ac_fn_c_try_compile "$LINENO"; then :
   13287   xorg_cv_cc_flag_unknown_warning_option=yes
   13288 else
   13289   xorg_cv_cc_flag_unknown_warning_option=no
   13290 fi
   13291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13292 fi
   13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13294 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13295 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13296 	CFLAGS="$xorg_testset_save_CFLAGS"
   13297 fi
   13298 
   13299 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13300 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13301 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13302 	fi
   13303 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13304 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13305 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13306 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13307   $as_echo_n "(cached) " >&6
   13308 else
   13309   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13310 /* end confdefs.h.  */
   13311 int i;
   13312 _ACEOF
   13313 if ac_fn_c_try_compile "$LINENO"; then :
   13314   xorg_cv_cc_flag_unused_command_line_argument=yes
   13315 else
   13316   xorg_cv_cc_flag_unused_command_line_argument=no
   13317 fi
   13318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13319 fi
   13320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13321 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13322 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13323 	CFLAGS="$xorg_testset_save_CFLAGS"
   13324 fi
   13325 
   13326 found="no"
   13327 
   13328 	if test $found = "no" ; then
   13329 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13330 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13331 		fi
   13332 
   13333 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13334 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13335 		fi
   13336 
   13337 		CFLAGS="$CFLAGS -Wcast-qual"
   13338 
   13339 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   13340 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   13341 		cacheid=xorg_cv_cc_flag__Wcast_qual
   13342 		if eval \${$cacheid+:} false; then :
   13343   $as_echo_n "(cached) " >&6
   13344 else
   13345   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13346 /* end confdefs.h.  */
   13347 int i;
   13348 int
   13349 main ()
   13350 {
   13351 
   13352   ;
   13353   return 0;
   13354 }
   13355 _ACEOF
   13356 if ac_fn_c_try_link "$LINENO"; then :
   13357   eval $cacheid=yes
   13358 else
   13359   eval $cacheid=no
   13360 fi
   13361 rm -f core conftest.err conftest.$ac_objext \
   13362     conftest$ac_exeext conftest.$ac_ext
   13363 fi
   13364 
   13365 
   13366 		CFLAGS="$xorg_testset_save_CFLAGS"
   13367 
   13368 		eval supported=\$$cacheid
   13369 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13370 $as_echo "$supported" >&6; }
   13371 		if test "$supported" = "yes" ; then
   13372 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   13373 			found="yes"
   13374 		fi
   13375 	fi
   13376 
   13377 
   13378 
   13379 
   13380 
   13381 
   13382 
   13383 
   13384 
   13385 
   13386 
   13387 
   13388 
   13389 
   13390 
   13391 xorg_testset_save_CFLAGS="$CFLAGS"
   13392 
   13393 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13394 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13396 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13397 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13398   $as_echo_n "(cached) " >&6
   13399 else
   13400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13401 /* end confdefs.h.  */
   13402 int i;
   13403 _ACEOF
   13404 if ac_fn_c_try_compile "$LINENO"; then :
   13405   xorg_cv_cc_flag_unknown_warning_option=yes
   13406 else
   13407   xorg_cv_cc_flag_unknown_warning_option=no
   13408 fi
   13409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13410 fi
   13411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13412 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13413 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13414 	CFLAGS="$xorg_testset_save_CFLAGS"
   13415 fi
   13416 
   13417 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13418 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13419 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13420 	fi
   13421 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13422 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13423 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13424 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13425   $as_echo_n "(cached) " >&6
   13426 else
   13427   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13428 /* end confdefs.h.  */
   13429 int i;
   13430 _ACEOF
   13431 if ac_fn_c_try_compile "$LINENO"; then :
   13432   xorg_cv_cc_flag_unused_command_line_argument=yes
   13433 else
   13434   xorg_cv_cc_flag_unused_command_line_argument=no
   13435 fi
   13436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13437 fi
   13438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13439 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13440 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13441 	CFLAGS="$xorg_testset_save_CFLAGS"
   13442 fi
   13443 
   13444 found="no"
   13445 
   13446 	if test $found = "no" ; then
   13447 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13448 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13449 		fi
   13450 
   13451 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13452 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13453 		fi
   13454 
   13455 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   13456 
   13457 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   13458 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   13459 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   13460 		if eval \${$cacheid+:} false; then :
   13461   $as_echo_n "(cached) " >&6
   13462 else
   13463   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13464 /* end confdefs.h.  */
   13465 int i;
   13466 int
   13467 main ()
   13468 {
   13469 
   13470   ;
   13471   return 0;
   13472 }
   13473 _ACEOF
   13474 if ac_fn_c_try_link "$LINENO"; then :
   13475   eval $cacheid=yes
   13476 else
   13477   eval $cacheid=no
   13478 fi
   13479 rm -f core conftest.err conftest.$ac_objext \
   13480     conftest$ac_exeext conftest.$ac_ext
   13481 fi
   13482 
   13483 
   13484 		CFLAGS="$xorg_testset_save_CFLAGS"
   13485 
   13486 		eval supported=\$$cacheid
   13487 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13488 $as_echo "$supported" >&6; }
   13489 		if test "$supported" = "yes" ; then
   13490 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   13491 			found="yes"
   13492 		fi
   13493 	fi
   13494 
   13495 
   13496 
   13497 
   13498 
   13499 
   13500 
   13501 
   13502 
   13503 
   13504 
   13505 
   13506 
   13507 
   13508 
   13509 xorg_testset_save_CFLAGS="$CFLAGS"
   13510 
   13511 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13512 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13514 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13515 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13516   $as_echo_n "(cached) " >&6
   13517 else
   13518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13519 /* end confdefs.h.  */
   13520 int i;
   13521 _ACEOF
   13522 if ac_fn_c_try_compile "$LINENO"; then :
   13523   xorg_cv_cc_flag_unknown_warning_option=yes
   13524 else
   13525   xorg_cv_cc_flag_unknown_warning_option=no
   13526 fi
   13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13528 fi
   13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13530 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13531 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13532 	CFLAGS="$xorg_testset_save_CFLAGS"
   13533 fi
   13534 
   13535 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13536 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13537 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13538 	fi
   13539 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13540 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13541 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13542 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13543   $as_echo_n "(cached) " >&6
   13544 else
   13545   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13546 /* end confdefs.h.  */
   13547 int i;
   13548 _ACEOF
   13549 if ac_fn_c_try_compile "$LINENO"; then :
   13550   xorg_cv_cc_flag_unused_command_line_argument=yes
   13551 else
   13552   xorg_cv_cc_flag_unused_command_line_argument=no
   13553 fi
   13554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13555 fi
   13556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13557 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13558 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13559 	CFLAGS="$xorg_testset_save_CFLAGS"
   13560 fi
   13561 
   13562 found="no"
   13563 
   13564 	if test $found = "no" ; then
   13565 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13566 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13567 		fi
   13568 
   13569 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13570 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13571 		fi
   13572 
   13573 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   13574 
   13575 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   13576 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   13577 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   13578 		if eval \${$cacheid+:} false; then :
   13579   $as_echo_n "(cached) " >&6
   13580 else
   13581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13582 /* end confdefs.h.  */
   13583 int i;
   13584 int
   13585 main ()
   13586 {
   13587 
   13588   ;
   13589   return 0;
   13590 }
   13591 _ACEOF
   13592 if ac_fn_c_try_link "$LINENO"; then :
   13593   eval $cacheid=yes
   13594 else
   13595   eval $cacheid=no
   13596 fi
   13597 rm -f core conftest.err conftest.$ac_objext \
   13598     conftest$ac_exeext conftest.$ac_ext
   13599 fi
   13600 
   13601 
   13602 		CFLAGS="$xorg_testset_save_CFLAGS"
   13603 
   13604 		eval supported=\$$cacheid
   13605 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13606 $as_echo "$supported" >&6; }
   13607 		if test "$supported" = "yes" ; then
   13608 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   13609 			found="yes"
   13610 		fi
   13611 	fi
   13612 
   13613 
   13614 
   13615 
   13616 
   13617 
   13618 
   13619 
   13620 
   13621 
   13622 
   13623 
   13624 
   13625 
   13626 
   13627 xorg_testset_save_CFLAGS="$CFLAGS"
   13628 
   13629 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13630 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13631 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13632 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13633 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13634   $as_echo_n "(cached) " >&6
   13635 else
   13636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13637 /* end confdefs.h.  */
   13638 int i;
   13639 _ACEOF
   13640 if ac_fn_c_try_compile "$LINENO"; then :
   13641   xorg_cv_cc_flag_unknown_warning_option=yes
   13642 else
   13643   xorg_cv_cc_flag_unknown_warning_option=no
   13644 fi
   13645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13646 fi
   13647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13648 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13649 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13650 	CFLAGS="$xorg_testset_save_CFLAGS"
   13651 fi
   13652 
   13653 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13654 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13655 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13656 	fi
   13657 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13658 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13659 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13660 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13661   $as_echo_n "(cached) " >&6
   13662 else
   13663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13664 /* end confdefs.h.  */
   13665 int i;
   13666 _ACEOF
   13667 if ac_fn_c_try_compile "$LINENO"; then :
   13668   xorg_cv_cc_flag_unused_command_line_argument=yes
   13669 else
   13670   xorg_cv_cc_flag_unused_command_line_argument=no
   13671 fi
   13672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13673 fi
   13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13675 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13676 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13677 	CFLAGS="$xorg_testset_save_CFLAGS"
   13678 fi
   13679 
   13680 found="no"
   13681 
   13682 	if test $found = "no" ; then
   13683 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13684 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13685 		fi
   13686 
   13687 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13688 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13689 		fi
   13690 
   13691 		CFLAGS="$CFLAGS -Wredundant-decls"
   13692 
   13693 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   13694 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   13695 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   13696 		if eval \${$cacheid+:} false; then :
   13697   $as_echo_n "(cached) " >&6
   13698 else
   13699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13700 /* end confdefs.h.  */
   13701 int i;
   13702 int
   13703 main ()
   13704 {
   13705 
   13706   ;
   13707   return 0;
   13708 }
   13709 _ACEOF
   13710 if ac_fn_c_try_link "$LINENO"; then :
   13711   eval $cacheid=yes
   13712 else
   13713   eval $cacheid=no
   13714 fi
   13715 rm -f core conftest.err conftest.$ac_objext \
   13716     conftest$ac_exeext conftest.$ac_ext
   13717 fi
   13718 
   13719 
   13720 		CFLAGS="$xorg_testset_save_CFLAGS"
   13721 
   13722 		eval supported=\$$cacheid
   13723 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13724 $as_echo "$supported" >&6; }
   13725 		if test "$supported" = "yes" ; then
   13726 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   13727 			found="yes"
   13728 		fi
   13729 	fi
   13730 
   13731 
   13732 
   13733 # These are currently disabled because they are noisy.  They will be enabled
   13734 # in the future once the codebase is sufficiently modernized to silence
   13735 # them.  For now, I don't want them to drown out the other warnings.
   13736 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   13737 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   13738 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   13739 
   13740 # Turn some warnings into errors, so we don't accidently get successful builds
   13741 # when there are problems that should be fixed.
   13742 
   13743 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   13744 
   13745 
   13746 
   13747 
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 xorg_testset_save_CFLAGS="$CFLAGS"
   13758 
   13759 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13760 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13761 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13762 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13763 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13764   $as_echo_n "(cached) " >&6
   13765 else
   13766   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13767 /* end confdefs.h.  */
   13768 int i;
   13769 _ACEOF
   13770 if ac_fn_c_try_compile "$LINENO"; then :
   13771   xorg_cv_cc_flag_unknown_warning_option=yes
   13772 else
   13773   xorg_cv_cc_flag_unknown_warning_option=no
   13774 fi
   13775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13776 fi
   13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13778 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13779 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13780 	CFLAGS="$xorg_testset_save_CFLAGS"
   13781 fi
   13782 
   13783 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13784 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13785 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13786 	fi
   13787 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13788 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13789 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13790 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13791   $as_echo_n "(cached) " >&6
   13792 else
   13793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13794 /* end confdefs.h.  */
   13795 int i;
   13796 _ACEOF
   13797 if ac_fn_c_try_compile "$LINENO"; then :
   13798   xorg_cv_cc_flag_unused_command_line_argument=yes
   13799 else
   13800   xorg_cv_cc_flag_unused_command_line_argument=no
   13801 fi
   13802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13803 fi
   13804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13805 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13806 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13807 	CFLAGS="$xorg_testset_save_CFLAGS"
   13808 fi
   13809 
   13810 found="no"
   13811 
   13812 	if test $found = "no" ; then
   13813 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13814 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13815 		fi
   13816 
   13817 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13818 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13819 		fi
   13820 
   13821 		CFLAGS="$CFLAGS -Werror=implicit"
   13822 
   13823 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   13824 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   13825 		cacheid=xorg_cv_cc_flag__Werror_implicit
   13826 		if eval \${$cacheid+:} false; then :
   13827   $as_echo_n "(cached) " >&6
   13828 else
   13829   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13830 /* end confdefs.h.  */
   13831 int i;
   13832 int
   13833 main ()
   13834 {
   13835 
   13836   ;
   13837   return 0;
   13838 }
   13839 _ACEOF
   13840 if ac_fn_c_try_link "$LINENO"; then :
   13841   eval $cacheid=yes
   13842 else
   13843   eval $cacheid=no
   13844 fi
   13845 rm -f core conftest.err conftest.$ac_objext \
   13846     conftest$ac_exeext conftest.$ac_ext
   13847 fi
   13848 
   13849 
   13850 		CFLAGS="$xorg_testset_save_CFLAGS"
   13851 
   13852 		eval supported=\$$cacheid
   13853 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13854 $as_echo "$supported" >&6; }
   13855 		if test "$supported" = "yes" ; then
   13856 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   13857 			found="yes"
   13858 		fi
   13859 	fi
   13860 
   13861 	if test $found = "no" ; then
   13862 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13863 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13864 		fi
   13865 
   13866 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13867 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13868 		fi
   13869 
   13870 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13871 
   13872 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   13873 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   13874 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   13875 		if eval \${$cacheid+:} false; then :
   13876   $as_echo_n "(cached) " >&6
   13877 else
   13878   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13879 /* end confdefs.h.  */
   13880 int i;
   13881 int
   13882 main ()
   13883 {
   13884 
   13885   ;
   13886   return 0;
   13887 }
   13888 _ACEOF
   13889 if ac_fn_c_try_link "$LINENO"; then :
   13890   eval $cacheid=yes
   13891 else
   13892   eval $cacheid=no
   13893 fi
   13894 rm -f core conftest.err conftest.$ac_objext \
   13895     conftest$ac_exeext conftest.$ac_ext
   13896 fi
   13897 
   13898 
   13899 		CFLAGS="$xorg_testset_save_CFLAGS"
   13900 
   13901 		eval supported=\$$cacheid
   13902 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13903 $as_echo "$supported" >&6; }
   13904 		if test "$supported" = "yes" ; then
   13905 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   13906 			found="yes"
   13907 		fi
   13908 	fi
   13909 
   13910 
   13911 
   13912 
   13913 
   13914 
   13915 
   13916 
   13917 
   13918 
   13919 
   13920 
   13921 
   13922 
   13923 
   13924 xorg_testset_save_CFLAGS="$CFLAGS"
   13925 
   13926 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13927 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13929 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13930 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13931   $as_echo_n "(cached) " >&6
   13932 else
   13933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13934 /* end confdefs.h.  */
   13935 int i;
   13936 _ACEOF
   13937 if ac_fn_c_try_compile "$LINENO"; then :
   13938   xorg_cv_cc_flag_unknown_warning_option=yes
   13939 else
   13940   xorg_cv_cc_flag_unknown_warning_option=no
   13941 fi
   13942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13943 fi
   13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13945 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13946 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13947 	CFLAGS="$xorg_testset_save_CFLAGS"
   13948 fi
   13949 
   13950 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13951 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13952 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13953 	fi
   13954 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13955 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13956 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13957 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13958   $as_echo_n "(cached) " >&6
   13959 else
   13960   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13961 /* end confdefs.h.  */
   13962 int i;
   13963 _ACEOF
   13964 if ac_fn_c_try_compile "$LINENO"; then :
   13965   xorg_cv_cc_flag_unused_command_line_argument=yes
   13966 else
   13967   xorg_cv_cc_flag_unused_command_line_argument=no
   13968 fi
   13969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13970 fi
   13971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13972 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13973 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13974 	CFLAGS="$xorg_testset_save_CFLAGS"
   13975 fi
   13976 
   13977 found="no"
   13978 
   13979 	if test $found = "no" ; then
   13980 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   13981 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13982 		fi
   13983 
   13984 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   13985 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13986 		fi
   13987 
   13988 		CFLAGS="$CFLAGS -Werror=nonnull"
   13989 
   13990 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   13991 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   13992 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   13993 		if eval \${$cacheid+:} false; then :
   13994   $as_echo_n "(cached) " >&6
   13995 else
   13996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13997 /* end confdefs.h.  */
   13998 int i;
   13999 int
   14000 main ()
   14001 {
   14002 
   14003   ;
   14004   return 0;
   14005 }
   14006 _ACEOF
   14007 if ac_fn_c_try_link "$LINENO"; then :
   14008   eval $cacheid=yes
   14009 else
   14010   eval $cacheid=no
   14011 fi
   14012 rm -f core conftest.err conftest.$ac_objext \
   14013     conftest$ac_exeext conftest.$ac_ext
   14014 fi
   14015 
   14016 
   14017 		CFLAGS="$xorg_testset_save_CFLAGS"
   14018 
   14019 		eval supported=\$$cacheid
   14020 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14021 $as_echo "$supported" >&6; }
   14022 		if test "$supported" = "yes" ; then
   14023 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14024 			found="yes"
   14025 		fi
   14026 	fi
   14027 
   14028 
   14029 
   14030 
   14031 
   14032 
   14033 
   14034 
   14035 
   14036 
   14037 
   14038 
   14039 
   14040 
   14041 
   14042 xorg_testset_save_CFLAGS="$CFLAGS"
   14043 
   14044 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14045 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14047 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14048 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14049   $as_echo_n "(cached) " >&6
   14050 else
   14051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14052 /* end confdefs.h.  */
   14053 int i;
   14054 _ACEOF
   14055 if ac_fn_c_try_compile "$LINENO"; then :
   14056   xorg_cv_cc_flag_unknown_warning_option=yes
   14057 else
   14058   xorg_cv_cc_flag_unknown_warning_option=no
   14059 fi
   14060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14061 fi
   14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14063 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14064 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14065 	CFLAGS="$xorg_testset_save_CFLAGS"
   14066 fi
   14067 
   14068 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14069 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14070 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14071 	fi
   14072 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14073 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14074 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14075 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14076   $as_echo_n "(cached) " >&6
   14077 else
   14078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14079 /* end confdefs.h.  */
   14080 int i;
   14081 _ACEOF
   14082 if ac_fn_c_try_compile "$LINENO"; then :
   14083   xorg_cv_cc_flag_unused_command_line_argument=yes
   14084 else
   14085   xorg_cv_cc_flag_unused_command_line_argument=no
   14086 fi
   14087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14088 fi
   14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14090 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14091 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14092 	CFLAGS="$xorg_testset_save_CFLAGS"
   14093 fi
   14094 
   14095 found="no"
   14096 
   14097 	if test $found = "no" ; then
   14098 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14099 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14100 		fi
   14101 
   14102 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14103 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14104 		fi
   14105 
   14106 		CFLAGS="$CFLAGS -Werror=init-self"
   14107 
   14108 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14109 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14110 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14111 		if eval \${$cacheid+:} false; then :
   14112   $as_echo_n "(cached) " >&6
   14113 else
   14114   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14115 /* end confdefs.h.  */
   14116 int i;
   14117 int
   14118 main ()
   14119 {
   14120 
   14121   ;
   14122   return 0;
   14123 }
   14124 _ACEOF
   14125 if ac_fn_c_try_link "$LINENO"; then :
   14126   eval $cacheid=yes
   14127 else
   14128   eval $cacheid=no
   14129 fi
   14130 rm -f core conftest.err conftest.$ac_objext \
   14131     conftest$ac_exeext conftest.$ac_ext
   14132 fi
   14133 
   14134 
   14135 		CFLAGS="$xorg_testset_save_CFLAGS"
   14136 
   14137 		eval supported=\$$cacheid
   14138 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14139 $as_echo "$supported" >&6; }
   14140 		if test "$supported" = "yes" ; then
   14141 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14142 			found="yes"
   14143 		fi
   14144 	fi
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 xorg_testset_save_CFLAGS="$CFLAGS"
   14161 
   14162 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14163 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14165 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14166 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14167   $as_echo_n "(cached) " >&6
   14168 else
   14169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14170 /* end confdefs.h.  */
   14171 int i;
   14172 _ACEOF
   14173 if ac_fn_c_try_compile "$LINENO"; then :
   14174   xorg_cv_cc_flag_unknown_warning_option=yes
   14175 else
   14176   xorg_cv_cc_flag_unknown_warning_option=no
   14177 fi
   14178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14179 fi
   14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14181 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14182 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14183 	CFLAGS="$xorg_testset_save_CFLAGS"
   14184 fi
   14185 
   14186 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14187 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14188 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14189 	fi
   14190 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14191 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14192 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14193 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14194   $as_echo_n "(cached) " >&6
   14195 else
   14196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14197 /* end confdefs.h.  */
   14198 int i;
   14199 _ACEOF
   14200 if ac_fn_c_try_compile "$LINENO"; then :
   14201   xorg_cv_cc_flag_unused_command_line_argument=yes
   14202 else
   14203   xorg_cv_cc_flag_unused_command_line_argument=no
   14204 fi
   14205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14206 fi
   14207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14208 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14209 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14210 	CFLAGS="$xorg_testset_save_CFLAGS"
   14211 fi
   14212 
   14213 found="no"
   14214 
   14215 	if test $found = "no" ; then
   14216 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14217 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14218 		fi
   14219 
   14220 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14221 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14222 		fi
   14223 
   14224 		CFLAGS="$CFLAGS -Werror=main"
   14225 
   14226 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   14227 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   14228 		cacheid=xorg_cv_cc_flag__Werror_main
   14229 		if eval \${$cacheid+:} false; then :
   14230   $as_echo_n "(cached) " >&6
   14231 else
   14232   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14233 /* end confdefs.h.  */
   14234 int i;
   14235 int
   14236 main ()
   14237 {
   14238 
   14239   ;
   14240   return 0;
   14241 }
   14242 _ACEOF
   14243 if ac_fn_c_try_link "$LINENO"; then :
   14244   eval $cacheid=yes
   14245 else
   14246   eval $cacheid=no
   14247 fi
   14248 rm -f core conftest.err conftest.$ac_objext \
   14249     conftest$ac_exeext conftest.$ac_ext
   14250 fi
   14251 
   14252 
   14253 		CFLAGS="$xorg_testset_save_CFLAGS"
   14254 
   14255 		eval supported=\$$cacheid
   14256 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14257 $as_echo "$supported" >&6; }
   14258 		if test "$supported" = "yes" ; then
   14259 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   14260 			found="yes"
   14261 		fi
   14262 	fi
   14263 
   14264 
   14265 
   14266 
   14267 
   14268 
   14269 
   14270 
   14271 
   14272 
   14273 
   14274 
   14275 
   14276 
   14277 
   14278 xorg_testset_save_CFLAGS="$CFLAGS"
   14279 
   14280 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14281 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14282 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14283 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14284 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14285   $as_echo_n "(cached) " >&6
   14286 else
   14287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14288 /* end confdefs.h.  */
   14289 int i;
   14290 _ACEOF
   14291 if ac_fn_c_try_compile "$LINENO"; then :
   14292   xorg_cv_cc_flag_unknown_warning_option=yes
   14293 else
   14294   xorg_cv_cc_flag_unknown_warning_option=no
   14295 fi
   14296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14297 fi
   14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14299 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14300 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14301 	CFLAGS="$xorg_testset_save_CFLAGS"
   14302 fi
   14303 
   14304 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14305 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14306 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14307 	fi
   14308 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14309 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14310 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14311 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14312   $as_echo_n "(cached) " >&6
   14313 else
   14314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14315 /* end confdefs.h.  */
   14316 int i;
   14317 _ACEOF
   14318 if ac_fn_c_try_compile "$LINENO"; then :
   14319   xorg_cv_cc_flag_unused_command_line_argument=yes
   14320 else
   14321   xorg_cv_cc_flag_unused_command_line_argument=no
   14322 fi
   14323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14324 fi
   14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14326 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14327 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14328 	CFLAGS="$xorg_testset_save_CFLAGS"
   14329 fi
   14330 
   14331 found="no"
   14332 
   14333 	if test $found = "no" ; then
   14334 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14335 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14336 		fi
   14337 
   14338 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14339 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14340 		fi
   14341 
   14342 		CFLAGS="$CFLAGS -Werror=missing-braces"
   14343 
   14344 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   14345 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   14346 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   14347 		if eval \${$cacheid+:} false; then :
   14348   $as_echo_n "(cached) " >&6
   14349 else
   14350   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14351 /* end confdefs.h.  */
   14352 int i;
   14353 int
   14354 main ()
   14355 {
   14356 
   14357   ;
   14358   return 0;
   14359 }
   14360 _ACEOF
   14361 if ac_fn_c_try_link "$LINENO"; then :
   14362   eval $cacheid=yes
   14363 else
   14364   eval $cacheid=no
   14365 fi
   14366 rm -f core conftest.err conftest.$ac_objext \
   14367     conftest$ac_exeext conftest.$ac_ext
   14368 fi
   14369 
   14370 
   14371 		CFLAGS="$xorg_testset_save_CFLAGS"
   14372 
   14373 		eval supported=\$$cacheid
   14374 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14375 $as_echo "$supported" >&6; }
   14376 		if test "$supported" = "yes" ; then
   14377 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   14378 			found="yes"
   14379 		fi
   14380 	fi
   14381 
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 xorg_testset_save_CFLAGS="$CFLAGS"
   14397 
   14398 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14399 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14400 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14401 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14402 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14403   $as_echo_n "(cached) " >&6
   14404 else
   14405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14406 /* end confdefs.h.  */
   14407 int i;
   14408 _ACEOF
   14409 if ac_fn_c_try_compile "$LINENO"; then :
   14410   xorg_cv_cc_flag_unknown_warning_option=yes
   14411 else
   14412   xorg_cv_cc_flag_unknown_warning_option=no
   14413 fi
   14414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14415 fi
   14416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14417 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14418 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14419 	CFLAGS="$xorg_testset_save_CFLAGS"
   14420 fi
   14421 
   14422 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14423 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14424 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14425 	fi
   14426 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14427 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14428 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14429 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14430   $as_echo_n "(cached) " >&6
   14431 else
   14432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14433 /* end confdefs.h.  */
   14434 int i;
   14435 _ACEOF
   14436 if ac_fn_c_try_compile "$LINENO"; then :
   14437   xorg_cv_cc_flag_unused_command_line_argument=yes
   14438 else
   14439   xorg_cv_cc_flag_unused_command_line_argument=no
   14440 fi
   14441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14442 fi
   14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14444 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14445 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14446 	CFLAGS="$xorg_testset_save_CFLAGS"
   14447 fi
   14448 
   14449 found="no"
   14450 
   14451 	if test $found = "no" ; then
   14452 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14453 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14454 		fi
   14455 
   14456 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14457 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14458 		fi
   14459 
   14460 		CFLAGS="$CFLAGS -Werror=sequence-point"
   14461 
   14462 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   14463 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   14464 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   14465 		if eval \${$cacheid+:} false; then :
   14466   $as_echo_n "(cached) " >&6
   14467 else
   14468   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14469 /* end confdefs.h.  */
   14470 int i;
   14471 int
   14472 main ()
   14473 {
   14474 
   14475   ;
   14476   return 0;
   14477 }
   14478 _ACEOF
   14479 if ac_fn_c_try_link "$LINENO"; then :
   14480   eval $cacheid=yes
   14481 else
   14482   eval $cacheid=no
   14483 fi
   14484 rm -f core conftest.err conftest.$ac_objext \
   14485     conftest$ac_exeext conftest.$ac_ext
   14486 fi
   14487 
   14488 
   14489 		CFLAGS="$xorg_testset_save_CFLAGS"
   14490 
   14491 		eval supported=\$$cacheid
   14492 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14493 $as_echo "$supported" >&6; }
   14494 		if test "$supported" = "yes" ; then
   14495 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   14496 			found="yes"
   14497 		fi
   14498 	fi
   14499 
   14500 
   14501 
   14502 
   14503 
   14504 
   14505 
   14506 
   14507 
   14508 
   14509 
   14510 
   14511 
   14512 
   14513 
   14514 xorg_testset_save_CFLAGS="$CFLAGS"
   14515 
   14516 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14517 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14518 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14519 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14520 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14521   $as_echo_n "(cached) " >&6
   14522 else
   14523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14524 /* end confdefs.h.  */
   14525 int i;
   14526 _ACEOF
   14527 if ac_fn_c_try_compile "$LINENO"; then :
   14528   xorg_cv_cc_flag_unknown_warning_option=yes
   14529 else
   14530   xorg_cv_cc_flag_unknown_warning_option=no
   14531 fi
   14532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14533 fi
   14534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14535 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14536 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14537 	CFLAGS="$xorg_testset_save_CFLAGS"
   14538 fi
   14539 
   14540 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14541 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14542 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14543 	fi
   14544 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14545 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14546 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14547 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14548   $as_echo_n "(cached) " >&6
   14549 else
   14550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14551 /* end confdefs.h.  */
   14552 int i;
   14553 _ACEOF
   14554 if ac_fn_c_try_compile "$LINENO"; then :
   14555   xorg_cv_cc_flag_unused_command_line_argument=yes
   14556 else
   14557   xorg_cv_cc_flag_unused_command_line_argument=no
   14558 fi
   14559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14560 fi
   14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14562 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14563 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14564 	CFLAGS="$xorg_testset_save_CFLAGS"
   14565 fi
   14566 
   14567 found="no"
   14568 
   14569 	if test $found = "no" ; then
   14570 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14571 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14572 		fi
   14573 
   14574 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14575 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14576 		fi
   14577 
   14578 		CFLAGS="$CFLAGS -Werror=return-type"
   14579 
   14580 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   14581 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   14582 		cacheid=xorg_cv_cc_flag__Werror_return_type
   14583 		if eval \${$cacheid+:} false; then :
   14584   $as_echo_n "(cached) " >&6
   14585 else
   14586   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14587 /* end confdefs.h.  */
   14588 int i;
   14589 int
   14590 main ()
   14591 {
   14592 
   14593   ;
   14594   return 0;
   14595 }
   14596 _ACEOF
   14597 if ac_fn_c_try_link "$LINENO"; then :
   14598   eval $cacheid=yes
   14599 else
   14600   eval $cacheid=no
   14601 fi
   14602 rm -f core conftest.err conftest.$ac_objext \
   14603     conftest$ac_exeext conftest.$ac_ext
   14604 fi
   14605 
   14606 
   14607 		CFLAGS="$xorg_testset_save_CFLAGS"
   14608 
   14609 		eval supported=\$$cacheid
   14610 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14611 $as_echo "$supported" >&6; }
   14612 		if test "$supported" = "yes" ; then
   14613 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   14614 			found="yes"
   14615 		fi
   14616 	fi
   14617 
   14618 	if test $found = "no" ; then
   14619 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14620 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14621 		fi
   14622 
   14623 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14624 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14625 		fi
   14626 
   14627 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14628 
   14629 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   14630 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   14631 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   14632 		if eval \${$cacheid+:} false; then :
   14633   $as_echo_n "(cached) " >&6
   14634 else
   14635   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14636 /* end confdefs.h.  */
   14637 int i;
   14638 int
   14639 main ()
   14640 {
   14641 
   14642   ;
   14643   return 0;
   14644 }
   14645 _ACEOF
   14646 if ac_fn_c_try_link "$LINENO"; then :
   14647   eval $cacheid=yes
   14648 else
   14649   eval $cacheid=no
   14650 fi
   14651 rm -f core conftest.err conftest.$ac_objext \
   14652     conftest$ac_exeext conftest.$ac_ext
   14653 fi
   14654 
   14655 
   14656 		CFLAGS="$xorg_testset_save_CFLAGS"
   14657 
   14658 		eval supported=\$$cacheid
   14659 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14660 $as_echo "$supported" >&6; }
   14661 		if test "$supported" = "yes" ; then
   14662 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   14663 			found="yes"
   14664 		fi
   14665 	fi
   14666 
   14667 
   14668 
   14669 
   14670 
   14671 
   14672 
   14673 
   14674 
   14675 
   14676 
   14677 
   14678 
   14679 
   14680 
   14681 xorg_testset_save_CFLAGS="$CFLAGS"
   14682 
   14683 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14684 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14685 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14686 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14687 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14688   $as_echo_n "(cached) " >&6
   14689 else
   14690   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14691 /* end confdefs.h.  */
   14692 int i;
   14693 _ACEOF
   14694 if ac_fn_c_try_compile "$LINENO"; then :
   14695   xorg_cv_cc_flag_unknown_warning_option=yes
   14696 else
   14697   xorg_cv_cc_flag_unknown_warning_option=no
   14698 fi
   14699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14700 fi
   14701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14702 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14703 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14704 	CFLAGS="$xorg_testset_save_CFLAGS"
   14705 fi
   14706 
   14707 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14708 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14709 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14710 	fi
   14711 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14712 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14713 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14714 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14715   $as_echo_n "(cached) " >&6
   14716 else
   14717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14718 /* end confdefs.h.  */
   14719 int i;
   14720 _ACEOF
   14721 if ac_fn_c_try_compile "$LINENO"; then :
   14722   xorg_cv_cc_flag_unused_command_line_argument=yes
   14723 else
   14724   xorg_cv_cc_flag_unused_command_line_argument=no
   14725 fi
   14726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14727 fi
   14728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14729 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14730 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14731 	CFLAGS="$xorg_testset_save_CFLAGS"
   14732 fi
   14733 
   14734 found="no"
   14735 
   14736 	if test $found = "no" ; then
   14737 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14738 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14739 		fi
   14740 
   14741 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14742 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14743 		fi
   14744 
   14745 		CFLAGS="$CFLAGS -Werror=trigraphs"
   14746 
   14747 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   14748 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   14749 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   14750 		if eval \${$cacheid+:} false; then :
   14751   $as_echo_n "(cached) " >&6
   14752 else
   14753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14754 /* end confdefs.h.  */
   14755 int i;
   14756 int
   14757 main ()
   14758 {
   14759 
   14760   ;
   14761   return 0;
   14762 }
   14763 _ACEOF
   14764 if ac_fn_c_try_link "$LINENO"; then :
   14765   eval $cacheid=yes
   14766 else
   14767   eval $cacheid=no
   14768 fi
   14769 rm -f core conftest.err conftest.$ac_objext \
   14770     conftest$ac_exeext conftest.$ac_ext
   14771 fi
   14772 
   14773 
   14774 		CFLAGS="$xorg_testset_save_CFLAGS"
   14775 
   14776 		eval supported=\$$cacheid
   14777 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14778 $as_echo "$supported" >&6; }
   14779 		if test "$supported" = "yes" ; then
   14780 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   14781 			found="yes"
   14782 		fi
   14783 	fi
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790 
   14791 
   14792 
   14793 
   14794 
   14795 
   14796 
   14797 
   14798 
   14799 xorg_testset_save_CFLAGS="$CFLAGS"
   14800 
   14801 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14802 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14804 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14805 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14806   $as_echo_n "(cached) " >&6
   14807 else
   14808   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14809 /* end confdefs.h.  */
   14810 int i;
   14811 _ACEOF
   14812 if ac_fn_c_try_compile "$LINENO"; then :
   14813   xorg_cv_cc_flag_unknown_warning_option=yes
   14814 else
   14815   xorg_cv_cc_flag_unknown_warning_option=no
   14816 fi
   14817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14818 fi
   14819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14820 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14821 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14822 	CFLAGS="$xorg_testset_save_CFLAGS"
   14823 fi
   14824 
   14825 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14826 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14827 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14828 	fi
   14829 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14830 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14831 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14832 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14833   $as_echo_n "(cached) " >&6
   14834 else
   14835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14836 /* end confdefs.h.  */
   14837 int i;
   14838 _ACEOF
   14839 if ac_fn_c_try_compile "$LINENO"; then :
   14840   xorg_cv_cc_flag_unused_command_line_argument=yes
   14841 else
   14842   xorg_cv_cc_flag_unused_command_line_argument=no
   14843 fi
   14844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14845 fi
   14846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14847 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14848 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14849 	CFLAGS="$xorg_testset_save_CFLAGS"
   14850 fi
   14851 
   14852 found="no"
   14853 
   14854 	if test $found = "no" ; then
   14855 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14856 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14857 		fi
   14858 
   14859 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14860 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14861 		fi
   14862 
   14863 		CFLAGS="$CFLAGS -Werror=array-bounds"
   14864 
   14865 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   14866 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   14867 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   14868 		if eval \${$cacheid+:} false; then :
   14869   $as_echo_n "(cached) " >&6
   14870 else
   14871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14872 /* end confdefs.h.  */
   14873 int i;
   14874 int
   14875 main ()
   14876 {
   14877 
   14878   ;
   14879   return 0;
   14880 }
   14881 _ACEOF
   14882 if ac_fn_c_try_link "$LINENO"; then :
   14883   eval $cacheid=yes
   14884 else
   14885   eval $cacheid=no
   14886 fi
   14887 rm -f core conftest.err conftest.$ac_objext \
   14888     conftest$ac_exeext conftest.$ac_ext
   14889 fi
   14890 
   14891 
   14892 		CFLAGS="$xorg_testset_save_CFLAGS"
   14893 
   14894 		eval supported=\$$cacheid
   14895 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14896 $as_echo "$supported" >&6; }
   14897 		if test "$supported" = "yes" ; then
   14898 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   14899 			found="yes"
   14900 		fi
   14901 	fi
   14902 
   14903 
   14904 
   14905 
   14906 
   14907 
   14908 
   14909 
   14910 
   14911 
   14912 
   14913 
   14914 
   14915 
   14916 
   14917 xorg_testset_save_CFLAGS="$CFLAGS"
   14918 
   14919 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14920 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14922 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14923 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14924   $as_echo_n "(cached) " >&6
   14925 else
   14926   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14927 /* end confdefs.h.  */
   14928 int i;
   14929 _ACEOF
   14930 if ac_fn_c_try_compile "$LINENO"; then :
   14931   xorg_cv_cc_flag_unknown_warning_option=yes
   14932 else
   14933   xorg_cv_cc_flag_unknown_warning_option=no
   14934 fi
   14935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14936 fi
   14937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14938 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14939 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14940 	CFLAGS="$xorg_testset_save_CFLAGS"
   14941 fi
   14942 
   14943 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14944 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14945 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14946 	fi
   14947 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14948 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14949 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14950 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14951   $as_echo_n "(cached) " >&6
   14952 else
   14953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14954 /* end confdefs.h.  */
   14955 int i;
   14956 _ACEOF
   14957 if ac_fn_c_try_compile "$LINENO"; then :
   14958   xorg_cv_cc_flag_unused_command_line_argument=yes
   14959 else
   14960   xorg_cv_cc_flag_unused_command_line_argument=no
   14961 fi
   14962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14963 fi
   14964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14965 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14966 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14967 	CFLAGS="$xorg_testset_save_CFLAGS"
   14968 fi
   14969 
   14970 found="no"
   14971 
   14972 	if test $found = "no" ; then
   14973 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   14974 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14975 		fi
   14976 
   14977 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   14978 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14979 		fi
   14980 
   14981 		CFLAGS="$CFLAGS -Werror=write-strings"
   14982 
   14983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   14984 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   14985 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   14986 		if eval \${$cacheid+:} false; then :
   14987   $as_echo_n "(cached) " >&6
   14988 else
   14989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14990 /* end confdefs.h.  */
   14991 int i;
   14992 int
   14993 main ()
   14994 {
   14995 
   14996   ;
   14997   return 0;
   14998 }
   14999 _ACEOF
   15000 if ac_fn_c_try_link "$LINENO"; then :
   15001   eval $cacheid=yes
   15002 else
   15003   eval $cacheid=no
   15004 fi
   15005 rm -f core conftest.err conftest.$ac_objext \
   15006     conftest$ac_exeext conftest.$ac_ext
   15007 fi
   15008 
   15009 
   15010 		CFLAGS="$xorg_testset_save_CFLAGS"
   15011 
   15012 		eval supported=\$$cacheid
   15013 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15014 $as_echo "$supported" >&6; }
   15015 		if test "$supported" = "yes" ; then
   15016 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15017 			found="yes"
   15018 		fi
   15019 	fi
   15020 
   15021 
   15022 
   15023 
   15024 
   15025 
   15026 
   15027 
   15028 
   15029 
   15030 
   15031 
   15032 
   15033 
   15034 
   15035 xorg_testset_save_CFLAGS="$CFLAGS"
   15036 
   15037 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15038 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15040 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15041 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15042   $as_echo_n "(cached) " >&6
   15043 else
   15044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15045 /* end confdefs.h.  */
   15046 int i;
   15047 _ACEOF
   15048 if ac_fn_c_try_compile "$LINENO"; then :
   15049   xorg_cv_cc_flag_unknown_warning_option=yes
   15050 else
   15051   xorg_cv_cc_flag_unknown_warning_option=no
   15052 fi
   15053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15054 fi
   15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15056 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15057 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15058 	CFLAGS="$xorg_testset_save_CFLAGS"
   15059 fi
   15060 
   15061 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15062 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15063 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15064 	fi
   15065 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15066 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15067 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15068 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15069   $as_echo_n "(cached) " >&6
   15070 else
   15071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15072 /* end confdefs.h.  */
   15073 int i;
   15074 _ACEOF
   15075 if ac_fn_c_try_compile "$LINENO"; then :
   15076   xorg_cv_cc_flag_unused_command_line_argument=yes
   15077 else
   15078   xorg_cv_cc_flag_unused_command_line_argument=no
   15079 fi
   15080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15081 fi
   15082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15083 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15084 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15085 	CFLAGS="$xorg_testset_save_CFLAGS"
   15086 fi
   15087 
   15088 found="no"
   15089 
   15090 	if test $found = "no" ; then
   15091 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15092 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15093 		fi
   15094 
   15095 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15096 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15097 		fi
   15098 
   15099 		CFLAGS="$CFLAGS -Werror=address"
   15100 
   15101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15102 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15103 		cacheid=xorg_cv_cc_flag__Werror_address
   15104 		if eval \${$cacheid+:} false; then :
   15105   $as_echo_n "(cached) " >&6
   15106 else
   15107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15108 /* end confdefs.h.  */
   15109 int i;
   15110 int
   15111 main ()
   15112 {
   15113 
   15114   ;
   15115   return 0;
   15116 }
   15117 _ACEOF
   15118 if ac_fn_c_try_link "$LINENO"; then :
   15119   eval $cacheid=yes
   15120 else
   15121   eval $cacheid=no
   15122 fi
   15123 rm -f core conftest.err conftest.$ac_objext \
   15124     conftest$ac_exeext conftest.$ac_ext
   15125 fi
   15126 
   15127 
   15128 		CFLAGS="$xorg_testset_save_CFLAGS"
   15129 
   15130 		eval supported=\$$cacheid
   15131 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15132 $as_echo "$supported" >&6; }
   15133 		if test "$supported" = "yes" ; then
   15134 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15135 			found="yes"
   15136 		fi
   15137 	fi
   15138 
   15139 
   15140 
   15141 
   15142 
   15143 
   15144 
   15145 
   15146 
   15147 
   15148 
   15149 
   15150 
   15151 
   15152 
   15153 xorg_testset_save_CFLAGS="$CFLAGS"
   15154 
   15155 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15156 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15158 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15159 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15160   $as_echo_n "(cached) " >&6
   15161 else
   15162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15163 /* end confdefs.h.  */
   15164 int i;
   15165 _ACEOF
   15166 if ac_fn_c_try_compile "$LINENO"; then :
   15167   xorg_cv_cc_flag_unknown_warning_option=yes
   15168 else
   15169   xorg_cv_cc_flag_unknown_warning_option=no
   15170 fi
   15171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15172 fi
   15173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15174 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15175 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15176 	CFLAGS="$xorg_testset_save_CFLAGS"
   15177 fi
   15178 
   15179 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15180 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15181 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15182 	fi
   15183 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15184 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15185 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15186 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15187   $as_echo_n "(cached) " >&6
   15188 else
   15189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15190 /* end confdefs.h.  */
   15191 int i;
   15192 _ACEOF
   15193 if ac_fn_c_try_compile "$LINENO"; then :
   15194   xorg_cv_cc_flag_unused_command_line_argument=yes
   15195 else
   15196   xorg_cv_cc_flag_unused_command_line_argument=no
   15197 fi
   15198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15199 fi
   15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15201 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15202 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15203 	CFLAGS="$xorg_testset_save_CFLAGS"
   15204 fi
   15205 
   15206 found="no"
   15207 
   15208 	if test $found = "no" ; then
   15209 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15210 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15211 		fi
   15212 
   15213 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15214 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15215 		fi
   15216 
   15217 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   15218 
   15219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   15220 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   15221 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   15222 		if eval \${$cacheid+:} false; then :
   15223   $as_echo_n "(cached) " >&6
   15224 else
   15225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15226 /* end confdefs.h.  */
   15227 int i;
   15228 int
   15229 main ()
   15230 {
   15231 
   15232   ;
   15233   return 0;
   15234 }
   15235 _ACEOF
   15236 if ac_fn_c_try_link "$LINENO"; then :
   15237   eval $cacheid=yes
   15238 else
   15239   eval $cacheid=no
   15240 fi
   15241 rm -f core conftest.err conftest.$ac_objext \
   15242     conftest$ac_exeext conftest.$ac_ext
   15243 fi
   15244 
   15245 
   15246 		CFLAGS="$xorg_testset_save_CFLAGS"
   15247 
   15248 		eval supported=\$$cacheid
   15249 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15250 $as_echo "$supported" >&6; }
   15251 		if test "$supported" = "yes" ; then
   15252 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   15253 			found="yes"
   15254 		fi
   15255 	fi
   15256 
   15257 	if test $found = "no" ; then
   15258 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15259 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15260 		fi
   15261 
   15262 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15263 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15264 		fi
   15265 
   15266 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15267 
   15268 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   15269 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   15270 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   15271 		if eval \${$cacheid+:} false; then :
   15272   $as_echo_n "(cached) " >&6
   15273 else
   15274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15275 /* end confdefs.h.  */
   15276 int i;
   15277 int
   15278 main ()
   15279 {
   15280 
   15281   ;
   15282   return 0;
   15283 }
   15284 _ACEOF
   15285 if ac_fn_c_try_link "$LINENO"; then :
   15286   eval $cacheid=yes
   15287 else
   15288   eval $cacheid=no
   15289 fi
   15290 rm -f core conftest.err conftest.$ac_objext \
   15291     conftest$ac_exeext conftest.$ac_ext
   15292 fi
   15293 
   15294 
   15295 		CFLAGS="$xorg_testset_save_CFLAGS"
   15296 
   15297 		eval supported=\$$cacheid
   15298 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15299 $as_echo "$supported" >&6; }
   15300 		if test "$supported" = "yes" ; then
   15301 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   15302 			found="yes"
   15303 		fi
   15304 	fi
   15305 
   15306 
   15307 
   15308 
   15309 
   15310 
   15311 
   15312 
   15313 
   15314 
   15315 
   15316 
   15317 
   15318 
   15319 
   15320 xorg_testset_save_CFLAGS="$CFLAGS"
   15321 
   15322 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15323 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15324 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15325 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15326 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15327   $as_echo_n "(cached) " >&6
   15328 else
   15329   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15330 /* end confdefs.h.  */
   15331 int i;
   15332 _ACEOF
   15333 if ac_fn_c_try_compile "$LINENO"; then :
   15334   xorg_cv_cc_flag_unknown_warning_option=yes
   15335 else
   15336   xorg_cv_cc_flag_unknown_warning_option=no
   15337 fi
   15338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15339 fi
   15340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15341 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15342 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15343 	CFLAGS="$xorg_testset_save_CFLAGS"
   15344 fi
   15345 
   15346 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15347 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15348 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15349 	fi
   15350 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15351 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15352 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15353 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15354   $as_echo_n "(cached) " >&6
   15355 else
   15356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15357 /* end confdefs.h.  */
   15358 int i;
   15359 _ACEOF
   15360 if ac_fn_c_try_compile "$LINENO"; then :
   15361   xorg_cv_cc_flag_unused_command_line_argument=yes
   15362 else
   15363   xorg_cv_cc_flag_unused_command_line_argument=no
   15364 fi
   15365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15366 fi
   15367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15368 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15369 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15370 	CFLAGS="$xorg_testset_save_CFLAGS"
   15371 fi
   15372 
   15373 found="no"
   15374 
   15375 	if test $found = "no" ; then
   15376 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15377 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15378 		fi
   15379 
   15380 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15381 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15382 		fi
   15383 
   15384 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   15385 
   15386 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   15387 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   15388 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   15389 		if eval \${$cacheid+:} false; then :
   15390   $as_echo_n "(cached) " >&6
   15391 else
   15392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15393 /* end confdefs.h.  */
   15394 int i;
   15395 int
   15396 main ()
   15397 {
   15398 
   15399   ;
   15400   return 0;
   15401 }
   15402 _ACEOF
   15403 if ac_fn_c_try_link "$LINENO"; then :
   15404   eval $cacheid=yes
   15405 else
   15406   eval $cacheid=no
   15407 fi
   15408 rm -f core conftest.err conftest.$ac_objext \
   15409     conftest$ac_exeext conftest.$ac_ext
   15410 fi
   15411 
   15412 
   15413 		CFLAGS="$xorg_testset_save_CFLAGS"
   15414 
   15415 		eval supported=\$$cacheid
   15416 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15417 $as_echo "$supported" >&6; }
   15418 		if test "$supported" = "yes" ; then
   15419 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   15420 			found="yes"
   15421 		fi
   15422 	fi
   15423 
   15424  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   15425 else
   15426 { $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
   15427 $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;}
   15428 
   15429 
   15430 
   15431 
   15432 
   15433 
   15434 
   15435 
   15436 
   15437 
   15438 
   15439 
   15440 
   15441 xorg_testset_save_CFLAGS="$CFLAGS"
   15442 
   15443 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15444 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15445 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15446 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15447 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15448   $as_echo_n "(cached) " >&6
   15449 else
   15450   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15451 /* end confdefs.h.  */
   15452 int i;
   15453 _ACEOF
   15454 if ac_fn_c_try_compile "$LINENO"; then :
   15455   xorg_cv_cc_flag_unknown_warning_option=yes
   15456 else
   15457   xorg_cv_cc_flag_unknown_warning_option=no
   15458 fi
   15459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15460 fi
   15461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15462 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15463 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15464 	CFLAGS="$xorg_testset_save_CFLAGS"
   15465 fi
   15466 
   15467 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15468 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15469 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15470 	fi
   15471 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15472 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15473 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15474 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15475   $as_echo_n "(cached) " >&6
   15476 else
   15477   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15478 /* end confdefs.h.  */
   15479 int i;
   15480 _ACEOF
   15481 if ac_fn_c_try_compile "$LINENO"; then :
   15482   xorg_cv_cc_flag_unused_command_line_argument=yes
   15483 else
   15484   xorg_cv_cc_flag_unused_command_line_argument=no
   15485 fi
   15486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15487 fi
   15488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15489 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15490 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15491 	CFLAGS="$xorg_testset_save_CFLAGS"
   15492 fi
   15493 
   15494 found="no"
   15495 
   15496 	if test $found = "no" ; then
   15497 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15498 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15499 		fi
   15500 
   15501 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15502 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15503 		fi
   15504 
   15505 		CFLAGS="$CFLAGS -Wimplicit"
   15506 
   15507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   15508 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   15509 		cacheid=xorg_cv_cc_flag__Wimplicit
   15510 		if eval \${$cacheid+:} false; then :
   15511   $as_echo_n "(cached) " >&6
   15512 else
   15513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15514 /* end confdefs.h.  */
   15515 int i;
   15516 int
   15517 main ()
   15518 {
   15519 
   15520   ;
   15521   return 0;
   15522 }
   15523 _ACEOF
   15524 if ac_fn_c_try_link "$LINENO"; then :
   15525   eval $cacheid=yes
   15526 else
   15527   eval $cacheid=no
   15528 fi
   15529 rm -f core conftest.err conftest.$ac_objext \
   15530     conftest$ac_exeext conftest.$ac_ext
   15531 fi
   15532 
   15533 
   15534 		CFLAGS="$xorg_testset_save_CFLAGS"
   15535 
   15536 		eval supported=\$$cacheid
   15537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15538 $as_echo "$supported" >&6; }
   15539 		if test "$supported" = "yes" ; then
   15540 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   15541 			found="yes"
   15542 		fi
   15543 	fi
   15544 
   15545 
   15546 
   15547 
   15548 
   15549 
   15550 
   15551 
   15552 
   15553 
   15554 
   15555 
   15556 
   15557 
   15558 
   15559 xorg_testset_save_CFLAGS="$CFLAGS"
   15560 
   15561 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15562 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15563 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15564 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15565 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15566   $as_echo_n "(cached) " >&6
   15567 else
   15568   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15569 /* end confdefs.h.  */
   15570 int i;
   15571 _ACEOF
   15572 if ac_fn_c_try_compile "$LINENO"; then :
   15573   xorg_cv_cc_flag_unknown_warning_option=yes
   15574 else
   15575   xorg_cv_cc_flag_unknown_warning_option=no
   15576 fi
   15577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15578 fi
   15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15580 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15581 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15582 	CFLAGS="$xorg_testset_save_CFLAGS"
   15583 fi
   15584 
   15585 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15586 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15587 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15588 	fi
   15589 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15590 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15591 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15592 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15593   $as_echo_n "(cached) " >&6
   15594 else
   15595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15596 /* end confdefs.h.  */
   15597 int i;
   15598 _ACEOF
   15599 if ac_fn_c_try_compile "$LINENO"; then :
   15600   xorg_cv_cc_flag_unused_command_line_argument=yes
   15601 else
   15602   xorg_cv_cc_flag_unused_command_line_argument=no
   15603 fi
   15604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15605 fi
   15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15607 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15608 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15609 	CFLAGS="$xorg_testset_save_CFLAGS"
   15610 fi
   15611 
   15612 found="no"
   15613 
   15614 	if test $found = "no" ; then
   15615 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15616 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15617 		fi
   15618 
   15619 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15620 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15621 		fi
   15622 
   15623 		CFLAGS="$CFLAGS -Wnonnull"
   15624 
   15625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   15626 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   15627 		cacheid=xorg_cv_cc_flag__Wnonnull
   15628 		if eval \${$cacheid+:} false; then :
   15629   $as_echo_n "(cached) " >&6
   15630 else
   15631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15632 /* end confdefs.h.  */
   15633 int i;
   15634 int
   15635 main ()
   15636 {
   15637 
   15638   ;
   15639   return 0;
   15640 }
   15641 _ACEOF
   15642 if ac_fn_c_try_link "$LINENO"; then :
   15643   eval $cacheid=yes
   15644 else
   15645   eval $cacheid=no
   15646 fi
   15647 rm -f core conftest.err conftest.$ac_objext \
   15648     conftest$ac_exeext conftest.$ac_ext
   15649 fi
   15650 
   15651 
   15652 		CFLAGS="$xorg_testset_save_CFLAGS"
   15653 
   15654 		eval supported=\$$cacheid
   15655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15656 $as_echo "$supported" >&6; }
   15657 		if test "$supported" = "yes" ; then
   15658 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   15659 			found="yes"
   15660 		fi
   15661 	fi
   15662 
   15663 
   15664 
   15665 
   15666 
   15667 
   15668 
   15669 
   15670 
   15671 
   15672 
   15673 
   15674 
   15675 
   15676 
   15677 xorg_testset_save_CFLAGS="$CFLAGS"
   15678 
   15679 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15680 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15681 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15682 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15683 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15684   $as_echo_n "(cached) " >&6
   15685 else
   15686   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15687 /* end confdefs.h.  */
   15688 int i;
   15689 _ACEOF
   15690 if ac_fn_c_try_compile "$LINENO"; then :
   15691   xorg_cv_cc_flag_unknown_warning_option=yes
   15692 else
   15693   xorg_cv_cc_flag_unknown_warning_option=no
   15694 fi
   15695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15696 fi
   15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15698 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15699 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15700 	CFLAGS="$xorg_testset_save_CFLAGS"
   15701 fi
   15702 
   15703 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15704 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15705 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15706 	fi
   15707 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15708 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15709 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15710 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15711   $as_echo_n "(cached) " >&6
   15712 else
   15713   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15714 /* end confdefs.h.  */
   15715 int i;
   15716 _ACEOF
   15717 if ac_fn_c_try_compile "$LINENO"; then :
   15718   xorg_cv_cc_flag_unused_command_line_argument=yes
   15719 else
   15720   xorg_cv_cc_flag_unused_command_line_argument=no
   15721 fi
   15722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15723 fi
   15724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15725 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15726 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15727 	CFLAGS="$xorg_testset_save_CFLAGS"
   15728 fi
   15729 
   15730 found="no"
   15731 
   15732 	if test $found = "no" ; then
   15733 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15734 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15735 		fi
   15736 
   15737 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15738 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15739 		fi
   15740 
   15741 		CFLAGS="$CFLAGS -Winit-self"
   15742 
   15743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   15744 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   15745 		cacheid=xorg_cv_cc_flag__Winit_self
   15746 		if eval \${$cacheid+:} false; then :
   15747   $as_echo_n "(cached) " >&6
   15748 else
   15749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15750 /* end confdefs.h.  */
   15751 int i;
   15752 int
   15753 main ()
   15754 {
   15755 
   15756   ;
   15757   return 0;
   15758 }
   15759 _ACEOF
   15760 if ac_fn_c_try_link "$LINENO"; then :
   15761   eval $cacheid=yes
   15762 else
   15763   eval $cacheid=no
   15764 fi
   15765 rm -f core conftest.err conftest.$ac_objext \
   15766     conftest$ac_exeext conftest.$ac_ext
   15767 fi
   15768 
   15769 
   15770 		CFLAGS="$xorg_testset_save_CFLAGS"
   15771 
   15772 		eval supported=\$$cacheid
   15773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15774 $as_echo "$supported" >&6; }
   15775 		if test "$supported" = "yes" ; then
   15776 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   15777 			found="yes"
   15778 		fi
   15779 	fi
   15780 
   15781 
   15782 
   15783 
   15784 
   15785 
   15786 
   15787 
   15788 
   15789 
   15790 
   15791 
   15792 
   15793 
   15794 
   15795 xorg_testset_save_CFLAGS="$CFLAGS"
   15796 
   15797 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15798 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15799 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15800 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15801 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15802   $as_echo_n "(cached) " >&6
   15803 else
   15804   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15805 /* end confdefs.h.  */
   15806 int i;
   15807 _ACEOF
   15808 if ac_fn_c_try_compile "$LINENO"; then :
   15809   xorg_cv_cc_flag_unknown_warning_option=yes
   15810 else
   15811   xorg_cv_cc_flag_unknown_warning_option=no
   15812 fi
   15813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15814 fi
   15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15816 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15817 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15818 	CFLAGS="$xorg_testset_save_CFLAGS"
   15819 fi
   15820 
   15821 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15822 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15823 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15824 	fi
   15825 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15826 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15827 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15828 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15829   $as_echo_n "(cached) " >&6
   15830 else
   15831   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15832 /* end confdefs.h.  */
   15833 int i;
   15834 _ACEOF
   15835 if ac_fn_c_try_compile "$LINENO"; then :
   15836   xorg_cv_cc_flag_unused_command_line_argument=yes
   15837 else
   15838   xorg_cv_cc_flag_unused_command_line_argument=no
   15839 fi
   15840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15841 fi
   15842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15843 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15844 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15845 	CFLAGS="$xorg_testset_save_CFLAGS"
   15846 fi
   15847 
   15848 found="no"
   15849 
   15850 	if test $found = "no" ; then
   15851 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15852 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15853 		fi
   15854 
   15855 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15856 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15857 		fi
   15858 
   15859 		CFLAGS="$CFLAGS -Wmain"
   15860 
   15861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   15862 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   15863 		cacheid=xorg_cv_cc_flag__Wmain
   15864 		if eval \${$cacheid+:} false; then :
   15865   $as_echo_n "(cached) " >&6
   15866 else
   15867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15868 /* end confdefs.h.  */
   15869 int i;
   15870 int
   15871 main ()
   15872 {
   15873 
   15874   ;
   15875   return 0;
   15876 }
   15877 _ACEOF
   15878 if ac_fn_c_try_link "$LINENO"; then :
   15879   eval $cacheid=yes
   15880 else
   15881   eval $cacheid=no
   15882 fi
   15883 rm -f core conftest.err conftest.$ac_objext \
   15884     conftest$ac_exeext conftest.$ac_ext
   15885 fi
   15886 
   15887 
   15888 		CFLAGS="$xorg_testset_save_CFLAGS"
   15889 
   15890 		eval supported=\$$cacheid
   15891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15892 $as_echo "$supported" >&6; }
   15893 		if test "$supported" = "yes" ; then
   15894 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   15895 			found="yes"
   15896 		fi
   15897 	fi
   15898 
   15899 
   15900 
   15901 
   15902 
   15903 
   15904 
   15905 
   15906 
   15907 
   15908 
   15909 
   15910 
   15911 
   15912 
   15913 xorg_testset_save_CFLAGS="$CFLAGS"
   15914 
   15915 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15916 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15917 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15918 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15919 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15920   $as_echo_n "(cached) " >&6
   15921 else
   15922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15923 /* end confdefs.h.  */
   15924 int i;
   15925 _ACEOF
   15926 if ac_fn_c_try_compile "$LINENO"; then :
   15927   xorg_cv_cc_flag_unknown_warning_option=yes
   15928 else
   15929   xorg_cv_cc_flag_unknown_warning_option=no
   15930 fi
   15931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15932 fi
   15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15934 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15935 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15936 	CFLAGS="$xorg_testset_save_CFLAGS"
   15937 fi
   15938 
   15939 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15940 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15941 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15942 	fi
   15943 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15944 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15945 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15946 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15947   $as_echo_n "(cached) " >&6
   15948 else
   15949   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15950 /* end confdefs.h.  */
   15951 int i;
   15952 _ACEOF
   15953 if ac_fn_c_try_compile "$LINENO"; then :
   15954   xorg_cv_cc_flag_unused_command_line_argument=yes
   15955 else
   15956   xorg_cv_cc_flag_unused_command_line_argument=no
   15957 fi
   15958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15959 fi
   15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15961 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15962 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15963 	CFLAGS="$xorg_testset_save_CFLAGS"
   15964 fi
   15965 
   15966 found="no"
   15967 
   15968 	if test $found = "no" ; then
   15969 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   15970 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15971 		fi
   15972 
   15973 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   15974 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15975 		fi
   15976 
   15977 		CFLAGS="$CFLAGS -Wmissing-braces"
   15978 
   15979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   15980 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   15981 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   15982 		if eval \${$cacheid+:} false; then :
   15983   $as_echo_n "(cached) " >&6
   15984 else
   15985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15986 /* end confdefs.h.  */
   15987 int i;
   15988 int
   15989 main ()
   15990 {
   15991 
   15992   ;
   15993   return 0;
   15994 }
   15995 _ACEOF
   15996 if ac_fn_c_try_link "$LINENO"; then :
   15997   eval $cacheid=yes
   15998 else
   15999   eval $cacheid=no
   16000 fi
   16001 rm -f core conftest.err conftest.$ac_objext \
   16002     conftest$ac_exeext conftest.$ac_ext
   16003 fi
   16004 
   16005 
   16006 		CFLAGS="$xorg_testset_save_CFLAGS"
   16007 
   16008 		eval supported=\$$cacheid
   16009 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16010 $as_echo "$supported" >&6; }
   16011 		if test "$supported" = "yes" ; then
   16012 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16013 			found="yes"
   16014 		fi
   16015 	fi
   16016 
   16017 
   16018 
   16019 
   16020 
   16021 
   16022 
   16023 
   16024 
   16025 
   16026 
   16027 
   16028 
   16029 
   16030 
   16031 xorg_testset_save_CFLAGS="$CFLAGS"
   16032 
   16033 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16034 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16035 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16036 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16037 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16038   $as_echo_n "(cached) " >&6
   16039 else
   16040   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16041 /* end confdefs.h.  */
   16042 int i;
   16043 _ACEOF
   16044 if ac_fn_c_try_compile "$LINENO"; then :
   16045   xorg_cv_cc_flag_unknown_warning_option=yes
   16046 else
   16047   xorg_cv_cc_flag_unknown_warning_option=no
   16048 fi
   16049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16050 fi
   16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16052 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16053 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16054 	CFLAGS="$xorg_testset_save_CFLAGS"
   16055 fi
   16056 
   16057 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16058 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16059 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16060 	fi
   16061 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16063 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16064 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16065   $as_echo_n "(cached) " >&6
   16066 else
   16067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16068 /* end confdefs.h.  */
   16069 int i;
   16070 _ACEOF
   16071 if ac_fn_c_try_compile "$LINENO"; then :
   16072   xorg_cv_cc_flag_unused_command_line_argument=yes
   16073 else
   16074   xorg_cv_cc_flag_unused_command_line_argument=no
   16075 fi
   16076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16077 fi
   16078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16079 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16080 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16081 	CFLAGS="$xorg_testset_save_CFLAGS"
   16082 fi
   16083 
   16084 found="no"
   16085 
   16086 	if test $found = "no" ; then
   16087 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16088 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16089 		fi
   16090 
   16091 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16092 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16093 		fi
   16094 
   16095 		CFLAGS="$CFLAGS -Wsequence-point"
   16096 
   16097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16098 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16099 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16100 		if eval \${$cacheid+:} false; then :
   16101   $as_echo_n "(cached) " >&6
   16102 else
   16103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16104 /* end confdefs.h.  */
   16105 int i;
   16106 int
   16107 main ()
   16108 {
   16109 
   16110   ;
   16111   return 0;
   16112 }
   16113 _ACEOF
   16114 if ac_fn_c_try_link "$LINENO"; then :
   16115   eval $cacheid=yes
   16116 else
   16117   eval $cacheid=no
   16118 fi
   16119 rm -f core conftest.err conftest.$ac_objext \
   16120     conftest$ac_exeext conftest.$ac_ext
   16121 fi
   16122 
   16123 
   16124 		CFLAGS="$xorg_testset_save_CFLAGS"
   16125 
   16126 		eval supported=\$$cacheid
   16127 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16128 $as_echo "$supported" >&6; }
   16129 		if test "$supported" = "yes" ; then
   16130 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16131 			found="yes"
   16132 		fi
   16133 	fi
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 xorg_testset_save_CFLAGS="$CFLAGS"
   16150 
   16151 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16152 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16153 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16154 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16155 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16156   $as_echo_n "(cached) " >&6
   16157 else
   16158   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16159 /* end confdefs.h.  */
   16160 int i;
   16161 _ACEOF
   16162 if ac_fn_c_try_compile "$LINENO"; then :
   16163   xorg_cv_cc_flag_unknown_warning_option=yes
   16164 else
   16165   xorg_cv_cc_flag_unknown_warning_option=no
   16166 fi
   16167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16168 fi
   16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16170 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16171 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16172 	CFLAGS="$xorg_testset_save_CFLAGS"
   16173 fi
   16174 
   16175 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16176 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16177 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16178 	fi
   16179 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16180 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16181 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16182 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16183   $as_echo_n "(cached) " >&6
   16184 else
   16185   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16186 /* end confdefs.h.  */
   16187 int i;
   16188 _ACEOF
   16189 if ac_fn_c_try_compile "$LINENO"; then :
   16190   xorg_cv_cc_flag_unused_command_line_argument=yes
   16191 else
   16192   xorg_cv_cc_flag_unused_command_line_argument=no
   16193 fi
   16194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16195 fi
   16196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16197 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16198 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16199 	CFLAGS="$xorg_testset_save_CFLAGS"
   16200 fi
   16201 
   16202 found="no"
   16203 
   16204 	if test $found = "no" ; then
   16205 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16206 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16207 		fi
   16208 
   16209 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16210 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16211 		fi
   16212 
   16213 		CFLAGS="$CFLAGS -Wreturn-type"
   16214 
   16215 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   16216 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   16217 		cacheid=xorg_cv_cc_flag__Wreturn_type
   16218 		if eval \${$cacheid+:} false; then :
   16219   $as_echo_n "(cached) " >&6
   16220 else
   16221   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16222 /* end confdefs.h.  */
   16223 int i;
   16224 int
   16225 main ()
   16226 {
   16227 
   16228   ;
   16229   return 0;
   16230 }
   16231 _ACEOF
   16232 if ac_fn_c_try_link "$LINENO"; then :
   16233   eval $cacheid=yes
   16234 else
   16235   eval $cacheid=no
   16236 fi
   16237 rm -f core conftest.err conftest.$ac_objext \
   16238     conftest$ac_exeext conftest.$ac_ext
   16239 fi
   16240 
   16241 
   16242 		CFLAGS="$xorg_testset_save_CFLAGS"
   16243 
   16244 		eval supported=\$$cacheid
   16245 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16246 $as_echo "$supported" >&6; }
   16247 		if test "$supported" = "yes" ; then
   16248 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   16249 			found="yes"
   16250 		fi
   16251 	fi
   16252 
   16253 
   16254 
   16255 
   16256 
   16257 
   16258 
   16259 
   16260 
   16261 
   16262 
   16263 
   16264 
   16265 
   16266 
   16267 xorg_testset_save_CFLAGS="$CFLAGS"
   16268 
   16269 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16270 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16271 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16272 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16273 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16274   $as_echo_n "(cached) " >&6
   16275 else
   16276   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16277 /* end confdefs.h.  */
   16278 int i;
   16279 _ACEOF
   16280 if ac_fn_c_try_compile "$LINENO"; then :
   16281   xorg_cv_cc_flag_unknown_warning_option=yes
   16282 else
   16283   xorg_cv_cc_flag_unknown_warning_option=no
   16284 fi
   16285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16286 fi
   16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16288 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16289 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16290 	CFLAGS="$xorg_testset_save_CFLAGS"
   16291 fi
   16292 
   16293 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16294 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16295 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16296 	fi
   16297 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16298 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16299 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16300 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16301   $as_echo_n "(cached) " >&6
   16302 else
   16303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16304 /* end confdefs.h.  */
   16305 int i;
   16306 _ACEOF
   16307 if ac_fn_c_try_compile "$LINENO"; then :
   16308   xorg_cv_cc_flag_unused_command_line_argument=yes
   16309 else
   16310   xorg_cv_cc_flag_unused_command_line_argument=no
   16311 fi
   16312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16313 fi
   16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16315 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16316 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16317 	CFLAGS="$xorg_testset_save_CFLAGS"
   16318 fi
   16319 
   16320 found="no"
   16321 
   16322 	if test $found = "no" ; then
   16323 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16324 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16325 		fi
   16326 
   16327 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16328 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16329 		fi
   16330 
   16331 		CFLAGS="$CFLAGS -Wtrigraphs"
   16332 
   16333 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   16334 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   16335 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   16336 		if eval \${$cacheid+:} false; then :
   16337   $as_echo_n "(cached) " >&6
   16338 else
   16339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16340 /* end confdefs.h.  */
   16341 int i;
   16342 int
   16343 main ()
   16344 {
   16345 
   16346   ;
   16347   return 0;
   16348 }
   16349 _ACEOF
   16350 if ac_fn_c_try_link "$LINENO"; then :
   16351   eval $cacheid=yes
   16352 else
   16353   eval $cacheid=no
   16354 fi
   16355 rm -f core conftest.err conftest.$ac_objext \
   16356     conftest$ac_exeext conftest.$ac_ext
   16357 fi
   16358 
   16359 
   16360 		CFLAGS="$xorg_testset_save_CFLAGS"
   16361 
   16362 		eval supported=\$$cacheid
   16363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16364 $as_echo "$supported" >&6; }
   16365 		if test "$supported" = "yes" ; then
   16366 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   16367 			found="yes"
   16368 		fi
   16369 	fi
   16370 
   16371 
   16372 
   16373 
   16374 
   16375 
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 xorg_testset_save_CFLAGS="$CFLAGS"
   16386 
   16387 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16388 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16389 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16390 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16391 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16392   $as_echo_n "(cached) " >&6
   16393 else
   16394   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16395 /* end confdefs.h.  */
   16396 int i;
   16397 _ACEOF
   16398 if ac_fn_c_try_compile "$LINENO"; then :
   16399   xorg_cv_cc_flag_unknown_warning_option=yes
   16400 else
   16401   xorg_cv_cc_flag_unknown_warning_option=no
   16402 fi
   16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16404 fi
   16405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16406 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16407 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16408 	CFLAGS="$xorg_testset_save_CFLAGS"
   16409 fi
   16410 
   16411 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16412 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16413 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16414 	fi
   16415 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16416 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16417 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16418 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16419   $as_echo_n "(cached) " >&6
   16420 else
   16421   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16422 /* end confdefs.h.  */
   16423 int i;
   16424 _ACEOF
   16425 if ac_fn_c_try_compile "$LINENO"; then :
   16426   xorg_cv_cc_flag_unused_command_line_argument=yes
   16427 else
   16428   xorg_cv_cc_flag_unused_command_line_argument=no
   16429 fi
   16430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16431 fi
   16432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16433 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16434 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16435 	CFLAGS="$xorg_testset_save_CFLAGS"
   16436 fi
   16437 
   16438 found="no"
   16439 
   16440 	if test $found = "no" ; then
   16441 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16442 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16443 		fi
   16444 
   16445 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16446 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16447 		fi
   16448 
   16449 		CFLAGS="$CFLAGS -Warray-bounds"
   16450 
   16451 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   16452 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   16453 		cacheid=xorg_cv_cc_flag__Warray_bounds
   16454 		if eval \${$cacheid+:} false; then :
   16455   $as_echo_n "(cached) " >&6
   16456 else
   16457   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16458 /* end confdefs.h.  */
   16459 int i;
   16460 int
   16461 main ()
   16462 {
   16463 
   16464   ;
   16465   return 0;
   16466 }
   16467 _ACEOF
   16468 if ac_fn_c_try_link "$LINENO"; then :
   16469   eval $cacheid=yes
   16470 else
   16471   eval $cacheid=no
   16472 fi
   16473 rm -f core conftest.err conftest.$ac_objext \
   16474     conftest$ac_exeext conftest.$ac_ext
   16475 fi
   16476 
   16477 
   16478 		CFLAGS="$xorg_testset_save_CFLAGS"
   16479 
   16480 		eval supported=\$$cacheid
   16481 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16482 $as_echo "$supported" >&6; }
   16483 		if test "$supported" = "yes" ; then
   16484 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   16485 			found="yes"
   16486 		fi
   16487 	fi
   16488 
   16489 
   16490 
   16491 
   16492 
   16493 
   16494 
   16495 
   16496 
   16497 
   16498 
   16499 
   16500 
   16501 
   16502 
   16503 xorg_testset_save_CFLAGS="$CFLAGS"
   16504 
   16505 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16506 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16507 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16508 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16509 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16510   $as_echo_n "(cached) " >&6
   16511 else
   16512   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16513 /* end confdefs.h.  */
   16514 int i;
   16515 _ACEOF
   16516 if ac_fn_c_try_compile "$LINENO"; then :
   16517   xorg_cv_cc_flag_unknown_warning_option=yes
   16518 else
   16519   xorg_cv_cc_flag_unknown_warning_option=no
   16520 fi
   16521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16522 fi
   16523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16524 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16525 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16526 	CFLAGS="$xorg_testset_save_CFLAGS"
   16527 fi
   16528 
   16529 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16530 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16531 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16532 	fi
   16533 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16534 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16535 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16536 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16537   $as_echo_n "(cached) " >&6
   16538 else
   16539   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16540 /* end confdefs.h.  */
   16541 int i;
   16542 _ACEOF
   16543 if ac_fn_c_try_compile "$LINENO"; then :
   16544   xorg_cv_cc_flag_unused_command_line_argument=yes
   16545 else
   16546   xorg_cv_cc_flag_unused_command_line_argument=no
   16547 fi
   16548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16549 fi
   16550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16551 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16552 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16553 	CFLAGS="$xorg_testset_save_CFLAGS"
   16554 fi
   16555 
   16556 found="no"
   16557 
   16558 	if test $found = "no" ; then
   16559 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16560 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16561 		fi
   16562 
   16563 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16564 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16565 		fi
   16566 
   16567 		CFLAGS="$CFLAGS -Wwrite-strings"
   16568 
   16569 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   16570 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   16571 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   16572 		if eval \${$cacheid+:} false; then :
   16573   $as_echo_n "(cached) " >&6
   16574 else
   16575   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16576 /* end confdefs.h.  */
   16577 int i;
   16578 int
   16579 main ()
   16580 {
   16581 
   16582   ;
   16583   return 0;
   16584 }
   16585 _ACEOF
   16586 if ac_fn_c_try_link "$LINENO"; then :
   16587   eval $cacheid=yes
   16588 else
   16589   eval $cacheid=no
   16590 fi
   16591 rm -f core conftest.err conftest.$ac_objext \
   16592     conftest$ac_exeext conftest.$ac_ext
   16593 fi
   16594 
   16595 
   16596 		CFLAGS="$xorg_testset_save_CFLAGS"
   16597 
   16598 		eval supported=\$$cacheid
   16599 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16600 $as_echo "$supported" >&6; }
   16601 		if test "$supported" = "yes" ; then
   16602 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   16603 			found="yes"
   16604 		fi
   16605 	fi
   16606 
   16607 
   16608 
   16609 
   16610 
   16611 
   16612 
   16613 
   16614 
   16615 
   16616 
   16617 
   16618 
   16619 
   16620 
   16621 xorg_testset_save_CFLAGS="$CFLAGS"
   16622 
   16623 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16624 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16625 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16626 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16627 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16628   $as_echo_n "(cached) " >&6
   16629 else
   16630   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16631 /* end confdefs.h.  */
   16632 int i;
   16633 _ACEOF
   16634 if ac_fn_c_try_compile "$LINENO"; then :
   16635   xorg_cv_cc_flag_unknown_warning_option=yes
   16636 else
   16637   xorg_cv_cc_flag_unknown_warning_option=no
   16638 fi
   16639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16640 fi
   16641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16642 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16643 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16644 	CFLAGS="$xorg_testset_save_CFLAGS"
   16645 fi
   16646 
   16647 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16648 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16649 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16650 	fi
   16651 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16652 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16653 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16654 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16655   $as_echo_n "(cached) " >&6
   16656 else
   16657   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16658 /* end confdefs.h.  */
   16659 int i;
   16660 _ACEOF
   16661 if ac_fn_c_try_compile "$LINENO"; then :
   16662   xorg_cv_cc_flag_unused_command_line_argument=yes
   16663 else
   16664   xorg_cv_cc_flag_unused_command_line_argument=no
   16665 fi
   16666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16667 fi
   16668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16669 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16670 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16671 	CFLAGS="$xorg_testset_save_CFLAGS"
   16672 fi
   16673 
   16674 found="no"
   16675 
   16676 	if test $found = "no" ; then
   16677 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16678 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16679 		fi
   16680 
   16681 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16682 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16683 		fi
   16684 
   16685 		CFLAGS="$CFLAGS -Waddress"
   16686 
   16687 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   16688 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   16689 		cacheid=xorg_cv_cc_flag__Waddress
   16690 		if eval \${$cacheid+:} false; then :
   16691   $as_echo_n "(cached) " >&6
   16692 else
   16693   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16694 /* end confdefs.h.  */
   16695 int i;
   16696 int
   16697 main ()
   16698 {
   16699 
   16700   ;
   16701   return 0;
   16702 }
   16703 _ACEOF
   16704 if ac_fn_c_try_link "$LINENO"; then :
   16705   eval $cacheid=yes
   16706 else
   16707   eval $cacheid=no
   16708 fi
   16709 rm -f core conftest.err conftest.$ac_objext \
   16710     conftest$ac_exeext conftest.$ac_ext
   16711 fi
   16712 
   16713 
   16714 		CFLAGS="$xorg_testset_save_CFLAGS"
   16715 
   16716 		eval supported=\$$cacheid
   16717 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16718 $as_echo "$supported" >&6; }
   16719 		if test "$supported" = "yes" ; then
   16720 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   16721 			found="yes"
   16722 		fi
   16723 	fi
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 xorg_testset_save_CFLAGS="$CFLAGS"
   16740 
   16741 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16742 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16743 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16744 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16745 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16746   $as_echo_n "(cached) " >&6
   16747 else
   16748   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16749 /* end confdefs.h.  */
   16750 int i;
   16751 _ACEOF
   16752 if ac_fn_c_try_compile "$LINENO"; then :
   16753   xorg_cv_cc_flag_unknown_warning_option=yes
   16754 else
   16755   xorg_cv_cc_flag_unknown_warning_option=no
   16756 fi
   16757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16758 fi
   16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16760 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16761 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16762 	CFLAGS="$xorg_testset_save_CFLAGS"
   16763 fi
   16764 
   16765 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16766 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16767 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16768 	fi
   16769 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16770 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16771 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16772 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16773   $as_echo_n "(cached) " >&6
   16774 else
   16775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16776 /* end confdefs.h.  */
   16777 int i;
   16778 _ACEOF
   16779 if ac_fn_c_try_compile "$LINENO"; then :
   16780   xorg_cv_cc_flag_unused_command_line_argument=yes
   16781 else
   16782   xorg_cv_cc_flag_unused_command_line_argument=no
   16783 fi
   16784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16785 fi
   16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16787 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16788 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16789 	CFLAGS="$xorg_testset_save_CFLAGS"
   16790 fi
   16791 
   16792 found="no"
   16793 
   16794 	if test $found = "no" ; then
   16795 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16796 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16797 		fi
   16798 
   16799 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16800 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16801 		fi
   16802 
   16803 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   16804 
   16805 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   16806 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   16807 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   16808 		if eval \${$cacheid+:} false; then :
   16809   $as_echo_n "(cached) " >&6
   16810 else
   16811   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16812 /* end confdefs.h.  */
   16813 int i;
   16814 int
   16815 main ()
   16816 {
   16817 
   16818   ;
   16819   return 0;
   16820 }
   16821 _ACEOF
   16822 if ac_fn_c_try_link "$LINENO"; then :
   16823   eval $cacheid=yes
   16824 else
   16825   eval $cacheid=no
   16826 fi
   16827 rm -f core conftest.err conftest.$ac_objext \
   16828     conftest$ac_exeext conftest.$ac_ext
   16829 fi
   16830 
   16831 
   16832 		CFLAGS="$xorg_testset_save_CFLAGS"
   16833 
   16834 		eval supported=\$$cacheid
   16835 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16836 $as_echo "$supported" >&6; }
   16837 		if test "$supported" = "yes" ; then
   16838 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   16839 			found="yes"
   16840 		fi
   16841 	fi
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855 
   16856 
   16857 xorg_testset_save_CFLAGS="$CFLAGS"
   16858 
   16859 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16860 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16861 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16862 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16863 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16864   $as_echo_n "(cached) " >&6
   16865 else
   16866   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16867 /* end confdefs.h.  */
   16868 int i;
   16869 _ACEOF
   16870 if ac_fn_c_try_compile "$LINENO"; then :
   16871   xorg_cv_cc_flag_unknown_warning_option=yes
   16872 else
   16873   xorg_cv_cc_flag_unknown_warning_option=no
   16874 fi
   16875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16876 fi
   16877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16878 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16879 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16880 	CFLAGS="$xorg_testset_save_CFLAGS"
   16881 fi
   16882 
   16883 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16884 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16885 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16886 	fi
   16887 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16888 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16889 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16890 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16891   $as_echo_n "(cached) " >&6
   16892 else
   16893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16894 /* end confdefs.h.  */
   16895 int i;
   16896 _ACEOF
   16897 if ac_fn_c_try_compile "$LINENO"; then :
   16898   xorg_cv_cc_flag_unused_command_line_argument=yes
   16899 else
   16900   xorg_cv_cc_flag_unused_command_line_argument=no
   16901 fi
   16902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16903 fi
   16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16905 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16906 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16907 	CFLAGS="$xorg_testset_save_CFLAGS"
   16908 fi
   16909 
   16910 found="no"
   16911 
   16912 	if test $found = "no" ; then
   16913 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   16914 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16915 		fi
   16916 
   16917 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   16918 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16919 		fi
   16920 
   16921 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   16922 
   16923 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   16924 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   16925 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   16926 		if eval \${$cacheid+:} false; then :
   16927   $as_echo_n "(cached) " >&6
   16928 else
   16929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16930 /* end confdefs.h.  */
   16931 int i;
   16932 int
   16933 main ()
   16934 {
   16935 
   16936   ;
   16937   return 0;
   16938 }
   16939 _ACEOF
   16940 if ac_fn_c_try_link "$LINENO"; then :
   16941   eval $cacheid=yes
   16942 else
   16943   eval $cacheid=no
   16944 fi
   16945 rm -f core conftest.err conftest.$ac_objext \
   16946     conftest$ac_exeext conftest.$ac_ext
   16947 fi
   16948 
   16949 
   16950 		CFLAGS="$xorg_testset_save_CFLAGS"
   16951 
   16952 		eval supported=\$$cacheid
   16953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16954 $as_echo "$supported" >&6; }
   16955 		if test "$supported" = "yes" ; then
   16956 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   16957 			found="yes"
   16958 		fi
   16959 	fi
   16960 
   16961 
   16962 fi
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 		CWARNFLAGS="$BASE_CFLAGS"
   16971 		if  test "x$GCC" = xyes ; then
   16972 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   16973 		fi
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 # Check whether --enable-strict-compilation was given.
   16983 if test "${enable_strict_compilation+set}" = set; then :
   16984   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   16985 else
   16986   STRICT_COMPILE=no
   16987 fi
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 STRICT_CFLAGS=""
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 xorg_testset_save_CFLAGS="$CFLAGS"
   17009 
   17010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17015   $as_echo_n "(cached) " >&6
   17016 else
   17017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17018 /* end confdefs.h.  */
   17019 int i;
   17020 _ACEOF
   17021 if ac_fn_c_try_compile "$LINENO"; then :
   17022   xorg_cv_cc_flag_unknown_warning_option=yes
   17023 else
   17024   xorg_cv_cc_flag_unknown_warning_option=no
   17025 fi
   17026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17027 fi
   17028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17031 	CFLAGS="$xorg_testset_save_CFLAGS"
   17032 fi
   17033 
   17034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17037 	fi
   17038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17042   $as_echo_n "(cached) " >&6
   17043 else
   17044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17045 /* end confdefs.h.  */
   17046 int i;
   17047 _ACEOF
   17048 if ac_fn_c_try_compile "$LINENO"; then :
   17049   xorg_cv_cc_flag_unused_command_line_argument=yes
   17050 else
   17051   xorg_cv_cc_flag_unused_command_line_argument=no
   17052 fi
   17053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17054 fi
   17055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17058 	CFLAGS="$xorg_testset_save_CFLAGS"
   17059 fi
   17060 
   17061 found="no"
   17062 
   17063 	if test $found = "no" ; then
   17064 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17066 		fi
   17067 
   17068 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17070 		fi
   17071 
   17072 		CFLAGS="$CFLAGS -pedantic"
   17073 
   17074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17075 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17076 		cacheid=xorg_cv_cc_flag__pedantic
   17077 		if eval \${$cacheid+:} false; then :
   17078   $as_echo_n "(cached) " >&6
   17079 else
   17080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17081 /* end confdefs.h.  */
   17082 int i;
   17083 int
   17084 main ()
   17085 {
   17086 
   17087   ;
   17088   return 0;
   17089 }
   17090 _ACEOF
   17091 if ac_fn_c_try_link "$LINENO"; then :
   17092   eval $cacheid=yes
   17093 else
   17094   eval $cacheid=no
   17095 fi
   17096 rm -f core conftest.err conftest.$ac_objext \
   17097     conftest$ac_exeext conftest.$ac_ext
   17098 fi
   17099 
   17100 
   17101 		CFLAGS="$xorg_testset_save_CFLAGS"
   17102 
   17103 		eval supported=\$$cacheid
   17104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17105 $as_echo "$supported" >&6; }
   17106 		if test "$supported" = "yes" ; then
   17107 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17108 			found="yes"
   17109 		fi
   17110 	fi
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 
   17118 
   17119 
   17120 
   17121 
   17122 
   17123 
   17124 
   17125 
   17126 xorg_testset_save_CFLAGS="$CFLAGS"
   17127 
   17128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17133   $as_echo_n "(cached) " >&6
   17134 else
   17135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17136 /* end confdefs.h.  */
   17137 int i;
   17138 _ACEOF
   17139 if ac_fn_c_try_compile "$LINENO"; then :
   17140   xorg_cv_cc_flag_unknown_warning_option=yes
   17141 else
   17142   xorg_cv_cc_flag_unknown_warning_option=no
   17143 fi
   17144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17145 fi
   17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17149 	CFLAGS="$xorg_testset_save_CFLAGS"
   17150 fi
   17151 
   17152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17155 	fi
   17156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17160   $as_echo_n "(cached) " >&6
   17161 else
   17162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17163 /* end confdefs.h.  */
   17164 int i;
   17165 _ACEOF
   17166 if ac_fn_c_try_compile "$LINENO"; then :
   17167   xorg_cv_cc_flag_unused_command_line_argument=yes
   17168 else
   17169   xorg_cv_cc_flag_unused_command_line_argument=no
   17170 fi
   17171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17172 fi
   17173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17176 	CFLAGS="$xorg_testset_save_CFLAGS"
   17177 fi
   17178 
   17179 found="no"
   17180 
   17181 	if test $found = "no" ; then
   17182 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17184 		fi
   17185 
   17186 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17188 		fi
   17189 
   17190 		CFLAGS="$CFLAGS -Werror"
   17191 
   17192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   17193 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   17194 		cacheid=xorg_cv_cc_flag__Werror
   17195 		if eval \${$cacheid+:} false; then :
   17196   $as_echo_n "(cached) " >&6
   17197 else
   17198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17199 /* end confdefs.h.  */
   17200 int i;
   17201 int
   17202 main ()
   17203 {
   17204 
   17205   ;
   17206   return 0;
   17207 }
   17208 _ACEOF
   17209 if ac_fn_c_try_link "$LINENO"; then :
   17210   eval $cacheid=yes
   17211 else
   17212   eval $cacheid=no
   17213 fi
   17214 rm -f core conftest.err conftest.$ac_objext \
   17215     conftest$ac_exeext conftest.$ac_ext
   17216 fi
   17217 
   17218 
   17219 		CFLAGS="$xorg_testset_save_CFLAGS"
   17220 
   17221 		eval supported=\$$cacheid
   17222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17223 $as_echo "$supported" >&6; }
   17224 		if test "$supported" = "yes" ; then
   17225 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   17226 			found="yes"
   17227 		fi
   17228 	fi
   17229 
   17230 	if test $found = "no" ; then
   17231 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17232 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17233 		fi
   17234 
   17235 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17236 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17237 		fi
   17238 
   17239 		CFLAGS="$CFLAGS -errwarn"
   17240 
   17241 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   17242 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   17243 		cacheid=xorg_cv_cc_flag__errwarn
   17244 		if eval \${$cacheid+:} false; then :
   17245   $as_echo_n "(cached) " >&6
   17246 else
   17247   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17248 /* end confdefs.h.  */
   17249 int i;
   17250 int
   17251 main ()
   17252 {
   17253 
   17254   ;
   17255   return 0;
   17256 }
   17257 _ACEOF
   17258 if ac_fn_c_try_link "$LINENO"; then :
   17259   eval $cacheid=yes
   17260 else
   17261   eval $cacheid=no
   17262 fi
   17263 rm -f core conftest.err conftest.$ac_objext \
   17264     conftest$ac_exeext conftest.$ac_ext
   17265 fi
   17266 
   17267 
   17268 		CFLAGS="$xorg_testset_save_CFLAGS"
   17269 
   17270 		eval supported=\$$cacheid
   17271 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17272 $as_echo "$supported" >&6; }
   17273 		if test "$supported" = "yes" ; then
   17274 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   17275 			found="yes"
   17276 		fi
   17277 	fi
   17278 
   17279 
   17280 
   17281 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   17282 # activate it with -Werror, so we add it here explicitly.
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 xorg_testset_save_CFLAGS="$CFLAGS"
   17297 
   17298 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17299 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17300 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17301 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17302 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17303   $as_echo_n "(cached) " >&6
   17304 else
   17305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17306 /* end confdefs.h.  */
   17307 int i;
   17308 _ACEOF
   17309 if ac_fn_c_try_compile "$LINENO"; then :
   17310   xorg_cv_cc_flag_unknown_warning_option=yes
   17311 else
   17312   xorg_cv_cc_flag_unknown_warning_option=no
   17313 fi
   17314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17315 fi
   17316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17317 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17318 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17319 	CFLAGS="$xorg_testset_save_CFLAGS"
   17320 fi
   17321 
   17322 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17323 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17324 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17325 	fi
   17326 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17327 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17328 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17329 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17330   $as_echo_n "(cached) " >&6
   17331 else
   17332   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17333 /* end confdefs.h.  */
   17334 int i;
   17335 _ACEOF
   17336 if ac_fn_c_try_compile "$LINENO"; then :
   17337   xorg_cv_cc_flag_unused_command_line_argument=yes
   17338 else
   17339   xorg_cv_cc_flag_unused_command_line_argument=no
   17340 fi
   17341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17342 fi
   17343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17344 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17345 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17346 	CFLAGS="$xorg_testset_save_CFLAGS"
   17347 fi
   17348 
   17349 found="no"
   17350 
   17351 	if test $found = "no" ; then
   17352 		if test "x$xorg_testset_unknown_warning_option" = "xyes" ; then
   17353 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17354 		fi
   17355 
   17356 		if test "x$xorg_testset_unused_command_line_argument" = "xyes" ; then
   17357 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17358 		fi
   17359 
   17360 		CFLAGS="$CFLAGS -Werror=attributes"
   17361 
   17362 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   17363 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   17364 		cacheid=xorg_cv_cc_flag__Werror_attributes
   17365 		if eval \${$cacheid+:} false; then :
   17366   $as_echo_n "(cached) " >&6
   17367 else
   17368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17369 /* end confdefs.h.  */
   17370 int i;
   17371 int
   17372 main ()
   17373 {
   17374 
   17375   ;
   17376   return 0;
   17377 }
   17378 _ACEOF
   17379 if ac_fn_c_try_link "$LINENO"; then :
   17380   eval $cacheid=yes
   17381 else
   17382   eval $cacheid=no
   17383 fi
   17384 rm -f core conftest.err conftest.$ac_objext \
   17385     conftest$ac_exeext conftest.$ac_ext
   17386 fi
   17387 
   17388 
   17389 		CFLAGS="$xorg_testset_save_CFLAGS"
   17390 
   17391 		eval supported=\$$cacheid
   17392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17393 $as_echo "$supported" >&6; }
   17394 		if test "$supported" = "yes" ; then
   17395 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   17396 			found="yes"
   17397 		fi
   17398 	fi
   17399 
   17400 
   17401 
   17402 if test "x$STRICT_COMPILE" = "xyes"; then
   17403     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   17404     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   17405 fi
   17406 
   17407 
   17408 
   17409 
   17410 
   17411 
   17412 cat >>confdefs.h <<_ACEOF
   17413 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   17414 _ACEOF
   17415 
   17416 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   17417 	if test "x$PVM" = "x"; then
   17418 		PVM="0"
   17419 	fi
   17420 
   17421 cat >>confdefs.h <<_ACEOF
   17422 #define PACKAGE_VERSION_MINOR $PVM
   17423 _ACEOF
   17424 
   17425 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   17426 	if test "x$PVP" = "x"; then
   17427 		PVP="0"
   17428 	fi
   17429 
   17430 cat >>confdefs.h <<_ACEOF
   17431 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   17432 _ACEOF
   17433 
   17434 
   17435 
   17436 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   17437 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   17438 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   17439 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   17440 
   17441 
   17442 
   17443 
   17444 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   17445 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   17446 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   17447 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   17448 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   17449 
   17450 
   17451 
   17452 
   17453 
   17454 
   17455 if test x$APP_MAN_SUFFIX = x    ; then
   17456     APP_MAN_SUFFIX=1
   17457 fi
   17458 if test x$APP_MAN_DIR = x    ; then
   17459     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   17460 fi
   17461 
   17462 if test x$LIB_MAN_SUFFIX = x    ; then
   17463     LIB_MAN_SUFFIX=3
   17464 fi
   17465 if test x$LIB_MAN_DIR = x    ; then
   17466     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   17467 fi
   17468 
   17469 if test x$FILE_MAN_SUFFIX = x    ; then
   17470     case $host_os in
   17471 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   17472 	*)		FILE_MAN_SUFFIX=5  ;;
   17473     esac
   17474 fi
   17475 if test x$FILE_MAN_DIR = x    ; then
   17476     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   17477 fi
   17478 
   17479 if test x$MISC_MAN_SUFFIX = x    ; then
   17480     case $host_os in
   17481 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   17482 	*)		MISC_MAN_SUFFIX=7  ;;
   17483     esac
   17484 fi
   17485 if test x$MISC_MAN_DIR = x    ; then
   17486     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   17487 fi
   17488 
   17489 if test x$DRIVER_MAN_SUFFIX = x    ; then
   17490     case $host_os in
   17491 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   17492 	*)		DRIVER_MAN_SUFFIX=4  ;;
   17493     esac
   17494 fi
   17495 if test x$DRIVER_MAN_DIR = x    ; then
   17496     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   17497 fi
   17498 
   17499 if test x$ADMIN_MAN_SUFFIX = x    ; then
   17500     case $host_os in
   17501 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   17502 	*)		ADMIN_MAN_SUFFIX=8  ;;
   17503     esac
   17504 fi
   17505 if test x$ADMIN_MAN_DIR = x    ; then
   17506     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   17507 fi
   17508 
   17509 
   17510 
   17511 
   17512 
   17513 
   17514 
   17515 
   17516 
   17517 
   17518 
   17519 
   17520 
   17521 
   17522 
   17523 XORG_MAN_PAGE="X Version 11"
   17524 
   17525 MAN_SUBSTS="\
   17526 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17527 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   17528 	-e 's|__xservername__|Xorg|g' \
   17529 	-e 's|__xconfigfile__|xorg.conf|g' \
   17530 	-e 's|__xorgconfdir__|xorg.conf.d|g' \
   17531 	-e 's|__projectroot__|\$(prefix)|g' \
   17532 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   17533 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   17534 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   17535 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   17536 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   17537 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   17538 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   17539 
   17540 
   17541 
   17542 # Check whether --enable-silent-rules was given.
   17543 if test "${enable_silent_rules+set}" = set; then :
   17544   enableval=$enable_silent_rules;
   17545 fi
   17546 
   17547 case $enable_silent_rules in # (((
   17548   yes) AM_DEFAULT_VERBOSITY=0;;
   17549    no) AM_DEFAULT_VERBOSITY=1;;
   17550     *) AM_DEFAULT_VERBOSITY=0;;
   17551 esac
   17552 am_make=${MAKE-make}
   17553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   17554 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   17555 if ${am_cv_make_support_nested_variables+:} false; then :
   17556   $as_echo_n "(cached) " >&6
   17557 else
   17558   if $as_echo 'TRUE=$(BAR$(V))
   17559 BAR0=false
   17560 BAR1=true
   17561 V=1
   17562 am__doit:
   17563 	@$(TRUE)
   17564 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   17565   am_cv_make_support_nested_variables=yes
   17566 else
   17567   am_cv_make_support_nested_variables=no
   17568 fi
   17569 fi
   17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   17571 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   17572 if test $am_cv_make_support_nested_variables = yes; then
   17573     AM_V='$(V)'
   17574   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   17575 else
   17576   AM_V=$AM_DEFAULT_VERBOSITY
   17577   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   17578 fi
   17579 AM_BACKSLASH='\'
   17580 
   17581 
   17582 
   17583 # Obtain compiler/linker options from server and required extensions
   17584 
   17585 pkg_failed=no
   17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   17587 $as_echo_n "checking for XORG... " >&6; }
   17588 
   17589 if test -n "$XORG_CFLAGS"; then
   17590     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   17591  elif test -n "$PKG_CONFIG"; then
   17592     if test -n "$PKG_CONFIG" && \
   17593     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.4 xproto inputproto\""; } >&5
   17594   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.4 xproto inputproto") 2>&5
   17595   ac_status=$?
   17596   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17597   test $ac_status = 0; }; then
   17598   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.4 xproto inputproto" 2>/dev/null`
   17599 else
   17600   pkg_failed=yes
   17601 fi
   17602  else
   17603     pkg_failed=untried
   17604 fi
   17605 if test -n "$XORG_LIBS"; then
   17606     pkg_cv_XORG_LIBS="$XORG_LIBS"
   17607  elif test -n "$PKG_CONFIG"; then
   17608     if test -n "$PKG_CONFIG" && \
   17609     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.4 xproto inputproto\""; } >&5
   17610   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.4 xproto inputproto") 2>&5
   17611   ac_status=$?
   17612   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17613   test $ac_status = 0; }; then
   17614   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.4 xproto inputproto" 2>/dev/null`
   17615 else
   17616   pkg_failed=yes
   17617 fi
   17618  else
   17619     pkg_failed=untried
   17620 fi
   17621 
   17622 
   17623 
   17624 if test $pkg_failed = yes; then
   17625    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17626 $as_echo "no" >&6; }
   17627 
   17628 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17629         _pkg_short_errors_supported=yes
   17630 else
   17631         _pkg_short_errors_supported=no
   17632 fi
   17633         if test $_pkg_short_errors_supported = yes; then
   17634 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "xorg-server >= 1.4 xproto inputproto" 2>&1`
   17635         else
   17636 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors "xorg-server >= 1.4 xproto inputproto" 2>&1`
   17637         fi
   17638 	# Put the nasty error message in config.log where it belongs
   17639 	echo "$XORG_PKG_ERRORS" >&5
   17640 
   17641 	as_fn_error $? "Package requirements (xorg-server >= 1.4 xproto inputproto) were not met:
   17642 
   17643 $XORG_PKG_ERRORS
   17644 
   17645 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17646 installed software in a non-standard prefix.
   17647 
   17648 Alternatively, you may set the environment variables XORG_CFLAGS
   17649 and XORG_LIBS to avoid the need to call pkg-config.
   17650 See the pkg-config man page for more details." "$LINENO" 5
   17651 
   17652 elif test $pkg_failed = untried; then
   17653      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17654 $as_echo "no" >&6; }
   17655 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17656 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17657 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17658 is in your PATH or set the PKG_CONFIG environment variable to the full
   17659 path to pkg-config.
   17660 
   17661 Alternatively, you may set the environment variables XORG_CFLAGS
   17662 and XORG_LIBS to avoid the need to call pkg-config.
   17663 See the pkg-config man page for more details.
   17664 
   17665 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17666 See \`config.log' for more details" "$LINENO" 5; }
   17667 
   17668 else
   17669 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   17670 	XORG_LIBS=$pkg_cv_XORG_LIBS
   17671         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17672 $as_echo "yes" >&6; }
   17673 
   17674 fi
   17675 
   17676 # Define a configure option for an alternate input module directory
   17677 
   17678 # Check whether --with-xorg-module-dir was given.
   17679 if test "${with_xorg_module_dir+set}" = set; then :
   17680   withval=$with_xorg_module_dir; moduledir="$withval"
   17681 else
   17682   moduledir="$libdir/xorg/modules"
   17683 fi
   17684 
   17685 inputdir=${moduledir}/input
   17686 
   17687 
   17688 # The keyboard driver code is O/S specific
   17689 case $host_os in
   17690   linux*)
   17691     IS_LINUX="yes"
   17692     ;;
   17693 
   17694   freebsd* | kfreebsd-gnu* | netbsd* | openbsd* | dragonfly*)
   17695     IS_BSD="yes"
   17696     ;;
   17697 
   17698   solaris*)
   17699     IS_SOLARIS="yes"
   17700     ;;
   17701 
   17702   gnu*)
   17703     IS_HURD="yes"
   17704     ;;
   17705 
   17706   *)
   17707     as_fn_error $? "Your operating system is not supported by the kbd driver.
   17708                   Contact xorg@lists.freedesktop.org if you are interested in
   17709                   porting it." "$LINENO" 5
   17710     ;;
   17711 esac
   17712  if test "x$IS_LINUX" = xyes; then
   17713   LINUX_TRUE=
   17714   LINUX_FALSE='#'
   17715 else
   17716   LINUX_TRUE='#'
   17717   LINUX_FALSE=
   17718 fi
   17719 
   17720  if test "x$IS_BSD" = xyes; then
   17721   BSD_TRUE=
   17722   BSD_FALSE='#'
   17723 else
   17724   BSD_TRUE='#'
   17725   BSD_FALSE=
   17726 fi
   17727 
   17728  if test "x$IS_SOLARIS" = xyes; then
   17729   SOLARIS_TRUE=
   17730   SOLARIS_FALSE='#'
   17731 else
   17732   SOLARIS_TRUE='#'
   17733   SOLARIS_FALSE=
   17734 fi
   17735 
   17736  if test "x$IS_HURD" = xyes; then
   17737   HURD_TRUE=
   17738   HURD_FALSE='#'
   17739 else
   17740   HURD_TRUE='#'
   17741   HURD_FALSE=
   17742 fi
   17743 
   17744 
   17745 DRIVER_NAME=kbd
   17746 
   17747 
   17748 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   17749 
   17750 cat >confcache <<\_ACEOF
   17751 # This file is a shell script that caches the results of configure
   17752 # tests run on this system so they can be shared between configure
   17753 # scripts and configure runs, see configure's option --config-cache.
   17754 # It is not useful on other systems.  If it contains results you don't
   17755 # want to keep, you may remove or edit it.
   17756 #
   17757 # config.status only pays attention to the cache file if you give it
   17758 # the --recheck option to rerun configure.
   17759 #
   17760 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   17761 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   17762 # following values.
   17763 
   17764 _ACEOF
   17765 
   17766 # The following way of writing the cache mishandles newlines in values,
   17767 # but we know of no workaround that is simple, portable, and efficient.
   17768 # So, we kill variables containing newlines.
   17769 # Ultrix sh set writes to stderr and can't be redirected directly,
   17770 # and sets the high bit in the cache file unless we assign to the vars.
   17771 (
   17772   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   17773     eval ac_val=\$$ac_var
   17774     case $ac_val in #(
   17775     *${as_nl}*)
   17776       case $ac_var in #(
   17777       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   17778 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   17779       esac
   17780       case $ac_var in #(
   17781       _ | IFS | as_nl) ;; #(
   17782       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   17783       *) { eval $ac_var=; unset $ac_var;} ;;
   17784       esac ;;
   17785     esac
   17786   done
   17787 
   17788   (set) 2>&1 |
   17789     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   17790     *${as_nl}ac_space=\ *)
   17791       # `set' does not quote correctly, so add quotes: double-quote
   17792       # substitution turns \\\\ into \\, and sed turns \\ into \.
   17793       sed -n \
   17794 	"s/'/'\\\\''/g;
   17795 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   17796       ;; #(
   17797     *)
   17798       # `set' quotes correctly as required by POSIX, so do not add quotes.
   17799       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   17800       ;;
   17801     esac |
   17802     sort
   17803 ) |
   17804   sed '
   17805      /^ac_cv_env_/b end
   17806      t clear
   17807      :clear
   17808      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   17809      t end
   17810      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   17811      :end' >>confcache
   17812 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   17813   if test -w "$cache_file"; then
   17814     if test "x$cache_file" != "x/dev/null"; then
   17815       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   17816 $as_echo "$as_me: updating cache $cache_file" >&6;}
   17817       if test ! -f "$cache_file" || test -h "$cache_file"; then
   17818 	cat confcache >"$cache_file"
   17819       else
   17820         case $cache_file in #(
   17821         */* | ?:*)
   17822 	  mv -f confcache "$cache_file"$$ &&
   17823 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   17824         *)
   17825 	  mv -f confcache "$cache_file" ;;
   17826 	esac
   17827       fi
   17828     fi
   17829   else
   17830     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   17831 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   17832   fi
   17833 fi
   17834 rm -f confcache
   17835 
   17836 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   17837 # Let make expand exec_prefix.
   17838 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   17839 
   17840 DEFS=-DHAVE_CONFIG_H
   17841 
   17842 ac_libobjs=
   17843 ac_ltlibobjs=
   17844 U=
   17845 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   17846   # 1. Remove the extension, and $U if already installed.
   17847   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   17848   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   17849   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   17850   #    will be set to the directory where LIBOBJS objects are built.
   17851   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   17852   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   17853 done
   17854 LIBOBJS=$ac_libobjs
   17855 
   17856 LTLIBOBJS=$ac_ltlibobjs
   17857 
   17858 
   17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   17860 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   17861    if test -n "$am_sleep_pid"; then
   17862      # Hide warnings about reused PIDs.
   17863      wait $am_sleep_pid 2>/dev/null
   17864    fi
   17865    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   17866 $as_echo "done" >&6; }
   17867  if test -n "$EXEEXT"; then
   17868   am__EXEEXT_TRUE=
   17869   am__EXEEXT_FALSE='#'
   17870 else
   17871   am__EXEEXT_TRUE='#'
   17872   am__EXEEXT_FALSE=
   17873 fi
   17874 
   17875 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   17876   as_fn_error $? "conditional \"AMDEP\" was never defined.
   17877 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17878 fi
   17879 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   17880   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   17881 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17882 fi
   17883 if test -z "${LINUX_TRUE}" && test -z "${LINUX_FALSE}"; then
   17884   as_fn_error $? "conditional \"LINUX\" was never defined.
   17885 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17886 fi
   17887 if test -z "${BSD_TRUE}" && test -z "${BSD_FALSE}"; then
   17888   as_fn_error $? "conditional \"BSD\" was never defined.
   17889 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17890 fi
   17891 if test -z "${SOLARIS_TRUE}" && test -z "${SOLARIS_FALSE}"; then
   17892   as_fn_error $? "conditional \"SOLARIS\" was never defined.
   17893 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17894 fi
   17895 if test -z "${HURD_TRUE}" && test -z "${HURD_FALSE}"; then
   17896   as_fn_error $? "conditional \"HURD\" was never defined.
   17897 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   17898 fi
   17899 
   17900 : "${CONFIG_STATUS=./config.status}"
   17901 ac_write_fail=0
   17902 ac_clean_files_save=$ac_clean_files
   17903 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   17904 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   17905 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   17906 as_write_fail=0
   17907 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   17908 #! $SHELL
   17909 # Generated by $as_me.
   17910 # Run this file to recreate the current configuration.
   17911 # Compiler output produced by configure, useful for debugging
   17912 # configure, is in config.log if it exists.
   17913 
   17914 debug=false
   17915 ac_cs_recheck=false
   17916 ac_cs_silent=false
   17917 
   17918 SHELL=\${CONFIG_SHELL-$SHELL}
   17919 export SHELL
   17920 _ASEOF
   17921 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   17922 ## -------------------- ##
   17923 ## M4sh Initialization. ##
   17924 ## -------------------- ##
   17925 
   17926 # Be more Bourne compatible
   17927 DUALCASE=1; export DUALCASE # for MKS sh
   17928 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   17929   emulate sh
   17930   NULLCMD=:
   17931   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   17932   # is contrary to our usage.  Disable this feature.
   17933   alias -g '${1+"$@"}'='"$@"'
   17934   setopt NO_GLOB_SUBST
   17935 else
   17936   case `(set -o) 2>/dev/null` in #(
   17937   *posix*) :
   17938     set -o posix ;; #(
   17939   *) :
   17940      ;;
   17941 esac
   17942 fi
   17943 
   17944 
   17945 as_nl='
   17946 '
   17947 export as_nl
   17948 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   17949 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   17950 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   17951 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   17952 # Prefer a ksh shell builtin over an external printf program on Solaris,
   17953 # but without wasting forks for bash or zsh.
   17954 if test -z "$BASH_VERSION$ZSH_VERSION" \
   17955     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   17956   as_echo='print -r --'
   17957   as_echo_n='print -rn --'
   17958 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   17959   as_echo='printf %s\n'
   17960   as_echo_n='printf %s'
   17961 else
   17962   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   17963     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   17964     as_echo_n='/usr/ucb/echo -n'
   17965   else
   17966     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   17967     as_echo_n_body='eval
   17968       arg=$1;
   17969       case $arg in #(
   17970       *"$as_nl"*)
   17971 	expr "X$arg" : "X\\(.*\\)$as_nl";
   17972 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   17973       esac;
   17974       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   17975     '
   17976     export as_echo_n_body
   17977     as_echo_n='sh -c $as_echo_n_body as_echo'
   17978   fi
   17979   export as_echo_body
   17980   as_echo='sh -c $as_echo_body as_echo'
   17981 fi
   17982 
   17983 # The user is always right.
   17984 if test "${PATH_SEPARATOR+set}" != set; then
   17985   PATH_SEPARATOR=:
   17986   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   17987     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   17988       PATH_SEPARATOR=';'
   17989   }
   17990 fi
   17991 
   17992 
   17993 # IFS
   17994 # We need space, tab and new line, in precisely that order.  Quoting is
   17995 # there to prevent editors from complaining about space-tab.
   17996 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   17997 # splitting by setting IFS to empty value.)
   17998 IFS=" ""	$as_nl"
   17999 
   18000 # Find who we are.  Look in the path if we contain no directory separator.
   18001 as_myself=
   18002 case $0 in #((
   18003   *[\\/]* ) as_myself=$0 ;;
   18004   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18005 for as_dir in $PATH
   18006 do
   18007   IFS=$as_save_IFS
   18008   test -z "$as_dir" && as_dir=.
   18009     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18010   done
   18011 IFS=$as_save_IFS
   18012 
   18013      ;;
   18014 esac
   18015 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18016 # in which case we are not to be found in the path.
   18017 if test "x$as_myself" = x; then
   18018   as_myself=$0
   18019 fi
   18020 if test ! -f "$as_myself"; then
   18021   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18022   exit 1
   18023 fi
   18024 
   18025 # Unset variables that we do not need and which cause bugs (e.g. in
   18026 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18027 # suppresses any "Segmentation fault" message there.  '((' could
   18028 # trigger a bug in pdksh 5.2.14.
   18029 for as_var in BASH_ENV ENV MAIL MAILPATH
   18030 do eval test x\${$as_var+set} = xset \
   18031   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18032 done
   18033 PS1='$ '
   18034 PS2='> '
   18035 PS4='+ '
   18036 
   18037 # NLS nuisances.
   18038 LC_ALL=C
   18039 export LC_ALL
   18040 LANGUAGE=C
   18041 export LANGUAGE
   18042 
   18043 # CDPATH.
   18044 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18045 
   18046 
   18047 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18048 # ----------------------------------------
   18049 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18050 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18051 # script with STATUS, using 1 if that was 0.
   18052 as_fn_error ()
   18053 {
   18054   as_status=$1; test $as_status -eq 0 && as_status=1
   18055   if test "$4"; then
   18056     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18057     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18058   fi
   18059   $as_echo "$as_me: error: $2" >&2
   18060   as_fn_exit $as_status
   18061 } # as_fn_error
   18062 
   18063 
   18064 # as_fn_set_status STATUS
   18065 # -----------------------
   18066 # Set $? to STATUS, without forking.
   18067 as_fn_set_status ()
   18068 {
   18069   return $1
   18070 } # as_fn_set_status
   18071 
   18072 # as_fn_exit STATUS
   18073 # -----------------
   18074 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18075 as_fn_exit ()
   18076 {
   18077   set +e
   18078   as_fn_set_status $1
   18079   exit $1
   18080 } # as_fn_exit
   18081 
   18082 # as_fn_unset VAR
   18083 # ---------------
   18084 # Portably unset VAR.
   18085 as_fn_unset ()
   18086 {
   18087   { eval $1=; unset $1;}
   18088 }
   18089 as_unset=as_fn_unset
   18090 # as_fn_append VAR VALUE
   18091 # ----------------------
   18092 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18093 # advantage of any shell optimizations that allow amortized linear growth over
   18094 # repeated appends, instead of the typical quadratic growth present in naive
   18095 # implementations.
   18096 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18097   eval 'as_fn_append ()
   18098   {
   18099     eval $1+=\$2
   18100   }'
   18101 else
   18102   as_fn_append ()
   18103   {
   18104     eval $1=\$$1\$2
   18105   }
   18106 fi # as_fn_append
   18107 
   18108 # as_fn_arith ARG...
   18109 # ------------------
   18110 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18111 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18112 # must be portable across $(()) and expr.
   18113 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18114   eval 'as_fn_arith ()
   18115   {
   18116     as_val=$(( $* ))
   18117   }'
   18118 else
   18119   as_fn_arith ()
   18120   {
   18121     as_val=`expr "$@" || test $? -eq 1`
   18122   }
   18123 fi # as_fn_arith
   18124 
   18125 
   18126 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18127    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18128   as_expr=expr
   18129 else
   18130   as_expr=false
   18131 fi
   18132 
   18133 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18134   as_basename=basename
   18135 else
   18136   as_basename=false
   18137 fi
   18138 
   18139 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18140   as_dirname=dirname
   18141 else
   18142   as_dirname=false
   18143 fi
   18144 
   18145 as_me=`$as_basename -- "$0" ||
   18146 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18147 	 X"$0" : 'X\(//\)$' \| \
   18148 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18149 $as_echo X/"$0" |
   18150     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18151 	    s//\1/
   18152 	    q
   18153 	  }
   18154 	  /^X\/\(\/\/\)$/{
   18155 	    s//\1/
   18156 	    q
   18157 	  }
   18158 	  /^X\/\(\/\).*/{
   18159 	    s//\1/
   18160 	    q
   18161 	  }
   18162 	  s/.*/./; q'`
   18163 
   18164 # Avoid depending upon Character Ranges.
   18165 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18166 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18167 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18168 as_cr_digits='0123456789'
   18169 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18170 
   18171 ECHO_C= ECHO_N= ECHO_T=
   18172 case `echo -n x` in #(((((
   18173 -n*)
   18174   case `echo 'xy\c'` in
   18175   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18176   xy)  ECHO_C='\c';;
   18177   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18178        ECHO_T='	';;
   18179   esac;;
   18180 *)
   18181   ECHO_N='-n';;
   18182 esac
   18183 
   18184 rm -f conf$$ conf$$.exe conf$$.file
   18185 if test -d conf$$.dir; then
   18186   rm -f conf$$.dir/conf$$.file
   18187 else
   18188   rm -f conf$$.dir
   18189   mkdir conf$$.dir 2>/dev/null
   18190 fi
   18191 if (echo >conf$$.file) 2>/dev/null; then
   18192   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18193     as_ln_s='ln -s'
   18194     # ... but there are two gotchas:
   18195     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18196     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18197     # In both cases, we have to default to `cp -pR'.
   18198     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18199       as_ln_s='cp -pR'
   18200   elif ln conf$$.file conf$$ 2>/dev/null; then
   18201     as_ln_s=ln
   18202   else
   18203     as_ln_s='cp -pR'
   18204   fi
   18205 else
   18206   as_ln_s='cp -pR'
   18207 fi
   18208 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18209 rmdir conf$$.dir 2>/dev/null
   18210 
   18211 
   18212 # as_fn_mkdir_p
   18213 # -------------
   18214 # Create "$as_dir" as a directory, including parents if necessary.
   18215 as_fn_mkdir_p ()
   18216 {
   18217 
   18218   case $as_dir in #(
   18219   -*) as_dir=./$as_dir;;
   18220   esac
   18221   test -d "$as_dir" || eval $as_mkdir_p || {
   18222     as_dirs=
   18223     while :; do
   18224       case $as_dir in #(
   18225       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18226       *) as_qdir=$as_dir;;
   18227       esac
   18228       as_dirs="'$as_qdir' $as_dirs"
   18229       as_dir=`$as_dirname -- "$as_dir" ||
   18230 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18231 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18232 	 X"$as_dir" : 'X\(//\)$' \| \
   18233 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18234 $as_echo X"$as_dir" |
   18235     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18236 	    s//\1/
   18237 	    q
   18238 	  }
   18239 	  /^X\(\/\/\)[^/].*/{
   18240 	    s//\1/
   18241 	    q
   18242 	  }
   18243 	  /^X\(\/\/\)$/{
   18244 	    s//\1/
   18245 	    q
   18246 	  }
   18247 	  /^X\(\/\).*/{
   18248 	    s//\1/
   18249 	    q
   18250 	  }
   18251 	  s/.*/./; q'`
   18252       test -d "$as_dir" && break
   18253     done
   18254     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18255   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18256 
   18257 
   18258 } # as_fn_mkdir_p
   18259 if mkdir -p . 2>/dev/null; then
   18260   as_mkdir_p='mkdir -p "$as_dir"'
   18261 else
   18262   test -d ./-p && rmdir ./-p
   18263   as_mkdir_p=false
   18264 fi
   18265 
   18266 
   18267 # as_fn_executable_p FILE
   18268 # -----------------------
   18269 # Test if FILE is an executable regular file.
   18270 as_fn_executable_p ()
   18271 {
   18272   test -f "$1" && test -x "$1"
   18273 } # as_fn_executable_p
   18274 as_test_x='test -x'
   18275 as_executable_p=as_fn_executable_p
   18276 
   18277 # Sed expression to map a string onto a valid CPP name.
   18278 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18279 
   18280 # Sed expression to map a string onto a valid variable name.
   18281 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18282 
   18283 
   18284 exec 6>&1
   18285 ## ----------------------------------- ##
   18286 ## Main body of $CONFIG_STATUS script. ##
   18287 ## ----------------------------------- ##
   18288 _ASEOF
   18289 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18290 
   18291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18292 # Save the log message, to keep $0 and so on meaningful, and to
   18293 # report actual input values of CONFIG_FILES etc. instead of their
   18294 # values after options handling.
   18295 ac_log="
   18296 This file was extended by xf86-input-keyboard $as_me 1.7.0, which was
   18297 generated by GNU Autoconf 2.69.  Invocation command line was
   18298 
   18299   CONFIG_FILES    = $CONFIG_FILES
   18300   CONFIG_HEADERS  = $CONFIG_HEADERS
   18301   CONFIG_LINKS    = $CONFIG_LINKS
   18302   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18303   $ $0 $@
   18304 
   18305 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18306 "
   18307 
   18308 _ACEOF
   18309 
   18310 case $ac_config_files in *"
   18311 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18312 esac
   18313 
   18314 case $ac_config_headers in *"
   18315 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18316 esac
   18317 
   18318 
   18319 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18320 # Files that config.status was made for.
   18321 config_files="$ac_config_files"
   18322 config_headers="$ac_config_headers"
   18323 config_commands="$ac_config_commands"
   18324 
   18325 _ACEOF
   18326 
   18327 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18328 ac_cs_usage="\
   18329 \`$as_me' instantiates files and other configuration actions
   18330 from templates according to the current configuration.  Unless the files
   18331 and actions are specified as TAGs, all are instantiated by default.
   18332 
   18333 Usage: $0 [OPTION]... [TAG]...
   18334 
   18335   -h, --help       print this help, then exit
   18336   -V, --version    print version number and configuration settings, then exit
   18337       --config     print configuration, then exit
   18338   -q, --quiet, --silent
   18339                    do not print progress messages
   18340   -d, --debug      don't remove temporary files
   18341       --recheck    update $as_me by reconfiguring in the same conditions
   18342       --file=FILE[:TEMPLATE]
   18343                    instantiate the configuration file FILE
   18344       --header=FILE[:TEMPLATE]
   18345                    instantiate the configuration header FILE
   18346 
   18347 Configuration files:
   18348 $config_files
   18349 
   18350 Configuration headers:
   18351 $config_headers
   18352 
   18353 Configuration commands:
   18354 $config_commands
   18355 
   18356 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18357 
   18358 _ACEOF
   18359 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18360 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18361 ac_cs_version="\\
   18362 xf86-input-keyboard config.status 1.7.0
   18363 configured by $0, generated by GNU Autoconf 2.69,
   18364   with options \\"\$ac_cs_config\\"
   18365 
   18366 Copyright (C) 2012 Free Software Foundation, Inc.
   18367 This config.status script is free software; the Free Software Foundation
   18368 gives unlimited permission to copy, distribute and modify it."
   18369 
   18370 ac_pwd='$ac_pwd'
   18371 srcdir='$srcdir'
   18372 INSTALL='$INSTALL'
   18373 MKDIR_P='$MKDIR_P'
   18374 AWK='$AWK'
   18375 test -n "\$AWK" || AWK=awk
   18376 _ACEOF
   18377 
   18378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18379 # The default lists apply if the user does not specify any file.
   18380 ac_need_defaults=:
   18381 while test $# != 0
   18382 do
   18383   case $1 in
   18384   --*=?*)
   18385     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18386     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18387     ac_shift=:
   18388     ;;
   18389   --*=)
   18390     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18391     ac_optarg=
   18392     ac_shift=:
   18393     ;;
   18394   *)
   18395     ac_option=$1
   18396     ac_optarg=$2
   18397     ac_shift=shift
   18398     ;;
   18399   esac
   18400 
   18401   case $ac_option in
   18402   # Handling of the options.
   18403   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18404     ac_cs_recheck=: ;;
   18405   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18406     $as_echo "$ac_cs_version"; exit ;;
   18407   --config | --confi | --conf | --con | --co | --c )
   18408     $as_echo "$ac_cs_config"; exit ;;
   18409   --debug | --debu | --deb | --de | --d | -d )
   18410     debug=: ;;
   18411   --file | --fil | --fi | --f )
   18412     $ac_shift
   18413     case $ac_optarg in
   18414     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18415     '') as_fn_error $? "missing file argument" ;;
   18416     esac
   18417     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18418     ac_need_defaults=false;;
   18419   --header | --heade | --head | --hea )
   18420     $ac_shift
   18421     case $ac_optarg in
   18422     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18423     esac
   18424     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18425     ac_need_defaults=false;;
   18426   --he | --h)
   18427     # Conflict between --help and --header
   18428     as_fn_error $? "ambiguous option: \`$1'
   18429 Try \`$0 --help' for more information.";;
   18430   --help | --hel | -h )
   18431     $as_echo "$ac_cs_usage"; exit ;;
   18432   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18433   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18434     ac_cs_silent=: ;;
   18435 
   18436   # This is an error.
   18437   -*) as_fn_error $? "unrecognized option: \`$1'
   18438 Try \`$0 --help' for more information." ;;
   18439 
   18440   *) as_fn_append ac_config_targets " $1"
   18441      ac_need_defaults=false ;;
   18442 
   18443   esac
   18444   shift
   18445 done
   18446 
   18447 ac_configure_extra_args=
   18448 
   18449 if $ac_cs_silent; then
   18450   exec 6>/dev/null
   18451   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18452 fi
   18453 
   18454 _ACEOF
   18455 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18456 if \$ac_cs_recheck; then
   18457   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18458   shift
   18459   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18460   CONFIG_SHELL='$SHELL'
   18461   export CONFIG_SHELL
   18462   exec "\$@"
   18463 fi
   18464 
   18465 _ACEOF
   18466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18467 exec 5>>config.log
   18468 {
   18469   echo
   18470   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18471 ## Running $as_me. ##
   18472 _ASBOX
   18473   $as_echo "$ac_log"
   18474 } >&5
   18475 
   18476 _ACEOF
   18477 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18478 #
   18479 # INIT-COMMANDS
   18480 #
   18481 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18482 
   18483 
   18484 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18485 # if CDPATH is set.
   18486 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18487 
   18488 sed_quote_subst='$sed_quote_subst'
   18489 double_quote_subst='$double_quote_subst'
   18490 delay_variable_subst='$delay_variable_subst'
   18491 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18492 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18493 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18494 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18495 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18496 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18497 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18498 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18499 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18500 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18501 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18502 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18503 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18504 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18505 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18506 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18507 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18508 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18509 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18510 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18511 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18512 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18513 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18514 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18515 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18516 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18517 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18518 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18519 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18520 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18521 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18522 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18523 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18524 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18525 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18526 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18527 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18528 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18529 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18530 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18531 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18532 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18533 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18534 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18535 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18536 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18537 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18538 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18539 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18540 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18541 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18542 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18543 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18544 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18545 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18546 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18547 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"`'
   18548 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18549 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18550 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18551 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18552 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18553 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18554 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18555 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18556 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18557 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18558 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18559 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18560 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18561 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18562 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18563 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18564 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18565 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18566 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18567 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18568 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18569 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18570 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18571 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18572 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18573 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18574 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18575 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18576 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18577 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18578 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18579 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18580 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18581 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18582 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18583 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18584 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18585 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18586 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18587 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18588 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18589 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18590 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18591 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18592 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18593 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18594 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18595 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18596 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18597 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18598 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18599 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18600 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18601 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18602 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18603 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18604 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18605 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18606 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18607 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18608 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18609 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18610 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18611 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18612 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18613 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18614 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18615 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18616 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18617 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18618 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18619 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18620 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18621 
   18622 LTCC='$LTCC'
   18623 LTCFLAGS='$LTCFLAGS'
   18624 compiler='$compiler_DEFAULT'
   18625 
   18626 # A function that is used when there is no print builtin or printf.
   18627 func_fallback_echo ()
   18628 {
   18629   eval 'cat <<_LTECHO_EOF
   18630 \$1
   18631 _LTECHO_EOF'
   18632 }
   18633 
   18634 # Quote evaled strings.
   18635 for var in SHELL \
   18636 ECHO \
   18637 PATH_SEPARATOR \
   18638 SED \
   18639 GREP \
   18640 EGREP \
   18641 FGREP \
   18642 LD \
   18643 NM \
   18644 LN_S \
   18645 lt_SP2NL \
   18646 lt_NL2SP \
   18647 reload_flag \
   18648 OBJDUMP \
   18649 deplibs_check_method \
   18650 file_magic_cmd \
   18651 file_magic_glob \
   18652 want_nocaseglob \
   18653 DLLTOOL \
   18654 sharedlib_from_linklib_cmd \
   18655 AR \
   18656 AR_FLAGS \
   18657 archiver_list_spec \
   18658 STRIP \
   18659 RANLIB \
   18660 CC \
   18661 CFLAGS \
   18662 compiler \
   18663 lt_cv_sys_global_symbol_pipe \
   18664 lt_cv_sys_global_symbol_to_cdecl \
   18665 lt_cv_sys_global_symbol_to_c_name_address \
   18666 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   18667 nm_file_list_spec \
   18668 lt_prog_compiler_no_builtin_flag \
   18669 lt_prog_compiler_pic \
   18670 lt_prog_compiler_wl \
   18671 lt_prog_compiler_static \
   18672 lt_cv_prog_compiler_c_o \
   18673 need_locks \
   18674 MANIFEST_TOOL \
   18675 DSYMUTIL \
   18676 NMEDIT \
   18677 LIPO \
   18678 OTOOL \
   18679 OTOOL64 \
   18680 shrext_cmds \
   18681 export_dynamic_flag_spec \
   18682 whole_archive_flag_spec \
   18683 compiler_needs_object \
   18684 with_gnu_ld \
   18685 allow_undefined_flag \
   18686 no_undefined_flag \
   18687 hardcode_libdir_flag_spec \
   18688 hardcode_libdir_separator \
   18689 exclude_expsyms \
   18690 include_expsyms \
   18691 file_list_spec \
   18692 variables_saved_for_relink \
   18693 libname_spec \
   18694 library_names_spec \
   18695 soname_spec \
   18696 install_override_mode \
   18697 finish_eval \
   18698 old_striplib \
   18699 striplib; do
   18700     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18701     *[\\\\\\\`\\"\\\$]*)
   18702       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   18703       ;;
   18704     *)
   18705       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18706       ;;
   18707     esac
   18708 done
   18709 
   18710 # Double-quote double-evaled strings.
   18711 for var in reload_cmds \
   18712 old_postinstall_cmds \
   18713 old_postuninstall_cmds \
   18714 old_archive_cmds \
   18715 extract_expsyms_cmds \
   18716 old_archive_from_new_cmds \
   18717 old_archive_from_expsyms_cmds \
   18718 archive_cmds \
   18719 archive_expsym_cmds \
   18720 module_cmds \
   18721 module_expsym_cmds \
   18722 export_symbols_cmds \
   18723 prelink_cmds \
   18724 postlink_cmds \
   18725 postinstall_cmds \
   18726 postuninstall_cmds \
   18727 finish_cmds \
   18728 sys_lib_search_path_spec \
   18729 sys_lib_dlsearch_path_spec; do
   18730     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   18731     *[\\\\\\\`\\"\\\$]*)
   18732       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   18733       ;;
   18734     *)
   18735       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   18736       ;;
   18737     esac
   18738 done
   18739 
   18740 ac_aux_dir='$ac_aux_dir'
   18741 xsi_shell='$xsi_shell'
   18742 lt_shell_append='$lt_shell_append'
   18743 
   18744 # See if we are running on zsh, and set the options which allow our
   18745 # commands through without removal of \ escapes INIT.
   18746 if test -n "\${ZSH_VERSION+set}" ; then
   18747    setopt NO_GLOB_SUBST
   18748 fi
   18749 
   18750 
   18751     PACKAGE='$PACKAGE'
   18752     VERSION='$VERSION'
   18753     TIMESTAMP='$TIMESTAMP'
   18754     RM='$RM'
   18755     ofile='$ofile'
   18756 
   18757 
   18758 
   18759 
   18760 _ACEOF
   18761 
   18762 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18763 
   18764 # Handling of arguments.
   18765 for ac_config_target in $ac_config_targets
   18766 do
   18767   case $ac_config_target in
   18768     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   18769     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   18770     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   18771     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   18772     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   18773     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   18774 
   18775   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   18776   esac
   18777 done
   18778 
   18779 
   18780 # If the user did not use the arguments to specify the items to instantiate,
   18781 # then the envvar interface is used.  Set only those that are not.
   18782 # We use the long form for the default assignment because of an extremely
   18783 # bizarre bug on SunOS 4.1.3.
   18784 if $ac_need_defaults; then
   18785   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   18786   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   18787   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   18788 fi
   18789 
   18790 # Have a temporary directory for convenience.  Make it in the build tree
   18791 # simply because there is no reason against having it here, and in addition,
   18792 # creating and moving files from /tmp can sometimes cause problems.
   18793 # Hook for its removal unless debugging.
   18794 # Note that there is a small window in which the directory will not be cleaned:
   18795 # after its creation but before its name has been assigned to `$tmp'.
   18796 $debug ||
   18797 {
   18798   tmp= ac_tmp=
   18799   trap 'exit_status=$?
   18800   : "${ac_tmp:=$tmp}"
   18801   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   18802 ' 0
   18803   trap 'as_fn_exit 1' 1 2 13 15
   18804 }
   18805 # Create a (secure) tmp directory for tmp files.
   18806 
   18807 {
   18808   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   18809   test -d "$tmp"
   18810 }  ||
   18811 {
   18812   tmp=./conf$$-$RANDOM
   18813   (umask 077 && mkdir "$tmp")
   18814 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   18815 ac_tmp=$tmp
   18816 
   18817 # Set up the scripts for CONFIG_FILES section.
   18818 # No need to generate them if there are no CONFIG_FILES.
   18819 # This happens for instance with `./config.status config.h'.
   18820 if test -n "$CONFIG_FILES"; then
   18821 
   18822 
   18823 ac_cr=`echo X | tr X '\015'`
   18824 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   18825 # But we know of no other shell where ac_cr would be empty at this
   18826 # point, so we can use a bashism as a fallback.
   18827 if test "x$ac_cr" = x; then
   18828   eval ac_cr=\$\'\\r\'
   18829 fi
   18830 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   18831 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   18832   ac_cs_awk_cr='\\r'
   18833 else
   18834   ac_cs_awk_cr=$ac_cr
   18835 fi
   18836 
   18837 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   18838 _ACEOF
   18839 
   18840 
   18841 {
   18842   echo "cat >conf$$subs.awk <<_ACEOF" &&
   18843   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   18844   echo "_ACEOF"
   18845 } >conf$$subs.sh ||
   18846   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18847 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   18848 ac_delim='%!_!# '
   18849 for ac_last_try in false false false false false :; do
   18850   . ./conf$$subs.sh ||
   18851     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18852 
   18853   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   18854   if test $ac_delim_n = $ac_delim_num; then
   18855     break
   18856   elif $ac_last_try; then
   18857     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   18858   else
   18859     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18860   fi
   18861 done
   18862 rm -f conf$$subs.sh
   18863 
   18864 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18865 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   18866 _ACEOF
   18867 sed -n '
   18868 h
   18869 s/^/S["/; s/!.*/"]=/
   18870 p
   18871 g
   18872 s/^[^!]*!//
   18873 :repl
   18874 t repl
   18875 s/'"$ac_delim"'$//
   18876 t delim
   18877 :nl
   18878 h
   18879 s/\(.\{148\}\)..*/\1/
   18880 t more1
   18881 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   18882 p
   18883 n
   18884 b repl
   18885 :more1
   18886 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18887 p
   18888 g
   18889 s/.\{148\}//
   18890 t nl
   18891 :delim
   18892 h
   18893 s/\(.\{148\}\)..*/\1/
   18894 t more2
   18895 s/["\\]/\\&/g; s/^/"/; s/$/"/
   18896 p
   18897 b
   18898 :more2
   18899 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   18900 p
   18901 g
   18902 s/.\{148\}//
   18903 t delim
   18904 ' <conf$$subs.awk | sed '
   18905 /^[^""]/{
   18906   N
   18907   s/\n//
   18908 }
   18909 ' >>$CONFIG_STATUS || ac_write_fail=1
   18910 rm -f conf$$subs.awk
   18911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18912 _ACAWK
   18913 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   18914   for (key in S) S_is_set[key] = 1
   18915   FS = ""
   18916 
   18917 }
   18918 {
   18919   line = $ 0
   18920   nfields = split(line, field, "@")
   18921   substed = 0
   18922   len = length(field[1])
   18923   for (i = 2; i < nfields; i++) {
   18924     key = field[i]
   18925     keylen = length(key)
   18926     if (S_is_set[key]) {
   18927       value = S[key]
   18928       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   18929       len += length(value) + length(field[++i])
   18930       substed = 1
   18931     } else
   18932       len += 1 + keylen
   18933   }
   18934 
   18935   print line
   18936 }
   18937 
   18938 _ACAWK
   18939 _ACEOF
   18940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18941 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   18942   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   18943 else
   18944   cat
   18945 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   18946   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   18947 _ACEOF
   18948 
   18949 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   18950 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   18951 # trailing colons and then remove the whole line if VPATH becomes empty
   18952 # (actually we leave an empty line to preserve line numbers).
   18953 if test "x$srcdir" = x.; then
   18954   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   18955 h
   18956 s///
   18957 s/^/:/
   18958 s/[	 ]*$/:/
   18959 s/:\$(srcdir):/:/g
   18960 s/:\${srcdir}:/:/g
   18961 s/:@srcdir@:/:/g
   18962 s/^:*//
   18963 s/:*$//
   18964 x
   18965 s/\(=[	 ]*\).*/\1/
   18966 G
   18967 s/\n//
   18968 s/^[^=]*=[	 ]*$//
   18969 }'
   18970 fi
   18971 
   18972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18973 fi # test -n "$CONFIG_FILES"
   18974 
   18975 # Set up the scripts for CONFIG_HEADERS section.
   18976 # No need to generate them if there are no CONFIG_HEADERS.
   18977 # This happens for instance with `./config.status Makefile'.
   18978 if test -n "$CONFIG_HEADERS"; then
   18979 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   18980 BEGIN {
   18981 _ACEOF
   18982 
   18983 # Transform confdefs.h into an awk script `defines.awk', embedded as
   18984 # here-document in config.status, that substitutes the proper values into
   18985 # config.h.in to produce config.h.
   18986 
   18987 # Create a delimiter string that does not exist in confdefs.h, to ease
   18988 # handling of long lines.
   18989 ac_delim='%!_!# '
   18990 for ac_last_try in false false :; do
   18991   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   18992   if test -z "$ac_tt"; then
   18993     break
   18994   elif $ac_last_try; then
   18995     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   18996   else
   18997     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   18998   fi
   18999 done
   19000 
   19001 # For the awk script, D is an array of macro values keyed by name,
   19002 # likewise P contains macro parameters if any.  Preserve backslash
   19003 # newline sequences.
   19004 
   19005 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19006 sed -n '
   19007 s/.\{148\}/&'"$ac_delim"'/g
   19008 t rset
   19009 :rset
   19010 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19011 t def
   19012 d
   19013 :def
   19014 s/\\$//
   19015 t bsnl
   19016 s/["\\]/\\&/g
   19017 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19018 D["\1"]=" \3"/p
   19019 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19020 d
   19021 :bsnl
   19022 s/["\\]/\\&/g
   19023 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19024 D["\1"]=" \3\\\\\\n"\\/p
   19025 t cont
   19026 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19027 t cont
   19028 d
   19029 :cont
   19030 n
   19031 s/.\{148\}/&'"$ac_delim"'/g
   19032 t clear
   19033 :clear
   19034 s/\\$//
   19035 t bsnlc
   19036 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19037 d
   19038 :bsnlc
   19039 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19040 b cont
   19041 ' <confdefs.h | sed '
   19042 s/'"$ac_delim"'/"\\\
   19043 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19044 
   19045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19046   for (key in D) D_is_set[key] = 1
   19047   FS = ""
   19048 }
   19049 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19050   line = \$ 0
   19051   split(line, arg, " ")
   19052   if (arg[1] == "#") {
   19053     defundef = arg[2]
   19054     mac1 = arg[3]
   19055   } else {
   19056     defundef = substr(arg[1], 2)
   19057     mac1 = arg[2]
   19058   }
   19059   split(mac1, mac2, "(") #)
   19060   macro = mac2[1]
   19061   prefix = substr(line, 1, index(line, defundef) - 1)
   19062   if (D_is_set[macro]) {
   19063     # Preserve the white space surrounding the "#".
   19064     print prefix "define", macro P[macro] D[macro]
   19065     next
   19066   } else {
   19067     # Replace #undef with comments.  This is necessary, for example,
   19068     # in the case of _POSIX_SOURCE, which is predefined and required
   19069     # on some systems where configure will not decide to define it.
   19070     if (defundef == "undef") {
   19071       print "/*", prefix defundef, macro, "*/"
   19072       next
   19073     }
   19074   }
   19075 }
   19076 { print }
   19077 _ACAWK
   19078 _ACEOF
   19079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19080   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19081 fi # test -n "$CONFIG_HEADERS"
   19082 
   19083 
   19084 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19085 shift
   19086 for ac_tag
   19087 do
   19088   case $ac_tag in
   19089   :[FHLC]) ac_mode=$ac_tag; continue;;
   19090   esac
   19091   case $ac_mode$ac_tag in
   19092   :[FHL]*:*);;
   19093   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19094   :[FH]-) ac_tag=-:-;;
   19095   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19096   esac
   19097   ac_save_IFS=$IFS
   19098   IFS=:
   19099   set x $ac_tag
   19100   IFS=$ac_save_IFS
   19101   shift
   19102   ac_file=$1
   19103   shift
   19104 
   19105   case $ac_mode in
   19106   :L) ac_source=$1;;
   19107   :[FH])
   19108     ac_file_inputs=
   19109     for ac_f
   19110     do
   19111       case $ac_f in
   19112       -) ac_f="$ac_tmp/stdin";;
   19113       *) # Look for the file first in the build tree, then in the source tree
   19114 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19115 	 # because $ac_f cannot contain `:'.
   19116 	 test -f "$ac_f" ||
   19117 	   case $ac_f in
   19118 	   [\\/$]*) false;;
   19119 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19120 	   esac ||
   19121 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19122       esac
   19123       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19124       as_fn_append ac_file_inputs " '$ac_f'"
   19125     done
   19126 
   19127     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19128     # use $as_me), people would be surprised to read:
   19129     #    /* config.h.  Generated by config.status.  */
   19130     configure_input='Generated from '`
   19131 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19132 	`' by configure.'
   19133     if test x"$ac_file" != x-; then
   19134       configure_input="$ac_file.  $configure_input"
   19135       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19136 $as_echo "$as_me: creating $ac_file" >&6;}
   19137     fi
   19138     # Neutralize special characters interpreted by sed in replacement strings.
   19139     case $configure_input in #(
   19140     *\&* | *\|* | *\\* )
   19141        ac_sed_conf_input=`$as_echo "$configure_input" |
   19142        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19143     *) ac_sed_conf_input=$configure_input;;
   19144     esac
   19145 
   19146     case $ac_tag in
   19147     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19148       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19149     esac
   19150     ;;
   19151   esac
   19152 
   19153   ac_dir=`$as_dirname -- "$ac_file" ||
   19154 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19155 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19156 	 X"$ac_file" : 'X\(//\)$' \| \
   19157 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19158 $as_echo X"$ac_file" |
   19159     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19160 	    s//\1/
   19161 	    q
   19162 	  }
   19163 	  /^X\(\/\/\)[^/].*/{
   19164 	    s//\1/
   19165 	    q
   19166 	  }
   19167 	  /^X\(\/\/\)$/{
   19168 	    s//\1/
   19169 	    q
   19170 	  }
   19171 	  /^X\(\/\).*/{
   19172 	    s//\1/
   19173 	    q
   19174 	  }
   19175 	  s/.*/./; q'`
   19176   as_dir="$ac_dir"; as_fn_mkdir_p
   19177   ac_builddir=.
   19178 
   19179 case "$ac_dir" in
   19180 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19181 *)
   19182   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19183   # A ".." for each directory in $ac_dir_suffix.
   19184   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19185   case $ac_top_builddir_sub in
   19186   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19187   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19188   esac ;;
   19189 esac
   19190 ac_abs_top_builddir=$ac_pwd
   19191 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19192 # for backward compatibility:
   19193 ac_top_builddir=$ac_top_build_prefix
   19194 
   19195 case $srcdir in
   19196   .)  # We are building in place.
   19197     ac_srcdir=.
   19198     ac_top_srcdir=$ac_top_builddir_sub
   19199     ac_abs_top_srcdir=$ac_pwd ;;
   19200   [\\/]* | ?:[\\/]* )  # Absolute name.
   19201     ac_srcdir=$srcdir$ac_dir_suffix;
   19202     ac_top_srcdir=$srcdir
   19203     ac_abs_top_srcdir=$srcdir ;;
   19204   *) # Relative name.
   19205     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19206     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19207     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19208 esac
   19209 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19210 
   19211 
   19212   case $ac_mode in
   19213   :F)
   19214   #
   19215   # CONFIG_FILE
   19216   #
   19217 
   19218   case $INSTALL in
   19219   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19220   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19221   esac
   19222   ac_MKDIR_P=$MKDIR_P
   19223   case $MKDIR_P in
   19224   [\\/$]* | ?:[\\/]* ) ;;
   19225   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19226   esac
   19227 _ACEOF
   19228 
   19229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19230 # If the template does not know about datarootdir, expand it.
   19231 # FIXME: This hack should be removed a few years after 2.60.
   19232 ac_datarootdir_hack=; ac_datarootdir_seen=
   19233 ac_sed_dataroot='
   19234 /datarootdir/ {
   19235   p
   19236   q
   19237 }
   19238 /@datadir@/p
   19239 /@docdir@/p
   19240 /@infodir@/p
   19241 /@localedir@/p
   19242 /@mandir@/p'
   19243 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19244 *datarootdir*) ac_datarootdir_seen=yes;;
   19245 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19246   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19247 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19248 _ACEOF
   19249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19250   ac_datarootdir_hack='
   19251   s&@datadir@&$datadir&g
   19252   s&@docdir@&$docdir&g
   19253   s&@infodir@&$infodir&g
   19254   s&@localedir@&$localedir&g
   19255   s&@mandir@&$mandir&g
   19256   s&\\\${datarootdir}&$datarootdir&g' ;;
   19257 esac
   19258 _ACEOF
   19259 
   19260 # Neutralize VPATH when `$srcdir' = `.'.
   19261 # Shell code in configure.ac might set extrasub.
   19262 # FIXME: do we really want to maintain this feature?
   19263 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19264 ac_sed_extra="$ac_vpsub
   19265 $extrasub
   19266 _ACEOF
   19267 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19268 :t
   19269 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19270 s|@configure_input@|$ac_sed_conf_input|;t t
   19271 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19272 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19273 s&@srcdir@&$ac_srcdir&;t t
   19274 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19275 s&@top_srcdir@&$ac_top_srcdir&;t t
   19276 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19277 s&@builddir@&$ac_builddir&;t t
   19278 s&@abs_builddir@&$ac_abs_builddir&;t t
   19279 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19280 s&@INSTALL@&$ac_INSTALL&;t t
   19281 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19282 $ac_datarootdir_hack
   19283 "
   19284 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19285   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19286 
   19287 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19288   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19289   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19290       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19291   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19292 which seems to be undefined.  Please make sure it is defined" >&5
   19293 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19294 which seems to be undefined.  Please make sure it is defined" >&2;}
   19295 
   19296   rm -f "$ac_tmp/stdin"
   19297   case $ac_file in
   19298   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19299   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19300   esac \
   19301   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19302  ;;
   19303   :H)
   19304   #
   19305   # CONFIG_HEADER
   19306   #
   19307   if test x"$ac_file" != x-; then
   19308     {
   19309       $as_echo "/* $configure_input  */" \
   19310       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19311     } >"$ac_tmp/config.h" \
   19312       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19313     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19314       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19315 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19316     else
   19317       rm -f "$ac_file"
   19318       mv "$ac_tmp/config.h" "$ac_file" \
   19319 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19320     fi
   19321   else
   19322     $as_echo "/* $configure_input  */" \
   19323       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19324       || as_fn_error $? "could not create -" "$LINENO" 5
   19325   fi
   19326 # Compute "$ac_file"'s index in $config_headers.
   19327 _am_arg="$ac_file"
   19328 _am_stamp_count=1
   19329 for _am_header in $config_headers :; do
   19330   case $_am_header in
   19331     $_am_arg | $_am_arg:* )
   19332       break ;;
   19333     * )
   19334       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19335   esac
   19336 done
   19337 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19338 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19339 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19340 	 X"$_am_arg" : 'X\(//\)$' \| \
   19341 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19342 $as_echo X"$_am_arg" |
   19343     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19344 	    s//\1/
   19345 	    q
   19346 	  }
   19347 	  /^X\(\/\/\)[^/].*/{
   19348 	    s//\1/
   19349 	    q
   19350 	  }
   19351 	  /^X\(\/\/\)$/{
   19352 	    s//\1/
   19353 	    q
   19354 	  }
   19355 	  /^X\(\/\).*/{
   19356 	    s//\1/
   19357 	    q
   19358 	  }
   19359 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19360  ;;
   19361 
   19362   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19363 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19364  ;;
   19365   esac
   19366 
   19367 
   19368   case $ac_file$ac_mode in
   19369     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19370   # Autoconf 2.62 quotes --file arguments for eval, but not when files
   19371   # are listed without --file.  Let's play safe and only enable the eval
   19372   # if we detect the quoting.
   19373   case $CONFIG_FILES in
   19374   *\'*) eval set x "$CONFIG_FILES" ;;
   19375   *)   set x $CONFIG_FILES ;;
   19376   esac
   19377   shift
   19378   for mf
   19379   do
   19380     # Strip MF so we end up with the name of the file.
   19381     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19382     # Check whether this is an Automake generated Makefile or not.
   19383     # We used to match only the files named 'Makefile.in', but
   19384     # some people rename them; so instead we look at the file content.
   19385     # Grep'ing the first line is not enough: some people post-process
   19386     # each Makefile.in and add a new line on top of each file to say so.
   19387     # Grep'ing the whole file is not good either: AIX grep has a line
   19388     # limit of 2048, but all sed's we know have understand at least 4000.
   19389     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19390       dirpart=`$as_dirname -- "$mf" ||
   19391 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19392 	 X"$mf" : 'X\(//\)[^/]' \| \
   19393 	 X"$mf" : 'X\(//\)$' \| \
   19394 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19395 $as_echo X"$mf" |
   19396     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19397 	    s//\1/
   19398 	    q
   19399 	  }
   19400 	  /^X\(\/\/\)[^/].*/{
   19401 	    s//\1/
   19402 	    q
   19403 	  }
   19404 	  /^X\(\/\/\)$/{
   19405 	    s//\1/
   19406 	    q
   19407 	  }
   19408 	  /^X\(\/\).*/{
   19409 	    s//\1/
   19410 	    q
   19411 	  }
   19412 	  s/.*/./; q'`
   19413     else
   19414       continue
   19415     fi
   19416     # Extract the definition of DEPDIR, am__include, and am__quote
   19417     # from the Makefile without running 'make'.
   19418     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19419     test -z "$DEPDIR" && continue
   19420     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19421     test -z "am__include" && continue
   19422     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19423     # Find all dependency output files, they are included files with
   19424     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19425     # simplest approach to changing $(DEPDIR) to its actual value in the
   19426     # expansion.
   19427     for file in `sed -n "
   19428       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19429 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19430       # Make sure the directory exists.
   19431       test -f "$dirpart/$file" && continue
   19432       fdir=`$as_dirname -- "$file" ||
   19433 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19434 	 X"$file" : 'X\(//\)[^/]' \| \
   19435 	 X"$file" : 'X\(//\)$' \| \
   19436 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19437 $as_echo X"$file" |
   19438     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19439 	    s//\1/
   19440 	    q
   19441 	  }
   19442 	  /^X\(\/\/\)[^/].*/{
   19443 	    s//\1/
   19444 	    q
   19445 	  }
   19446 	  /^X\(\/\/\)$/{
   19447 	    s//\1/
   19448 	    q
   19449 	  }
   19450 	  /^X\(\/\).*/{
   19451 	    s//\1/
   19452 	    q
   19453 	  }
   19454 	  s/.*/./; q'`
   19455       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19456       # echo "creating $dirpart/$file"
   19457       echo '# dummy' > "$dirpart/$file"
   19458     done
   19459   done
   19460 }
   19461  ;;
   19462     "libtool":C)
   19463 
   19464     # See if we are running on zsh, and set the options which allow our
   19465     # commands through without removal of \ escapes.
   19466     if test -n "${ZSH_VERSION+set}" ; then
   19467       setopt NO_GLOB_SUBST
   19468     fi
   19469 
   19470     cfgfile="${ofile}T"
   19471     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19472     $RM "$cfgfile"
   19473 
   19474     cat <<_LT_EOF >> "$cfgfile"
   19475 #! $SHELL
   19476 
   19477 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19478 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19479 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19480 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19481 #
   19482 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19483 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19484 #                 Foundation, Inc.
   19485 #   Written by Gordon Matzigkeit, 1996
   19486 #
   19487 #   This file is part of GNU Libtool.
   19488 #
   19489 # GNU Libtool is free software; you can redistribute it and/or
   19490 # modify it under the terms of the GNU General Public License as
   19491 # published by the Free Software Foundation; either version 2 of
   19492 # the License, or (at your option) any later version.
   19493 #
   19494 # As a special exception to the GNU General Public License,
   19495 # if you distribute this file as part of a program or library that
   19496 # is built using GNU Libtool, you may include this file under the
   19497 # same distribution terms that you use for the rest of that program.
   19498 #
   19499 # GNU Libtool is distributed in the hope that it will be useful,
   19500 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19501 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19502 # GNU General Public License for more details.
   19503 #
   19504 # You should have received a copy of the GNU General Public License
   19505 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19506 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19507 # obtained by writing to the Free Software Foundation, Inc.,
   19508 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19509 
   19510 
   19511 # The names of the tagged configurations supported by this script.
   19512 available_tags=""
   19513 
   19514 # ### BEGIN LIBTOOL CONFIG
   19515 
   19516 # Whether or not to build static libraries.
   19517 build_old_libs=$enable_static
   19518 
   19519 # Which release of libtool.m4 was used?
   19520 macro_version=$macro_version
   19521 macro_revision=$macro_revision
   19522 
   19523 # Whether or not to build shared libraries.
   19524 build_libtool_libs=$enable_shared
   19525 
   19526 # What type of objects to build.
   19527 pic_mode=$pic_mode
   19528 
   19529 # Whether or not to optimize for fast installation.
   19530 fast_install=$enable_fast_install
   19531 
   19532 # Shell to use when invoking shell scripts.
   19533 SHELL=$lt_SHELL
   19534 
   19535 # An echo program that protects backslashes.
   19536 ECHO=$lt_ECHO
   19537 
   19538 # The PATH separator for the build system.
   19539 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19540 
   19541 # The host system.
   19542 host_alias=$host_alias
   19543 host=$host
   19544 host_os=$host_os
   19545 
   19546 # The build system.
   19547 build_alias=$build_alias
   19548 build=$build
   19549 build_os=$build_os
   19550 
   19551 # A sed program that does not truncate output.
   19552 SED=$lt_SED
   19553 
   19554 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19555 Xsed="\$SED -e 1s/^X//"
   19556 
   19557 # A grep program that handles long lines.
   19558 GREP=$lt_GREP
   19559 
   19560 # An ERE matcher.
   19561 EGREP=$lt_EGREP
   19562 
   19563 # A literal string matcher.
   19564 FGREP=$lt_FGREP
   19565 
   19566 # A BSD- or MS-compatible name lister.
   19567 NM=$lt_NM
   19568 
   19569 # Whether we need soft or hard links.
   19570 LN_S=$lt_LN_S
   19571 
   19572 # What is the maximum length of a command?
   19573 max_cmd_len=$max_cmd_len
   19574 
   19575 # Object file suffix (normally "o").
   19576 objext=$ac_objext
   19577 
   19578 # Executable file suffix (normally "").
   19579 exeext=$exeext
   19580 
   19581 # whether the shell understands "unset".
   19582 lt_unset=$lt_unset
   19583 
   19584 # turn spaces into newlines.
   19585 SP2NL=$lt_lt_SP2NL
   19586 
   19587 # turn newlines into spaces.
   19588 NL2SP=$lt_lt_NL2SP
   19589 
   19590 # convert \$build file names to \$host format.
   19591 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19592 
   19593 # convert \$build files to toolchain format.
   19594 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19595 
   19596 # An object symbol dumper.
   19597 OBJDUMP=$lt_OBJDUMP
   19598 
   19599 # Method to check whether dependent libraries are shared objects.
   19600 deplibs_check_method=$lt_deplibs_check_method
   19601 
   19602 # Command to use when deplibs_check_method = "file_magic".
   19603 file_magic_cmd=$lt_file_magic_cmd
   19604 
   19605 # How to find potential files when deplibs_check_method = "file_magic".
   19606 file_magic_glob=$lt_file_magic_glob
   19607 
   19608 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19609 want_nocaseglob=$lt_want_nocaseglob
   19610 
   19611 # DLL creation program.
   19612 DLLTOOL=$lt_DLLTOOL
   19613 
   19614 # Command to associate shared and link libraries.
   19615 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19616 
   19617 # The archiver.
   19618 AR=$lt_AR
   19619 
   19620 # Flags to create an archive.
   19621 AR_FLAGS=$lt_AR_FLAGS
   19622 
   19623 # How to feed a file listing to the archiver.
   19624 archiver_list_spec=$lt_archiver_list_spec
   19625 
   19626 # A symbol stripping program.
   19627 STRIP=$lt_STRIP
   19628 
   19629 # Commands used to install an old-style archive.
   19630 RANLIB=$lt_RANLIB
   19631 old_postinstall_cmds=$lt_old_postinstall_cmds
   19632 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19633 
   19634 # Whether to use a lock for old archive extraction.
   19635 lock_old_archive_extraction=$lock_old_archive_extraction
   19636 
   19637 # A C compiler.
   19638 LTCC=$lt_CC
   19639 
   19640 # LTCC compiler flags.
   19641 LTCFLAGS=$lt_CFLAGS
   19642 
   19643 # Take the output of nm and produce a listing of raw symbols and C names.
   19644 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   19645 
   19646 # Transform the output of nm in a proper C declaration.
   19647 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   19648 
   19649 # Transform the output of nm in a C name address pair.
   19650 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   19651 
   19652 # Transform the output of nm in a C name address pair when lib prefix is needed.
   19653 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   19654 
   19655 # Specify filename containing input files for \$NM.
   19656 nm_file_list_spec=$lt_nm_file_list_spec
   19657 
   19658 # The root where to search for dependent libraries,and in which our libraries should be installed.
   19659 lt_sysroot=$lt_sysroot
   19660 
   19661 # The name of the directory that contains temporary libtool files.
   19662 objdir=$objdir
   19663 
   19664 # Used to examine libraries when file_magic_cmd begins with "file".
   19665 MAGIC_CMD=$MAGIC_CMD
   19666 
   19667 # Must we lock files when doing compilation?
   19668 need_locks=$lt_need_locks
   19669 
   19670 # Manifest tool.
   19671 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   19672 
   19673 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   19674 DSYMUTIL=$lt_DSYMUTIL
   19675 
   19676 # Tool to change global to local symbols on Mac OS X.
   19677 NMEDIT=$lt_NMEDIT
   19678 
   19679 # Tool to manipulate fat objects and archives on Mac OS X.
   19680 LIPO=$lt_LIPO
   19681 
   19682 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   19683 OTOOL=$lt_OTOOL
   19684 
   19685 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   19686 OTOOL64=$lt_OTOOL64
   19687 
   19688 # Old archive suffix (normally "a").
   19689 libext=$libext
   19690 
   19691 # Shared library suffix (normally ".so").
   19692 shrext_cmds=$lt_shrext_cmds
   19693 
   19694 # The commands to extract the exported symbol list from a shared archive.
   19695 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   19696 
   19697 # Variables whose values should be saved in libtool wrapper scripts and
   19698 # restored at link time.
   19699 variables_saved_for_relink=$lt_variables_saved_for_relink
   19700 
   19701 # Do we need the "lib" prefix for modules?
   19702 need_lib_prefix=$need_lib_prefix
   19703 
   19704 # Do we need a version for libraries?
   19705 need_version=$need_version
   19706 
   19707 # Library versioning type.
   19708 version_type=$version_type
   19709 
   19710 # Shared library runtime path variable.
   19711 runpath_var=$runpath_var
   19712 
   19713 # Shared library path variable.
   19714 shlibpath_var=$shlibpath_var
   19715 
   19716 # Is shlibpath searched before the hard-coded library search path?
   19717 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   19718 
   19719 # Format of library name prefix.
   19720 libname_spec=$lt_libname_spec
   19721 
   19722 # List of archive names.  First name is the real one, the rest are links.
   19723 # The last name is the one that the linker finds with -lNAME
   19724 library_names_spec=$lt_library_names_spec
   19725 
   19726 # The coded name of the library, if different from the real name.
   19727 soname_spec=$lt_soname_spec
   19728 
   19729 # Permission mode override for installation of shared libraries.
   19730 install_override_mode=$lt_install_override_mode
   19731 
   19732 # Command to use after installation of a shared archive.
   19733 postinstall_cmds=$lt_postinstall_cmds
   19734 
   19735 # Command to use after uninstallation of a shared archive.
   19736 postuninstall_cmds=$lt_postuninstall_cmds
   19737 
   19738 # Commands used to finish a libtool library installation in a directory.
   19739 finish_cmds=$lt_finish_cmds
   19740 
   19741 # As "finish_cmds", except a single script fragment to be evaled but
   19742 # not shown.
   19743 finish_eval=$lt_finish_eval
   19744 
   19745 # Whether we should hardcode library paths into libraries.
   19746 hardcode_into_libs=$hardcode_into_libs
   19747 
   19748 # Compile-time system search path for libraries.
   19749 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   19750 
   19751 # Run-time system search path for libraries.
   19752 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   19753 
   19754 # Whether dlopen is supported.
   19755 dlopen_support=$enable_dlopen
   19756 
   19757 # Whether dlopen of programs is supported.
   19758 dlopen_self=$enable_dlopen_self
   19759 
   19760 # Whether dlopen of statically linked programs is supported.
   19761 dlopen_self_static=$enable_dlopen_self_static
   19762 
   19763 # Commands to strip libraries.
   19764 old_striplib=$lt_old_striplib
   19765 striplib=$lt_striplib
   19766 
   19767 
   19768 # The linker used to build libraries.
   19769 LD=$lt_LD
   19770 
   19771 # How to create reloadable object files.
   19772 reload_flag=$lt_reload_flag
   19773 reload_cmds=$lt_reload_cmds
   19774 
   19775 # Commands used to build an old-style archive.
   19776 old_archive_cmds=$lt_old_archive_cmds
   19777 
   19778 # A language specific compiler.
   19779 CC=$lt_compiler
   19780 
   19781 # Is the compiler the GNU compiler?
   19782 with_gcc=$GCC
   19783 
   19784 # Compiler flag to turn off builtin functions.
   19785 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   19786 
   19787 # Additional compiler flags for building library objects.
   19788 pic_flag=$lt_lt_prog_compiler_pic
   19789 
   19790 # How to pass a linker flag through the compiler.
   19791 wl=$lt_lt_prog_compiler_wl
   19792 
   19793 # Compiler flag to prevent dynamic linking.
   19794 link_static_flag=$lt_lt_prog_compiler_static
   19795 
   19796 # Does compiler simultaneously support -c and -o options?
   19797 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   19798 
   19799 # Whether or not to add -lc for building shared libraries.
   19800 build_libtool_need_lc=$archive_cmds_need_lc
   19801 
   19802 # Whether or not to disallow shared libs when runtime libs are static.
   19803 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   19804 
   19805 # Compiler flag to allow reflexive dlopens.
   19806 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   19807 
   19808 # Compiler flag to generate shared objects directly from archives.
   19809 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   19810 
   19811 # Whether the compiler copes with passing no objects directly.
   19812 compiler_needs_object=$lt_compiler_needs_object
   19813 
   19814 # Create an old-style archive from a shared archive.
   19815 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   19816 
   19817 # Create a temporary old-style archive to link instead of a shared archive.
   19818 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   19819 
   19820 # Commands used to build a shared archive.
   19821 archive_cmds=$lt_archive_cmds
   19822 archive_expsym_cmds=$lt_archive_expsym_cmds
   19823 
   19824 # Commands used to build a loadable module if different from building
   19825 # a shared archive.
   19826 module_cmds=$lt_module_cmds
   19827 module_expsym_cmds=$lt_module_expsym_cmds
   19828 
   19829 # Whether we are building with GNU ld or not.
   19830 with_gnu_ld=$lt_with_gnu_ld
   19831 
   19832 # Flag that allows shared libraries with undefined symbols to be built.
   19833 allow_undefined_flag=$lt_allow_undefined_flag
   19834 
   19835 # Flag that enforces no undefined symbols.
   19836 no_undefined_flag=$lt_no_undefined_flag
   19837 
   19838 # Flag to hardcode \$libdir into a binary during linking.
   19839 # This must work even if \$libdir does not exist
   19840 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   19841 
   19842 # Whether we need a single "-rpath" flag with a separated argument.
   19843 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   19844 
   19845 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19846 # DIR into the resulting binary.
   19847 hardcode_direct=$hardcode_direct
   19848 
   19849 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   19850 # DIR into the resulting binary and the resulting library dependency is
   19851 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   19852 # library is relocated.
   19853 hardcode_direct_absolute=$hardcode_direct_absolute
   19854 
   19855 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   19856 # into the resulting binary.
   19857 hardcode_minus_L=$hardcode_minus_L
   19858 
   19859 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   19860 # into the resulting binary.
   19861 hardcode_shlibpath_var=$hardcode_shlibpath_var
   19862 
   19863 # Set to "yes" if building a shared library automatically hardcodes DIR
   19864 # into the library and all subsequent libraries and executables linked
   19865 # against it.
   19866 hardcode_automatic=$hardcode_automatic
   19867 
   19868 # Set to yes if linker adds runtime paths of dependent libraries
   19869 # to runtime path list.
   19870 inherit_rpath=$inherit_rpath
   19871 
   19872 # Whether libtool must link a program against all its dependency libraries.
   19873 link_all_deplibs=$link_all_deplibs
   19874 
   19875 # Set to "yes" if exported symbols are required.
   19876 always_export_symbols=$always_export_symbols
   19877 
   19878 # The commands to list exported symbols.
   19879 export_symbols_cmds=$lt_export_symbols_cmds
   19880 
   19881 # Symbols that should not be listed in the preloaded symbols.
   19882 exclude_expsyms=$lt_exclude_expsyms
   19883 
   19884 # Symbols that must always be exported.
   19885 include_expsyms=$lt_include_expsyms
   19886 
   19887 # Commands necessary for linking programs (against libraries) with templates.
   19888 prelink_cmds=$lt_prelink_cmds
   19889 
   19890 # Commands necessary for finishing linking programs.
   19891 postlink_cmds=$lt_postlink_cmds
   19892 
   19893 # Specify filename containing input files.
   19894 file_list_spec=$lt_file_list_spec
   19895 
   19896 # How to hardcode a shared library path into an executable.
   19897 hardcode_action=$hardcode_action
   19898 
   19899 # ### END LIBTOOL CONFIG
   19900 
   19901 _LT_EOF
   19902 
   19903   case $host_os in
   19904   aix3*)
   19905     cat <<\_LT_EOF >> "$cfgfile"
   19906 # AIX sometimes has problems with the GCC collect2 program.  For some
   19907 # reason, if we set the COLLECT_NAMES environment variable, the problems
   19908 # vanish in a puff of smoke.
   19909 if test "X${COLLECT_NAMES+set}" != Xset; then
   19910   COLLECT_NAMES=
   19911   export COLLECT_NAMES
   19912 fi
   19913 _LT_EOF
   19914     ;;
   19915   esac
   19916 
   19917 
   19918 ltmain="$ac_aux_dir/ltmain.sh"
   19919 
   19920 
   19921   # We use sed instead of cat because bash on DJGPP gets confused if
   19922   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   19923   # text mode, it properly converts lines to CR/LF.  This bash problem
   19924   # is reportedly fixed, but why not run on old versions too?
   19925   sed '$q' "$ltmain" >> "$cfgfile" \
   19926      || (rm -f "$cfgfile"; exit 1)
   19927 
   19928   if test x"$xsi_shell" = xyes; then
   19929   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   19930 func_dirname ()\
   19931 {\
   19932 \    case ${1} in\
   19933 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19934 \      *  ) func_dirname_result="${3}" ;;\
   19935 \    esac\
   19936 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   19937   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19938     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19939 test 0 -eq $? || _lt_function_replace_fail=:
   19940 
   19941 
   19942   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   19943 func_basename ()\
   19944 {\
   19945 \    func_basename_result="${1##*/}"\
   19946 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19947   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19948     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19949 test 0 -eq $? || _lt_function_replace_fail=:
   19950 
   19951 
   19952   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   19953 func_dirname_and_basename ()\
   19954 {\
   19955 \    case ${1} in\
   19956 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   19957 \      *  ) func_dirname_result="${3}" ;;\
   19958 \    esac\
   19959 \    func_basename_result="${1##*/}"\
   19960 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   19961   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19962     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19963 test 0 -eq $? || _lt_function_replace_fail=:
   19964 
   19965 
   19966   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   19967 func_stripname ()\
   19968 {\
   19969 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   19970 \    # positional parameters, so assign one to ordinary parameter first.\
   19971 \    func_stripname_result=${3}\
   19972 \    func_stripname_result=${func_stripname_result#"${1}"}\
   19973 \    func_stripname_result=${func_stripname_result%"${2}"}\
   19974 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   19975   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19976     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19977 test 0 -eq $? || _lt_function_replace_fail=:
   19978 
   19979 
   19980   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   19981 func_split_long_opt ()\
   19982 {\
   19983 \    func_split_long_opt_name=${1%%=*}\
   19984 \    func_split_long_opt_arg=${1#*=}\
   19985 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19986   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19987     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19988 test 0 -eq $? || _lt_function_replace_fail=:
   19989 
   19990 
   19991   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   19992 func_split_short_opt ()\
   19993 {\
   19994 \    func_split_short_opt_arg=${1#??}\
   19995 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   19996 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   19997   && mv -f "$cfgfile.tmp" "$cfgfile" \
   19998     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   19999 test 0 -eq $? || _lt_function_replace_fail=:
   20000 
   20001 
   20002   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20003 func_lo2o ()\
   20004 {\
   20005 \    case ${1} in\
   20006 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20007 \      *)    func_lo2o_result=${1} ;;\
   20008 \    esac\
   20009 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20010   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20011     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20012 test 0 -eq $? || _lt_function_replace_fail=:
   20013 
   20014 
   20015   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20016 func_xform ()\
   20017 {\
   20018     func_xform_result=${1%.*}.lo\
   20019 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20020   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20021     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20022 test 0 -eq $? || _lt_function_replace_fail=:
   20023 
   20024 
   20025   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20026 func_arith ()\
   20027 {\
   20028     func_arith_result=$(( $* ))\
   20029 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20030   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20031     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20032 test 0 -eq $? || _lt_function_replace_fail=:
   20033 
   20034 
   20035   sed -e '/^func_len ()$/,/^} # func_len /c\
   20036 func_len ()\
   20037 {\
   20038     func_len_result=${#1}\
   20039 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20040   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20041     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20042 test 0 -eq $? || _lt_function_replace_fail=:
   20043 
   20044 fi
   20045 
   20046 if test x"$lt_shell_append" = xyes; then
   20047   sed -e '/^func_append ()$/,/^} # func_append /c\
   20048 func_append ()\
   20049 {\
   20050     eval "${1}+=\\${2}"\
   20051 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20052   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20053     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20054 test 0 -eq $? || _lt_function_replace_fail=:
   20055 
   20056 
   20057   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20058 func_append_quoted ()\
   20059 {\
   20060 \    func_quote_for_eval "${2}"\
   20061 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20062 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20063   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20064     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20065 test 0 -eq $? || _lt_function_replace_fail=:
   20066 
   20067 
   20068   # Save a `func_append' function call where possible by direct use of '+='
   20069   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20070     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20071       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20072   test 0 -eq $? || _lt_function_replace_fail=:
   20073 else
   20074   # Save a `func_append' function call even when '+=' is not available
   20075   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20076     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20077       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20078   test 0 -eq $? || _lt_function_replace_fail=:
   20079 fi
   20080 
   20081 if test x"$_lt_function_replace_fail" = x":"; then
   20082   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20083 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20084 fi
   20085 
   20086 
   20087    mv -f "$cfgfile" "$ofile" ||
   20088     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20089   chmod +x "$ofile"
   20090 
   20091  ;;
   20092 
   20093   esac
   20094 done # for ac_tag
   20095 
   20096 
   20097 as_fn_exit 0
   20098 _ACEOF
   20099 ac_clean_files=$ac_clean_files_save
   20100 
   20101 test $ac_write_fail = 0 ||
   20102   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20103 
   20104 
   20105 # configure is writing to config.log, and then calls config.status.
   20106 # config.status does its own redirection, appending to config.log.
   20107 # Unfortunately, on DOS this fails, as config.log is still kept open
   20108 # by configure, so config.status won't be able to write to it; its
   20109 # output is simply discarded.  So we exec the FD to /dev/null,
   20110 # effectively closing config.log, so it can be properly (re)opened and
   20111 # appended to by config.status.  When coming back to configure, we
   20112 # need to make the FD available again.
   20113 if test "$no_create" != yes; then
   20114   ac_cs_success=:
   20115   ac_config_status_args=
   20116   test "$silent" = yes &&
   20117     ac_config_status_args="$ac_config_status_args --quiet"
   20118   exec 5>/dev/null
   20119   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20120   exec 5>>config.log
   20121   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20122   # would make configure fail if this is the last instruction.
   20123   $ac_cs_success || as_fn_exit 1
   20124 fi
   20125 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20126   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20127 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20128 fi
   20129 
   20130