Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-input-mouse 1.9.2.
      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 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || 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-mouse'
    593 PACKAGE_TARNAME='xf86-input-mouse'
    594 PACKAGE_VERSION='1.9.2'
    595 PACKAGE_STRING='xf86-input-mouse 1.9.2'
    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 OS_MOUSE_NAME
    642 sdkdir
    643 inputdir
    644 XORG_LIBS
    645 XORG_CFLAGS
    646 LINT_FALSE
    647 LINT_TRUE
    648 LINT_FLAGS
    649 LINT
    650 MAN_SUBSTS
    651 XORG_MAN_PAGE
    652 ADMIN_MAN_DIR
    653 DRIVER_MAN_DIR
    654 MISC_MAN_DIR
    655 FILE_MAN_DIR
    656 LIB_MAN_DIR
    657 APP_MAN_DIR
    658 ADMIN_MAN_SUFFIX
    659 DRIVER_MAN_SUFFIX
    660 MISC_MAN_SUFFIX
    661 FILE_MAN_SUFFIX
    662 LIB_MAN_SUFFIX
    663 APP_MAN_SUFFIX
    664 INSTALL_CMD
    665 PKG_CONFIG_LIBDIR
    666 PKG_CONFIG_PATH
    667 PKG_CONFIG
    668 CHANGELOG_CMD
    669 STRICT_CFLAGS
    670 CWARNFLAGS
    671 BASE_CFLAGS
    672 LT_SYS_LIBRARY_PATH
    673 OTOOL64
    674 OTOOL
    675 LIPO
    676 NMEDIT
    677 DSYMUTIL
    678 MANIFEST_TOOL
    679 RANLIB
    680 ac_ct_AR
    681 AR
    682 DLLTOOL
    683 OBJDUMP
    684 LN_S
    685 NM
    686 ac_ct_DUMPBIN
    687 DUMPBIN
    688 LD
    689 FGREP
    690 SED
    691 host_os
    692 host_vendor
    693 host_cpu
    694 host
    695 build_os
    696 build_vendor
    697 build_cpu
    698 build
    699 LIBTOOL
    700 AM_BACKSLASH
    701 AM_DEFAULT_VERBOSITY
    702 AM_DEFAULT_V
    703 AM_V
    704 am__fastdepCC_FALSE
    705 am__fastdepCC_TRUE
    706 CCDEPMODE
    707 am__nodep
    708 AMDEPBACKSLASH
    709 AMDEP_FALSE
    710 AMDEP_TRUE
    711 am__quote
    712 am__include
    713 DEPDIR
    714 am__untar
    715 am__tar
    716 AMTAR
    717 am__leading_dot
    718 SET_MAKE
    719 AWK
    720 mkdir_p
    721 MKDIR_P
    722 INSTALL_STRIP_PROGRAM
    723 STRIP
    724 install_sh
    725 MAKEINFO
    726 AUTOHEADER
    727 AUTOMAKE
    728 AUTOCONF
    729 ACLOCAL
    730 VERSION
    731 PACKAGE
    732 CYGPATH_W
    733 am__isrc
    734 INSTALL_DATA
    735 INSTALL_SCRIPT
    736 INSTALL_PROGRAM
    737 EGREP
    738 GREP
    739 CPP
    740 OBJEXT
    741 EXEEXT
    742 ac_ct_CC
    743 CPPFLAGS
    744 LDFLAGS
    745 CFLAGS
    746 CC
    747 target_alias
    748 host_alias
    749 build_alias
    750 LIBS
    751 ECHO_T
    752 ECHO_N
    753 ECHO_C
    754 DEFS
    755 mandir
    756 localedir
    757 libdir
    758 psdir
    759 pdfdir
    760 dvidir
    761 htmldir
    762 infodir
    763 docdir
    764 oldincludedir
    765 includedir
    766 localstatedir
    767 sharedstatedir
    768 sysconfdir
    769 datadir
    770 datarootdir
    771 libexecdir
    772 sbindir
    773 bindir
    774 program_transform_name
    775 prefix
    776 exec_prefix
    777 PACKAGE_URL
    778 PACKAGE_BUGREPORT
    779 PACKAGE_STRING
    780 PACKAGE_VERSION
    781 PACKAGE_TARNAME
    782 PACKAGE_NAME
    783 PATH_SEPARATOR
    784 SHELL'
    785 ac_subst_files=''
    786 ac_user_opts='
    787 enable_option_checking
    788 enable_dependency_tracking
    789 enable_silent_rules
    790 enable_static
    791 enable_shared
    792 with_pic
    793 enable_fast_install
    794 with_aix_soname
    795 with_gnu_ld
    796 with_sysroot
    797 enable_libtool_lock
    798 enable_selective_werror
    799 enable_strict_compilation
    800 with_lint
    801 with_xorg_module_dir
    802 with_sdkdir
    803 '
    804       ac_precious_vars='build_alias
    805 host_alias
    806 target_alias
    807 CC
    808 CFLAGS
    809 LDFLAGS
    810 LIBS
    811 CPPFLAGS
    812 CPP
    813 LT_SYS_LIBRARY_PATH
    814 PKG_CONFIG
    815 PKG_CONFIG_PATH
    816 PKG_CONFIG_LIBDIR
    817 LINT
    818 LINT_FLAGS
    819 XORG_CFLAGS
    820 XORG_LIBS'
    821 
    822 
    823 # Initialize some variables set by options.
    824 ac_init_help=
    825 ac_init_version=false
    826 ac_unrecognized_opts=
    827 ac_unrecognized_sep=
    828 # The variables have the same names as the options, with
    829 # dashes changed to underlines.
    830 cache_file=/dev/null
    831 exec_prefix=NONE
    832 no_create=
    833 no_recursion=
    834 prefix=NONE
    835 program_prefix=NONE
    836 program_suffix=NONE
    837 program_transform_name=s,x,x,
    838 silent=
    839 site=
    840 srcdir=
    841 verbose=
    842 x_includes=NONE
    843 x_libraries=NONE
    844 
    845 # Installation directory options.
    846 # These are left unexpanded so users can "make install exec_prefix=/foo"
    847 # and all the variables that are supposed to be based on exec_prefix
    848 # by default will actually change.
    849 # Use braces instead of parens because sh, perl, etc. also accept them.
    850 # (The list follows the same order as the GNU Coding Standards.)
    851 bindir='${exec_prefix}/bin'
    852 sbindir='${exec_prefix}/sbin'
    853 libexecdir='${exec_prefix}/libexec'
    854 datarootdir='${prefix}/share'
    855 datadir='${datarootdir}'
    856 sysconfdir='${prefix}/etc'
    857 sharedstatedir='${prefix}/com'
    858 localstatedir='${prefix}/var'
    859 includedir='${prefix}/include'
    860 oldincludedir='/usr/include'
    861 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    862 infodir='${datarootdir}/info'
    863 htmldir='${docdir}'
    864 dvidir='${docdir}'
    865 pdfdir='${docdir}'
    866 psdir='${docdir}'
    867 libdir='${exec_prefix}/lib'
    868 localedir='${datarootdir}/locale'
    869 mandir='${datarootdir}/man'
    870 
    871 ac_prev=
    872 ac_dashdash=
    873 for ac_option
    874 do
    875   # If the previous option needs an argument, assign it.
    876   if test -n "$ac_prev"; then
    877     eval $ac_prev=\$ac_option
    878     ac_prev=
    879     continue
    880   fi
    881 
    882   case $ac_option in
    883   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    884   *=)   ac_optarg= ;;
    885   *)    ac_optarg=yes ;;
    886   esac
    887 
    888   # Accept the important Cygnus configure options, so we can diagnose typos.
    889 
    890   case $ac_dashdash$ac_option in
    891   --)
    892     ac_dashdash=yes ;;
    893 
    894   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    895     ac_prev=bindir ;;
    896   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    897     bindir=$ac_optarg ;;
    898 
    899   -build | --build | --buil | --bui | --bu)
    900     ac_prev=build_alias ;;
    901   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    902     build_alias=$ac_optarg ;;
    903 
    904   -cache-file | --cache-file | --cache-fil | --cache-fi \
    905   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    906     ac_prev=cache_file ;;
    907   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    908   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    909     cache_file=$ac_optarg ;;
    910 
    911   --config-cache | -C)
    912     cache_file=config.cache ;;
    913 
    914   -datadir | --datadir | --datadi | --datad)
    915     ac_prev=datadir ;;
    916   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    917     datadir=$ac_optarg ;;
    918 
    919   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    920   | --dataroo | --dataro | --datar)
    921     ac_prev=datarootdir ;;
    922   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    923   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    924     datarootdir=$ac_optarg ;;
    925 
    926   -disable-* | --disable-*)
    927     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    928     # Reject names that are not valid shell variable names.
    929     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    930       as_fn_error $? "invalid feature name: $ac_useropt"
    931     ac_useropt_orig=$ac_useropt
    932     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    933     case $ac_user_opts in
    934       *"
    935 "enable_$ac_useropt"
    936 "*) ;;
    937       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    938 	 ac_unrecognized_sep=', ';;
    939     esac
    940     eval enable_$ac_useropt=no ;;
    941 
    942   -docdir | --docdir | --docdi | --doc | --do)
    943     ac_prev=docdir ;;
    944   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    945     docdir=$ac_optarg ;;
    946 
    947   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    948     ac_prev=dvidir ;;
    949   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    950     dvidir=$ac_optarg ;;
    951 
    952   -enable-* | --enable-*)
    953     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    954     # Reject names that are not valid shell variable names.
    955     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    956       as_fn_error $? "invalid feature name: $ac_useropt"
    957     ac_useropt_orig=$ac_useropt
    958     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    959     case $ac_user_opts in
    960       *"
    961 "enable_$ac_useropt"
    962 "*) ;;
    963       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    964 	 ac_unrecognized_sep=', ';;
    965     esac
    966     eval enable_$ac_useropt=\$ac_optarg ;;
    967 
    968   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    969   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    970   | --exec | --exe | --ex)
    971     ac_prev=exec_prefix ;;
    972   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    973   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    974   | --exec=* | --exe=* | --ex=*)
    975     exec_prefix=$ac_optarg ;;
    976 
    977   -gas | --gas | --ga | --g)
    978     # Obsolete; use --with-gas.
    979     with_gas=yes ;;
    980 
    981   -help | --help | --hel | --he | -h)
    982     ac_init_help=long ;;
    983   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    984     ac_init_help=recursive ;;
    985   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    986     ac_init_help=short ;;
    987 
    988   -host | --host | --hos | --ho)
    989     ac_prev=host_alias ;;
    990   -host=* | --host=* | --hos=* | --ho=*)
    991     host_alias=$ac_optarg ;;
    992 
    993   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    994     ac_prev=htmldir ;;
    995   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    996   | --ht=*)
    997     htmldir=$ac_optarg ;;
    998 
    999   -includedir | --includedir | --includedi | --included | --include \
   1000   | --includ | --inclu | --incl | --inc)
   1001     ac_prev=includedir ;;
   1002   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1003   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1004     includedir=$ac_optarg ;;
   1005 
   1006   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1007     ac_prev=infodir ;;
   1008   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1009     infodir=$ac_optarg ;;
   1010 
   1011   -libdir | --libdir | --libdi | --libd)
   1012     ac_prev=libdir ;;
   1013   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1014     libdir=$ac_optarg ;;
   1015 
   1016   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1017   | --libexe | --libex | --libe)
   1018     ac_prev=libexecdir ;;
   1019   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1020   | --libexe=* | --libex=* | --libe=*)
   1021     libexecdir=$ac_optarg ;;
   1022 
   1023   -localedir | --localedir | --localedi | --localed | --locale)
   1024     ac_prev=localedir ;;
   1025   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1026     localedir=$ac_optarg ;;
   1027 
   1028   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1029   | --localstate | --localstat | --localsta | --localst | --locals)
   1030     ac_prev=localstatedir ;;
   1031   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1032   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1033     localstatedir=$ac_optarg ;;
   1034 
   1035   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1036     ac_prev=mandir ;;
   1037   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1038     mandir=$ac_optarg ;;
   1039 
   1040   -nfp | --nfp | --nf)
   1041     # Obsolete; use --without-fp.
   1042     with_fp=no ;;
   1043 
   1044   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1045   | --no-cr | --no-c | -n)
   1046     no_create=yes ;;
   1047 
   1048   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1049   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1050     no_recursion=yes ;;
   1051 
   1052   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1053   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1054   | --oldin | --oldi | --old | --ol | --o)
   1055     ac_prev=oldincludedir ;;
   1056   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1057   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1058   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1059     oldincludedir=$ac_optarg ;;
   1060 
   1061   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1062     ac_prev=prefix ;;
   1063   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1064     prefix=$ac_optarg ;;
   1065 
   1066   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1067   | --program-pre | --program-pr | --program-p)
   1068     ac_prev=program_prefix ;;
   1069   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1070   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1071     program_prefix=$ac_optarg ;;
   1072 
   1073   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1074   | --program-suf | --program-su | --program-s)
   1075     ac_prev=program_suffix ;;
   1076   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1077   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1078     program_suffix=$ac_optarg ;;
   1079 
   1080   -program-transform-name | --program-transform-name \
   1081   | --program-transform-nam | --program-transform-na \
   1082   | --program-transform-n | --program-transform- \
   1083   | --program-transform | --program-transfor \
   1084   | --program-transfo | --program-transf \
   1085   | --program-trans | --program-tran \
   1086   | --progr-tra | --program-tr | --program-t)
   1087     ac_prev=program_transform_name ;;
   1088   -program-transform-name=* | --program-transform-name=* \
   1089   | --program-transform-nam=* | --program-transform-na=* \
   1090   | --program-transform-n=* | --program-transform-=* \
   1091   | --program-transform=* | --program-transfor=* \
   1092   | --program-transfo=* | --program-transf=* \
   1093   | --program-trans=* | --program-tran=* \
   1094   | --progr-tra=* | --program-tr=* | --program-t=*)
   1095     program_transform_name=$ac_optarg ;;
   1096 
   1097   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1098     ac_prev=pdfdir ;;
   1099   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1100     pdfdir=$ac_optarg ;;
   1101 
   1102   -psdir | --psdir | --psdi | --psd | --ps)
   1103     ac_prev=psdir ;;
   1104   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1105     psdir=$ac_optarg ;;
   1106 
   1107   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1108   | -silent | --silent | --silen | --sile | --sil)
   1109     silent=yes ;;
   1110 
   1111   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1112     ac_prev=sbindir ;;
   1113   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1114   | --sbi=* | --sb=*)
   1115     sbindir=$ac_optarg ;;
   1116 
   1117   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1118   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1119   | --sharedst | --shareds | --shared | --share | --shar \
   1120   | --sha | --sh)
   1121     ac_prev=sharedstatedir ;;
   1122   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1123   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1124   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1125   | --sha=* | --sh=*)
   1126     sharedstatedir=$ac_optarg ;;
   1127 
   1128   -site | --site | --sit)
   1129     ac_prev=site ;;
   1130   -site=* | --site=* | --sit=*)
   1131     site=$ac_optarg ;;
   1132 
   1133   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1134     ac_prev=srcdir ;;
   1135   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1136     srcdir=$ac_optarg ;;
   1137 
   1138   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1139   | --syscon | --sysco | --sysc | --sys | --sy)
   1140     ac_prev=sysconfdir ;;
   1141   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1142   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1143     sysconfdir=$ac_optarg ;;
   1144 
   1145   -target | --target | --targe | --targ | --tar | --ta | --t)
   1146     ac_prev=target_alias ;;
   1147   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1148     target_alias=$ac_optarg ;;
   1149 
   1150   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1151     verbose=yes ;;
   1152 
   1153   -version | --version | --versio | --versi | --vers | -V)
   1154     ac_init_version=: ;;
   1155 
   1156   -with-* | --with-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       as_fn_error $? "invalid package name: $ac_useropt"
   1161     ac_useropt_orig=$ac_useropt
   1162     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1163     case $ac_user_opts in
   1164       *"
   1165 "with_$ac_useropt"
   1166 "*) ;;
   1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1168 	 ac_unrecognized_sep=', ';;
   1169     esac
   1170     eval with_$ac_useropt=\$ac_optarg ;;
   1171 
   1172   -without-* | --without-*)
   1173     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1174     # Reject names that are not valid shell variable names.
   1175     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1176       as_fn_error $? "invalid package name: $ac_useropt"
   1177     ac_useropt_orig=$ac_useropt
   1178     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1179     case $ac_user_opts in
   1180       *"
   1181 "with_$ac_useropt"
   1182 "*) ;;
   1183       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1184 	 ac_unrecognized_sep=', ';;
   1185     esac
   1186     eval with_$ac_useropt=no ;;
   1187 
   1188   --x)
   1189     # Obsolete; use --with-x.
   1190     with_x=yes ;;
   1191 
   1192   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1193   | --x-incl | --x-inc | --x-in | --x-i)
   1194     ac_prev=x_includes ;;
   1195   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1196   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1197     x_includes=$ac_optarg ;;
   1198 
   1199   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1200   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1201     ac_prev=x_libraries ;;
   1202   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1203   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1204     x_libraries=$ac_optarg ;;
   1205 
   1206   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1207 Try \`$0 --help' for more information"
   1208     ;;
   1209 
   1210   *=*)
   1211     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1212     # Reject names that are not valid shell variable names.
   1213     case $ac_envvar in #(
   1214       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1215       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1216     esac
   1217     eval $ac_envvar=\$ac_optarg
   1218     export $ac_envvar ;;
   1219 
   1220   *)
   1221     # FIXME: should be removed in autoconf 3.0.
   1222     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1223     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1224       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1225     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1226     ;;
   1227 
   1228   esac
   1229 done
   1230 
   1231 if test -n "$ac_prev"; then
   1232   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1233   as_fn_error $? "missing argument to $ac_option"
   1234 fi
   1235 
   1236 if test -n "$ac_unrecognized_opts"; then
   1237   case $enable_option_checking in
   1238     no) ;;
   1239     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1240     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1241   esac
   1242 fi
   1243 
   1244 # Check all directory arguments for consistency.
   1245 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1246 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1247 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1248 		libdir localedir mandir
   1249 do
   1250   eval ac_val=\$$ac_var
   1251   # Remove trailing slashes.
   1252   case $ac_val in
   1253     */ )
   1254       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1255       eval $ac_var=\$ac_val;;
   1256   esac
   1257   # Be sure to have absolute directory names.
   1258   case $ac_val in
   1259     [\\/$]* | ?:[\\/]* )  continue;;
   1260     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1261   esac
   1262   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1263 done
   1264 
   1265 # There might be people who depend on the old broken behavior: `$host'
   1266 # used to hold the argument of --host etc.
   1267 # FIXME: To remove some day.
   1268 build=$build_alias
   1269 host=$host_alias
   1270 target=$target_alias
   1271 
   1272 # FIXME: To remove some day.
   1273 if test "x$host_alias" != x; then
   1274   if test "x$build_alias" = x; then
   1275     cross_compiling=maybe
   1276   elif test "x$build_alias" != "x$host_alias"; then
   1277     cross_compiling=yes
   1278   fi
   1279 fi
   1280 
   1281 ac_tool_prefix=
   1282 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1283 
   1284 test "$silent" = yes && exec 6>/dev/null
   1285 
   1286 
   1287 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1288 ac_ls_di=`ls -di .` &&
   1289 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1290   as_fn_error $? "working directory cannot be determined"
   1291 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1292   as_fn_error $? "pwd does not report name of working directory"
   1293 
   1294 
   1295 # Find the source files, if location was not specified.
   1296 if test -z "$srcdir"; then
   1297   ac_srcdir_defaulted=yes
   1298   # Try the directory containing this script, then the parent directory.
   1299   ac_confdir=`$as_dirname -- "$as_myself" ||
   1300 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1301 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1302 	 X"$as_myself" : 'X\(//\)$' \| \
   1303 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1304 $as_echo X"$as_myself" |
   1305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1306 	    s//\1/
   1307 	    q
   1308 	  }
   1309 	  /^X\(\/\/\)[^/].*/{
   1310 	    s//\1/
   1311 	    q
   1312 	  }
   1313 	  /^X\(\/\/\)$/{
   1314 	    s//\1/
   1315 	    q
   1316 	  }
   1317 	  /^X\(\/\).*/{
   1318 	    s//\1/
   1319 	    q
   1320 	  }
   1321 	  s/.*/./; q'`
   1322   srcdir=$ac_confdir
   1323   if test ! -r "$srcdir/$ac_unique_file"; then
   1324     srcdir=..
   1325   fi
   1326 else
   1327   ac_srcdir_defaulted=no
   1328 fi
   1329 if test ! -r "$srcdir/$ac_unique_file"; then
   1330   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1331   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1332 fi
   1333 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1334 ac_abs_confdir=`(
   1335 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1336 	pwd)`
   1337 # When building in place, set srcdir=.
   1338 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1339   srcdir=.
   1340 fi
   1341 # Remove unnecessary trailing slashes from srcdir.
   1342 # Double slashes in file names in object file debugging info
   1343 # mess up M-x gdb in Emacs.
   1344 case $srcdir in
   1345 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1346 esac
   1347 for ac_var in $ac_precious_vars; do
   1348   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1349   eval ac_env_${ac_var}_value=\$${ac_var}
   1350   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1351   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1352 done
   1353 
   1354 #
   1355 # Report the --help message.
   1356 #
   1357 if test "$ac_init_help" = "long"; then
   1358   # Omit some internal or obsolete options to make the list less imposing.
   1359   # This message is too long to be a string in the A/UX 3.1 sh.
   1360   cat <<_ACEOF
   1361 \`configure' configures xf86-input-mouse 1.9.2 to adapt to many kinds of systems.
   1362 
   1363 Usage: $0 [OPTION]... [VAR=VALUE]...
   1364 
   1365 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1366 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1367 
   1368 Defaults for the options are specified in brackets.
   1369 
   1370 Configuration:
   1371   -h, --help              display this help and exit
   1372       --help=short        display options specific to this package
   1373       --help=recursive    display the short help of all the included packages
   1374   -V, --version           display version information and exit
   1375   -q, --quiet, --silent   do not print \`checking ...' messages
   1376       --cache-file=FILE   cache test results in FILE [disabled]
   1377   -C, --config-cache      alias for \`--cache-file=config.cache'
   1378   -n, --no-create         do not create output files
   1379       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1380 
   1381 Installation directories:
   1382   --prefix=PREFIX         install architecture-independent files in PREFIX
   1383                           [$ac_default_prefix]
   1384   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1385                           [PREFIX]
   1386 
   1387 By default, \`make install' will install all the files in
   1388 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1389 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1390 for instance \`--prefix=\$HOME'.
   1391 
   1392 For better control, use the options below.
   1393 
   1394 Fine tuning of the installation directories:
   1395   --bindir=DIR            user executables [EPREFIX/bin]
   1396   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1397   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1398   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1399   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1400   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1401   --libdir=DIR            object code libraries [EPREFIX/lib]
   1402   --includedir=DIR        C header files [PREFIX/include]
   1403   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1404   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1405   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1406   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1407   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1408   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1409   --docdir=DIR            documentation root
   1410                           [DATAROOTDIR/doc/xf86-input-mouse]
   1411   --htmldir=DIR           html documentation [DOCDIR]
   1412   --dvidir=DIR            dvi documentation [DOCDIR]
   1413   --pdfdir=DIR            pdf documentation [DOCDIR]
   1414   --psdir=DIR             ps documentation [DOCDIR]
   1415 _ACEOF
   1416 
   1417   cat <<\_ACEOF
   1418 
   1419 Program names:
   1420   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1421   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1422   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1423 
   1424 System types:
   1425   --build=BUILD     configure for building on BUILD [guessed]
   1426   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1427 _ACEOF
   1428 fi
   1429 
   1430 if test -n "$ac_init_help"; then
   1431   case $ac_init_help in
   1432      short | recursive ) echo "Configuration of xf86-input-mouse 1.9.2:";;
   1433    esac
   1434   cat <<\_ACEOF
   1435 
   1436 Optional Features:
   1437   --disable-option-checking  ignore unrecognized --enable/--with options
   1438   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1439   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1440   --enable-dependency-tracking
   1441                           do not reject slow dependency extractors
   1442   --disable-dependency-tracking
   1443                           speeds up one-time build
   1444   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1445   --disable-silent-rules  verbose build output (undo: "make V=0")
   1446   --enable-static[=PKGS]  build static libraries [default=no]
   1447   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1448   --enable-fast-install[=PKGS]
   1449                           optimize for fast installation [default=yes]
   1450   --disable-libtool-lock  avoid locking (might break parallel builds)
   1451   --disable-selective-werror
   1452                           Turn off selective compiler errors. (default:
   1453                           enabled)
   1454   --enable-strict-compilation
   1455                           Enable all warnings from compiler and make them
   1456                           errors (default: disabled)
   1457 
   1458 Optional Packages:
   1459   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1460   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1461   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1462                           both]
   1463   --with-aix-soname=aix|svr4|both
   1464                           shared library versioning (aka "SONAME") variant to
   1465                           provide on AIX, [default=aix].
   1466   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1467   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1468                           compiler's sysroot if not specified).
   1469   --with-lint             Use a lint-style source code checker (default:
   1470                           disabled)
   1471   --with-xorg-module-dir=DIR
   1472                           Default xorg module directory
   1473                           [[default=$libdir/xorg/modules]]
   1474 
   1475 
   1476 Some influential environment variables:
   1477   CC          C compiler command
   1478   CFLAGS      C compiler flags
   1479   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1480               nonstandard directory <lib dir>
   1481   LIBS        libraries to pass to the linker, e.g. -l<library>
   1482   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1483               you have headers in a nonstandard directory <include dir>
   1484   CPP         C preprocessor
   1485   LT_SYS_LIBRARY_PATH
   1486               User-defined run-time library search path.
   1487   PKG_CONFIG  path to pkg-config utility
   1488   PKG_CONFIG_PATH
   1489               directories to add to pkg-config's search path
   1490   PKG_CONFIG_LIBDIR
   1491               path overriding pkg-config's built-in search path
   1492   LINT        Path to a lint-style command
   1493   LINT_FLAGS  Flags for the lint-style command
   1494   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1495   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1496 
   1497 Use these variables to override the choices made by `configure' or to help
   1498 it to find libraries and programs with nonstandard names/locations.
   1499 
   1500 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1501 _ACEOF
   1502 ac_status=$?
   1503 fi
   1504 
   1505 if test "$ac_init_help" = "recursive"; then
   1506   # If there are subdirs, report their specific --help.
   1507   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1508     test -d "$ac_dir" ||
   1509       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1510       continue
   1511     ac_builddir=.
   1512 
   1513 case "$ac_dir" in
   1514 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1515 *)
   1516   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1517   # A ".." for each directory in $ac_dir_suffix.
   1518   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1519   case $ac_top_builddir_sub in
   1520   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1521   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1522   esac ;;
   1523 esac
   1524 ac_abs_top_builddir=$ac_pwd
   1525 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1526 # for backward compatibility:
   1527 ac_top_builddir=$ac_top_build_prefix
   1528 
   1529 case $srcdir in
   1530   .)  # We are building in place.
   1531     ac_srcdir=.
   1532     ac_top_srcdir=$ac_top_builddir_sub
   1533     ac_abs_top_srcdir=$ac_pwd ;;
   1534   [\\/]* | ?:[\\/]* )  # Absolute name.
   1535     ac_srcdir=$srcdir$ac_dir_suffix;
   1536     ac_top_srcdir=$srcdir
   1537     ac_abs_top_srcdir=$srcdir ;;
   1538   *) # Relative name.
   1539     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1540     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1541     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1542 esac
   1543 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1544 
   1545     cd "$ac_dir" || { ac_status=$?; continue; }
   1546     # Check for guested configure.
   1547     if test -f "$ac_srcdir/configure.gnu"; then
   1548       echo &&
   1549       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1550     elif test -f "$ac_srcdir/configure"; then
   1551       echo &&
   1552       $SHELL "$ac_srcdir/configure" --help=recursive
   1553     else
   1554       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1555     fi || ac_status=$?
   1556     cd "$ac_pwd" || { ac_status=$?; break; }
   1557   done
   1558 fi
   1559 
   1560 test -n "$ac_init_help" && exit $ac_status
   1561 if $ac_init_version; then
   1562   cat <<\_ACEOF
   1563 xf86-input-mouse configure 1.9.2
   1564 generated by GNU Autoconf 2.69
   1565 
   1566 Copyright (C) 2012 Free Software Foundation, Inc.
   1567 This configure script is free software; the Free Software Foundation
   1568 gives unlimited permission to copy, distribute and modify it.
   1569 _ACEOF
   1570   exit
   1571 fi
   1572 
   1573 ## ------------------------ ##
   1574 ## Autoconf initialization. ##
   1575 ## ------------------------ ##
   1576 
   1577 # ac_fn_c_try_compile LINENO
   1578 # --------------------------
   1579 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1580 ac_fn_c_try_compile ()
   1581 {
   1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1583   rm -f conftest.$ac_objext
   1584   if { { ac_try="$ac_compile"
   1585 case "(($ac_try" in
   1586   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1587   *) ac_try_echo=$ac_try;;
   1588 esac
   1589 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1590 $as_echo "$ac_try_echo"; } >&5
   1591   (eval "$ac_compile") 2>conftest.err
   1592   ac_status=$?
   1593   if test -s conftest.err; then
   1594     grep -v '^ *+' conftest.err >conftest.er1
   1595     cat conftest.er1 >&5
   1596     mv -f conftest.er1 conftest.err
   1597   fi
   1598   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1599   test $ac_status = 0; } && {
   1600 	 test -z "$ac_c_werror_flag" ||
   1601 	 test ! -s conftest.err
   1602        } && test -s conftest.$ac_objext; then :
   1603   ac_retval=0
   1604 else
   1605   $as_echo "$as_me: failed program was:" >&5
   1606 sed 's/^/| /' conftest.$ac_ext >&5
   1607 
   1608 	ac_retval=1
   1609 fi
   1610   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1611   as_fn_set_status $ac_retval
   1612 
   1613 } # ac_fn_c_try_compile
   1614 
   1615 # ac_fn_c_try_cpp LINENO
   1616 # ----------------------
   1617 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1618 ac_fn_c_try_cpp ()
   1619 {
   1620   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1621   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1622 case "(($ac_try" in
   1623   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1624   *) ac_try_echo=$ac_try;;
   1625 esac
   1626 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1627 $as_echo "$ac_try_echo"; } >&5
   1628   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1629   ac_status=$?
   1630   if test -s conftest.err; then
   1631     grep -v '^ *+' conftest.err >conftest.er1
   1632     cat conftest.er1 >&5
   1633     mv -f conftest.er1 conftest.err
   1634   fi
   1635   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1636   test $ac_status = 0; } > conftest.i && {
   1637 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1638 	 test ! -s conftest.err
   1639        }; then :
   1640   ac_retval=0
   1641 else
   1642   $as_echo "$as_me: failed program was:" >&5
   1643 sed 's/^/| /' conftest.$ac_ext >&5
   1644 
   1645     ac_retval=1
   1646 fi
   1647   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1648   as_fn_set_status $ac_retval
   1649 
   1650 } # ac_fn_c_try_cpp
   1651 
   1652 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1653 # -------------------------------------------------------
   1654 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1655 # the include files in INCLUDES and setting the cache variable VAR
   1656 # accordingly.
   1657 ac_fn_c_check_header_mongrel ()
   1658 {
   1659   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1660   if eval \${$3+:} false; then :
   1661   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1662 $as_echo_n "checking for $2... " >&6; }
   1663 if eval \${$3+:} false; then :
   1664   $as_echo_n "(cached) " >&6
   1665 fi
   1666 eval ac_res=\$$3
   1667 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1668 $as_echo "$ac_res" >&6; }
   1669 else
   1670   # Is the header compilable?
   1671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1672 $as_echo_n "checking $2 usability... " >&6; }
   1673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1674 /* end confdefs.h.  */
   1675 $4
   1676 #include <$2>
   1677 _ACEOF
   1678 if ac_fn_c_try_compile "$LINENO"; then :
   1679   ac_header_compiler=yes
   1680 else
   1681   ac_header_compiler=no
   1682 fi
   1683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1685 $as_echo "$ac_header_compiler" >&6; }
   1686 
   1687 # Is the header present?
   1688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1689 $as_echo_n "checking $2 presence... " >&6; }
   1690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1691 /* end confdefs.h.  */
   1692 #include <$2>
   1693 _ACEOF
   1694 if ac_fn_c_try_cpp "$LINENO"; then :
   1695   ac_header_preproc=yes
   1696 else
   1697   ac_header_preproc=no
   1698 fi
   1699 rm -f conftest.err conftest.i conftest.$ac_ext
   1700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1701 $as_echo "$ac_header_preproc" >&6; }
   1702 
   1703 # So?  What about this header?
   1704 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1705   yes:no: )
   1706     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1707 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1708     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1709 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1710     ;;
   1711   no:yes:* )
   1712     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1713 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1714     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1715 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1716     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1717 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1718     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1719 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1720     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1721 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1722 ( $as_echo "## ---------------------------------------------------------------------- ##
   1723 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1724 ## ---------------------------------------------------------------------- ##"
   1725      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1726     ;;
   1727 esac
   1728   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1729 $as_echo_n "checking for $2... " >&6; }
   1730 if eval \${$3+:} false; then :
   1731   $as_echo_n "(cached) " >&6
   1732 else
   1733   eval "$3=\$ac_header_compiler"
   1734 fi
   1735 eval ac_res=\$$3
   1736 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1737 $as_echo "$ac_res" >&6; }
   1738 fi
   1739   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1740 
   1741 } # ac_fn_c_check_header_mongrel
   1742 
   1743 # ac_fn_c_try_run LINENO
   1744 # ----------------------
   1745 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1746 # that executables *can* be run.
   1747 ac_fn_c_try_run ()
   1748 {
   1749   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1750   if { { ac_try="$ac_link"
   1751 case "(($ac_try" in
   1752   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1753   *) ac_try_echo=$ac_try;;
   1754 esac
   1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1756 $as_echo "$ac_try_echo"; } >&5
   1757   (eval "$ac_link") 2>&5
   1758   ac_status=$?
   1759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1760   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1761   { { case "(($ac_try" in
   1762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1763   *) ac_try_echo=$ac_try;;
   1764 esac
   1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1766 $as_echo "$ac_try_echo"; } >&5
   1767   (eval "$ac_try") 2>&5
   1768   ac_status=$?
   1769   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1770   test $ac_status = 0; }; }; then :
   1771   ac_retval=0
   1772 else
   1773   $as_echo "$as_me: program exited with status $ac_status" >&5
   1774        $as_echo "$as_me: failed program was:" >&5
   1775 sed 's/^/| /' conftest.$ac_ext >&5
   1776 
   1777        ac_retval=$ac_status
   1778 fi
   1779   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1780   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1781   as_fn_set_status $ac_retval
   1782 
   1783 } # ac_fn_c_try_run
   1784 
   1785 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1786 # -------------------------------------------------------
   1787 # Tests whether HEADER exists and can be compiled using the include files in
   1788 # INCLUDES, setting the cache variable VAR accordingly.
   1789 ac_fn_c_check_header_compile ()
   1790 {
   1791   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1792   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1793 $as_echo_n "checking for $2... " >&6; }
   1794 if eval \${$3+:} false; then :
   1795   $as_echo_n "(cached) " >&6
   1796 else
   1797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1798 /* end confdefs.h.  */
   1799 $4
   1800 #include <$2>
   1801 _ACEOF
   1802 if ac_fn_c_try_compile "$LINENO"; then :
   1803   eval "$3=yes"
   1804 else
   1805   eval "$3=no"
   1806 fi
   1807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1808 fi
   1809 eval ac_res=\$$3
   1810 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1811 $as_echo "$ac_res" >&6; }
   1812   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1813 
   1814 } # ac_fn_c_check_header_compile
   1815 
   1816 # ac_fn_c_try_link LINENO
   1817 # -----------------------
   1818 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1819 ac_fn_c_try_link ()
   1820 {
   1821   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1822   rm -f conftest.$ac_objext conftest$ac_exeext
   1823   if { { ac_try="$ac_link"
   1824 case "(($ac_try" in
   1825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1826   *) ac_try_echo=$ac_try;;
   1827 esac
   1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1829 $as_echo "$ac_try_echo"; } >&5
   1830   (eval "$ac_link") 2>conftest.err
   1831   ac_status=$?
   1832   if test -s conftest.err; then
   1833     grep -v '^ *+' conftest.err >conftest.er1
   1834     cat conftest.er1 >&5
   1835     mv -f conftest.er1 conftest.err
   1836   fi
   1837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1838   test $ac_status = 0; } && {
   1839 	 test -z "$ac_c_werror_flag" ||
   1840 	 test ! -s conftest.err
   1841        } && test -s conftest$ac_exeext && {
   1842 	 test "$cross_compiling" = yes ||
   1843 	 test -x conftest$ac_exeext
   1844        }; then :
   1845   ac_retval=0
   1846 else
   1847   $as_echo "$as_me: failed program was:" >&5
   1848 sed 's/^/| /' conftest.$ac_ext >&5
   1849 
   1850 	ac_retval=1
   1851 fi
   1852   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1853   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1854   # interfere with the next link command; also delete a directory that is
   1855   # left behind by Apple's compiler.  We do this before executing the actions.
   1856   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1857   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1858   as_fn_set_status $ac_retval
   1859 
   1860 } # ac_fn_c_try_link
   1861 
   1862 # ac_fn_c_check_func LINENO FUNC VAR
   1863 # ----------------------------------
   1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1865 ac_fn_c_check_func ()
   1866 {
   1867   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1868   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1869 $as_echo_n "checking for $2... " >&6; }
   1870 if eval \${$3+:} false; then :
   1871   $as_echo_n "(cached) " >&6
   1872 else
   1873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1874 /* end confdefs.h.  */
   1875 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1876    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1877 #define $2 innocuous_$2
   1878 
   1879 /* System header to define __stub macros and hopefully few prototypes,
   1880     which can conflict with char $2 (); below.
   1881     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1882     <limits.h> exists even on freestanding compilers.  */
   1883 
   1884 #ifdef __STDC__
   1885 # include <limits.h>
   1886 #else
   1887 # include <assert.h>
   1888 #endif
   1889 
   1890 #undef $2
   1891 
   1892 /* Override any GCC internal prototype to avoid an error.
   1893    Use char because int might match the return type of a GCC
   1894    builtin and then its argument prototype would still apply.  */
   1895 #ifdef __cplusplus
   1896 extern "C"
   1897 #endif
   1898 char $2 ();
   1899 /* The GNU C library defines this for functions which it implements
   1900     to always fail with ENOSYS.  Some functions are actually named
   1901     something starting with __ and the normal name is an alias.  */
   1902 #if defined __stub_$2 || defined __stub___$2
   1903 choke me
   1904 #endif
   1905 
   1906 int
   1907 main ()
   1908 {
   1909 return $2 ();
   1910   ;
   1911   return 0;
   1912 }
   1913 _ACEOF
   1914 if ac_fn_c_try_link "$LINENO"; then :
   1915   eval "$3=yes"
   1916 else
   1917   eval "$3=no"
   1918 fi
   1919 rm -f core conftest.err conftest.$ac_objext \
   1920     conftest$ac_exeext conftest.$ac_ext
   1921 fi
   1922 eval ac_res=\$$3
   1923 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1924 $as_echo "$ac_res" >&6; }
   1925   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1926 
   1927 } # ac_fn_c_check_func
   1928 
   1929 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1930 # ---------------------------------------------
   1931 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1932 # accordingly.
   1933 ac_fn_c_check_decl ()
   1934 {
   1935   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1936   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1937   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1938   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1939 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1940 if eval \${$3+:} false; then :
   1941   $as_echo_n "(cached) " >&6
   1942 else
   1943   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1944 /* end confdefs.h.  */
   1945 $4
   1946 int
   1947 main ()
   1948 {
   1949 #ifndef $as_decl_name
   1950 #ifdef __cplusplus
   1951   (void) $as_decl_use;
   1952 #else
   1953   (void) $as_decl_name;
   1954 #endif
   1955 #endif
   1956 
   1957   ;
   1958   return 0;
   1959 }
   1960 _ACEOF
   1961 if ac_fn_c_try_compile "$LINENO"; then :
   1962   eval "$3=yes"
   1963 else
   1964   eval "$3=no"
   1965 fi
   1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1967 fi
   1968 eval ac_res=\$$3
   1969 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1970 $as_echo "$ac_res" >&6; }
   1971   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1972 
   1973 } # ac_fn_c_check_decl
   1974 cat >config.log <<_ACEOF
   1975 This file contains any messages produced by compilers while
   1976 running configure, to aid debugging if configure makes a mistake.
   1977 
   1978 It was created by xf86-input-mouse $as_me 1.9.2, which was
   1979 generated by GNU Autoconf 2.69.  Invocation command line was
   1980 
   1981   $ $0 $@
   1982 
   1983 _ACEOF
   1984 exec 5>>config.log
   1985 {
   1986 cat <<_ASUNAME
   1987 ## --------- ##
   1988 ## Platform. ##
   1989 ## --------- ##
   1990 
   1991 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1992 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1993 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1994 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1995 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1996 
   1997 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1998 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1999 
   2000 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2001 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2002 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2003 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2004 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2005 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2006 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2007 
   2008 _ASUNAME
   2009 
   2010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2011 for as_dir in $PATH
   2012 do
   2013   IFS=$as_save_IFS
   2014   test -z "$as_dir" && as_dir=.
   2015     $as_echo "PATH: $as_dir"
   2016   done
   2017 IFS=$as_save_IFS
   2018 
   2019 } >&5
   2020 
   2021 cat >&5 <<_ACEOF
   2022 
   2023 
   2024 ## ----------- ##
   2025 ## Core tests. ##
   2026 ## ----------- ##
   2027 
   2028 _ACEOF
   2029 
   2030 
   2031 # Keep a trace of the command line.
   2032 # Strip out --no-create and --no-recursion so they do not pile up.
   2033 # Strip out --silent because we don't want to record it for future runs.
   2034 # Also quote any args containing shell meta-characters.
   2035 # Make two passes to allow for proper duplicate-argument suppression.
   2036 ac_configure_args=
   2037 ac_configure_args0=
   2038 ac_configure_args1=
   2039 ac_must_keep_next=false
   2040 for ac_pass in 1 2
   2041 do
   2042   for ac_arg
   2043   do
   2044     case $ac_arg in
   2045     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2046     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2047     | -silent | --silent | --silen | --sile | --sil)
   2048       continue ;;
   2049     *\'*)
   2050       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2051     esac
   2052     case $ac_pass in
   2053     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2054     2)
   2055       as_fn_append ac_configure_args1 " '$ac_arg'"
   2056       if test $ac_must_keep_next = true; then
   2057 	ac_must_keep_next=false # Got value, back to normal.
   2058       else
   2059 	case $ac_arg in
   2060 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2061 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2062 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2063 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2064 	    case "$ac_configure_args0 " in
   2065 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2066 	    esac
   2067 	    ;;
   2068 	  -* ) ac_must_keep_next=true ;;
   2069 	esac
   2070       fi
   2071       as_fn_append ac_configure_args " '$ac_arg'"
   2072       ;;
   2073     esac
   2074   done
   2075 done
   2076 { ac_configure_args0=; unset ac_configure_args0;}
   2077 { ac_configure_args1=; unset ac_configure_args1;}
   2078 
   2079 # When interrupted or exit'd, cleanup temporary files, and complete
   2080 # config.log.  We remove comments because anyway the quotes in there
   2081 # would cause problems or look ugly.
   2082 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2083 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2084 trap 'exit_status=$?
   2085   # Save into config.log some information that might help in debugging.
   2086   {
   2087     echo
   2088 
   2089     $as_echo "## ---------------- ##
   2090 ## Cache variables. ##
   2091 ## ---------------- ##"
   2092     echo
   2093     # The following way of writing the cache mishandles newlines in values,
   2094 (
   2095   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2096     eval ac_val=\$$ac_var
   2097     case $ac_val in #(
   2098     *${as_nl}*)
   2099       case $ac_var in #(
   2100       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2101 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2102       esac
   2103       case $ac_var in #(
   2104       _ | IFS | as_nl) ;; #(
   2105       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2106       *) { eval $ac_var=; unset $ac_var;} ;;
   2107       esac ;;
   2108     esac
   2109   done
   2110   (set) 2>&1 |
   2111     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2112     *${as_nl}ac_space=\ *)
   2113       sed -n \
   2114 	"s/'\''/'\''\\\\'\'''\''/g;
   2115 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2116       ;; #(
   2117     *)
   2118       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2119       ;;
   2120     esac |
   2121     sort
   2122 )
   2123     echo
   2124 
   2125     $as_echo "## ----------------- ##
   2126 ## Output variables. ##
   2127 ## ----------------- ##"
   2128     echo
   2129     for ac_var in $ac_subst_vars
   2130     do
   2131       eval ac_val=\$$ac_var
   2132       case $ac_val in
   2133       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2134       esac
   2135       $as_echo "$ac_var='\''$ac_val'\''"
   2136     done | sort
   2137     echo
   2138 
   2139     if test -n "$ac_subst_files"; then
   2140       $as_echo "## ------------------- ##
   2141 ## File substitutions. ##
   2142 ## ------------------- ##"
   2143       echo
   2144       for ac_var in $ac_subst_files
   2145       do
   2146 	eval ac_val=\$$ac_var
   2147 	case $ac_val in
   2148 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2149 	esac
   2150 	$as_echo "$ac_var='\''$ac_val'\''"
   2151       done | sort
   2152       echo
   2153     fi
   2154 
   2155     if test -s confdefs.h; then
   2156       $as_echo "## ----------- ##
   2157 ## confdefs.h. ##
   2158 ## ----------- ##"
   2159       echo
   2160       cat confdefs.h
   2161       echo
   2162     fi
   2163     test "$ac_signal" != 0 &&
   2164       $as_echo "$as_me: caught signal $ac_signal"
   2165     $as_echo "$as_me: exit $exit_status"
   2166   } >&5
   2167   rm -f core *.core core.conftest.* &&
   2168     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2169     exit $exit_status
   2170 ' 0
   2171 for ac_signal in 1 2 13 15; do
   2172   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2173 done
   2174 ac_signal=0
   2175 
   2176 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2177 rm -f -r conftest* confdefs.h
   2178 
   2179 $as_echo "/* confdefs.h */" > confdefs.h
   2180 
   2181 # Predefined preprocessor variables.
   2182 
   2183 cat >>confdefs.h <<_ACEOF
   2184 #define PACKAGE_NAME "$PACKAGE_NAME"
   2185 _ACEOF
   2186 
   2187 cat >>confdefs.h <<_ACEOF
   2188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2189 _ACEOF
   2190 
   2191 cat >>confdefs.h <<_ACEOF
   2192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2193 _ACEOF
   2194 
   2195 cat >>confdefs.h <<_ACEOF
   2196 #define PACKAGE_STRING "$PACKAGE_STRING"
   2197 _ACEOF
   2198 
   2199 cat >>confdefs.h <<_ACEOF
   2200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2201 _ACEOF
   2202 
   2203 cat >>confdefs.h <<_ACEOF
   2204 #define PACKAGE_URL "$PACKAGE_URL"
   2205 _ACEOF
   2206 
   2207 
   2208 # Let the site file select an alternate cache file if it wants to.
   2209 # Prefer an explicitly selected file to automatically selected ones.
   2210 ac_site_file1=NONE
   2211 ac_site_file2=NONE
   2212 if test -n "$CONFIG_SITE"; then
   2213   # We do not want a PATH search for config.site.
   2214   case $CONFIG_SITE in #((
   2215     -*)  ac_site_file1=./$CONFIG_SITE;;
   2216     */*) ac_site_file1=$CONFIG_SITE;;
   2217     *)   ac_site_file1=./$CONFIG_SITE;;
   2218   esac
   2219 elif test "x$prefix" != xNONE; then
   2220   ac_site_file1=$prefix/share/config.site
   2221   ac_site_file2=$prefix/etc/config.site
   2222 else
   2223   ac_site_file1=$ac_default_prefix/share/config.site
   2224   ac_site_file2=$ac_default_prefix/etc/config.site
   2225 fi
   2226 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2227 do
   2228   test "x$ac_site_file" = xNONE && continue
   2229   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2230     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2231 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2232     sed 's/^/| /' "$ac_site_file" >&5
   2233     . "$ac_site_file" \
   2234       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2236 as_fn_error $? "failed to load site script $ac_site_file
   2237 See \`config.log' for more details" "$LINENO" 5; }
   2238   fi
   2239 done
   2240 
   2241 if test -r "$cache_file"; then
   2242   # Some versions of bash will fail to source /dev/null (special files
   2243   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2244   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2245     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2246 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2247     case $cache_file in
   2248       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2249       *)                      . "./$cache_file";;
   2250     esac
   2251   fi
   2252 else
   2253   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2254 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2255   >$cache_file
   2256 fi
   2257 
   2258 # Check that the precious variables saved in the cache have kept the same
   2259 # value.
   2260 ac_cache_corrupted=false
   2261 for ac_var in $ac_precious_vars; do
   2262   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2263   eval ac_new_set=\$ac_env_${ac_var}_set
   2264   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2265   eval ac_new_val=\$ac_env_${ac_var}_value
   2266   case $ac_old_set,$ac_new_set in
   2267     set,)
   2268       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2269 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2270       ac_cache_corrupted=: ;;
   2271     ,set)
   2272       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2273 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2274       ac_cache_corrupted=: ;;
   2275     ,);;
   2276     *)
   2277       if test "x$ac_old_val" != "x$ac_new_val"; then
   2278 	# differences in whitespace do not lead to failure.
   2279 	ac_old_val_w=`echo x $ac_old_val`
   2280 	ac_new_val_w=`echo x $ac_new_val`
   2281 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2282 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2283 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2284 	  ac_cache_corrupted=:
   2285 	else
   2286 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2287 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2288 	  eval $ac_var=\$ac_old_val
   2289 	fi
   2290 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2291 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2292 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2293 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2294       fi;;
   2295   esac
   2296   # Pass precious variables to config.status.
   2297   if test "$ac_new_set" = set; then
   2298     case $ac_new_val in
   2299     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2300     *) ac_arg=$ac_var=$ac_new_val ;;
   2301     esac
   2302     case " $ac_configure_args " in
   2303       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2304       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2305     esac
   2306   fi
   2307 done
   2308 if $ac_cache_corrupted; then
   2309   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2311   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2312 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2313   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2314 fi
   2315 ## -------------------- ##
   2316 ## Main body of script. ##
   2317 ## -------------------- ##
   2318 
   2319 ac_ext=c
   2320 ac_cpp='$CPP $CPPFLAGS'
   2321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2324 
   2325 
   2326 
   2327 ac_config_headers="$ac_config_headers config.h"
   2328 
   2329 ac_aux_dir=
   2330 for ac_dir in . "$srcdir"/.; do
   2331   if test -f "$ac_dir/install-sh"; then
   2332     ac_aux_dir=$ac_dir
   2333     ac_install_sh="$ac_aux_dir/install-sh -c"
   2334     break
   2335   elif test -f "$ac_dir/install.sh"; then
   2336     ac_aux_dir=$ac_dir
   2337     ac_install_sh="$ac_aux_dir/install.sh -c"
   2338     break
   2339   elif test -f "$ac_dir/shtool"; then
   2340     ac_aux_dir=$ac_dir
   2341     ac_install_sh="$ac_aux_dir/shtool install -c"
   2342     break
   2343   fi
   2344 done
   2345 if test -z "$ac_aux_dir"; then
   2346   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2347 fi
   2348 
   2349 # These three variables are undocumented and unsupported,
   2350 # and are intended to be withdrawn in a future Autoconf release.
   2351 # They can cause serious problems if a builder's source tree is in a directory
   2352 # whose full name contains unusual characters.
   2353 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2354 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2355 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2356 
   2357 
   2358 # Expand $ac_aux_dir to an absolute path.
   2359 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2360 
   2361 ac_ext=c
   2362 ac_cpp='$CPP $CPPFLAGS'
   2363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2366 if test -n "$ac_tool_prefix"; then
   2367   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2368 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2370 $as_echo_n "checking for $ac_word... " >&6; }
   2371 if ${ac_cv_prog_CC+:} false; then :
   2372   $as_echo_n "(cached) " >&6
   2373 else
   2374   if test -n "$CC"; then
   2375   ac_cv_prog_CC="$CC" # Let the user override the test.
   2376 else
   2377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2378 for as_dir in $PATH
   2379 do
   2380   IFS=$as_save_IFS
   2381   test -z "$as_dir" && as_dir=.
   2382     for ac_exec_ext in '' $ac_executable_extensions; do
   2383   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2384     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2386     break 2
   2387   fi
   2388 done
   2389   done
   2390 IFS=$as_save_IFS
   2391 
   2392 fi
   2393 fi
   2394 CC=$ac_cv_prog_CC
   2395 if test -n "$CC"; then
   2396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2397 $as_echo "$CC" >&6; }
   2398 else
   2399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2400 $as_echo "no" >&6; }
   2401 fi
   2402 
   2403 
   2404 fi
   2405 if test -z "$ac_cv_prog_CC"; then
   2406   ac_ct_CC=$CC
   2407   # Extract the first word of "gcc", so it can be a program name with args.
   2408 set dummy gcc; ac_word=$2
   2409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2410 $as_echo_n "checking for $ac_word... " >&6; }
   2411 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2412   $as_echo_n "(cached) " >&6
   2413 else
   2414   if test -n "$ac_ct_CC"; then
   2415   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2416 else
   2417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2418 for as_dir in $PATH
   2419 do
   2420   IFS=$as_save_IFS
   2421   test -z "$as_dir" && as_dir=.
   2422     for ac_exec_ext in '' $ac_executable_extensions; do
   2423   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2424     ac_cv_prog_ac_ct_CC="gcc"
   2425     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2426     break 2
   2427   fi
   2428 done
   2429   done
   2430 IFS=$as_save_IFS
   2431 
   2432 fi
   2433 fi
   2434 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2435 if test -n "$ac_ct_CC"; then
   2436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2437 $as_echo "$ac_ct_CC" >&6; }
   2438 else
   2439   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2440 $as_echo "no" >&6; }
   2441 fi
   2442 
   2443   if test "x$ac_ct_CC" = x; then
   2444     CC=""
   2445   else
   2446     case $cross_compiling:$ac_tool_warned in
   2447 yes:)
   2448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2449 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2450 ac_tool_warned=yes ;;
   2451 esac
   2452     CC=$ac_ct_CC
   2453   fi
   2454 else
   2455   CC="$ac_cv_prog_CC"
   2456 fi
   2457 
   2458 if test -z "$CC"; then
   2459           if test -n "$ac_tool_prefix"; then
   2460     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2461 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2463 $as_echo_n "checking for $ac_word... " >&6; }
   2464 if ${ac_cv_prog_CC+:} false; then :
   2465   $as_echo_n "(cached) " >&6
   2466 else
   2467   if test -n "$CC"; then
   2468   ac_cv_prog_CC="$CC" # Let the user override the test.
   2469 else
   2470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2471 for as_dir in $PATH
   2472 do
   2473   IFS=$as_save_IFS
   2474   test -z "$as_dir" && as_dir=.
   2475     for ac_exec_ext in '' $ac_executable_extensions; do
   2476   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2477     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2478     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2479     break 2
   2480   fi
   2481 done
   2482   done
   2483 IFS=$as_save_IFS
   2484 
   2485 fi
   2486 fi
   2487 CC=$ac_cv_prog_CC
   2488 if test -n "$CC"; then
   2489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2490 $as_echo "$CC" >&6; }
   2491 else
   2492   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2493 $as_echo "no" >&6; }
   2494 fi
   2495 
   2496 
   2497   fi
   2498 fi
   2499 if test -z "$CC"; then
   2500   # Extract the first word of "cc", so it can be a program name with args.
   2501 set dummy cc; ac_word=$2
   2502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2503 $as_echo_n "checking for $ac_word... " >&6; }
   2504 if ${ac_cv_prog_CC+:} false; then :
   2505   $as_echo_n "(cached) " >&6
   2506 else
   2507   if test -n "$CC"; then
   2508   ac_cv_prog_CC="$CC" # Let the user override the test.
   2509 else
   2510   ac_prog_rejected=no
   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     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   2519        ac_prog_rejected=yes
   2520        continue
   2521      fi
   2522     ac_cv_prog_CC="cc"
   2523     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2524     break 2
   2525   fi
   2526 done
   2527   done
   2528 IFS=$as_save_IFS
   2529 
   2530 if test $ac_prog_rejected = yes; then
   2531   # We found a bogon in the path, so make sure we never use it.
   2532   set dummy $ac_cv_prog_CC
   2533   shift
   2534   if test $# != 0; then
   2535     # We chose a different compiler from the bogus one.
   2536     # However, it has the same basename, so the bogon will be chosen
   2537     # first if we set CC to just the basename; use the full file name.
   2538     shift
   2539     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   2540   fi
   2541 fi
   2542 fi
   2543 fi
   2544 CC=$ac_cv_prog_CC
   2545 if test -n "$CC"; then
   2546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2547 $as_echo "$CC" >&6; }
   2548 else
   2549   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2550 $as_echo "no" >&6; }
   2551 fi
   2552 
   2553 
   2554 fi
   2555 if test -z "$CC"; then
   2556   if test -n "$ac_tool_prefix"; then
   2557   for ac_prog in cl.exe
   2558   do
   2559     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   2560 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   2561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2562 $as_echo_n "checking for $ac_word... " >&6; }
   2563 if ${ac_cv_prog_CC+:} false; then :
   2564   $as_echo_n "(cached) " >&6
   2565 else
   2566   if test -n "$CC"; then
   2567   ac_cv_prog_CC="$CC" # Let the user override the test.
   2568 else
   2569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2570 for as_dir in $PATH
   2571 do
   2572   IFS=$as_save_IFS
   2573   test -z "$as_dir" && as_dir=.
   2574     for ac_exec_ext in '' $ac_executable_extensions; do
   2575   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2576     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   2577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2578     break 2
   2579   fi
   2580 done
   2581   done
   2582 IFS=$as_save_IFS
   2583 
   2584 fi
   2585 fi
   2586 CC=$ac_cv_prog_CC
   2587 if test -n "$CC"; then
   2588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2589 $as_echo "$CC" >&6; }
   2590 else
   2591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2592 $as_echo "no" >&6; }
   2593 fi
   2594 
   2595 
   2596     test -n "$CC" && break
   2597   done
   2598 fi
   2599 if test -z "$CC"; then
   2600   ac_ct_CC=$CC
   2601   for ac_prog in cl.exe
   2602 do
   2603   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2604 set dummy $ac_prog; ac_word=$2
   2605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2606 $as_echo_n "checking for $ac_word... " >&6; }
   2607 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2608   $as_echo_n "(cached) " >&6
   2609 else
   2610   if test -n "$ac_ct_CC"; then
   2611   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2612 else
   2613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2614 for as_dir in $PATH
   2615 do
   2616   IFS=$as_save_IFS
   2617   test -z "$as_dir" && as_dir=.
   2618     for ac_exec_ext in '' $ac_executable_extensions; do
   2619   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2620     ac_cv_prog_ac_ct_CC="$ac_prog"
   2621     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2622     break 2
   2623   fi
   2624 done
   2625   done
   2626 IFS=$as_save_IFS
   2627 
   2628 fi
   2629 fi
   2630 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2631 if test -n "$ac_ct_CC"; then
   2632   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2633 $as_echo "$ac_ct_CC" >&6; }
   2634 else
   2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2636 $as_echo "no" >&6; }
   2637 fi
   2638 
   2639 
   2640   test -n "$ac_ct_CC" && break
   2641 done
   2642 
   2643   if test "x$ac_ct_CC" = x; then
   2644     CC=""
   2645   else
   2646     case $cross_compiling:$ac_tool_warned in
   2647 yes:)
   2648 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2649 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2650 ac_tool_warned=yes ;;
   2651 esac
   2652     CC=$ac_ct_CC
   2653   fi
   2654 fi
   2655 
   2656 fi
   2657 
   2658 
   2659 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2660 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2661 as_fn_error $? "no acceptable C compiler found in \$PATH
   2662 See \`config.log' for more details" "$LINENO" 5; }
   2663 
   2664 # Provide some information about the compiler.
   2665 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   2666 set X $ac_compile
   2667 ac_compiler=$2
   2668 for ac_option in --version -v -V -qversion; do
   2669   { { ac_try="$ac_compiler $ac_option >&5"
   2670 case "(($ac_try" in
   2671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2672   *) ac_try_echo=$ac_try;;
   2673 esac
   2674 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2675 $as_echo "$ac_try_echo"; } >&5
   2676   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   2677   ac_status=$?
   2678   if test -s conftest.err; then
   2679     sed '10a\
   2680 ... rest of stderr output deleted ...
   2681          10q' conftest.err >conftest.er1
   2682     cat conftest.er1 >&5
   2683   fi
   2684   rm -f conftest.er1 conftest.err
   2685   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2686   test $ac_status = 0; }
   2687 done
   2688 
   2689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2690 /* end confdefs.h.  */
   2691 
   2692 int
   2693 main ()
   2694 {
   2695 
   2696   ;
   2697   return 0;
   2698 }
   2699 _ACEOF
   2700 ac_clean_files_save=$ac_clean_files
   2701 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   2702 # Try to create an executable without -o first, disregard a.out.
   2703 # It will help us diagnose broken compilers, and finding out an intuition
   2704 # of exeext.
   2705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   2706 $as_echo_n "checking whether the C compiler works... " >&6; }
   2707 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   2708 
   2709 # The possible output files:
   2710 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   2711 
   2712 ac_rmfiles=
   2713 for ac_file in $ac_files
   2714 do
   2715   case $ac_file in
   2716     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2717     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   2718   esac
   2719 done
   2720 rm -f $ac_rmfiles
   2721 
   2722 if { { ac_try="$ac_link_default"
   2723 case "(($ac_try" in
   2724   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2725   *) ac_try_echo=$ac_try;;
   2726 esac
   2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2728 $as_echo "$ac_try_echo"; } >&5
   2729   (eval "$ac_link_default") 2>&5
   2730   ac_status=$?
   2731   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2732   test $ac_status = 0; }; then :
   2733   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   2734 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   2735 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   2736 # so that the user can short-circuit this test for compilers unknown to
   2737 # Autoconf.
   2738 for ac_file in $ac_files ''
   2739 do
   2740   test -f "$ac_file" || continue
   2741   case $ac_file in
   2742     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   2743 	;;
   2744     [ab].out )
   2745 	# We found the default executable, but exeext='' is most
   2746 	# certainly right.
   2747 	break;;
   2748     *.* )
   2749 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   2750 	then :; else
   2751 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2752 	fi
   2753 	# We set ac_cv_exeext here because the later test for it is not
   2754 	# safe: cross compilers may not add the suffix if given an `-o'
   2755 	# argument, so we may need to know it at that point already.
   2756 	# Even if this section looks crufty: it has the advantage of
   2757 	# actually working.
   2758 	break;;
   2759     * )
   2760 	break;;
   2761   esac
   2762 done
   2763 test "$ac_cv_exeext" = no && ac_cv_exeext=
   2764 
   2765 else
   2766   ac_file=''
   2767 fi
   2768 if test -z "$ac_file"; then :
   2769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2770 $as_echo "no" >&6; }
   2771 $as_echo "$as_me: failed program was:" >&5
   2772 sed 's/^/| /' conftest.$ac_ext >&5
   2773 
   2774 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2775 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2776 as_fn_error 77 "C compiler cannot create executables
   2777 See \`config.log' for more details" "$LINENO" 5; }
   2778 else
   2779   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2780 $as_echo "yes" >&6; }
   2781 fi
   2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   2783 $as_echo_n "checking for C compiler default output file name... " >&6; }
   2784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   2785 $as_echo "$ac_file" >&6; }
   2786 ac_exeext=$ac_cv_exeext
   2787 
   2788 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   2789 ac_clean_files=$ac_clean_files_save
   2790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   2791 $as_echo_n "checking for suffix of executables... " >&6; }
   2792 if { { ac_try="$ac_link"
   2793 case "(($ac_try" in
   2794   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2795   *) ac_try_echo=$ac_try;;
   2796 esac
   2797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2798 $as_echo "$ac_try_echo"; } >&5
   2799   (eval "$ac_link") 2>&5
   2800   ac_status=$?
   2801   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2802   test $ac_status = 0; }; then :
   2803   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2804 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2805 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2806 # `rm'.
   2807 for ac_file in conftest.exe conftest conftest.*; do
   2808   test -f "$ac_file" || continue
   2809   case $ac_file in
   2810     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   2811     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2812 	  break;;
   2813     * ) break;;
   2814   esac
   2815 done
   2816 else
   2817   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2818 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2819 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   2820 See \`config.log' for more details" "$LINENO" 5; }
   2821 fi
   2822 rm -f conftest conftest$ac_cv_exeext
   2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   2824 $as_echo "$ac_cv_exeext" >&6; }
   2825 
   2826 rm -f conftest.$ac_ext
   2827 EXEEXT=$ac_cv_exeext
   2828 ac_exeext=$EXEEXT
   2829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2830 /* end confdefs.h.  */
   2831 #include <stdio.h>
   2832 int
   2833 main ()
   2834 {
   2835 FILE *f = fopen ("conftest.out", "w");
   2836  return ferror (f) || fclose (f) != 0;
   2837 
   2838   ;
   2839   return 0;
   2840 }
   2841 _ACEOF
   2842 ac_clean_files="$ac_clean_files conftest.out"
   2843 # Check that the compiler produces executables we can run.  If not, either
   2844 # the compiler is broken, or we cross compile.
   2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   2846 $as_echo_n "checking whether we are cross compiling... " >&6; }
   2847 if test "$cross_compiling" != yes; then
   2848   { { ac_try="$ac_link"
   2849 case "(($ac_try" in
   2850   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2851   *) ac_try_echo=$ac_try;;
   2852 esac
   2853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2854 $as_echo "$ac_try_echo"; } >&5
   2855   (eval "$ac_link") 2>&5
   2856   ac_status=$?
   2857   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2858   test $ac_status = 0; }
   2859   if { ac_try='./conftest$ac_cv_exeext'
   2860   { { case "(($ac_try" in
   2861   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2862   *) ac_try_echo=$ac_try;;
   2863 esac
   2864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2865 $as_echo "$ac_try_echo"; } >&5
   2866   (eval "$ac_try") 2>&5
   2867   ac_status=$?
   2868   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2869   test $ac_status = 0; }; }; then
   2870     cross_compiling=no
   2871   else
   2872     if test "$cross_compiling" = maybe; then
   2873 	cross_compiling=yes
   2874     else
   2875 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2876 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2877 as_fn_error $? "cannot run C compiled programs.
   2878 If you meant to cross compile, use \`--host'.
   2879 See \`config.log' for more details" "$LINENO" 5; }
   2880     fi
   2881   fi
   2882 fi
   2883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   2884 $as_echo "$cross_compiling" >&6; }
   2885 
   2886 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   2887 ac_clean_files=$ac_clean_files_save
   2888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   2889 $as_echo_n "checking for suffix of object files... " >&6; }
   2890 if ${ac_cv_objext+:} false; then :
   2891   $as_echo_n "(cached) " >&6
   2892 else
   2893   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2894 /* end confdefs.h.  */
   2895 
   2896 int
   2897 main ()
   2898 {
   2899 
   2900   ;
   2901   return 0;
   2902 }
   2903 _ACEOF
   2904 rm -f conftest.o conftest.obj
   2905 if { { ac_try="$ac_compile"
   2906 case "(($ac_try" in
   2907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   2908   *) ac_try_echo=$ac_try;;
   2909 esac
   2910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   2911 $as_echo "$ac_try_echo"; } >&5
   2912   (eval "$ac_compile") 2>&5
   2913   ac_status=$?
   2914   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   2915   test $ac_status = 0; }; then :
   2916   for ac_file in conftest.o conftest.obj conftest.*; do
   2917   test -f "$ac_file" || continue;
   2918   case $ac_file in
   2919     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   2920     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2921        break;;
   2922   esac
   2923 done
   2924 else
   2925   $as_echo "$as_me: failed program was:" >&5
   2926 sed 's/^/| /' conftest.$ac_ext >&5
   2927 
   2928 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2929 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2930 as_fn_error $? "cannot compute suffix of object files: cannot compile
   2931 See \`config.log' for more details" "$LINENO" 5; }
   2932 fi
   2933 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2934 fi
   2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   2936 $as_echo "$ac_cv_objext" >&6; }
   2937 OBJEXT=$ac_cv_objext
   2938 ac_objext=$OBJEXT
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   2940 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   2941 if ${ac_cv_c_compiler_gnu+:} false; then :
   2942   $as_echo_n "(cached) " >&6
   2943 else
   2944   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2945 /* end confdefs.h.  */
   2946 
   2947 int
   2948 main ()
   2949 {
   2950 #ifndef __GNUC__
   2951        choke me
   2952 #endif
   2953 
   2954   ;
   2955   return 0;
   2956 }
   2957 _ACEOF
   2958 if ac_fn_c_try_compile "$LINENO"; then :
   2959   ac_compiler_gnu=yes
   2960 else
   2961   ac_compiler_gnu=no
   2962 fi
   2963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2964 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2965 
   2966 fi
   2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   2968 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   2969 if test $ac_compiler_gnu = yes; then
   2970   GCC=yes
   2971 else
   2972   GCC=
   2973 fi
   2974 ac_test_CFLAGS=${CFLAGS+set}
   2975 ac_save_CFLAGS=$CFLAGS
   2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   2977 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   2978 if ${ac_cv_prog_cc_g+:} false; then :
   2979   $as_echo_n "(cached) " >&6
   2980 else
   2981   ac_save_c_werror_flag=$ac_c_werror_flag
   2982    ac_c_werror_flag=yes
   2983    ac_cv_prog_cc_g=no
   2984    CFLAGS="-g"
   2985    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2986 /* end confdefs.h.  */
   2987 
   2988 int
   2989 main ()
   2990 {
   2991 
   2992   ;
   2993   return 0;
   2994 }
   2995 _ACEOF
   2996 if ac_fn_c_try_compile "$LINENO"; then :
   2997   ac_cv_prog_cc_g=yes
   2998 else
   2999   CFLAGS=""
   3000       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3001 /* end confdefs.h.  */
   3002 
   3003 int
   3004 main ()
   3005 {
   3006 
   3007   ;
   3008   return 0;
   3009 }
   3010 _ACEOF
   3011 if ac_fn_c_try_compile "$LINENO"; then :
   3012 
   3013 else
   3014   ac_c_werror_flag=$ac_save_c_werror_flag
   3015 	 CFLAGS="-g"
   3016 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3017 /* end confdefs.h.  */
   3018 
   3019 int
   3020 main ()
   3021 {
   3022 
   3023   ;
   3024   return 0;
   3025 }
   3026 _ACEOF
   3027 if ac_fn_c_try_compile "$LINENO"; then :
   3028   ac_cv_prog_cc_g=yes
   3029 fi
   3030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3031 fi
   3032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3033 fi
   3034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3035    ac_c_werror_flag=$ac_save_c_werror_flag
   3036 fi
   3037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3038 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3039 if test "$ac_test_CFLAGS" = set; then
   3040   CFLAGS=$ac_save_CFLAGS
   3041 elif test $ac_cv_prog_cc_g = yes; then
   3042   if test "$GCC" = yes; then
   3043     CFLAGS="-g -O2"
   3044   else
   3045     CFLAGS="-g"
   3046   fi
   3047 else
   3048   if test "$GCC" = yes; then
   3049     CFLAGS="-O2"
   3050   else
   3051     CFLAGS=
   3052   fi
   3053 fi
   3054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3055 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3056 if ${ac_cv_prog_cc_c89+:} false; then :
   3057   $as_echo_n "(cached) " >&6
   3058 else
   3059   ac_cv_prog_cc_c89=no
   3060 ac_save_CC=$CC
   3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3062 /* end confdefs.h.  */
   3063 #include <stdarg.h>
   3064 #include <stdio.h>
   3065 struct stat;
   3066 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3067 struct buf { int x; };
   3068 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3069 static char *e (p, i)
   3070      char **p;
   3071      int i;
   3072 {
   3073   return p[i];
   3074 }
   3075 static char *f (char * (*g) (char **, int), char **p, ...)
   3076 {
   3077   char *s;
   3078   va_list v;
   3079   va_start (v,p);
   3080   s = g (p, va_arg (v,int));
   3081   va_end (v);
   3082   return s;
   3083 }
   3084 
   3085 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3086    function prototypes and stuff, but not '\xHH' hex character constants.
   3087    These don't provoke an error unfortunately, instead are silently treated
   3088    as 'x'.  The following induces an error, until -std is added to get
   3089    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3090    array size at least.  It's necessary to write '\x00'==0 to get something
   3091    that's true only with -std.  */
   3092 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3093 
   3094 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3095    inside strings and character constants.  */
   3096 #define FOO(x) 'x'
   3097 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3098 
   3099 int test (int i, double x);
   3100 struct s1 {int (*f) (int a);};
   3101 struct s2 {int (*f) (double a);};
   3102 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3103 int argc;
   3104 char **argv;
   3105 int
   3106 main ()
   3107 {
   3108 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3109   ;
   3110   return 0;
   3111 }
   3112 _ACEOF
   3113 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3114 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3115 do
   3116   CC="$ac_save_CC $ac_arg"
   3117   if ac_fn_c_try_compile "$LINENO"; then :
   3118   ac_cv_prog_cc_c89=$ac_arg
   3119 fi
   3120 rm -f core conftest.err conftest.$ac_objext
   3121   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3122 done
   3123 rm -f conftest.$ac_ext
   3124 CC=$ac_save_CC
   3125 
   3126 fi
   3127 # AC_CACHE_VAL
   3128 case "x$ac_cv_prog_cc_c89" in
   3129   x)
   3130     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3131 $as_echo "none needed" >&6; } ;;
   3132   xno)
   3133     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3134 $as_echo "unsupported" >&6; } ;;
   3135   *)
   3136     CC="$CC $ac_cv_prog_cc_c89"
   3137     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3138 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3139 esac
   3140 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3141 
   3142 fi
   3143 
   3144 ac_ext=c
   3145 ac_cpp='$CPP $CPPFLAGS'
   3146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3149 
   3150 ac_ext=c
   3151 ac_cpp='$CPP $CPPFLAGS'
   3152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3156 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3157 if ${am_cv_prog_cc_c_o+:} false; then :
   3158   $as_echo_n "(cached) " >&6
   3159 else
   3160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3161 /* end confdefs.h.  */
   3162 
   3163 int
   3164 main ()
   3165 {
   3166 
   3167   ;
   3168   return 0;
   3169 }
   3170 _ACEOF
   3171   # Make sure it works both with $CC and with simple cc.
   3172   # Following AC_PROG_CC_C_O, we do the test twice because some
   3173   # compilers refuse to overwrite an existing .o file with -o,
   3174   # though they will create one.
   3175   am_cv_prog_cc_c_o=yes
   3176   for am_i in 1 2; do
   3177     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3178    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3179    ac_status=$?
   3180    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3181    (exit $ac_status); } \
   3182          && test -f conftest2.$ac_objext; then
   3183       : OK
   3184     else
   3185       am_cv_prog_cc_c_o=no
   3186       break
   3187     fi
   3188   done
   3189   rm -f core conftest*
   3190   unset am_i
   3191 fi
   3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3193 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3194 if test "$am_cv_prog_cc_c_o" != yes; then
   3195    # Losing compiler, so override with the script.
   3196    # FIXME: It is wrong to rewrite CC.
   3197    # But if we don't then we get into trouble of one sort or another.
   3198    # A longer-term fix would be to have automake use am__CC in this case,
   3199    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3200    CC="$am_aux_dir/compile $CC"
   3201 fi
   3202 ac_ext=c
   3203 ac_cpp='$CPP $CPPFLAGS'
   3204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3207 
   3208 
   3209 
   3210 ac_ext=c
   3211 ac_cpp='$CPP $CPPFLAGS'
   3212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3216 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3217 # On Suns, sometimes $CPP names a directory.
   3218 if test -n "$CPP" && test -d "$CPP"; then
   3219   CPP=
   3220 fi
   3221 if test -z "$CPP"; then
   3222   if ${ac_cv_prog_CPP+:} false; then :
   3223   $as_echo_n "(cached) " >&6
   3224 else
   3225       # Double quotes because CPP needs to be expanded
   3226     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3227     do
   3228       ac_preproc_ok=false
   3229 for ac_c_preproc_warn_flag in '' yes
   3230 do
   3231   # Use a header file that comes with gcc, so configuring glibc
   3232   # with a fresh cross-compiler works.
   3233   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3234   # <limits.h> exists even on freestanding compilers.
   3235   # On the NeXT, cc -E runs the code through the compiler's parser,
   3236   # not just through cpp. "Syntax error" is here to catch this case.
   3237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3238 /* end confdefs.h.  */
   3239 #ifdef __STDC__
   3240 # include <limits.h>
   3241 #else
   3242 # include <assert.h>
   3243 #endif
   3244 		     Syntax error
   3245 _ACEOF
   3246 if ac_fn_c_try_cpp "$LINENO"; then :
   3247 
   3248 else
   3249   # Broken: fails on valid input.
   3250 continue
   3251 fi
   3252 rm -f conftest.err conftest.i conftest.$ac_ext
   3253 
   3254   # OK, works on sane cases.  Now check whether nonexistent headers
   3255   # can be detected and how.
   3256   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3257 /* end confdefs.h.  */
   3258 #include <ac_nonexistent.h>
   3259 _ACEOF
   3260 if ac_fn_c_try_cpp "$LINENO"; then :
   3261   # Broken: success on invalid input.
   3262 continue
   3263 else
   3264   # Passes both tests.
   3265 ac_preproc_ok=:
   3266 break
   3267 fi
   3268 rm -f conftest.err conftest.i conftest.$ac_ext
   3269 
   3270 done
   3271 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3272 rm -f conftest.i conftest.err conftest.$ac_ext
   3273 if $ac_preproc_ok; then :
   3274   break
   3275 fi
   3276 
   3277     done
   3278     ac_cv_prog_CPP=$CPP
   3279 
   3280 fi
   3281   CPP=$ac_cv_prog_CPP
   3282 else
   3283   ac_cv_prog_CPP=$CPP
   3284 fi
   3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   3286 $as_echo "$CPP" >&6; }
   3287 ac_preproc_ok=false
   3288 for ac_c_preproc_warn_flag in '' yes
   3289 do
   3290   # Use a header file that comes with gcc, so configuring glibc
   3291   # with a fresh cross-compiler works.
   3292   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3293   # <limits.h> exists even on freestanding compilers.
   3294   # On the NeXT, cc -E runs the code through the compiler's parser,
   3295   # not just through cpp. "Syntax error" is here to catch this case.
   3296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3297 /* end confdefs.h.  */
   3298 #ifdef __STDC__
   3299 # include <limits.h>
   3300 #else
   3301 # include <assert.h>
   3302 #endif
   3303 		     Syntax error
   3304 _ACEOF
   3305 if ac_fn_c_try_cpp "$LINENO"; then :
   3306 
   3307 else
   3308   # Broken: fails on valid input.
   3309 continue
   3310 fi
   3311 rm -f conftest.err conftest.i conftest.$ac_ext
   3312 
   3313   # OK, works on sane cases.  Now check whether nonexistent headers
   3314   # can be detected and how.
   3315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3316 /* end confdefs.h.  */
   3317 #include <ac_nonexistent.h>
   3318 _ACEOF
   3319 if ac_fn_c_try_cpp "$LINENO"; then :
   3320   # Broken: success on invalid input.
   3321 continue
   3322 else
   3323   # Passes both tests.
   3324 ac_preproc_ok=:
   3325 break
   3326 fi
   3327 rm -f conftest.err conftest.i conftest.$ac_ext
   3328 
   3329 done
   3330 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   3331 rm -f conftest.i conftest.err conftest.$ac_ext
   3332 if $ac_preproc_ok; then :
   3333 
   3334 else
   3335   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3337 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   3338 See \`config.log' for more details" "$LINENO" 5; }
   3339 fi
   3340 
   3341 ac_ext=c
   3342 ac_cpp='$CPP $CPPFLAGS'
   3343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3346 
   3347 
   3348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   3349 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   3350 if ${ac_cv_path_GREP+:} false; then :
   3351   $as_echo_n "(cached) " >&6
   3352 else
   3353   if test -z "$GREP"; then
   3354   ac_path_GREP_found=false
   3355   # Loop through the user's path and test for each of PROGNAME-LIST
   3356   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3357 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3358 do
   3359   IFS=$as_save_IFS
   3360   test -z "$as_dir" && as_dir=.
   3361     for ac_prog in grep ggrep; do
   3362     for ac_exec_ext in '' $ac_executable_extensions; do
   3363       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   3364       as_fn_executable_p "$ac_path_GREP" || continue
   3365 # Check for GNU ac_path_GREP and select it if it is found.
   3366   # Check for GNU $ac_path_GREP
   3367 case `"$ac_path_GREP" --version 2>&1` in
   3368 *GNU*)
   3369   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   3370 *)
   3371   ac_count=0
   3372   $as_echo_n 0123456789 >"conftest.in"
   3373   while :
   3374   do
   3375     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3376     mv "conftest.tmp" "conftest.in"
   3377     cp "conftest.in" "conftest.nl"
   3378     $as_echo 'GREP' >> "conftest.nl"
   3379     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3380     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3381     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3382     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   3383       # Best one so far, save it but keep looking for a better one
   3384       ac_cv_path_GREP="$ac_path_GREP"
   3385       ac_path_GREP_max=$ac_count
   3386     fi
   3387     # 10*(2^10) chars as input seems more than enough
   3388     test $ac_count -gt 10 && break
   3389   done
   3390   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3391 esac
   3392 
   3393       $ac_path_GREP_found && break 3
   3394     done
   3395   done
   3396   done
   3397 IFS=$as_save_IFS
   3398   if test -z "$ac_cv_path_GREP"; then
   3399     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3400   fi
   3401 else
   3402   ac_cv_path_GREP=$GREP
   3403 fi
   3404 
   3405 fi
   3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   3407 $as_echo "$ac_cv_path_GREP" >&6; }
   3408  GREP="$ac_cv_path_GREP"
   3409 
   3410 
   3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   3412 $as_echo_n "checking for egrep... " >&6; }
   3413 if ${ac_cv_path_EGREP+:} false; then :
   3414   $as_echo_n "(cached) " >&6
   3415 else
   3416   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   3417    then ac_cv_path_EGREP="$GREP -E"
   3418    else
   3419      if test -z "$EGREP"; then
   3420   ac_path_EGREP_found=false
   3421   # Loop through the user's path and test for each of PROGNAME-LIST
   3422   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3423 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   3424 do
   3425   IFS=$as_save_IFS
   3426   test -z "$as_dir" && as_dir=.
   3427     for ac_prog in egrep; do
   3428     for ac_exec_ext in '' $ac_executable_extensions; do
   3429       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   3430       as_fn_executable_p "$ac_path_EGREP" || continue
   3431 # Check for GNU ac_path_EGREP and select it if it is found.
   3432   # Check for GNU $ac_path_EGREP
   3433 case `"$ac_path_EGREP" --version 2>&1` in
   3434 *GNU*)
   3435   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   3436 *)
   3437   ac_count=0
   3438   $as_echo_n 0123456789 >"conftest.in"
   3439   while :
   3440   do
   3441     cat "conftest.in" "conftest.in" >"conftest.tmp"
   3442     mv "conftest.tmp" "conftest.in"
   3443     cp "conftest.in" "conftest.nl"
   3444     $as_echo 'EGREP' >> "conftest.nl"
   3445     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   3446     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   3447     as_fn_arith $ac_count + 1 && ac_count=$as_val
   3448     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   3449       # Best one so far, save it but keep looking for a better one
   3450       ac_cv_path_EGREP="$ac_path_EGREP"
   3451       ac_path_EGREP_max=$ac_count
   3452     fi
   3453     # 10*(2^10) chars as input seems more than enough
   3454     test $ac_count -gt 10 && break
   3455   done
   3456   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   3457 esac
   3458 
   3459       $ac_path_EGREP_found && break 3
   3460     done
   3461   done
   3462   done
   3463 IFS=$as_save_IFS
   3464   if test -z "$ac_cv_path_EGREP"; then
   3465     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   3466   fi
   3467 else
   3468   ac_cv_path_EGREP=$EGREP
   3469 fi
   3470 
   3471    fi
   3472 fi
   3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   3474 $as_echo "$ac_cv_path_EGREP" >&6; }
   3475  EGREP="$ac_cv_path_EGREP"
   3476 
   3477 
   3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   3479 $as_echo_n "checking for ANSI C header files... " >&6; }
   3480 if ${ac_cv_header_stdc+:} false; then :
   3481   $as_echo_n "(cached) " >&6
   3482 else
   3483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3484 /* end confdefs.h.  */
   3485 #include <stdlib.h>
   3486 #include <stdarg.h>
   3487 #include <string.h>
   3488 #include <float.h>
   3489 
   3490 int
   3491 main ()
   3492 {
   3493 
   3494   ;
   3495   return 0;
   3496 }
   3497 _ACEOF
   3498 if ac_fn_c_try_compile "$LINENO"; then :
   3499   ac_cv_header_stdc=yes
   3500 else
   3501   ac_cv_header_stdc=no
   3502 fi
   3503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3504 
   3505 if test $ac_cv_header_stdc = yes; then
   3506   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   3507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3508 /* end confdefs.h.  */
   3509 #include <string.h>
   3510 
   3511 _ACEOF
   3512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3513   $EGREP "memchr" >/dev/null 2>&1; then :
   3514 
   3515 else
   3516   ac_cv_header_stdc=no
   3517 fi
   3518 rm -f conftest*
   3519 
   3520 fi
   3521 
   3522 if test $ac_cv_header_stdc = yes; then
   3523   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   3524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3525 /* end confdefs.h.  */
   3526 #include <stdlib.h>
   3527 
   3528 _ACEOF
   3529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   3530   $EGREP "free" >/dev/null 2>&1; then :
   3531 
   3532 else
   3533   ac_cv_header_stdc=no
   3534 fi
   3535 rm -f conftest*
   3536 
   3537 fi
   3538 
   3539 if test $ac_cv_header_stdc = yes; then
   3540   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   3541   if test "$cross_compiling" = yes; then :
   3542   :
   3543 else
   3544   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3545 /* end confdefs.h.  */
   3546 #include <ctype.h>
   3547 #include <stdlib.h>
   3548 #if ((' ' & 0x0FF) == 0x020)
   3549 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   3550 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   3551 #else
   3552 # define ISLOWER(c) \
   3553 		   (('a' <= (c) && (c) <= 'i') \
   3554 		     || ('j' <= (c) && (c) <= 'r') \
   3555 		     || ('s' <= (c) && (c) <= 'z'))
   3556 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   3557 #endif
   3558 
   3559 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   3560 int
   3561 main ()
   3562 {
   3563   int i;
   3564   for (i = 0; i < 256; i++)
   3565     if (XOR (islower (i), ISLOWER (i))
   3566 	|| toupper (i) != TOUPPER (i))
   3567       return 2;
   3568   return 0;
   3569 }
   3570 _ACEOF
   3571 if ac_fn_c_try_run "$LINENO"; then :
   3572 
   3573 else
   3574   ac_cv_header_stdc=no
   3575 fi
   3576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   3577   conftest.$ac_objext conftest.beam conftest.$ac_ext
   3578 fi
   3579 
   3580 fi
   3581 fi
   3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   3583 $as_echo "$ac_cv_header_stdc" >&6; }
   3584 if test $ac_cv_header_stdc = yes; then
   3585 
   3586 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   3587 
   3588 fi
   3589 
   3590 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   3591 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   3592 		  inttypes.h stdint.h unistd.h
   3593 do :
   3594   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   3595 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   3596 "
   3597 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   3598   cat >>confdefs.h <<_ACEOF
   3599 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   3600 _ACEOF
   3601 
   3602 fi
   3603 
   3604 done
   3605 
   3606 
   3607 
   3608   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   3609 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   3610   MINIX=yes
   3611 else
   3612   MINIX=
   3613 fi
   3614 
   3615 
   3616   if test "$MINIX" = yes; then
   3617 
   3618 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   3619 
   3620 
   3621 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   3622 
   3623 
   3624 $as_echo "#define _MINIX 1" >>confdefs.h
   3625 
   3626   fi
   3627 
   3628 
   3629   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   3630 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   3631 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   3632   $as_echo_n "(cached) " >&6
   3633 else
   3634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3635 /* end confdefs.h.  */
   3636 
   3637 #         define __EXTENSIONS__ 1
   3638           $ac_includes_default
   3639 int
   3640 main ()
   3641 {
   3642 
   3643   ;
   3644   return 0;
   3645 }
   3646 _ACEOF
   3647 if ac_fn_c_try_compile "$LINENO"; then :
   3648   ac_cv_safe_to_define___extensions__=yes
   3649 else
   3650   ac_cv_safe_to_define___extensions__=no
   3651 fi
   3652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3653 fi
   3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   3655 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   3656   test $ac_cv_safe_to_define___extensions__ = yes &&
   3657     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   3658 
   3659   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   3660 
   3661   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   3662 
   3663   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   3664 
   3665   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   3666 
   3667 
   3668 
   3669 # Initialize Automake
   3670 am__api_version='1.15'
   3671 
   3672 # Find a good install program.  We prefer a C program (faster),
   3673 # so one script is as good as another.  But avoid the broken or
   3674 # incompatible versions:
   3675 # SysV /etc/install, /usr/sbin/install
   3676 # SunOS /usr/etc/install
   3677 # IRIX /sbin/install
   3678 # AIX /bin/install
   3679 # AmigaOS /C/install, which installs bootblocks on floppy discs
   3680 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   3681 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   3682 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   3683 # OS/2's system install, which has a completely different semantic
   3684 # ./install, which can be erroneously created by make from ./install.sh.
   3685 # Reject install programs that cannot install multiple files.
   3686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   3687 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   3688 if test -z "$INSTALL"; then
   3689 if ${ac_cv_path_install+:} false; then :
   3690   $as_echo_n "(cached) " >&6
   3691 else
   3692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3693 for as_dir in $PATH
   3694 do
   3695   IFS=$as_save_IFS
   3696   test -z "$as_dir" && as_dir=.
   3697     # Account for people who put trailing slashes in PATH elements.
   3698 case $as_dir/ in #((
   3699   ./ | .// | /[cC]/* | \
   3700   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   3701   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   3702   /usr/ucb/* ) ;;
   3703   *)
   3704     # OSF1 and SCO ODT 3.0 have their own names for install.
   3705     # Don't use installbsd from OSF since it installs stuff as root
   3706     # by default.
   3707     for ac_prog in ginstall scoinst install; do
   3708       for ac_exec_ext in '' $ac_executable_extensions; do
   3709 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   3710 	  if test $ac_prog = install &&
   3711 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3712 	    # AIX install.  It has an incompatible calling convention.
   3713 	    :
   3714 	  elif test $ac_prog = install &&
   3715 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   3716 	    # program-specific install script used by HP pwplus--don't use.
   3717 	    :
   3718 	  else
   3719 	    rm -rf conftest.one conftest.two conftest.dir
   3720 	    echo one > conftest.one
   3721 	    echo two > conftest.two
   3722 	    mkdir conftest.dir
   3723 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   3724 	      test -s conftest.one && test -s conftest.two &&
   3725 	      test -s conftest.dir/conftest.one &&
   3726 	      test -s conftest.dir/conftest.two
   3727 	    then
   3728 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   3729 	      break 3
   3730 	    fi
   3731 	  fi
   3732 	fi
   3733       done
   3734     done
   3735     ;;
   3736 esac
   3737 
   3738   done
   3739 IFS=$as_save_IFS
   3740 
   3741 rm -rf conftest.one conftest.two conftest.dir
   3742 
   3743 fi
   3744   if test "${ac_cv_path_install+set}" = set; then
   3745     INSTALL=$ac_cv_path_install
   3746   else
   3747     # As a last resort, use the slow shell script.  Don't cache a
   3748     # value for INSTALL within a source directory, because that will
   3749     # break other packages using the cache if that directory is
   3750     # removed, or if the value is a relative name.
   3751     INSTALL=$ac_install_sh
   3752   fi
   3753 fi
   3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   3755 $as_echo "$INSTALL" >&6; }
   3756 
   3757 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   3758 # It thinks the first close brace ends the variable substitution.
   3759 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   3760 
   3761 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   3762 
   3763 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   3764 
   3765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   3766 $as_echo_n "checking whether build environment is sane... " >&6; }
   3767 # Reject unsafe characters in $srcdir or the absolute working directory
   3768 # name.  Accept space and tab only in the latter.
   3769 am_lf='
   3770 '
   3771 case `pwd` in
   3772   *[\\\"\#\$\&\'\`$am_lf]*)
   3773     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   3774 esac
   3775 case $srcdir in
   3776   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   3777     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   3778 esac
   3779 
   3780 # Do 'set' in a subshell so we don't clobber the current shell's
   3781 # arguments.  Must try -L first in case configure is actually a
   3782 # symlink; some systems play weird games with the mod time of symlinks
   3783 # (eg FreeBSD returns the mod time of the symlink's containing
   3784 # directory).
   3785 if (
   3786    am_has_slept=no
   3787    for am_try in 1 2; do
   3788      echo "timestamp, slept: $am_has_slept" > conftest.file
   3789      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   3790      if test "$*" = "X"; then
   3791 	# -L didn't work.
   3792 	set X `ls -t "$srcdir/configure" conftest.file`
   3793      fi
   3794      if test "$*" != "X $srcdir/configure conftest.file" \
   3795 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   3796 
   3797 	# If neither matched, then we have a broken ls.  This can happen
   3798 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   3799 	# broken ls alias from the environment.  This has actually
   3800 	# happened.  Such a system could not be considered "sane".
   3801 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   3802   alias in your environment" "$LINENO" 5
   3803      fi
   3804      if test "$2" = conftest.file || test $am_try -eq 2; then
   3805        break
   3806      fi
   3807      # Just in case.
   3808      sleep 1
   3809      am_has_slept=yes
   3810    done
   3811    test "$2" = conftest.file
   3812    )
   3813 then
   3814    # Ok.
   3815    :
   3816 else
   3817    as_fn_error $? "newly created file is older than distributed files!
   3818 Check your system clock" "$LINENO" 5
   3819 fi
   3820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3821 $as_echo "yes" >&6; }
   3822 # If we didn't sleep, we still need to ensure time stamps of config.status and
   3823 # generated files are strictly newer.
   3824 am_sleep_pid=
   3825 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   3826   ( sleep 1 ) &
   3827   am_sleep_pid=$!
   3828 fi
   3829 
   3830 rm -f conftest.file
   3831 
   3832 test "$program_prefix" != NONE &&
   3833   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   3834 # Use a double $ so make ignores it.
   3835 test "$program_suffix" != NONE &&
   3836   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   3837 # Double any \ or $.
   3838 # By default was `s,x,x', remove it if useless.
   3839 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   3840 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   3841 
   3842 if test x"${MISSING+set}" != xset; then
   3843   case $am_aux_dir in
   3844   *\ * | *\	*)
   3845     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   3846   *)
   3847     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   3848   esac
   3849 fi
   3850 # Use eval to expand $SHELL
   3851 if eval "$MISSING --is-lightweight"; then
   3852   am_missing_run="$MISSING "
   3853 else
   3854   am_missing_run=
   3855   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   3856 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   3857 fi
   3858 
   3859 if test x"${install_sh+set}" != xset; then
   3860   case $am_aux_dir in
   3861   *\ * | *\	*)
   3862     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   3863   *)
   3864     install_sh="\${SHELL} $am_aux_dir/install-sh"
   3865   esac
   3866 fi
   3867 
   3868 # Installed binaries are usually stripped using 'strip' when the user
   3869 # run "make install-strip".  However 'strip' might not be the right
   3870 # tool to use in cross-compilation environments, therefore Automake
   3871 # will honor the 'STRIP' environment variable to overrule this program.
   3872 if test "$cross_compiling" != no; then
   3873   if test -n "$ac_tool_prefix"; then
   3874   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3875 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3877 $as_echo_n "checking for $ac_word... " >&6; }
   3878 if ${ac_cv_prog_STRIP+:} false; then :
   3879   $as_echo_n "(cached) " >&6
   3880 else
   3881   if test -n "$STRIP"; then
   3882   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3883 else
   3884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3885 for as_dir in $PATH
   3886 do
   3887   IFS=$as_save_IFS
   3888   test -z "$as_dir" && as_dir=.
   3889     for ac_exec_ext in '' $ac_executable_extensions; do
   3890   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3891     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3892     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3893     break 2
   3894   fi
   3895 done
   3896   done
   3897 IFS=$as_save_IFS
   3898 
   3899 fi
   3900 fi
   3901 STRIP=$ac_cv_prog_STRIP
   3902 if test -n "$STRIP"; then
   3903   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   3904 $as_echo "$STRIP" >&6; }
   3905 else
   3906   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3907 $as_echo "no" >&6; }
   3908 fi
   3909 
   3910 
   3911 fi
   3912 if test -z "$ac_cv_prog_STRIP"; then
   3913   ac_ct_STRIP=$STRIP
   3914   # Extract the first word of "strip", so it can be a program name with args.
   3915 set dummy strip; ac_word=$2
   3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3917 $as_echo_n "checking for $ac_word... " >&6; }
   3918 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   3919   $as_echo_n "(cached) " >&6
   3920 else
   3921   if test -n "$ac_ct_STRIP"; then
   3922   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3923 else
   3924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3925 for as_dir in $PATH
   3926 do
   3927   IFS=$as_save_IFS
   3928   test -z "$as_dir" && as_dir=.
   3929     for ac_exec_ext in '' $ac_executable_extensions; do
   3930   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3931     ac_cv_prog_ac_ct_STRIP="strip"
   3932     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3933     break 2
   3934   fi
   3935 done
   3936   done
   3937 IFS=$as_save_IFS
   3938 
   3939 fi
   3940 fi
   3941 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3942 if test -n "$ac_ct_STRIP"; then
   3943   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   3944 $as_echo "$ac_ct_STRIP" >&6; }
   3945 else
   3946   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3947 $as_echo "no" >&6; }
   3948 fi
   3949 
   3950   if test "x$ac_ct_STRIP" = x; then
   3951     STRIP=":"
   3952   else
   3953     case $cross_compiling:$ac_tool_warned in
   3954 yes:)
   3955 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3956 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3957 ac_tool_warned=yes ;;
   3958 esac
   3959     STRIP=$ac_ct_STRIP
   3960   fi
   3961 else
   3962   STRIP="$ac_cv_prog_STRIP"
   3963 fi
   3964 
   3965 fi
   3966 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   3967 
   3968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   3969 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   3970 if test -z "$MKDIR_P"; then
   3971   if ${ac_cv_path_mkdir+:} false; then :
   3972   $as_echo_n "(cached) " >&6
   3973 else
   3974   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3975 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   3976 do
   3977   IFS=$as_save_IFS
   3978   test -z "$as_dir" && as_dir=.
   3979     for ac_prog in mkdir gmkdir; do
   3980 	 for ac_exec_ext in '' $ac_executable_extensions; do
   3981 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   3982 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   3983 	     'mkdir (GNU coreutils) '* | \
   3984 	     'mkdir (coreutils) '* | \
   3985 	     'mkdir (fileutils) '4.1*)
   3986 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   3987 	       break 3;;
   3988 	   esac
   3989 	 done
   3990        done
   3991   done
   3992 IFS=$as_save_IFS
   3993 
   3994 fi
   3995 
   3996   test -d ./--version && rmdir ./--version
   3997   if test "${ac_cv_path_mkdir+set}" = set; then
   3998     MKDIR_P="$ac_cv_path_mkdir -p"
   3999   else
   4000     # As a last resort, use the slow shell script.  Don't cache a
   4001     # value for MKDIR_P within a source directory, because that will
   4002     # break other packages using the cache if that directory is
   4003     # removed, or if the value is a relative name.
   4004     MKDIR_P="$ac_install_sh -d"
   4005   fi
   4006 fi
   4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   4008 $as_echo "$MKDIR_P" >&6; }
   4009 
   4010 for ac_prog in gawk mawk nawk awk
   4011 do
   4012   # Extract the first word of "$ac_prog", so it can be a program name with args.
   4013 set dummy $ac_prog; ac_word=$2
   4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4015 $as_echo_n "checking for $ac_word... " >&6; }
   4016 if ${ac_cv_prog_AWK+:} false; then :
   4017   $as_echo_n "(cached) " >&6
   4018 else
   4019   if test -n "$AWK"; then
   4020   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   4021 else
   4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4023 for as_dir in $PATH
   4024 do
   4025   IFS=$as_save_IFS
   4026   test -z "$as_dir" && as_dir=.
   4027     for ac_exec_ext in '' $ac_executable_extensions; do
   4028   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4029     ac_cv_prog_AWK="$ac_prog"
   4030     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4031     break 2
   4032   fi
   4033 done
   4034   done
   4035 IFS=$as_save_IFS
   4036 
   4037 fi
   4038 fi
   4039 AWK=$ac_cv_prog_AWK
   4040 if test -n "$AWK"; then
   4041   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   4042 $as_echo "$AWK" >&6; }
   4043 else
   4044   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4045 $as_echo "no" >&6; }
   4046 fi
   4047 
   4048 
   4049   test -n "$AWK" && break
   4050 done
   4051 
   4052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   4053 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   4054 set x ${MAKE-make}
   4055 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   4056 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   4057   $as_echo_n "(cached) " >&6
   4058 else
   4059   cat >conftest.make <<\_ACEOF
   4060 SHELL = /bin/sh
   4061 all:
   4062 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   4063 _ACEOF
   4064 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   4065 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   4066   *@@@%%%=?*=@@@%%%*)
   4067     eval ac_cv_prog_make_${ac_make}_set=yes;;
   4068   *)
   4069     eval ac_cv_prog_make_${ac_make}_set=no;;
   4070 esac
   4071 rm -f conftest.make
   4072 fi
   4073 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   4074   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4075 $as_echo "yes" >&6; }
   4076   SET_MAKE=
   4077 else
   4078   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4079 $as_echo "no" >&6; }
   4080   SET_MAKE="MAKE=${MAKE-make}"
   4081 fi
   4082 
   4083 rm -rf .tst 2>/dev/null
   4084 mkdir .tst 2>/dev/null
   4085 if test -d .tst; then
   4086   am__leading_dot=.
   4087 else
   4088   am__leading_dot=_
   4089 fi
   4090 rmdir .tst 2>/dev/null
   4091 
   4092 DEPDIR="${am__leading_dot}deps"
   4093 
   4094 ac_config_commands="$ac_config_commands depfiles"
   4095 
   4096 
   4097 am_make=${MAKE-make}
   4098 cat > confinc << 'END'
   4099 am__doit:
   4100 	@echo this is the am__doit target
   4101 .PHONY: am__doit
   4102 END
   4103 # If we don't find an include directive, just comment out the code.
   4104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   4105 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   4106 am__include="#"
   4107 am__quote=
   4108 _am_result=none
   4109 # First try GNU make style include.
   4110 echo "include confinc" > confmf
   4111 # Ignore all kinds of additional output from 'make'.
   4112 case `$am_make -s -f confmf 2> /dev/null` in #(
   4113 *the\ am__doit\ target*)
   4114   am__include=include
   4115   am__quote=
   4116   _am_result=GNU
   4117   ;;
   4118 esac
   4119 # Now try BSD make style include.
   4120 if test "$am__include" = "#"; then
   4121    echo '.include "confinc"' > confmf
   4122    case `$am_make -s -f confmf 2> /dev/null` in #(
   4123    *the\ am__doit\ target*)
   4124      am__include=.include
   4125      am__quote="\""
   4126      _am_result=BSD
   4127      ;;
   4128    esac
   4129 fi
   4130 
   4131 
   4132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   4133 $as_echo "$_am_result" >&6; }
   4134 rm -f confinc confmf
   4135 
   4136 # Check whether --enable-dependency-tracking was given.
   4137 if test "${enable_dependency_tracking+set}" = set; then :
   4138   enableval=$enable_dependency_tracking;
   4139 fi
   4140 
   4141 if test "x$enable_dependency_tracking" != xno; then
   4142   am_depcomp="$ac_aux_dir/depcomp"
   4143   AMDEPBACKSLASH='\'
   4144   am__nodep='_no'
   4145 fi
   4146  if test "x$enable_dependency_tracking" != xno; then
   4147   AMDEP_TRUE=
   4148   AMDEP_FALSE='#'
   4149 else
   4150   AMDEP_TRUE='#'
   4151   AMDEP_FALSE=
   4152 fi
   4153 
   4154 
   4155 # Check whether --enable-silent-rules was given.
   4156 if test "${enable_silent_rules+set}" = set; then :
   4157   enableval=$enable_silent_rules;
   4158 fi
   4159 
   4160 case $enable_silent_rules in # (((
   4161   yes) AM_DEFAULT_VERBOSITY=0;;
   4162    no) AM_DEFAULT_VERBOSITY=1;;
   4163     *) AM_DEFAULT_VERBOSITY=1;;
   4164 esac
   4165 am_make=${MAKE-make}
   4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   4167 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   4168 if ${am_cv_make_support_nested_variables+:} false; then :
   4169   $as_echo_n "(cached) " >&6
   4170 else
   4171   if $as_echo 'TRUE=$(BAR$(V))
   4172 BAR0=false
   4173 BAR1=true
   4174 V=1
   4175 am__doit:
   4176 	@$(TRUE)
   4177 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   4178   am_cv_make_support_nested_variables=yes
   4179 else
   4180   am_cv_make_support_nested_variables=no
   4181 fi
   4182 fi
   4183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   4184 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   4185 if test $am_cv_make_support_nested_variables = yes; then
   4186     AM_V='$(V)'
   4187   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   4188 else
   4189   AM_V=$AM_DEFAULT_VERBOSITY
   4190   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   4191 fi
   4192 AM_BACKSLASH='\'
   4193 
   4194 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   4195   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   4196   # is not polluted with repeated "-I."
   4197   am__isrc=' -I$(srcdir)'
   4198   # test to see if srcdir already configured
   4199   if test -f $srcdir/config.status; then
   4200     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   4201   fi
   4202 fi
   4203 
   4204 # test whether we have cygpath
   4205 if test -z "$CYGPATH_W"; then
   4206   if (cygpath --version) >/dev/null 2>/dev/null; then
   4207     CYGPATH_W='cygpath -w'
   4208   else
   4209     CYGPATH_W=echo
   4210   fi
   4211 fi
   4212 
   4213 
   4214 # Define the identity of the package.
   4215  PACKAGE='xf86-input-mouse'
   4216  VERSION='1.9.2'
   4217 
   4218 
   4219 cat >>confdefs.h <<_ACEOF
   4220 #define PACKAGE "$PACKAGE"
   4221 _ACEOF
   4222 
   4223 
   4224 cat >>confdefs.h <<_ACEOF
   4225 #define VERSION "$VERSION"
   4226 _ACEOF
   4227 
   4228 # Some tools Automake needs.
   4229 
   4230 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   4231 
   4232 
   4233 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   4234 
   4235 
   4236 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   4237 
   4238 
   4239 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   4240 
   4241 
   4242 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   4243 
   4244 # For better backward compatibility.  To be removed once Automake 1.9.x
   4245 # dies out for good.  For more background, see:
   4246 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   4247 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   4248 mkdir_p='$(MKDIR_P)'
   4249 
   4250 # We need awk for the "check" target (and possibly the TAP driver).  The
   4251 # system "awk" is bad on some platforms.
   4252 # Always define AMTAR for backward compatibility.  Yes, it's still used
   4253 # in the wild :-(  We should find a proper way to deprecate it ...
   4254 AMTAR='$${TAR-tar}'
   4255 
   4256 
   4257 # We'll loop over all known methods to create a tar archive until one works.
   4258 _am_tools='gnutar  pax cpio none'
   4259 
   4260 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   4261 
   4262 
   4263 
   4264 
   4265 
   4266 depcc="$CC"   am_compiler_list=
   4267 
   4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   4269 $as_echo_n "checking dependency style of $depcc... " >&6; }
   4270 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   4271   $as_echo_n "(cached) " >&6
   4272 else
   4273   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   4274   # We make a subdir and do the tests there.  Otherwise we can end up
   4275   # making bogus files that we don't know about and never remove.  For
   4276   # instance it was reported that on HP-UX the gcc test will end up
   4277   # making a dummy file named 'D' -- because '-MD' means "put the output
   4278   # in D".
   4279   rm -rf conftest.dir
   4280   mkdir conftest.dir
   4281   # Copy depcomp to subdir because otherwise we won't find it if we're
   4282   # using a relative directory.
   4283   cp "$am_depcomp" conftest.dir
   4284   cd conftest.dir
   4285   # We will build objects and dependencies in a subdirectory because
   4286   # it helps to detect inapplicable dependency modes.  For instance
   4287   # both Tru64's cc and ICC support -MD to output dependencies as a
   4288   # side effect of compilation, but ICC will put the dependencies in
   4289   # the current directory while Tru64 will put them in the object
   4290   # directory.
   4291   mkdir sub
   4292 
   4293   am_cv_CC_dependencies_compiler_type=none
   4294   if test "$am_compiler_list" = ""; then
   4295      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4296   fi
   4297   am__universal=false
   4298   case " $depcc " in #(
   4299      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4300      esac
   4301 
   4302   for depmode in $am_compiler_list; do
   4303     # Setup a source with many dependencies, because some compilers
   4304     # like to wrap large dependency lists on column 80 (with \), and
   4305     # we should not choose a depcomp mode which is confused by this.
   4306     #
   4307     # We need to recreate these files for each test, as the compiler may
   4308     # overwrite some of them when testing with obscure command lines.
   4309     # This happens at least with the AIX C compiler.
   4310     : > sub/conftest.c
   4311     for i in 1 2 3 4 5 6; do
   4312       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4313       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4314       # Solaris 10 /bin/sh.
   4315       echo '/* dummy */' > sub/conftst$i.h
   4316     done
   4317     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4318 
   4319     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4320     # mode.  It turns out that the SunPro C++ compiler does not properly
   4321     # handle '-M -o', and we need to detect this.  Also, some Intel
   4322     # versions had trouble with output in subdirs.
   4323     am__obj=sub/conftest.${OBJEXT-o}
   4324     am__minus_obj="-o $am__obj"
   4325     case $depmode in
   4326     gcc)
   4327       # This depmode causes a compiler race in universal mode.
   4328       test "$am__universal" = false || continue
   4329       ;;
   4330     nosideeffect)
   4331       # After this tag, mechanisms are not by side-effect, so they'll
   4332       # only be used when explicitly requested.
   4333       if test "x$enable_dependency_tracking" = xyes; then
   4334 	continue
   4335       else
   4336 	break
   4337       fi
   4338       ;;
   4339     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4340       # This compiler won't grok '-c -o', but also, the minuso test has
   4341       # not run yet.  These depmodes are late enough in the game, and
   4342       # so weak that their functioning should not be impacted.
   4343       am__obj=conftest.${OBJEXT-o}
   4344       am__minus_obj=
   4345       ;;
   4346     none) break ;;
   4347     esac
   4348     if depmode=$depmode \
   4349        source=sub/conftest.c object=$am__obj \
   4350        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4351        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4352          >/dev/null 2>conftest.err &&
   4353        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4354        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4355        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4356        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4357       # icc doesn't choke on unknown options, it will just issue warnings
   4358       # or remarks (even with -Werror).  So we grep stderr for any message
   4359       # that says an option was ignored or not supported.
   4360       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4361       #   icc: Command line warning: ignoring option '-M'; no argument required
   4362       # The diagnosis changed in icc 8.0:
   4363       #   icc: Command line remark: option '-MP' not supported
   4364       if (grep 'ignoring option' conftest.err ||
   4365           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4366         am_cv_CC_dependencies_compiler_type=$depmode
   4367         break
   4368       fi
   4369     fi
   4370   done
   4371 
   4372   cd ..
   4373   rm -rf conftest.dir
   4374 else
   4375   am_cv_CC_dependencies_compiler_type=none
   4376 fi
   4377 
   4378 fi
   4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4380 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4381 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4382 
   4383  if
   4384   test "x$enable_dependency_tracking" != xno \
   4385   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4386   am__fastdepCC_TRUE=
   4387   am__fastdepCC_FALSE='#'
   4388 else
   4389   am__fastdepCC_TRUE='#'
   4390   am__fastdepCC_FALSE=
   4391 fi
   4392 
   4393 
   4394 
   4395 # POSIX will say in a future version that running "rm -f" with no argument
   4396 # is OK; and we want to be able to make that assumption in our Makefile
   4397 # recipes.  So use an aggressive probe to check that the usage we want is
   4398 # actually supported "in the wild" to an acceptable degree.
   4399 # See automake bug#10828.
   4400 # To make any issue more visible, cause the running configure to be aborted
   4401 # by default if the 'rm' program in use doesn't match our expectations; the
   4402 # user can still override this though.
   4403 if rm -f && rm -fr && rm -rf; then : OK; else
   4404   cat >&2 <<'END'
   4405 Oops!
   4406 
   4407 Your 'rm' program seems unable to run without file operands specified
   4408 on the command line, even when the '-f' option is present.  This is contrary
   4409 to the behaviour of most rm programs out there, and not conforming with
   4410 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   4411 
   4412 Please tell bug-automake@gnu.org about your system, including the value
   4413 of your $PATH and any error possibly output before this message.  This
   4414 can help us improve future automake versions.
   4415 
   4416 END
   4417   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   4418     echo 'Configuration will proceed anyway, since you have set the' >&2
   4419     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   4420     echo >&2
   4421   else
   4422     cat >&2 <<'END'
   4423 Aborting the configuration process, to ensure you take notice of the issue.
   4424 
   4425 You can download and install GNU coreutils to get an 'rm' implementation
   4426 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   4427 
   4428 If you want to complete the configuration process using your problematic
   4429 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   4430 to "yes", and re-run configure.
   4431 
   4432 END
   4433     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   4434   fi
   4435 fi
   4436 
   4437 
   4438 # Initialize libtool
   4439 # Check whether --enable-static was given.
   4440 if test "${enable_static+set}" = set; then :
   4441   enableval=$enable_static; p=${PACKAGE-default}
   4442     case $enableval in
   4443     yes) enable_static=yes ;;
   4444     no) enable_static=no ;;
   4445     *)
   4446      enable_static=no
   4447       # Look at the argument we got.  We use all the common list separators.
   4448       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   4449       for pkg in $enableval; do
   4450 	IFS=$lt_save_ifs
   4451 	if test "X$pkg" = "X$p"; then
   4452 	  enable_static=yes
   4453 	fi
   4454       done
   4455       IFS=$lt_save_ifs
   4456       ;;
   4457     esac
   4458 else
   4459   enable_static=no
   4460 fi
   4461 
   4462 
   4463 
   4464 
   4465 
   4466 
   4467 
   4468 
   4469 
   4470 case `pwd` in
   4471   *\ * | *\	*)
   4472     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4473 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4474 esac
   4475 
   4476 
   4477 
   4478 macro_version='2.4.6'
   4479 macro_revision='2.4.6'
   4480 
   4481 
   4482 
   4483 
   4484 
   4485 
   4486 
   4487 
   4488 
   4489 
   4490 
   4491 
   4492 
   4493 ltmain=$ac_aux_dir/ltmain.sh
   4494 
   4495 # Make sure we can run config.sub.
   4496 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4497   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4498 
   4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4500 $as_echo_n "checking build system type... " >&6; }
   4501 if ${ac_cv_build+:} false; then :
   4502   $as_echo_n "(cached) " >&6
   4503 else
   4504   ac_build_alias=$build_alias
   4505 test "x$ac_build_alias" = x &&
   4506   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4507 test "x$ac_build_alias" = x &&
   4508   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4509 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4510   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4511 
   4512 fi
   4513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4514 $as_echo "$ac_cv_build" >&6; }
   4515 case $ac_cv_build in
   4516 *-*-*) ;;
   4517 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4518 esac
   4519 build=$ac_cv_build
   4520 ac_save_IFS=$IFS; IFS='-'
   4521 set x $ac_cv_build
   4522 shift
   4523 build_cpu=$1
   4524 build_vendor=$2
   4525 shift; shift
   4526 # Remember, the first character of IFS is used to create $*,
   4527 # except with old shells:
   4528 build_os=$*
   4529 IFS=$ac_save_IFS
   4530 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4531 
   4532 
   4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4534 $as_echo_n "checking host system type... " >&6; }
   4535 if ${ac_cv_host+:} false; then :
   4536   $as_echo_n "(cached) " >&6
   4537 else
   4538   if test "x$host_alias" = x; then
   4539   ac_cv_host=$ac_cv_build
   4540 else
   4541   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4542     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4543 fi
   4544 
   4545 fi
   4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4547 $as_echo "$ac_cv_host" >&6; }
   4548 case $ac_cv_host in
   4549 *-*-*) ;;
   4550 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4551 esac
   4552 host=$ac_cv_host
   4553 ac_save_IFS=$IFS; IFS='-'
   4554 set x $ac_cv_host
   4555 shift
   4556 host_cpu=$1
   4557 host_vendor=$2
   4558 shift; shift
   4559 # Remember, the first character of IFS is used to create $*,
   4560 # except with old shells:
   4561 host_os=$*
   4562 IFS=$ac_save_IFS
   4563 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4564 
   4565 
   4566 # Backslashify metacharacters that are still active within
   4567 # double-quoted strings.
   4568 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4569 
   4570 # Same as above, but do not quote variable references.
   4571 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4572 
   4573 # Sed substitution to delay expansion of an escaped shell variable in a
   4574 # double_quote_subst'ed string.
   4575 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4576 
   4577 # Sed substitution to delay expansion of an escaped single quote.
   4578 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4579 
   4580 # Sed substitution to avoid accidental globbing in evaled expressions
   4581 no_glob_subst='s/\*/\\\*/g'
   4582 
   4583 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4584 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4585 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4586 
   4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4588 $as_echo_n "checking how to print strings... " >&6; }
   4589 # Test print first, because it will be a builtin if present.
   4590 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4591    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4592   ECHO='print -r --'
   4593 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4594   ECHO='printf %s\n'
   4595 else
   4596   # Use this function as a fallback that always works.
   4597   func_fallback_echo ()
   4598   {
   4599     eval 'cat <<_LTECHO_EOF
   4600 $1
   4601 _LTECHO_EOF'
   4602   }
   4603   ECHO='func_fallback_echo'
   4604 fi
   4605 
   4606 # func_echo_all arg...
   4607 # Invoke $ECHO with all args, space-separated.
   4608 func_echo_all ()
   4609 {
   4610     $ECHO ""
   4611 }
   4612 
   4613 case $ECHO in
   4614   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4615 $as_echo "printf" >&6; } ;;
   4616   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4617 $as_echo "print -r" >&6; } ;;
   4618   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4619 $as_echo "cat" >&6; } ;;
   4620 esac
   4621 
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 
   4632 
   4633 
   4634 
   4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4636 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4637 if ${ac_cv_path_SED+:} false; then :
   4638   $as_echo_n "(cached) " >&6
   4639 else
   4640             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4641      for ac_i in 1 2 3 4 5 6 7; do
   4642        ac_script="$ac_script$as_nl$ac_script"
   4643      done
   4644      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4645      { ac_script=; unset ac_script;}
   4646      if test -z "$SED"; then
   4647   ac_path_SED_found=false
   4648   # Loop through the user's path and test for each of PROGNAME-LIST
   4649   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4650 for as_dir in $PATH
   4651 do
   4652   IFS=$as_save_IFS
   4653   test -z "$as_dir" && as_dir=.
   4654     for ac_prog in sed gsed; do
   4655     for ac_exec_ext in '' $ac_executable_extensions; do
   4656       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4657       as_fn_executable_p "$ac_path_SED" || continue
   4658 # Check for GNU ac_path_SED and select it if it is found.
   4659   # Check for GNU $ac_path_SED
   4660 case `"$ac_path_SED" --version 2>&1` in
   4661 *GNU*)
   4662   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4663 *)
   4664   ac_count=0
   4665   $as_echo_n 0123456789 >"conftest.in"
   4666   while :
   4667   do
   4668     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4669     mv "conftest.tmp" "conftest.in"
   4670     cp "conftest.in" "conftest.nl"
   4671     $as_echo '' >> "conftest.nl"
   4672     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4673     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4674     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4675     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4676       # Best one so far, save it but keep looking for a better one
   4677       ac_cv_path_SED="$ac_path_SED"
   4678       ac_path_SED_max=$ac_count
   4679     fi
   4680     # 10*(2^10) chars as input seems more than enough
   4681     test $ac_count -gt 10 && break
   4682   done
   4683   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4684 esac
   4685 
   4686       $ac_path_SED_found && break 3
   4687     done
   4688   done
   4689   done
   4690 IFS=$as_save_IFS
   4691   if test -z "$ac_cv_path_SED"; then
   4692     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4693   fi
   4694 else
   4695   ac_cv_path_SED=$SED
   4696 fi
   4697 
   4698 fi
   4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4700 $as_echo "$ac_cv_path_SED" >&6; }
   4701  SED="$ac_cv_path_SED"
   4702   rm -f conftest.sed
   4703 
   4704 test -z "$SED" && SED=sed
   4705 Xsed="$SED -e 1s/^X//"
   4706 
   4707 
   4708 
   4709 
   4710 
   4711 
   4712 
   4713 
   4714 
   4715 
   4716 
   4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4718 $as_echo_n "checking for fgrep... " >&6; }
   4719 if ${ac_cv_path_FGREP+:} false; then :
   4720   $as_echo_n "(cached) " >&6
   4721 else
   4722   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4723    then ac_cv_path_FGREP="$GREP -F"
   4724    else
   4725      if test -z "$FGREP"; then
   4726   ac_path_FGREP_found=false
   4727   # Loop through the user's path and test for each of PROGNAME-LIST
   4728   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4729 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4730 do
   4731   IFS=$as_save_IFS
   4732   test -z "$as_dir" && as_dir=.
   4733     for ac_prog in fgrep; do
   4734     for ac_exec_ext in '' $ac_executable_extensions; do
   4735       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4736       as_fn_executable_p "$ac_path_FGREP" || continue
   4737 # Check for GNU ac_path_FGREP and select it if it is found.
   4738   # Check for GNU $ac_path_FGREP
   4739 case `"$ac_path_FGREP" --version 2>&1` in
   4740 *GNU*)
   4741   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4742 *)
   4743   ac_count=0
   4744   $as_echo_n 0123456789 >"conftest.in"
   4745   while :
   4746   do
   4747     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4748     mv "conftest.tmp" "conftest.in"
   4749     cp "conftest.in" "conftest.nl"
   4750     $as_echo 'FGREP' >> "conftest.nl"
   4751     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4752     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4753     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4754     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4755       # Best one so far, save it but keep looking for a better one
   4756       ac_cv_path_FGREP="$ac_path_FGREP"
   4757       ac_path_FGREP_max=$ac_count
   4758     fi
   4759     # 10*(2^10) chars as input seems more than enough
   4760     test $ac_count -gt 10 && break
   4761   done
   4762   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4763 esac
   4764 
   4765       $ac_path_FGREP_found && break 3
   4766     done
   4767   done
   4768   done
   4769 IFS=$as_save_IFS
   4770   if test -z "$ac_cv_path_FGREP"; then
   4771     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4772   fi
   4773 else
   4774   ac_cv_path_FGREP=$FGREP
   4775 fi
   4776 
   4777    fi
   4778 fi
   4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4780 $as_echo "$ac_cv_path_FGREP" >&6; }
   4781  FGREP="$ac_cv_path_FGREP"
   4782 
   4783 
   4784 test -z "$GREP" && GREP=grep
   4785 
   4786 
   4787 
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 
   4795 
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 # Check whether --with-gnu-ld was given.
   4805 if test "${with_gnu_ld+set}" = set; then :
   4806   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4807 else
   4808   with_gnu_ld=no
   4809 fi
   4810 
   4811 ac_prog=ld
   4812 if test yes = "$GCC"; then
   4813   # Check if gcc -print-prog-name=ld gives a path.
   4814   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4815 $as_echo_n "checking for ld used by $CC... " >&6; }
   4816   case $host in
   4817   *-*-mingw*)
   4818     # gcc leaves a trailing carriage return, which upsets mingw
   4819     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4820   *)
   4821     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4822   esac
   4823   case $ac_prog in
   4824     # Accept absolute paths.
   4825     [\\/]* | ?:[\\/]*)
   4826       re_direlt='/[^/][^/]*/\.\./'
   4827       # Canonicalize the pathname of ld
   4828       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4829       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4830 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4831       done
   4832       test -z "$LD" && LD=$ac_prog
   4833       ;;
   4834   "")
   4835     # If it fails, then pretend we aren't using GCC.
   4836     ac_prog=ld
   4837     ;;
   4838   *)
   4839     # If it is relative, then search for the first ld in PATH.
   4840     with_gnu_ld=unknown
   4841     ;;
   4842   esac
   4843 elif test yes = "$with_gnu_ld"; then
   4844   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4845 $as_echo_n "checking for GNU ld... " >&6; }
   4846 else
   4847   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4848 $as_echo_n "checking for non-GNU ld... " >&6; }
   4849 fi
   4850 if ${lt_cv_path_LD+:} false; then :
   4851   $as_echo_n "(cached) " >&6
   4852 else
   4853   if test -z "$LD"; then
   4854   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4855   for ac_dir in $PATH; do
   4856     IFS=$lt_save_ifs
   4857     test -z "$ac_dir" && ac_dir=.
   4858     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4859       lt_cv_path_LD=$ac_dir/$ac_prog
   4860       # Check to see if the program is GNU ld.  I'd rather use --version,
   4861       # but apparently some variants of GNU ld only accept -v.
   4862       # Break only if it was the GNU/non-GNU ld that we prefer.
   4863       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4864       *GNU* | *'with BFD'*)
   4865 	test no != "$with_gnu_ld" && break
   4866 	;;
   4867       *)
   4868 	test yes != "$with_gnu_ld" && break
   4869 	;;
   4870       esac
   4871     fi
   4872   done
   4873   IFS=$lt_save_ifs
   4874 else
   4875   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4876 fi
   4877 fi
   4878 
   4879 LD=$lt_cv_path_LD
   4880 if test -n "$LD"; then
   4881   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4882 $as_echo "$LD" >&6; }
   4883 else
   4884   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4885 $as_echo "no" >&6; }
   4886 fi
   4887 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4889 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4890 if ${lt_cv_prog_gnu_ld+:} false; then :
   4891   $as_echo_n "(cached) " >&6
   4892 else
   4893   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4894 case `$LD -v 2>&1 </dev/null` in
   4895 *GNU* | *'with BFD'*)
   4896   lt_cv_prog_gnu_ld=yes
   4897   ;;
   4898 *)
   4899   lt_cv_prog_gnu_ld=no
   4900   ;;
   4901 esac
   4902 fi
   4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4904 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4905 with_gnu_ld=$lt_cv_prog_gnu_ld
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   4916 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   4917 if ${lt_cv_path_NM+:} false; then :
   4918   $as_echo_n "(cached) " >&6
   4919 else
   4920   if test -n "$NM"; then
   4921   # Let the user override the test.
   4922   lt_cv_path_NM=$NM
   4923 else
   4924   lt_nm_to_check=${ac_tool_prefix}nm
   4925   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   4926     lt_nm_to_check="$lt_nm_to_check nm"
   4927   fi
   4928   for lt_tmp_nm in $lt_nm_to_check; do
   4929     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4930     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   4931       IFS=$lt_save_ifs
   4932       test -z "$ac_dir" && ac_dir=.
   4933       tmp_nm=$ac_dir/$lt_tmp_nm
   4934       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   4935 	# Check to see if the nm accepts a BSD-compat flag.
   4936 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   4937 	#   nm: unknown option "B" ignored
   4938 	# Tru64's nm complains that /dev/null is an invalid object file
   4939 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   4940 	case $build_os in
   4941 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   4942 	*) lt_bad_file=/dev/null ;;
   4943 	esac
   4944 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   4945 	*$lt_bad_file* | *'Invalid file or object type'*)
   4946 	  lt_cv_path_NM="$tmp_nm -B"
   4947 	  break 2
   4948 	  ;;
   4949 	*)
   4950 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   4951 	  */dev/null*)
   4952 	    lt_cv_path_NM="$tmp_nm -p"
   4953 	    break 2
   4954 	    ;;
   4955 	  *)
   4956 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   4957 	    continue # so that we can try to find one that supports BSD flags
   4958 	    ;;
   4959 	  esac
   4960 	  ;;
   4961 	esac
   4962       fi
   4963     done
   4964     IFS=$lt_save_ifs
   4965   done
   4966   : ${lt_cv_path_NM=no}
   4967 fi
   4968 fi
   4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   4970 $as_echo "$lt_cv_path_NM" >&6; }
   4971 if test no != "$lt_cv_path_NM"; then
   4972   NM=$lt_cv_path_NM
   4973 else
   4974   # Didn't find any BSD compatible name lister, look for dumpbin.
   4975   if test -n "$DUMPBIN"; then :
   4976     # Let the user override the test.
   4977   else
   4978     if test -n "$ac_tool_prefix"; then
   4979   for ac_prog in dumpbin "link -dump"
   4980   do
   4981     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   4982 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   4983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4984 $as_echo_n "checking for $ac_word... " >&6; }
   4985 if ${ac_cv_prog_DUMPBIN+:} false; then :
   4986   $as_echo_n "(cached) " >&6
   4987 else
   4988   if test -n "$DUMPBIN"; then
   4989   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   4990 else
   4991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4992 for as_dir in $PATH
   4993 do
   4994   IFS=$as_save_IFS
   4995   test -z "$as_dir" && as_dir=.
   4996     for ac_exec_ext in '' $ac_executable_extensions; do
   4997   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4998     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   4999     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5000     break 2
   5001   fi
   5002 done
   5003   done
   5004 IFS=$as_save_IFS
   5005 
   5006 fi
   5007 fi
   5008 DUMPBIN=$ac_cv_prog_DUMPBIN
   5009 if test -n "$DUMPBIN"; then
   5010   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5011 $as_echo "$DUMPBIN" >&6; }
   5012 else
   5013   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5014 $as_echo "no" >&6; }
   5015 fi
   5016 
   5017 
   5018     test -n "$DUMPBIN" && break
   5019   done
   5020 fi
   5021 if test -z "$DUMPBIN"; then
   5022   ac_ct_DUMPBIN=$DUMPBIN
   5023   for ac_prog in dumpbin "link -dump"
   5024 do
   5025   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5026 set dummy $ac_prog; ac_word=$2
   5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5028 $as_echo_n "checking for $ac_word... " >&6; }
   5029 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5030   $as_echo_n "(cached) " >&6
   5031 else
   5032   if test -n "$ac_ct_DUMPBIN"; then
   5033   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5034 else
   5035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5036 for as_dir in $PATH
   5037 do
   5038   IFS=$as_save_IFS
   5039   test -z "$as_dir" && as_dir=.
   5040     for ac_exec_ext in '' $ac_executable_extensions; do
   5041   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5042     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5043     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5044     break 2
   5045   fi
   5046 done
   5047   done
   5048 IFS=$as_save_IFS
   5049 
   5050 fi
   5051 fi
   5052 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5053 if test -n "$ac_ct_DUMPBIN"; then
   5054   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5055 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5056 else
   5057   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5058 $as_echo "no" >&6; }
   5059 fi
   5060 
   5061 
   5062   test -n "$ac_ct_DUMPBIN" && break
   5063 done
   5064 
   5065   if test "x$ac_ct_DUMPBIN" = x; then
   5066     DUMPBIN=":"
   5067   else
   5068     case $cross_compiling:$ac_tool_warned in
   5069 yes:)
   5070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5071 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5072 ac_tool_warned=yes ;;
   5073 esac
   5074     DUMPBIN=$ac_ct_DUMPBIN
   5075   fi
   5076 fi
   5077 
   5078     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5079     *COFF*)
   5080       DUMPBIN="$DUMPBIN -symbols -headers"
   5081       ;;
   5082     *)
   5083       DUMPBIN=:
   5084       ;;
   5085     esac
   5086   fi
   5087 
   5088   if test : != "$DUMPBIN"; then
   5089     NM=$DUMPBIN
   5090   fi
   5091 fi
   5092 test -z "$NM" && NM=nm
   5093 
   5094 
   5095 
   5096 
   5097 
   5098 
   5099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5100 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5101 if ${lt_cv_nm_interface+:} false; then :
   5102   $as_echo_n "(cached) " >&6
   5103 else
   5104   lt_cv_nm_interface="BSD nm"
   5105   echo "int some_variable = 0;" > conftest.$ac_ext
   5106   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5107   (eval "$ac_compile" 2>conftest.err)
   5108   cat conftest.err >&5
   5109   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5110   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5111   cat conftest.err >&5
   5112   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5113   cat conftest.out >&5
   5114   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5115     lt_cv_nm_interface="MS dumpbin"
   5116   fi
   5117   rm -f conftest*
   5118 fi
   5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5120 $as_echo "$lt_cv_nm_interface" >&6; }
   5121 
   5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5123 $as_echo_n "checking whether ln -s works... " >&6; }
   5124 LN_S=$as_ln_s
   5125 if test "$LN_S" = "ln -s"; then
   5126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5127 $as_echo "yes" >&6; }
   5128 else
   5129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5130 $as_echo "no, using $LN_S" >&6; }
   5131 fi
   5132 
   5133 # find the maximum length of command line arguments
   5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5135 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5136 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5137   $as_echo_n "(cached) " >&6
   5138 else
   5139     i=0
   5140   teststring=ABCD
   5141 
   5142   case $build_os in
   5143   msdosdjgpp*)
   5144     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5145     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5146     # during glob expansion).  Even if it were fixed, the result of this
   5147     # check would be larger than it should be.
   5148     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5149     ;;
   5150 
   5151   gnu*)
   5152     # Under GNU Hurd, this test is not required because there is
   5153     # no limit to the length of command line arguments.
   5154     # Libtool will interpret -1 as no limit whatsoever
   5155     lt_cv_sys_max_cmd_len=-1;
   5156     ;;
   5157 
   5158   cygwin* | mingw* | cegcc*)
   5159     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5160     # about 5 minutes as the teststring grows exponentially.
   5161     # Worse, since 9x/ME are not pre-emptively multitasking,
   5162     # you end up with a "frozen" computer, even though with patience
   5163     # the test eventually succeeds (with a max line length of 256k).
   5164     # Instead, let's just punt: use the minimum linelength reported by
   5165     # all of the supported platforms: 8192 (on NT/2K/XP).
   5166     lt_cv_sys_max_cmd_len=8192;
   5167     ;;
   5168 
   5169   mint*)
   5170     # On MiNT this can take a long time and run out of memory.
   5171     lt_cv_sys_max_cmd_len=8192;
   5172     ;;
   5173 
   5174   amigaos*)
   5175     # On AmigaOS with pdksh, this test takes hours, literally.
   5176     # So we just punt and use a minimum line length of 8192.
   5177     lt_cv_sys_max_cmd_len=8192;
   5178     ;;
   5179 
   5180   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5181     # This has been around since 386BSD, at least.  Likely further.
   5182     if test -x /sbin/sysctl; then
   5183       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5184     elif test -x /usr/sbin/sysctl; then
   5185       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5186     else
   5187       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5188     fi
   5189     # And add a safety zone
   5190     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5191     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5192     ;;
   5193 
   5194   interix*)
   5195     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5196     lt_cv_sys_max_cmd_len=196608
   5197     ;;
   5198 
   5199   os2*)
   5200     # The test takes a long time on OS/2.
   5201     lt_cv_sys_max_cmd_len=8192
   5202     ;;
   5203 
   5204   osf*)
   5205     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5206     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5207     # nice to cause kernel panics so lets avoid the loop below.
   5208     # First set a reasonable default.
   5209     lt_cv_sys_max_cmd_len=16384
   5210     #
   5211     if test -x /sbin/sysconfig; then
   5212       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5213         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5214       esac
   5215     fi
   5216     ;;
   5217   sco3.2v5*)
   5218     lt_cv_sys_max_cmd_len=102400
   5219     ;;
   5220   sysv5* | sco5v6* | sysv4.2uw2*)
   5221     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5222     if test -n "$kargmax"; then
   5223       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5224     else
   5225       lt_cv_sys_max_cmd_len=32768
   5226     fi
   5227     ;;
   5228   *)
   5229     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5230     if test -n "$lt_cv_sys_max_cmd_len" && \
   5231        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5232       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5233       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5234     else
   5235       # Make teststring a little bigger before we do anything with it.
   5236       # a 1K string should be a reasonable start.
   5237       for i in 1 2 3 4 5 6 7 8; do
   5238         teststring=$teststring$teststring
   5239       done
   5240       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5241       # If test is not a shell built-in, we'll probably end up computing a
   5242       # maximum length that is only half of the actual maximum length, but
   5243       # we can't tell.
   5244       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5245 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5246 	      test 17 != "$i" # 1/2 MB should be enough
   5247       do
   5248         i=`expr $i + 1`
   5249         teststring=$teststring$teststring
   5250       done
   5251       # Only check the string length outside the loop.
   5252       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5253       teststring=
   5254       # Add a significant safety factor because C++ compilers can tack on
   5255       # massive amounts of additional arguments before passing them to the
   5256       # linker.  It appears as though 1/2 is a usable value.
   5257       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5258     fi
   5259     ;;
   5260   esac
   5261 
   5262 fi
   5263 
   5264 if test -n "$lt_cv_sys_max_cmd_len"; then
   5265   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5266 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5267 else
   5268   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5269 $as_echo "none" >&6; }
   5270 fi
   5271 max_cmd_len=$lt_cv_sys_max_cmd_len
   5272 
   5273 
   5274 
   5275 
   5276 
   5277 
   5278 : ${CP="cp -f"}
   5279 : ${MV="mv -f"}
   5280 : ${RM="rm -f"}
   5281 
   5282 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5283   lt_unset=unset
   5284 else
   5285   lt_unset=false
   5286 fi
   5287 
   5288 
   5289 
   5290 
   5291 
   5292 # test EBCDIC or ASCII
   5293 case `echo X|tr X '\101'` in
   5294  A) # ASCII based system
   5295     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5296   lt_SP2NL='tr \040 \012'
   5297   lt_NL2SP='tr \015\012 \040\040'
   5298   ;;
   5299  *) # EBCDIC based system
   5300   lt_SP2NL='tr \100 \n'
   5301   lt_NL2SP='tr \r\n \100\100'
   5302   ;;
   5303 esac
   5304 
   5305 
   5306 
   5307 
   5308 
   5309 
   5310 
   5311 
   5312 
   5313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5314 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5315 if ${lt_cv_to_host_file_cmd+:} false; then :
   5316   $as_echo_n "(cached) " >&6
   5317 else
   5318   case $host in
   5319   *-*-mingw* )
   5320     case $build in
   5321       *-*-mingw* ) # actually msys
   5322         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5323         ;;
   5324       *-*-cygwin* )
   5325         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5326         ;;
   5327       * ) # otherwise, assume *nix
   5328         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5329         ;;
   5330     esac
   5331     ;;
   5332   *-*-cygwin* )
   5333     case $build in
   5334       *-*-mingw* ) # actually msys
   5335         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5336         ;;
   5337       *-*-cygwin* )
   5338         lt_cv_to_host_file_cmd=func_convert_file_noop
   5339         ;;
   5340       * ) # otherwise, assume *nix
   5341         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5342         ;;
   5343     esac
   5344     ;;
   5345   * ) # unhandled hosts (and "normal" native builds)
   5346     lt_cv_to_host_file_cmd=func_convert_file_noop
   5347     ;;
   5348 esac
   5349 
   5350 fi
   5351 
   5352 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5354 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5355 
   5356 
   5357 
   5358 
   5359 
   5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5361 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5362 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5363   $as_echo_n "(cached) " >&6
   5364 else
   5365   #assume ordinary cross tools, or native build.
   5366 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5367 case $host in
   5368   *-*-mingw* )
   5369     case $build in
   5370       *-*-mingw* ) # actually msys
   5371         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5372         ;;
   5373     esac
   5374     ;;
   5375 esac
   5376 
   5377 fi
   5378 
   5379 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5381 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5382 
   5383 
   5384 
   5385 
   5386 
   5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5388 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5389 if ${lt_cv_ld_reload_flag+:} false; then :
   5390   $as_echo_n "(cached) " >&6
   5391 else
   5392   lt_cv_ld_reload_flag='-r'
   5393 fi
   5394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5395 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5396 reload_flag=$lt_cv_ld_reload_flag
   5397 case $reload_flag in
   5398 "" | " "*) ;;
   5399 *) reload_flag=" $reload_flag" ;;
   5400 esac
   5401 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5402 case $host_os in
   5403   cygwin* | mingw* | pw32* | cegcc*)
   5404     if test yes != "$GCC"; then
   5405       reload_cmds=false
   5406     fi
   5407     ;;
   5408   darwin*)
   5409     if test yes = "$GCC"; then
   5410       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5411     else
   5412       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5413     fi
   5414     ;;
   5415 esac
   5416 
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 if test -n "$ac_tool_prefix"; then
   5426   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5427 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5429 $as_echo_n "checking for $ac_word... " >&6; }
   5430 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5431   $as_echo_n "(cached) " >&6
   5432 else
   5433   if test -n "$OBJDUMP"; then
   5434   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5435 else
   5436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5437 for as_dir in $PATH
   5438 do
   5439   IFS=$as_save_IFS
   5440   test -z "$as_dir" && as_dir=.
   5441     for ac_exec_ext in '' $ac_executable_extensions; do
   5442   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5443     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5444     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5445     break 2
   5446   fi
   5447 done
   5448   done
   5449 IFS=$as_save_IFS
   5450 
   5451 fi
   5452 fi
   5453 OBJDUMP=$ac_cv_prog_OBJDUMP
   5454 if test -n "$OBJDUMP"; then
   5455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5456 $as_echo "$OBJDUMP" >&6; }
   5457 else
   5458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5459 $as_echo "no" >&6; }
   5460 fi
   5461 
   5462 
   5463 fi
   5464 if test -z "$ac_cv_prog_OBJDUMP"; then
   5465   ac_ct_OBJDUMP=$OBJDUMP
   5466   # Extract the first word of "objdump", so it can be a program name with args.
   5467 set dummy objdump; ac_word=$2
   5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5469 $as_echo_n "checking for $ac_word... " >&6; }
   5470 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5471   $as_echo_n "(cached) " >&6
   5472 else
   5473   if test -n "$ac_ct_OBJDUMP"; then
   5474   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5475 else
   5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5477 for as_dir in $PATH
   5478 do
   5479   IFS=$as_save_IFS
   5480   test -z "$as_dir" && as_dir=.
   5481     for ac_exec_ext in '' $ac_executable_extensions; do
   5482   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5483     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5485     break 2
   5486   fi
   5487 done
   5488   done
   5489 IFS=$as_save_IFS
   5490 
   5491 fi
   5492 fi
   5493 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5494 if test -n "$ac_ct_OBJDUMP"; then
   5495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5496 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5497 else
   5498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5499 $as_echo "no" >&6; }
   5500 fi
   5501 
   5502   if test "x$ac_ct_OBJDUMP" = x; then
   5503     OBJDUMP="false"
   5504   else
   5505     case $cross_compiling:$ac_tool_warned in
   5506 yes:)
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5509 ac_tool_warned=yes ;;
   5510 esac
   5511     OBJDUMP=$ac_ct_OBJDUMP
   5512   fi
   5513 else
   5514   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5515 fi
   5516 
   5517 test -z "$OBJDUMP" && OBJDUMP=objdump
   5518 
   5519 
   5520 
   5521 
   5522 
   5523 
   5524 
   5525 
   5526 
   5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5528 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5529 if ${lt_cv_deplibs_check_method+:} false; then :
   5530   $as_echo_n "(cached) " >&6
   5531 else
   5532   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5533 lt_cv_file_magic_test_file=
   5534 lt_cv_deplibs_check_method='unknown'
   5535 # Need to set the preceding variable on all platforms that support
   5536 # interlibrary dependencies.
   5537 # 'none' -- dependencies not supported.
   5538 # 'unknown' -- same as none, but documents that we really don't know.
   5539 # 'pass_all' -- all dependencies passed with no checks.
   5540 # 'test_compile' -- check by making test program.
   5541 # 'file_magic [[regex]]' -- check by looking for files in library path
   5542 # that responds to the $file_magic_cmd with a given extended regex.
   5543 # If you have 'file' or equivalent on your system and you're not sure
   5544 # whether 'pass_all' will *always* work, you probably want this one.
   5545 
   5546 case $host_os in
   5547 aix[4-9]*)
   5548   lt_cv_deplibs_check_method=pass_all
   5549   ;;
   5550 
   5551 beos*)
   5552   lt_cv_deplibs_check_method=pass_all
   5553   ;;
   5554 
   5555 bsdi[45]*)
   5556   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5557   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5558   lt_cv_file_magic_test_file=/shlib/libc.so
   5559   ;;
   5560 
   5561 cygwin*)
   5562   # func_win32_libid is a shell function defined in ltmain.sh
   5563   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5564   lt_cv_file_magic_cmd='func_win32_libid'
   5565   ;;
   5566 
   5567 mingw* | pw32*)
   5568   # Base MSYS/MinGW do not provide the 'file' command needed by
   5569   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5570   # unless we find 'file', for example because we are cross-compiling.
   5571   if ( file / ) >/dev/null 2>&1; then
   5572     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5573     lt_cv_file_magic_cmd='func_win32_libid'
   5574   else
   5575     # Keep this pattern in sync with the one in func_win32_libid.
   5576     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5577     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5578   fi
   5579   ;;
   5580 
   5581 cegcc*)
   5582   # use the weaker test based on 'objdump'. See mingw*.
   5583   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5584   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5585   ;;
   5586 
   5587 darwin* | rhapsody*)
   5588   lt_cv_deplibs_check_method=pass_all
   5589   ;;
   5590 
   5591 freebsd* | dragonfly*)
   5592   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5593     case $host_cpu in
   5594     i*86 )
   5595       # Not sure whether the presence of OpenBSD here was a mistake.
   5596       # Let's accept both of them until this is cleared up.
   5597       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5598       lt_cv_file_magic_cmd=/usr/bin/file
   5599       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5600       ;;
   5601     esac
   5602   else
   5603     lt_cv_deplibs_check_method=pass_all
   5604   fi
   5605   ;;
   5606 
   5607 haiku*)
   5608   lt_cv_deplibs_check_method=pass_all
   5609   ;;
   5610 
   5611 hpux10.20* | hpux11*)
   5612   lt_cv_file_magic_cmd=/usr/bin/file
   5613   case $host_cpu in
   5614   ia64*)
   5615     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5616     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5617     ;;
   5618   hppa*64*)
   5619     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]'
   5620     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5621     ;;
   5622   *)
   5623     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5624     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5625     ;;
   5626   esac
   5627   ;;
   5628 
   5629 interix[3-9]*)
   5630   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5631   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5632   ;;
   5633 
   5634 irix5* | irix6* | nonstopux*)
   5635   case $LD in
   5636   *-32|*"-32 ") libmagic=32-bit;;
   5637   *-n32|*"-n32 ") libmagic=N32;;
   5638   *-64|*"-64 ") libmagic=64-bit;;
   5639   *) libmagic=never-match;;
   5640   esac
   5641   lt_cv_deplibs_check_method=pass_all
   5642   ;;
   5643 
   5644 # This must be glibc/ELF.
   5645 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5646   lt_cv_deplibs_check_method=pass_all
   5647   ;;
   5648 
   5649 netbsd*)
   5650   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5651     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5652   else
   5653     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5654   fi
   5655   ;;
   5656 
   5657 newos6*)
   5658   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5659   lt_cv_file_magic_cmd=/usr/bin/file
   5660   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5661   ;;
   5662 
   5663 *nto* | *qnx*)
   5664   lt_cv_deplibs_check_method=pass_all
   5665   ;;
   5666 
   5667 openbsd* | bitrig*)
   5668   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5669     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5670   else
   5671     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5672   fi
   5673   ;;
   5674 
   5675 osf3* | osf4* | osf5*)
   5676   lt_cv_deplibs_check_method=pass_all
   5677   ;;
   5678 
   5679 rdos*)
   5680   lt_cv_deplibs_check_method=pass_all
   5681   ;;
   5682 
   5683 solaris*)
   5684   lt_cv_deplibs_check_method=pass_all
   5685   ;;
   5686 
   5687 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5688   lt_cv_deplibs_check_method=pass_all
   5689   ;;
   5690 
   5691 sysv4 | sysv4.3*)
   5692   case $host_vendor in
   5693   motorola)
   5694     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]'
   5695     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5696     ;;
   5697   ncr)
   5698     lt_cv_deplibs_check_method=pass_all
   5699     ;;
   5700   sequent)
   5701     lt_cv_file_magic_cmd='/bin/file'
   5702     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5703     ;;
   5704   sni)
   5705     lt_cv_file_magic_cmd='/bin/file'
   5706     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5707     lt_cv_file_magic_test_file=/lib/libc.so
   5708     ;;
   5709   siemens)
   5710     lt_cv_deplibs_check_method=pass_all
   5711     ;;
   5712   pc)
   5713     lt_cv_deplibs_check_method=pass_all
   5714     ;;
   5715   esac
   5716   ;;
   5717 
   5718 tpf*)
   5719   lt_cv_deplibs_check_method=pass_all
   5720   ;;
   5721 os2*)
   5722   lt_cv_deplibs_check_method=pass_all
   5723   ;;
   5724 esac
   5725 
   5726 fi
   5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5728 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5729 
   5730 file_magic_glob=
   5731 want_nocaseglob=no
   5732 if test "$build" = "$host"; then
   5733   case $host_os in
   5734   mingw* | pw32*)
   5735     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5736       want_nocaseglob=yes
   5737     else
   5738       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5739     fi
   5740     ;;
   5741   esac
   5742 fi
   5743 
   5744 file_magic_cmd=$lt_cv_file_magic_cmd
   5745 deplibs_check_method=$lt_cv_deplibs_check_method
   5746 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5747 
   5748 
   5749 
   5750 
   5751 
   5752 
   5753 
   5754 
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 
   5765 
   5766 
   5767 
   5768 
   5769 if test -n "$ac_tool_prefix"; then
   5770   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5771 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5773 $as_echo_n "checking for $ac_word... " >&6; }
   5774 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5775   $as_echo_n "(cached) " >&6
   5776 else
   5777   if test -n "$DLLTOOL"; then
   5778   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5779 else
   5780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5781 for as_dir in $PATH
   5782 do
   5783   IFS=$as_save_IFS
   5784   test -z "$as_dir" && as_dir=.
   5785     for ac_exec_ext in '' $ac_executable_extensions; do
   5786   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5787     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5788     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5789     break 2
   5790   fi
   5791 done
   5792   done
   5793 IFS=$as_save_IFS
   5794 
   5795 fi
   5796 fi
   5797 DLLTOOL=$ac_cv_prog_DLLTOOL
   5798 if test -n "$DLLTOOL"; then
   5799   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5800 $as_echo "$DLLTOOL" >&6; }
   5801 else
   5802   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5803 $as_echo "no" >&6; }
   5804 fi
   5805 
   5806 
   5807 fi
   5808 if test -z "$ac_cv_prog_DLLTOOL"; then
   5809   ac_ct_DLLTOOL=$DLLTOOL
   5810   # Extract the first word of "dlltool", so it can be a program name with args.
   5811 set dummy dlltool; ac_word=$2
   5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5813 $as_echo_n "checking for $ac_word... " >&6; }
   5814 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5815   $as_echo_n "(cached) " >&6
   5816 else
   5817   if test -n "$ac_ct_DLLTOOL"; then
   5818   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5819 else
   5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5821 for as_dir in $PATH
   5822 do
   5823   IFS=$as_save_IFS
   5824   test -z "$as_dir" && as_dir=.
   5825     for ac_exec_ext in '' $ac_executable_extensions; do
   5826   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5827     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5829     break 2
   5830   fi
   5831 done
   5832   done
   5833 IFS=$as_save_IFS
   5834 
   5835 fi
   5836 fi
   5837 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5838 if test -n "$ac_ct_DLLTOOL"; then
   5839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5840 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5841 else
   5842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5843 $as_echo "no" >&6; }
   5844 fi
   5845 
   5846   if test "x$ac_ct_DLLTOOL" = x; then
   5847     DLLTOOL="false"
   5848   else
   5849     case $cross_compiling:$ac_tool_warned in
   5850 yes:)
   5851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5852 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5853 ac_tool_warned=yes ;;
   5854 esac
   5855     DLLTOOL=$ac_ct_DLLTOOL
   5856   fi
   5857 else
   5858   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5859 fi
   5860 
   5861 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5862 
   5863 
   5864 
   5865 
   5866 
   5867 
   5868 
   5869 
   5870 
   5871 
   5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5873 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5874 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5875   $as_echo_n "(cached) " >&6
   5876 else
   5877   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5878 
   5879 case $host_os in
   5880 cygwin* | mingw* | pw32* | cegcc*)
   5881   # two different shell functions defined in ltmain.sh;
   5882   # decide which one to use based on capabilities of $DLLTOOL
   5883   case `$DLLTOOL --help 2>&1` in
   5884   *--identify-strict*)
   5885     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5886     ;;
   5887   *)
   5888     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5889     ;;
   5890   esac
   5891   ;;
   5892 *)
   5893   # fallback: assume linklib IS sharedlib
   5894   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5895   ;;
   5896 esac
   5897 
   5898 fi
   5899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5900 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5901 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5902 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5903 
   5904 
   5905 
   5906 
   5907 
   5908 
   5909 
   5910 if test -n "$ac_tool_prefix"; then
   5911   for ac_prog in ar
   5912   do
   5913     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5914 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5916 $as_echo_n "checking for $ac_word... " >&6; }
   5917 if ${ac_cv_prog_AR+:} false; then :
   5918   $as_echo_n "(cached) " >&6
   5919 else
   5920   if test -n "$AR"; then
   5921   ac_cv_prog_AR="$AR" # Let the user override the test.
   5922 else
   5923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5924 for as_dir in $PATH
   5925 do
   5926   IFS=$as_save_IFS
   5927   test -z "$as_dir" && as_dir=.
   5928     for ac_exec_ext in '' $ac_executable_extensions; do
   5929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5930     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   5931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5932     break 2
   5933   fi
   5934 done
   5935   done
   5936 IFS=$as_save_IFS
   5937 
   5938 fi
   5939 fi
   5940 AR=$ac_cv_prog_AR
   5941 if test -n "$AR"; then
   5942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   5943 $as_echo "$AR" >&6; }
   5944 else
   5945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5946 $as_echo "no" >&6; }
   5947 fi
   5948 
   5949 
   5950     test -n "$AR" && break
   5951   done
   5952 fi
   5953 if test -z "$AR"; then
   5954   ac_ct_AR=$AR
   5955   for ac_prog in ar
   5956 do
   5957   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5958 set dummy $ac_prog; ac_word=$2
   5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5960 $as_echo_n "checking for $ac_word... " >&6; }
   5961 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   5962   $as_echo_n "(cached) " >&6
   5963 else
   5964   if test -n "$ac_ct_AR"; then
   5965   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   5966 else
   5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5968 for as_dir in $PATH
   5969 do
   5970   IFS=$as_save_IFS
   5971   test -z "$as_dir" && as_dir=.
   5972     for ac_exec_ext in '' $ac_executable_extensions; do
   5973   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5974     ac_cv_prog_ac_ct_AR="$ac_prog"
   5975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5976     break 2
   5977   fi
   5978 done
   5979   done
   5980 IFS=$as_save_IFS
   5981 
   5982 fi
   5983 fi
   5984 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   5985 if test -n "$ac_ct_AR"; then
   5986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   5987 $as_echo "$ac_ct_AR" >&6; }
   5988 else
   5989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5990 $as_echo "no" >&6; }
   5991 fi
   5992 
   5993 
   5994   test -n "$ac_ct_AR" && break
   5995 done
   5996 
   5997   if test "x$ac_ct_AR" = x; then
   5998     AR="false"
   5999   else
   6000     case $cross_compiling:$ac_tool_warned in
   6001 yes:)
   6002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6004 ac_tool_warned=yes ;;
   6005 esac
   6006     AR=$ac_ct_AR
   6007   fi
   6008 fi
   6009 
   6010 : ${AR=ar}
   6011 : ${AR_FLAGS=cru}
   6012 
   6013 
   6014 
   6015 
   6016 
   6017 
   6018 
   6019 
   6020 
   6021 
   6022 
   6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6024 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6025 if ${lt_cv_ar_at_file+:} false; then :
   6026   $as_echo_n "(cached) " >&6
   6027 else
   6028   lt_cv_ar_at_file=no
   6029    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6030 /* end confdefs.h.  */
   6031 
   6032 int
   6033 main ()
   6034 {
   6035 
   6036   ;
   6037   return 0;
   6038 }
   6039 _ACEOF
   6040 if ac_fn_c_try_compile "$LINENO"; then :
   6041   echo conftest.$ac_objext > conftest.lst
   6042       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6043       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6044   (eval $lt_ar_try) 2>&5
   6045   ac_status=$?
   6046   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6047   test $ac_status = 0; }
   6048       if test 0 -eq "$ac_status"; then
   6049 	# Ensure the archiver fails upon bogus file names.
   6050 	rm -f conftest.$ac_objext libconftest.a
   6051 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6052   (eval $lt_ar_try) 2>&5
   6053   ac_status=$?
   6054   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6055   test $ac_status = 0; }
   6056 	if test 0 -ne "$ac_status"; then
   6057           lt_cv_ar_at_file=@
   6058         fi
   6059       fi
   6060       rm -f conftest.* libconftest.a
   6061 
   6062 fi
   6063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6064 
   6065 fi
   6066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6067 $as_echo "$lt_cv_ar_at_file" >&6; }
   6068 
   6069 if test no = "$lt_cv_ar_at_file"; then
   6070   archiver_list_spec=
   6071 else
   6072   archiver_list_spec=$lt_cv_ar_at_file
   6073 fi
   6074 
   6075 
   6076 
   6077 
   6078 
   6079 
   6080 
   6081 if test -n "$ac_tool_prefix"; then
   6082   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6083 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6085 $as_echo_n "checking for $ac_word... " >&6; }
   6086 if ${ac_cv_prog_STRIP+:} false; then :
   6087   $as_echo_n "(cached) " >&6
   6088 else
   6089   if test -n "$STRIP"; then
   6090   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6091 else
   6092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6093 for as_dir in $PATH
   6094 do
   6095   IFS=$as_save_IFS
   6096   test -z "$as_dir" && as_dir=.
   6097     for ac_exec_ext in '' $ac_executable_extensions; do
   6098   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6099     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6100     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6101     break 2
   6102   fi
   6103 done
   6104   done
   6105 IFS=$as_save_IFS
   6106 
   6107 fi
   6108 fi
   6109 STRIP=$ac_cv_prog_STRIP
   6110 if test -n "$STRIP"; then
   6111   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6112 $as_echo "$STRIP" >&6; }
   6113 else
   6114   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6115 $as_echo "no" >&6; }
   6116 fi
   6117 
   6118 
   6119 fi
   6120 if test -z "$ac_cv_prog_STRIP"; then
   6121   ac_ct_STRIP=$STRIP
   6122   # Extract the first word of "strip", so it can be a program name with args.
   6123 set dummy strip; ac_word=$2
   6124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6125 $as_echo_n "checking for $ac_word... " >&6; }
   6126 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6127   $as_echo_n "(cached) " >&6
   6128 else
   6129   if test -n "$ac_ct_STRIP"; then
   6130   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6131 else
   6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6133 for as_dir in $PATH
   6134 do
   6135   IFS=$as_save_IFS
   6136   test -z "$as_dir" && as_dir=.
   6137     for ac_exec_ext in '' $ac_executable_extensions; do
   6138   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6139     ac_cv_prog_ac_ct_STRIP="strip"
   6140     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6141     break 2
   6142   fi
   6143 done
   6144   done
   6145 IFS=$as_save_IFS
   6146 
   6147 fi
   6148 fi
   6149 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6150 if test -n "$ac_ct_STRIP"; then
   6151   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6152 $as_echo "$ac_ct_STRIP" >&6; }
   6153 else
   6154   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6155 $as_echo "no" >&6; }
   6156 fi
   6157 
   6158   if test "x$ac_ct_STRIP" = x; then
   6159     STRIP=":"
   6160   else
   6161     case $cross_compiling:$ac_tool_warned in
   6162 yes:)
   6163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6165 ac_tool_warned=yes ;;
   6166 esac
   6167     STRIP=$ac_ct_STRIP
   6168   fi
   6169 else
   6170   STRIP="$ac_cv_prog_STRIP"
   6171 fi
   6172 
   6173 test -z "$STRIP" && STRIP=:
   6174 
   6175 
   6176 
   6177 
   6178 
   6179 
   6180 if test -n "$ac_tool_prefix"; then
   6181   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6182 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6184 $as_echo_n "checking for $ac_word... " >&6; }
   6185 if ${ac_cv_prog_RANLIB+:} false; then :
   6186   $as_echo_n "(cached) " >&6
   6187 else
   6188   if test -n "$RANLIB"; then
   6189   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6190 else
   6191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6192 for as_dir in $PATH
   6193 do
   6194   IFS=$as_save_IFS
   6195   test -z "$as_dir" && as_dir=.
   6196     for ac_exec_ext in '' $ac_executable_extensions; do
   6197   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6198     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6200     break 2
   6201   fi
   6202 done
   6203   done
   6204 IFS=$as_save_IFS
   6205 
   6206 fi
   6207 fi
   6208 RANLIB=$ac_cv_prog_RANLIB
   6209 if test -n "$RANLIB"; then
   6210   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6211 $as_echo "$RANLIB" >&6; }
   6212 else
   6213   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6214 $as_echo "no" >&6; }
   6215 fi
   6216 
   6217 
   6218 fi
   6219 if test -z "$ac_cv_prog_RANLIB"; then
   6220   ac_ct_RANLIB=$RANLIB
   6221   # Extract the first word of "ranlib", so it can be a program name with args.
   6222 set dummy ranlib; ac_word=$2
   6223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6224 $as_echo_n "checking for $ac_word... " >&6; }
   6225 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6226   $as_echo_n "(cached) " >&6
   6227 else
   6228   if test -n "$ac_ct_RANLIB"; then
   6229   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6230 else
   6231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6232 for as_dir in $PATH
   6233 do
   6234   IFS=$as_save_IFS
   6235   test -z "$as_dir" && as_dir=.
   6236     for ac_exec_ext in '' $ac_executable_extensions; do
   6237   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6238     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6239     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6240     break 2
   6241   fi
   6242 done
   6243   done
   6244 IFS=$as_save_IFS
   6245 
   6246 fi
   6247 fi
   6248 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6249 if test -n "$ac_ct_RANLIB"; then
   6250   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6251 $as_echo "$ac_ct_RANLIB" >&6; }
   6252 else
   6253   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6254 $as_echo "no" >&6; }
   6255 fi
   6256 
   6257   if test "x$ac_ct_RANLIB" = x; then
   6258     RANLIB=":"
   6259   else
   6260     case $cross_compiling:$ac_tool_warned in
   6261 yes:)
   6262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6264 ac_tool_warned=yes ;;
   6265 esac
   6266     RANLIB=$ac_ct_RANLIB
   6267   fi
   6268 else
   6269   RANLIB="$ac_cv_prog_RANLIB"
   6270 fi
   6271 
   6272 test -z "$RANLIB" && RANLIB=:
   6273 
   6274 
   6275 
   6276 
   6277 
   6278 
   6279 # Determine commands to create old-style static archives.
   6280 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6281 old_postinstall_cmds='chmod 644 $oldlib'
   6282 old_postuninstall_cmds=
   6283 
   6284 if test -n "$RANLIB"; then
   6285   case $host_os in
   6286   bitrig* | openbsd*)
   6287     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6288     ;;
   6289   *)
   6290     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6291     ;;
   6292   esac
   6293   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6294 fi
   6295 
   6296 case $host_os in
   6297   darwin*)
   6298     lock_old_archive_extraction=yes ;;
   6299   *)
   6300     lock_old_archive_extraction=no ;;
   6301 esac
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 
   6323 
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 
   6340 
   6341 # If no C compiler was specified, use CC.
   6342 LTCC=${LTCC-"$CC"}
   6343 
   6344 # If no C compiler flags were specified, use CFLAGS.
   6345 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6346 
   6347 # Allow CC to be a program name with arguments.
   6348 compiler=$CC
   6349 
   6350 
   6351 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6353 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6354 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6355   $as_echo_n "(cached) " >&6
   6356 else
   6357 
   6358 # These are sane defaults that work on at least a few old systems.
   6359 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6360 
   6361 # Character class describing NM global symbol codes.
   6362 symcode='[BCDEGRST]'
   6363 
   6364 # Regexp to match symbols that can be accessed directly from C.
   6365 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6366 
   6367 # Define system-specific variables.
   6368 case $host_os in
   6369 aix*)
   6370   symcode='[BCDT]'
   6371   ;;
   6372 cygwin* | mingw* | pw32* | cegcc*)
   6373   symcode='[ABCDGISTW]'
   6374   ;;
   6375 hpux*)
   6376   if test ia64 = "$host_cpu"; then
   6377     symcode='[ABCDEGRST]'
   6378   fi
   6379   ;;
   6380 irix* | nonstopux*)
   6381   symcode='[BCDEGRST]'
   6382   ;;
   6383 osf*)
   6384   symcode='[BCDEGQRST]'
   6385   ;;
   6386 solaris*)
   6387   symcode='[BDRT]'
   6388   ;;
   6389 sco3.2v5*)
   6390   symcode='[DT]'
   6391   ;;
   6392 sysv4.2uw2*)
   6393   symcode='[DT]'
   6394   ;;
   6395 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6396   symcode='[ABDT]'
   6397   ;;
   6398 sysv4)
   6399   symcode='[DFNSTU]'
   6400   ;;
   6401 esac
   6402 
   6403 # If we're using GNU nm, then use its standard symbol codes.
   6404 case `$NM -V 2>&1` in
   6405 *GNU* | *'with BFD'*)
   6406   symcode='[ABCDGIRSTW]' ;;
   6407 esac
   6408 
   6409 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6410   # Gets list of data symbols to import.
   6411   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6412   # Adjust the below global symbol transforms to fixup imported variables.
   6413   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6414   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6415   lt_c_name_lib_hook="\
   6416   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6417   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6418 else
   6419   # Disable hooks by default.
   6420   lt_cv_sys_global_symbol_to_import=
   6421   lt_cdecl_hook=
   6422   lt_c_name_hook=
   6423   lt_c_name_lib_hook=
   6424 fi
   6425 
   6426 # Transform an extracted symbol line into a proper C declaration.
   6427 # Some systems (esp. on ia64) link data and code symbols differently,
   6428 # so use this general approach.
   6429 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6430 $lt_cdecl_hook\
   6431 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6432 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6433 
   6434 # Transform an extracted symbol line into symbol name and symbol address
   6435 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6436 $lt_c_name_hook\
   6437 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6438 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6439 
   6440 # Transform an extracted symbol line into symbol name with lib prefix and
   6441 # symbol address.
   6442 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6443 $lt_c_name_lib_hook\
   6444 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6445 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6446 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6447 
   6448 # Handle CRLF in mingw tool chain
   6449 opt_cr=
   6450 case $build_os in
   6451 mingw*)
   6452   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6453   ;;
   6454 esac
   6455 
   6456 # Try without a prefix underscore, then with it.
   6457 for ac_symprfx in "" "_"; do
   6458 
   6459   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6460   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6461 
   6462   # Write the raw and C identifiers.
   6463   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6464     # Fake it for dumpbin and say T for any non-static function,
   6465     # D for any global variable and I for any imported variable.
   6466     # Also find C++ and __fastcall symbols from MSVC++,
   6467     # which start with @ or ?.
   6468     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6469 "     {last_section=section; section=\$ 3};"\
   6470 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6471 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6472 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6473 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6474 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6475 "     \$ 0!~/External *\|/{next};"\
   6476 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6477 "     {if(hide[section]) next};"\
   6478 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6479 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6480 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6481 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6482 "     ' prfx=^$ac_symprfx"
   6483   else
   6484     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6485   fi
   6486   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6487 
   6488   # Check to see that the pipe works correctly.
   6489   pipe_works=no
   6490 
   6491   rm -f conftest*
   6492   cat > conftest.$ac_ext <<_LT_EOF
   6493 #ifdef __cplusplus
   6494 extern "C" {
   6495 #endif
   6496 char nm_test_var;
   6497 void nm_test_func(void);
   6498 void nm_test_func(void){}
   6499 #ifdef __cplusplus
   6500 }
   6501 #endif
   6502 int main(){nm_test_var='a';nm_test_func();return(0);}
   6503 _LT_EOF
   6504 
   6505   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6506   (eval $ac_compile) 2>&5
   6507   ac_status=$?
   6508   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6509   test $ac_status = 0; }; then
   6510     # Now try to grab the symbols.
   6511     nlist=conftest.nm
   6512     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6513   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6514   ac_status=$?
   6515   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6516   test $ac_status = 0; } && test -s "$nlist"; then
   6517       # Try sorting and uniquifying the output.
   6518       if sort "$nlist" | uniq > "$nlist"T; then
   6519 	mv -f "$nlist"T "$nlist"
   6520       else
   6521 	rm -f "$nlist"T
   6522       fi
   6523 
   6524       # Make sure that we snagged all the symbols we need.
   6525       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6526 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6527 	  cat <<_LT_EOF > conftest.$ac_ext
   6528 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6529 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6530 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6531    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6532 # define LT_DLSYM_CONST
   6533 #elif defined __osf__
   6534 /* This system does not cope well with relocations in const data.  */
   6535 # define LT_DLSYM_CONST
   6536 #else
   6537 # define LT_DLSYM_CONST const
   6538 #endif
   6539 
   6540 #ifdef __cplusplus
   6541 extern "C" {
   6542 #endif
   6543 
   6544 _LT_EOF
   6545 	  # Now generate the symbol file.
   6546 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6547 
   6548 	  cat <<_LT_EOF >> conftest.$ac_ext
   6549 
   6550 /* The mapping between symbol names and symbols.  */
   6551 LT_DLSYM_CONST struct {
   6552   const char *name;
   6553   void       *address;
   6554 }
   6555 lt__PROGRAM__LTX_preloaded_symbols[] =
   6556 {
   6557   { "@PROGRAM@", (void *) 0 },
   6558 _LT_EOF
   6559 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6560 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6561   {0, (void *) 0}
   6562 };
   6563 
   6564 /* This works around a problem in FreeBSD linker */
   6565 #ifdef FREEBSD_WORKAROUND
   6566 static const void *lt_preloaded_setup() {
   6567   return lt__PROGRAM__LTX_preloaded_symbols;
   6568 }
   6569 #endif
   6570 
   6571 #ifdef __cplusplus
   6572 }
   6573 #endif
   6574 _LT_EOF
   6575 	  # Now try linking the two files.
   6576 	  mv conftest.$ac_objext conftstm.$ac_objext
   6577 	  lt_globsym_save_LIBS=$LIBS
   6578 	  lt_globsym_save_CFLAGS=$CFLAGS
   6579 	  LIBS=conftstm.$ac_objext
   6580 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6581 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6582   (eval $ac_link) 2>&5
   6583   ac_status=$?
   6584   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6585   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6586 	    pipe_works=yes
   6587 	  fi
   6588 	  LIBS=$lt_globsym_save_LIBS
   6589 	  CFLAGS=$lt_globsym_save_CFLAGS
   6590 	else
   6591 	  echo "cannot find nm_test_func in $nlist" >&5
   6592 	fi
   6593       else
   6594 	echo "cannot find nm_test_var in $nlist" >&5
   6595       fi
   6596     else
   6597       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6598     fi
   6599   else
   6600     echo "$progname: failed program was:" >&5
   6601     cat conftest.$ac_ext >&5
   6602   fi
   6603   rm -rf conftest* conftst*
   6604 
   6605   # Do not use the global_symbol_pipe unless it works.
   6606   if test yes = "$pipe_works"; then
   6607     break
   6608   else
   6609     lt_cv_sys_global_symbol_pipe=
   6610   fi
   6611 done
   6612 
   6613 fi
   6614 
   6615 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6616   lt_cv_sys_global_symbol_to_cdecl=
   6617 fi
   6618 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6620 $as_echo "failed" >&6; }
   6621 else
   6622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6623 $as_echo "ok" >&6; }
   6624 fi
   6625 
   6626 # Response file support.
   6627 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6628   nm_file_list_spec='@'
   6629 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6630   nm_file_list_spec='@'
   6631 fi
   6632 
   6633 
   6634 
   6635 
   6636 
   6637 
   6638 
   6639 
   6640 
   6641 
   6642 
   6643 
   6644 
   6645 
   6646 
   6647 
   6648 
   6649 
   6650 
   6651 
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 
   6668 
   6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6670 $as_echo_n "checking for sysroot... " >&6; }
   6671 
   6672 # Check whether --with-sysroot was given.
   6673 if test "${with_sysroot+set}" = set; then :
   6674   withval=$with_sysroot;
   6675 else
   6676   with_sysroot=no
   6677 fi
   6678 
   6679 
   6680 lt_sysroot=
   6681 case $with_sysroot in #(
   6682  yes)
   6683    if test yes = "$GCC"; then
   6684      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6685    fi
   6686    ;; #(
   6687  /*)
   6688    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6689    ;; #(
   6690  no|'')
   6691    ;; #(
   6692  *)
   6693    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6694 $as_echo "$with_sysroot" >&6; }
   6695    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6696    ;;
   6697 esac
   6698 
   6699  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6700 $as_echo "${lt_sysroot:-no}" >&6; }
   6701 
   6702 
   6703 
   6704 
   6705 
   6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6707 $as_echo_n "checking for a working dd... " >&6; }
   6708 if ${ac_cv_path_lt_DD+:} false; then :
   6709   $as_echo_n "(cached) " >&6
   6710 else
   6711   printf 0123456789abcdef0123456789abcdef >conftest.i
   6712 cat conftest.i conftest.i >conftest2.i
   6713 : ${lt_DD:=$DD}
   6714 if test -z "$lt_DD"; then
   6715   ac_path_lt_DD_found=false
   6716   # Loop through the user's path and test for each of PROGNAME-LIST
   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_prog in dd; do
   6723     for ac_exec_ext in '' $ac_executable_extensions; do
   6724       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6725       as_fn_executable_p "$ac_path_lt_DD" || continue
   6726 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6727   cmp -s conftest.i conftest.out \
   6728   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6729 fi
   6730       $ac_path_lt_DD_found && break 3
   6731     done
   6732   done
   6733   done
   6734 IFS=$as_save_IFS
   6735   if test -z "$ac_cv_path_lt_DD"; then
   6736     :
   6737   fi
   6738 else
   6739   ac_cv_path_lt_DD=$lt_DD
   6740 fi
   6741 
   6742 rm -f conftest.i conftest2.i conftest.out
   6743 fi
   6744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6745 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6746 
   6747 
   6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6749 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6750 if ${lt_cv_truncate_bin+:} false; then :
   6751   $as_echo_n "(cached) " >&6
   6752 else
   6753   printf 0123456789abcdef0123456789abcdef >conftest.i
   6754 cat conftest.i conftest.i >conftest2.i
   6755 lt_cv_truncate_bin=
   6756 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6757   cmp -s conftest.i conftest.out \
   6758   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6759 fi
   6760 rm -f conftest.i conftest2.i conftest.out
   6761 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6762 fi
   6763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6764 $as_echo "$lt_cv_truncate_bin" >&6; }
   6765 
   6766 
   6767 
   6768 
   6769 
   6770 
   6771 
   6772 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6773 func_cc_basename ()
   6774 {
   6775     for cc_temp in $*""; do
   6776       case $cc_temp in
   6777         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6778         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6779         \-*) ;;
   6780         *) break;;
   6781       esac
   6782     done
   6783     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6784 }
   6785 
   6786 # Check whether --enable-libtool-lock was given.
   6787 if test "${enable_libtool_lock+set}" = set; then :
   6788   enableval=$enable_libtool_lock;
   6789 fi
   6790 
   6791 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6792 
   6793 # Some flags need to be propagated to the compiler or linker for good
   6794 # libtool support.
   6795 case $host in
   6796 ia64-*-hpux*)
   6797   # Find out what ABI is being produced by ac_compile, and set mode
   6798   # options accordingly.
   6799   echo 'int i;' > conftest.$ac_ext
   6800   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6801   (eval $ac_compile) 2>&5
   6802   ac_status=$?
   6803   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6804   test $ac_status = 0; }; then
   6805     case `/usr/bin/file conftest.$ac_objext` in
   6806       *ELF-32*)
   6807 	HPUX_IA64_MODE=32
   6808 	;;
   6809       *ELF-64*)
   6810 	HPUX_IA64_MODE=64
   6811 	;;
   6812     esac
   6813   fi
   6814   rm -rf conftest*
   6815   ;;
   6816 *-*-irix6*)
   6817   # Find out what ABI is being produced by ac_compile, and set linker
   6818   # options accordingly.
   6819   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6820   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6821   (eval $ac_compile) 2>&5
   6822   ac_status=$?
   6823   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6824   test $ac_status = 0; }; then
   6825     if test yes = "$lt_cv_prog_gnu_ld"; then
   6826       case `/usr/bin/file conftest.$ac_objext` in
   6827 	*32-bit*)
   6828 	  LD="${LD-ld} -melf32bsmip"
   6829 	  ;;
   6830 	*N32*)
   6831 	  LD="${LD-ld} -melf32bmipn32"
   6832 	  ;;
   6833 	*64-bit*)
   6834 	  LD="${LD-ld} -melf64bmip"
   6835 	;;
   6836       esac
   6837     else
   6838       case `/usr/bin/file conftest.$ac_objext` in
   6839 	*32-bit*)
   6840 	  LD="${LD-ld} -32"
   6841 	  ;;
   6842 	*N32*)
   6843 	  LD="${LD-ld} -n32"
   6844 	  ;;
   6845 	*64-bit*)
   6846 	  LD="${LD-ld} -64"
   6847 	  ;;
   6848       esac
   6849     fi
   6850   fi
   6851   rm -rf conftest*
   6852   ;;
   6853 
   6854 mips64*-*linux*)
   6855   # Find out what ABI is being produced by ac_compile, and set linker
   6856   # options accordingly.
   6857   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6858   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6859   (eval $ac_compile) 2>&5
   6860   ac_status=$?
   6861   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6862   test $ac_status = 0; }; then
   6863     emul=elf
   6864     case `/usr/bin/file conftest.$ac_objext` in
   6865       *32-bit*)
   6866 	emul="${emul}32"
   6867 	;;
   6868       *64-bit*)
   6869 	emul="${emul}64"
   6870 	;;
   6871     esac
   6872     case `/usr/bin/file conftest.$ac_objext` in
   6873       *MSB*)
   6874 	emul="${emul}btsmip"
   6875 	;;
   6876       *LSB*)
   6877 	emul="${emul}ltsmip"
   6878 	;;
   6879     esac
   6880     case `/usr/bin/file conftest.$ac_objext` in
   6881       *N32*)
   6882 	emul="${emul}n32"
   6883 	;;
   6884     esac
   6885     LD="${LD-ld} -m $emul"
   6886   fi
   6887   rm -rf conftest*
   6888   ;;
   6889 
   6890 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6891 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6892   # Find out what ABI is being produced by ac_compile, and set linker
   6893   # options accordingly.  Note that the listed cases only cover the
   6894   # situations where additional linker options are needed (such as when
   6895   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6896   # vice versa); the common cases where no linker options are needed do
   6897   # not appear in the list.
   6898   echo 'int i;' > conftest.$ac_ext
   6899   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6900   (eval $ac_compile) 2>&5
   6901   ac_status=$?
   6902   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6903   test $ac_status = 0; }; then
   6904     case `/usr/bin/file conftest.o` in
   6905       *32-bit*)
   6906 	case $host in
   6907 	  x86_64-*kfreebsd*-gnu)
   6908 	    LD="${LD-ld} -m elf_i386_fbsd"
   6909 	    ;;
   6910 	  x86_64-*linux*)
   6911 	    case `/usr/bin/file conftest.o` in
   6912 	      *x86-64*)
   6913 		LD="${LD-ld} -m elf32_x86_64"
   6914 		;;
   6915 	      *)
   6916 		LD="${LD-ld} -m elf_i386"
   6917 		;;
   6918 	    esac
   6919 	    ;;
   6920 	  powerpc64le-*linux*)
   6921 	    LD="${LD-ld} -m elf32lppclinux"
   6922 	    ;;
   6923 	  powerpc64-*linux*)
   6924 	    LD="${LD-ld} -m elf32ppclinux"
   6925 	    ;;
   6926 	  s390x-*linux*)
   6927 	    LD="${LD-ld} -m elf_s390"
   6928 	    ;;
   6929 	  sparc64-*linux*)
   6930 	    LD="${LD-ld} -m elf32_sparc"
   6931 	    ;;
   6932 	esac
   6933 	;;
   6934       *64-bit*)
   6935 	case $host in
   6936 	  x86_64-*kfreebsd*-gnu)
   6937 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6938 	    ;;
   6939 	  x86_64-*linux*)
   6940 	    LD="${LD-ld} -m elf_x86_64"
   6941 	    ;;
   6942 	  powerpcle-*linux*)
   6943 	    LD="${LD-ld} -m elf64lppc"
   6944 	    ;;
   6945 	  powerpc-*linux*)
   6946 	    LD="${LD-ld} -m elf64ppc"
   6947 	    ;;
   6948 	  s390*-*linux*|s390*-*tpf*)
   6949 	    LD="${LD-ld} -m elf64_s390"
   6950 	    ;;
   6951 	  sparc*-*linux*)
   6952 	    LD="${LD-ld} -m elf64_sparc"
   6953 	    ;;
   6954 	esac
   6955 	;;
   6956     esac
   6957   fi
   6958   rm -rf conftest*
   6959   ;;
   6960 
   6961 *-*-sco3.2v5*)
   6962   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6963   SAVE_CFLAGS=$CFLAGS
   6964   CFLAGS="$CFLAGS -belf"
   6965   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   6966 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   6967 if ${lt_cv_cc_needs_belf+:} false; then :
   6968   $as_echo_n "(cached) " >&6
   6969 else
   6970   ac_ext=c
   6971 ac_cpp='$CPP $CPPFLAGS'
   6972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6975 
   6976      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6977 /* end confdefs.h.  */
   6978 
   6979 int
   6980 main ()
   6981 {
   6982 
   6983   ;
   6984   return 0;
   6985 }
   6986 _ACEOF
   6987 if ac_fn_c_try_link "$LINENO"; then :
   6988   lt_cv_cc_needs_belf=yes
   6989 else
   6990   lt_cv_cc_needs_belf=no
   6991 fi
   6992 rm -f core conftest.err conftest.$ac_objext \
   6993     conftest$ac_exeext conftest.$ac_ext
   6994      ac_ext=c
   6995 ac_cpp='$CPP $CPPFLAGS'
   6996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6999 
   7000 fi
   7001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7002 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7003   if test yes != "$lt_cv_cc_needs_belf"; then
   7004     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7005     CFLAGS=$SAVE_CFLAGS
   7006   fi
   7007   ;;
   7008 *-*solaris*)
   7009   # Find out what ABI is being produced by ac_compile, and set linker
   7010   # options accordingly.
   7011   echo 'int i;' > conftest.$ac_ext
   7012   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7013   (eval $ac_compile) 2>&5
   7014   ac_status=$?
   7015   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7016   test $ac_status = 0; }; then
   7017     case `/usr/bin/file conftest.o` in
   7018     *64-bit*)
   7019       case $lt_cv_prog_gnu_ld in
   7020       yes*)
   7021         case $host in
   7022         i?86-*-solaris*|x86_64-*-solaris*)
   7023           LD="${LD-ld} -m elf_x86_64"
   7024           ;;
   7025         sparc*-*-solaris*)
   7026           LD="${LD-ld} -m elf64_sparc"
   7027           ;;
   7028         esac
   7029         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7030         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7031           LD=${LD-ld}_sol2
   7032         fi
   7033         ;;
   7034       *)
   7035 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7036 	  LD="${LD-ld} -64"
   7037 	fi
   7038 	;;
   7039       esac
   7040       ;;
   7041     esac
   7042   fi
   7043   rm -rf conftest*
   7044   ;;
   7045 esac
   7046 
   7047 need_locks=$enable_libtool_lock
   7048 
   7049 if test -n "$ac_tool_prefix"; then
   7050   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7051 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7053 $as_echo_n "checking for $ac_word... " >&6; }
   7054 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7055   $as_echo_n "(cached) " >&6
   7056 else
   7057   if test -n "$MANIFEST_TOOL"; then
   7058   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7059 else
   7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7061 for as_dir in $PATH
   7062 do
   7063   IFS=$as_save_IFS
   7064   test -z "$as_dir" && as_dir=.
   7065     for ac_exec_ext in '' $ac_executable_extensions; do
   7066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7067     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7069     break 2
   7070   fi
   7071 done
   7072   done
   7073 IFS=$as_save_IFS
   7074 
   7075 fi
   7076 fi
   7077 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7078 if test -n "$MANIFEST_TOOL"; then
   7079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7080 $as_echo "$MANIFEST_TOOL" >&6; }
   7081 else
   7082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7083 $as_echo "no" >&6; }
   7084 fi
   7085 
   7086 
   7087 fi
   7088 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7089   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7090   # Extract the first word of "mt", so it can be a program name with args.
   7091 set dummy mt; ac_word=$2
   7092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7093 $as_echo_n "checking for $ac_word... " >&6; }
   7094 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7095   $as_echo_n "(cached) " >&6
   7096 else
   7097   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7098   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7099 else
   7100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7101 for as_dir in $PATH
   7102 do
   7103   IFS=$as_save_IFS
   7104   test -z "$as_dir" && as_dir=.
   7105     for ac_exec_ext in '' $ac_executable_extensions; do
   7106   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7107     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7108     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7109     break 2
   7110   fi
   7111 done
   7112   done
   7113 IFS=$as_save_IFS
   7114 
   7115 fi
   7116 fi
   7117 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7118 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7120 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7121 else
   7122   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7123 $as_echo "no" >&6; }
   7124 fi
   7125 
   7126   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7127     MANIFEST_TOOL=":"
   7128   else
   7129     case $cross_compiling:$ac_tool_warned in
   7130 yes:)
   7131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7132 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7133 ac_tool_warned=yes ;;
   7134 esac
   7135     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7136   fi
   7137 else
   7138   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7139 fi
   7140 
   7141 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7143 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7144 if ${lt_cv_path_mainfest_tool+:} false; then :
   7145   $as_echo_n "(cached) " >&6
   7146 else
   7147   lt_cv_path_mainfest_tool=no
   7148   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7149   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7150   cat conftest.err >&5
   7151   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7152     lt_cv_path_mainfest_tool=yes
   7153   fi
   7154   rm -f conftest*
   7155 fi
   7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7157 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7158 if test yes != "$lt_cv_path_mainfest_tool"; then
   7159   MANIFEST_TOOL=:
   7160 fi
   7161 
   7162 
   7163 
   7164 
   7165 
   7166 
   7167   case $host_os in
   7168     rhapsody* | darwin*)
   7169     if test -n "$ac_tool_prefix"; then
   7170   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7171 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7173 $as_echo_n "checking for $ac_word... " >&6; }
   7174 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7175   $as_echo_n "(cached) " >&6
   7176 else
   7177   if test -n "$DSYMUTIL"; then
   7178   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7179 else
   7180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7181 for as_dir in $PATH
   7182 do
   7183   IFS=$as_save_IFS
   7184   test -z "$as_dir" && as_dir=.
   7185     for ac_exec_ext in '' $ac_executable_extensions; do
   7186   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7187     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7188     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7189     break 2
   7190   fi
   7191 done
   7192   done
   7193 IFS=$as_save_IFS
   7194 
   7195 fi
   7196 fi
   7197 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7198 if test -n "$DSYMUTIL"; then
   7199   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7200 $as_echo "$DSYMUTIL" >&6; }
   7201 else
   7202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7203 $as_echo "no" >&6; }
   7204 fi
   7205 
   7206 
   7207 fi
   7208 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7209   ac_ct_DSYMUTIL=$DSYMUTIL
   7210   # Extract the first word of "dsymutil", so it can be a program name with args.
   7211 set dummy dsymutil; ac_word=$2
   7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7213 $as_echo_n "checking for $ac_word... " >&6; }
   7214 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7215   $as_echo_n "(cached) " >&6
   7216 else
   7217   if test -n "$ac_ct_DSYMUTIL"; then
   7218   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7219 else
   7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7221 for as_dir in $PATH
   7222 do
   7223   IFS=$as_save_IFS
   7224   test -z "$as_dir" && as_dir=.
   7225     for ac_exec_ext in '' $ac_executable_extensions; do
   7226   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7227     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7228     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7229     break 2
   7230   fi
   7231 done
   7232   done
   7233 IFS=$as_save_IFS
   7234 
   7235 fi
   7236 fi
   7237 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7238 if test -n "$ac_ct_DSYMUTIL"; then
   7239   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7240 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7241 else
   7242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7243 $as_echo "no" >&6; }
   7244 fi
   7245 
   7246   if test "x$ac_ct_DSYMUTIL" = x; then
   7247     DSYMUTIL=":"
   7248   else
   7249     case $cross_compiling:$ac_tool_warned in
   7250 yes:)
   7251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7252 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7253 ac_tool_warned=yes ;;
   7254 esac
   7255     DSYMUTIL=$ac_ct_DSYMUTIL
   7256   fi
   7257 else
   7258   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7259 fi
   7260 
   7261     if test -n "$ac_tool_prefix"; then
   7262   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7263 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7265 $as_echo_n "checking for $ac_word... " >&6; }
   7266 if ${ac_cv_prog_NMEDIT+:} false; then :
   7267   $as_echo_n "(cached) " >&6
   7268 else
   7269   if test -n "$NMEDIT"; then
   7270   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7271 else
   7272 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7273 for as_dir in $PATH
   7274 do
   7275   IFS=$as_save_IFS
   7276   test -z "$as_dir" && as_dir=.
   7277     for ac_exec_ext in '' $ac_executable_extensions; do
   7278   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7279     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7280     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7281     break 2
   7282   fi
   7283 done
   7284   done
   7285 IFS=$as_save_IFS
   7286 
   7287 fi
   7288 fi
   7289 NMEDIT=$ac_cv_prog_NMEDIT
   7290 if test -n "$NMEDIT"; then
   7291   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7292 $as_echo "$NMEDIT" >&6; }
   7293 else
   7294   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7295 $as_echo "no" >&6; }
   7296 fi
   7297 
   7298 
   7299 fi
   7300 if test -z "$ac_cv_prog_NMEDIT"; then
   7301   ac_ct_NMEDIT=$NMEDIT
   7302   # Extract the first word of "nmedit", so it can be a program name with args.
   7303 set dummy nmedit; ac_word=$2
   7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7305 $as_echo_n "checking for $ac_word... " >&6; }
   7306 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7307   $as_echo_n "(cached) " >&6
   7308 else
   7309   if test -n "$ac_ct_NMEDIT"; then
   7310   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7311 else
   7312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7313 for as_dir in $PATH
   7314 do
   7315   IFS=$as_save_IFS
   7316   test -z "$as_dir" && as_dir=.
   7317     for ac_exec_ext in '' $ac_executable_extensions; do
   7318   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7319     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7320     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7321     break 2
   7322   fi
   7323 done
   7324   done
   7325 IFS=$as_save_IFS
   7326 
   7327 fi
   7328 fi
   7329 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7330 if test -n "$ac_ct_NMEDIT"; then
   7331   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7332 $as_echo "$ac_ct_NMEDIT" >&6; }
   7333 else
   7334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7335 $as_echo "no" >&6; }
   7336 fi
   7337 
   7338   if test "x$ac_ct_NMEDIT" = x; then
   7339     NMEDIT=":"
   7340   else
   7341     case $cross_compiling:$ac_tool_warned in
   7342 yes:)
   7343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7344 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7345 ac_tool_warned=yes ;;
   7346 esac
   7347     NMEDIT=$ac_ct_NMEDIT
   7348   fi
   7349 else
   7350   NMEDIT="$ac_cv_prog_NMEDIT"
   7351 fi
   7352 
   7353     if test -n "$ac_tool_prefix"; then
   7354   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7355 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7357 $as_echo_n "checking for $ac_word... " >&6; }
   7358 if ${ac_cv_prog_LIPO+:} false; then :
   7359   $as_echo_n "(cached) " >&6
   7360 else
   7361   if test -n "$LIPO"; then
   7362   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7363 else
   7364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7365 for as_dir in $PATH
   7366 do
   7367   IFS=$as_save_IFS
   7368   test -z "$as_dir" && as_dir=.
   7369     for ac_exec_ext in '' $ac_executable_extensions; do
   7370   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7371     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7372     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7373     break 2
   7374   fi
   7375 done
   7376   done
   7377 IFS=$as_save_IFS
   7378 
   7379 fi
   7380 fi
   7381 LIPO=$ac_cv_prog_LIPO
   7382 if test -n "$LIPO"; then
   7383   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7384 $as_echo "$LIPO" >&6; }
   7385 else
   7386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7387 $as_echo "no" >&6; }
   7388 fi
   7389 
   7390 
   7391 fi
   7392 if test -z "$ac_cv_prog_LIPO"; then
   7393   ac_ct_LIPO=$LIPO
   7394   # Extract the first word of "lipo", so it can be a program name with args.
   7395 set dummy lipo; ac_word=$2
   7396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7397 $as_echo_n "checking for $ac_word... " >&6; }
   7398 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7399   $as_echo_n "(cached) " >&6
   7400 else
   7401   if test -n "$ac_ct_LIPO"; then
   7402   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7403 else
   7404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7405 for as_dir in $PATH
   7406 do
   7407   IFS=$as_save_IFS
   7408   test -z "$as_dir" && as_dir=.
   7409     for ac_exec_ext in '' $ac_executable_extensions; do
   7410   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7411     ac_cv_prog_ac_ct_LIPO="lipo"
   7412     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7413     break 2
   7414   fi
   7415 done
   7416   done
   7417 IFS=$as_save_IFS
   7418 
   7419 fi
   7420 fi
   7421 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7422 if test -n "$ac_ct_LIPO"; then
   7423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7424 $as_echo "$ac_ct_LIPO" >&6; }
   7425 else
   7426   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7427 $as_echo "no" >&6; }
   7428 fi
   7429 
   7430   if test "x$ac_ct_LIPO" = x; then
   7431     LIPO=":"
   7432   else
   7433     case $cross_compiling:$ac_tool_warned in
   7434 yes:)
   7435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7436 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7437 ac_tool_warned=yes ;;
   7438 esac
   7439     LIPO=$ac_ct_LIPO
   7440   fi
   7441 else
   7442   LIPO="$ac_cv_prog_LIPO"
   7443 fi
   7444 
   7445     if test -n "$ac_tool_prefix"; then
   7446   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7447 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7449 $as_echo_n "checking for $ac_word... " >&6; }
   7450 if ${ac_cv_prog_OTOOL+:} false; then :
   7451   $as_echo_n "(cached) " >&6
   7452 else
   7453   if test -n "$OTOOL"; then
   7454   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7455 else
   7456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7457 for as_dir in $PATH
   7458 do
   7459   IFS=$as_save_IFS
   7460   test -z "$as_dir" && as_dir=.
   7461     for ac_exec_ext in '' $ac_executable_extensions; do
   7462   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7463     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7464     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7465     break 2
   7466   fi
   7467 done
   7468   done
   7469 IFS=$as_save_IFS
   7470 
   7471 fi
   7472 fi
   7473 OTOOL=$ac_cv_prog_OTOOL
   7474 if test -n "$OTOOL"; then
   7475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7476 $as_echo "$OTOOL" >&6; }
   7477 else
   7478   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7479 $as_echo "no" >&6; }
   7480 fi
   7481 
   7482 
   7483 fi
   7484 if test -z "$ac_cv_prog_OTOOL"; then
   7485   ac_ct_OTOOL=$OTOOL
   7486   # Extract the first word of "otool", so it can be a program name with args.
   7487 set dummy otool; ac_word=$2
   7488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7489 $as_echo_n "checking for $ac_word... " >&6; }
   7490 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7491   $as_echo_n "(cached) " >&6
   7492 else
   7493   if test -n "$ac_ct_OTOOL"; then
   7494   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7495 else
   7496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7497 for as_dir in $PATH
   7498 do
   7499   IFS=$as_save_IFS
   7500   test -z "$as_dir" && as_dir=.
   7501     for ac_exec_ext in '' $ac_executable_extensions; do
   7502   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7503     ac_cv_prog_ac_ct_OTOOL="otool"
   7504     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7505     break 2
   7506   fi
   7507 done
   7508   done
   7509 IFS=$as_save_IFS
   7510 
   7511 fi
   7512 fi
   7513 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7514 if test -n "$ac_ct_OTOOL"; then
   7515   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7516 $as_echo "$ac_ct_OTOOL" >&6; }
   7517 else
   7518   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7519 $as_echo "no" >&6; }
   7520 fi
   7521 
   7522   if test "x$ac_ct_OTOOL" = x; then
   7523     OTOOL=":"
   7524   else
   7525     case $cross_compiling:$ac_tool_warned in
   7526 yes:)
   7527 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7528 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7529 ac_tool_warned=yes ;;
   7530 esac
   7531     OTOOL=$ac_ct_OTOOL
   7532   fi
   7533 else
   7534   OTOOL="$ac_cv_prog_OTOOL"
   7535 fi
   7536 
   7537     if test -n "$ac_tool_prefix"; then
   7538   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7539 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7541 $as_echo_n "checking for $ac_word... " >&6; }
   7542 if ${ac_cv_prog_OTOOL64+:} false; then :
   7543   $as_echo_n "(cached) " >&6
   7544 else
   7545   if test -n "$OTOOL64"; then
   7546   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7547 else
   7548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7549 for as_dir in $PATH
   7550 do
   7551   IFS=$as_save_IFS
   7552   test -z "$as_dir" && as_dir=.
   7553     for ac_exec_ext in '' $ac_executable_extensions; do
   7554   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7555     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7556     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7557     break 2
   7558   fi
   7559 done
   7560   done
   7561 IFS=$as_save_IFS
   7562 
   7563 fi
   7564 fi
   7565 OTOOL64=$ac_cv_prog_OTOOL64
   7566 if test -n "$OTOOL64"; then
   7567   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7568 $as_echo "$OTOOL64" >&6; }
   7569 else
   7570   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7571 $as_echo "no" >&6; }
   7572 fi
   7573 
   7574 
   7575 fi
   7576 if test -z "$ac_cv_prog_OTOOL64"; then
   7577   ac_ct_OTOOL64=$OTOOL64
   7578   # Extract the first word of "otool64", so it can be a program name with args.
   7579 set dummy otool64; ac_word=$2
   7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7581 $as_echo_n "checking for $ac_word... " >&6; }
   7582 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7583   $as_echo_n "(cached) " >&6
   7584 else
   7585   if test -n "$ac_ct_OTOOL64"; then
   7586   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7587 else
   7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7589 for as_dir in $PATH
   7590 do
   7591   IFS=$as_save_IFS
   7592   test -z "$as_dir" && as_dir=.
   7593     for ac_exec_ext in '' $ac_executable_extensions; do
   7594   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7595     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7596     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7597     break 2
   7598   fi
   7599 done
   7600   done
   7601 IFS=$as_save_IFS
   7602 
   7603 fi
   7604 fi
   7605 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7606 if test -n "$ac_ct_OTOOL64"; then
   7607   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7608 $as_echo "$ac_ct_OTOOL64" >&6; }
   7609 else
   7610   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7611 $as_echo "no" >&6; }
   7612 fi
   7613 
   7614   if test "x$ac_ct_OTOOL64" = x; then
   7615     OTOOL64=":"
   7616   else
   7617     case $cross_compiling:$ac_tool_warned in
   7618 yes:)
   7619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7620 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7621 ac_tool_warned=yes ;;
   7622 esac
   7623     OTOOL64=$ac_ct_OTOOL64
   7624   fi
   7625 else
   7626   OTOOL64="$ac_cv_prog_OTOOL64"
   7627 fi
   7628 
   7629 
   7630 
   7631 
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639 
   7640 
   7641 
   7642 
   7643 
   7644 
   7645 
   7646 
   7647 
   7648 
   7649 
   7650 
   7651 
   7652 
   7653 
   7654 
   7655     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7656 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7657 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7658   $as_echo_n "(cached) " >&6
   7659 else
   7660   lt_cv_apple_cc_single_mod=no
   7661       if test -z "$LT_MULTI_MODULE"; then
   7662 	# By default we will add the -single_module flag. You can override
   7663 	# by either setting the environment variable LT_MULTI_MODULE
   7664 	# non-empty at configure time, or by adding -multi_module to the
   7665 	# link flags.
   7666 	rm -rf libconftest.dylib*
   7667 	echo "int foo(void){return 1;}" > conftest.c
   7668 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7669 -dynamiclib -Wl,-single_module conftest.c" >&5
   7670 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7671 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7672         _lt_result=$?
   7673 	# If there is a non-empty error log, and "single_module"
   7674 	# appears in it, assume the flag caused a linker warning
   7675         if test -s conftest.err && $GREP single_module conftest.err; then
   7676 	  cat conftest.err >&5
   7677 	# Otherwise, if the output was created with a 0 exit code from
   7678 	# the compiler, it worked.
   7679 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7680 	  lt_cv_apple_cc_single_mod=yes
   7681 	else
   7682 	  cat conftest.err >&5
   7683 	fi
   7684 	rm -rf libconftest.dylib*
   7685 	rm -f conftest.*
   7686       fi
   7687 fi
   7688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7689 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7690 
   7691     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7692 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7693 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7694   $as_echo_n "(cached) " >&6
   7695 else
   7696   lt_cv_ld_exported_symbols_list=no
   7697       save_LDFLAGS=$LDFLAGS
   7698       echo "_main" > conftest.sym
   7699       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7700       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7701 /* end confdefs.h.  */
   7702 
   7703 int
   7704 main ()
   7705 {
   7706 
   7707   ;
   7708   return 0;
   7709 }
   7710 _ACEOF
   7711 if ac_fn_c_try_link "$LINENO"; then :
   7712   lt_cv_ld_exported_symbols_list=yes
   7713 else
   7714   lt_cv_ld_exported_symbols_list=no
   7715 fi
   7716 rm -f core conftest.err conftest.$ac_objext \
   7717     conftest$ac_exeext conftest.$ac_ext
   7718 	LDFLAGS=$save_LDFLAGS
   7719 
   7720 fi
   7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7722 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7723 
   7724     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7725 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7726 if ${lt_cv_ld_force_load+:} false; then :
   7727   $as_echo_n "(cached) " >&6
   7728 else
   7729   lt_cv_ld_force_load=no
   7730       cat > conftest.c << _LT_EOF
   7731 int forced_loaded() { return 2;}
   7732 _LT_EOF
   7733       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7734       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7735       echo "$AR cru libconftest.a conftest.o" >&5
   7736       $AR cru libconftest.a conftest.o 2>&5
   7737       echo "$RANLIB libconftest.a" >&5
   7738       $RANLIB libconftest.a 2>&5
   7739       cat > conftest.c << _LT_EOF
   7740 int main() { return 0;}
   7741 _LT_EOF
   7742       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7743       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7744       _lt_result=$?
   7745       if test -s conftest.err && $GREP force_load conftest.err; then
   7746 	cat conftest.err >&5
   7747       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7748 	lt_cv_ld_force_load=yes
   7749       else
   7750 	cat conftest.err >&5
   7751       fi
   7752         rm -f conftest.err libconftest.a conftest conftest.c
   7753         rm -rf conftest.dSYM
   7754 
   7755 fi
   7756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7757 $as_echo "$lt_cv_ld_force_load" >&6; }
   7758     case $host_os in
   7759     rhapsody* | darwin1.[012])
   7760       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7761     darwin1.*)
   7762       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7763     darwin*) # darwin 5.x on
   7764       # if running on 10.5 or later, the deployment target defaults
   7765       # to the OS version, if on x86, and 10.4, the deployment
   7766       # target defaults to 10.4. Don't you love it?
   7767       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7768 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7769 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7770 	10.[012][,.]*)
   7771 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7772 	10.*)
   7773 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7774       esac
   7775     ;;
   7776   esac
   7777     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7778       _lt_dar_single_mod='$single_module'
   7779     fi
   7780     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7781       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7782     else
   7783       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7784     fi
   7785     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7786       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7787     else
   7788       _lt_dsymutil=
   7789     fi
   7790     ;;
   7791   esac
   7792 
   7793 # func_munge_path_list VARIABLE PATH
   7794 # -----------------------------------
   7795 # VARIABLE is name of variable containing _space_ separated list of
   7796 # directories to be munged by the contents of PATH, which is string
   7797 # having a format:
   7798 # "DIR[:DIR]:"
   7799 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7800 # ":DIR[:DIR]"
   7801 #       string "DIR[ DIR]" will be appended to VARIABLE
   7802 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7803 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7804 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7805 # "DIR[:DIR]"
   7806 #       VARIABLE will be replaced by "DIR[ DIR]"
   7807 func_munge_path_list ()
   7808 {
   7809     case x$2 in
   7810     x)
   7811         ;;
   7812     *:)
   7813         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7814         ;;
   7815     x:*)
   7816         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7817         ;;
   7818     *::*)
   7819         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7820         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7821         ;;
   7822     *)
   7823         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7824         ;;
   7825     esac
   7826 }
   7827 
   7828 for ac_header in dlfcn.h
   7829 do :
   7830   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7831 "
   7832 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7833   cat >>confdefs.h <<_ACEOF
   7834 #define HAVE_DLFCN_H 1
   7835 _ACEOF
   7836 
   7837 fi
   7838 
   7839 done
   7840 
   7841 
   7842 
   7843 
   7844 
   7845 # Set options
   7846 
   7847 
   7848 
   7849         enable_dlopen=no
   7850 
   7851 
   7852   enable_win32_dll=no
   7853 
   7854 
   7855             # Check whether --enable-shared was given.
   7856 if test "${enable_shared+set}" = set; then :
   7857   enableval=$enable_shared; p=${PACKAGE-default}
   7858     case $enableval in
   7859     yes) enable_shared=yes ;;
   7860     no) enable_shared=no ;;
   7861     *)
   7862       enable_shared=no
   7863       # Look at the argument we got.  We use all the common list separators.
   7864       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7865       for pkg in $enableval; do
   7866 	IFS=$lt_save_ifs
   7867 	if test "X$pkg" = "X$p"; then
   7868 	  enable_shared=yes
   7869 	fi
   7870       done
   7871       IFS=$lt_save_ifs
   7872       ;;
   7873     esac
   7874 else
   7875   enable_shared=yes
   7876 fi
   7877 
   7878 
   7879 
   7880 
   7881 
   7882 
   7883 
   7884 
   7885 
   7886 
   7887 
   7888 # Check whether --with-pic was given.
   7889 if test "${with_pic+set}" = set; then :
   7890   withval=$with_pic; lt_p=${PACKAGE-default}
   7891     case $withval in
   7892     yes|no) pic_mode=$withval ;;
   7893     *)
   7894       pic_mode=default
   7895       # Look at the argument we got.  We use all the common list separators.
   7896       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7897       for lt_pkg in $withval; do
   7898 	IFS=$lt_save_ifs
   7899 	if test "X$lt_pkg" = "X$lt_p"; then
   7900 	  pic_mode=yes
   7901 	fi
   7902       done
   7903       IFS=$lt_save_ifs
   7904       ;;
   7905     esac
   7906 else
   7907   pic_mode=default
   7908 fi
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917   # Check whether --enable-fast-install was given.
   7918 if test "${enable_fast_install+set}" = set; then :
   7919   enableval=$enable_fast_install; p=${PACKAGE-default}
   7920     case $enableval in
   7921     yes) enable_fast_install=yes ;;
   7922     no) enable_fast_install=no ;;
   7923     *)
   7924       enable_fast_install=no
   7925       # Look at the argument we got.  We use all the common list separators.
   7926       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7927       for pkg in $enableval; do
   7928 	IFS=$lt_save_ifs
   7929 	if test "X$pkg" = "X$p"; then
   7930 	  enable_fast_install=yes
   7931 	fi
   7932       done
   7933       IFS=$lt_save_ifs
   7934       ;;
   7935     esac
   7936 else
   7937   enable_fast_install=yes
   7938 fi
   7939 
   7940 
   7941 
   7942 
   7943 
   7944 
   7945 
   7946 
   7947   shared_archive_member_spec=
   7948 case $host,$enable_shared in
   7949 power*-*-aix[5-9]*,yes)
   7950   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   7951 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   7952 
   7953 # Check whether --with-aix-soname was given.
   7954 if test "${with_aix_soname+set}" = set; then :
   7955   withval=$with_aix_soname; case $withval in
   7956     aix|svr4|both)
   7957       ;;
   7958     *)
   7959       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   7960       ;;
   7961     esac
   7962     lt_cv_with_aix_soname=$with_aix_soname
   7963 else
   7964   if ${lt_cv_with_aix_soname+:} false; then :
   7965   $as_echo_n "(cached) " >&6
   7966 else
   7967   lt_cv_with_aix_soname=aix
   7968 fi
   7969 
   7970     with_aix_soname=$lt_cv_with_aix_soname
   7971 fi
   7972 
   7973   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   7974 $as_echo "$with_aix_soname" >&6; }
   7975   if test aix != "$with_aix_soname"; then
   7976     # For the AIX way of multilib, we name the shared archive member
   7977     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   7978     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   7979     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   7980     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   7981     if test 64 = "${OBJECT_MODE-32}"; then
   7982       shared_archive_member_spec=shr_64
   7983     else
   7984       shared_archive_member_spec=shr
   7985     fi
   7986   fi
   7987   ;;
   7988 *)
   7989   with_aix_soname=aix
   7990   ;;
   7991 esac
   7992 
   7993 
   7994 
   7995 
   7996 
   7997 
   7998 
   7999 
   8000 
   8001 
   8002 # This can be used to rebuild libtool when needed
   8003 LIBTOOL_DEPS=$ltmain
   8004 
   8005 # Always use our own libtool.
   8006 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8007 
   8008 
   8009 
   8010 
   8011 
   8012 
   8013 
   8014 
   8015 
   8016 
   8017 
   8018 
   8019 
   8020 
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 test -z "$LN_S" && LN_S="ln -s"
   8038 
   8039 
   8040 
   8041 
   8042 
   8043 
   8044 
   8045 
   8046 
   8047 
   8048 
   8049 
   8050 
   8051 
   8052 if test -n "${ZSH_VERSION+set}"; then
   8053    setopt NO_GLOB_SUBST
   8054 fi
   8055 
   8056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8057 $as_echo_n "checking for objdir... " >&6; }
   8058 if ${lt_cv_objdir+:} false; then :
   8059   $as_echo_n "(cached) " >&6
   8060 else
   8061   rm -f .libs 2>/dev/null
   8062 mkdir .libs 2>/dev/null
   8063 if test -d .libs; then
   8064   lt_cv_objdir=.libs
   8065 else
   8066   # MS-DOS does not allow filenames that begin with a dot.
   8067   lt_cv_objdir=_libs
   8068 fi
   8069 rmdir .libs 2>/dev/null
   8070 fi
   8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8072 $as_echo "$lt_cv_objdir" >&6; }
   8073 objdir=$lt_cv_objdir
   8074 
   8075 
   8076 
   8077 
   8078 
   8079 cat >>confdefs.h <<_ACEOF
   8080 #define LT_OBJDIR "$lt_cv_objdir/"
   8081 _ACEOF
   8082 
   8083 
   8084 
   8085 
   8086 case $host_os in
   8087 aix3*)
   8088   # AIX sometimes has problems with the GCC collect2 program.  For some
   8089   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8090   # vanish in a puff of smoke.
   8091   if test set != "${COLLECT_NAMES+set}"; then
   8092     COLLECT_NAMES=
   8093     export COLLECT_NAMES
   8094   fi
   8095   ;;
   8096 esac
   8097 
   8098 # Global variables:
   8099 ofile=libtool
   8100 can_build_shared=yes
   8101 
   8102 # All known linkers require a '.a' archive for static linking (except MSVC,
   8103 # which needs '.lib').
   8104 libext=a
   8105 
   8106 with_gnu_ld=$lt_cv_prog_gnu_ld
   8107 
   8108 old_CC=$CC
   8109 old_CFLAGS=$CFLAGS
   8110 
   8111 # Set sane defaults for various variables
   8112 test -z "$CC" && CC=cc
   8113 test -z "$LTCC" && LTCC=$CC
   8114 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8115 test -z "$LD" && LD=ld
   8116 test -z "$ac_objext" && ac_objext=o
   8117 
   8118 func_cc_basename $compiler
   8119 cc_basename=$func_cc_basename_result
   8120 
   8121 
   8122 # Only perform the check for file, if the check method requires it
   8123 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8124 case $deplibs_check_method in
   8125 file_magic*)
   8126   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8127     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8128 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8129 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8130   $as_echo_n "(cached) " >&6
   8131 else
   8132   case $MAGIC_CMD in
   8133 [\\/*] |  ?:[\\/]*)
   8134   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8135   ;;
   8136 *)
   8137   lt_save_MAGIC_CMD=$MAGIC_CMD
   8138   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8139   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8140   for ac_dir in $ac_dummy; do
   8141     IFS=$lt_save_ifs
   8142     test -z "$ac_dir" && ac_dir=.
   8143     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8144       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8145       if test -n "$file_magic_test_file"; then
   8146 	case $deplibs_check_method in
   8147 	"file_magic "*)
   8148 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8149 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8150 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8151 	    $EGREP "$file_magic_regex" > /dev/null; then
   8152 	    :
   8153 	  else
   8154 	    cat <<_LT_EOF 1>&2
   8155 
   8156 *** Warning: the command libtool uses to detect shared libraries,
   8157 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8158 *** The result is that libtool may fail to recognize shared libraries
   8159 *** as such.  This will affect the creation of libtool libraries that
   8160 *** depend on shared libraries, but programs linked with such libtool
   8161 *** libraries will work regardless of this problem.  Nevertheless, you
   8162 *** may want to report the problem to your system manager and/or to
   8163 *** bug-libtool (at] gnu.org
   8164 
   8165 _LT_EOF
   8166 	  fi ;;
   8167 	esac
   8168       fi
   8169       break
   8170     fi
   8171   done
   8172   IFS=$lt_save_ifs
   8173   MAGIC_CMD=$lt_save_MAGIC_CMD
   8174   ;;
   8175 esac
   8176 fi
   8177 
   8178 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8179 if test -n "$MAGIC_CMD"; then
   8180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8181 $as_echo "$MAGIC_CMD" >&6; }
   8182 else
   8183   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8184 $as_echo "no" >&6; }
   8185 fi
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8192   if test -n "$ac_tool_prefix"; then
   8193     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8194 $as_echo_n "checking for file... " >&6; }
   8195 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8196   $as_echo_n "(cached) " >&6
   8197 else
   8198   case $MAGIC_CMD in
   8199 [\\/*] |  ?:[\\/]*)
   8200   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8201   ;;
   8202 *)
   8203   lt_save_MAGIC_CMD=$MAGIC_CMD
   8204   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8205   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8206   for ac_dir in $ac_dummy; do
   8207     IFS=$lt_save_ifs
   8208     test -z "$ac_dir" && ac_dir=.
   8209     if test -f "$ac_dir/file"; then
   8210       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8211       if test -n "$file_magic_test_file"; then
   8212 	case $deplibs_check_method in
   8213 	"file_magic "*)
   8214 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8215 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8216 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8217 	    $EGREP "$file_magic_regex" > /dev/null; then
   8218 	    :
   8219 	  else
   8220 	    cat <<_LT_EOF 1>&2
   8221 
   8222 *** Warning: the command libtool uses to detect shared libraries,
   8223 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8224 *** The result is that libtool may fail to recognize shared libraries
   8225 *** as such.  This will affect the creation of libtool libraries that
   8226 *** depend on shared libraries, but programs linked with such libtool
   8227 *** libraries will work regardless of this problem.  Nevertheless, you
   8228 *** may want to report the problem to your system manager and/or to
   8229 *** bug-libtool (at] gnu.org
   8230 
   8231 _LT_EOF
   8232 	  fi ;;
   8233 	esac
   8234       fi
   8235       break
   8236     fi
   8237   done
   8238   IFS=$lt_save_ifs
   8239   MAGIC_CMD=$lt_save_MAGIC_CMD
   8240   ;;
   8241 esac
   8242 fi
   8243 
   8244 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8245 if test -n "$MAGIC_CMD"; then
   8246   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8247 $as_echo "$MAGIC_CMD" >&6; }
   8248 else
   8249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8250 $as_echo "no" >&6; }
   8251 fi
   8252 
   8253 
   8254   else
   8255     MAGIC_CMD=:
   8256   fi
   8257 fi
   8258 
   8259   fi
   8260   ;;
   8261 esac
   8262 
   8263 # Use C for the default configuration in the libtool script
   8264 
   8265 lt_save_CC=$CC
   8266 ac_ext=c
   8267 ac_cpp='$CPP $CPPFLAGS'
   8268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8271 
   8272 
   8273 # Source file extension for C test sources.
   8274 ac_ext=c
   8275 
   8276 # Object file extension for compiled C test sources.
   8277 objext=o
   8278 objext=$objext
   8279 
   8280 # Code to be used in simple compile tests
   8281 lt_simple_compile_test_code="int some_variable = 0;"
   8282 
   8283 # Code to be used in simple link tests
   8284 lt_simple_link_test_code='int main(){return(0);}'
   8285 
   8286 
   8287 
   8288 
   8289 
   8290 
   8291 
   8292 # If no C compiler was specified, use CC.
   8293 LTCC=${LTCC-"$CC"}
   8294 
   8295 # If no C compiler flags were specified, use CFLAGS.
   8296 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8297 
   8298 # Allow CC to be a program name with arguments.
   8299 compiler=$CC
   8300 
   8301 # Save the default compiler, since it gets overwritten when the other
   8302 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8303 compiler_DEFAULT=$CC
   8304 
   8305 # save warnings/boilerplate of simple test code
   8306 ac_outfile=conftest.$ac_objext
   8307 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8308 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8309 _lt_compiler_boilerplate=`cat conftest.err`
   8310 $RM conftest*
   8311 
   8312 ac_outfile=conftest.$ac_objext
   8313 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8314 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8315 _lt_linker_boilerplate=`cat conftest.err`
   8316 $RM -r conftest*
   8317 
   8318 
   8319 if test -n "$compiler"; then
   8320 
   8321 lt_prog_compiler_no_builtin_flag=
   8322 
   8323 if test yes = "$GCC"; then
   8324   case $cc_basename in
   8325   nvcc*)
   8326     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8327   *)
   8328     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8329   esac
   8330 
   8331   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8332 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8333 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8334   $as_echo_n "(cached) " >&6
   8335 else
   8336   lt_cv_prog_compiler_rtti_exceptions=no
   8337    ac_outfile=conftest.$ac_objext
   8338    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8339    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8340    # Insert the option either (1) after the last *FLAGS variable, or
   8341    # (2) before a word containing "conftest.", or (3) at the end.
   8342    # Note that $ac_compile itself does not contain backslashes and begins
   8343    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8344    # The option is referenced via a variable to avoid confusing sed.
   8345    lt_compile=`echo "$ac_compile" | $SED \
   8346    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8347    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8348    -e 's:$: $lt_compiler_flag:'`
   8349    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8350    (eval "$lt_compile" 2>conftest.err)
   8351    ac_status=$?
   8352    cat conftest.err >&5
   8353    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8354    if (exit $ac_status) && test -s "$ac_outfile"; then
   8355      # The compiler can only warn and ignore the option if not recognized
   8356      # So say no if there are warnings other than the usual output.
   8357      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8358      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8359      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8360        lt_cv_prog_compiler_rtti_exceptions=yes
   8361      fi
   8362    fi
   8363    $RM conftest*
   8364 
   8365 fi
   8366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8367 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8368 
   8369 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8370     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8371 else
   8372     :
   8373 fi
   8374 
   8375 fi
   8376 
   8377 
   8378 
   8379 
   8380 
   8381 
   8382   lt_prog_compiler_wl=
   8383 lt_prog_compiler_pic=
   8384 lt_prog_compiler_static=
   8385 
   8386 
   8387   if test yes = "$GCC"; then
   8388     lt_prog_compiler_wl='-Wl,'
   8389     lt_prog_compiler_static='-static'
   8390 
   8391     case $host_os in
   8392       aix*)
   8393       # All AIX code is PIC.
   8394       if test ia64 = "$host_cpu"; then
   8395 	# AIX 5 now supports IA64 processor
   8396 	lt_prog_compiler_static='-Bstatic'
   8397       fi
   8398       lt_prog_compiler_pic='-fPIC'
   8399       ;;
   8400 
   8401     amigaos*)
   8402       case $host_cpu in
   8403       powerpc)
   8404             # see comment about AmigaOS4 .so support
   8405             lt_prog_compiler_pic='-fPIC'
   8406         ;;
   8407       m68k)
   8408             # FIXME: we need at least 68020 code to build shared libraries, but
   8409             # adding the '-m68020' flag to GCC prevents building anything better,
   8410             # like '-m68040'.
   8411             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8412         ;;
   8413       esac
   8414       ;;
   8415 
   8416     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8417       # PIC is the default for these OSes.
   8418       ;;
   8419 
   8420     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8421       # This hack is so that the source file can tell whether it is being
   8422       # built for inclusion in a dll (and should export symbols for example).
   8423       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8424       # (--disable-auto-import) libraries
   8425       lt_prog_compiler_pic='-DDLL_EXPORT'
   8426       case $host_os in
   8427       os2*)
   8428 	lt_prog_compiler_static='$wl-static'
   8429 	;;
   8430       esac
   8431       ;;
   8432 
   8433     darwin* | rhapsody*)
   8434       # PIC is the default on this platform
   8435       # Common symbols not allowed in MH_DYLIB files
   8436       lt_prog_compiler_pic='-fno-common'
   8437       ;;
   8438 
   8439     haiku*)
   8440       # PIC is the default for Haiku.
   8441       # The "-static" flag exists, but is broken.
   8442       lt_prog_compiler_static=
   8443       ;;
   8444 
   8445     hpux*)
   8446       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8447       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8448       # sets the default TLS model and affects inlining.
   8449       case $host_cpu in
   8450       hppa*64*)
   8451 	# +Z the default
   8452 	;;
   8453       *)
   8454 	lt_prog_compiler_pic='-fPIC'
   8455 	;;
   8456       esac
   8457       ;;
   8458 
   8459     interix[3-9]*)
   8460       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8461       # Instead, we relocate shared libraries at runtime.
   8462       ;;
   8463 
   8464     msdosdjgpp*)
   8465       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8466       # on systems that don't support them.
   8467       lt_prog_compiler_can_build_shared=no
   8468       enable_shared=no
   8469       ;;
   8470 
   8471     *nto* | *qnx*)
   8472       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8473       # it will coredump.
   8474       lt_prog_compiler_pic='-fPIC -shared'
   8475       ;;
   8476 
   8477     sysv4*MP*)
   8478       if test -d /usr/nec; then
   8479 	lt_prog_compiler_pic=-Kconform_pic
   8480       fi
   8481       ;;
   8482 
   8483     *)
   8484       lt_prog_compiler_pic='-fPIC'
   8485       ;;
   8486     esac
   8487 
   8488     case $cc_basename in
   8489     nvcc*) # Cuda Compiler Driver 2.2
   8490       lt_prog_compiler_wl='-Xlinker '
   8491       if test -n "$lt_prog_compiler_pic"; then
   8492         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8493       fi
   8494       ;;
   8495     esac
   8496   else
   8497     # PORTME Check for flag to pass linker flags through the system compiler.
   8498     case $host_os in
   8499     aix*)
   8500       lt_prog_compiler_wl='-Wl,'
   8501       if test ia64 = "$host_cpu"; then
   8502 	# AIX 5 now supports IA64 processor
   8503 	lt_prog_compiler_static='-Bstatic'
   8504       else
   8505 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8506       fi
   8507       ;;
   8508 
   8509     darwin* | rhapsody*)
   8510       # PIC is the default on this platform
   8511       # Common symbols not allowed in MH_DYLIB files
   8512       lt_prog_compiler_pic='-fno-common'
   8513       case $cc_basename in
   8514       nagfor*)
   8515         # NAG Fortran compiler
   8516         lt_prog_compiler_wl='-Wl,-Wl,,'
   8517         lt_prog_compiler_pic='-PIC'
   8518         lt_prog_compiler_static='-Bstatic'
   8519         ;;
   8520       esac
   8521       ;;
   8522 
   8523     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8524       # This hack is so that the source file can tell whether it is being
   8525       # built for inclusion in a dll (and should export symbols for example).
   8526       lt_prog_compiler_pic='-DDLL_EXPORT'
   8527       case $host_os in
   8528       os2*)
   8529 	lt_prog_compiler_static='$wl-static'
   8530 	;;
   8531       esac
   8532       ;;
   8533 
   8534     hpux9* | hpux10* | hpux11*)
   8535       lt_prog_compiler_wl='-Wl,'
   8536       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8537       # not for PA HP-UX.
   8538       case $host_cpu in
   8539       hppa*64*|ia64*)
   8540 	# +Z the default
   8541 	;;
   8542       *)
   8543 	lt_prog_compiler_pic='+Z'
   8544 	;;
   8545       esac
   8546       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8547       lt_prog_compiler_static='$wl-a ${wl}archive'
   8548       ;;
   8549 
   8550     irix5* | irix6* | nonstopux*)
   8551       lt_prog_compiler_wl='-Wl,'
   8552       # PIC (with -KPIC) is the default.
   8553       lt_prog_compiler_static='-non_shared'
   8554       ;;
   8555 
   8556     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8557       case $cc_basename in
   8558       # old Intel for x86_64, which still supported -KPIC.
   8559       ecc*)
   8560 	lt_prog_compiler_wl='-Wl,'
   8561 	lt_prog_compiler_pic='-KPIC'
   8562 	lt_prog_compiler_static='-static'
   8563         ;;
   8564       # icc used to be incompatible with GCC.
   8565       # ICC 10 doesn't accept -KPIC any more.
   8566       icc* | ifort*)
   8567 	lt_prog_compiler_wl='-Wl,'
   8568 	lt_prog_compiler_pic='-fPIC'
   8569 	lt_prog_compiler_static='-static'
   8570         ;;
   8571       # Lahey Fortran 8.1.
   8572       lf95*)
   8573 	lt_prog_compiler_wl='-Wl,'
   8574 	lt_prog_compiler_pic='--shared'
   8575 	lt_prog_compiler_static='--static'
   8576 	;;
   8577       nagfor*)
   8578 	# NAG Fortran compiler
   8579 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8580 	lt_prog_compiler_pic='-PIC'
   8581 	lt_prog_compiler_static='-Bstatic'
   8582 	;;
   8583       tcc*)
   8584 	# Fabrice Bellard et al's Tiny C Compiler
   8585 	lt_prog_compiler_wl='-Wl,'
   8586 	lt_prog_compiler_pic='-fPIC'
   8587 	lt_prog_compiler_static='-static'
   8588 	;;
   8589       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8590         # Portland Group compilers (*not* the Pentium gcc compiler,
   8591 	# which looks to be a dead project)
   8592 	lt_prog_compiler_wl='-Wl,'
   8593 	lt_prog_compiler_pic='-fpic'
   8594 	lt_prog_compiler_static='-Bstatic'
   8595         ;;
   8596       ccc*)
   8597         lt_prog_compiler_wl='-Wl,'
   8598         # All Alpha code is PIC.
   8599         lt_prog_compiler_static='-non_shared'
   8600         ;;
   8601       xl* | bgxl* | bgf* | mpixl*)
   8602 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8603 	lt_prog_compiler_wl='-Wl,'
   8604 	lt_prog_compiler_pic='-qpic'
   8605 	lt_prog_compiler_static='-qstaticlink'
   8606 	;;
   8607       *)
   8608 	case `$CC -V 2>&1 | sed 5q` in
   8609 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8610 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8611 	  lt_prog_compiler_pic='-KPIC'
   8612 	  lt_prog_compiler_static='-Bstatic'
   8613 	  lt_prog_compiler_wl=''
   8614 	  ;;
   8615 	*Sun\ F* | *Sun*Fortran*)
   8616 	  lt_prog_compiler_pic='-KPIC'
   8617 	  lt_prog_compiler_static='-Bstatic'
   8618 	  lt_prog_compiler_wl='-Qoption ld '
   8619 	  ;;
   8620 	*Sun\ C*)
   8621 	  # Sun C 5.9
   8622 	  lt_prog_compiler_pic='-KPIC'
   8623 	  lt_prog_compiler_static='-Bstatic'
   8624 	  lt_prog_compiler_wl='-Wl,'
   8625 	  ;;
   8626         *Intel*\ [CF]*Compiler*)
   8627 	  lt_prog_compiler_wl='-Wl,'
   8628 	  lt_prog_compiler_pic='-fPIC'
   8629 	  lt_prog_compiler_static='-static'
   8630 	  ;;
   8631 	*Portland\ Group*)
   8632 	  lt_prog_compiler_wl='-Wl,'
   8633 	  lt_prog_compiler_pic='-fpic'
   8634 	  lt_prog_compiler_static='-Bstatic'
   8635 	  ;;
   8636 	esac
   8637 	;;
   8638       esac
   8639       ;;
   8640 
   8641     newsos6)
   8642       lt_prog_compiler_pic='-KPIC'
   8643       lt_prog_compiler_static='-Bstatic'
   8644       ;;
   8645 
   8646     *nto* | *qnx*)
   8647       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8648       # it will coredump.
   8649       lt_prog_compiler_pic='-fPIC -shared'
   8650       ;;
   8651 
   8652     osf3* | osf4* | osf5*)
   8653       lt_prog_compiler_wl='-Wl,'
   8654       # All OSF/1 code is PIC.
   8655       lt_prog_compiler_static='-non_shared'
   8656       ;;
   8657 
   8658     rdos*)
   8659       lt_prog_compiler_static='-non_shared'
   8660       ;;
   8661 
   8662     solaris*)
   8663       lt_prog_compiler_pic='-KPIC'
   8664       lt_prog_compiler_static='-Bstatic'
   8665       case $cc_basename in
   8666       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8667 	lt_prog_compiler_wl='-Qoption ld ';;
   8668       *)
   8669 	lt_prog_compiler_wl='-Wl,';;
   8670       esac
   8671       ;;
   8672 
   8673     sunos4*)
   8674       lt_prog_compiler_wl='-Qoption ld '
   8675       lt_prog_compiler_pic='-PIC'
   8676       lt_prog_compiler_static='-Bstatic'
   8677       ;;
   8678 
   8679     sysv4 | sysv4.2uw2* | sysv4.3*)
   8680       lt_prog_compiler_wl='-Wl,'
   8681       lt_prog_compiler_pic='-KPIC'
   8682       lt_prog_compiler_static='-Bstatic'
   8683       ;;
   8684 
   8685     sysv4*MP*)
   8686       if test -d /usr/nec; then
   8687 	lt_prog_compiler_pic='-Kconform_pic'
   8688 	lt_prog_compiler_static='-Bstatic'
   8689       fi
   8690       ;;
   8691 
   8692     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8693       lt_prog_compiler_wl='-Wl,'
   8694       lt_prog_compiler_pic='-KPIC'
   8695       lt_prog_compiler_static='-Bstatic'
   8696       ;;
   8697 
   8698     unicos*)
   8699       lt_prog_compiler_wl='-Wl,'
   8700       lt_prog_compiler_can_build_shared=no
   8701       ;;
   8702 
   8703     uts4*)
   8704       lt_prog_compiler_pic='-pic'
   8705       lt_prog_compiler_static='-Bstatic'
   8706       ;;
   8707 
   8708     *)
   8709       lt_prog_compiler_can_build_shared=no
   8710       ;;
   8711     esac
   8712   fi
   8713 
   8714 case $host_os in
   8715   # For platforms that do not support PIC, -DPIC is meaningless:
   8716   *djgpp*)
   8717     lt_prog_compiler_pic=
   8718     ;;
   8719   *)
   8720     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8721     ;;
   8722 esac
   8723 
   8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8725 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8726 if ${lt_cv_prog_compiler_pic+:} false; then :
   8727   $as_echo_n "(cached) " >&6
   8728 else
   8729   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8730 fi
   8731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8732 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8733 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8734 
   8735 #
   8736 # Check to make sure the PIC flag actually works.
   8737 #
   8738 if test -n "$lt_prog_compiler_pic"; then
   8739   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8740 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8741 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8742   $as_echo_n "(cached) " >&6
   8743 else
   8744   lt_cv_prog_compiler_pic_works=no
   8745    ac_outfile=conftest.$ac_objext
   8746    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8747    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8748    # Insert the option either (1) after the last *FLAGS variable, or
   8749    # (2) before a word containing "conftest.", or (3) at the end.
   8750    # Note that $ac_compile itself does not contain backslashes and begins
   8751    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8752    # The option is referenced via a variable to avoid confusing sed.
   8753    lt_compile=`echo "$ac_compile" | $SED \
   8754    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8755    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8756    -e 's:$: $lt_compiler_flag:'`
   8757    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8758    (eval "$lt_compile" 2>conftest.err)
   8759    ac_status=$?
   8760    cat conftest.err >&5
   8761    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8762    if (exit $ac_status) && test -s "$ac_outfile"; then
   8763      # The compiler can only warn and ignore the option if not recognized
   8764      # So say no if there are warnings other than the usual output.
   8765      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8766      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8767      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8768        lt_cv_prog_compiler_pic_works=yes
   8769      fi
   8770    fi
   8771    $RM conftest*
   8772 
   8773 fi
   8774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8775 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8776 
   8777 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   8778     case $lt_prog_compiler_pic in
   8779      "" | " "*) ;;
   8780      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8781      esac
   8782 else
   8783     lt_prog_compiler_pic=
   8784      lt_prog_compiler_can_build_shared=no
   8785 fi
   8786 
   8787 fi
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 
   8797 
   8798 
   8799 #
   8800 # Check to make sure the static flag actually works.
   8801 #
   8802 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8804 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8805 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8806   $as_echo_n "(cached) " >&6
   8807 else
   8808   lt_cv_prog_compiler_static_works=no
   8809    save_LDFLAGS=$LDFLAGS
   8810    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8811    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8812    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8813      # The linker can only warn and ignore the option if not recognized
   8814      # So say no if there are warnings
   8815      if test -s conftest.err; then
   8816        # Append any errors to the config.log.
   8817        cat conftest.err 1>&5
   8818        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8819        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8820        if diff conftest.exp conftest.er2 >/dev/null; then
   8821          lt_cv_prog_compiler_static_works=yes
   8822        fi
   8823      else
   8824        lt_cv_prog_compiler_static_works=yes
   8825      fi
   8826    fi
   8827    $RM -r conftest*
   8828    LDFLAGS=$save_LDFLAGS
   8829 
   8830 fi
   8831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8832 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8833 
   8834 if test yes = "$lt_cv_prog_compiler_static_works"; then
   8835     :
   8836 else
   8837     lt_prog_compiler_static=
   8838 fi
   8839 
   8840 
   8841 
   8842 
   8843 
   8844 
   8845 
   8846   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8847 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8848 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8849   $as_echo_n "(cached) " >&6
   8850 else
   8851   lt_cv_prog_compiler_c_o=no
   8852    $RM -r conftest 2>/dev/null
   8853    mkdir conftest
   8854    cd conftest
   8855    mkdir out
   8856    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8857 
   8858    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8859    # Insert the option either (1) after the last *FLAGS variable, or
   8860    # (2) before a word containing "conftest.", or (3) at the end.
   8861    # Note that $ac_compile itself does not contain backslashes and begins
   8862    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8863    lt_compile=`echo "$ac_compile" | $SED \
   8864    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8865    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8866    -e 's:$: $lt_compiler_flag:'`
   8867    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8868    (eval "$lt_compile" 2>out/conftest.err)
   8869    ac_status=$?
   8870    cat out/conftest.err >&5
   8871    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8872    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8873    then
   8874      # The compiler can only warn and ignore the option if not recognized
   8875      # So say no if there are warnings
   8876      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8877      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8878      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8879        lt_cv_prog_compiler_c_o=yes
   8880      fi
   8881    fi
   8882    chmod u+w . 2>&5
   8883    $RM conftest*
   8884    # SGI C++ compiler will create directory out/ii_files/ for
   8885    # template instantiation
   8886    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8887    $RM out/* && rmdir out
   8888    cd ..
   8889    $RM -r conftest
   8890    $RM conftest*
   8891 
   8892 fi
   8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8894 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8895 
   8896 
   8897 
   8898 
   8899 
   8900 
   8901   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8902 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8903 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8904   $as_echo_n "(cached) " >&6
   8905 else
   8906   lt_cv_prog_compiler_c_o=no
   8907    $RM -r conftest 2>/dev/null
   8908    mkdir conftest
   8909    cd conftest
   8910    mkdir out
   8911    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8912 
   8913    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8914    # Insert the option either (1) after the last *FLAGS variable, or
   8915    # (2) before a word containing "conftest.", or (3) at the end.
   8916    # Note that $ac_compile itself does not contain backslashes and begins
   8917    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8918    lt_compile=`echo "$ac_compile" | $SED \
   8919    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8920    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8921    -e 's:$: $lt_compiler_flag:'`
   8922    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8923    (eval "$lt_compile" 2>out/conftest.err)
   8924    ac_status=$?
   8925    cat out/conftest.err >&5
   8926    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8927    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8928    then
   8929      # The compiler can only warn and ignore the option if not recognized
   8930      # So say no if there are warnings
   8931      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   8932      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   8933      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   8934        lt_cv_prog_compiler_c_o=yes
   8935      fi
   8936    fi
   8937    chmod u+w . 2>&5
   8938    $RM conftest*
   8939    # SGI C++ compiler will create directory out/ii_files/ for
   8940    # template instantiation
   8941    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   8942    $RM out/* && rmdir out
   8943    cd ..
   8944    $RM -r conftest
   8945    $RM conftest*
   8946 
   8947 fi
   8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   8949 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   8950 
   8951 
   8952 
   8953 
   8954 hard_links=nottested
   8955 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   8956   # do not overwrite the value of need_locks provided by the user
   8957   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   8958 $as_echo_n "checking if we can lock with hard links... " >&6; }
   8959   hard_links=yes
   8960   $RM conftest*
   8961   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8962   touch conftest.a
   8963   ln conftest.a conftest.b 2>&5 || hard_links=no
   8964   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   8965   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   8966 $as_echo "$hard_links" >&6; }
   8967   if test no = "$hard_links"; then
   8968     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   8969 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   8970     need_locks=warn
   8971   fi
   8972 else
   8973   need_locks=no
   8974 fi
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   8982 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   8983 
   8984   runpath_var=
   8985   allow_undefined_flag=
   8986   always_export_symbols=no
   8987   archive_cmds=
   8988   archive_expsym_cmds=
   8989   compiler_needs_object=no
   8990   enable_shared_with_static_runtimes=no
   8991   export_dynamic_flag_spec=
   8992   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   8993   hardcode_automatic=no
   8994   hardcode_direct=no
   8995   hardcode_direct_absolute=no
   8996   hardcode_libdir_flag_spec=
   8997   hardcode_libdir_separator=
   8998   hardcode_minus_L=no
   8999   hardcode_shlibpath_var=unsupported
   9000   inherit_rpath=no
   9001   link_all_deplibs=unknown
   9002   module_cmds=
   9003   module_expsym_cmds=
   9004   old_archive_from_new_cmds=
   9005   old_archive_from_expsyms_cmds=
   9006   thread_safe_flag_spec=
   9007   whole_archive_flag_spec=
   9008   # include_expsyms should be a list of space-separated symbols to be *always*
   9009   # included in the symbol list
   9010   include_expsyms=
   9011   # exclude_expsyms can be an extended regexp of symbols to exclude
   9012   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9013   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9014   # as well as any symbol that contains 'd'.
   9015   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9016   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9017   # platforms (ab)use it in PIC code, but their linkers get confused if
   9018   # the symbol is explicitly referenced.  Since portable code cannot
   9019   # rely on this symbol name, it's probably fine to never include it in
   9020   # preloaded symbol tables.
   9021   # Exclude shared library initialization/finalization symbols.
   9022   extract_expsyms_cmds=
   9023 
   9024   case $host_os in
   9025   cygwin* | mingw* | pw32* | cegcc*)
   9026     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9027     # When not using gcc, we currently assume that we are using
   9028     # Microsoft Visual C++.
   9029     if test yes != "$GCC"; then
   9030       with_gnu_ld=no
   9031     fi
   9032     ;;
   9033   interix*)
   9034     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9035     with_gnu_ld=yes
   9036     ;;
   9037   openbsd* | bitrig*)
   9038     with_gnu_ld=no
   9039     ;;
   9040   esac
   9041 
   9042   ld_shlibs=yes
   9043 
   9044   # On some targets, GNU ld is compatible enough with the native linker
   9045   # that we're better off using the native interface for both.
   9046   lt_use_gnu_ld_interface=no
   9047   if test yes = "$with_gnu_ld"; then
   9048     case $host_os in
   9049       aix*)
   9050 	# The AIX port of GNU ld has always aspired to compatibility
   9051 	# with the native linker.  However, as the warning in the GNU ld
   9052 	# block says, versions before 2.19.5* couldn't really create working
   9053 	# shared libraries, regardless of the interface used.
   9054 	case `$LD -v 2>&1` in
   9055 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9056 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9057 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9058 	  *)
   9059 	    lt_use_gnu_ld_interface=yes
   9060 	    ;;
   9061 	esac
   9062 	;;
   9063       *)
   9064 	lt_use_gnu_ld_interface=yes
   9065 	;;
   9066     esac
   9067   fi
   9068 
   9069   if test yes = "$lt_use_gnu_ld_interface"; then
   9070     # If archive_cmds runs LD, not CC, wlarc should be empty
   9071     wlarc='$wl'
   9072 
   9073     # Set some defaults for GNU ld with shared library support. These
   9074     # are reset later if shared libraries are not supported. Putting them
   9075     # here allows them to be overridden if necessary.
   9076     runpath_var=LD_RUN_PATH
   9077     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9078     export_dynamic_flag_spec='$wl--export-dynamic'
   9079     # ancient GNU ld didn't support --whole-archive et. al.
   9080     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9081       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9082     else
   9083       whole_archive_flag_spec=
   9084     fi
   9085     supports_anon_versioning=no
   9086     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9087       *GNU\ gold*) supports_anon_versioning=yes ;;
   9088       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9089       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9090       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9091       *\ 2.11.*) ;; # other 2.11 versions
   9092       *) supports_anon_versioning=yes ;;
   9093     esac
   9094 
   9095     # See if GNU ld supports shared libraries.
   9096     case $host_os in
   9097     aix[3-9]*)
   9098       # On AIX/PPC, the GNU linker is very broken
   9099       if test ia64 != "$host_cpu"; then
   9100 	ld_shlibs=no
   9101 	cat <<_LT_EOF 1>&2
   9102 
   9103 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9104 *** to be unable to reliably create shared libraries on AIX.
   9105 *** Therefore, libtool is disabling shared libraries support.  If you
   9106 *** really care for shared libraries, you may want to install binutils
   9107 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9108 *** You will then need to restart the configuration process.
   9109 
   9110 _LT_EOF
   9111       fi
   9112       ;;
   9113 
   9114     amigaos*)
   9115       case $host_cpu in
   9116       powerpc)
   9117             # see comment about AmigaOS4 .so support
   9118             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9119             archive_expsym_cmds=''
   9120         ;;
   9121       m68k)
   9122             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)'
   9123             hardcode_libdir_flag_spec='-L$libdir'
   9124             hardcode_minus_L=yes
   9125         ;;
   9126       esac
   9127       ;;
   9128 
   9129     beos*)
   9130       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9131 	allow_undefined_flag=unsupported
   9132 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9133 	# support --undefined.  This deserves some investigation.  FIXME
   9134 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9135       else
   9136 	ld_shlibs=no
   9137       fi
   9138       ;;
   9139 
   9140     cygwin* | mingw* | pw32* | cegcc*)
   9141       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9142       # as there is no search path for DLLs.
   9143       hardcode_libdir_flag_spec='-L$libdir'
   9144       export_dynamic_flag_spec='$wl--export-all-symbols'
   9145       allow_undefined_flag=unsupported
   9146       always_export_symbols=no
   9147       enable_shared_with_static_runtimes=yes
   9148       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'
   9149       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9150 
   9151       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9152         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9153 	# If the export-symbols file already is a .def file, use it as
   9154 	# is; otherwise, prepend EXPORTS...
   9155 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9156           cp $export_symbols $output_objdir/$soname.def;
   9157         else
   9158           echo EXPORTS > $output_objdir/$soname.def;
   9159           cat $export_symbols >> $output_objdir/$soname.def;
   9160         fi~
   9161         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9162       else
   9163 	ld_shlibs=no
   9164       fi
   9165       ;;
   9166 
   9167     haiku*)
   9168       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9169       link_all_deplibs=yes
   9170       ;;
   9171 
   9172     os2*)
   9173       hardcode_libdir_flag_spec='-L$libdir'
   9174       hardcode_minus_L=yes
   9175       allow_undefined_flag=unsupported
   9176       shrext_cmds=.dll
   9177       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9178 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9179 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9180 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9181 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9182 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9183 	emximp -o $lib $output_objdir/$libname.def'
   9184       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9185 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9186 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9187 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9188 	prefix_cmds="$SED"~
   9189 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9190 	  prefix_cmds="$prefix_cmds -e 1d";
   9191 	fi~
   9192 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9193 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9194 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9195 	emximp -o $lib $output_objdir/$libname.def'
   9196       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9197       enable_shared_with_static_runtimes=yes
   9198       ;;
   9199 
   9200     interix[3-9]*)
   9201       hardcode_direct=no
   9202       hardcode_shlibpath_var=no
   9203       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9204       export_dynamic_flag_spec='$wl-E'
   9205       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9206       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9207       # default) and relocated if they conflict, which is a slow very memory
   9208       # consuming and fragmenting process.  To avoid this, we pick a random,
   9209       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9210       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9211       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9212       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'
   9213       ;;
   9214 
   9215     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9216       tmp_diet=no
   9217       if test linux-dietlibc = "$host_os"; then
   9218 	case $cc_basename in
   9219 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9220 	esac
   9221       fi
   9222       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9223 	 && test no = "$tmp_diet"
   9224       then
   9225 	tmp_addflag=' $pic_flag'
   9226 	tmp_sharedflag='-shared'
   9227 	case $cc_basename,$host_cpu in
   9228         pgcc*)				# Portland Group C compiler
   9229 	  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'
   9230 	  tmp_addflag=' $pic_flag'
   9231 	  ;;
   9232 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9233 					# Portland Group f77 and f90 compilers
   9234 	  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'
   9235 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9236 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9237 	  tmp_addflag=' -i_dynamic' ;;
   9238 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9239 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9240 	ifc* | ifort*)			# Intel Fortran compiler
   9241 	  tmp_addflag=' -nofor_main' ;;
   9242 	lf95*)				# Lahey Fortran 8.1
   9243 	  whole_archive_flag_spec=
   9244 	  tmp_sharedflag='--shared' ;;
   9245         nagfor*)                        # NAGFOR 5.3
   9246           tmp_sharedflag='-Wl,-shared' ;;
   9247 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9248 	  tmp_sharedflag='-qmkshrobj'
   9249 	  tmp_addflag= ;;
   9250 	nvcc*)	# Cuda Compiler Driver 2.2
   9251 	  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'
   9252 	  compiler_needs_object=yes
   9253 	  ;;
   9254 	esac
   9255 	case `$CC -V 2>&1 | sed 5q` in
   9256 	*Sun\ C*)			# Sun C 5.9
   9257 	  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'
   9258 	  compiler_needs_object=yes
   9259 	  tmp_sharedflag='-G' ;;
   9260 	*Sun\ F*)			# Sun Fortran 8.3
   9261 	  tmp_sharedflag='-G' ;;
   9262 	esac
   9263 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9264 
   9265         if test yes = "$supports_anon_versioning"; then
   9266           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9267             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9268             echo "local: *; };" >> $output_objdir/$libname.ver~
   9269             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9270         fi
   9271 
   9272 	case $cc_basename in
   9273 	tcc*)
   9274 	  export_dynamic_flag_spec='-rdynamic'
   9275 	  ;;
   9276 	xlf* | bgf* | bgxlf* | mpixlf*)
   9277 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9278 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9279 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9280 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9281 	  if test yes = "$supports_anon_versioning"; then
   9282 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9283               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9284               echo "local: *; };" >> $output_objdir/$libname.ver~
   9285               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9286 	  fi
   9287 	  ;;
   9288 	esac
   9289       else
   9290         ld_shlibs=no
   9291       fi
   9292       ;;
   9293 
   9294     netbsd*)
   9295       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9296 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9297 	wlarc=
   9298       else
   9299 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9300 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9301       fi
   9302       ;;
   9303 
   9304     solaris*)
   9305       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9306 	ld_shlibs=no
   9307 	cat <<_LT_EOF 1>&2
   9308 
   9309 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9310 *** create shared libraries on Solaris systems.  Therefore, libtool
   9311 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9312 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9313 *** your PATH or compiler configuration so that the native linker is
   9314 *** used, and then restart.
   9315 
   9316 _LT_EOF
   9317       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9318 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9319 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9320       else
   9321 	ld_shlibs=no
   9322       fi
   9323       ;;
   9324 
   9325     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9326       case `$LD -v 2>&1` in
   9327         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9328 	ld_shlibs=no
   9329 	cat <<_LT_EOF 1>&2
   9330 
   9331 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9332 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9333 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9334 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9335 *** your PATH or compiler configuration so that the native linker is
   9336 *** used, and then restart.
   9337 
   9338 _LT_EOF
   9339 	;;
   9340 	*)
   9341 	  # For security reasons, it is highly recommended that you always
   9342 	  # use absolute paths for naming shared libraries, and exclude the
   9343 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9344 	  # requires that you compile everything twice, which is a pain.
   9345 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9346 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9347 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9348 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9349 	  else
   9350 	    ld_shlibs=no
   9351 	  fi
   9352 	;;
   9353       esac
   9354       ;;
   9355 
   9356     sunos4*)
   9357       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9358       wlarc=
   9359       hardcode_direct=yes
   9360       hardcode_shlibpath_var=no
   9361       ;;
   9362 
   9363     *)
   9364       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9365 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9366 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9367       else
   9368 	ld_shlibs=no
   9369       fi
   9370       ;;
   9371     esac
   9372 
   9373     if test no = "$ld_shlibs"; then
   9374       runpath_var=
   9375       hardcode_libdir_flag_spec=
   9376       export_dynamic_flag_spec=
   9377       whole_archive_flag_spec=
   9378     fi
   9379   else
   9380     # PORTME fill in a description of your system's linker (not GNU ld)
   9381     case $host_os in
   9382     aix3*)
   9383       allow_undefined_flag=unsupported
   9384       always_export_symbols=yes
   9385       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'
   9386       # Note: this linker hardcodes the directories in LIBPATH if there
   9387       # are no directories specified by -L.
   9388       hardcode_minus_L=yes
   9389       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9390 	# Neither direct hardcoding nor static linking is supported with a
   9391 	# broken collect2.
   9392 	hardcode_direct=unsupported
   9393       fi
   9394       ;;
   9395 
   9396     aix[4-9]*)
   9397       if test ia64 = "$host_cpu"; then
   9398 	# On IA64, the linker does run time linking by default, so we don't
   9399 	# have to do anything special.
   9400 	aix_use_runtimelinking=no
   9401 	exp_sym_flag='-Bexport'
   9402 	no_entry_flag=
   9403       else
   9404 	# If we're using GNU nm, then we don't want the "-C" option.
   9405 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9406 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9407 	# weak defined symbols like other global defined symbols, whereas
   9408 	# GNU nm marks them as "W".
   9409 	# While the 'weak' keyword is ignored in the Export File, we need
   9410 	# it in the Import File for the 'aix-soname' feature, so we have
   9411 	# to replace the "-B" option with "-P" for AIX nm.
   9412 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9413 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
   9414 	else
   9415 	  export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
   9416 	fi
   9417 	aix_use_runtimelinking=no
   9418 
   9419 	# Test if we are trying to use run time linking or normal
   9420 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9421 	# have runtime linking enabled, and use it for executables.
   9422 	# For shared libraries, we enable/disable runtime linking
   9423 	# depending on the kind of the shared library created -
   9424 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9425 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9426 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9427 	#            lib.a           static archive
   9428 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9429 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9430 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9431 	#            lib.a(lib.so.V) shared, rtl:no
   9432 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9433 	#            lib.a           static archive
   9434 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9435 	  for ld_flag in $LDFLAGS; do
   9436 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9437 	    aix_use_runtimelinking=yes
   9438 	    break
   9439 	  fi
   9440 	  done
   9441 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9442 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9443 	    # so we don't have lib.a shared libs to link our executables.
   9444 	    # We have to force runtime linking in this case.
   9445 	    aix_use_runtimelinking=yes
   9446 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9447 	  fi
   9448 	  ;;
   9449 	esac
   9450 
   9451 	exp_sym_flag='-bexport'
   9452 	no_entry_flag='-bnoentry'
   9453       fi
   9454 
   9455       # When large executables or shared objects are built, AIX ld can
   9456       # have problems creating the table of contents.  If linking a library
   9457       # or program results in "error TOC overflow" add -mminimal-toc to
   9458       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9459       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9460 
   9461       archive_cmds=''
   9462       hardcode_direct=yes
   9463       hardcode_direct_absolute=yes
   9464       hardcode_libdir_separator=':'
   9465       link_all_deplibs=yes
   9466       file_list_spec='$wl-f,'
   9467       case $with_aix_soname,$aix_use_runtimelinking in
   9468       aix,*) ;; # traditional, no import file
   9469       svr4,* | *,yes) # use import file
   9470 	# The Import File defines what to hardcode.
   9471 	hardcode_direct=no
   9472 	hardcode_direct_absolute=no
   9473 	;;
   9474       esac
   9475 
   9476       if test yes = "$GCC"; then
   9477 	case $host_os in aix4.[012]|aix4.[012].*)
   9478 	# We only want to do this on AIX 4.2 and lower, the check
   9479 	# below for broken collect2 doesn't work under 4.3+
   9480 	  collect2name=`$CC -print-prog-name=collect2`
   9481 	  if test -f "$collect2name" &&
   9482 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9483 	  then
   9484 	  # We have reworked collect2
   9485 	  :
   9486 	  else
   9487 	  # We have old collect2
   9488 	  hardcode_direct=unsupported
   9489 	  # It fails to find uninstalled libraries when the uninstalled
   9490 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9491 	  # to unsupported forces relinking
   9492 	  hardcode_minus_L=yes
   9493 	  hardcode_libdir_flag_spec='-L$libdir'
   9494 	  hardcode_libdir_separator=
   9495 	  fi
   9496 	  ;;
   9497 	esac
   9498 	shared_flag='-shared'
   9499 	if test yes = "$aix_use_runtimelinking"; then
   9500 	  shared_flag="$shared_flag "'$wl-G'
   9501 	fi
   9502 	# Need to ensure runtime linking is disabled for the traditional
   9503 	# shared library, or the linker may eventually find shared libraries
   9504 	# /with/ Import File - we do not want to mix them.
   9505 	shared_flag_aix='-shared'
   9506 	shared_flag_svr4='-shared $wl-G'
   9507       else
   9508 	# not using gcc
   9509 	if test ia64 = "$host_cpu"; then
   9510 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9511 	# chokes on -Wl,-G. The following line is correct:
   9512 	  shared_flag='-G'
   9513 	else
   9514 	  if test yes = "$aix_use_runtimelinking"; then
   9515 	    shared_flag='$wl-G'
   9516 	  else
   9517 	    shared_flag='$wl-bM:SRE'
   9518 	  fi
   9519 	  shared_flag_aix='$wl-bM:SRE'
   9520 	  shared_flag_svr4='$wl-G'
   9521 	fi
   9522       fi
   9523 
   9524       export_dynamic_flag_spec='$wl-bexpall'
   9525       # It seems that -bexpall does not export symbols beginning with
   9526       # underscore (_), so it is better to generate a list of symbols to export.
   9527       always_export_symbols=yes
   9528       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9529 	# Warning - without using the other runtime loading flags (-brtl),
   9530 	# -berok will link without error, but may produce a broken library.
   9531 	allow_undefined_flag='-berok'
   9532         # Determine the default libpath from the value encoded in an
   9533         # empty executable.
   9534         if test set = "${lt_cv_aix_libpath+set}"; then
   9535   aix_libpath=$lt_cv_aix_libpath
   9536 else
   9537   if ${lt_cv_aix_libpath_+:} false; then :
   9538   $as_echo_n "(cached) " >&6
   9539 else
   9540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9541 /* end confdefs.h.  */
   9542 
   9543 int
   9544 main ()
   9545 {
   9546 
   9547   ;
   9548   return 0;
   9549 }
   9550 _ACEOF
   9551 if ac_fn_c_try_link "$LINENO"; then :
   9552 
   9553   lt_aix_libpath_sed='
   9554       /Import File Strings/,/^$/ {
   9555 	  /^0/ {
   9556 	      s/^0  *\([^ ]*\) *$/\1/
   9557 	      p
   9558 	  }
   9559       }'
   9560   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9561   # Check for a 64-bit object if we didn't find anything.
   9562   if test -z "$lt_cv_aix_libpath_"; then
   9563     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9564   fi
   9565 fi
   9566 rm -f core conftest.err conftest.$ac_objext \
   9567     conftest$ac_exeext conftest.$ac_ext
   9568   if test -z "$lt_cv_aix_libpath_"; then
   9569     lt_cv_aix_libpath_=/usr/lib:/lib
   9570   fi
   9571 
   9572 fi
   9573 
   9574   aix_libpath=$lt_cv_aix_libpath_
   9575 fi
   9576 
   9577         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9578         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
   9579       else
   9580 	if test ia64 = "$host_cpu"; then
   9581 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9582 	  allow_undefined_flag="-z nodefs"
   9583 	  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"
   9584 	else
   9585 	 # Determine the default libpath from the value encoded in an
   9586 	 # empty executable.
   9587 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9588   aix_libpath=$lt_cv_aix_libpath
   9589 else
   9590   if ${lt_cv_aix_libpath_+:} false; then :
   9591   $as_echo_n "(cached) " >&6
   9592 else
   9593   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9594 /* end confdefs.h.  */
   9595 
   9596 int
   9597 main ()
   9598 {
   9599 
   9600   ;
   9601   return 0;
   9602 }
   9603 _ACEOF
   9604 if ac_fn_c_try_link "$LINENO"; then :
   9605 
   9606   lt_aix_libpath_sed='
   9607       /Import File Strings/,/^$/ {
   9608 	  /^0/ {
   9609 	      s/^0  *\([^ ]*\) *$/\1/
   9610 	      p
   9611 	  }
   9612       }'
   9613   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9614   # Check for a 64-bit object if we didn't find anything.
   9615   if test -z "$lt_cv_aix_libpath_"; then
   9616     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9617   fi
   9618 fi
   9619 rm -f core conftest.err conftest.$ac_objext \
   9620     conftest$ac_exeext conftest.$ac_ext
   9621   if test -z "$lt_cv_aix_libpath_"; then
   9622     lt_cv_aix_libpath_=/usr/lib:/lib
   9623   fi
   9624 
   9625 fi
   9626 
   9627   aix_libpath=$lt_cv_aix_libpath_
   9628 fi
   9629 
   9630 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9631 	  # Warning - without using the other run time loading flags,
   9632 	  # -berok will link without error, but may produce a broken library.
   9633 	  no_undefined_flag=' $wl-bernotok'
   9634 	  allow_undefined_flag=' $wl-berok'
   9635 	  if test yes = "$with_gnu_ld"; then
   9636 	    # We only use this code for GNU lds that support --whole-archive.
   9637 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9638 	  else
   9639 	    # Exported symbols can be pulled into shared objects from archives
   9640 	    whole_archive_flag_spec='$convenience'
   9641 	  fi
   9642 	  archive_cmds_need_lc=yes
   9643 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9644 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9645 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9646 	  if test svr4 != "$with_aix_soname"; then
   9647 	    # This is similar to how AIX traditionally builds its shared libraries.
   9648 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
   9649 	  fi
   9650 	  if test aix != "$with_aix_soname"; then
   9651 	    archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
   9652 	  else
   9653 	    # used by -dlpreopen to get the symbols
   9654 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9655 	  fi
   9656 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9657 	fi
   9658       fi
   9659       ;;
   9660 
   9661     amigaos*)
   9662       case $host_cpu in
   9663       powerpc)
   9664             # see comment about AmigaOS4 .so support
   9665             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9666             archive_expsym_cmds=''
   9667         ;;
   9668       m68k)
   9669             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)'
   9670             hardcode_libdir_flag_spec='-L$libdir'
   9671             hardcode_minus_L=yes
   9672         ;;
   9673       esac
   9674       ;;
   9675 
   9676     bsdi[45]*)
   9677       export_dynamic_flag_spec=-rdynamic
   9678       ;;
   9679 
   9680     cygwin* | mingw* | pw32* | cegcc*)
   9681       # When not using gcc, we currently assume that we are using
   9682       # Microsoft Visual C++.
   9683       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9684       # no search path for DLLs.
   9685       case $cc_basename in
   9686       cl*)
   9687 	# Native MSVC
   9688 	hardcode_libdir_flag_spec=' '
   9689 	allow_undefined_flag=unsupported
   9690 	always_export_symbols=yes
   9691 	file_list_spec='@'
   9692 	# Tell ltmain to make .lib files, not .a files.
   9693 	libext=lib
   9694 	# Tell ltmain to make .dll files, not .so files.
   9695 	shrext_cmds=.dll
   9696 	# FIXME: Setting linknames here is a bad hack.
   9697 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9698 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9699             cp "$export_symbols" "$output_objdir/$soname.def";
   9700             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9701           else
   9702             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9703           fi~
   9704           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9705           linknames='
   9706 	# The linker will not automatically build a static lib if we build a DLL.
   9707 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9708 	enable_shared_with_static_runtimes=yes
   9709 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9710 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9711 	# Don't use ranlib
   9712 	old_postinstall_cmds='chmod 644 $oldlib'
   9713 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9714           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9715           case $lt_outputfile in
   9716             *.exe|*.EXE) ;;
   9717             *)
   9718               lt_outputfile=$lt_outputfile.exe
   9719               lt_tool_outputfile=$lt_tool_outputfile.exe
   9720               ;;
   9721           esac~
   9722           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9723             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9724             $RM "$lt_outputfile.manifest";
   9725           fi'
   9726 	;;
   9727       *)
   9728 	# Assume MSVC wrapper
   9729 	hardcode_libdir_flag_spec=' '
   9730 	allow_undefined_flag=unsupported
   9731 	# Tell ltmain to make .lib files, not .a files.
   9732 	libext=lib
   9733 	# Tell ltmain to make .dll files, not .so files.
   9734 	shrext_cmds=.dll
   9735 	# FIXME: Setting linknames here is a bad hack.
   9736 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9737 	# The linker will automatically build a .lib file if we build a DLL.
   9738 	old_archive_from_new_cmds='true'
   9739 	# FIXME: Should let the user specify the lib program.
   9740 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9741 	enable_shared_with_static_runtimes=yes
   9742 	;;
   9743       esac
   9744       ;;
   9745 
   9746     darwin* | rhapsody*)
   9747 
   9748 
   9749   archive_cmds_need_lc=no
   9750   hardcode_direct=no
   9751   hardcode_automatic=yes
   9752   hardcode_shlibpath_var=unsupported
   9753   if test yes = "$lt_cv_ld_force_load"; then
   9754     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\"`'
   9755 
   9756   else
   9757     whole_archive_flag_spec=''
   9758   fi
   9759   link_all_deplibs=yes
   9760   allow_undefined_flag=$_lt_dar_allow_undefined
   9761   case $cc_basename in
   9762      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   9763      *) _lt_dar_can_shared=$GCC ;;
   9764   esac
   9765   if test yes = "$_lt_dar_can_shared"; then
   9766     output_verbose_link_cmd=func_echo_all
   9767     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   9768     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   9769     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"
   9770     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"
   9771 
   9772   else
   9773   ld_shlibs=no
   9774   fi
   9775 
   9776       ;;
   9777 
   9778     dgux*)
   9779       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9780       hardcode_libdir_flag_spec='-L$libdir'
   9781       hardcode_shlibpath_var=no
   9782       ;;
   9783 
   9784     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9785     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9786     # does not break anything, and helps significantly (at the cost of a little
   9787     # extra space).
   9788     freebsd2.2*)
   9789       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9790       hardcode_libdir_flag_spec='-R$libdir'
   9791       hardcode_direct=yes
   9792       hardcode_shlibpath_var=no
   9793       ;;
   9794 
   9795     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9796     freebsd2.*)
   9797       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9798       hardcode_direct=yes
   9799       hardcode_minus_L=yes
   9800       hardcode_shlibpath_var=no
   9801       ;;
   9802 
   9803     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9804     freebsd* | dragonfly*)
   9805       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9806       hardcode_libdir_flag_spec='-R$libdir'
   9807       hardcode_direct=yes
   9808       hardcode_shlibpath_var=no
   9809       ;;
   9810 
   9811     hpux9*)
   9812       if test yes = "$GCC"; then
   9813 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9814       else
   9815 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
   9816       fi
   9817       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9818       hardcode_libdir_separator=:
   9819       hardcode_direct=yes
   9820 
   9821       # hardcode_minus_L: Not really in the search PATH,
   9822       # but as the default location of the library.
   9823       hardcode_minus_L=yes
   9824       export_dynamic_flag_spec='$wl-E'
   9825       ;;
   9826 
   9827     hpux10*)
   9828       if test yes,no = "$GCC,$with_gnu_ld"; then
   9829 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9830       else
   9831 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9832       fi
   9833       if test no = "$with_gnu_ld"; then
   9834 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9835 	hardcode_libdir_separator=:
   9836 	hardcode_direct=yes
   9837 	hardcode_direct_absolute=yes
   9838 	export_dynamic_flag_spec='$wl-E'
   9839 	# hardcode_minus_L: Not really in the search PATH,
   9840 	# but as the default location of the library.
   9841 	hardcode_minus_L=yes
   9842       fi
   9843       ;;
   9844 
   9845     hpux11*)
   9846       if test yes,no = "$GCC,$with_gnu_ld"; then
   9847 	case $host_cpu in
   9848 	hppa*64*)
   9849 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9850 	  ;;
   9851 	ia64*)
   9852 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9853 	  ;;
   9854 	*)
   9855 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9856 	  ;;
   9857 	esac
   9858       else
   9859 	case $host_cpu in
   9860 	hppa*64*)
   9861 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9862 	  ;;
   9863 	ia64*)
   9864 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9865 	  ;;
   9866 	*)
   9867 
   9868 	  # Older versions of the 11.00 compiler do not understand -b yet
   9869 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9870 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9871 $as_echo_n "checking if $CC understands -b... " >&6; }
   9872 if ${lt_cv_prog_compiler__b+:} false; then :
   9873   $as_echo_n "(cached) " >&6
   9874 else
   9875   lt_cv_prog_compiler__b=no
   9876    save_LDFLAGS=$LDFLAGS
   9877    LDFLAGS="$LDFLAGS -b"
   9878    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   9879    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   9880      # The linker can only warn and ignore the option if not recognized
   9881      # So say no if there are warnings
   9882      if test -s conftest.err; then
   9883        # Append any errors to the config.log.
   9884        cat conftest.err 1>&5
   9885        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   9886        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   9887        if diff conftest.exp conftest.er2 >/dev/null; then
   9888          lt_cv_prog_compiler__b=yes
   9889        fi
   9890      else
   9891        lt_cv_prog_compiler__b=yes
   9892      fi
   9893    fi
   9894    $RM -r conftest*
   9895    LDFLAGS=$save_LDFLAGS
   9896 
   9897 fi
   9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   9899 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   9900 
   9901 if test yes = "$lt_cv_prog_compiler__b"; then
   9902     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9903 else
   9904     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9905 fi
   9906 
   9907 	  ;;
   9908 	esac
   9909       fi
   9910       if test no = "$with_gnu_ld"; then
   9911 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9912 	hardcode_libdir_separator=:
   9913 
   9914 	case $host_cpu in
   9915 	hppa*64*|ia64*)
   9916 	  hardcode_direct=no
   9917 	  hardcode_shlibpath_var=no
   9918 	  ;;
   9919 	*)
   9920 	  hardcode_direct=yes
   9921 	  hardcode_direct_absolute=yes
   9922 	  export_dynamic_flag_spec='$wl-E'
   9923 
   9924 	  # hardcode_minus_L: Not really in the search PATH,
   9925 	  # but as the default location of the library.
   9926 	  hardcode_minus_L=yes
   9927 	  ;;
   9928 	esac
   9929       fi
   9930       ;;
   9931 
   9932     irix5* | irix6* | nonstopux*)
   9933       if test yes = "$GCC"; then
   9934 	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'
   9935 	# Try to use the -exported_symbol ld option, if it does not
   9936 	# work, assume that -exports_file does not work either and
   9937 	# implicitly export all symbols.
   9938 	# This should be the same for all languages, so no per-tag cache variable.
   9939 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   9940 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   9941 if ${lt_cv_irix_exported_symbol+:} false; then :
   9942   $as_echo_n "(cached) " >&6
   9943 else
   9944   save_LDFLAGS=$LDFLAGS
   9945 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   9946 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9947 /* end confdefs.h.  */
   9948 int foo (void) { return 0; }
   9949 _ACEOF
   9950 if ac_fn_c_try_link "$LINENO"; then :
   9951   lt_cv_irix_exported_symbol=yes
   9952 else
   9953   lt_cv_irix_exported_symbol=no
   9954 fi
   9955 rm -f core conftest.err conftest.$ac_objext \
   9956     conftest$ac_exeext conftest.$ac_ext
   9957            LDFLAGS=$save_LDFLAGS
   9958 fi
   9959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   9960 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   9961 	if test yes = "$lt_cv_irix_exported_symbol"; then
   9962           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'
   9963 	fi
   9964       else
   9965 	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'
   9966 	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'
   9967       fi
   9968       archive_cmds_need_lc='no'
   9969       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9970       hardcode_libdir_separator=:
   9971       inherit_rpath=yes
   9972       link_all_deplibs=yes
   9973       ;;
   9974 
   9975     linux*)
   9976       case $cc_basename in
   9977       tcc*)
   9978 	# Fabrice Bellard et al's Tiny C Compiler
   9979 	ld_shlibs=yes
   9980 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9981 	;;
   9982       esac
   9983       ;;
   9984 
   9985     netbsd*)
   9986       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9987 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   9988       else
   9989 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   9990       fi
   9991       hardcode_libdir_flag_spec='-R$libdir'
   9992       hardcode_direct=yes
   9993       hardcode_shlibpath_var=no
   9994       ;;
   9995 
   9996     newsos6)
   9997       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9998       hardcode_direct=yes
   9999       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10000       hardcode_libdir_separator=:
   10001       hardcode_shlibpath_var=no
   10002       ;;
   10003 
   10004     *nto* | *qnx*)
   10005       ;;
   10006 
   10007     openbsd* | bitrig*)
   10008       if test -f /usr/libexec/ld.so; then
   10009 	hardcode_direct=yes
   10010 	hardcode_shlibpath_var=no
   10011 	hardcode_direct_absolute=yes
   10012 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10013 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10014 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10015 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10016 	  export_dynamic_flag_spec='$wl-E'
   10017 	else
   10018 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10019 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10020 	fi
   10021       else
   10022 	ld_shlibs=no
   10023       fi
   10024       ;;
   10025 
   10026     os2*)
   10027       hardcode_libdir_flag_spec='-L$libdir'
   10028       hardcode_minus_L=yes
   10029       allow_undefined_flag=unsupported
   10030       shrext_cmds=.dll
   10031       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10032 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10033 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10034 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10035 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10036 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10037 	emximp -o $lib $output_objdir/$libname.def'
   10038       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10039 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10040 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10041 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10042 	prefix_cmds="$SED"~
   10043 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10044 	  prefix_cmds="$prefix_cmds -e 1d";
   10045 	fi~
   10046 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10047 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10048 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10049 	emximp -o $lib $output_objdir/$libname.def'
   10050       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10051       enable_shared_with_static_runtimes=yes
   10052       ;;
   10053 
   10054     osf3*)
   10055       if test yes = "$GCC"; then
   10056 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10057 	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'
   10058       else
   10059 	allow_undefined_flag=' -expect_unresolved \*'
   10060 	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'
   10061       fi
   10062       archive_cmds_need_lc='no'
   10063       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10064       hardcode_libdir_separator=:
   10065       ;;
   10066 
   10067     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10068       if test yes = "$GCC"; then
   10069 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10070 	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'
   10071 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10072       else
   10073 	allow_undefined_flag=' -expect_unresolved \*'
   10074 	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'
   10075 	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~
   10076           $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'
   10077 
   10078 	# Both c and cxx compiler support -rpath directly
   10079 	hardcode_libdir_flag_spec='-rpath $libdir'
   10080       fi
   10081       archive_cmds_need_lc='no'
   10082       hardcode_libdir_separator=:
   10083       ;;
   10084 
   10085     solaris*)
   10086       no_undefined_flag=' -z defs'
   10087       if test yes = "$GCC"; then
   10088 	wlarc='$wl'
   10089 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10090 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10091           $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'
   10092       else
   10093 	case `$CC -V 2>&1` in
   10094 	*"Compilers 5.0"*)
   10095 	  wlarc=''
   10096 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10097 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10098             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10099 	  ;;
   10100 	*)
   10101 	  wlarc='$wl'
   10102 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10103 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10104             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10105 	  ;;
   10106 	esac
   10107       fi
   10108       hardcode_libdir_flag_spec='-R$libdir'
   10109       hardcode_shlibpath_var=no
   10110       case $host_os in
   10111       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10112       *)
   10113 	# The compiler driver will combine and reorder linker options,
   10114 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10115 	# but is careful enough not to reorder.
   10116 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10117 	if test yes = "$GCC"; then
   10118 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10119 	else
   10120 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10121 	fi
   10122 	;;
   10123       esac
   10124       link_all_deplibs=yes
   10125       ;;
   10126 
   10127     sunos4*)
   10128       if test sequent = "$host_vendor"; then
   10129 	# Use $CC to link under sequent, because it throws in some extra .o
   10130 	# files that make .init and .fini sections work.
   10131 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10132       else
   10133 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10134       fi
   10135       hardcode_libdir_flag_spec='-L$libdir'
   10136       hardcode_direct=yes
   10137       hardcode_minus_L=yes
   10138       hardcode_shlibpath_var=no
   10139       ;;
   10140 
   10141     sysv4)
   10142       case $host_vendor in
   10143 	sni)
   10144 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10145 	  hardcode_direct=yes # is this really true???
   10146 	;;
   10147 	siemens)
   10148 	  ## LD is ld it makes a PLAMLIB
   10149 	  ## CC just makes a GrossModule.
   10150 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10151 	  reload_cmds='$CC -r -o $output$reload_objs'
   10152 	  hardcode_direct=no
   10153         ;;
   10154 	motorola)
   10155 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10156 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10157 	;;
   10158       esac
   10159       runpath_var='LD_RUN_PATH'
   10160       hardcode_shlibpath_var=no
   10161       ;;
   10162 
   10163     sysv4.3*)
   10164       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10165       hardcode_shlibpath_var=no
   10166       export_dynamic_flag_spec='-Bexport'
   10167       ;;
   10168 
   10169     sysv4*MP*)
   10170       if test -d /usr/nec; then
   10171 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10172 	hardcode_shlibpath_var=no
   10173 	runpath_var=LD_RUN_PATH
   10174 	hardcode_runpath_var=yes
   10175 	ld_shlibs=yes
   10176       fi
   10177       ;;
   10178 
   10179     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10180       no_undefined_flag='$wl-z,text'
   10181       archive_cmds_need_lc=no
   10182       hardcode_shlibpath_var=no
   10183       runpath_var='LD_RUN_PATH'
   10184 
   10185       if test yes = "$GCC"; then
   10186 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10187 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10188       else
   10189 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10190 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10191       fi
   10192       ;;
   10193 
   10194     sysv5* | sco3.2v5* | sco5v6*)
   10195       # Note: We CANNOT use -z defs as we might desire, because we do not
   10196       # link with -lc, and that would cause any symbols used from libc to
   10197       # always be unresolved, which means just about no library would
   10198       # ever link correctly.  If we're not using GNU ld we use -z text
   10199       # though, which does catch some bad symbols but isn't as heavy-handed
   10200       # as -z defs.
   10201       no_undefined_flag='$wl-z,text'
   10202       allow_undefined_flag='$wl-z,nodefs'
   10203       archive_cmds_need_lc=no
   10204       hardcode_shlibpath_var=no
   10205       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10206       hardcode_libdir_separator=':'
   10207       link_all_deplibs=yes
   10208       export_dynamic_flag_spec='$wl-Bexport'
   10209       runpath_var='LD_RUN_PATH'
   10210 
   10211       if test yes = "$GCC"; then
   10212 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10213 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10214       else
   10215 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10216 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10217       fi
   10218       ;;
   10219 
   10220     uts4*)
   10221       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10222       hardcode_libdir_flag_spec='-L$libdir'
   10223       hardcode_shlibpath_var=no
   10224       ;;
   10225 
   10226     *)
   10227       ld_shlibs=no
   10228       ;;
   10229     esac
   10230 
   10231     if test sni = "$host_vendor"; then
   10232       case $host in
   10233       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10234 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10235 	;;
   10236       esac
   10237     fi
   10238   fi
   10239 
   10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10241 $as_echo "$ld_shlibs" >&6; }
   10242 test no = "$ld_shlibs" && can_build_shared=no
   10243 
   10244 with_gnu_ld=$with_gnu_ld
   10245 
   10246 
   10247 
   10248 
   10249 
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 
   10259 
   10260 #
   10261 # Do we need to explicitly link libc?
   10262 #
   10263 case "x$archive_cmds_need_lc" in
   10264 x|xyes)
   10265   # Assume -lc should be added
   10266   archive_cmds_need_lc=yes
   10267 
   10268   if test yes,yes = "$GCC,$enable_shared"; then
   10269     case $archive_cmds in
   10270     *'~'*)
   10271       # FIXME: we may have to deal with multi-command sequences.
   10272       ;;
   10273     '$CC '*)
   10274       # Test whether the compiler implicitly links with -lc since on some
   10275       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10276       # to ld, don't add -lc before -lgcc.
   10277       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10278 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10279 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10280   $as_echo_n "(cached) " >&6
   10281 else
   10282   $RM conftest*
   10283 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10284 
   10285 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10286   (eval $ac_compile) 2>&5
   10287   ac_status=$?
   10288   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10289   test $ac_status = 0; } 2>conftest.err; then
   10290 	  soname=conftest
   10291 	  lib=conftest
   10292 	  libobjs=conftest.$ac_objext
   10293 	  deplibs=
   10294 	  wl=$lt_prog_compiler_wl
   10295 	  pic_flag=$lt_prog_compiler_pic
   10296 	  compiler_flags=-v
   10297 	  linker_flags=-v
   10298 	  verstring=
   10299 	  output_objdir=.
   10300 	  libname=conftest
   10301 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10302 	  allow_undefined_flag=
   10303 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10304   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10305   ac_status=$?
   10306   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10307   test $ac_status = 0; }
   10308 	  then
   10309 	    lt_cv_archive_cmds_need_lc=no
   10310 	  else
   10311 	    lt_cv_archive_cmds_need_lc=yes
   10312 	  fi
   10313 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10314 	else
   10315 	  cat conftest.err 1>&5
   10316 	fi
   10317 	$RM conftest*
   10318 
   10319 fi
   10320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10321 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10322       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10323       ;;
   10324     esac
   10325   fi
   10326   ;;
   10327 esac
   10328 
   10329 
   10330 
   10331 
   10332 
   10333 
   10334 
   10335 
   10336 
   10337 
   10338 
   10339 
   10340 
   10341 
   10342 
   10343 
   10344 
   10345 
   10346 
   10347 
   10348 
   10349 
   10350 
   10351 
   10352 
   10353 
   10354 
   10355 
   10356 
   10357 
   10358 
   10359 
   10360 
   10361 
   10362 
   10363 
   10364 
   10365 
   10366 
   10367 
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 
   10384 
   10385 
   10386 
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 
   10403 
   10404 
   10405 
   10406 
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 
   10429 
   10430 
   10431 
   10432 
   10433 
   10434 
   10435 
   10436 
   10437 
   10438 
   10439 
   10440 
   10441 
   10442 
   10443 
   10444 
   10445 
   10446 
   10447 
   10448 
   10449 
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 
   10457 
   10458 
   10459 
   10460 
   10461 
   10462 
   10463 
   10464 
   10465 
   10466 
   10467 
   10468 
   10469 
   10470 
   10471 
   10472 
   10473 
   10474 
   10475 
   10476 
   10477 
   10478 
   10479 
   10480   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10481 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10482 
   10483 if test yes = "$GCC"; then
   10484   case $host_os in
   10485     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10486     *) lt_awk_arg='/^libraries:/' ;;
   10487   esac
   10488   case $host_os in
   10489     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10490     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10491   esac
   10492   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10493   case $lt_search_path_spec in
   10494   *\;*)
   10495     # if the path contains ";" then we assume it to be the separator
   10496     # otherwise default to the standard path separator (i.e. ":") - it is
   10497     # assumed that no part of a normal pathname contains ";" but that should
   10498     # okay in the real world where ";" in dirpaths is itself problematic.
   10499     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10500     ;;
   10501   *)
   10502     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10503     ;;
   10504   esac
   10505   # Ok, now we have the path, separated by spaces, we can step through it
   10506   # and add multilib dir if necessary...
   10507   lt_tmp_lt_search_path_spec=
   10508   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10509   # ...but if some path component already ends with the multilib dir we assume
   10510   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10511   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10512   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10513     lt_multi_os_dir=
   10514     ;;
   10515   esac
   10516   for lt_sys_path in $lt_search_path_spec; do
   10517     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10518       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10519     elif test -n "$lt_multi_os_dir"; then
   10520       test -d "$lt_sys_path" && \
   10521 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10522     fi
   10523   done
   10524   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10525 BEGIN {RS = " "; FS = "/|\n";} {
   10526   lt_foo = "";
   10527   lt_count = 0;
   10528   for (lt_i = NF; lt_i > 0; lt_i--) {
   10529     if ($lt_i != "" && $lt_i != ".") {
   10530       if ($lt_i == "..") {
   10531         lt_count++;
   10532       } else {
   10533         if (lt_count == 0) {
   10534           lt_foo = "/" $lt_i lt_foo;
   10535         } else {
   10536           lt_count--;
   10537         }
   10538       }
   10539     }
   10540   }
   10541   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10542   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10543 }'`
   10544   # AWK program above erroneously prepends '/' to C:/dos/paths
   10545   # for these hosts.
   10546   case $host_os in
   10547     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10548       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10549   esac
   10550   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10551 else
   10552   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10553 fi
   10554 library_names_spec=
   10555 libname_spec='lib$name'
   10556 soname_spec=
   10557 shrext_cmds=.so
   10558 postinstall_cmds=
   10559 postuninstall_cmds=
   10560 finish_cmds=
   10561 finish_eval=
   10562 shlibpath_var=
   10563 shlibpath_overrides_runpath=unknown
   10564 version_type=none
   10565 dynamic_linker="$host_os ld.so"
   10566 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10567 need_lib_prefix=unknown
   10568 hardcode_into_libs=no
   10569 
   10570 # when you set need_version to no, make sure it does not cause -set_version
   10571 # flags to be left without arguments
   10572 need_version=unknown
   10573 
   10574 
   10575 
   10576 case $host_os in
   10577 aix3*)
   10578   version_type=linux # correct to gnu/linux during the next big refactor
   10579   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10580   shlibpath_var=LIBPATH
   10581 
   10582   # AIX 3 has no versioning support, so we append a major version to the name.
   10583   soname_spec='$libname$release$shared_ext$major'
   10584   ;;
   10585 
   10586 aix[4-9]*)
   10587   version_type=linux # correct to gnu/linux during the next big refactor
   10588   need_lib_prefix=no
   10589   need_version=no
   10590   hardcode_into_libs=yes
   10591   if test ia64 = "$host_cpu"; then
   10592     # AIX 5 supports IA64
   10593     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10594     shlibpath_var=LD_LIBRARY_PATH
   10595   else
   10596     # With GCC up to 2.95.x, collect2 would create an import file
   10597     # for dependence libraries.  The import file would start with
   10598     # the line '#! .'.  This would cause the generated library to
   10599     # depend on '.', always an invalid library.  This was fixed in
   10600     # development snapshots of GCC prior to 3.0.
   10601     case $host_os in
   10602       aix4 | aix4.[01] | aix4.[01].*)
   10603       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10604 	   echo ' yes '
   10605 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10606 	:
   10607       else
   10608 	can_build_shared=no
   10609       fi
   10610       ;;
   10611     esac
   10612     # Using Import Files as archive members, it is possible to support
   10613     # filename-based versioning of shared library archives on AIX. While
   10614     # this would work for both with and without runtime linking, it will
   10615     # prevent static linking of such archives. So we do filename-based
   10616     # shared library versioning with .so extension only, which is used
   10617     # when both runtime linking and shared linking is enabled.
   10618     # Unfortunately, runtime linking may impact performance, so we do
   10619     # not want this to be the default eventually. Also, we use the
   10620     # versioned .so libs for executables only if there is the -brtl
   10621     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10622     # To allow for filename-based versioning support, we need to create
   10623     # libNAME.so.V as an archive file, containing:
   10624     # *) an Import File, referring to the versioned filename of the
   10625     #    archive as well as the shared archive member, telling the
   10626     #    bitwidth (32 or 64) of that shared object, and providing the
   10627     #    list of exported symbols of that shared object, eventually
   10628     #    decorated with the 'weak' keyword
   10629     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10630     #    it being seen by the linker.
   10631     # At run time we better use the real file rather than another symlink,
   10632     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10633 
   10634     case $with_aix_soname,$aix_use_runtimelinking in
   10635     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10636     # soname into executable. Probably we can add versioning support to
   10637     # collect2, so additional links can be useful in future.
   10638     aix,yes) # traditional libtool
   10639       dynamic_linker='AIX unversionable lib.so'
   10640       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10641       # instead of lib<name>.a to let people know that these are not
   10642       # typical AIX shared libraries.
   10643       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10644       ;;
   10645     aix,no) # traditional AIX only
   10646       dynamic_linker='AIX lib.a(lib.so.V)'
   10647       # We preserve .a as extension for shared libraries through AIX4.2
   10648       # and later when we are not doing run time linking.
   10649       library_names_spec='$libname$release.a $libname.a'
   10650       soname_spec='$libname$release$shared_ext$major'
   10651       ;;
   10652     svr4,*) # full svr4 only
   10653       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10654       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10655       # We do not specify a path in Import Files, so LIBPATH fires.
   10656       shlibpath_overrides_runpath=yes
   10657       ;;
   10658     *,yes) # both, prefer svr4
   10659       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10660       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10661       # unpreferred sharedlib libNAME.a needs extra handling
   10662       postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
   10663       postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
   10664       # We do not specify a path in Import Files, so LIBPATH fires.
   10665       shlibpath_overrides_runpath=yes
   10666       ;;
   10667     *,no) # both, prefer aix
   10668       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10669       library_names_spec='$libname$release.a $libname.a'
   10670       soname_spec='$libname$release$shared_ext$major'
   10671       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10672       postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
   10673       postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
   10674       ;;
   10675     esac
   10676     shlibpath_var=LIBPATH
   10677   fi
   10678   ;;
   10679 
   10680 amigaos*)
   10681   case $host_cpu in
   10682   powerpc)
   10683     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10684     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10685     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10686     ;;
   10687   m68k)
   10688     library_names_spec='$libname.ixlibrary $libname.a'
   10689     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10690     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   10691     ;;
   10692   esac
   10693   ;;
   10694 
   10695 beos*)
   10696   library_names_spec='$libname$shared_ext'
   10697   dynamic_linker="$host_os ld.so"
   10698   shlibpath_var=LIBRARY_PATH
   10699   ;;
   10700 
   10701 bsdi[45]*)
   10702   version_type=linux # correct to gnu/linux during the next big refactor
   10703   need_version=no
   10704   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10705   soname_spec='$libname$release$shared_ext$major'
   10706   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10707   shlibpath_var=LD_LIBRARY_PATH
   10708   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10709   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10710   # the default ld.so.conf also contains /usr/contrib/lib and
   10711   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10712   # libtool to hard-code these into programs
   10713   ;;
   10714 
   10715 cygwin* | mingw* | pw32* | cegcc*)
   10716   version_type=windows
   10717   shrext_cmds=.dll
   10718   need_version=no
   10719   need_lib_prefix=no
   10720 
   10721   case $GCC,$cc_basename in
   10722   yes,*)
   10723     # gcc
   10724     library_names_spec='$libname.dll.a'
   10725     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10726     postinstall_cmds='base_file=`basename \$file`~
   10727       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10728       dldir=$destdir/`dirname \$dlpath`~
   10729       test -d \$dldir || mkdir -p \$dldir~
   10730       $install_prog $dir/$dlname \$dldir/$dlname~
   10731       chmod a+x \$dldir/$dlname~
   10732       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10733         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10734       fi'
   10735     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10736       dlpath=$dir/\$dldll~
   10737        $RM \$dlpath'
   10738     shlibpath_overrides_runpath=yes
   10739 
   10740     case $host_os in
   10741     cygwin*)
   10742       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10743       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10744 
   10745       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10746       ;;
   10747     mingw* | cegcc*)
   10748       # MinGW DLLs use traditional 'lib' prefix
   10749       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10750       ;;
   10751     pw32*)
   10752       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10753       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10754       ;;
   10755     esac
   10756     dynamic_linker='Win32 ld.exe'
   10757     ;;
   10758 
   10759   *,cl*)
   10760     # Native MSVC
   10761     libname_spec='$name'
   10762     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10763     library_names_spec='$libname.dll.lib'
   10764 
   10765     case $build_os in
   10766     mingw*)
   10767       sys_lib_search_path_spec=
   10768       lt_save_ifs=$IFS
   10769       IFS=';'
   10770       for lt_path in $LIB
   10771       do
   10772         IFS=$lt_save_ifs
   10773         # Let DOS variable expansion print the short 8.3 style file name.
   10774         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10775         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10776       done
   10777       IFS=$lt_save_ifs
   10778       # Convert to MSYS style.
   10779       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10780       ;;
   10781     cygwin*)
   10782       # Convert to unix form, then to dos form, then back to unix form
   10783       # but this time dos style (no spaces!) so that the unix form looks
   10784       # like /cygdrive/c/PROGRA~1:/cygdr...
   10785       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10786       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10787       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10788       ;;
   10789     *)
   10790       sys_lib_search_path_spec=$LIB
   10791       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10792         # It is most probably a Windows format PATH.
   10793         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10794       else
   10795         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10796       fi
   10797       # FIXME: find the short name or the path components, as spaces are
   10798       # common. (e.g. "Program Files" -> "PROGRA~1")
   10799       ;;
   10800     esac
   10801 
   10802     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10803     postinstall_cmds='base_file=`basename \$file`~
   10804       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10805       dldir=$destdir/`dirname \$dlpath`~
   10806       test -d \$dldir || mkdir -p \$dldir~
   10807       $install_prog $dir/$dlname \$dldir/$dlname'
   10808     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10809       dlpath=$dir/\$dldll~
   10810        $RM \$dlpath'
   10811     shlibpath_overrides_runpath=yes
   10812     dynamic_linker='Win32 link.exe'
   10813     ;;
   10814 
   10815   *)
   10816     # Assume MSVC wrapper
   10817     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   10818     dynamic_linker='Win32 ld.exe'
   10819     ;;
   10820   esac
   10821   # FIXME: first we should search . and the directory the executable is in
   10822   shlibpath_var=PATH
   10823   ;;
   10824 
   10825 darwin* | rhapsody*)
   10826   dynamic_linker="$host_os dyld"
   10827   version_type=darwin
   10828   need_lib_prefix=no
   10829   need_version=no
   10830   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   10831   soname_spec='$libname$release$major$shared_ext'
   10832   shlibpath_overrides_runpath=yes
   10833   shlibpath_var=DYLD_LIBRARY_PATH
   10834   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10835 
   10836   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10837   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10838   ;;
   10839 
   10840 dgux*)
   10841   version_type=linux # correct to gnu/linux during the next big refactor
   10842   need_lib_prefix=no
   10843   need_version=no
   10844   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10845   soname_spec='$libname$release$shared_ext$major'
   10846   shlibpath_var=LD_LIBRARY_PATH
   10847   ;;
   10848 
   10849 freebsd* | dragonfly*)
   10850   # DragonFly does not have aout.  When/if they implement a new
   10851   # versioning mechanism, adjust this.
   10852   if test -x /usr/bin/objformat; then
   10853     objformat=`/usr/bin/objformat`
   10854   else
   10855     case $host_os in
   10856     freebsd[23].*) objformat=aout ;;
   10857     *) objformat=elf ;;
   10858     esac
   10859   fi
   10860   version_type=freebsd-$objformat
   10861   case $version_type in
   10862     freebsd-elf*)
   10863       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10864       soname_spec='$libname$release$shared_ext$major'
   10865       need_version=no
   10866       need_lib_prefix=no
   10867       ;;
   10868     freebsd-*)
   10869       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10870       need_version=yes
   10871       ;;
   10872   esac
   10873   shlibpath_var=LD_LIBRARY_PATH
   10874   case $host_os in
   10875   freebsd2.*)
   10876     shlibpath_overrides_runpath=yes
   10877     ;;
   10878   freebsd3.[01]* | freebsdelf3.[01]*)
   10879     shlibpath_overrides_runpath=yes
   10880     hardcode_into_libs=yes
   10881     ;;
   10882   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   10883   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   10884     shlibpath_overrides_runpath=no
   10885     hardcode_into_libs=yes
   10886     ;;
   10887   *) # from 4.6 on, and DragonFly
   10888     shlibpath_overrides_runpath=yes
   10889     hardcode_into_libs=yes
   10890     ;;
   10891   esac
   10892   ;;
   10893 
   10894 haiku*)
   10895   version_type=linux # correct to gnu/linux during the next big refactor
   10896   need_lib_prefix=no
   10897   need_version=no
   10898   dynamic_linker="$host_os runtime_loader"
   10899   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10900   soname_spec='$libname$release$shared_ext$major'
   10901   shlibpath_var=LIBRARY_PATH
   10902   shlibpath_overrides_runpath=no
   10903   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   10904   hardcode_into_libs=yes
   10905   ;;
   10906 
   10907 hpux9* | hpux10* | hpux11*)
   10908   # Give a soname corresponding to the major version so that dld.sl refuses to
   10909   # link against other versions.
   10910   version_type=sunos
   10911   need_lib_prefix=no
   10912   need_version=no
   10913   case $host_cpu in
   10914   ia64*)
   10915     shrext_cmds='.so'
   10916     hardcode_into_libs=yes
   10917     dynamic_linker="$host_os dld.so"
   10918     shlibpath_var=LD_LIBRARY_PATH
   10919     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10920     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10921     soname_spec='$libname$release$shared_ext$major'
   10922     if test 32 = "$HPUX_IA64_MODE"; then
   10923       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   10924       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   10925     else
   10926       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   10927       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   10928     fi
   10929     ;;
   10930   hppa*64*)
   10931     shrext_cmds='.sl'
   10932     hardcode_into_libs=yes
   10933     dynamic_linker="$host_os dld.sl"
   10934     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   10935     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   10936     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10937     soname_spec='$libname$release$shared_ext$major'
   10938     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   10939     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   10940     ;;
   10941   *)
   10942     shrext_cmds='.sl'
   10943     dynamic_linker="$host_os dld.sl"
   10944     shlibpath_var=SHLIB_PATH
   10945     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   10946     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10947     soname_spec='$libname$release$shared_ext$major'
   10948     ;;
   10949   esac
   10950   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   10951   postinstall_cmds='chmod 555 $lib'
   10952   # or fails outright, so override atomically:
   10953   install_override_mode=555
   10954   ;;
   10955 
   10956 interix[3-9]*)
   10957   version_type=linux # correct to gnu/linux during the next big refactor
   10958   need_lib_prefix=no
   10959   need_version=no
   10960   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10961   soname_spec='$libname$release$shared_ext$major'
   10962   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   10963   shlibpath_var=LD_LIBRARY_PATH
   10964   shlibpath_overrides_runpath=no
   10965   hardcode_into_libs=yes
   10966   ;;
   10967 
   10968 irix5* | irix6* | nonstopux*)
   10969   case $host_os in
   10970     nonstopux*) version_type=nonstopux ;;
   10971     *)
   10972 	if test yes = "$lt_cv_prog_gnu_ld"; then
   10973 		version_type=linux # correct to gnu/linux during the next big refactor
   10974 	else
   10975 		version_type=irix
   10976 	fi ;;
   10977   esac
   10978   need_lib_prefix=no
   10979   need_version=no
   10980   soname_spec='$libname$release$shared_ext$major'
   10981   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   10982   case $host_os in
   10983   irix5* | nonstopux*)
   10984     libsuff= shlibsuff=
   10985     ;;
   10986   *)
   10987     case $LD in # libtool.m4 will add one of these switches to LD
   10988     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   10989       libsuff= shlibsuff= libmagic=32-bit;;
   10990     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   10991       libsuff=32 shlibsuff=N32 libmagic=N32;;
   10992     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   10993       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   10994     *) libsuff= shlibsuff= libmagic=never-match;;
   10995     esac
   10996     ;;
   10997   esac
   10998   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   10999   shlibpath_overrides_runpath=no
   11000   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11001   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11002   hardcode_into_libs=yes
   11003   ;;
   11004 
   11005 # No shared lib support for Linux oldld, aout, or coff.
   11006 linux*oldld* | linux*aout* | linux*coff*)
   11007   dynamic_linker=no
   11008   ;;
   11009 
   11010 linux*android*)
   11011   version_type=none # Android doesn't support versioned libraries.
   11012   need_lib_prefix=no
   11013   need_version=no
   11014   library_names_spec='$libname$release$shared_ext'
   11015   soname_spec='$libname$release$shared_ext'
   11016   finish_cmds=
   11017   shlibpath_var=LD_LIBRARY_PATH
   11018   shlibpath_overrides_runpath=yes
   11019 
   11020   # This implies no fast_install, which is unacceptable.
   11021   # Some rework will be needed to allow for fast_install
   11022   # before this can be enabled.
   11023   hardcode_into_libs=yes
   11024 
   11025   dynamic_linker='Android linker'
   11026   # Don't embed -rpath directories since the linker doesn't support them.
   11027   hardcode_libdir_flag_spec='-L$libdir'
   11028   ;;
   11029 
   11030 # This must be glibc/ELF.
   11031 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11032   version_type=linux # correct to gnu/linux during the next big refactor
   11033   need_lib_prefix=no
   11034   need_version=no
   11035   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11036   soname_spec='$libname$release$shared_ext$major'
   11037   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11038   shlibpath_var=LD_LIBRARY_PATH
   11039   shlibpath_overrides_runpath=no
   11040 
   11041   # Some binutils ld are patched to set DT_RUNPATH
   11042   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11043   $as_echo_n "(cached) " >&6
   11044 else
   11045   lt_cv_shlibpath_overrides_runpath=no
   11046     save_LDFLAGS=$LDFLAGS
   11047     save_libdir=$libdir
   11048     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11049 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11050     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11051 /* end confdefs.h.  */
   11052 
   11053 int
   11054 main ()
   11055 {
   11056 
   11057   ;
   11058   return 0;
   11059 }
   11060 _ACEOF
   11061 if ac_fn_c_try_link "$LINENO"; then :
   11062   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11063   lt_cv_shlibpath_overrides_runpath=yes
   11064 fi
   11065 fi
   11066 rm -f core conftest.err conftest.$ac_objext \
   11067     conftest$ac_exeext conftest.$ac_ext
   11068     LDFLAGS=$save_LDFLAGS
   11069     libdir=$save_libdir
   11070 
   11071 fi
   11072 
   11073   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11074 
   11075   # This implies no fast_install, which is unacceptable.
   11076   # Some rework will be needed to allow for fast_install
   11077   # before this can be enabled.
   11078   hardcode_into_libs=yes
   11079 
   11080   # Add ABI-specific directories to the system library path.
   11081   sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
   11082 
   11083   # Ideally, we could use ldconfig to report *all* directores which are
   11084   # searched for libraries, however this is still not possible.  Aside from not
   11085   # being certain /sbin/ldconfig is available, command
   11086   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11087   # even though it is searched at run-time.  Try to do the best guess by
   11088   # appending ld.so.conf contents (and includes) to the search path.
   11089   if test -f /etc/ld.so.conf; then
   11090     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' ' '`
   11091     sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
   11092   fi
   11093 
   11094   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11095   # powerpc, because MkLinux only supported shared libraries with the
   11096   # GNU dynamic linker.  Since this was broken with cross compilers,
   11097   # most powerpc-linux boxes support dynamic linking these days and
   11098   # people can always --disable-shared, the test was removed, and we
   11099   # assume the GNU/Linux dynamic linker is in use.
   11100   dynamic_linker='GNU/Linux ld.so'
   11101   ;;
   11102 
   11103 netbsd*)
   11104   version_type=sunos
   11105   need_lib_prefix=no
   11106   need_version=no
   11107   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11108     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11109     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11110     dynamic_linker='NetBSD (a.out) ld.so'
   11111   else
   11112     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11113     soname_spec='$libname$release$shared_ext$major'
   11114     dynamic_linker='NetBSD ld.elf_so'
   11115   fi
   11116   shlibpath_var=LD_LIBRARY_PATH
   11117   shlibpath_overrides_runpath=yes
   11118   hardcode_into_libs=yes
   11119   ;;
   11120 
   11121 newsos6)
   11122   version_type=linux # correct to gnu/linux during the next big refactor
   11123   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11124   shlibpath_var=LD_LIBRARY_PATH
   11125   shlibpath_overrides_runpath=yes
   11126   ;;
   11127 
   11128 *nto* | *qnx*)
   11129   version_type=qnx
   11130   need_lib_prefix=no
   11131   need_version=no
   11132   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11133   soname_spec='$libname$release$shared_ext$major'
   11134   shlibpath_var=LD_LIBRARY_PATH
   11135   shlibpath_overrides_runpath=no
   11136   hardcode_into_libs=yes
   11137   dynamic_linker='ldqnx.so'
   11138   ;;
   11139 
   11140 openbsd* | bitrig*)
   11141   version_type=sunos
   11142   sys_lib_dlsearch_path_spec=/usr/lib
   11143   need_lib_prefix=no
   11144   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11145     need_version=no
   11146   else
   11147     need_version=yes
   11148   fi
   11149   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11150   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11151   shlibpath_var=LD_LIBRARY_PATH
   11152   shlibpath_overrides_runpath=yes
   11153   ;;
   11154 
   11155 os2*)
   11156   libname_spec='$name'
   11157   version_type=windows
   11158   shrext_cmds=.dll
   11159   need_version=no
   11160   need_lib_prefix=no
   11161   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11162   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11163     v=$($ECHO $release$versuffix | tr -d .-);
   11164     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11165     $ECHO $n$v`$shared_ext'
   11166   library_names_spec='${libname}_dll.$libext'
   11167   dynamic_linker='OS/2 ld.exe'
   11168   shlibpath_var=BEGINLIBPATH
   11169   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11170   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11171   postinstall_cmds='base_file=`basename \$file`~
   11172     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11173     dldir=$destdir/`dirname \$dlpath`~
   11174     test -d \$dldir || mkdir -p \$dldir~
   11175     $install_prog $dir/$dlname \$dldir/$dlname~
   11176     chmod a+x \$dldir/$dlname~
   11177     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11178       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11179     fi'
   11180   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11181     dlpath=$dir/\$dldll~
   11182     $RM \$dlpath'
   11183   ;;
   11184 
   11185 osf3* | osf4* | osf5*)
   11186   version_type=osf
   11187   need_lib_prefix=no
   11188   need_version=no
   11189   soname_spec='$libname$release$shared_ext$major'
   11190   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11191   shlibpath_var=LD_LIBRARY_PATH
   11192   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11193   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11194   ;;
   11195 
   11196 rdos*)
   11197   dynamic_linker=no
   11198   ;;
   11199 
   11200 solaris*)
   11201   version_type=linux # correct to gnu/linux during the next big refactor
   11202   need_lib_prefix=no
   11203   need_version=no
   11204   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11205   soname_spec='$libname$release$shared_ext$major'
   11206   shlibpath_var=LD_LIBRARY_PATH
   11207   shlibpath_overrides_runpath=yes
   11208   hardcode_into_libs=yes
   11209   # ldd complains unless libraries are executable
   11210   postinstall_cmds='chmod +x $lib'
   11211   ;;
   11212 
   11213 sunos4*)
   11214   version_type=sunos
   11215   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11216   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11217   shlibpath_var=LD_LIBRARY_PATH
   11218   shlibpath_overrides_runpath=yes
   11219   if test yes = "$with_gnu_ld"; then
   11220     need_lib_prefix=no
   11221   fi
   11222   need_version=yes
   11223   ;;
   11224 
   11225 sysv4 | sysv4.3*)
   11226   version_type=linux # correct to gnu/linux during the next big refactor
   11227   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11228   soname_spec='$libname$release$shared_ext$major'
   11229   shlibpath_var=LD_LIBRARY_PATH
   11230   case $host_vendor in
   11231     sni)
   11232       shlibpath_overrides_runpath=no
   11233       need_lib_prefix=no
   11234       runpath_var=LD_RUN_PATH
   11235       ;;
   11236     siemens)
   11237       need_lib_prefix=no
   11238       ;;
   11239     motorola)
   11240       need_lib_prefix=no
   11241       need_version=no
   11242       shlibpath_overrides_runpath=no
   11243       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11244       ;;
   11245   esac
   11246   ;;
   11247 
   11248 sysv4*MP*)
   11249   if test -d /usr/nec; then
   11250     version_type=linux # correct to gnu/linux during the next big refactor
   11251     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11252     soname_spec='$libname$shared_ext.$major'
   11253     shlibpath_var=LD_LIBRARY_PATH
   11254   fi
   11255   ;;
   11256 
   11257 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11258   version_type=sco
   11259   need_lib_prefix=no
   11260   need_version=no
   11261   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11262   soname_spec='$libname$release$shared_ext$major'
   11263   shlibpath_var=LD_LIBRARY_PATH
   11264   shlibpath_overrides_runpath=yes
   11265   hardcode_into_libs=yes
   11266   if test yes = "$with_gnu_ld"; then
   11267     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11268   else
   11269     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11270     case $host_os in
   11271       sco3.2v5*)
   11272         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11273 	;;
   11274     esac
   11275   fi
   11276   sys_lib_dlsearch_path_spec='/usr/lib'
   11277   ;;
   11278 
   11279 tpf*)
   11280   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11281   version_type=linux # correct to gnu/linux during the next big refactor
   11282   need_lib_prefix=no
   11283   need_version=no
   11284   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11285   shlibpath_var=LD_LIBRARY_PATH
   11286   shlibpath_overrides_runpath=no
   11287   hardcode_into_libs=yes
   11288   ;;
   11289 
   11290 uts4*)
   11291   version_type=linux # correct to gnu/linux during the next big refactor
   11292   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11293   soname_spec='$libname$release$shared_ext$major'
   11294   shlibpath_var=LD_LIBRARY_PATH
   11295   ;;
   11296 
   11297 *)
   11298   dynamic_linker=no
   11299   ;;
   11300 esac
   11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11302 $as_echo "$dynamic_linker" >&6; }
   11303 test no = "$dynamic_linker" && can_build_shared=no
   11304 
   11305 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11306 if test yes = "$GCC"; then
   11307   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11308 fi
   11309 
   11310 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11311   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11312 fi
   11313 
   11314 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11315   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11316 fi
   11317 
   11318 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11319 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11320 
   11321 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11322 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11323 
   11324 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11325 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11326 
   11327 
   11328 
   11329 
   11330 
   11331 
   11332 
   11333 
   11334 
   11335 
   11336 
   11337 
   11338 
   11339 
   11340 
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 
   11348 
   11349 
   11350 
   11351 
   11352 
   11353 
   11354 
   11355 
   11356 
   11357 
   11358 
   11359 
   11360 
   11361 
   11362 
   11363 
   11364 
   11365 
   11366 
   11367 
   11368 
   11369 
   11370 
   11371 
   11372 
   11373 
   11374 
   11375 
   11376 
   11377 
   11378 
   11379 
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 
   11386 
   11387 
   11388 
   11389 
   11390 
   11391 
   11392 
   11393 
   11394 
   11395 
   11396 
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 
   11407 
   11408 
   11409 
   11410 
   11411 
   11412 
   11413 
   11414 
   11415 
   11416 
   11417 
   11418 
   11419 
   11420 
   11421 
   11422 
   11423   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11424 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11425 hardcode_action=
   11426 if test -n "$hardcode_libdir_flag_spec" ||
   11427    test -n "$runpath_var" ||
   11428    test yes = "$hardcode_automatic"; then
   11429 
   11430   # We can hardcode non-existent directories.
   11431   if test no != "$hardcode_direct" &&
   11432      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11433      # have to relink, otherwise we might link with an installed library
   11434      # when we should be linking with a yet-to-be-installed one
   11435      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11436      test no != "$hardcode_minus_L"; then
   11437     # Linking always hardcodes the temporary library directory.
   11438     hardcode_action=relink
   11439   else
   11440     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11441     hardcode_action=immediate
   11442   fi
   11443 else
   11444   # We cannot hardcode anything, or else we can only hardcode existing
   11445   # directories.
   11446   hardcode_action=unsupported
   11447 fi
   11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11449 $as_echo "$hardcode_action" >&6; }
   11450 
   11451 if test relink = "$hardcode_action" ||
   11452    test yes = "$inherit_rpath"; then
   11453   # Fast installation is not supported
   11454   enable_fast_install=no
   11455 elif test yes = "$shlibpath_overrides_runpath" ||
   11456      test no = "$enable_shared"; then
   11457   # Fast installation is not necessary
   11458   enable_fast_install=needless
   11459 fi
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466   if test yes != "$enable_dlopen"; then
   11467   enable_dlopen=unknown
   11468   enable_dlopen_self=unknown
   11469   enable_dlopen_self_static=unknown
   11470 else
   11471   lt_cv_dlopen=no
   11472   lt_cv_dlopen_libs=
   11473 
   11474   case $host_os in
   11475   beos*)
   11476     lt_cv_dlopen=load_add_on
   11477     lt_cv_dlopen_libs=
   11478     lt_cv_dlopen_self=yes
   11479     ;;
   11480 
   11481   mingw* | pw32* | cegcc*)
   11482     lt_cv_dlopen=LoadLibrary
   11483     lt_cv_dlopen_libs=
   11484     ;;
   11485 
   11486   cygwin*)
   11487     lt_cv_dlopen=dlopen
   11488     lt_cv_dlopen_libs=
   11489     ;;
   11490 
   11491   darwin*)
   11492     # if libdl is installed we need to link against it
   11493     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11494 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11495 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11496   $as_echo_n "(cached) " >&6
   11497 else
   11498   ac_check_lib_save_LIBS=$LIBS
   11499 LIBS="-ldl  $LIBS"
   11500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11501 /* end confdefs.h.  */
   11502 
   11503 /* Override any GCC internal prototype to avoid an error.
   11504    Use char because int might match the return type of a GCC
   11505    builtin and then its argument prototype would still apply.  */
   11506 #ifdef __cplusplus
   11507 extern "C"
   11508 #endif
   11509 char dlopen ();
   11510 int
   11511 main ()
   11512 {
   11513 return dlopen ();
   11514   ;
   11515   return 0;
   11516 }
   11517 _ACEOF
   11518 if ac_fn_c_try_link "$LINENO"; then :
   11519   ac_cv_lib_dl_dlopen=yes
   11520 else
   11521   ac_cv_lib_dl_dlopen=no
   11522 fi
   11523 rm -f core conftest.err conftest.$ac_objext \
   11524     conftest$ac_exeext conftest.$ac_ext
   11525 LIBS=$ac_check_lib_save_LIBS
   11526 fi
   11527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11528 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11529 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11530   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11531 else
   11532 
   11533     lt_cv_dlopen=dyld
   11534     lt_cv_dlopen_libs=
   11535     lt_cv_dlopen_self=yes
   11536 
   11537 fi
   11538 
   11539     ;;
   11540 
   11541   tpf*)
   11542     # Don't try to run any link tests for TPF.  We know it's impossible
   11543     # because TPF is a cross-compiler, and we know how we open DSOs.
   11544     lt_cv_dlopen=dlopen
   11545     lt_cv_dlopen_libs=
   11546     lt_cv_dlopen_self=no
   11547     ;;
   11548 
   11549   *)
   11550     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11551 if test "x$ac_cv_func_shl_load" = xyes; then :
   11552   lt_cv_dlopen=shl_load
   11553 else
   11554   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11555 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11556 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11557   $as_echo_n "(cached) " >&6
   11558 else
   11559   ac_check_lib_save_LIBS=$LIBS
   11560 LIBS="-ldld  $LIBS"
   11561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11562 /* end confdefs.h.  */
   11563 
   11564 /* Override any GCC internal prototype to avoid an error.
   11565    Use char because int might match the return type of a GCC
   11566    builtin and then its argument prototype would still apply.  */
   11567 #ifdef __cplusplus
   11568 extern "C"
   11569 #endif
   11570 char shl_load ();
   11571 int
   11572 main ()
   11573 {
   11574 return shl_load ();
   11575   ;
   11576   return 0;
   11577 }
   11578 _ACEOF
   11579 if ac_fn_c_try_link "$LINENO"; then :
   11580   ac_cv_lib_dld_shl_load=yes
   11581 else
   11582   ac_cv_lib_dld_shl_load=no
   11583 fi
   11584 rm -f core conftest.err conftest.$ac_objext \
   11585     conftest$ac_exeext conftest.$ac_ext
   11586 LIBS=$ac_check_lib_save_LIBS
   11587 fi
   11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11589 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11590 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11591   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11592 else
   11593   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11594 if test "x$ac_cv_func_dlopen" = xyes; then :
   11595   lt_cv_dlopen=dlopen
   11596 else
   11597   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11598 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11599 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11600   $as_echo_n "(cached) " >&6
   11601 else
   11602   ac_check_lib_save_LIBS=$LIBS
   11603 LIBS="-ldl  $LIBS"
   11604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11605 /* end confdefs.h.  */
   11606 
   11607 /* Override any GCC internal prototype to avoid an error.
   11608    Use char because int might match the return type of a GCC
   11609    builtin and then its argument prototype would still apply.  */
   11610 #ifdef __cplusplus
   11611 extern "C"
   11612 #endif
   11613 char dlopen ();
   11614 int
   11615 main ()
   11616 {
   11617 return dlopen ();
   11618   ;
   11619   return 0;
   11620 }
   11621 _ACEOF
   11622 if ac_fn_c_try_link "$LINENO"; then :
   11623   ac_cv_lib_dl_dlopen=yes
   11624 else
   11625   ac_cv_lib_dl_dlopen=no
   11626 fi
   11627 rm -f core conftest.err conftest.$ac_objext \
   11628     conftest$ac_exeext conftest.$ac_ext
   11629 LIBS=$ac_check_lib_save_LIBS
   11630 fi
   11631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11632 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11633 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11634   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11635 else
   11636   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11637 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11638 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11639   $as_echo_n "(cached) " >&6
   11640 else
   11641   ac_check_lib_save_LIBS=$LIBS
   11642 LIBS="-lsvld  $LIBS"
   11643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11644 /* end confdefs.h.  */
   11645 
   11646 /* Override any GCC internal prototype to avoid an error.
   11647    Use char because int might match the return type of a GCC
   11648    builtin and then its argument prototype would still apply.  */
   11649 #ifdef __cplusplus
   11650 extern "C"
   11651 #endif
   11652 char dlopen ();
   11653 int
   11654 main ()
   11655 {
   11656 return dlopen ();
   11657   ;
   11658   return 0;
   11659 }
   11660 _ACEOF
   11661 if ac_fn_c_try_link "$LINENO"; then :
   11662   ac_cv_lib_svld_dlopen=yes
   11663 else
   11664   ac_cv_lib_svld_dlopen=no
   11665 fi
   11666 rm -f core conftest.err conftest.$ac_objext \
   11667     conftest$ac_exeext conftest.$ac_ext
   11668 LIBS=$ac_check_lib_save_LIBS
   11669 fi
   11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11671 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11672 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11673   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11674 else
   11675   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11676 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11677 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11678   $as_echo_n "(cached) " >&6
   11679 else
   11680   ac_check_lib_save_LIBS=$LIBS
   11681 LIBS="-ldld  $LIBS"
   11682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11683 /* end confdefs.h.  */
   11684 
   11685 /* Override any GCC internal prototype to avoid an error.
   11686    Use char because int might match the return type of a GCC
   11687    builtin and then its argument prototype would still apply.  */
   11688 #ifdef __cplusplus
   11689 extern "C"
   11690 #endif
   11691 char dld_link ();
   11692 int
   11693 main ()
   11694 {
   11695 return dld_link ();
   11696   ;
   11697   return 0;
   11698 }
   11699 _ACEOF
   11700 if ac_fn_c_try_link "$LINENO"; then :
   11701   ac_cv_lib_dld_dld_link=yes
   11702 else
   11703   ac_cv_lib_dld_dld_link=no
   11704 fi
   11705 rm -f core conftest.err conftest.$ac_objext \
   11706     conftest$ac_exeext conftest.$ac_ext
   11707 LIBS=$ac_check_lib_save_LIBS
   11708 fi
   11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11710 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11711 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11712   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11713 fi
   11714 
   11715 
   11716 fi
   11717 
   11718 
   11719 fi
   11720 
   11721 
   11722 fi
   11723 
   11724 
   11725 fi
   11726 
   11727 
   11728 fi
   11729 
   11730     ;;
   11731   esac
   11732 
   11733   if test no = "$lt_cv_dlopen"; then
   11734     enable_dlopen=no
   11735   else
   11736     enable_dlopen=yes
   11737   fi
   11738 
   11739   case $lt_cv_dlopen in
   11740   dlopen)
   11741     save_CPPFLAGS=$CPPFLAGS
   11742     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11743 
   11744     save_LDFLAGS=$LDFLAGS
   11745     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11746 
   11747     save_LIBS=$LIBS
   11748     LIBS="$lt_cv_dlopen_libs $LIBS"
   11749 
   11750     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11751 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11752 if ${lt_cv_dlopen_self+:} false; then :
   11753   $as_echo_n "(cached) " >&6
   11754 else
   11755   	  if test yes = "$cross_compiling"; then :
   11756   lt_cv_dlopen_self=cross
   11757 else
   11758   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11759   lt_status=$lt_dlunknown
   11760   cat > conftest.$ac_ext <<_LT_EOF
   11761 #line $LINENO "configure"
   11762 #include "confdefs.h"
   11763 
   11764 #if HAVE_DLFCN_H
   11765 #include <dlfcn.h>
   11766 #endif
   11767 
   11768 #include <stdio.h>
   11769 
   11770 #ifdef RTLD_GLOBAL
   11771 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11772 #else
   11773 #  ifdef DL_GLOBAL
   11774 #    define LT_DLGLOBAL		DL_GLOBAL
   11775 #  else
   11776 #    define LT_DLGLOBAL		0
   11777 #  endif
   11778 #endif
   11779 
   11780 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11781    find out it does not work in some platform. */
   11782 #ifndef LT_DLLAZY_OR_NOW
   11783 #  ifdef RTLD_LAZY
   11784 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11785 #  else
   11786 #    ifdef DL_LAZY
   11787 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11788 #    else
   11789 #      ifdef RTLD_NOW
   11790 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11791 #      else
   11792 #        ifdef DL_NOW
   11793 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11794 #        else
   11795 #          define LT_DLLAZY_OR_NOW	0
   11796 #        endif
   11797 #      endif
   11798 #    endif
   11799 #  endif
   11800 #endif
   11801 
   11802 /* When -fvisibility=hidden is used, assume the code has been annotated
   11803    correspondingly for the symbols needed.  */
   11804 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11805 int fnord () __attribute__((visibility("default")));
   11806 #endif
   11807 
   11808 int fnord () { return 42; }
   11809 int main ()
   11810 {
   11811   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11812   int status = $lt_dlunknown;
   11813 
   11814   if (self)
   11815     {
   11816       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11817       else
   11818         {
   11819 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11820           else puts (dlerror ());
   11821 	}
   11822       /* dlclose (self); */
   11823     }
   11824   else
   11825     puts (dlerror ());
   11826 
   11827   return status;
   11828 }
   11829 _LT_EOF
   11830   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11831   (eval $ac_link) 2>&5
   11832   ac_status=$?
   11833   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11834   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11835     (./conftest; exit; ) >&5 2>/dev/null
   11836     lt_status=$?
   11837     case x$lt_status in
   11838       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11839       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11840       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11841     esac
   11842   else :
   11843     # compilation failed
   11844     lt_cv_dlopen_self=no
   11845   fi
   11846 fi
   11847 rm -fr conftest*
   11848 
   11849 
   11850 fi
   11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11852 $as_echo "$lt_cv_dlopen_self" >&6; }
   11853 
   11854     if test yes = "$lt_cv_dlopen_self"; then
   11855       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11856       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11857 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11858 if ${lt_cv_dlopen_self_static+:} false; then :
   11859   $as_echo_n "(cached) " >&6
   11860 else
   11861   	  if test yes = "$cross_compiling"; then :
   11862   lt_cv_dlopen_self_static=cross
   11863 else
   11864   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11865   lt_status=$lt_dlunknown
   11866   cat > conftest.$ac_ext <<_LT_EOF
   11867 #line $LINENO "configure"
   11868 #include "confdefs.h"
   11869 
   11870 #if HAVE_DLFCN_H
   11871 #include <dlfcn.h>
   11872 #endif
   11873 
   11874 #include <stdio.h>
   11875 
   11876 #ifdef RTLD_GLOBAL
   11877 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11878 #else
   11879 #  ifdef DL_GLOBAL
   11880 #    define LT_DLGLOBAL		DL_GLOBAL
   11881 #  else
   11882 #    define LT_DLGLOBAL		0
   11883 #  endif
   11884 #endif
   11885 
   11886 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11887    find out it does not work in some platform. */
   11888 #ifndef LT_DLLAZY_OR_NOW
   11889 #  ifdef RTLD_LAZY
   11890 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11891 #  else
   11892 #    ifdef DL_LAZY
   11893 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11894 #    else
   11895 #      ifdef RTLD_NOW
   11896 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11897 #      else
   11898 #        ifdef DL_NOW
   11899 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11900 #        else
   11901 #          define LT_DLLAZY_OR_NOW	0
   11902 #        endif
   11903 #      endif
   11904 #    endif
   11905 #  endif
   11906 #endif
   11907 
   11908 /* When -fvisibility=hidden is used, assume the code has been annotated
   11909    correspondingly for the symbols needed.  */
   11910 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11911 int fnord () __attribute__((visibility("default")));
   11912 #endif
   11913 
   11914 int fnord () { return 42; }
   11915 int main ()
   11916 {
   11917   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11918   int status = $lt_dlunknown;
   11919 
   11920   if (self)
   11921     {
   11922       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11923       else
   11924         {
   11925 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11926           else puts (dlerror ());
   11927 	}
   11928       /* dlclose (self); */
   11929     }
   11930   else
   11931     puts (dlerror ());
   11932 
   11933   return status;
   11934 }
   11935 _LT_EOF
   11936   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11937   (eval $ac_link) 2>&5
   11938   ac_status=$?
   11939   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11940   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11941     (./conftest; exit; ) >&5 2>/dev/null
   11942     lt_status=$?
   11943     case x$lt_status in
   11944       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   11945       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   11946       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   11947     esac
   11948   else :
   11949     # compilation failed
   11950     lt_cv_dlopen_self_static=no
   11951   fi
   11952 fi
   11953 rm -fr conftest*
   11954 
   11955 
   11956 fi
   11957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   11958 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   11959     fi
   11960 
   11961     CPPFLAGS=$save_CPPFLAGS
   11962     LDFLAGS=$save_LDFLAGS
   11963     LIBS=$save_LIBS
   11964     ;;
   11965   esac
   11966 
   11967   case $lt_cv_dlopen_self in
   11968   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   11969   *) enable_dlopen_self=unknown ;;
   11970   esac
   11971 
   11972   case $lt_cv_dlopen_self_static in
   11973   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   11974   *) enable_dlopen_self_static=unknown ;;
   11975   esac
   11976 fi
   11977 
   11978 
   11979 
   11980 
   11981 
   11982 
   11983 
   11984 
   11985 
   11986 
   11987 
   11988 
   11989 
   11990 
   11991 
   11992 
   11993 
   11994 striplib=
   11995 old_striplib=
   11996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   11997 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   11998 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   11999   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12000   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12002 $as_echo "yes" >&6; }
   12003 else
   12004 # FIXME - insert some real tests, host_os isn't really good enough
   12005   case $host_os in
   12006   darwin*)
   12007     if test -n "$STRIP"; then
   12008       striplib="$STRIP -x"
   12009       old_striplib="$STRIP -S"
   12010       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12011 $as_echo "yes" >&6; }
   12012     else
   12013       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12014 $as_echo "no" >&6; }
   12015     fi
   12016     ;;
   12017   *)
   12018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12019 $as_echo "no" >&6; }
   12020     ;;
   12021   esac
   12022 fi
   12023 
   12024 
   12025 
   12026 
   12027 
   12028 
   12029 
   12030 
   12031 
   12032 
   12033 
   12034 
   12035   # Report what library types will actually be built
   12036   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12037 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12039 $as_echo "$can_build_shared" >&6; }
   12040 
   12041   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12042 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12043   test no = "$can_build_shared" && enable_shared=no
   12044 
   12045   # On AIX, shared libraries and static libraries use the same namespace, and
   12046   # are all built from PIC.
   12047   case $host_os in
   12048   aix3*)
   12049     test yes = "$enable_shared" && enable_static=no
   12050     if test -n "$RANLIB"; then
   12051       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12052       postinstall_cmds='$RANLIB $lib'
   12053     fi
   12054     ;;
   12055 
   12056   aix[4-9]*)
   12057     if test ia64 != "$host_cpu"; then
   12058       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12059       yes,aix,yes) ;;			# shared object as lib.so file only
   12060       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12061       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12062       esac
   12063     fi
   12064     ;;
   12065   esac
   12066   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12067 $as_echo "$enable_shared" >&6; }
   12068 
   12069   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12070 $as_echo_n "checking whether to build static libraries... " >&6; }
   12071   # Make sure either enable_shared or enable_static is yes.
   12072   test yes = "$enable_shared" || enable_static=yes
   12073   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12074 $as_echo "$enable_static" >&6; }
   12075 
   12076 
   12077 
   12078 
   12079 fi
   12080 ac_ext=c
   12081 ac_cpp='$CPP $CPPFLAGS'
   12082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12085 
   12086 CC=$lt_save_CC
   12087 
   12088 
   12089 
   12090 
   12091 
   12092 
   12093 
   12094 
   12095 
   12096 
   12097 
   12098 
   12099 
   12100 
   12101 
   12102         ac_config_commands="$ac_config_commands libtool"
   12103 
   12104 
   12105 
   12106 
   12107 # Only expand once:
   12108 
   12109 
   12110 
   12111 # Initialize X.Org macros
   12112 
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12124 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12125 if ${ac_cv_prog_cc_c99+:} false; then :
   12126   $as_echo_n "(cached) " >&6
   12127 else
   12128   ac_cv_prog_cc_c99=no
   12129 ac_save_CC=$CC
   12130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12131 /* end confdefs.h.  */
   12132 #include <stdarg.h>
   12133 #include <stdbool.h>
   12134 #include <stdlib.h>
   12135 #include <wchar.h>
   12136 #include <stdio.h>
   12137 
   12138 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12139 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12140 #define showlist(...) puts (#__VA_ARGS__)
   12141 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12142 static void
   12143 test_varargs_macros (void)
   12144 {
   12145   int x = 1234;
   12146   int y = 5678;
   12147   debug ("Flag");
   12148   debug ("X = %d\n", x);
   12149   showlist (The first, second, and third items.);
   12150   report (x>y, "x is %d but y is %d", x, y);
   12151 }
   12152 
   12153 // Check long long types.
   12154 #define BIG64 18446744073709551615ull
   12155 #define BIG32 4294967295ul
   12156 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12157 #if !BIG_OK
   12158   your preprocessor is broken;
   12159 #endif
   12160 #if BIG_OK
   12161 #else
   12162   your preprocessor is broken;
   12163 #endif
   12164 static long long int bignum = -9223372036854775807LL;
   12165 static unsigned long long int ubignum = BIG64;
   12166 
   12167 struct incomplete_array
   12168 {
   12169   int datasize;
   12170   double data[];
   12171 };
   12172 
   12173 struct named_init {
   12174   int number;
   12175   const wchar_t *name;
   12176   double average;
   12177 };
   12178 
   12179 typedef const char *ccp;
   12180 
   12181 static inline int
   12182 test_restrict (ccp restrict text)
   12183 {
   12184   // See if C++-style comments work.
   12185   // Iterate through items via the restricted pointer.
   12186   // Also check for declarations in for loops.
   12187   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12188     continue;
   12189   return 0;
   12190 }
   12191 
   12192 // Check varargs and va_copy.
   12193 static void
   12194 test_varargs (const char *format, ...)
   12195 {
   12196   va_list args;
   12197   va_start (args, format);
   12198   va_list args_copy;
   12199   va_copy (args_copy, args);
   12200 
   12201   const char *str;
   12202   int number;
   12203   float fnumber;
   12204 
   12205   while (*format)
   12206     {
   12207       switch (*format++)
   12208 	{
   12209 	case 's': // string
   12210 	  str = va_arg (args_copy, const char *);
   12211 	  break;
   12212 	case 'd': // int
   12213 	  number = va_arg (args_copy, int);
   12214 	  break;
   12215 	case 'f': // float
   12216 	  fnumber = va_arg (args_copy, double);
   12217 	  break;
   12218 	default:
   12219 	  break;
   12220 	}
   12221     }
   12222   va_end (args_copy);
   12223   va_end (args);
   12224 }
   12225 
   12226 int
   12227 main ()
   12228 {
   12229 
   12230   // Check bool.
   12231   _Bool success = false;
   12232 
   12233   // Check restrict.
   12234   if (test_restrict ("String literal") == 0)
   12235     success = true;
   12236   char *restrict newvar = "Another string";
   12237 
   12238   // Check varargs.
   12239   test_varargs ("s, d' f .", "string", 65, 34.234);
   12240   test_varargs_macros ();
   12241 
   12242   // Check flexible array members.
   12243   struct incomplete_array *ia =
   12244     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12245   ia->datasize = 10;
   12246   for (int i = 0; i < ia->datasize; ++i)
   12247     ia->data[i] = i * 1.234;
   12248 
   12249   // Check named initializers.
   12250   struct named_init ni = {
   12251     .number = 34,
   12252     .name = L"Test wide string",
   12253     .average = 543.34343,
   12254   };
   12255 
   12256   ni.number = 58;
   12257 
   12258   int dynamic_array[ni.number];
   12259   dynamic_array[ni.number - 1] = 543;
   12260 
   12261   // work around unused variable warnings
   12262   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12263 	  || dynamic_array[ni.number - 1] != 543);
   12264 
   12265   ;
   12266   return 0;
   12267 }
   12268 _ACEOF
   12269 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12270 do
   12271   CC="$ac_save_CC $ac_arg"
   12272   if ac_fn_c_try_compile "$LINENO"; then :
   12273   ac_cv_prog_cc_c99=$ac_arg
   12274 fi
   12275 rm -f core conftest.err conftest.$ac_objext
   12276   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12277 done
   12278 rm -f conftest.$ac_ext
   12279 CC=$ac_save_CC
   12280 
   12281 fi
   12282 # AC_CACHE_VAL
   12283 case "x$ac_cv_prog_cc_c99" in
   12284   x)
   12285     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12286 $as_echo "none needed" >&6; } ;;
   12287   xno)
   12288     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12289 $as_echo "unsupported" >&6; } ;;
   12290   *)
   12291     CC="$CC $ac_cv_prog_cc_c99"
   12292     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12293 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12294 esac
   12295 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12296 
   12297 fi
   12298 
   12299 
   12300 
   12301 
   12302 
   12303 
   12304 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12305 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12306   CLANGCC="yes"
   12307 else
   12308   CLANGCC="no"
   12309 fi
   12310 
   12311 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12312 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12313   INTELCC="yes"
   12314 else
   12315   INTELCC="no"
   12316 fi
   12317 
   12318 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12319 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12320   SUNCC="yes"
   12321 else
   12322   SUNCC="no"
   12323 fi
   12324 
   12325 
   12326 
   12327 
   12328 
   12329 
   12330 
   12331 
   12332 
   12333 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12334 	if test -n "$ac_tool_prefix"; then
   12335   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12336 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12338 $as_echo_n "checking for $ac_word... " >&6; }
   12339 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12340   $as_echo_n "(cached) " >&6
   12341 else
   12342   case $PKG_CONFIG in
   12343   [\\/]* | ?:[\\/]*)
   12344   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12345   ;;
   12346   *)
   12347   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12348 for as_dir in $PATH
   12349 do
   12350   IFS=$as_save_IFS
   12351   test -z "$as_dir" && as_dir=.
   12352     for ac_exec_ext in '' $ac_executable_extensions; do
   12353   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12354     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12355     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12356     break 2
   12357   fi
   12358 done
   12359   done
   12360 IFS=$as_save_IFS
   12361 
   12362   ;;
   12363 esac
   12364 fi
   12365 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12366 if test -n "$PKG_CONFIG"; then
   12367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12368 $as_echo "$PKG_CONFIG" >&6; }
   12369 else
   12370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12371 $as_echo "no" >&6; }
   12372 fi
   12373 
   12374 
   12375 fi
   12376 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12377   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12378   # Extract the first word of "pkg-config", so it can be a program name with args.
   12379 set dummy pkg-config; ac_word=$2
   12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12381 $as_echo_n "checking for $ac_word... " >&6; }
   12382 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12383   $as_echo_n "(cached) " >&6
   12384 else
   12385   case $ac_pt_PKG_CONFIG in
   12386   [\\/]* | ?:[\\/]*)
   12387   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12388   ;;
   12389   *)
   12390   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12391 for as_dir in $PATH
   12392 do
   12393   IFS=$as_save_IFS
   12394   test -z "$as_dir" && as_dir=.
   12395     for ac_exec_ext in '' $ac_executable_extensions; do
   12396   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12397     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12398     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12399     break 2
   12400   fi
   12401 done
   12402   done
   12403 IFS=$as_save_IFS
   12404 
   12405   ;;
   12406 esac
   12407 fi
   12408 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12409 if test -n "$ac_pt_PKG_CONFIG"; then
   12410   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12411 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12412 else
   12413   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12414 $as_echo "no" >&6; }
   12415 fi
   12416 
   12417   if test "x$ac_pt_PKG_CONFIG" = x; then
   12418     PKG_CONFIG=""
   12419   else
   12420     case $cross_compiling:$ac_tool_warned in
   12421 yes:)
   12422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12424 ac_tool_warned=yes ;;
   12425 esac
   12426     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12427   fi
   12428 else
   12429   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12430 fi
   12431 
   12432 fi
   12433 if test -n "$PKG_CONFIG"; then
   12434 	_pkg_min_version=0.9.0
   12435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12436 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12437 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12438 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12439 $as_echo "yes" >&6; }
   12440 	else
   12441 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12442 $as_echo "no" >&6; }
   12443 		PKG_CONFIG=""
   12444 	fi
   12445 fi
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 # Check whether --enable-selective-werror was given.
   12452 if test "${enable_selective_werror+set}" = set; then :
   12453   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12454 else
   12455   SELECTIVE_WERROR=yes
   12456 fi
   12457 
   12458 
   12459 
   12460 
   12461 
   12462 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12463 if test "x$SUNCC" = "xyes"; then
   12464     BASE_CFLAGS="-v"
   12465 else
   12466     BASE_CFLAGS=""
   12467 fi
   12468 
   12469 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12470 
   12471 
   12472 
   12473 
   12474 
   12475 
   12476 
   12477 
   12478 
   12479 
   12480 
   12481 
   12482 
   12483 xorg_testset_save_CFLAGS="$CFLAGS"
   12484 
   12485 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12486 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12487 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12488 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12489 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12490   $as_echo_n "(cached) " >&6
   12491 else
   12492   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12493 /* end confdefs.h.  */
   12494 int i;
   12495 _ACEOF
   12496 if ac_fn_c_try_compile "$LINENO"; then :
   12497   xorg_cv_cc_flag_unknown_warning_option=yes
   12498 else
   12499   xorg_cv_cc_flag_unknown_warning_option=no
   12500 fi
   12501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12502 fi
   12503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12504 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12505 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12506 	CFLAGS="$xorg_testset_save_CFLAGS"
   12507 fi
   12508 
   12509 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12510 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12511 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12512 	fi
   12513 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12515 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12516 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12517   $as_echo_n "(cached) " >&6
   12518 else
   12519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12520 /* end confdefs.h.  */
   12521 int i;
   12522 _ACEOF
   12523 if ac_fn_c_try_compile "$LINENO"; then :
   12524   xorg_cv_cc_flag_unused_command_line_argument=yes
   12525 else
   12526   xorg_cv_cc_flag_unused_command_line_argument=no
   12527 fi
   12528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12529 fi
   12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12531 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12532 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12533 	CFLAGS="$xorg_testset_save_CFLAGS"
   12534 fi
   12535 
   12536 found="no"
   12537 
   12538 	if test $found = "no" ; then
   12539 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12540 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12541 		fi
   12542 
   12543 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12544 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12545 		fi
   12546 
   12547 		CFLAGS="$CFLAGS -Wall"
   12548 
   12549 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12550 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12551 		cacheid=xorg_cv_cc_flag__Wall
   12552 		if eval \${$cacheid+:} false; then :
   12553   $as_echo_n "(cached) " >&6
   12554 else
   12555   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12556 /* end confdefs.h.  */
   12557 int i;
   12558 int
   12559 main ()
   12560 {
   12561 
   12562   ;
   12563   return 0;
   12564 }
   12565 _ACEOF
   12566 if ac_fn_c_try_link "$LINENO"; then :
   12567   eval $cacheid=yes
   12568 else
   12569   eval $cacheid=no
   12570 fi
   12571 rm -f core conftest.err conftest.$ac_objext \
   12572     conftest$ac_exeext conftest.$ac_ext
   12573 fi
   12574 
   12575 
   12576 		CFLAGS="$xorg_testset_save_CFLAGS"
   12577 
   12578 		eval supported=\$$cacheid
   12579 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12580 $as_echo "$supported" >&6; }
   12581 		if test "$supported" = "yes" ; then
   12582 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12583 			found="yes"
   12584 		fi
   12585 	fi
   12586 
   12587 
   12588 
   12589 
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 xorg_testset_save_CFLAGS="$CFLAGS"
   12602 
   12603 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12604 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12605 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12606 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12607 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12608   $as_echo_n "(cached) " >&6
   12609 else
   12610   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12611 /* end confdefs.h.  */
   12612 int i;
   12613 _ACEOF
   12614 if ac_fn_c_try_compile "$LINENO"; then :
   12615   xorg_cv_cc_flag_unknown_warning_option=yes
   12616 else
   12617   xorg_cv_cc_flag_unknown_warning_option=no
   12618 fi
   12619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12620 fi
   12621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12622 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12623 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12624 	CFLAGS="$xorg_testset_save_CFLAGS"
   12625 fi
   12626 
   12627 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12628 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12629 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12630 	fi
   12631 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12633 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12634 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12635   $as_echo_n "(cached) " >&6
   12636 else
   12637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12638 /* end confdefs.h.  */
   12639 int i;
   12640 _ACEOF
   12641 if ac_fn_c_try_compile "$LINENO"; then :
   12642   xorg_cv_cc_flag_unused_command_line_argument=yes
   12643 else
   12644   xorg_cv_cc_flag_unused_command_line_argument=no
   12645 fi
   12646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12647 fi
   12648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12649 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12650 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12651 	CFLAGS="$xorg_testset_save_CFLAGS"
   12652 fi
   12653 
   12654 found="no"
   12655 
   12656 	if test $found = "no" ; then
   12657 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12658 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12659 		fi
   12660 
   12661 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12662 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12663 		fi
   12664 
   12665 		CFLAGS="$CFLAGS -Wpointer-arith"
   12666 
   12667 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12668 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12669 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12670 		if eval \${$cacheid+:} false; then :
   12671   $as_echo_n "(cached) " >&6
   12672 else
   12673   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12674 /* end confdefs.h.  */
   12675 int i;
   12676 int
   12677 main ()
   12678 {
   12679 
   12680   ;
   12681   return 0;
   12682 }
   12683 _ACEOF
   12684 if ac_fn_c_try_link "$LINENO"; then :
   12685   eval $cacheid=yes
   12686 else
   12687   eval $cacheid=no
   12688 fi
   12689 rm -f core conftest.err conftest.$ac_objext \
   12690     conftest$ac_exeext conftest.$ac_ext
   12691 fi
   12692 
   12693 
   12694 		CFLAGS="$xorg_testset_save_CFLAGS"
   12695 
   12696 		eval supported=\$$cacheid
   12697 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12698 $as_echo "$supported" >&6; }
   12699 		if test "$supported" = "yes" ; then
   12700 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12701 			found="yes"
   12702 		fi
   12703 	fi
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 xorg_testset_save_CFLAGS="$CFLAGS"
   12720 
   12721 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12722 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12724 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12725 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12726   $as_echo_n "(cached) " >&6
   12727 else
   12728   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12729 /* end confdefs.h.  */
   12730 int i;
   12731 _ACEOF
   12732 if ac_fn_c_try_compile "$LINENO"; then :
   12733   xorg_cv_cc_flag_unknown_warning_option=yes
   12734 else
   12735   xorg_cv_cc_flag_unknown_warning_option=no
   12736 fi
   12737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12738 fi
   12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12740 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12741 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12742 	CFLAGS="$xorg_testset_save_CFLAGS"
   12743 fi
   12744 
   12745 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12746 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12747 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12748 	fi
   12749 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12750 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12751 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12752 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12753   $as_echo_n "(cached) " >&6
   12754 else
   12755   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12756 /* end confdefs.h.  */
   12757 int i;
   12758 _ACEOF
   12759 if ac_fn_c_try_compile "$LINENO"; then :
   12760   xorg_cv_cc_flag_unused_command_line_argument=yes
   12761 else
   12762   xorg_cv_cc_flag_unused_command_line_argument=no
   12763 fi
   12764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12765 fi
   12766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12767 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12768 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12769 	CFLAGS="$xorg_testset_save_CFLAGS"
   12770 fi
   12771 
   12772 found="no"
   12773 
   12774 	if test $found = "no" ; then
   12775 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12776 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12777 		fi
   12778 
   12779 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12780 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12781 		fi
   12782 
   12783 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12784 
   12785 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12786 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12787 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12788 		if eval \${$cacheid+:} false; then :
   12789   $as_echo_n "(cached) " >&6
   12790 else
   12791   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12792 /* end confdefs.h.  */
   12793 int i;
   12794 int
   12795 main ()
   12796 {
   12797 
   12798   ;
   12799   return 0;
   12800 }
   12801 _ACEOF
   12802 if ac_fn_c_try_link "$LINENO"; then :
   12803   eval $cacheid=yes
   12804 else
   12805   eval $cacheid=no
   12806 fi
   12807 rm -f core conftest.err conftest.$ac_objext \
   12808     conftest$ac_exeext conftest.$ac_ext
   12809 fi
   12810 
   12811 
   12812 		CFLAGS="$xorg_testset_save_CFLAGS"
   12813 
   12814 		eval supported=\$$cacheid
   12815 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12816 $as_echo "$supported" >&6; }
   12817 		if test "$supported" = "yes" ; then
   12818 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12819 			found="yes"
   12820 		fi
   12821 	fi
   12822 
   12823 
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 xorg_testset_save_CFLAGS="$CFLAGS"
   12838 
   12839 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12840 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12841 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12842 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12843 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12844   $as_echo_n "(cached) " >&6
   12845 else
   12846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12847 /* end confdefs.h.  */
   12848 int i;
   12849 _ACEOF
   12850 if ac_fn_c_try_compile "$LINENO"; then :
   12851   xorg_cv_cc_flag_unknown_warning_option=yes
   12852 else
   12853   xorg_cv_cc_flag_unknown_warning_option=no
   12854 fi
   12855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12856 fi
   12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12858 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12859 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12860 	CFLAGS="$xorg_testset_save_CFLAGS"
   12861 fi
   12862 
   12863 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12864 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12865 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12866 	fi
   12867 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12868 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12869 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12870 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12871   $as_echo_n "(cached) " >&6
   12872 else
   12873   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12874 /* end confdefs.h.  */
   12875 int i;
   12876 _ACEOF
   12877 if ac_fn_c_try_compile "$LINENO"; then :
   12878   xorg_cv_cc_flag_unused_command_line_argument=yes
   12879 else
   12880   xorg_cv_cc_flag_unused_command_line_argument=no
   12881 fi
   12882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12883 fi
   12884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12885 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12886 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12887 	CFLAGS="$xorg_testset_save_CFLAGS"
   12888 fi
   12889 
   12890 found="no"
   12891 
   12892 	if test $found = "no" ; then
   12893 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12894 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12895 		fi
   12896 
   12897 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12898 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12899 		fi
   12900 
   12901 		CFLAGS="$CFLAGS -Wformat=2"
   12902 
   12903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   12904 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   12905 		cacheid=xorg_cv_cc_flag__Wformat_2
   12906 		if eval \${$cacheid+:} false; then :
   12907   $as_echo_n "(cached) " >&6
   12908 else
   12909   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12910 /* end confdefs.h.  */
   12911 int i;
   12912 int
   12913 main ()
   12914 {
   12915 
   12916   ;
   12917   return 0;
   12918 }
   12919 _ACEOF
   12920 if ac_fn_c_try_link "$LINENO"; then :
   12921   eval $cacheid=yes
   12922 else
   12923   eval $cacheid=no
   12924 fi
   12925 rm -f core conftest.err conftest.$ac_objext \
   12926     conftest$ac_exeext conftest.$ac_ext
   12927 fi
   12928 
   12929 
   12930 		CFLAGS="$xorg_testset_save_CFLAGS"
   12931 
   12932 		eval supported=\$$cacheid
   12933 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12934 $as_echo "$supported" >&6; }
   12935 		if test "$supported" = "yes" ; then
   12936 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   12937 			found="yes"
   12938 		fi
   12939 	fi
   12940 
   12941 	if test $found = "no" ; then
   12942 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12943 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12944 		fi
   12945 
   12946 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12947 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12948 		fi
   12949 
   12950 		CFLAGS="$CFLAGS -Wformat"
   12951 
   12952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   12953 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   12954 		cacheid=xorg_cv_cc_flag__Wformat
   12955 		if eval \${$cacheid+:} false; then :
   12956   $as_echo_n "(cached) " >&6
   12957 else
   12958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12959 /* end confdefs.h.  */
   12960 int i;
   12961 int
   12962 main ()
   12963 {
   12964 
   12965   ;
   12966   return 0;
   12967 }
   12968 _ACEOF
   12969 if ac_fn_c_try_link "$LINENO"; then :
   12970   eval $cacheid=yes
   12971 else
   12972   eval $cacheid=no
   12973 fi
   12974 rm -f core conftest.err conftest.$ac_objext \
   12975     conftest$ac_exeext conftest.$ac_ext
   12976 fi
   12977 
   12978 
   12979 		CFLAGS="$xorg_testset_save_CFLAGS"
   12980 
   12981 		eval supported=\$$cacheid
   12982 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12983 $as_echo "$supported" >&6; }
   12984 		if test "$supported" = "yes" ; then
   12985 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   12986 			found="yes"
   12987 		fi
   12988 	fi
   12989 
   12990 
   12991 
   12992 
   12993 
   12994 
   12995 
   12996 
   12997 
   12998 
   12999 
   13000 
   13001 
   13002 
   13003 
   13004 
   13005 
   13006 xorg_testset_save_CFLAGS="$CFLAGS"
   13007 
   13008 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13009 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13011 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13012 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13013   $as_echo_n "(cached) " >&6
   13014 else
   13015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13016 /* end confdefs.h.  */
   13017 int i;
   13018 _ACEOF
   13019 if ac_fn_c_try_compile "$LINENO"; then :
   13020   xorg_cv_cc_flag_unknown_warning_option=yes
   13021 else
   13022   xorg_cv_cc_flag_unknown_warning_option=no
   13023 fi
   13024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13025 fi
   13026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13027 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13028 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13029 	CFLAGS="$xorg_testset_save_CFLAGS"
   13030 fi
   13031 
   13032 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13033 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13034 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13035 	fi
   13036 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13038 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13039 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13040   $as_echo_n "(cached) " >&6
   13041 else
   13042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13043 /* end confdefs.h.  */
   13044 int i;
   13045 _ACEOF
   13046 if ac_fn_c_try_compile "$LINENO"; then :
   13047   xorg_cv_cc_flag_unused_command_line_argument=yes
   13048 else
   13049   xorg_cv_cc_flag_unused_command_line_argument=no
   13050 fi
   13051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13052 fi
   13053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13054 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13055 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13056 	CFLAGS="$xorg_testset_save_CFLAGS"
   13057 fi
   13058 
   13059 found="no"
   13060 
   13061 	if test $found = "no" ; then
   13062 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13063 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13064 		fi
   13065 
   13066 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13067 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13068 		fi
   13069 
   13070 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13071 
   13072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13073 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13074 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13075 		if eval \${$cacheid+:} false; then :
   13076   $as_echo_n "(cached) " >&6
   13077 else
   13078   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13079 /* end confdefs.h.  */
   13080 int i;
   13081 int
   13082 main ()
   13083 {
   13084 
   13085   ;
   13086   return 0;
   13087 }
   13088 _ACEOF
   13089 if ac_fn_c_try_link "$LINENO"; then :
   13090   eval $cacheid=yes
   13091 else
   13092   eval $cacheid=no
   13093 fi
   13094 rm -f core conftest.err conftest.$ac_objext \
   13095     conftest$ac_exeext conftest.$ac_ext
   13096 fi
   13097 
   13098 
   13099 		CFLAGS="$xorg_testset_save_CFLAGS"
   13100 
   13101 		eval supported=\$$cacheid
   13102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13103 $as_echo "$supported" >&6; }
   13104 		if test "$supported" = "yes" ; then
   13105 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13106 			found="yes"
   13107 		fi
   13108 	fi
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 
   13121 
   13122 
   13123 
   13124 xorg_testset_save_CFLAGS="$CFLAGS"
   13125 
   13126 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13127 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13129 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13130 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13131   $as_echo_n "(cached) " >&6
   13132 else
   13133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13134 /* end confdefs.h.  */
   13135 int i;
   13136 _ACEOF
   13137 if ac_fn_c_try_compile "$LINENO"; then :
   13138   xorg_cv_cc_flag_unknown_warning_option=yes
   13139 else
   13140   xorg_cv_cc_flag_unknown_warning_option=no
   13141 fi
   13142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13143 fi
   13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13145 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13146 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13147 	CFLAGS="$xorg_testset_save_CFLAGS"
   13148 fi
   13149 
   13150 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13151 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13152 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13153 	fi
   13154 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13155 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13156 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13157 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13158   $as_echo_n "(cached) " >&6
   13159 else
   13160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13161 /* end confdefs.h.  */
   13162 int i;
   13163 _ACEOF
   13164 if ac_fn_c_try_compile "$LINENO"; then :
   13165   xorg_cv_cc_flag_unused_command_line_argument=yes
   13166 else
   13167   xorg_cv_cc_flag_unused_command_line_argument=no
   13168 fi
   13169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13170 fi
   13171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13172 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13173 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13174 	CFLAGS="$xorg_testset_save_CFLAGS"
   13175 fi
   13176 
   13177 found="no"
   13178 
   13179 	if test $found = "no" ; then
   13180 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13181 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13182 		fi
   13183 
   13184 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13185 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13186 		fi
   13187 
   13188 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13189 
   13190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13191 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13192 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13193 		if eval \${$cacheid+:} false; then :
   13194   $as_echo_n "(cached) " >&6
   13195 else
   13196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13197 /* end confdefs.h.  */
   13198 int i;
   13199 int
   13200 main ()
   13201 {
   13202 
   13203   ;
   13204   return 0;
   13205 }
   13206 _ACEOF
   13207 if ac_fn_c_try_link "$LINENO"; then :
   13208   eval $cacheid=yes
   13209 else
   13210   eval $cacheid=no
   13211 fi
   13212 rm -f core conftest.err conftest.$ac_objext \
   13213     conftest$ac_exeext conftest.$ac_ext
   13214 fi
   13215 
   13216 
   13217 		CFLAGS="$xorg_testset_save_CFLAGS"
   13218 
   13219 		eval supported=\$$cacheid
   13220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13221 $as_echo "$supported" >&6; }
   13222 		if test "$supported" = "yes" ; then
   13223 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13224 			found="yes"
   13225 		fi
   13226 	fi
   13227 
   13228 
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 xorg_testset_save_CFLAGS="$CFLAGS"
   13243 
   13244 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13245 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13247 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13248 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13249   $as_echo_n "(cached) " >&6
   13250 else
   13251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13252 /* end confdefs.h.  */
   13253 int i;
   13254 _ACEOF
   13255 if ac_fn_c_try_compile "$LINENO"; then :
   13256   xorg_cv_cc_flag_unknown_warning_option=yes
   13257 else
   13258   xorg_cv_cc_flag_unknown_warning_option=no
   13259 fi
   13260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13261 fi
   13262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13263 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13264 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13265 	CFLAGS="$xorg_testset_save_CFLAGS"
   13266 fi
   13267 
   13268 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13269 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13270 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13271 	fi
   13272 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13273 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13274 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13275 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13276   $as_echo_n "(cached) " >&6
   13277 else
   13278   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13279 /* end confdefs.h.  */
   13280 int i;
   13281 _ACEOF
   13282 if ac_fn_c_try_compile "$LINENO"; then :
   13283   xorg_cv_cc_flag_unused_command_line_argument=yes
   13284 else
   13285   xorg_cv_cc_flag_unused_command_line_argument=no
   13286 fi
   13287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13288 fi
   13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13290 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13291 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13292 	CFLAGS="$xorg_testset_save_CFLAGS"
   13293 fi
   13294 
   13295 found="no"
   13296 
   13297 	if test $found = "no" ; then
   13298 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13299 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13300 		fi
   13301 
   13302 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13303 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13304 		fi
   13305 
   13306 		CFLAGS="$CFLAGS -Wnested-externs"
   13307 
   13308 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13309 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13310 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13311 		if eval \${$cacheid+:} false; then :
   13312   $as_echo_n "(cached) " >&6
   13313 else
   13314   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13315 /* end confdefs.h.  */
   13316 int i;
   13317 int
   13318 main ()
   13319 {
   13320 
   13321   ;
   13322   return 0;
   13323 }
   13324 _ACEOF
   13325 if ac_fn_c_try_link "$LINENO"; then :
   13326   eval $cacheid=yes
   13327 else
   13328   eval $cacheid=no
   13329 fi
   13330 rm -f core conftest.err conftest.$ac_objext \
   13331     conftest$ac_exeext conftest.$ac_ext
   13332 fi
   13333 
   13334 
   13335 		CFLAGS="$xorg_testset_save_CFLAGS"
   13336 
   13337 		eval supported=\$$cacheid
   13338 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13339 $as_echo "$supported" >&6; }
   13340 		if test "$supported" = "yes" ; then
   13341 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13342 			found="yes"
   13343 		fi
   13344 	fi
   13345 
   13346 
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 xorg_testset_save_CFLAGS="$CFLAGS"
   13361 
   13362 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13363 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13365 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13366 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13367   $as_echo_n "(cached) " >&6
   13368 else
   13369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13370 /* end confdefs.h.  */
   13371 int i;
   13372 _ACEOF
   13373 if ac_fn_c_try_compile "$LINENO"; then :
   13374   xorg_cv_cc_flag_unknown_warning_option=yes
   13375 else
   13376   xorg_cv_cc_flag_unknown_warning_option=no
   13377 fi
   13378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13379 fi
   13380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13381 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13382 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13383 	CFLAGS="$xorg_testset_save_CFLAGS"
   13384 fi
   13385 
   13386 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13387 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13388 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13389 	fi
   13390 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13391 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13392 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13393 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13394   $as_echo_n "(cached) " >&6
   13395 else
   13396   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13397 /* end confdefs.h.  */
   13398 int i;
   13399 _ACEOF
   13400 if ac_fn_c_try_compile "$LINENO"; then :
   13401   xorg_cv_cc_flag_unused_command_line_argument=yes
   13402 else
   13403   xorg_cv_cc_flag_unused_command_line_argument=no
   13404 fi
   13405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13406 fi
   13407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13408 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13409 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13410 	CFLAGS="$xorg_testset_save_CFLAGS"
   13411 fi
   13412 
   13413 found="no"
   13414 
   13415 	if test $found = "no" ; then
   13416 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13417 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13418 		fi
   13419 
   13420 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13421 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13422 		fi
   13423 
   13424 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13425 
   13426 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13427 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13428 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13429 		if eval \${$cacheid+:} false; then :
   13430   $as_echo_n "(cached) " >&6
   13431 else
   13432   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13433 /* end confdefs.h.  */
   13434 int i;
   13435 int
   13436 main ()
   13437 {
   13438 
   13439   ;
   13440   return 0;
   13441 }
   13442 _ACEOF
   13443 if ac_fn_c_try_link "$LINENO"; then :
   13444   eval $cacheid=yes
   13445 else
   13446   eval $cacheid=no
   13447 fi
   13448 rm -f core conftest.err conftest.$ac_objext \
   13449     conftest$ac_exeext conftest.$ac_ext
   13450 fi
   13451 
   13452 
   13453 		CFLAGS="$xorg_testset_save_CFLAGS"
   13454 
   13455 		eval supported=\$$cacheid
   13456 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13457 $as_echo "$supported" >&6; }
   13458 		if test "$supported" = "yes" ; then
   13459 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13460 			found="yes"
   13461 		fi
   13462 	fi
   13463 
   13464 
   13465 
   13466 
   13467 
   13468 
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 xorg_testset_save_CFLAGS="$CFLAGS"
   13479 
   13480 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13481 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13483 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13484 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13485   $as_echo_n "(cached) " >&6
   13486 else
   13487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13488 /* end confdefs.h.  */
   13489 int i;
   13490 _ACEOF
   13491 if ac_fn_c_try_compile "$LINENO"; then :
   13492   xorg_cv_cc_flag_unknown_warning_option=yes
   13493 else
   13494   xorg_cv_cc_flag_unknown_warning_option=no
   13495 fi
   13496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13497 fi
   13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13499 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13500 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13501 	CFLAGS="$xorg_testset_save_CFLAGS"
   13502 fi
   13503 
   13504 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13505 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13506 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13507 	fi
   13508 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13509 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13510 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13511 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13512   $as_echo_n "(cached) " >&6
   13513 else
   13514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13515 /* end confdefs.h.  */
   13516 int i;
   13517 _ACEOF
   13518 if ac_fn_c_try_compile "$LINENO"; then :
   13519   xorg_cv_cc_flag_unused_command_line_argument=yes
   13520 else
   13521   xorg_cv_cc_flag_unused_command_line_argument=no
   13522 fi
   13523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13524 fi
   13525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13526 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13527 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13528 	CFLAGS="$xorg_testset_save_CFLAGS"
   13529 fi
   13530 
   13531 found="no"
   13532 
   13533 	if test $found = "no" ; then
   13534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13536 		fi
   13537 
   13538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13540 		fi
   13541 
   13542 		CFLAGS="$CFLAGS -Wold-style-definition"
   13543 
   13544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13545 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13546 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13547 		if eval \${$cacheid+:} false; then :
   13548   $as_echo_n "(cached) " >&6
   13549 else
   13550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13551 /* end confdefs.h.  */
   13552 int i;
   13553 int
   13554 main ()
   13555 {
   13556 
   13557   ;
   13558   return 0;
   13559 }
   13560 _ACEOF
   13561 if ac_fn_c_try_link "$LINENO"; then :
   13562   eval $cacheid=yes
   13563 else
   13564   eval $cacheid=no
   13565 fi
   13566 rm -f core conftest.err conftest.$ac_objext \
   13567     conftest$ac_exeext conftest.$ac_ext
   13568 fi
   13569 
   13570 
   13571 		CFLAGS="$xorg_testset_save_CFLAGS"
   13572 
   13573 		eval supported=\$$cacheid
   13574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13575 $as_echo "$supported" >&6; }
   13576 		if test "$supported" = "yes" ; then
   13577 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13578 			found="yes"
   13579 		fi
   13580 	fi
   13581 
   13582 	if test $found = "no" ; then
   13583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13585 		fi
   13586 
   13587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13589 		fi
   13590 
   13591 		CFLAGS="$CFLAGS -fd"
   13592 
   13593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13594 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13595 		cacheid=xorg_cv_cc_flag__fd
   13596 		if eval \${$cacheid+:} false; then :
   13597   $as_echo_n "(cached) " >&6
   13598 else
   13599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13600 /* end confdefs.h.  */
   13601 int i;
   13602 int
   13603 main ()
   13604 {
   13605 
   13606   ;
   13607   return 0;
   13608 }
   13609 _ACEOF
   13610 if ac_fn_c_try_link "$LINENO"; then :
   13611   eval $cacheid=yes
   13612 else
   13613   eval $cacheid=no
   13614 fi
   13615 rm -f core conftest.err conftest.$ac_objext \
   13616     conftest$ac_exeext conftest.$ac_ext
   13617 fi
   13618 
   13619 
   13620 		CFLAGS="$xorg_testset_save_CFLAGS"
   13621 
   13622 		eval supported=\$$cacheid
   13623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13624 $as_echo "$supported" >&6; }
   13625 		if test "$supported" = "yes" ; then
   13626 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13627 			found="yes"
   13628 		fi
   13629 	fi
   13630 
   13631 
   13632 
   13633 
   13634 
   13635 
   13636 
   13637 
   13638 
   13639 
   13640 
   13641 
   13642 
   13643 
   13644 
   13645 xorg_testset_save_CFLAGS="$CFLAGS"
   13646 
   13647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13650 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13651 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13652   $as_echo_n "(cached) " >&6
   13653 else
   13654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13655 /* end confdefs.h.  */
   13656 int i;
   13657 _ACEOF
   13658 if ac_fn_c_try_compile "$LINENO"; then :
   13659   xorg_cv_cc_flag_unknown_warning_option=yes
   13660 else
   13661   xorg_cv_cc_flag_unknown_warning_option=no
   13662 fi
   13663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13664 fi
   13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13666 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13668 	CFLAGS="$xorg_testset_save_CFLAGS"
   13669 fi
   13670 
   13671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13674 	fi
   13675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13677 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13678 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13679   $as_echo_n "(cached) " >&6
   13680 else
   13681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13682 /* end confdefs.h.  */
   13683 int i;
   13684 _ACEOF
   13685 if ac_fn_c_try_compile "$LINENO"; then :
   13686   xorg_cv_cc_flag_unused_command_line_argument=yes
   13687 else
   13688   xorg_cv_cc_flag_unused_command_line_argument=no
   13689 fi
   13690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13691 fi
   13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13693 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13695 	CFLAGS="$xorg_testset_save_CFLAGS"
   13696 fi
   13697 
   13698 found="no"
   13699 
   13700 	if test $found = "no" ; then
   13701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13703 		fi
   13704 
   13705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13707 		fi
   13708 
   13709 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13710 
   13711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13712 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13713 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13714 		if eval \${$cacheid+:} false; then :
   13715   $as_echo_n "(cached) " >&6
   13716 else
   13717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13718 /* end confdefs.h.  */
   13719 int i;
   13720 int
   13721 main ()
   13722 {
   13723 
   13724   ;
   13725   return 0;
   13726 }
   13727 _ACEOF
   13728 if ac_fn_c_try_link "$LINENO"; then :
   13729   eval $cacheid=yes
   13730 else
   13731   eval $cacheid=no
   13732 fi
   13733 rm -f core conftest.err conftest.$ac_objext \
   13734     conftest$ac_exeext conftest.$ac_ext
   13735 fi
   13736 
   13737 
   13738 		CFLAGS="$xorg_testset_save_CFLAGS"
   13739 
   13740 		eval supported=\$$cacheid
   13741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13742 $as_echo "$supported" >&6; }
   13743 		if test "$supported" = "yes" ; then
   13744 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13745 			found="yes"
   13746 		fi
   13747 	fi
   13748 
   13749 
   13750 
   13751 
   13752 
   13753 # This chunk adds additional warnings that could catch undesired effects.
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 xorg_testset_save_CFLAGS="$CFLAGS"
   13768 
   13769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13772 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13773 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13774   $as_echo_n "(cached) " >&6
   13775 else
   13776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13777 /* end confdefs.h.  */
   13778 int i;
   13779 _ACEOF
   13780 if ac_fn_c_try_compile "$LINENO"; then :
   13781   xorg_cv_cc_flag_unknown_warning_option=yes
   13782 else
   13783   xorg_cv_cc_flag_unknown_warning_option=no
   13784 fi
   13785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13786 fi
   13787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13788 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13790 	CFLAGS="$xorg_testset_save_CFLAGS"
   13791 fi
   13792 
   13793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13796 	fi
   13797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13799 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13800 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13801   $as_echo_n "(cached) " >&6
   13802 else
   13803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13804 /* end confdefs.h.  */
   13805 int i;
   13806 _ACEOF
   13807 if ac_fn_c_try_compile "$LINENO"; then :
   13808   xorg_cv_cc_flag_unused_command_line_argument=yes
   13809 else
   13810   xorg_cv_cc_flag_unused_command_line_argument=no
   13811 fi
   13812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13813 fi
   13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13815 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13817 	CFLAGS="$xorg_testset_save_CFLAGS"
   13818 fi
   13819 
   13820 found="no"
   13821 
   13822 	if test $found = "no" ; then
   13823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13825 		fi
   13826 
   13827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13829 		fi
   13830 
   13831 		CFLAGS="$CFLAGS -Wunused"
   13832 
   13833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13834 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13835 		cacheid=xorg_cv_cc_flag__Wunused
   13836 		if eval \${$cacheid+:} false; then :
   13837   $as_echo_n "(cached) " >&6
   13838 else
   13839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13840 /* end confdefs.h.  */
   13841 int i;
   13842 int
   13843 main ()
   13844 {
   13845 
   13846   ;
   13847   return 0;
   13848 }
   13849 _ACEOF
   13850 if ac_fn_c_try_link "$LINENO"; then :
   13851   eval $cacheid=yes
   13852 else
   13853   eval $cacheid=no
   13854 fi
   13855 rm -f core conftest.err conftest.$ac_objext \
   13856     conftest$ac_exeext conftest.$ac_ext
   13857 fi
   13858 
   13859 
   13860 		CFLAGS="$xorg_testset_save_CFLAGS"
   13861 
   13862 		eval supported=\$$cacheid
   13863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13864 $as_echo "$supported" >&6; }
   13865 		if test "$supported" = "yes" ; then
   13866 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13867 			found="yes"
   13868 		fi
   13869 	fi
   13870 
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 xorg_testset_save_CFLAGS="$CFLAGS"
   13886 
   13887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13892   $as_echo_n "(cached) " >&6
   13893 else
   13894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13895 /* end confdefs.h.  */
   13896 int i;
   13897 _ACEOF
   13898 if ac_fn_c_try_compile "$LINENO"; then :
   13899   xorg_cv_cc_flag_unknown_warning_option=yes
   13900 else
   13901   xorg_cv_cc_flag_unknown_warning_option=no
   13902 fi
   13903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13904 fi
   13905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13908 	CFLAGS="$xorg_testset_save_CFLAGS"
   13909 fi
   13910 
   13911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13914 	fi
   13915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13919   $as_echo_n "(cached) " >&6
   13920 else
   13921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13922 /* end confdefs.h.  */
   13923 int i;
   13924 _ACEOF
   13925 if ac_fn_c_try_compile "$LINENO"; then :
   13926   xorg_cv_cc_flag_unused_command_line_argument=yes
   13927 else
   13928   xorg_cv_cc_flag_unused_command_line_argument=no
   13929 fi
   13930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13931 fi
   13932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13935 	CFLAGS="$xorg_testset_save_CFLAGS"
   13936 fi
   13937 
   13938 found="no"
   13939 
   13940 	if test $found = "no" ; then
   13941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13943 		fi
   13944 
   13945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13947 		fi
   13948 
   13949 		CFLAGS="$CFLAGS -Wuninitialized"
   13950 
   13951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   13952 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   13953 		cacheid=xorg_cv_cc_flag__Wuninitialized
   13954 		if eval \${$cacheid+:} false; then :
   13955   $as_echo_n "(cached) " >&6
   13956 else
   13957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13958 /* end confdefs.h.  */
   13959 int i;
   13960 int
   13961 main ()
   13962 {
   13963 
   13964   ;
   13965   return 0;
   13966 }
   13967 _ACEOF
   13968 if ac_fn_c_try_link "$LINENO"; then :
   13969   eval $cacheid=yes
   13970 else
   13971   eval $cacheid=no
   13972 fi
   13973 rm -f core conftest.err conftest.$ac_objext \
   13974     conftest$ac_exeext conftest.$ac_ext
   13975 fi
   13976 
   13977 
   13978 		CFLAGS="$xorg_testset_save_CFLAGS"
   13979 
   13980 		eval supported=\$$cacheid
   13981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13982 $as_echo "$supported" >&6; }
   13983 		if test "$supported" = "yes" ; then
   13984 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   13985 			found="yes"
   13986 		fi
   13987 	fi
   13988 
   13989 
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 xorg_testset_save_CFLAGS="$CFLAGS"
   14004 
   14005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14008 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14009 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14010   $as_echo_n "(cached) " >&6
   14011 else
   14012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14013 /* end confdefs.h.  */
   14014 int i;
   14015 _ACEOF
   14016 if ac_fn_c_try_compile "$LINENO"; then :
   14017   xorg_cv_cc_flag_unknown_warning_option=yes
   14018 else
   14019   xorg_cv_cc_flag_unknown_warning_option=no
   14020 fi
   14021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14022 fi
   14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14024 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14026 	CFLAGS="$xorg_testset_save_CFLAGS"
   14027 fi
   14028 
   14029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14032 	fi
   14033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14035 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14036 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14037   $as_echo_n "(cached) " >&6
   14038 else
   14039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14040 /* end confdefs.h.  */
   14041 int i;
   14042 _ACEOF
   14043 if ac_fn_c_try_compile "$LINENO"; then :
   14044   xorg_cv_cc_flag_unused_command_line_argument=yes
   14045 else
   14046   xorg_cv_cc_flag_unused_command_line_argument=no
   14047 fi
   14048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14049 fi
   14050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14051 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14053 	CFLAGS="$xorg_testset_save_CFLAGS"
   14054 fi
   14055 
   14056 found="no"
   14057 
   14058 	if test $found = "no" ; then
   14059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14061 		fi
   14062 
   14063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14065 		fi
   14066 
   14067 		CFLAGS="$CFLAGS -Wshadow"
   14068 
   14069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14070 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14071 		cacheid=xorg_cv_cc_flag__Wshadow
   14072 		if eval \${$cacheid+:} false; then :
   14073   $as_echo_n "(cached) " >&6
   14074 else
   14075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14076 /* end confdefs.h.  */
   14077 int i;
   14078 int
   14079 main ()
   14080 {
   14081 
   14082   ;
   14083   return 0;
   14084 }
   14085 _ACEOF
   14086 if ac_fn_c_try_link "$LINENO"; then :
   14087   eval $cacheid=yes
   14088 else
   14089   eval $cacheid=no
   14090 fi
   14091 rm -f core conftest.err conftest.$ac_objext \
   14092     conftest$ac_exeext conftest.$ac_ext
   14093 fi
   14094 
   14095 
   14096 		CFLAGS="$xorg_testset_save_CFLAGS"
   14097 
   14098 		eval supported=\$$cacheid
   14099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14100 $as_echo "$supported" >&6; }
   14101 		if test "$supported" = "yes" ; then
   14102 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14103 			found="yes"
   14104 		fi
   14105 	fi
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 xorg_testset_save_CFLAGS="$CFLAGS"
   14122 
   14123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14126 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14127 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14128   $as_echo_n "(cached) " >&6
   14129 else
   14130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14131 /* end confdefs.h.  */
   14132 int i;
   14133 _ACEOF
   14134 if ac_fn_c_try_compile "$LINENO"; then :
   14135   xorg_cv_cc_flag_unknown_warning_option=yes
   14136 else
   14137   xorg_cv_cc_flag_unknown_warning_option=no
   14138 fi
   14139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14140 fi
   14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14142 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14143 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14144 	CFLAGS="$xorg_testset_save_CFLAGS"
   14145 fi
   14146 
   14147 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14148 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14150 	fi
   14151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14153 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14154 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14155   $as_echo_n "(cached) " >&6
   14156 else
   14157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14158 /* end confdefs.h.  */
   14159 int i;
   14160 _ACEOF
   14161 if ac_fn_c_try_compile "$LINENO"; then :
   14162   xorg_cv_cc_flag_unused_command_line_argument=yes
   14163 else
   14164   xorg_cv_cc_flag_unused_command_line_argument=no
   14165 fi
   14166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14167 fi
   14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14169 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14171 	CFLAGS="$xorg_testset_save_CFLAGS"
   14172 fi
   14173 
   14174 found="no"
   14175 
   14176 	if test $found = "no" ; then
   14177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14179 		fi
   14180 
   14181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14183 		fi
   14184 
   14185 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14186 
   14187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14188 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14189 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14190 		if eval \${$cacheid+:} false; then :
   14191   $as_echo_n "(cached) " >&6
   14192 else
   14193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14194 /* end confdefs.h.  */
   14195 int i;
   14196 int
   14197 main ()
   14198 {
   14199 
   14200   ;
   14201   return 0;
   14202 }
   14203 _ACEOF
   14204 if ac_fn_c_try_link "$LINENO"; then :
   14205   eval $cacheid=yes
   14206 else
   14207   eval $cacheid=no
   14208 fi
   14209 rm -f core conftest.err conftest.$ac_objext \
   14210     conftest$ac_exeext conftest.$ac_ext
   14211 fi
   14212 
   14213 
   14214 		CFLAGS="$xorg_testset_save_CFLAGS"
   14215 
   14216 		eval supported=\$$cacheid
   14217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14218 $as_echo "$supported" >&6; }
   14219 		if test "$supported" = "yes" ; then
   14220 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14221 			found="yes"
   14222 		fi
   14223 	fi
   14224 
   14225 
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 xorg_testset_save_CFLAGS="$CFLAGS"
   14240 
   14241 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14242 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14243 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14244 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14245 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14246   $as_echo_n "(cached) " >&6
   14247 else
   14248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14249 /* end confdefs.h.  */
   14250 int i;
   14251 _ACEOF
   14252 if ac_fn_c_try_compile "$LINENO"; then :
   14253   xorg_cv_cc_flag_unknown_warning_option=yes
   14254 else
   14255   xorg_cv_cc_flag_unknown_warning_option=no
   14256 fi
   14257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14258 fi
   14259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14260 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14261 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14262 	CFLAGS="$xorg_testset_save_CFLAGS"
   14263 fi
   14264 
   14265 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14266 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14267 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14268 	fi
   14269 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14270 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14271 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14272 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14273   $as_echo_n "(cached) " >&6
   14274 else
   14275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14276 /* end confdefs.h.  */
   14277 int i;
   14278 _ACEOF
   14279 if ac_fn_c_try_compile "$LINENO"; then :
   14280   xorg_cv_cc_flag_unused_command_line_argument=yes
   14281 else
   14282   xorg_cv_cc_flag_unused_command_line_argument=no
   14283 fi
   14284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14285 fi
   14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14287 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14288 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14289 	CFLAGS="$xorg_testset_save_CFLAGS"
   14290 fi
   14291 
   14292 found="no"
   14293 
   14294 	if test $found = "no" ; then
   14295 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14296 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14297 		fi
   14298 
   14299 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14300 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14301 		fi
   14302 
   14303 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14304 
   14305 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14306 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14307 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14308 		if eval \${$cacheid+:} false; then :
   14309   $as_echo_n "(cached) " >&6
   14310 else
   14311   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14312 /* end confdefs.h.  */
   14313 int i;
   14314 int
   14315 main ()
   14316 {
   14317 
   14318   ;
   14319   return 0;
   14320 }
   14321 _ACEOF
   14322 if ac_fn_c_try_link "$LINENO"; then :
   14323   eval $cacheid=yes
   14324 else
   14325   eval $cacheid=no
   14326 fi
   14327 rm -f core conftest.err conftest.$ac_objext \
   14328     conftest$ac_exeext conftest.$ac_ext
   14329 fi
   14330 
   14331 
   14332 		CFLAGS="$xorg_testset_save_CFLAGS"
   14333 
   14334 		eval supported=\$$cacheid
   14335 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14336 $as_echo "$supported" >&6; }
   14337 		if test "$supported" = "yes" ; then
   14338 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14339 			found="yes"
   14340 		fi
   14341 	fi
   14342 
   14343 
   14344 
   14345 
   14346 
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 xorg_testset_save_CFLAGS="$CFLAGS"
   14358 
   14359 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14360 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14361 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14362 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14363 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14364   $as_echo_n "(cached) " >&6
   14365 else
   14366   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14367 /* end confdefs.h.  */
   14368 int i;
   14369 _ACEOF
   14370 if ac_fn_c_try_compile "$LINENO"; then :
   14371   xorg_cv_cc_flag_unknown_warning_option=yes
   14372 else
   14373   xorg_cv_cc_flag_unknown_warning_option=no
   14374 fi
   14375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14376 fi
   14377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14378 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14379 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14380 	CFLAGS="$xorg_testset_save_CFLAGS"
   14381 fi
   14382 
   14383 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14384 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14385 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14386 	fi
   14387 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14388 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14389 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14390 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14391   $as_echo_n "(cached) " >&6
   14392 else
   14393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14394 /* end confdefs.h.  */
   14395 int i;
   14396 _ACEOF
   14397 if ac_fn_c_try_compile "$LINENO"; then :
   14398   xorg_cv_cc_flag_unused_command_line_argument=yes
   14399 else
   14400   xorg_cv_cc_flag_unused_command_line_argument=no
   14401 fi
   14402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14403 fi
   14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14405 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14406 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14407 	CFLAGS="$xorg_testset_save_CFLAGS"
   14408 fi
   14409 
   14410 found="no"
   14411 
   14412 	if test $found = "no" ; then
   14413 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14414 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14415 		fi
   14416 
   14417 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14418 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14419 		fi
   14420 
   14421 		CFLAGS="$CFLAGS -Wredundant-decls"
   14422 
   14423 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14424 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14425 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14426 		if eval \${$cacheid+:} false; then :
   14427   $as_echo_n "(cached) " >&6
   14428 else
   14429   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14430 /* end confdefs.h.  */
   14431 int i;
   14432 int
   14433 main ()
   14434 {
   14435 
   14436   ;
   14437   return 0;
   14438 }
   14439 _ACEOF
   14440 if ac_fn_c_try_link "$LINENO"; then :
   14441   eval $cacheid=yes
   14442 else
   14443   eval $cacheid=no
   14444 fi
   14445 rm -f core conftest.err conftest.$ac_objext \
   14446     conftest$ac_exeext conftest.$ac_ext
   14447 fi
   14448 
   14449 
   14450 		CFLAGS="$xorg_testset_save_CFLAGS"
   14451 
   14452 		eval supported=\$$cacheid
   14453 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14454 $as_echo "$supported" >&6; }
   14455 		if test "$supported" = "yes" ; then
   14456 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14457 			found="yes"
   14458 		fi
   14459 	fi
   14460 
   14461 
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 xorg_testset_save_CFLAGS="$CFLAGS"
   14476 
   14477 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14478 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14479 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14480 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14481 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14482   $as_echo_n "(cached) " >&6
   14483 else
   14484   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14485 /* end confdefs.h.  */
   14486 int i;
   14487 _ACEOF
   14488 if ac_fn_c_try_compile "$LINENO"; then :
   14489   xorg_cv_cc_flag_unknown_warning_option=yes
   14490 else
   14491   xorg_cv_cc_flag_unknown_warning_option=no
   14492 fi
   14493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14494 fi
   14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14496 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14497 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14498 	CFLAGS="$xorg_testset_save_CFLAGS"
   14499 fi
   14500 
   14501 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14502 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14503 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14504 	fi
   14505 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14506 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14507 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14508 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14509   $as_echo_n "(cached) " >&6
   14510 else
   14511   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14512 /* end confdefs.h.  */
   14513 int i;
   14514 _ACEOF
   14515 if ac_fn_c_try_compile "$LINENO"; then :
   14516   xorg_cv_cc_flag_unused_command_line_argument=yes
   14517 else
   14518   xorg_cv_cc_flag_unused_command_line_argument=no
   14519 fi
   14520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14521 fi
   14522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14523 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14524 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14525 	CFLAGS="$xorg_testset_save_CFLAGS"
   14526 fi
   14527 
   14528 found="no"
   14529 
   14530 	if test $found = "no" ; then
   14531 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14532 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14533 		fi
   14534 
   14535 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14536 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14537 		fi
   14538 
   14539 		CFLAGS="$CFLAGS -Wlogical-op"
   14540 
   14541 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14542 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14543 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14544 		if eval \${$cacheid+:} false; then :
   14545   $as_echo_n "(cached) " >&6
   14546 else
   14547   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14548 /* end confdefs.h.  */
   14549 int i;
   14550 int
   14551 main ()
   14552 {
   14553 
   14554   ;
   14555   return 0;
   14556 }
   14557 _ACEOF
   14558 if ac_fn_c_try_link "$LINENO"; then :
   14559   eval $cacheid=yes
   14560 else
   14561   eval $cacheid=no
   14562 fi
   14563 rm -f core conftest.err conftest.$ac_objext \
   14564     conftest$ac_exeext conftest.$ac_ext
   14565 fi
   14566 
   14567 
   14568 		CFLAGS="$xorg_testset_save_CFLAGS"
   14569 
   14570 		eval supported=\$$cacheid
   14571 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14572 $as_echo "$supported" >&6; }
   14573 		if test "$supported" = "yes" ; then
   14574 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14575 			found="yes"
   14576 		fi
   14577 	fi
   14578 
   14579 
   14580 
   14581 # These are currently disabled because they are noisy.  They will be enabled
   14582 # in the future once the codebase is sufficiently modernized to silence
   14583 # them.  For now, I don't want them to drown out the other warnings.
   14584 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14585 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14586 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14587 
   14588 # Turn some warnings into errors, so we don't accidently get successful builds
   14589 # when there are problems that should be fixed.
   14590 
   14591 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14592 
   14593 
   14594 
   14595 
   14596 
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 xorg_testset_save_CFLAGS="$CFLAGS"
   14606 
   14607 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14608 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14610 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14611 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14612   $as_echo_n "(cached) " >&6
   14613 else
   14614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14615 /* end confdefs.h.  */
   14616 int i;
   14617 _ACEOF
   14618 if ac_fn_c_try_compile "$LINENO"; then :
   14619   xorg_cv_cc_flag_unknown_warning_option=yes
   14620 else
   14621   xorg_cv_cc_flag_unknown_warning_option=no
   14622 fi
   14623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14624 fi
   14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14626 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14627 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14628 	CFLAGS="$xorg_testset_save_CFLAGS"
   14629 fi
   14630 
   14631 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14632 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14633 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14634 	fi
   14635 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14636 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14637 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14638 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14639   $as_echo_n "(cached) " >&6
   14640 else
   14641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14642 /* end confdefs.h.  */
   14643 int i;
   14644 _ACEOF
   14645 if ac_fn_c_try_compile "$LINENO"; then :
   14646   xorg_cv_cc_flag_unused_command_line_argument=yes
   14647 else
   14648   xorg_cv_cc_flag_unused_command_line_argument=no
   14649 fi
   14650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14651 fi
   14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14653 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14654 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14655 	CFLAGS="$xorg_testset_save_CFLAGS"
   14656 fi
   14657 
   14658 found="no"
   14659 
   14660 	if test $found = "no" ; then
   14661 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14662 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14663 		fi
   14664 
   14665 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14666 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14667 		fi
   14668 
   14669 		CFLAGS="$CFLAGS -Werror=implicit"
   14670 
   14671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14672 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14673 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14674 		if eval \${$cacheid+:} false; then :
   14675   $as_echo_n "(cached) " >&6
   14676 else
   14677   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14678 /* end confdefs.h.  */
   14679 int i;
   14680 int
   14681 main ()
   14682 {
   14683 
   14684   ;
   14685   return 0;
   14686 }
   14687 _ACEOF
   14688 if ac_fn_c_try_link "$LINENO"; then :
   14689   eval $cacheid=yes
   14690 else
   14691   eval $cacheid=no
   14692 fi
   14693 rm -f core conftest.err conftest.$ac_objext \
   14694     conftest$ac_exeext conftest.$ac_ext
   14695 fi
   14696 
   14697 
   14698 		CFLAGS="$xorg_testset_save_CFLAGS"
   14699 
   14700 		eval supported=\$$cacheid
   14701 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14702 $as_echo "$supported" >&6; }
   14703 		if test "$supported" = "yes" ; then
   14704 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14705 			found="yes"
   14706 		fi
   14707 	fi
   14708 
   14709 	if test $found = "no" ; then
   14710 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14711 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14712 		fi
   14713 
   14714 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14715 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14716 		fi
   14717 
   14718 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14719 
   14720 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14721 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14722 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14723 		if eval \${$cacheid+:} false; then :
   14724   $as_echo_n "(cached) " >&6
   14725 else
   14726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14727 /* end confdefs.h.  */
   14728 int i;
   14729 int
   14730 main ()
   14731 {
   14732 
   14733   ;
   14734   return 0;
   14735 }
   14736 _ACEOF
   14737 if ac_fn_c_try_link "$LINENO"; then :
   14738   eval $cacheid=yes
   14739 else
   14740   eval $cacheid=no
   14741 fi
   14742 rm -f core conftest.err conftest.$ac_objext \
   14743     conftest$ac_exeext conftest.$ac_ext
   14744 fi
   14745 
   14746 
   14747 		CFLAGS="$xorg_testset_save_CFLAGS"
   14748 
   14749 		eval supported=\$$cacheid
   14750 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14751 $as_echo "$supported" >&6; }
   14752 		if test "$supported" = "yes" ; then
   14753 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14754 			found="yes"
   14755 		fi
   14756 	fi
   14757 
   14758 
   14759 
   14760 
   14761 
   14762 
   14763 
   14764 
   14765 
   14766 
   14767 
   14768 
   14769 
   14770 
   14771 
   14772 xorg_testset_save_CFLAGS="$CFLAGS"
   14773 
   14774 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14775 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14776 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14777 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14778 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14779   $as_echo_n "(cached) " >&6
   14780 else
   14781   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14782 /* end confdefs.h.  */
   14783 int i;
   14784 _ACEOF
   14785 if ac_fn_c_try_compile "$LINENO"; then :
   14786   xorg_cv_cc_flag_unknown_warning_option=yes
   14787 else
   14788   xorg_cv_cc_flag_unknown_warning_option=no
   14789 fi
   14790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14791 fi
   14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14793 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14794 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14795 	CFLAGS="$xorg_testset_save_CFLAGS"
   14796 fi
   14797 
   14798 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14799 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14800 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14801 	fi
   14802 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14803 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14804 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14805 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   14814 else
   14815   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   14820 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14821 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14822 	CFLAGS="$xorg_testset_save_CFLAGS"
   14823 fi
   14824 
   14825 found="no"
   14826 
   14827 	if test $found = "no" ; then
   14828 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14829 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14830 		fi
   14831 
   14832 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14833 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14834 		fi
   14835 
   14836 		CFLAGS="$CFLAGS -Werror=nonnull"
   14837 
   14838 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14839 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14840 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14841 		if eval \${$cacheid+:} false; then :
   14842   $as_echo_n "(cached) " >&6
   14843 else
   14844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14845 /* end confdefs.h.  */
   14846 int i;
   14847 int
   14848 main ()
   14849 {
   14850 
   14851   ;
   14852   return 0;
   14853 }
   14854 _ACEOF
   14855 if ac_fn_c_try_link "$LINENO"; then :
   14856   eval $cacheid=yes
   14857 else
   14858   eval $cacheid=no
   14859 fi
   14860 rm -f core conftest.err conftest.$ac_objext \
   14861     conftest$ac_exeext conftest.$ac_ext
   14862 fi
   14863 
   14864 
   14865 		CFLAGS="$xorg_testset_save_CFLAGS"
   14866 
   14867 		eval supported=\$$cacheid
   14868 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14869 $as_echo "$supported" >&6; }
   14870 		if test "$supported" = "yes" ; then
   14871 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14872 			found="yes"
   14873 		fi
   14874 	fi
   14875 
   14876 
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 xorg_testset_save_CFLAGS="$CFLAGS"
   14891 
   14892 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14893 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14894 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14895 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14896 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14897   $as_echo_n "(cached) " >&6
   14898 else
   14899   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14900 /* end confdefs.h.  */
   14901 int i;
   14902 _ACEOF
   14903 if ac_fn_c_try_compile "$LINENO"; then :
   14904   xorg_cv_cc_flag_unknown_warning_option=yes
   14905 else
   14906   xorg_cv_cc_flag_unknown_warning_option=no
   14907 fi
   14908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14909 fi
   14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14911 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14912 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14913 	CFLAGS="$xorg_testset_save_CFLAGS"
   14914 fi
   14915 
   14916 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14917 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14918 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14919 	fi
   14920 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14921 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14922 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14923 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   14932 else
   14933   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   14938 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14939 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14940 	CFLAGS="$xorg_testset_save_CFLAGS"
   14941 fi
   14942 
   14943 found="no"
   14944 
   14945 	if test $found = "no" ; then
   14946 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14947 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14948 		fi
   14949 
   14950 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14951 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14952 		fi
   14953 
   14954 		CFLAGS="$CFLAGS -Werror=init-self"
   14955 
   14956 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   14957 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   14958 		cacheid=xorg_cv_cc_flag__Werror_init_self
   14959 		if eval \${$cacheid+:} false; then :
   14960   $as_echo_n "(cached) " >&6
   14961 else
   14962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14963 /* end confdefs.h.  */
   14964 int i;
   14965 int
   14966 main ()
   14967 {
   14968 
   14969   ;
   14970   return 0;
   14971 }
   14972 _ACEOF
   14973 if ac_fn_c_try_link "$LINENO"; then :
   14974   eval $cacheid=yes
   14975 else
   14976   eval $cacheid=no
   14977 fi
   14978 rm -f core conftest.err conftest.$ac_objext \
   14979     conftest$ac_exeext conftest.$ac_ext
   14980 fi
   14981 
   14982 
   14983 		CFLAGS="$xorg_testset_save_CFLAGS"
   14984 
   14985 		eval supported=\$$cacheid
   14986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14987 $as_echo "$supported" >&6; }
   14988 		if test "$supported" = "yes" ; then
   14989 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   14990 			found="yes"
   14991 		fi
   14992 	fi
   14993 
   14994 
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 xorg_testset_save_CFLAGS="$CFLAGS"
   15009 
   15010 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15011 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15012 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15013 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15014 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15015   $as_echo_n "(cached) " >&6
   15016 else
   15017   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15018 /* end confdefs.h.  */
   15019 int i;
   15020 _ACEOF
   15021 if ac_fn_c_try_compile "$LINENO"; then :
   15022   xorg_cv_cc_flag_unknown_warning_option=yes
   15023 else
   15024   xorg_cv_cc_flag_unknown_warning_option=no
   15025 fi
   15026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15027 fi
   15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15029 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15030 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15031 	CFLAGS="$xorg_testset_save_CFLAGS"
   15032 fi
   15033 
   15034 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15035 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15036 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15037 	fi
   15038 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15039 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15040 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15041 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   15050 else
   15051   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   15056 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15057 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15058 	CFLAGS="$xorg_testset_save_CFLAGS"
   15059 fi
   15060 
   15061 found="no"
   15062 
   15063 	if test $found = "no" ; then
   15064 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15065 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15066 		fi
   15067 
   15068 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15069 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15070 		fi
   15071 
   15072 		CFLAGS="$CFLAGS -Werror=main"
   15073 
   15074 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15075 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15076 		cacheid=xorg_cv_cc_flag__Werror_main
   15077 		if eval \${$cacheid+:} false; then :
   15078   $as_echo_n "(cached) " >&6
   15079 else
   15080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15081 /* end confdefs.h.  */
   15082 int i;
   15083 int
   15084 main ()
   15085 {
   15086 
   15087   ;
   15088   return 0;
   15089 }
   15090 _ACEOF
   15091 if ac_fn_c_try_link "$LINENO"; then :
   15092   eval $cacheid=yes
   15093 else
   15094   eval $cacheid=no
   15095 fi
   15096 rm -f core conftest.err conftest.$ac_objext \
   15097     conftest$ac_exeext conftest.$ac_ext
   15098 fi
   15099 
   15100 
   15101 		CFLAGS="$xorg_testset_save_CFLAGS"
   15102 
   15103 		eval supported=\$$cacheid
   15104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15105 $as_echo "$supported" >&6; }
   15106 		if test "$supported" = "yes" ; then
   15107 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15108 			found="yes"
   15109 		fi
   15110 	fi
   15111 
   15112 
   15113 
   15114 
   15115 
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 xorg_testset_save_CFLAGS="$CFLAGS"
   15127 
   15128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15133   $as_echo_n "(cached) " >&6
   15134 else
   15135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15136 /* end confdefs.h.  */
   15137 int i;
   15138 _ACEOF
   15139 if ac_fn_c_try_compile "$LINENO"; then :
   15140   xorg_cv_cc_flag_unknown_warning_option=yes
   15141 else
   15142   xorg_cv_cc_flag_unknown_warning_option=no
   15143 fi
   15144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15145 fi
   15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15149 	CFLAGS="$xorg_testset_save_CFLAGS"
   15150 fi
   15151 
   15152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15155 	fi
   15156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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_unused_command_line_argument=yes
   15168 else
   15169   xorg_cv_cc_flag_unused_command_line_argument=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_unused_command_line_argument" >&5
   15174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15176 	CFLAGS="$xorg_testset_save_CFLAGS"
   15177 fi
   15178 
   15179 found="no"
   15180 
   15181 	if test $found = "no" ; then
   15182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15184 		fi
   15185 
   15186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15188 		fi
   15189 
   15190 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15191 
   15192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15193 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15194 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15195 		if eval \${$cacheid+:} false; then :
   15196   $as_echo_n "(cached) " >&6
   15197 else
   15198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15199 /* end confdefs.h.  */
   15200 int i;
   15201 int
   15202 main ()
   15203 {
   15204 
   15205   ;
   15206   return 0;
   15207 }
   15208 _ACEOF
   15209 if ac_fn_c_try_link "$LINENO"; then :
   15210   eval $cacheid=yes
   15211 else
   15212   eval $cacheid=no
   15213 fi
   15214 rm -f core conftest.err conftest.$ac_objext \
   15215     conftest$ac_exeext conftest.$ac_ext
   15216 fi
   15217 
   15218 
   15219 		CFLAGS="$xorg_testset_save_CFLAGS"
   15220 
   15221 		eval supported=\$$cacheid
   15222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15223 $as_echo "$supported" >&6; }
   15224 		if test "$supported" = "yes" ; then
   15225 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15226 			found="yes"
   15227 		fi
   15228 	fi
   15229 
   15230 
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 xorg_testset_save_CFLAGS="$CFLAGS"
   15245 
   15246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15251   $as_echo_n "(cached) " >&6
   15252 else
   15253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15254 /* end confdefs.h.  */
   15255 int i;
   15256 _ACEOF
   15257 if ac_fn_c_try_compile "$LINENO"; then :
   15258   xorg_cv_cc_flag_unknown_warning_option=yes
   15259 else
   15260   xorg_cv_cc_flag_unknown_warning_option=no
   15261 fi
   15262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15263 fi
   15264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15267 	CFLAGS="$xorg_testset_save_CFLAGS"
   15268 fi
   15269 
   15270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15273 	fi
   15274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15278   $as_echo_n "(cached) " >&6
   15279 else
   15280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15281 /* end confdefs.h.  */
   15282 int i;
   15283 _ACEOF
   15284 if ac_fn_c_try_compile "$LINENO"; then :
   15285   xorg_cv_cc_flag_unused_command_line_argument=yes
   15286 else
   15287   xorg_cv_cc_flag_unused_command_line_argument=no
   15288 fi
   15289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15290 fi
   15291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15294 	CFLAGS="$xorg_testset_save_CFLAGS"
   15295 fi
   15296 
   15297 found="no"
   15298 
   15299 	if test $found = "no" ; then
   15300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15302 		fi
   15303 
   15304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15306 		fi
   15307 
   15308 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15309 
   15310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15311 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15312 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15313 		if eval \${$cacheid+:} false; then :
   15314   $as_echo_n "(cached) " >&6
   15315 else
   15316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15317 /* end confdefs.h.  */
   15318 int i;
   15319 int
   15320 main ()
   15321 {
   15322 
   15323   ;
   15324   return 0;
   15325 }
   15326 _ACEOF
   15327 if ac_fn_c_try_link "$LINENO"; then :
   15328   eval $cacheid=yes
   15329 else
   15330   eval $cacheid=no
   15331 fi
   15332 rm -f core conftest.err conftest.$ac_objext \
   15333     conftest$ac_exeext conftest.$ac_ext
   15334 fi
   15335 
   15336 
   15337 		CFLAGS="$xorg_testset_save_CFLAGS"
   15338 
   15339 		eval supported=\$$cacheid
   15340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15341 $as_echo "$supported" >&6; }
   15342 		if test "$supported" = "yes" ; then
   15343 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15344 			found="yes"
   15345 		fi
   15346 	fi
   15347 
   15348 
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 xorg_testset_save_CFLAGS="$CFLAGS"
   15363 
   15364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15367 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15368 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15369   $as_echo_n "(cached) " >&6
   15370 else
   15371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15372 /* end confdefs.h.  */
   15373 int i;
   15374 _ACEOF
   15375 if ac_fn_c_try_compile "$LINENO"; then :
   15376   xorg_cv_cc_flag_unknown_warning_option=yes
   15377 else
   15378   xorg_cv_cc_flag_unknown_warning_option=no
   15379 fi
   15380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15381 fi
   15382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15383 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15385 	CFLAGS="$xorg_testset_save_CFLAGS"
   15386 fi
   15387 
   15388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15391 	fi
   15392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15394 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15395 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15396   $as_echo_n "(cached) " >&6
   15397 else
   15398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15399 /* end confdefs.h.  */
   15400 int i;
   15401 _ACEOF
   15402 if ac_fn_c_try_compile "$LINENO"; then :
   15403   xorg_cv_cc_flag_unused_command_line_argument=yes
   15404 else
   15405   xorg_cv_cc_flag_unused_command_line_argument=no
   15406 fi
   15407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15408 fi
   15409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15410 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15412 	CFLAGS="$xorg_testset_save_CFLAGS"
   15413 fi
   15414 
   15415 found="no"
   15416 
   15417 	if test $found = "no" ; then
   15418 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15420 		fi
   15421 
   15422 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15424 		fi
   15425 
   15426 		CFLAGS="$CFLAGS -Werror=return-type"
   15427 
   15428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15429 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15430 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15431 		if eval \${$cacheid+:} false; then :
   15432   $as_echo_n "(cached) " >&6
   15433 else
   15434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15435 /* end confdefs.h.  */
   15436 int i;
   15437 int
   15438 main ()
   15439 {
   15440 
   15441   ;
   15442   return 0;
   15443 }
   15444 _ACEOF
   15445 if ac_fn_c_try_link "$LINENO"; then :
   15446   eval $cacheid=yes
   15447 else
   15448   eval $cacheid=no
   15449 fi
   15450 rm -f core conftest.err conftest.$ac_objext \
   15451     conftest$ac_exeext conftest.$ac_ext
   15452 fi
   15453 
   15454 
   15455 		CFLAGS="$xorg_testset_save_CFLAGS"
   15456 
   15457 		eval supported=\$$cacheid
   15458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15459 $as_echo "$supported" >&6; }
   15460 		if test "$supported" = "yes" ; then
   15461 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15462 			found="yes"
   15463 		fi
   15464 	fi
   15465 
   15466 	if test $found = "no" ; then
   15467 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15468 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15469 		fi
   15470 
   15471 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15472 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15473 		fi
   15474 
   15475 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15476 
   15477 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15478 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15479 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15480 		if eval \${$cacheid+:} false; then :
   15481   $as_echo_n "(cached) " >&6
   15482 else
   15483   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15484 /* end confdefs.h.  */
   15485 int i;
   15486 int
   15487 main ()
   15488 {
   15489 
   15490   ;
   15491   return 0;
   15492 }
   15493 _ACEOF
   15494 if ac_fn_c_try_link "$LINENO"; then :
   15495   eval $cacheid=yes
   15496 else
   15497   eval $cacheid=no
   15498 fi
   15499 rm -f core conftest.err conftest.$ac_objext \
   15500     conftest$ac_exeext conftest.$ac_ext
   15501 fi
   15502 
   15503 
   15504 		CFLAGS="$xorg_testset_save_CFLAGS"
   15505 
   15506 		eval supported=\$$cacheid
   15507 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15508 $as_echo "$supported" >&6; }
   15509 		if test "$supported" = "yes" ; then
   15510 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15511 			found="yes"
   15512 		fi
   15513 	fi
   15514 
   15515 
   15516 
   15517 
   15518 
   15519 
   15520 
   15521 
   15522 
   15523 
   15524 
   15525 
   15526 
   15527 
   15528 
   15529 xorg_testset_save_CFLAGS="$CFLAGS"
   15530 
   15531 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15532 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15533 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15534 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15535 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15536   $as_echo_n "(cached) " >&6
   15537 else
   15538   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15539 /* end confdefs.h.  */
   15540 int i;
   15541 _ACEOF
   15542 if ac_fn_c_try_compile "$LINENO"; then :
   15543   xorg_cv_cc_flag_unknown_warning_option=yes
   15544 else
   15545   xorg_cv_cc_flag_unknown_warning_option=no
   15546 fi
   15547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15548 fi
   15549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15550 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15551 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15552 	CFLAGS="$xorg_testset_save_CFLAGS"
   15553 fi
   15554 
   15555 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15556 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15557 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15558 	fi
   15559 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15560 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15561 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15562 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15563   $as_echo_n "(cached) " >&6
   15564 else
   15565   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15566 /* end confdefs.h.  */
   15567 int i;
   15568 _ACEOF
   15569 if ac_fn_c_try_compile "$LINENO"; then :
   15570   xorg_cv_cc_flag_unused_command_line_argument=yes
   15571 else
   15572   xorg_cv_cc_flag_unused_command_line_argument=no
   15573 fi
   15574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15575 fi
   15576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15577 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15578 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15579 	CFLAGS="$xorg_testset_save_CFLAGS"
   15580 fi
   15581 
   15582 found="no"
   15583 
   15584 	if test $found = "no" ; then
   15585 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15586 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15587 		fi
   15588 
   15589 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15590 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15591 		fi
   15592 
   15593 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15594 
   15595 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15596 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15597 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15598 		if eval \${$cacheid+:} false; then :
   15599   $as_echo_n "(cached) " >&6
   15600 else
   15601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15602 /* end confdefs.h.  */
   15603 int i;
   15604 int
   15605 main ()
   15606 {
   15607 
   15608   ;
   15609   return 0;
   15610 }
   15611 _ACEOF
   15612 if ac_fn_c_try_link "$LINENO"; then :
   15613   eval $cacheid=yes
   15614 else
   15615   eval $cacheid=no
   15616 fi
   15617 rm -f core conftest.err conftest.$ac_objext \
   15618     conftest$ac_exeext conftest.$ac_ext
   15619 fi
   15620 
   15621 
   15622 		CFLAGS="$xorg_testset_save_CFLAGS"
   15623 
   15624 		eval supported=\$$cacheid
   15625 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15626 $as_echo "$supported" >&6; }
   15627 		if test "$supported" = "yes" ; then
   15628 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15629 			found="yes"
   15630 		fi
   15631 	fi
   15632 
   15633 
   15634 
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 xorg_testset_save_CFLAGS="$CFLAGS"
   15648 
   15649 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15650 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15652 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15653 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15654   $as_echo_n "(cached) " >&6
   15655 else
   15656   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15657 /* end confdefs.h.  */
   15658 int i;
   15659 _ACEOF
   15660 if ac_fn_c_try_compile "$LINENO"; then :
   15661   xorg_cv_cc_flag_unknown_warning_option=yes
   15662 else
   15663   xorg_cv_cc_flag_unknown_warning_option=no
   15664 fi
   15665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15666 fi
   15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15668 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15669 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15670 	CFLAGS="$xorg_testset_save_CFLAGS"
   15671 fi
   15672 
   15673 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15674 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15675 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15676 	fi
   15677 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15678 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15679 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15680 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15681   $as_echo_n "(cached) " >&6
   15682 else
   15683   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15684 /* end confdefs.h.  */
   15685 int i;
   15686 _ACEOF
   15687 if ac_fn_c_try_compile "$LINENO"; then :
   15688   xorg_cv_cc_flag_unused_command_line_argument=yes
   15689 else
   15690   xorg_cv_cc_flag_unused_command_line_argument=no
   15691 fi
   15692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15693 fi
   15694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15695 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15696 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15697 	CFLAGS="$xorg_testset_save_CFLAGS"
   15698 fi
   15699 
   15700 found="no"
   15701 
   15702 	if test $found = "no" ; then
   15703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15705 		fi
   15706 
   15707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15709 		fi
   15710 
   15711 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15712 
   15713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15714 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15715 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15716 		if eval \${$cacheid+:} false; then :
   15717   $as_echo_n "(cached) " >&6
   15718 else
   15719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15720 /* end confdefs.h.  */
   15721 int i;
   15722 int
   15723 main ()
   15724 {
   15725 
   15726   ;
   15727   return 0;
   15728 }
   15729 _ACEOF
   15730 if ac_fn_c_try_link "$LINENO"; then :
   15731   eval $cacheid=yes
   15732 else
   15733   eval $cacheid=no
   15734 fi
   15735 rm -f core conftest.err conftest.$ac_objext \
   15736     conftest$ac_exeext conftest.$ac_ext
   15737 fi
   15738 
   15739 
   15740 		CFLAGS="$xorg_testset_save_CFLAGS"
   15741 
   15742 		eval supported=\$$cacheid
   15743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15744 $as_echo "$supported" >&6; }
   15745 		if test "$supported" = "yes" ; then
   15746 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15747 			found="yes"
   15748 		fi
   15749 	fi
   15750 
   15751 
   15752 
   15753 
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 xorg_testset_save_CFLAGS="$CFLAGS"
   15766 
   15767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15770 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15771 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15772   $as_echo_n "(cached) " >&6
   15773 else
   15774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15775 /* end confdefs.h.  */
   15776 int i;
   15777 _ACEOF
   15778 if ac_fn_c_try_compile "$LINENO"; then :
   15779   xorg_cv_cc_flag_unknown_warning_option=yes
   15780 else
   15781   xorg_cv_cc_flag_unknown_warning_option=no
   15782 fi
   15783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15784 fi
   15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15786 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15787 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15788 	CFLAGS="$xorg_testset_save_CFLAGS"
   15789 fi
   15790 
   15791 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15792 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15794 	fi
   15795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15797 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15798 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15799   $as_echo_n "(cached) " >&6
   15800 else
   15801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15802 /* end confdefs.h.  */
   15803 int i;
   15804 _ACEOF
   15805 if ac_fn_c_try_compile "$LINENO"; then :
   15806   xorg_cv_cc_flag_unused_command_line_argument=yes
   15807 else
   15808   xorg_cv_cc_flag_unused_command_line_argument=no
   15809 fi
   15810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15811 fi
   15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15813 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15815 	CFLAGS="$xorg_testset_save_CFLAGS"
   15816 fi
   15817 
   15818 found="no"
   15819 
   15820 	if test $found = "no" ; then
   15821 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15823 		fi
   15824 
   15825 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15827 		fi
   15828 
   15829 		CFLAGS="$CFLAGS -Werror=write-strings"
   15830 
   15831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15832 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15833 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15834 		if eval \${$cacheid+:} false; then :
   15835   $as_echo_n "(cached) " >&6
   15836 else
   15837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15838 /* end confdefs.h.  */
   15839 int i;
   15840 int
   15841 main ()
   15842 {
   15843 
   15844   ;
   15845   return 0;
   15846 }
   15847 _ACEOF
   15848 if ac_fn_c_try_link "$LINENO"; then :
   15849   eval $cacheid=yes
   15850 else
   15851   eval $cacheid=no
   15852 fi
   15853 rm -f core conftest.err conftest.$ac_objext \
   15854     conftest$ac_exeext conftest.$ac_ext
   15855 fi
   15856 
   15857 
   15858 		CFLAGS="$xorg_testset_save_CFLAGS"
   15859 
   15860 		eval supported=\$$cacheid
   15861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15862 $as_echo "$supported" >&6; }
   15863 		if test "$supported" = "yes" ; then
   15864 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15865 			found="yes"
   15866 		fi
   15867 	fi
   15868 
   15869 
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 
   15882 
   15883 xorg_testset_save_CFLAGS="$CFLAGS"
   15884 
   15885 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15886 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15888 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15889 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15890   $as_echo_n "(cached) " >&6
   15891 else
   15892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15893 /* end confdefs.h.  */
   15894 int i;
   15895 _ACEOF
   15896 if ac_fn_c_try_compile "$LINENO"; then :
   15897   xorg_cv_cc_flag_unknown_warning_option=yes
   15898 else
   15899   xorg_cv_cc_flag_unknown_warning_option=no
   15900 fi
   15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15902 fi
   15903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15904 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15905 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15906 	CFLAGS="$xorg_testset_save_CFLAGS"
   15907 fi
   15908 
   15909 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15910 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15911 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15912 	fi
   15913 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15914 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15915 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15916 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15917   $as_echo_n "(cached) " >&6
   15918 else
   15919   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15920 /* end confdefs.h.  */
   15921 int i;
   15922 _ACEOF
   15923 if ac_fn_c_try_compile "$LINENO"; then :
   15924   xorg_cv_cc_flag_unused_command_line_argument=yes
   15925 else
   15926   xorg_cv_cc_flag_unused_command_line_argument=no
   15927 fi
   15928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15929 fi
   15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15931 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15932 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15933 	CFLAGS="$xorg_testset_save_CFLAGS"
   15934 fi
   15935 
   15936 found="no"
   15937 
   15938 	if test $found = "no" ; then
   15939 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15940 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15941 		fi
   15942 
   15943 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15944 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15945 		fi
   15946 
   15947 		CFLAGS="$CFLAGS -Werror=address"
   15948 
   15949 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   15950 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   15951 		cacheid=xorg_cv_cc_flag__Werror_address
   15952 		if eval \${$cacheid+:} false; then :
   15953   $as_echo_n "(cached) " >&6
   15954 else
   15955   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15956 /* end confdefs.h.  */
   15957 int i;
   15958 int
   15959 main ()
   15960 {
   15961 
   15962   ;
   15963   return 0;
   15964 }
   15965 _ACEOF
   15966 if ac_fn_c_try_link "$LINENO"; then :
   15967   eval $cacheid=yes
   15968 else
   15969   eval $cacheid=no
   15970 fi
   15971 rm -f core conftest.err conftest.$ac_objext \
   15972     conftest$ac_exeext conftest.$ac_ext
   15973 fi
   15974 
   15975 
   15976 		CFLAGS="$xorg_testset_save_CFLAGS"
   15977 
   15978 		eval supported=\$$cacheid
   15979 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15980 $as_echo "$supported" >&6; }
   15981 		if test "$supported" = "yes" ; then
   15982 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   15983 			found="yes"
   15984 		fi
   15985 	fi
   15986 
   15987 
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 xorg_testset_save_CFLAGS="$CFLAGS"
   16002 
   16003 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16004 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16006 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16007 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16008   $as_echo_n "(cached) " >&6
   16009 else
   16010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16011 /* end confdefs.h.  */
   16012 int i;
   16013 _ACEOF
   16014 if ac_fn_c_try_compile "$LINENO"; then :
   16015   xorg_cv_cc_flag_unknown_warning_option=yes
   16016 else
   16017   xorg_cv_cc_flag_unknown_warning_option=no
   16018 fi
   16019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16020 fi
   16021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16022 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16023 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16024 	CFLAGS="$xorg_testset_save_CFLAGS"
   16025 fi
   16026 
   16027 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16028 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16029 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16030 	fi
   16031 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16032 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16033 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16034 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16035   $as_echo_n "(cached) " >&6
   16036 else
   16037   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16038 /* end confdefs.h.  */
   16039 int i;
   16040 _ACEOF
   16041 if ac_fn_c_try_compile "$LINENO"; then :
   16042   xorg_cv_cc_flag_unused_command_line_argument=yes
   16043 else
   16044   xorg_cv_cc_flag_unused_command_line_argument=no
   16045 fi
   16046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16047 fi
   16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16049 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16050 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16051 	CFLAGS="$xorg_testset_save_CFLAGS"
   16052 fi
   16053 
   16054 found="no"
   16055 
   16056 	if test $found = "no" ; then
   16057 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16058 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16059 		fi
   16060 
   16061 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16062 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16063 		fi
   16064 
   16065 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16066 
   16067 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16068 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16069 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16070 		if eval \${$cacheid+:} false; then :
   16071   $as_echo_n "(cached) " >&6
   16072 else
   16073   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16074 /* end confdefs.h.  */
   16075 int i;
   16076 int
   16077 main ()
   16078 {
   16079 
   16080   ;
   16081   return 0;
   16082 }
   16083 _ACEOF
   16084 if ac_fn_c_try_link "$LINENO"; then :
   16085   eval $cacheid=yes
   16086 else
   16087   eval $cacheid=no
   16088 fi
   16089 rm -f core conftest.err conftest.$ac_objext \
   16090     conftest$ac_exeext conftest.$ac_ext
   16091 fi
   16092 
   16093 
   16094 		CFLAGS="$xorg_testset_save_CFLAGS"
   16095 
   16096 		eval supported=\$$cacheid
   16097 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16098 $as_echo "$supported" >&6; }
   16099 		if test "$supported" = "yes" ; then
   16100 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16101 			found="yes"
   16102 		fi
   16103 	fi
   16104 
   16105 	if test $found = "no" ; then
   16106 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16107 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16108 		fi
   16109 
   16110 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16111 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16112 		fi
   16113 
   16114 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16115 
   16116 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16117 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16118 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16119 		if eval \${$cacheid+:} false; then :
   16120   $as_echo_n "(cached) " >&6
   16121 else
   16122   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16123 /* end confdefs.h.  */
   16124 int i;
   16125 int
   16126 main ()
   16127 {
   16128 
   16129   ;
   16130   return 0;
   16131 }
   16132 _ACEOF
   16133 if ac_fn_c_try_link "$LINENO"; then :
   16134   eval $cacheid=yes
   16135 else
   16136   eval $cacheid=no
   16137 fi
   16138 rm -f core conftest.err conftest.$ac_objext \
   16139     conftest$ac_exeext conftest.$ac_ext
   16140 fi
   16141 
   16142 
   16143 		CFLAGS="$xorg_testset_save_CFLAGS"
   16144 
   16145 		eval supported=\$$cacheid
   16146 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16147 $as_echo "$supported" >&6; }
   16148 		if test "$supported" = "yes" ; then
   16149 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16150 			found="yes"
   16151 		fi
   16152 	fi
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 xorg_testset_save_CFLAGS="$CFLAGS"
   16169 
   16170 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16171 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16172 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16173 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16174 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16175   $as_echo_n "(cached) " >&6
   16176 else
   16177   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16178 /* end confdefs.h.  */
   16179 int i;
   16180 _ACEOF
   16181 if ac_fn_c_try_compile "$LINENO"; then :
   16182   xorg_cv_cc_flag_unknown_warning_option=yes
   16183 else
   16184   xorg_cv_cc_flag_unknown_warning_option=no
   16185 fi
   16186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16187 fi
   16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16189 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16190 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16191 	CFLAGS="$xorg_testset_save_CFLAGS"
   16192 fi
   16193 
   16194 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16195 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16196 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16197 	fi
   16198 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16200 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16201 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16202   $as_echo_n "(cached) " >&6
   16203 else
   16204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16205 /* end confdefs.h.  */
   16206 int i;
   16207 _ACEOF
   16208 if ac_fn_c_try_compile "$LINENO"; then :
   16209   xorg_cv_cc_flag_unused_command_line_argument=yes
   16210 else
   16211   xorg_cv_cc_flag_unused_command_line_argument=no
   16212 fi
   16213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16214 fi
   16215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16216 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16217 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16218 	CFLAGS="$xorg_testset_save_CFLAGS"
   16219 fi
   16220 
   16221 found="no"
   16222 
   16223 	if test $found = "no" ; then
   16224 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16225 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16226 		fi
   16227 
   16228 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16229 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16230 		fi
   16231 
   16232 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16233 
   16234 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16235 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16236 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16237 		if eval \${$cacheid+:} false; then :
   16238   $as_echo_n "(cached) " >&6
   16239 else
   16240   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16241 /* end confdefs.h.  */
   16242 int i;
   16243 int
   16244 main ()
   16245 {
   16246 
   16247   ;
   16248   return 0;
   16249 }
   16250 _ACEOF
   16251 if ac_fn_c_try_link "$LINENO"; then :
   16252   eval $cacheid=yes
   16253 else
   16254   eval $cacheid=no
   16255 fi
   16256 rm -f core conftest.err conftest.$ac_objext \
   16257     conftest$ac_exeext conftest.$ac_ext
   16258 fi
   16259 
   16260 
   16261 		CFLAGS="$xorg_testset_save_CFLAGS"
   16262 
   16263 		eval supported=\$$cacheid
   16264 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16265 $as_echo "$supported" >&6; }
   16266 		if test "$supported" = "yes" ; then
   16267 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16268 			found="yes"
   16269 		fi
   16270 	fi
   16271 
   16272  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16273 else
   16274 { $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
   16275 $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;}
   16276 
   16277 
   16278 
   16279 
   16280 
   16281 
   16282 
   16283 
   16284 
   16285 
   16286 
   16287 
   16288 
   16289 xorg_testset_save_CFLAGS="$CFLAGS"
   16290 
   16291 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16292 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16293 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16294 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16295 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16296   $as_echo_n "(cached) " >&6
   16297 else
   16298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16299 /* end confdefs.h.  */
   16300 int i;
   16301 _ACEOF
   16302 if ac_fn_c_try_compile "$LINENO"; then :
   16303   xorg_cv_cc_flag_unknown_warning_option=yes
   16304 else
   16305   xorg_cv_cc_flag_unknown_warning_option=no
   16306 fi
   16307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16308 fi
   16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16310 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16311 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16312 	CFLAGS="$xorg_testset_save_CFLAGS"
   16313 fi
   16314 
   16315 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16316 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16317 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16318 	fi
   16319 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16320 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16321 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16322 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16323   $as_echo_n "(cached) " >&6
   16324 else
   16325   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16326 /* end confdefs.h.  */
   16327 int i;
   16328 _ACEOF
   16329 if ac_fn_c_try_compile "$LINENO"; then :
   16330   xorg_cv_cc_flag_unused_command_line_argument=yes
   16331 else
   16332   xorg_cv_cc_flag_unused_command_line_argument=no
   16333 fi
   16334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16335 fi
   16336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16337 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16338 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16339 	CFLAGS="$xorg_testset_save_CFLAGS"
   16340 fi
   16341 
   16342 found="no"
   16343 
   16344 	if test $found = "no" ; then
   16345 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16346 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16347 		fi
   16348 
   16349 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16350 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16351 		fi
   16352 
   16353 		CFLAGS="$CFLAGS -Wimplicit"
   16354 
   16355 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16356 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16357 		cacheid=xorg_cv_cc_flag__Wimplicit
   16358 		if eval \${$cacheid+:} false; then :
   16359   $as_echo_n "(cached) " >&6
   16360 else
   16361   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16362 /* end confdefs.h.  */
   16363 int i;
   16364 int
   16365 main ()
   16366 {
   16367 
   16368   ;
   16369   return 0;
   16370 }
   16371 _ACEOF
   16372 if ac_fn_c_try_link "$LINENO"; then :
   16373   eval $cacheid=yes
   16374 else
   16375   eval $cacheid=no
   16376 fi
   16377 rm -f core conftest.err conftest.$ac_objext \
   16378     conftest$ac_exeext conftest.$ac_ext
   16379 fi
   16380 
   16381 
   16382 		CFLAGS="$xorg_testset_save_CFLAGS"
   16383 
   16384 		eval supported=\$$cacheid
   16385 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16386 $as_echo "$supported" >&6; }
   16387 		if test "$supported" = "yes" ; then
   16388 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16389 			found="yes"
   16390 		fi
   16391 	fi
   16392 
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 xorg_testset_save_CFLAGS="$CFLAGS"
   16408 
   16409 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16410 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16411 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16412 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16413 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16414   $as_echo_n "(cached) " >&6
   16415 else
   16416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16417 /* end confdefs.h.  */
   16418 int i;
   16419 _ACEOF
   16420 if ac_fn_c_try_compile "$LINENO"; then :
   16421   xorg_cv_cc_flag_unknown_warning_option=yes
   16422 else
   16423   xorg_cv_cc_flag_unknown_warning_option=no
   16424 fi
   16425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16426 fi
   16427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16428 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16429 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16430 	CFLAGS="$xorg_testset_save_CFLAGS"
   16431 fi
   16432 
   16433 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16434 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16435 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16436 	fi
   16437 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16439 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16440 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16441   $as_echo_n "(cached) " >&6
   16442 else
   16443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16444 /* end confdefs.h.  */
   16445 int i;
   16446 _ACEOF
   16447 if ac_fn_c_try_compile "$LINENO"; then :
   16448   xorg_cv_cc_flag_unused_command_line_argument=yes
   16449 else
   16450   xorg_cv_cc_flag_unused_command_line_argument=no
   16451 fi
   16452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16453 fi
   16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16455 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16456 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16457 	CFLAGS="$xorg_testset_save_CFLAGS"
   16458 fi
   16459 
   16460 found="no"
   16461 
   16462 	if test $found = "no" ; then
   16463 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16464 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16465 		fi
   16466 
   16467 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16468 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16469 		fi
   16470 
   16471 		CFLAGS="$CFLAGS -Wnonnull"
   16472 
   16473 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16474 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16475 		cacheid=xorg_cv_cc_flag__Wnonnull
   16476 		if eval \${$cacheid+:} false; then :
   16477   $as_echo_n "(cached) " >&6
   16478 else
   16479   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16480 /* end confdefs.h.  */
   16481 int i;
   16482 int
   16483 main ()
   16484 {
   16485 
   16486   ;
   16487   return 0;
   16488 }
   16489 _ACEOF
   16490 if ac_fn_c_try_link "$LINENO"; then :
   16491   eval $cacheid=yes
   16492 else
   16493   eval $cacheid=no
   16494 fi
   16495 rm -f core conftest.err conftest.$ac_objext \
   16496     conftest$ac_exeext conftest.$ac_ext
   16497 fi
   16498 
   16499 
   16500 		CFLAGS="$xorg_testset_save_CFLAGS"
   16501 
   16502 		eval supported=\$$cacheid
   16503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16504 $as_echo "$supported" >&6; }
   16505 		if test "$supported" = "yes" ; then
   16506 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16507 			found="yes"
   16508 		fi
   16509 	fi
   16510 
   16511 
   16512 
   16513 
   16514 
   16515 
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 xorg_testset_save_CFLAGS="$CFLAGS"
   16526 
   16527 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16528 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16529 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16530 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16531 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16532   $as_echo_n "(cached) " >&6
   16533 else
   16534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16535 /* end confdefs.h.  */
   16536 int i;
   16537 _ACEOF
   16538 if ac_fn_c_try_compile "$LINENO"; then :
   16539   xorg_cv_cc_flag_unknown_warning_option=yes
   16540 else
   16541   xorg_cv_cc_flag_unknown_warning_option=no
   16542 fi
   16543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16544 fi
   16545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16546 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16547 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16548 	CFLAGS="$xorg_testset_save_CFLAGS"
   16549 fi
   16550 
   16551 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16552 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16553 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16554 	fi
   16555 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16556 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16557 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16558 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16559   $as_echo_n "(cached) " >&6
   16560 else
   16561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16562 /* end confdefs.h.  */
   16563 int i;
   16564 _ACEOF
   16565 if ac_fn_c_try_compile "$LINENO"; then :
   16566   xorg_cv_cc_flag_unused_command_line_argument=yes
   16567 else
   16568   xorg_cv_cc_flag_unused_command_line_argument=no
   16569 fi
   16570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16571 fi
   16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16573 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16574 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16575 	CFLAGS="$xorg_testset_save_CFLAGS"
   16576 fi
   16577 
   16578 found="no"
   16579 
   16580 	if test $found = "no" ; then
   16581 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16582 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16583 		fi
   16584 
   16585 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16586 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16587 		fi
   16588 
   16589 		CFLAGS="$CFLAGS -Winit-self"
   16590 
   16591 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16592 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16593 		cacheid=xorg_cv_cc_flag__Winit_self
   16594 		if eval \${$cacheid+:} false; then :
   16595   $as_echo_n "(cached) " >&6
   16596 else
   16597   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16598 /* end confdefs.h.  */
   16599 int i;
   16600 int
   16601 main ()
   16602 {
   16603 
   16604   ;
   16605   return 0;
   16606 }
   16607 _ACEOF
   16608 if ac_fn_c_try_link "$LINENO"; then :
   16609   eval $cacheid=yes
   16610 else
   16611   eval $cacheid=no
   16612 fi
   16613 rm -f core conftest.err conftest.$ac_objext \
   16614     conftest$ac_exeext conftest.$ac_ext
   16615 fi
   16616 
   16617 
   16618 		CFLAGS="$xorg_testset_save_CFLAGS"
   16619 
   16620 		eval supported=\$$cacheid
   16621 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16622 $as_echo "$supported" >&6; }
   16623 		if test "$supported" = "yes" ; then
   16624 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16625 			found="yes"
   16626 		fi
   16627 	fi
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 xorg_testset_save_CFLAGS="$CFLAGS"
   16644 
   16645 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16646 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16647 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16648 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16649 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16650   $as_echo_n "(cached) " >&6
   16651 else
   16652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16653 /* end confdefs.h.  */
   16654 int i;
   16655 _ACEOF
   16656 if ac_fn_c_try_compile "$LINENO"; then :
   16657   xorg_cv_cc_flag_unknown_warning_option=yes
   16658 else
   16659   xorg_cv_cc_flag_unknown_warning_option=no
   16660 fi
   16661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16662 fi
   16663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16664 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16665 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16666 	CFLAGS="$xorg_testset_save_CFLAGS"
   16667 fi
   16668 
   16669 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16670 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16671 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16672 	fi
   16673 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16675 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16676 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16677   $as_echo_n "(cached) " >&6
   16678 else
   16679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16680 /* end confdefs.h.  */
   16681 int i;
   16682 _ACEOF
   16683 if ac_fn_c_try_compile "$LINENO"; then :
   16684   xorg_cv_cc_flag_unused_command_line_argument=yes
   16685 else
   16686   xorg_cv_cc_flag_unused_command_line_argument=no
   16687 fi
   16688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16689 fi
   16690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16691 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16692 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16693 	CFLAGS="$xorg_testset_save_CFLAGS"
   16694 fi
   16695 
   16696 found="no"
   16697 
   16698 	if test $found = "no" ; then
   16699 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16700 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16701 		fi
   16702 
   16703 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16704 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16705 		fi
   16706 
   16707 		CFLAGS="$CFLAGS -Wmain"
   16708 
   16709 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16710 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16711 		cacheid=xorg_cv_cc_flag__Wmain
   16712 		if eval \${$cacheid+:} false; then :
   16713   $as_echo_n "(cached) " >&6
   16714 else
   16715   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16716 /* end confdefs.h.  */
   16717 int i;
   16718 int
   16719 main ()
   16720 {
   16721 
   16722   ;
   16723   return 0;
   16724 }
   16725 _ACEOF
   16726 if ac_fn_c_try_link "$LINENO"; then :
   16727   eval $cacheid=yes
   16728 else
   16729   eval $cacheid=no
   16730 fi
   16731 rm -f core conftest.err conftest.$ac_objext \
   16732     conftest$ac_exeext conftest.$ac_ext
   16733 fi
   16734 
   16735 
   16736 		CFLAGS="$xorg_testset_save_CFLAGS"
   16737 
   16738 		eval supported=\$$cacheid
   16739 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16740 $as_echo "$supported" >&6; }
   16741 		if test "$supported" = "yes" ; then
   16742 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16743 			found="yes"
   16744 		fi
   16745 	fi
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 xorg_testset_save_CFLAGS="$CFLAGS"
   16762 
   16763 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16764 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16765 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16766 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16767 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16768   $as_echo_n "(cached) " >&6
   16769 else
   16770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16771 /* end confdefs.h.  */
   16772 int i;
   16773 _ACEOF
   16774 if ac_fn_c_try_compile "$LINENO"; then :
   16775   xorg_cv_cc_flag_unknown_warning_option=yes
   16776 else
   16777   xorg_cv_cc_flag_unknown_warning_option=no
   16778 fi
   16779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16780 fi
   16781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16782 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16783 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16784 	CFLAGS="$xorg_testset_save_CFLAGS"
   16785 fi
   16786 
   16787 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16788 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16789 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16790 	fi
   16791 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16793 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16794 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16795   $as_echo_n "(cached) " >&6
   16796 else
   16797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16798 /* end confdefs.h.  */
   16799 int i;
   16800 _ACEOF
   16801 if ac_fn_c_try_compile "$LINENO"; then :
   16802   xorg_cv_cc_flag_unused_command_line_argument=yes
   16803 else
   16804   xorg_cv_cc_flag_unused_command_line_argument=no
   16805 fi
   16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16807 fi
   16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16809 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16810 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16811 	CFLAGS="$xorg_testset_save_CFLAGS"
   16812 fi
   16813 
   16814 found="no"
   16815 
   16816 	if test $found = "no" ; then
   16817 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16818 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16819 		fi
   16820 
   16821 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16822 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16823 		fi
   16824 
   16825 		CFLAGS="$CFLAGS -Wmissing-braces"
   16826 
   16827 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16828 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16829 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16830 		if eval \${$cacheid+:} false; then :
   16831   $as_echo_n "(cached) " >&6
   16832 else
   16833   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16834 /* end confdefs.h.  */
   16835 int i;
   16836 int
   16837 main ()
   16838 {
   16839 
   16840   ;
   16841   return 0;
   16842 }
   16843 _ACEOF
   16844 if ac_fn_c_try_link "$LINENO"; then :
   16845   eval $cacheid=yes
   16846 else
   16847   eval $cacheid=no
   16848 fi
   16849 rm -f core conftest.err conftest.$ac_objext \
   16850     conftest$ac_exeext conftest.$ac_ext
   16851 fi
   16852 
   16853 
   16854 		CFLAGS="$xorg_testset_save_CFLAGS"
   16855 
   16856 		eval supported=\$$cacheid
   16857 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16858 $as_echo "$supported" >&6; }
   16859 		if test "$supported" = "yes" ; then
   16860 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16861 			found="yes"
   16862 		fi
   16863 	fi
   16864 
   16865 
   16866 
   16867 
   16868 
   16869 
   16870 
   16871 
   16872 
   16873 
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 xorg_testset_save_CFLAGS="$CFLAGS"
   16880 
   16881 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16882 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16883 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16884 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16885 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16886   $as_echo_n "(cached) " >&6
   16887 else
   16888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16889 /* end confdefs.h.  */
   16890 int i;
   16891 _ACEOF
   16892 if ac_fn_c_try_compile "$LINENO"; then :
   16893   xorg_cv_cc_flag_unknown_warning_option=yes
   16894 else
   16895   xorg_cv_cc_flag_unknown_warning_option=no
   16896 fi
   16897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16898 fi
   16899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16900 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16901 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16902 	CFLAGS="$xorg_testset_save_CFLAGS"
   16903 fi
   16904 
   16905 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16906 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16907 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16908 	fi
   16909 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16911 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16912 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16913   $as_echo_n "(cached) " >&6
   16914 else
   16915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16916 /* end confdefs.h.  */
   16917 int i;
   16918 _ACEOF
   16919 if ac_fn_c_try_compile "$LINENO"; then :
   16920   xorg_cv_cc_flag_unused_command_line_argument=yes
   16921 else
   16922   xorg_cv_cc_flag_unused_command_line_argument=no
   16923 fi
   16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16925 fi
   16926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16927 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16928 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16929 	CFLAGS="$xorg_testset_save_CFLAGS"
   16930 fi
   16931 
   16932 found="no"
   16933 
   16934 	if test $found = "no" ; then
   16935 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16936 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16937 		fi
   16938 
   16939 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16940 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16941 		fi
   16942 
   16943 		CFLAGS="$CFLAGS -Wsequence-point"
   16944 
   16945 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   16946 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   16947 		cacheid=xorg_cv_cc_flag__Wsequence_point
   16948 		if eval \${$cacheid+:} false; then :
   16949   $as_echo_n "(cached) " >&6
   16950 else
   16951   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16952 /* end confdefs.h.  */
   16953 int i;
   16954 int
   16955 main ()
   16956 {
   16957 
   16958   ;
   16959   return 0;
   16960 }
   16961 _ACEOF
   16962 if ac_fn_c_try_link "$LINENO"; then :
   16963   eval $cacheid=yes
   16964 else
   16965   eval $cacheid=no
   16966 fi
   16967 rm -f core conftest.err conftest.$ac_objext \
   16968     conftest$ac_exeext conftest.$ac_ext
   16969 fi
   16970 
   16971 
   16972 		CFLAGS="$xorg_testset_save_CFLAGS"
   16973 
   16974 		eval supported=\$$cacheid
   16975 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16976 $as_echo "$supported" >&6; }
   16977 		if test "$supported" = "yes" ; then
   16978 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   16979 			found="yes"
   16980 		fi
   16981 	fi
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 xorg_testset_save_CFLAGS="$CFLAGS"
   16998 
   16999 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17000 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17001 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17002 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17003 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17004   $as_echo_n "(cached) " >&6
   17005 else
   17006   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17007 /* end confdefs.h.  */
   17008 int i;
   17009 _ACEOF
   17010 if ac_fn_c_try_compile "$LINENO"; then :
   17011   xorg_cv_cc_flag_unknown_warning_option=yes
   17012 else
   17013   xorg_cv_cc_flag_unknown_warning_option=no
   17014 fi
   17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17016 fi
   17017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17018 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17019 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17020 	CFLAGS="$xorg_testset_save_CFLAGS"
   17021 fi
   17022 
   17023 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17024 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17025 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17026 	fi
   17027 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17028 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17029 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17030 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17031   $as_echo_n "(cached) " >&6
   17032 else
   17033   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17034 /* end confdefs.h.  */
   17035 int i;
   17036 _ACEOF
   17037 if ac_fn_c_try_compile "$LINENO"; then :
   17038   xorg_cv_cc_flag_unused_command_line_argument=yes
   17039 else
   17040   xorg_cv_cc_flag_unused_command_line_argument=no
   17041 fi
   17042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17043 fi
   17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17045 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17046 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17047 	CFLAGS="$xorg_testset_save_CFLAGS"
   17048 fi
   17049 
   17050 found="no"
   17051 
   17052 	if test $found = "no" ; then
   17053 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17054 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17055 		fi
   17056 
   17057 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17058 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17059 		fi
   17060 
   17061 		CFLAGS="$CFLAGS -Wreturn-type"
   17062 
   17063 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17064 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17065 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17066 		if eval \${$cacheid+:} false; then :
   17067   $as_echo_n "(cached) " >&6
   17068 else
   17069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17070 /* end confdefs.h.  */
   17071 int i;
   17072 int
   17073 main ()
   17074 {
   17075 
   17076   ;
   17077   return 0;
   17078 }
   17079 _ACEOF
   17080 if ac_fn_c_try_link "$LINENO"; then :
   17081   eval $cacheid=yes
   17082 else
   17083   eval $cacheid=no
   17084 fi
   17085 rm -f core conftest.err conftest.$ac_objext \
   17086     conftest$ac_exeext conftest.$ac_ext
   17087 fi
   17088 
   17089 
   17090 		CFLAGS="$xorg_testset_save_CFLAGS"
   17091 
   17092 		eval supported=\$$cacheid
   17093 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17094 $as_echo "$supported" >&6; }
   17095 		if test "$supported" = "yes" ; then
   17096 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17097 			found="yes"
   17098 		fi
   17099 	fi
   17100 
   17101 
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 xorg_testset_save_CFLAGS="$CFLAGS"
   17116 
   17117 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17118 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17119 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17120 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17121 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17122   $as_echo_n "(cached) " >&6
   17123 else
   17124   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17125 /* end confdefs.h.  */
   17126 int i;
   17127 _ACEOF
   17128 if ac_fn_c_try_compile "$LINENO"; then :
   17129   xorg_cv_cc_flag_unknown_warning_option=yes
   17130 else
   17131   xorg_cv_cc_flag_unknown_warning_option=no
   17132 fi
   17133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17134 fi
   17135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17136 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17137 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17138 	CFLAGS="$xorg_testset_save_CFLAGS"
   17139 fi
   17140 
   17141 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17142 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17143 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17144 	fi
   17145 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17146 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17147 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17148 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17149   $as_echo_n "(cached) " >&6
   17150 else
   17151   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17152 /* end confdefs.h.  */
   17153 int i;
   17154 _ACEOF
   17155 if ac_fn_c_try_compile "$LINENO"; then :
   17156   xorg_cv_cc_flag_unused_command_line_argument=yes
   17157 else
   17158   xorg_cv_cc_flag_unused_command_line_argument=no
   17159 fi
   17160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17161 fi
   17162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17163 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17164 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17165 	CFLAGS="$xorg_testset_save_CFLAGS"
   17166 fi
   17167 
   17168 found="no"
   17169 
   17170 	if test $found = "no" ; then
   17171 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17172 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17173 		fi
   17174 
   17175 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17176 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17177 		fi
   17178 
   17179 		CFLAGS="$CFLAGS -Wtrigraphs"
   17180 
   17181 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17182 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17183 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17184 		if eval \${$cacheid+:} false; then :
   17185   $as_echo_n "(cached) " >&6
   17186 else
   17187   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17188 /* end confdefs.h.  */
   17189 int i;
   17190 int
   17191 main ()
   17192 {
   17193 
   17194   ;
   17195   return 0;
   17196 }
   17197 _ACEOF
   17198 if ac_fn_c_try_link "$LINENO"; then :
   17199   eval $cacheid=yes
   17200 else
   17201   eval $cacheid=no
   17202 fi
   17203 rm -f core conftest.err conftest.$ac_objext \
   17204     conftest$ac_exeext conftest.$ac_ext
   17205 fi
   17206 
   17207 
   17208 		CFLAGS="$xorg_testset_save_CFLAGS"
   17209 
   17210 		eval supported=\$$cacheid
   17211 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17212 $as_echo "$supported" >&6; }
   17213 		if test "$supported" = "yes" ; then
   17214 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17215 			found="yes"
   17216 		fi
   17217 	fi
   17218 
   17219 
   17220 
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 xorg_testset_save_CFLAGS="$CFLAGS"
   17234 
   17235 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17236 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17237 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17238 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17239 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17240   $as_echo_n "(cached) " >&6
   17241 else
   17242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17243 /* end confdefs.h.  */
   17244 int i;
   17245 _ACEOF
   17246 if ac_fn_c_try_compile "$LINENO"; then :
   17247   xorg_cv_cc_flag_unknown_warning_option=yes
   17248 else
   17249   xorg_cv_cc_flag_unknown_warning_option=no
   17250 fi
   17251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17252 fi
   17253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17254 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17255 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17256 	CFLAGS="$xorg_testset_save_CFLAGS"
   17257 fi
   17258 
   17259 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17260 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17261 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17262 	fi
   17263 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17264 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17265 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17266 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17267   $as_echo_n "(cached) " >&6
   17268 else
   17269   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17270 /* end confdefs.h.  */
   17271 int i;
   17272 _ACEOF
   17273 if ac_fn_c_try_compile "$LINENO"; then :
   17274   xorg_cv_cc_flag_unused_command_line_argument=yes
   17275 else
   17276   xorg_cv_cc_flag_unused_command_line_argument=no
   17277 fi
   17278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17279 fi
   17280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17281 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17282 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17283 	CFLAGS="$xorg_testset_save_CFLAGS"
   17284 fi
   17285 
   17286 found="no"
   17287 
   17288 	if test $found = "no" ; then
   17289 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17290 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17291 		fi
   17292 
   17293 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17294 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17295 		fi
   17296 
   17297 		CFLAGS="$CFLAGS -Warray-bounds"
   17298 
   17299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17300 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17301 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17302 		if eval \${$cacheid+:} 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 int
   17309 main ()
   17310 {
   17311 
   17312   ;
   17313   return 0;
   17314 }
   17315 _ACEOF
   17316 if ac_fn_c_try_link "$LINENO"; then :
   17317   eval $cacheid=yes
   17318 else
   17319   eval $cacheid=no
   17320 fi
   17321 rm -f core conftest.err conftest.$ac_objext \
   17322     conftest$ac_exeext conftest.$ac_ext
   17323 fi
   17324 
   17325 
   17326 		CFLAGS="$xorg_testset_save_CFLAGS"
   17327 
   17328 		eval supported=\$$cacheid
   17329 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17330 $as_echo "$supported" >&6; }
   17331 		if test "$supported" = "yes" ; then
   17332 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17333 			found="yes"
   17334 		fi
   17335 	fi
   17336 
   17337 
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 xorg_testset_save_CFLAGS="$CFLAGS"
   17352 
   17353 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17354 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17355 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17356 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17357 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17358   $as_echo_n "(cached) " >&6
   17359 else
   17360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17361 /* end confdefs.h.  */
   17362 int i;
   17363 _ACEOF
   17364 if ac_fn_c_try_compile "$LINENO"; then :
   17365   xorg_cv_cc_flag_unknown_warning_option=yes
   17366 else
   17367   xorg_cv_cc_flag_unknown_warning_option=no
   17368 fi
   17369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17370 fi
   17371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17372 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17373 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17374 	CFLAGS="$xorg_testset_save_CFLAGS"
   17375 fi
   17376 
   17377 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17378 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17379 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17380 	fi
   17381 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17382 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17383 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17384 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17385   $as_echo_n "(cached) " >&6
   17386 else
   17387   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17388 /* end confdefs.h.  */
   17389 int i;
   17390 _ACEOF
   17391 if ac_fn_c_try_compile "$LINENO"; then :
   17392   xorg_cv_cc_flag_unused_command_line_argument=yes
   17393 else
   17394   xorg_cv_cc_flag_unused_command_line_argument=no
   17395 fi
   17396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17397 fi
   17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17399 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17400 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17401 	CFLAGS="$xorg_testset_save_CFLAGS"
   17402 fi
   17403 
   17404 found="no"
   17405 
   17406 	if test $found = "no" ; then
   17407 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17408 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17409 		fi
   17410 
   17411 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17412 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17413 		fi
   17414 
   17415 		CFLAGS="$CFLAGS -Wwrite-strings"
   17416 
   17417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17418 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17419 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17420 		if eval \${$cacheid+:} false; then :
   17421   $as_echo_n "(cached) " >&6
   17422 else
   17423   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17424 /* end confdefs.h.  */
   17425 int i;
   17426 int
   17427 main ()
   17428 {
   17429 
   17430   ;
   17431   return 0;
   17432 }
   17433 _ACEOF
   17434 if ac_fn_c_try_link "$LINENO"; then :
   17435   eval $cacheid=yes
   17436 else
   17437   eval $cacheid=no
   17438 fi
   17439 rm -f core conftest.err conftest.$ac_objext \
   17440     conftest$ac_exeext conftest.$ac_ext
   17441 fi
   17442 
   17443 
   17444 		CFLAGS="$xorg_testset_save_CFLAGS"
   17445 
   17446 		eval supported=\$$cacheid
   17447 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17448 $as_echo "$supported" >&6; }
   17449 		if test "$supported" = "yes" ; then
   17450 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17451 			found="yes"
   17452 		fi
   17453 	fi
   17454 
   17455 
   17456 
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 xorg_testset_save_CFLAGS="$CFLAGS"
   17470 
   17471 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17472 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17474 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17475 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17476   $as_echo_n "(cached) " >&6
   17477 else
   17478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17479 /* end confdefs.h.  */
   17480 int i;
   17481 _ACEOF
   17482 if ac_fn_c_try_compile "$LINENO"; then :
   17483   xorg_cv_cc_flag_unknown_warning_option=yes
   17484 else
   17485   xorg_cv_cc_flag_unknown_warning_option=no
   17486 fi
   17487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17488 fi
   17489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17490 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17491 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17492 	CFLAGS="$xorg_testset_save_CFLAGS"
   17493 fi
   17494 
   17495 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17496 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17497 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17498 	fi
   17499 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17500 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17501 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17502 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17503   $as_echo_n "(cached) " >&6
   17504 else
   17505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17506 /* end confdefs.h.  */
   17507 int i;
   17508 _ACEOF
   17509 if ac_fn_c_try_compile "$LINENO"; then :
   17510   xorg_cv_cc_flag_unused_command_line_argument=yes
   17511 else
   17512   xorg_cv_cc_flag_unused_command_line_argument=no
   17513 fi
   17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17515 fi
   17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17517 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17518 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17519 	CFLAGS="$xorg_testset_save_CFLAGS"
   17520 fi
   17521 
   17522 found="no"
   17523 
   17524 	if test $found = "no" ; then
   17525 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17526 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17527 		fi
   17528 
   17529 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17530 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17531 		fi
   17532 
   17533 		CFLAGS="$CFLAGS -Waddress"
   17534 
   17535 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17536 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17537 		cacheid=xorg_cv_cc_flag__Waddress
   17538 		if eval \${$cacheid+:} false; then :
   17539   $as_echo_n "(cached) " >&6
   17540 else
   17541   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17542 /* end confdefs.h.  */
   17543 int i;
   17544 int
   17545 main ()
   17546 {
   17547 
   17548   ;
   17549   return 0;
   17550 }
   17551 _ACEOF
   17552 if ac_fn_c_try_link "$LINENO"; then :
   17553   eval $cacheid=yes
   17554 else
   17555   eval $cacheid=no
   17556 fi
   17557 rm -f core conftest.err conftest.$ac_objext \
   17558     conftest$ac_exeext conftest.$ac_ext
   17559 fi
   17560 
   17561 
   17562 		CFLAGS="$xorg_testset_save_CFLAGS"
   17563 
   17564 		eval supported=\$$cacheid
   17565 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17566 $as_echo "$supported" >&6; }
   17567 		if test "$supported" = "yes" ; then
   17568 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17569 			found="yes"
   17570 		fi
   17571 	fi
   17572 
   17573 
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 xorg_testset_save_CFLAGS="$CFLAGS"
   17588 
   17589 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17590 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17592 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17593 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17594   $as_echo_n "(cached) " >&6
   17595 else
   17596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17597 /* end confdefs.h.  */
   17598 int i;
   17599 _ACEOF
   17600 if ac_fn_c_try_compile "$LINENO"; then :
   17601   xorg_cv_cc_flag_unknown_warning_option=yes
   17602 else
   17603   xorg_cv_cc_flag_unknown_warning_option=no
   17604 fi
   17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17606 fi
   17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17608 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17609 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17610 	CFLAGS="$xorg_testset_save_CFLAGS"
   17611 fi
   17612 
   17613 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17614 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17615 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17616 	fi
   17617 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17618 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17619 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17620 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17621   $as_echo_n "(cached) " >&6
   17622 else
   17623   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17624 /* end confdefs.h.  */
   17625 int i;
   17626 _ACEOF
   17627 if ac_fn_c_try_compile "$LINENO"; then :
   17628   xorg_cv_cc_flag_unused_command_line_argument=yes
   17629 else
   17630   xorg_cv_cc_flag_unused_command_line_argument=no
   17631 fi
   17632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17633 fi
   17634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17635 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17636 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17637 	CFLAGS="$xorg_testset_save_CFLAGS"
   17638 fi
   17639 
   17640 found="no"
   17641 
   17642 	if test $found = "no" ; then
   17643 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17644 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17645 		fi
   17646 
   17647 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17648 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17649 		fi
   17650 
   17651 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17652 
   17653 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17654 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17655 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17656 		if eval \${$cacheid+:} false; then :
   17657   $as_echo_n "(cached) " >&6
   17658 else
   17659   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17660 /* end confdefs.h.  */
   17661 int i;
   17662 int
   17663 main ()
   17664 {
   17665 
   17666   ;
   17667   return 0;
   17668 }
   17669 _ACEOF
   17670 if ac_fn_c_try_link "$LINENO"; then :
   17671   eval $cacheid=yes
   17672 else
   17673   eval $cacheid=no
   17674 fi
   17675 rm -f core conftest.err conftest.$ac_objext \
   17676     conftest$ac_exeext conftest.$ac_ext
   17677 fi
   17678 
   17679 
   17680 		CFLAGS="$xorg_testset_save_CFLAGS"
   17681 
   17682 		eval supported=\$$cacheid
   17683 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17684 $as_echo "$supported" >&6; }
   17685 		if test "$supported" = "yes" ; then
   17686 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17687 			found="yes"
   17688 		fi
   17689 	fi
   17690 
   17691 
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 xorg_testset_save_CFLAGS="$CFLAGS"
   17706 
   17707 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17708 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17710 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17711 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17712   $as_echo_n "(cached) " >&6
   17713 else
   17714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17715 /* end confdefs.h.  */
   17716 int i;
   17717 _ACEOF
   17718 if ac_fn_c_try_compile "$LINENO"; then :
   17719   xorg_cv_cc_flag_unknown_warning_option=yes
   17720 else
   17721   xorg_cv_cc_flag_unknown_warning_option=no
   17722 fi
   17723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17724 fi
   17725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17726 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17727 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17728 	CFLAGS="$xorg_testset_save_CFLAGS"
   17729 fi
   17730 
   17731 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17732 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17733 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17734 	fi
   17735 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17736 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17737 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17738 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17739   $as_echo_n "(cached) " >&6
   17740 else
   17741   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17742 /* end confdefs.h.  */
   17743 int i;
   17744 _ACEOF
   17745 if ac_fn_c_try_compile "$LINENO"; then :
   17746   xorg_cv_cc_flag_unused_command_line_argument=yes
   17747 else
   17748   xorg_cv_cc_flag_unused_command_line_argument=no
   17749 fi
   17750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17751 fi
   17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17753 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17754 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17755 	CFLAGS="$xorg_testset_save_CFLAGS"
   17756 fi
   17757 
   17758 found="no"
   17759 
   17760 	if test $found = "no" ; then
   17761 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17762 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17763 		fi
   17764 
   17765 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17766 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17767 		fi
   17768 
   17769 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17770 
   17771 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17772 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17773 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17774 		if eval \${$cacheid+:} false; then :
   17775   $as_echo_n "(cached) " >&6
   17776 else
   17777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17778 /* end confdefs.h.  */
   17779 int i;
   17780 int
   17781 main ()
   17782 {
   17783 
   17784   ;
   17785   return 0;
   17786 }
   17787 _ACEOF
   17788 if ac_fn_c_try_link "$LINENO"; then :
   17789   eval $cacheid=yes
   17790 else
   17791   eval $cacheid=no
   17792 fi
   17793 rm -f core conftest.err conftest.$ac_objext \
   17794     conftest$ac_exeext conftest.$ac_ext
   17795 fi
   17796 
   17797 
   17798 		CFLAGS="$xorg_testset_save_CFLAGS"
   17799 
   17800 		eval supported=\$$cacheid
   17801 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17802 $as_echo "$supported" >&6; }
   17803 		if test "$supported" = "yes" ; then
   17804 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17805 			found="yes"
   17806 		fi
   17807 	fi
   17808 
   17809 
   17810 fi
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 		CWARNFLAGS="$BASE_CFLAGS"
   17819 		if  test "x$GCC" = xyes ; then
   17820 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17821 		fi
   17822 
   17823 
   17824 
   17825 
   17826 
   17827 
   17828 
   17829 
   17830 # Check whether --enable-strict-compilation was given.
   17831 if test "${enable_strict_compilation+set}" = set; then :
   17832   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17833 else
   17834   STRICT_COMPILE=no
   17835 fi
   17836 
   17837 
   17838 
   17839 
   17840 
   17841 
   17842 STRICT_CFLAGS=""
   17843 
   17844 
   17845 
   17846 
   17847 
   17848 
   17849 
   17850 
   17851 
   17852 
   17853 
   17854 
   17855 
   17856 xorg_testset_save_CFLAGS="$CFLAGS"
   17857 
   17858 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17859 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17860 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17861 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17862 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17863   $as_echo_n "(cached) " >&6
   17864 else
   17865   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17866 /* end confdefs.h.  */
   17867 int i;
   17868 _ACEOF
   17869 if ac_fn_c_try_compile "$LINENO"; then :
   17870   xorg_cv_cc_flag_unknown_warning_option=yes
   17871 else
   17872   xorg_cv_cc_flag_unknown_warning_option=no
   17873 fi
   17874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17875 fi
   17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17877 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17878 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17879 	CFLAGS="$xorg_testset_save_CFLAGS"
   17880 fi
   17881 
   17882 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17883 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17884 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17885 	fi
   17886 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17887 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17888 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17889 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17890   $as_echo_n "(cached) " >&6
   17891 else
   17892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17893 /* end confdefs.h.  */
   17894 int i;
   17895 _ACEOF
   17896 if ac_fn_c_try_compile "$LINENO"; then :
   17897   xorg_cv_cc_flag_unused_command_line_argument=yes
   17898 else
   17899   xorg_cv_cc_flag_unused_command_line_argument=no
   17900 fi
   17901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17902 fi
   17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17904 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17905 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17906 	CFLAGS="$xorg_testset_save_CFLAGS"
   17907 fi
   17908 
   17909 found="no"
   17910 
   17911 	if test $found = "no" ; then
   17912 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17913 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17914 		fi
   17915 
   17916 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17917 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17918 		fi
   17919 
   17920 		CFLAGS="$CFLAGS -pedantic"
   17921 
   17922 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   17923 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   17924 		cacheid=xorg_cv_cc_flag__pedantic
   17925 		if eval \${$cacheid+:} false; then :
   17926   $as_echo_n "(cached) " >&6
   17927 else
   17928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17929 /* end confdefs.h.  */
   17930 int i;
   17931 int
   17932 main ()
   17933 {
   17934 
   17935   ;
   17936   return 0;
   17937 }
   17938 _ACEOF
   17939 if ac_fn_c_try_link "$LINENO"; then :
   17940   eval $cacheid=yes
   17941 else
   17942   eval $cacheid=no
   17943 fi
   17944 rm -f core conftest.err conftest.$ac_objext \
   17945     conftest$ac_exeext conftest.$ac_ext
   17946 fi
   17947 
   17948 
   17949 		CFLAGS="$xorg_testset_save_CFLAGS"
   17950 
   17951 		eval supported=\$$cacheid
   17952 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17953 $as_echo "$supported" >&6; }
   17954 		if test "$supported" = "yes" ; then
   17955 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   17956 			found="yes"
   17957 		fi
   17958 	fi
   17959 
   17960 
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 xorg_testset_save_CFLAGS="$CFLAGS"
   17975 
   17976 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17977 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17978 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17979 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17980 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17981   $as_echo_n "(cached) " >&6
   17982 else
   17983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17984 /* end confdefs.h.  */
   17985 int i;
   17986 _ACEOF
   17987 if ac_fn_c_try_compile "$LINENO"; then :
   17988   xorg_cv_cc_flag_unknown_warning_option=yes
   17989 else
   17990   xorg_cv_cc_flag_unknown_warning_option=no
   17991 fi
   17992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17993 fi
   17994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17995 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17996 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17997 	CFLAGS="$xorg_testset_save_CFLAGS"
   17998 fi
   17999 
   18000 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18001 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18002 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18003 	fi
   18004 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18005 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18006 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18007 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18008   $as_echo_n "(cached) " >&6
   18009 else
   18010   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18011 /* end confdefs.h.  */
   18012 int i;
   18013 _ACEOF
   18014 if ac_fn_c_try_compile "$LINENO"; then :
   18015   xorg_cv_cc_flag_unused_command_line_argument=yes
   18016 else
   18017   xorg_cv_cc_flag_unused_command_line_argument=no
   18018 fi
   18019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18020 fi
   18021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18022 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18023 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18024 	CFLAGS="$xorg_testset_save_CFLAGS"
   18025 fi
   18026 
   18027 found="no"
   18028 
   18029 	if test $found = "no" ; then
   18030 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18031 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18032 		fi
   18033 
   18034 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18035 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18036 		fi
   18037 
   18038 		CFLAGS="$CFLAGS -Werror"
   18039 
   18040 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18041 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   18042 		cacheid=xorg_cv_cc_flag__Werror
   18043 		if eval \${$cacheid+:} false; then :
   18044   $as_echo_n "(cached) " >&6
   18045 else
   18046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18047 /* end confdefs.h.  */
   18048 int i;
   18049 int
   18050 main ()
   18051 {
   18052 
   18053   ;
   18054   return 0;
   18055 }
   18056 _ACEOF
   18057 if ac_fn_c_try_link "$LINENO"; then :
   18058   eval $cacheid=yes
   18059 else
   18060   eval $cacheid=no
   18061 fi
   18062 rm -f core conftest.err conftest.$ac_objext \
   18063     conftest$ac_exeext conftest.$ac_ext
   18064 fi
   18065 
   18066 
   18067 		CFLAGS="$xorg_testset_save_CFLAGS"
   18068 
   18069 		eval supported=\$$cacheid
   18070 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18071 $as_echo "$supported" >&6; }
   18072 		if test "$supported" = "yes" ; then
   18073 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18074 			found="yes"
   18075 		fi
   18076 	fi
   18077 
   18078 	if test $found = "no" ; then
   18079 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18080 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18081 		fi
   18082 
   18083 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18084 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18085 		fi
   18086 
   18087 		CFLAGS="$CFLAGS -errwarn"
   18088 
   18089 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18090 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18091 		cacheid=xorg_cv_cc_flag__errwarn
   18092 		if eval \${$cacheid+:} false; then :
   18093   $as_echo_n "(cached) " >&6
   18094 else
   18095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18096 /* end confdefs.h.  */
   18097 int i;
   18098 int
   18099 main ()
   18100 {
   18101 
   18102   ;
   18103   return 0;
   18104 }
   18105 _ACEOF
   18106 if ac_fn_c_try_link "$LINENO"; then :
   18107   eval $cacheid=yes
   18108 else
   18109   eval $cacheid=no
   18110 fi
   18111 rm -f core conftest.err conftest.$ac_objext \
   18112     conftest$ac_exeext conftest.$ac_ext
   18113 fi
   18114 
   18115 
   18116 		CFLAGS="$xorg_testset_save_CFLAGS"
   18117 
   18118 		eval supported=\$$cacheid
   18119 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18120 $as_echo "$supported" >&6; }
   18121 		if test "$supported" = "yes" ; then
   18122 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18123 			found="yes"
   18124 		fi
   18125 	fi
   18126 
   18127 
   18128 
   18129 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18130 # activate it with -Werror, so we add it here explicitly.
   18131 
   18132 
   18133 
   18134 
   18135 
   18136 
   18137 
   18138 
   18139 
   18140 
   18141 
   18142 
   18143 
   18144 xorg_testset_save_CFLAGS="$CFLAGS"
   18145 
   18146 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18147 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18149 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18150 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18151   $as_echo_n "(cached) " >&6
   18152 else
   18153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18154 /* end confdefs.h.  */
   18155 int i;
   18156 _ACEOF
   18157 if ac_fn_c_try_compile "$LINENO"; then :
   18158   xorg_cv_cc_flag_unknown_warning_option=yes
   18159 else
   18160   xorg_cv_cc_flag_unknown_warning_option=no
   18161 fi
   18162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18163 fi
   18164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18165 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18166 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18167 	CFLAGS="$xorg_testset_save_CFLAGS"
   18168 fi
   18169 
   18170 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18171 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18172 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18173 	fi
   18174 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18175 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18176 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18177 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18178   $as_echo_n "(cached) " >&6
   18179 else
   18180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18181 /* end confdefs.h.  */
   18182 int i;
   18183 _ACEOF
   18184 if ac_fn_c_try_compile "$LINENO"; then :
   18185   xorg_cv_cc_flag_unused_command_line_argument=yes
   18186 else
   18187   xorg_cv_cc_flag_unused_command_line_argument=no
   18188 fi
   18189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18190 fi
   18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18192 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18193 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18194 	CFLAGS="$xorg_testset_save_CFLAGS"
   18195 fi
   18196 
   18197 found="no"
   18198 
   18199 	if test $found = "no" ; then
   18200 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18201 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18202 		fi
   18203 
   18204 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18205 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18206 		fi
   18207 
   18208 		CFLAGS="$CFLAGS -Werror=attributes"
   18209 
   18210 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18211 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18212 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18213 		if eval \${$cacheid+:} false; then :
   18214   $as_echo_n "(cached) " >&6
   18215 else
   18216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18217 /* end confdefs.h.  */
   18218 int i;
   18219 int
   18220 main ()
   18221 {
   18222 
   18223   ;
   18224   return 0;
   18225 }
   18226 _ACEOF
   18227 if ac_fn_c_try_link "$LINENO"; then :
   18228   eval $cacheid=yes
   18229 else
   18230   eval $cacheid=no
   18231 fi
   18232 rm -f core conftest.err conftest.$ac_objext \
   18233     conftest$ac_exeext conftest.$ac_ext
   18234 fi
   18235 
   18236 
   18237 		CFLAGS="$xorg_testset_save_CFLAGS"
   18238 
   18239 		eval supported=\$$cacheid
   18240 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18241 $as_echo "$supported" >&6; }
   18242 		if test "$supported" = "yes" ; then
   18243 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18244 			found="yes"
   18245 		fi
   18246 	fi
   18247 
   18248 
   18249 
   18250 if test "x$STRICT_COMPILE" = "xyes"; then
   18251     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18252     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18253 fi
   18254 
   18255 
   18256 
   18257 
   18258 
   18259 
   18260 cat >>confdefs.h <<_ACEOF
   18261 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18262 _ACEOF
   18263 
   18264 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18265 	if test "x$PVM" = "x"; then
   18266 		PVM="0"
   18267 	fi
   18268 
   18269 cat >>confdefs.h <<_ACEOF
   18270 #define PACKAGE_VERSION_MINOR $PVM
   18271 _ACEOF
   18272 
   18273 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18274 	if test "x$PVP" = "x"; then
   18275 		PVP="0"
   18276 	fi
   18277 
   18278 cat >>confdefs.h <<_ACEOF
   18279 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18280 _ACEOF
   18281 
   18282 
   18283 
   18284 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   18285 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18286 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   18287 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   18288 
   18289 
   18290 
   18291 
   18292 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18293 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18294 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18295 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   18296 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   18297 
   18298 
   18299 
   18300 
   18301 
   18302 
   18303 if test x$APP_MAN_SUFFIX = x    ; then
   18304     APP_MAN_SUFFIX=1
   18305 fi
   18306 if test x$APP_MAN_DIR = x    ; then
   18307     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18308 fi
   18309 
   18310 if test x$LIB_MAN_SUFFIX = x    ; then
   18311     LIB_MAN_SUFFIX=3
   18312 fi
   18313 if test x$LIB_MAN_DIR = x    ; then
   18314     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18315 fi
   18316 
   18317 if test x$FILE_MAN_SUFFIX = x    ; then
   18318     case $host_os in
   18319 	# Solaris 2.0 - 11 use SysV man page sections
   18320 	solaris2.?|solaris2.1[01])	FILE_MAN_SUFFIX=4  ;;
   18321 	*)				FILE_MAN_SUFFIX=5  ;;
   18322     esac
   18323 fi
   18324 if test x$FILE_MAN_DIR = x    ; then
   18325     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18326 fi
   18327 
   18328 if test x$MISC_MAN_SUFFIX = x    ; then
   18329     case $host_os in
   18330 	# Solaris 2.0 - 11 use SysV man page sections
   18331 	solaris2.?|solaris2.1[01])	MISC_MAN_SUFFIX=5  ;;
   18332 	*)				MISC_MAN_SUFFIX=7  ;;
   18333     esac
   18334 fi
   18335 if test x$MISC_MAN_DIR = x    ; then
   18336     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18337 fi
   18338 
   18339 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18340     case $host_os in
   18341 	# Solaris 2.0 - 11 use SysV man page sections
   18342 	solaris2.?|solaris2.1[01])	DRIVER_MAN_SUFFIX=7  ;;
   18343 	*)				DRIVER_MAN_SUFFIX=4  ;;
   18344     esac
   18345 fi
   18346 if test x$DRIVER_MAN_DIR = x    ; then
   18347     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18348 fi
   18349 
   18350 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18351     case $host_os in
   18352 	# Solaris 2.0 - 11 use SysV man page sections
   18353 	solaris2.?|solaris2.1[01])	ADMIN_MAN_SUFFIX=1m ;;
   18354 	*)				ADMIN_MAN_SUFFIX=8  ;;
   18355     esac
   18356 fi
   18357 if test x$ADMIN_MAN_DIR = x    ; then
   18358     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18359 fi
   18360 
   18361 
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 
   18370 
   18371 
   18372 
   18373 
   18374 
   18375 XORG_MAN_PAGE="X Version 11"
   18376 
   18377 MAN_SUBSTS="\
   18378 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18379 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18380 	-e 's|__xservername__|Xorg|g' \
   18381 	-e 's|__xconfigfile__|xorg.conf|g' \
   18382 	-e 's|__xorgconfdir__|xorg.conf.d|g' \
   18383 	-e 's|__projectroot__|\$(prefix)|g' \
   18384 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18385 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18386 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18387 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18388 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18389 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18390 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18391 
   18392 
   18393 
   18394 # Check whether --enable-silent-rules was given.
   18395 if test "${enable_silent_rules+set}" = set; then :
   18396   enableval=$enable_silent_rules;
   18397 fi
   18398 
   18399 case $enable_silent_rules in # (((
   18400   yes) AM_DEFAULT_VERBOSITY=0;;
   18401    no) AM_DEFAULT_VERBOSITY=1;;
   18402     *) AM_DEFAULT_VERBOSITY=0;;
   18403 esac
   18404 am_make=${MAKE-make}
   18405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18406 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18407 if ${am_cv_make_support_nested_variables+:} false; then :
   18408   $as_echo_n "(cached) " >&6
   18409 else
   18410   if $as_echo 'TRUE=$(BAR$(V))
   18411 BAR0=false
   18412 BAR1=true
   18413 V=1
   18414 am__doit:
   18415 	@$(TRUE)
   18416 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18417   am_cv_make_support_nested_variables=yes
   18418 else
   18419   am_cv_make_support_nested_variables=no
   18420 fi
   18421 fi
   18422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18423 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18424 if test $am_cv_make_support_nested_variables = yes; then
   18425     AM_V='$(V)'
   18426   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18427 else
   18428   AM_V=$AM_DEFAULT_VERBOSITY
   18429   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18430 fi
   18431 AM_BACKSLASH='\'
   18432 
   18433 
   18434 
   18435 
   18436 
   18437 
   18438 
   18439 # Check whether --with-lint was given.
   18440 if test "${with_lint+set}" = set; then :
   18441   withval=$with_lint; use_lint=$withval
   18442 else
   18443   use_lint=no
   18444 fi
   18445 
   18446 
   18447 # Obtain platform specific info like program name and options
   18448 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   18449 case $host_os in
   18450   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   18451 	lint_name=splint
   18452 	lint_options="-badflag"
   18453 	;;
   18454   *freebsd* | *netbsd*)
   18455 	lint_name=lint
   18456 	lint_options="-u -b"
   18457 	;;
   18458   *solaris*)
   18459 	lint_name=lint
   18460 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   18461 	;;
   18462 esac
   18463 
   18464 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   18465 if test "x$use_lint" = x"yes" ; then
   18466    # Extract the first word of "$lint_name", so it can be a program name with args.
   18467 set dummy $lint_name; ac_word=$2
   18468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   18469 $as_echo_n "checking for $ac_word... " >&6; }
   18470 if ${ac_cv_path_LINT+:} false; then :
   18471   $as_echo_n "(cached) " >&6
   18472 else
   18473   case $LINT in
   18474   [\\/]* | ?:[\\/]*)
   18475   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   18476   ;;
   18477   *)
   18478   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18479 for as_dir in $PATH
   18480 do
   18481   IFS=$as_save_IFS
   18482   test -z "$as_dir" && as_dir=.
   18483     for ac_exec_ext in '' $ac_executable_extensions; do
   18484   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   18485     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   18486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   18487     break 2
   18488   fi
   18489 done
   18490   done
   18491 IFS=$as_save_IFS
   18492 
   18493   ;;
   18494 esac
   18495 fi
   18496 LINT=$ac_cv_path_LINT
   18497 if test -n "$LINT"; then
   18498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   18499 $as_echo "$LINT" >&6; }
   18500 else
   18501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18502 $as_echo "no" >&6; }
   18503 fi
   18504 
   18505 
   18506    if test "x$LINT" = "x"; then
   18507         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   18508    fi
   18509 elif test "x$use_lint" = x"no" ; then
   18510    if test "x$LINT" != "x"; then
   18511       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   18512 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   18513    fi
   18514 else
   18515    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   18516 fi
   18517 
   18518 # User supplied flags override default flags
   18519 if test "x$LINT_FLAGS" != "x"; then
   18520    lint_options=$LINT_FLAGS
   18521 fi
   18522 
   18523 LINT_FLAGS=$lint_options
   18524 
   18525  if test "x$LINT" != x; then
   18526   LINT_TRUE=
   18527   LINT_FALSE='#'
   18528 else
   18529   LINT_TRUE='#'
   18530   LINT_FALSE=
   18531 fi
   18532 
   18533 
   18534 
   18535 
   18536 # Checks for library functions
   18537 for ac_func in asprintf
   18538 do :
   18539   ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
   18540 if test "x$ac_cv_func_asprintf" = xyes; then :
   18541   cat >>confdefs.h <<_ACEOF
   18542 #define HAVE_ASPRINTF 1
   18543 _ACEOF
   18544 
   18545 fi
   18546 done
   18547 
   18548 
   18549 # Obtain compiler/linker options from server and required extensions
   18550 
   18551 pkg_failed=no
   18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18553 $as_echo_n "checking for XORG... " >&6; }
   18554 
   18555 if test -n "$XORG_CFLAGS"; then
   18556     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18557  elif test -n "$PKG_CONFIG"; then
   18558     if test -n "$PKG_CONFIG" && \
   18559     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.7 xproto inputproto\""; } >&5
   18560   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.7 xproto inputproto") 2>&5
   18561   ac_status=$?
   18562   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18563   test $ac_status = 0; }; then
   18564   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.7 xproto inputproto" 2>/dev/null`
   18565 		      test "x$?" != "x0" && pkg_failed=yes
   18566 else
   18567   pkg_failed=yes
   18568 fi
   18569  else
   18570     pkg_failed=untried
   18571 fi
   18572 if test -n "$XORG_LIBS"; then
   18573     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18574  elif test -n "$PKG_CONFIG"; then
   18575     if test -n "$PKG_CONFIG" && \
   18576     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.7 xproto inputproto\""; } >&5
   18577   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.7 xproto inputproto") 2>&5
   18578   ac_status=$?
   18579   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18580   test $ac_status = 0; }; then
   18581   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.7 xproto inputproto" 2>/dev/null`
   18582 		      test "x$?" != "x0" && pkg_failed=yes
   18583 else
   18584   pkg_failed=yes
   18585 fi
   18586  else
   18587     pkg_failed=untried
   18588 fi
   18589 
   18590 
   18591 
   18592 if test $pkg_failed = yes; then
   18593    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18594 $as_echo "no" >&6; }
   18595 
   18596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18597         _pkg_short_errors_supported=yes
   18598 else
   18599         _pkg_short_errors_supported=no
   18600 fi
   18601         if test $_pkg_short_errors_supported = yes; then
   18602 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.7 xproto inputproto" 2>&1`
   18603         else
   18604 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.7 xproto inputproto" 2>&1`
   18605         fi
   18606 	# Put the nasty error message in config.log where it belongs
   18607 	echo "$XORG_PKG_ERRORS" >&5
   18608 
   18609 	as_fn_error $? "Package requirements (xorg-server >= 1.7 xproto inputproto) were not met:
   18610 
   18611 $XORG_PKG_ERRORS
   18612 
   18613 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18614 installed software in a non-standard prefix.
   18615 
   18616 Alternatively, you may set the environment variables XORG_CFLAGS
   18617 and XORG_LIBS to avoid the need to call pkg-config.
   18618 See the pkg-config man page for more details." "$LINENO" 5
   18619 elif test $pkg_failed = untried; then
   18620      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18621 $as_echo "no" >&6; }
   18622 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18624 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18625 is in your PATH or set the PKG_CONFIG environment variable to the full
   18626 path to pkg-config.
   18627 
   18628 Alternatively, you may set the environment variables XORG_CFLAGS
   18629 and XORG_LIBS to avoid the need to call pkg-config.
   18630 See the pkg-config man page for more details.
   18631 
   18632 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18633 See \`config.log' for more details" "$LINENO" 5; }
   18634 else
   18635 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18636 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18637         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18638 $as_echo "yes" >&6; }
   18639 
   18640 fi
   18641 
   18642 # Define a configure option for an alternate input module directory
   18643 
   18644 # Check whether --with-xorg-module-dir was given.
   18645 if test "${with_xorg_module_dir+set}" = set; then :
   18646   withval=$with_xorg_module_dir; moduledir="$withval"
   18647 else
   18648   moduledir="$libdir/xorg/modules"
   18649 fi
   18650 
   18651 inputdir=${moduledir}/input
   18652 
   18653 
   18654 # X Server SDK location is required to install xf86-mouse-properties.h
   18655 # This location is also relayed in the xorg-mouse.pc file
   18656 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18657 
   18658 # Workaround overriding sdkdir to be able to create a tarball when user has no
   18659 # write permission in sdkdir. See DISTCHECK_CONFIGURE_FLAGS in Makefile.am
   18660 
   18661 # Check whether --with-sdkdir was given.
   18662 if test "${with_sdkdir+set}" = set; then :
   18663   withval=$with_sdkdir; sdkdir="$withval"
   18664 fi
   18665 
   18666 
   18667 
   18668 
   18669 # Work out which OS mouse driver we need to build
   18670 case $host_os in
   18671   linux*)
   18672     OS_MOUSE_NAME=lnx
   18673     ;;
   18674   freebsd*|kfreebsd*-gnu|dragonfly*|netbsd*|openbsd*)
   18675     OS_MOUSE_NAME=bsd
   18676     ;;
   18677   solaris*)
   18678     OS_MOUSE_NAME=sun
   18679     ;;
   18680   gnu*)
   18681     OS_MOUSE_NAME=hurd
   18682     ;;
   18683 esac
   18684 
   18685 
   18686 DRIVER_NAME=mouse
   18687 
   18688 
   18689 ac_config_files="$ac_config_files Makefile xorg-mouse.pc include/Makefile src/Makefile man/Makefile"
   18690 
   18691 cat >confcache <<\_ACEOF
   18692 # This file is a shell script that caches the results of configure
   18693 # tests run on this system so they can be shared between configure
   18694 # scripts and configure runs, see configure's option --config-cache.
   18695 # It is not useful on other systems.  If it contains results you don't
   18696 # want to keep, you may remove or edit it.
   18697 #
   18698 # config.status only pays attention to the cache file if you give it
   18699 # the --recheck option to rerun configure.
   18700 #
   18701 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18702 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18703 # following values.
   18704 
   18705 _ACEOF
   18706 
   18707 # The following way of writing the cache mishandles newlines in values,
   18708 # but we know of no workaround that is simple, portable, and efficient.
   18709 # So, we kill variables containing newlines.
   18710 # Ultrix sh set writes to stderr and can't be redirected directly,
   18711 # and sets the high bit in the cache file unless we assign to the vars.
   18712 (
   18713   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18714     eval ac_val=\$$ac_var
   18715     case $ac_val in #(
   18716     *${as_nl}*)
   18717       case $ac_var in #(
   18718       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18719 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18720       esac
   18721       case $ac_var in #(
   18722       _ | IFS | as_nl) ;; #(
   18723       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18724       *) { eval $ac_var=; unset $ac_var;} ;;
   18725       esac ;;
   18726     esac
   18727   done
   18728 
   18729   (set) 2>&1 |
   18730     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18731     *${as_nl}ac_space=\ *)
   18732       # `set' does not quote correctly, so add quotes: double-quote
   18733       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18734       sed -n \
   18735 	"s/'/'\\\\''/g;
   18736 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18737       ;; #(
   18738     *)
   18739       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18740       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18741       ;;
   18742     esac |
   18743     sort
   18744 ) |
   18745   sed '
   18746      /^ac_cv_env_/b end
   18747      t clear
   18748      :clear
   18749      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18750      t end
   18751      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18752      :end' >>confcache
   18753 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18754   if test -w "$cache_file"; then
   18755     if test "x$cache_file" != "x/dev/null"; then
   18756       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18757 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18758       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18759 	cat confcache >"$cache_file"
   18760       else
   18761         case $cache_file in #(
   18762         */* | ?:*)
   18763 	  mv -f confcache "$cache_file"$$ &&
   18764 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18765         *)
   18766 	  mv -f confcache "$cache_file" ;;
   18767 	esac
   18768       fi
   18769     fi
   18770   else
   18771     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18772 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18773   fi
   18774 fi
   18775 rm -f confcache
   18776 
   18777 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18778 # Let make expand exec_prefix.
   18779 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18780 
   18781 DEFS=-DHAVE_CONFIG_H
   18782 
   18783 ac_libobjs=
   18784 ac_ltlibobjs=
   18785 U=
   18786 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18787   # 1. Remove the extension, and $U if already installed.
   18788   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18789   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18790   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18791   #    will be set to the directory where LIBOBJS objects are built.
   18792   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18793   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18794 done
   18795 LIBOBJS=$ac_libobjs
   18796 
   18797 LTLIBOBJS=$ac_ltlibobjs
   18798 
   18799 
   18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18801 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18802    if test -n "$am_sleep_pid"; then
   18803      # Hide warnings about reused PIDs.
   18804      wait $am_sleep_pid 2>/dev/null
   18805    fi
   18806    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18807 $as_echo "done" >&6; }
   18808 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18809   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18811 fi
   18812 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18813   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18815 fi
   18816  if test -n "$EXEEXT"; then
   18817   am__EXEEXT_TRUE=
   18818   am__EXEEXT_FALSE='#'
   18819 else
   18820   am__EXEEXT_TRUE='#'
   18821   am__EXEEXT_FALSE=
   18822 fi
   18823 
   18824 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   18825   as_fn_error $? "conditional \"LINT\" was never defined.
   18826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18827 fi
   18828 
   18829 : "${CONFIG_STATUS=./config.status}"
   18830 ac_write_fail=0
   18831 ac_clean_files_save=$ac_clean_files
   18832 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18833 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18834 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18835 as_write_fail=0
   18836 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18837 #! $SHELL
   18838 # Generated by $as_me.
   18839 # Run this file to recreate the current configuration.
   18840 # Compiler output produced by configure, useful for debugging
   18841 # configure, is in config.log if it exists.
   18842 
   18843 debug=false
   18844 ac_cs_recheck=false
   18845 ac_cs_silent=false
   18846 
   18847 SHELL=\${CONFIG_SHELL-$SHELL}
   18848 export SHELL
   18849 _ASEOF
   18850 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18851 ## -------------------- ##
   18852 ## M4sh Initialization. ##
   18853 ## -------------------- ##
   18854 
   18855 # Be more Bourne compatible
   18856 DUALCASE=1; export DUALCASE # for MKS sh
   18857 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18858   emulate sh
   18859   NULLCMD=:
   18860   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18861   # is contrary to our usage.  Disable this feature.
   18862   alias -g '${1+"$@"}'='"$@"'
   18863   setopt NO_GLOB_SUBST
   18864 else
   18865   case `(set -o) 2>/dev/null` in #(
   18866   *posix*) :
   18867     set -o posix ;; #(
   18868   *) :
   18869      ;;
   18870 esac
   18871 fi
   18872 
   18873 
   18874 as_nl='
   18875 '
   18876 export as_nl
   18877 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18878 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18879 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18880 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18881 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18882 # but without wasting forks for bash or zsh.
   18883 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18884     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18885   as_echo='print -r --'
   18886   as_echo_n='print -rn --'
   18887 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18888   as_echo='printf %s\n'
   18889   as_echo_n='printf %s'
   18890 else
   18891   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18892     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18893     as_echo_n='/usr/ucb/echo -n'
   18894   else
   18895     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18896     as_echo_n_body='eval
   18897       arg=$1;
   18898       case $arg in #(
   18899       *"$as_nl"*)
   18900 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18901 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18902       esac;
   18903       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18904     '
   18905     export as_echo_n_body
   18906     as_echo_n='sh -c $as_echo_n_body as_echo'
   18907   fi
   18908   export as_echo_body
   18909   as_echo='sh -c $as_echo_body as_echo'
   18910 fi
   18911 
   18912 # The user is always right.
   18913 if test "${PATH_SEPARATOR+set}" != set; then
   18914   PATH_SEPARATOR=:
   18915   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18916     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18917       PATH_SEPARATOR=';'
   18918   }
   18919 fi
   18920 
   18921 
   18922 # IFS
   18923 # We need space, tab and new line, in precisely that order.  Quoting is
   18924 # there to prevent editors from complaining about space-tab.
   18925 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18926 # splitting by setting IFS to empty value.)
   18927 IFS=" ""	$as_nl"
   18928 
   18929 # Find who we are.  Look in the path if we contain no directory separator.
   18930 as_myself=
   18931 case $0 in #((
   18932   *[\\/]* ) as_myself=$0 ;;
   18933   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18934 for as_dir in $PATH
   18935 do
   18936   IFS=$as_save_IFS
   18937   test -z "$as_dir" && as_dir=.
   18938     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18939   done
   18940 IFS=$as_save_IFS
   18941 
   18942      ;;
   18943 esac
   18944 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18945 # in which case we are not to be found in the path.
   18946 if test "x$as_myself" = x; then
   18947   as_myself=$0
   18948 fi
   18949 if test ! -f "$as_myself"; then
   18950   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18951   exit 1
   18952 fi
   18953 
   18954 # Unset variables that we do not need and which cause bugs (e.g. in
   18955 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18956 # suppresses any "Segmentation fault" message there.  '((' could
   18957 # trigger a bug in pdksh 5.2.14.
   18958 for as_var in BASH_ENV ENV MAIL MAILPATH
   18959 do eval test x\${$as_var+set} = xset \
   18960   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18961 done
   18962 PS1='$ '
   18963 PS2='> '
   18964 PS4='+ '
   18965 
   18966 # NLS nuisances.
   18967 LC_ALL=C
   18968 export LC_ALL
   18969 LANGUAGE=C
   18970 export LANGUAGE
   18971 
   18972 # CDPATH.
   18973 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18974 
   18975 
   18976 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18977 # ----------------------------------------
   18978 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18979 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18980 # script with STATUS, using 1 if that was 0.
   18981 as_fn_error ()
   18982 {
   18983   as_status=$1; test $as_status -eq 0 && as_status=1
   18984   if test "$4"; then
   18985     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18986     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18987   fi
   18988   $as_echo "$as_me: error: $2" >&2
   18989   as_fn_exit $as_status
   18990 } # as_fn_error
   18991 
   18992 
   18993 # as_fn_set_status STATUS
   18994 # -----------------------
   18995 # Set $? to STATUS, without forking.
   18996 as_fn_set_status ()
   18997 {
   18998   return $1
   18999 } # as_fn_set_status
   19000 
   19001 # as_fn_exit STATUS
   19002 # -----------------
   19003 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19004 as_fn_exit ()
   19005 {
   19006   set +e
   19007   as_fn_set_status $1
   19008   exit $1
   19009 } # as_fn_exit
   19010 
   19011 # as_fn_unset VAR
   19012 # ---------------
   19013 # Portably unset VAR.
   19014 as_fn_unset ()
   19015 {
   19016   { eval $1=; unset $1;}
   19017 }
   19018 as_unset=as_fn_unset
   19019 # as_fn_append VAR VALUE
   19020 # ----------------------
   19021 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19022 # advantage of any shell optimizations that allow amortized linear growth over
   19023 # repeated appends, instead of the typical quadratic growth present in naive
   19024 # implementations.
   19025 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19026   eval 'as_fn_append ()
   19027   {
   19028     eval $1+=\$2
   19029   }'
   19030 else
   19031   as_fn_append ()
   19032   {
   19033     eval $1=\$$1\$2
   19034   }
   19035 fi # as_fn_append
   19036 
   19037 # as_fn_arith ARG...
   19038 # ------------------
   19039 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19040 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19041 # must be portable across $(()) and expr.
   19042 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19043   eval 'as_fn_arith ()
   19044   {
   19045     as_val=$(( $* ))
   19046   }'
   19047 else
   19048   as_fn_arith ()
   19049   {
   19050     as_val=`expr "$@" || test $? -eq 1`
   19051   }
   19052 fi # as_fn_arith
   19053 
   19054 
   19055 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19056    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19057   as_expr=expr
   19058 else
   19059   as_expr=false
   19060 fi
   19061 
   19062 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19063   as_basename=basename
   19064 else
   19065   as_basename=false
   19066 fi
   19067 
   19068 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19069   as_dirname=dirname
   19070 else
   19071   as_dirname=false
   19072 fi
   19073 
   19074 as_me=`$as_basename -- "$0" ||
   19075 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19076 	 X"$0" : 'X\(//\)$' \| \
   19077 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19078 $as_echo X/"$0" |
   19079     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19080 	    s//\1/
   19081 	    q
   19082 	  }
   19083 	  /^X\/\(\/\/\)$/{
   19084 	    s//\1/
   19085 	    q
   19086 	  }
   19087 	  /^X\/\(\/\).*/{
   19088 	    s//\1/
   19089 	    q
   19090 	  }
   19091 	  s/.*/./; q'`
   19092 
   19093 # Avoid depending upon Character Ranges.
   19094 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19095 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19096 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19097 as_cr_digits='0123456789'
   19098 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19099 
   19100 ECHO_C= ECHO_N= ECHO_T=
   19101 case `echo -n x` in #(((((
   19102 -n*)
   19103   case `echo 'xy\c'` in
   19104   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19105   xy)  ECHO_C='\c';;
   19106   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19107        ECHO_T='	';;
   19108   esac;;
   19109 *)
   19110   ECHO_N='-n';;
   19111 esac
   19112 
   19113 rm -f conf$$ conf$$.exe conf$$.file
   19114 if test -d conf$$.dir; then
   19115   rm -f conf$$.dir/conf$$.file
   19116 else
   19117   rm -f conf$$.dir
   19118   mkdir conf$$.dir 2>/dev/null
   19119 fi
   19120 if (echo >conf$$.file) 2>/dev/null; then
   19121   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19122     as_ln_s='ln -s'
   19123     # ... but there are two gotchas:
   19124     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19125     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19126     # In both cases, we have to default to `cp -pR'.
   19127     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19128       as_ln_s='cp -pR'
   19129   elif ln conf$$.file conf$$ 2>/dev/null; then
   19130     as_ln_s=ln
   19131   else
   19132     as_ln_s='cp -pR'
   19133   fi
   19134 else
   19135   as_ln_s='cp -pR'
   19136 fi
   19137 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19138 rmdir conf$$.dir 2>/dev/null
   19139 
   19140 
   19141 # as_fn_mkdir_p
   19142 # -------------
   19143 # Create "$as_dir" as a directory, including parents if necessary.
   19144 as_fn_mkdir_p ()
   19145 {
   19146 
   19147   case $as_dir in #(
   19148   -*) as_dir=./$as_dir;;
   19149   esac
   19150   test -d "$as_dir" || eval $as_mkdir_p || {
   19151     as_dirs=
   19152     while :; do
   19153       case $as_dir in #(
   19154       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19155       *) as_qdir=$as_dir;;
   19156       esac
   19157       as_dirs="'$as_qdir' $as_dirs"
   19158       as_dir=`$as_dirname -- "$as_dir" ||
   19159 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19160 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19161 	 X"$as_dir" : 'X\(//\)$' \| \
   19162 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19163 $as_echo X"$as_dir" |
   19164     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19165 	    s//\1/
   19166 	    q
   19167 	  }
   19168 	  /^X\(\/\/\)[^/].*/{
   19169 	    s//\1/
   19170 	    q
   19171 	  }
   19172 	  /^X\(\/\/\)$/{
   19173 	    s//\1/
   19174 	    q
   19175 	  }
   19176 	  /^X\(\/\).*/{
   19177 	    s//\1/
   19178 	    q
   19179 	  }
   19180 	  s/.*/./; q'`
   19181       test -d "$as_dir" && break
   19182     done
   19183     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19184   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19185 
   19186 
   19187 } # as_fn_mkdir_p
   19188 if mkdir -p . 2>/dev/null; then
   19189   as_mkdir_p='mkdir -p "$as_dir"'
   19190 else
   19191   test -d ./-p && rmdir ./-p
   19192   as_mkdir_p=false
   19193 fi
   19194 
   19195 
   19196 # as_fn_executable_p FILE
   19197 # -----------------------
   19198 # Test if FILE is an executable regular file.
   19199 as_fn_executable_p ()
   19200 {
   19201   test -f "$1" && test -x "$1"
   19202 } # as_fn_executable_p
   19203 as_test_x='test -x'
   19204 as_executable_p=as_fn_executable_p
   19205 
   19206 # Sed expression to map a string onto a valid CPP name.
   19207 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19208 
   19209 # Sed expression to map a string onto a valid variable name.
   19210 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19211 
   19212 
   19213 exec 6>&1
   19214 ## ----------------------------------- ##
   19215 ## Main body of $CONFIG_STATUS script. ##
   19216 ## ----------------------------------- ##
   19217 _ASEOF
   19218 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19219 
   19220 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19221 # Save the log message, to keep $0 and so on meaningful, and to
   19222 # report actual input values of CONFIG_FILES etc. instead of their
   19223 # values after options handling.
   19224 ac_log="
   19225 This file was extended by xf86-input-mouse $as_me 1.9.2, which was
   19226 generated by GNU Autoconf 2.69.  Invocation command line was
   19227 
   19228   CONFIG_FILES    = $CONFIG_FILES
   19229   CONFIG_HEADERS  = $CONFIG_HEADERS
   19230   CONFIG_LINKS    = $CONFIG_LINKS
   19231   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19232   $ $0 $@
   19233 
   19234 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19235 "
   19236 
   19237 _ACEOF
   19238 
   19239 case $ac_config_files in *"
   19240 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19241 esac
   19242 
   19243 case $ac_config_headers in *"
   19244 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19245 esac
   19246 
   19247 
   19248 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19249 # Files that config.status was made for.
   19250 config_files="$ac_config_files"
   19251 config_headers="$ac_config_headers"
   19252 config_commands="$ac_config_commands"
   19253 
   19254 _ACEOF
   19255 
   19256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19257 ac_cs_usage="\
   19258 \`$as_me' instantiates files and other configuration actions
   19259 from templates according to the current configuration.  Unless the files
   19260 and actions are specified as TAGs, all are instantiated by default.
   19261 
   19262 Usage: $0 [OPTION]... [TAG]...
   19263 
   19264   -h, --help       print this help, then exit
   19265   -V, --version    print version number and configuration settings, then exit
   19266       --config     print configuration, then exit
   19267   -q, --quiet, --silent
   19268                    do not print progress messages
   19269   -d, --debug      don't remove temporary files
   19270       --recheck    update $as_me by reconfiguring in the same conditions
   19271       --file=FILE[:TEMPLATE]
   19272                    instantiate the configuration file FILE
   19273       --header=FILE[:TEMPLATE]
   19274                    instantiate the configuration header FILE
   19275 
   19276 Configuration files:
   19277 $config_files
   19278 
   19279 Configuration headers:
   19280 $config_headers
   19281 
   19282 Configuration commands:
   19283 $config_commands
   19284 
   19285 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19286 
   19287 _ACEOF
   19288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19289 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19290 ac_cs_version="\\
   19291 xf86-input-mouse config.status 1.9.2
   19292 configured by $0, generated by GNU Autoconf 2.69,
   19293   with options \\"\$ac_cs_config\\"
   19294 
   19295 Copyright (C) 2012 Free Software Foundation, Inc.
   19296 This config.status script is free software; the Free Software Foundation
   19297 gives unlimited permission to copy, distribute and modify it."
   19298 
   19299 ac_pwd='$ac_pwd'
   19300 srcdir='$srcdir'
   19301 INSTALL='$INSTALL'
   19302 MKDIR_P='$MKDIR_P'
   19303 AWK='$AWK'
   19304 test -n "\$AWK" || AWK=awk
   19305 _ACEOF
   19306 
   19307 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19308 # The default lists apply if the user does not specify any file.
   19309 ac_need_defaults=:
   19310 while test $# != 0
   19311 do
   19312   case $1 in
   19313   --*=?*)
   19314     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19315     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19316     ac_shift=:
   19317     ;;
   19318   --*=)
   19319     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19320     ac_optarg=
   19321     ac_shift=:
   19322     ;;
   19323   *)
   19324     ac_option=$1
   19325     ac_optarg=$2
   19326     ac_shift=shift
   19327     ;;
   19328   esac
   19329 
   19330   case $ac_option in
   19331   # Handling of the options.
   19332   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19333     ac_cs_recheck=: ;;
   19334   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19335     $as_echo "$ac_cs_version"; exit ;;
   19336   --config | --confi | --conf | --con | --co | --c )
   19337     $as_echo "$ac_cs_config"; exit ;;
   19338   --debug | --debu | --deb | --de | --d | -d )
   19339     debug=: ;;
   19340   --file | --fil | --fi | --f )
   19341     $ac_shift
   19342     case $ac_optarg in
   19343     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19344     '') as_fn_error $? "missing file argument" ;;
   19345     esac
   19346     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19347     ac_need_defaults=false;;
   19348   --header | --heade | --head | --hea )
   19349     $ac_shift
   19350     case $ac_optarg in
   19351     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19352     esac
   19353     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19354     ac_need_defaults=false;;
   19355   --he | --h)
   19356     # Conflict between --help and --header
   19357     as_fn_error $? "ambiguous option: \`$1'
   19358 Try \`$0 --help' for more information.";;
   19359   --help | --hel | -h )
   19360     $as_echo "$ac_cs_usage"; exit ;;
   19361   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19362   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19363     ac_cs_silent=: ;;
   19364 
   19365   # This is an error.
   19366   -*) as_fn_error $? "unrecognized option: \`$1'
   19367 Try \`$0 --help' for more information." ;;
   19368 
   19369   *) as_fn_append ac_config_targets " $1"
   19370      ac_need_defaults=false ;;
   19371 
   19372   esac
   19373   shift
   19374 done
   19375 
   19376 ac_configure_extra_args=
   19377 
   19378 if $ac_cs_silent; then
   19379   exec 6>/dev/null
   19380   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19381 fi
   19382 
   19383 _ACEOF
   19384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19385 if \$ac_cs_recheck; then
   19386   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19387   shift
   19388   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19389   CONFIG_SHELL='$SHELL'
   19390   export CONFIG_SHELL
   19391   exec "\$@"
   19392 fi
   19393 
   19394 _ACEOF
   19395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19396 exec 5>>config.log
   19397 {
   19398   echo
   19399   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19400 ## Running $as_me. ##
   19401 _ASBOX
   19402   $as_echo "$ac_log"
   19403 } >&5
   19404 
   19405 _ACEOF
   19406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19407 #
   19408 # INIT-COMMANDS
   19409 #
   19410 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19411 
   19412 
   19413 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19414 # if CDPATH is set.
   19415 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19416 
   19417 sed_quote_subst='$sed_quote_subst'
   19418 double_quote_subst='$double_quote_subst'
   19419 delay_variable_subst='$delay_variable_subst'
   19420 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19421 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19422 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19423 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19424 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19425 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19426 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19427 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19428 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19429 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19430 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19431 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19432 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19433 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19434 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19435 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19436 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19437 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19438 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19439 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19440 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19441 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19442 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19443 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19444 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19445 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19446 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19447 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19448 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19449 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19450 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19451 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19452 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19453 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19454 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19455 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19456 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19457 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19458 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19459 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19460 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19461 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19462 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19463 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19464 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19465 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19466 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19467 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19468 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19469 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19470 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19471 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19472 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19473 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19474 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19475 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19476 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   19477 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19478 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"`'
   19479 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   19480 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19481 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19482 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   19483 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19484 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19485 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19486 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19487 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19488 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19489 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19490 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19491 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19492 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19493 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19494 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19495 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19496 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19497 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19498 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19499 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19500 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19501 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19502 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19503 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19504 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19505 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19506 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19507 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19508 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19509 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19510 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19511 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19512 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19513 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19514 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19515 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19516 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19517 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19518 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19519 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19520 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19521 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19522 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19523 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19524 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19525 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19526 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19527 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19528 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19529 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19530 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19531 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19532 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19533 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19534 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19535 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19536 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19537 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19538 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19539 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19540 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19541 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19542 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19543 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19544 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19545 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19546 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19547 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   19548 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   19549 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19550 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19551 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19552 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19553 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19554 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19555 
   19556 LTCC='$LTCC'
   19557 LTCFLAGS='$LTCFLAGS'
   19558 compiler='$compiler_DEFAULT'
   19559 
   19560 # A function that is used when there is no print builtin or printf.
   19561 func_fallback_echo ()
   19562 {
   19563   eval 'cat <<_LTECHO_EOF
   19564 \$1
   19565 _LTECHO_EOF'
   19566 }
   19567 
   19568 # Quote evaled strings.
   19569 for var in SHELL \
   19570 ECHO \
   19571 PATH_SEPARATOR \
   19572 SED \
   19573 GREP \
   19574 EGREP \
   19575 FGREP \
   19576 LD \
   19577 NM \
   19578 LN_S \
   19579 lt_SP2NL \
   19580 lt_NL2SP \
   19581 reload_flag \
   19582 OBJDUMP \
   19583 deplibs_check_method \
   19584 file_magic_cmd \
   19585 file_magic_glob \
   19586 want_nocaseglob \
   19587 DLLTOOL \
   19588 sharedlib_from_linklib_cmd \
   19589 AR \
   19590 AR_FLAGS \
   19591 archiver_list_spec \
   19592 STRIP \
   19593 RANLIB \
   19594 CC \
   19595 CFLAGS \
   19596 compiler \
   19597 lt_cv_sys_global_symbol_pipe \
   19598 lt_cv_sys_global_symbol_to_cdecl \
   19599 lt_cv_sys_global_symbol_to_import \
   19600 lt_cv_sys_global_symbol_to_c_name_address \
   19601 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19602 lt_cv_nm_interface \
   19603 nm_file_list_spec \
   19604 lt_cv_truncate_bin \
   19605 lt_prog_compiler_no_builtin_flag \
   19606 lt_prog_compiler_pic \
   19607 lt_prog_compiler_wl \
   19608 lt_prog_compiler_static \
   19609 lt_cv_prog_compiler_c_o \
   19610 need_locks \
   19611 MANIFEST_TOOL \
   19612 DSYMUTIL \
   19613 NMEDIT \
   19614 LIPO \
   19615 OTOOL \
   19616 OTOOL64 \
   19617 shrext_cmds \
   19618 export_dynamic_flag_spec \
   19619 whole_archive_flag_spec \
   19620 compiler_needs_object \
   19621 with_gnu_ld \
   19622 allow_undefined_flag \
   19623 no_undefined_flag \
   19624 hardcode_libdir_flag_spec \
   19625 hardcode_libdir_separator \
   19626 exclude_expsyms \
   19627 include_expsyms \
   19628 file_list_spec \
   19629 variables_saved_for_relink \
   19630 libname_spec \
   19631 library_names_spec \
   19632 soname_spec \
   19633 install_override_mode \
   19634 finish_eval \
   19635 old_striplib \
   19636 striplib; do
   19637     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19638     *[\\\\\\\`\\"\\\$]*)
   19639       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19640       ;;
   19641     *)
   19642       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19643       ;;
   19644     esac
   19645 done
   19646 
   19647 # Double-quote double-evaled strings.
   19648 for var in reload_cmds \
   19649 old_postinstall_cmds \
   19650 old_postuninstall_cmds \
   19651 old_archive_cmds \
   19652 extract_expsyms_cmds \
   19653 old_archive_from_new_cmds \
   19654 old_archive_from_expsyms_cmds \
   19655 archive_cmds \
   19656 archive_expsym_cmds \
   19657 module_cmds \
   19658 module_expsym_cmds \
   19659 export_symbols_cmds \
   19660 prelink_cmds \
   19661 postlink_cmds \
   19662 postinstall_cmds \
   19663 postuninstall_cmds \
   19664 finish_cmds \
   19665 sys_lib_search_path_spec \
   19666 configure_time_dlsearch_path \
   19667 configure_time_lt_sys_library_path; do
   19668     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19669     *[\\\\\\\`\\"\\\$]*)
   19670       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   19671       ;;
   19672     *)
   19673       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19674       ;;
   19675     esac
   19676 done
   19677 
   19678 ac_aux_dir='$ac_aux_dir'
   19679 
   19680 # See if we are running on zsh, and set the options that allow our
   19681 # commands through without removal of \ escapes INIT.
   19682 if test -n "\${ZSH_VERSION+set}"; then
   19683    setopt NO_GLOB_SUBST
   19684 fi
   19685 
   19686 
   19687     PACKAGE='$PACKAGE'
   19688     VERSION='$VERSION'
   19689     RM='$RM'
   19690     ofile='$ofile'
   19691 
   19692 
   19693 
   19694 
   19695 _ACEOF
   19696 
   19697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19698 
   19699 # Handling of arguments.
   19700 for ac_config_target in $ac_config_targets
   19701 do
   19702   case $ac_config_target in
   19703     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19704     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19705     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19706     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19707     "xorg-mouse.pc") CONFIG_FILES="$CONFIG_FILES xorg-mouse.pc" ;;
   19708     "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
   19709     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19710     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19711 
   19712   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19713   esac
   19714 done
   19715 
   19716 
   19717 # If the user did not use the arguments to specify the items to instantiate,
   19718 # then the envvar interface is used.  Set only those that are not.
   19719 # We use the long form for the default assignment because of an extremely
   19720 # bizarre bug on SunOS 4.1.3.
   19721 if $ac_need_defaults; then
   19722   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19723   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19724   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19725 fi
   19726 
   19727 # Have a temporary directory for convenience.  Make it in the build tree
   19728 # simply because there is no reason against having it here, and in addition,
   19729 # creating and moving files from /tmp can sometimes cause problems.
   19730 # Hook for its removal unless debugging.
   19731 # Note that there is a small window in which the directory will not be cleaned:
   19732 # after its creation but before its name has been assigned to `$tmp'.
   19733 $debug ||
   19734 {
   19735   tmp= ac_tmp=
   19736   trap 'exit_status=$?
   19737   : "${ac_tmp:=$tmp}"
   19738   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19739 ' 0
   19740   trap 'as_fn_exit 1' 1 2 13 15
   19741 }
   19742 # Create a (secure) tmp directory for tmp files.
   19743 
   19744 {
   19745   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19746   test -d "$tmp"
   19747 }  ||
   19748 {
   19749   tmp=./conf$$-$RANDOM
   19750   (umask 077 && mkdir "$tmp")
   19751 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19752 ac_tmp=$tmp
   19753 
   19754 # Set up the scripts for CONFIG_FILES section.
   19755 # No need to generate them if there are no CONFIG_FILES.
   19756 # This happens for instance with `./config.status config.h'.
   19757 if test -n "$CONFIG_FILES"; then
   19758 
   19759 
   19760 ac_cr=`echo X | tr X '\015'`
   19761 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19762 # But we know of no other shell where ac_cr would be empty at this
   19763 # point, so we can use a bashism as a fallback.
   19764 if test "x$ac_cr" = x; then
   19765   eval ac_cr=\$\'\\r\'
   19766 fi
   19767 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19768 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19769   ac_cs_awk_cr='\\r'
   19770 else
   19771   ac_cs_awk_cr=$ac_cr
   19772 fi
   19773 
   19774 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19775 _ACEOF
   19776 
   19777 
   19778 {
   19779   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19780   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19781   echo "_ACEOF"
   19782 } >conf$$subs.sh ||
   19783   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19784 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19785 ac_delim='%!_!# '
   19786 for ac_last_try in false false false false false :; do
   19787   . ./conf$$subs.sh ||
   19788     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19789 
   19790   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19791   if test $ac_delim_n = $ac_delim_num; then
   19792     break
   19793   elif $ac_last_try; then
   19794     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19795   else
   19796     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19797   fi
   19798 done
   19799 rm -f conf$$subs.sh
   19800 
   19801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19802 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19803 _ACEOF
   19804 sed -n '
   19805 h
   19806 s/^/S["/; s/!.*/"]=/
   19807 p
   19808 g
   19809 s/^[^!]*!//
   19810 :repl
   19811 t repl
   19812 s/'"$ac_delim"'$//
   19813 t delim
   19814 :nl
   19815 h
   19816 s/\(.\{148\}\)..*/\1/
   19817 t more1
   19818 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19819 p
   19820 n
   19821 b repl
   19822 :more1
   19823 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19824 p
   19825 g
   19826 s/.\{148\}//
   19827 t nl
   19828 :delim
   19829 h
   19830 s/\(.\{148\}\)..*/\1/
   19831 t more2
   19832 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19833 p
   19834 b
   19835 :more2
   19836 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19837 p
   19838 g
   19839 s/.\{148\}//
   19840 t delim
   19841 ' <conf$$subs.awk | sed '
   19842 /^[^""]/{
   19843   N
   19844   s/\n//
   19845 }
   19846 ' >>$CONFIG_STATUS || ac_write_fail=1
   19847 rm -f conf$$subs.awk
   19848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19849 _ACAWK
   19850 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19851   for (key in S) S_is_set[key] = 1
   19852   FS = ""
   19853 
   19854 }
   19855 {
   19856   line = $ 0
   19857   nfields = split(line, field, "@")
   19858   substed = 0
   19859   len = length(field[1])
   19860   for (i = 2; i < nfields; i++) {
   19861     key = field[i]
   19862     keylen = length(key)
   19863     if (S_is_set[key]) {
   19864       value = S[key]
   19865       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19866       len += length(value) + length(field[++i])
   19867       substed = 1
   19868     } else
   19869       len += 1 + keylen
   19870   }
   19871 
   19872   print line
   19873 }
   19874 
   19875 _ACAWK
   19876 _ACEOF
   19877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19878 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19879   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19880 else
   19881   cat
   19882 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19883   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19884 _ACEOF
   19885 
   19886 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19887 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19888 # trailing colons and then remove the whole line if VPATH becomes empty
   19889 # (actually we leave an empty line to preserve line numbers).
   19890 if test "x$srcdir" = x.; then
   19891   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19892 h
   19893 s///
   19894 s/^/:/
   19895 s/[	 ]*$/:/
   19896 s/:\$(srcdir):/:/g
   19897 s/:\${srcdir}:/:/g
   19898 s/:@srcdir@:/:/g
   19899 s/^:*//
   19900 s/:*$//
   19901 x
   19902 s/\(=[	 ]*\).*/\1/
   19903 G
   19904 s/\n//
   19905 s/^[^=]*=[	 ]*$//
   19906 }'
   19907 fi
   19908 
   19909 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19910 fi # test -n "$CONFIG_FILES"
   19911 
   19912 # Set up the scripts for CONFIG_HEADERS section.
   19913 # No need to generate them if there are no CONFIG_HEADERS.
   19914 # This happens for instance with `./config.status Makefile'.
   19915 if test -n "$CONFIG_HEADERS"; then
   19916 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19917 BEGIN {
   19918 _ACEOF
   19919 
   19920 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19921 # here-document in config.status, that substitutes the proper values into
   19922 # config.h.in to produce config.h.
   19923 
   19924 # Create a delimiter string that does not exist in confdefs.h, to ease
   19925 # handling of long lines.
   19926 ac_delim='%!_!# '
   19927 for ac_last_try in false false :; do
   19928   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19929   if test -z "$ac_tt"; then
   19930     break
   19931   elif $ac_last_try; then
   19932     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19933   else
   19934     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19935   fi
   19936 done
   19937 
   19938 # For the awk script, D is an array of macro values keyed by name,
   19939 # likewise P contains macro parameters if any.  Preserve backslash
   19940 # newline sequences.
   19941 
   19942 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19943 sed -n '
   19944 s/.\{148\}/&'"$ac_delim"'/g
   19945 t rset
   19946 :rset
   19947 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19948 t def
   19949 d
   19950 :def
   19951 s/\\$//
   19952 t bsnl
   19953 s/["\\]/\\&/g
   19954 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19955 D["\1"]=" \3"/p
   19956 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19957 d
   19958 :bsnl
   19959 s/["\\]/\\&/g
   19960 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19961 D["\1"]=" \3\\\\\\n"\\/p
   19962 t cont
   19963 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19964 t cont
   19965 d
   19966 :cont
   19967 n
   19968 s/.\{148\}/&'"$ac_delim"'/g
   19969 t clear
   19970 :clear
   19971 s/\\$//
   19972 t bsnlc
   19973 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19974 d
   19975 :bsnlc
   19976 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19977 b cont
   19978 ' <confdefs.h | sed '
   19979 s/'"$ac_delim"'/"\\\
   19980 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19981 
   19982 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19983   for (key in D) D_is_set[key] = 1
   19984   FS = ""
   19985 }
   19986 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19987   line = \$ 0
   19988   split(line, arg, " ")
   19989   if (arg[1] == "#") {
   19990     defundef = arg[2]
   19991     mac1 = arg[3]
   19992   } else {
   19993     defundef = substr(arg[1], 2)
   19994     mac1 = arg[2]
   19995   }
   19996   split(mac1, mac2, "(") #)
   19997   macro = mac2[1]
   19998   prefix = substr(line, 1, index(line, defundef) - 1)
   19999   if (D_is_set[macro]) {
   20000     # Preserve the white space surrounding the "#".
   20001     print prefix "define", macro P[macro] D[macro]
   20002     next
   20003   } else {
   20004     # Replace #undef with comments.  This is necessary, for example,
   20005     # in the case of _POSIX_SOURCE, which is predefined and required
   20006     # on some systems where configure will not decide to define it.
   20007     if (defundef == "undef") {
   20008       print "/*", prefix defundef, macro, "*/"
   20009       next
   20010     }
   20011   }
   20012 }
   20013 { print }
   20014 _ACAWK
   20015 _ACEOF
   20016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20017   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20018 fi # test -n "$CONFIG_HEADERS"
   20019 
   20020 
   20021 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20022 shift
   20023 for ac_tag
   20024 do
   20025   case $ac_tag in
   20026   :[FHLC]) ac_mode=$ac_tag; continue;;
   20027   esac
   20028   case $ac_mode$ac_tag in
   20029   :[FHL]*:*);;
   20030   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20031   :[FH]-) ac_tag=-:-;;
   20032   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20033   esac
   20034   ac_save_IFS=$IFS
   20035   IFS=:
   20036   set x $ac_tag
   20037   IFS=$ac_save_IFS
   20038   shift
   20039   ac_file=$1
   20040   shift
   20041 
   20042   case $ac_mode in
   20043   :L) ac_source=$1;;
   20044   :[FH])
   20045     ac_file_inputs=
   20046     for ac_f
   20047     do
   20048       case $ac_f in
   20049       -) ac_f="$ac_tmp/stdin";;
   20050       *) # Look for the file first in the build tree, then in the source tree
   20051 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20052 	 # because $ac_f cannot contain `:'.
   20053 	 test -f "$ac_f" ||
   20054 	   case $ac_f in
   20055 	   [\\/$]*) false;;
   20056 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20057 	   esac ||
   20058 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20059       esac
   20060       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20061       as_fn_append ac_file_inputs " '$ac_f'"
   20062     done
   20063 
   20064     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20065     # use $as_me), people would be surprised to read:
   20066     #    /* config.h.  Generated by config.status.  */
   20067     configure_input='Generated from '`
   20068 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20069 	`' by configure.'
   20070     if test x"$ac_file" != x-; then
   20071       configure_input="$ac_file.  $configure_input"
   20072       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20073 $as_echo "$as_me: creating $ac_file" >&6;}
   20074     fi
   20075     # Neutralize special characters interpreted by sed in replacement strings.
   20076     case $configure_input in #(
   20077     *\&* | *\|* | *\\* )
   20078        ac_sed_conf_input=`$as_echo "$configure_input" |
   20079        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20080     *) ac_sed_conf_input=$configure_input;;
   20081     esac
   20082 
   20083     case $ac_tag in
   20084     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20085       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20086     esac
   20087     ;;
   20088   esac
   20089 
   20090   ac_dir=`$as_dirname -- "$ac_file" ||
   20091 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20092 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20093 	 X"$ac_file" : 'X\(//\)$' \| \
   20094 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20095 $as_echo X"$ac_file" |
   20096     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20097 	    s//\1/
   20098 	    q
   20099 	  }
   20100 	  /^X\(\/\/\)[^/].*/{
   20101 	    s//\1/
   20102 	    q
   20103 	  }
   20104 	  /^X\(\/\/\)$/{
   20105 	    s//\1/
   20106 	    q
   20107 	  }
   20108 	  /^X\(\/\).*/{
   20109 	    s//\1/
   20110 	    q
   20111 	  }
   20112 	  s/.*/./; q'`
   20113   as_dir="$ac_dir"; as_fn_mkdir_p
   20114   ac_builddir=.
   20115 
   20116 case "$ac_dir" in
   20117 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20118 *)
   20119   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20120   # A ".." for each directory in $ac_dir_suffix.
   20121   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20122   case $ac_top_builddir_sub in
   20123   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20124   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20125   esac ;;
   20126 esac
   20127 ac_abs_top_builddir=$ac_pwd
   20128 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20129 # for backward compatibility:
   20130 ac_top_builddir=$ac_top_build_prefix
   20131 
   20132 case $srcdir in
   20133   .)  # We are building in place.
   20134     ac_srcdir=.
   20135     ac_top_srcdir=$ac_top_builddir_sub
   20136     ac_abs_top_srcdir=$ac_pwd ;;
   20137   [\\/]* | ?:[\\/]* )  # Absolute name.
   20138     ac_srcdir=$srcdir$ac_dir_suffix;
   20139     ac_top_srcdir=$srcdir
   20140     ac_abs_top_srcdir=$srcdir ;;
   20141   *) # Relative name.
   20142     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20143     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20144     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20145 esac
   20146 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20147 
   20148 
   20149   case $ac_mode in
   20150   :F)
   20151   #
   20152   # CONFIG_FILE
   20153   #
   20154 
   20155   case $INSTALL in
   20156   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20157   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20158   esac
   20159   ac_MKDIR_P=$MKDIR_P
   20160   case $MKDIR_P in
   20161   [\\/$]* | ?:[\\/]* ) ;;
   20162   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20163   esac
   20164 _ACEOF
   20165 
   20166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20167 # If the template does not know about datarootdir, expand it.
   20168 # FIXME: This hack should be removed a few years after 2.60.
   20169 ac_datarootdir_hack=; ac_datarootdir_seen=
   20170 ac_sed_dataroot='
   20171 /datarootdir/ {
   20172   p
   20173   q
   20174 }
   20175 /@datadir@/p
   20176 /@docdir@/p
   20177 /@infodir@/p
   20178 /@localedir@/p
   20179 /@mandir@/p'
   20180 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20181 *datarootdir*) ac_datarootdir_seen=yes;;
   20182 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20183   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20184 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20185 _ACEOF
   20186 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20187   ac_datarootdir_hack='
   20188   s&@datadir@&$datadir&g
   20189   s&@docdir@&$docdir&g
   20190   s&@infodir@&$infodir&g
   20191   s&@localedir@&$localedir&g
   20192   s&@mandir@&$mandir&g
   20193   s&\\\${datarootdir}&$datarootdir&g' ;;
   20194 esac
   20195 _ACEOF
   20196 
   20197 # Neutralize VPATH when `$srcdir' = `.'.
   20198 # Shell code in configure.ac might set extrasub.
   20199 # FIXME: do we really want to maintain this feature?
   20200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20201 ac_sed_extra="$ac_vpsub
   20202 $extrasub
   20203 _ACEOF
   20204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20205 :t
   20206 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20207 s|@configure_input@|$ac_sed_conf_input|;t t
   20208 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20209 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20210 s&@srcdir@&$ac_srcdir&;t t
   20211 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20212 s&@top_srcdir@&$ac_top_srcdir&;t t
   20213 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20214 s&@builddir@&$ac_builddir&;t t
   20215 s&@abs_builddir@&$ac_abs_builddir&;t t
   20216 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20217 s&@INSTALL@&$ac_INSTALL&;t t
   20218 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20219 $ac_datarootdir_hack
   20220 "
   20221 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20222   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20223 
   20224 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20225   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20226   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20227       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20228   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20229 which seems to be undefined.  Please make sure it is defined" >&5
   20230 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20231 which seems to be undefined.  Please make sure it is defined" >&2;}
   20232 
   20233   rm -f "$ac_tmp/stdin"
   20234   case $ac_file in
   20235   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20236   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20237   esac \
   20238   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20239  ;;
   20240   :H)
   20241   #
   20242   # CONFIG_HEADER
   20243   #
   20244   if test x"$ac_file" != x-; then
   20245     {
   20246       $as_echo "/* $configure_input  */" \
   20247       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20248     } >"$ac_tmp/config.h" \
   20249       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20250     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20251       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20252 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20253     else
   20254       rm -f "$ac_file"
   20255       mv "$ac_tmp/config.h" "$ac_file" \
   20256 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20257     fi
   20258   else
   20259     $as_echo "/* $configure_input  */" \
   20260       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20261       || as_fn_error $? "could not create -" "$LINENO" 5
   20262   fi
   20263 # Compute "$ac_file"'s index in $config_headers.
   20264 _am_arg="$ac_file"
   20265 _am_stamp_count=1
   20266 for _am_header in $config_headers :; do
   20267   case $_am_header in
   20268     $_am_arg | $_am_arg:* )
   20269       break ;;
   20270     * )
   20271       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20272   esac
   20273 done
   20274 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20275 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20276 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20277 	 X"$_am_arg" : 'X\(//\)$' \| \
   20278 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20279 $as_echo X"$_am_arg" |
   20280     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20281 	    s//\1/
   20282 	    q
   20283 	  }
   20284 	  /^X\(\/\/\)[^/].*/{
   20285 	    s//\1/
   20286 	    q
   20287 	  }
   20288 	  /^X\(\/\/\)$/{
   20289 	    s//\1/
   20290 	    q
   20291 	  }
   20292 	  /^X\(\/\).*/{
   20293 	    s//\1/
   20294 	    q
   20295 	  }
   20296 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20297  ;;
   20298 
   20299   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20300 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20301  ;;
   20302   esac
   20303 
   20304 
   20305   case $ac_file$ac_mode in
   20306     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20307   # Older Autoconf quotes --file arguments for eval, but not when files
   20308   # are listed without --file.  Let's play safe and only enable the eval
   20309   # if we detect the quoting.
   20310   case $CONFIG_FILES in
   20311   *\'*) eval set x "$CONFIG_FILES" ;;
   20312   *)   set x $CONFIG_FILES ;;
   20313   esac
   20314   shift
   20315   for mf
   20316   do
   20317     # Strip MF so we end up with the name of the file.
   20318     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20319     # Check whether this is an Automake generated Makefile or not.
   20320     # We used to match only the files named 'Makefile.in', but
   20321     # some people rename them; so instead we look at the file content.
   20322     # Grep'ing the first line is not enough: some people post-process
   20323     # each Makefile.in and add a new line on top of each file to say so.
   20324     # Grep'ing the whole file is not good either: AIX grep has a line
   20325     # limit of 2048, but all sed's we know have understand at least 4000.
   20326     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20327       dirpart=`$as_dirname -- "$mf" ||
   20328 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20329 	 X"$mf" : 'X\(//\)[^/]' \| \
   20330 	 X"$mf" : 'X\(//\)$' \| \
   20331 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20332 $as_echo X"$mf" |
   20333     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20334 	    s//\1/
   20335 	    q
   20336 	  }
   20337 	  /^X\(\/\/\)[^/].*/{
   20338 	    s//\1/
   20339 	    q
   20340 	  }
   20341 	  /^X\(\/\/\)$/{
   20342 	    s//\1/
   20343 	    q
   20344 	  }
   20345 	  /^X\(\/\).*/{
   20346 	    s//\1/
   20347 	    q
   20348 	  }
   20349 	  s/.*/./; q'`
   20350     else
   20351       continue
   20352     fi
   20353     # Extract the definition of DEPDIR, am__include, and am__quote
   20354     # from the Makefile without running 'make'.
   20355     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20356     test -z "$DEPDIR" && continue
   20357     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20358     test -z "$am__include" && continue
   20359     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20360     # Find all dependency output files, they are included files with
   20361     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20362     # simplest approach to changing $(DEPDIR) to its actual value in the
   20363     # expansion.
   20364     for file in `sed -n "
   20365       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20366 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20367       # Make sure the directory exists.
   20368       test -f "$dirpart/$file" && continue
   20369       fdir=`$as_dirname -- "$file" ||
   20370 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20371 	 X"$file" : 'X\(//\)[^/]' \| \
   20372 	 X"$file" : 'X\(//\)$' \| \
   20373 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20374 $as_echo X"$file" |
   20375     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20376 	    s//\1/
   20377 	    q
   20378 	  }
   20379 	  /^X\(\/\/\)[^/].*/{
   20380 	    s//\1/
   20381 	    q
   20382 	  }
   20383 	  /^X\(\/\/\)$/{
   20384 	    s//\1/
   20385 	    q
   20386 	  }
   20387 	  /^X\(\/\).*/{
   20388 	    s//\1/
   20389 	    q
   20390 	  }
   20391 	  s/.*/./; q'`
   20392       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20393       # echo "creating $dirpart/$file"
   20394       echo '# dummy' > "$dirpart/$file"
   20395     done
   20396   done
   20397 }
   20398  ;;
   20399     "libtool":C)
   20400 
   20401     # See if we are running on zsh, and set the options that allow our
   20402     # commands through without removal of \ escapes.
   20403     if test -n "${ZSH_VERSION+set}"; then
   20404       setopt NO_GLOB_SUBST
   20405     fi
   20406 
   20407     cfgfile=${ofile}T
   20408     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20409     $RM "$cfgfile"
   20410 
   20411     cat <<_LT_EOF >> "$cfgfile"
   20412 #! $SHELL
   20413 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20414 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20415 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20416 
   20417 # Provide generalized library-building support services.
   20418 # Written by Gordon Matzigkeit, 1996
   20419 
   20420 # Copyright (C) 2014 Free Software Foundation, Inc.
   20421 # This is free software; see the source for copying conditions.  There is NO
   20422 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20423 
   20424 # GNU Libtool is free software; you can redistribute it and/or modify
   20425 # it under the terms of the GNU General Public License as published by
   20426 # the Free Software Foundation; either version 2 of of the License, or
   20427 # (at your option) any later version.
   20428 #
   20429 # As a special exception to the GNU General Public License, if you
   20430 # distribute this file as part of a program or library that is built
   20431 # using GNU Libtool, you may include this file under the  same
   20432 # distribution terms that you use for the rest of that program.
   20433 #
   20434 # GNU Libtool is distributed in the hope that it will be useful, but
   20435 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20436 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20437 # GNU General Public License for more details.
   20438 #
   20439 # You should have received a copy of the GNU General Public License
   20440 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20441 
   20442 
   20443 # The names of the tagged configurations supported by this script.
   20444 available_tags=''
   20445 
   20446 # Configured defaults for sys_lib_dlsearch_path munging.
   20447 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20448 
   20449 # ### BEGIN LIBTOOL CONFIG
   20450 
   20451 # Whether or not to build static libraries.
   20452 build_old_libs=$enable_static
   20453 
   20454 # Which release of libtool.m4 was used?
   20455 macro_version=$macro_version
   20456 macro_revision=$macro_revision
   20457 
   20458 # Whether or not to build shared libraries.
   20459 build_libtool_libs=$enable_shared
   20460 
   20461 # What type of objects to build.
   20462 pic_mode=$pic_mode
   20463 
   20464 # Whether or not to optimize for fast installation.
   20465 fast_install=$enable_fast_install
   20466 
   20467 # Shared archive member basename,for filename based shared library versioning on AIX.
   20468 shared_archive_member_spec=$shared_archive_member_spec
   20469 
   20470 # Shell to use when invoking shell scripts.
   20471 SHELL=$lt_SHELL
   20472 
   20473 # An echo program that protects backslashes.
   20474 ECHO=$lt_ECHO
   20475 
   20476 # The PATH separator for the build system.
   20477 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20478 
   20479 # The host system.
   20480 host_alias=$host_alias
   20481 host=$host
   20482 host_os=$host_os
   20483 
   20484 # The build system.
   20485 build_alias=$build_alias
   20486 build=$build
   20487 build_os=$build_os
   20488 
   20489 # A sed program that does not truncate output.
   20490 SED=$lt_SED
   20491 
   20492 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20493 Xsed="\$SED -e 1s/^X//"
   20494 
   20495 # A grep program that handles long lines.
   20496 GREP=$lt_GREP
   20497 
   20498 # An ERE matcher.
   20499 EGREP=$lt_EGREP
   20500 
   20501 # A literal string matcher.
   20502 FGREP=$lt_FGREP
   20503 
   20504 # A BSD- or MS-compatible name lister.
   20505 NM=$lt_NM
   20506 
   20507 # Whether we need soft or hard links.
   20508 LN_S=$lt_LN_S
   20509 
   20510 # What is the maximum length of a command?
   20511 max_cmd_len=$max_cmd_len
   20512 
   20513 # Object file suffix (normally "o").
   20514 objext=$ac_objext
   20515 
   20516 # Executable file suffix (normally "").
   20517 exeext=$exeext
   20518 
   20519 # whether the shell understands "unset".
   20520 lt_unset=$lt_unset
   20521 
   20522 # turn spaces into newlines.
   20523 SP2NL=$lt_lt_SP2NL
   20524 
   20525 # turn newlines into spaces.
   20526 NL2SP=$lt_lt_NL2SP
   20527 
   20528 # convert \$build file names to \$host format.
   20529 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20530 
   20531 # convert \$build files to toolchain format.
   20532 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20533 
   20534 # An object symbol dumper.
   20535 OBJDUMP=$lt_OBJDUMP
   20536 
   20537 # Method to check whether dependent libraries are shared objects.
   20538 deplibs_check_method=$lt_deplibs_check_method
   20539 
   20540 # Command to use when deplibs_check_method = "file_magic".
   20541 file_magic_cmd=$lt_file_magic_cmd
   20542 
   20543 # How to find potential files when deplibs_check_method = "file_magic".
   20544 file_magic_glob=$lt_file_magic_glob
   20545 
   20546 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20547 want_nocaseglob=$lt_want_nocaseglob
   20548 
   20549 # DLL creation program.
   20550 DLLTOOL=$lt_DLLTOOL
   20551 
   20552 # Command to associate shared and link libraries.
   20553 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20554 
   20555 # The archiver.
   20556 AR=$lt_AR
   20557 
   20558 # Flags to create an archive.
   20559 AR_FLAGS=$lt_AR_FLAGS
   20560 
   20561 # How to feed a file listing to the archiver.
   20562 archiver_list_spec=$lt_archiver_list_spec
   20563 
   20564 # A symbol stripping program.
   20565 STRIP=$lt_STRIP
   20566 
   20567 # Commands used to install an old-style archive.
   20568 RANLIB=$lt_RANLIB
   20569 old_postinstall_cmds=$lt_old_postinstall_cmds
   20570 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20571 
   20572 # Whether to use a lock for old archive extraction.
   20573 lock_old_archive_extraction=$lock_old_archive_extraction
   20574 
   20575 # A C compiler.
   20576 LTCC=$lt_CC
   20577 
   20578 # LTCC compiler flags.
   20579 LTCFLAGS=$lt_CFLAGS
   20580 
   20581 # Take the output of nm and produce a listing of raw symbols and C names.
   20582 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20583 
   20584 # Transform the output of nm in a proper C declaration.
   20585 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20586 
   20587 # Transform the output of nm into a list of symbols to manually relocate.
   20588 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   20589 
   20590 # Transform the output of nm in a C name address pair.
   20591 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20592 
   20593 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20594 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20595 
   20596 # The name lister interface.
   20597 nm_interface=$lt_lt_cv_nm_interface
   20598 
   20599 # Specify filename containing input files for \$NM.
   20600 nm_file_list_spec=$lt_nm_file_list_spec
   20601 
   20602 # The root where to search for dependent libraries,and where our libraries should be installed.
   20603 lt_sysroot=$lt_sysroot
   20604 
   20605 # Command to truncate a binary pipe.
   20606 lt_truncate_bin=$lt_lt_cv_truncate_bin
   20607 
   20608 # The name of the directory that contains temporary libtool files.
   20609 objdir=$objdir
   20610 
   20611 # Used to examine libraries when file_magic_cmd begins with "file".
   20612 MAGIC_CMD=$MAGIC_CMD
   20613 
   20614 # Must we lock files when doing compilation?
   20615 need_locks=$lt_need_locks
   20616 
   20617 # Manifest tool.
   20618 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20619 
   20620 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20621 DSYMUTIL=$lt_DSYMUTIL
   20622 
   20623 # Tool to change global to local symbols on Mac OS X.
   20624 NMEDIT=$lt_NMEDIT
   20625 
   20626 # Tool to manipulate fat objects and archives on Mac OS X.
   20627 LIPO=$lt_LIPO
   20628 
   20629 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20630 OTOOL=$lt_OTOOL
   20631 
   20632 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20633 OTOOL64=$lt_OTOOL64
   20634 
   20635 # Old archive suffix (normally "a").
   20636 libext=$libext
   20637 
   20638 # Shared library suffix (normally ".so").
   20639 shrext_cmds=$lt_shrext_cmds
   20640 
   20641 # The commands to extract the exported symbol list from a shared archive.
   20642 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20643 
   20644 # Variables whose values should be saved in libtool wrapper scripts and
   20645 # restored at link time.
   20646 variables_saved_for_relink=$lt_variables_saved_for_relink
   20647 
   20648 # Do we need the "lib" prefix for modules?
   20649 need_lib_prefix=$need_lib_prefix
   20650 
   20651 # Do we need a version for libraries?
   20652 need_version=$need_version
   20653 
   20654 # Library versioning type.
   20655 version_type=$version_type
   20656 
   20657 # Shared library runtime path variable.
   20658 runpath_var=$runpath_var
   20659 
   20660 # Shared library path variable.
   20661 shlibpath_var=$shlibpath_var
   20662 
   20663 # Is shlibpath searched before the hard-coded library search path?
   20664 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20665 
   20666 # Format of library name prefix.
   20667 libname_spec=$lt_libname_spec
   20668 
   20669 # List of archive names.  First name is the real one, the rest are links.
   20670 # The last name is the one that the linker finds with -lNAME
   20671 library_names_spec=$lt_library_names_spec
   20672 
   20673 # The coded name of the library, if different from the real name.
   20674 soname_spec=$lt_soname_spec
   20675 
   20676 # Permission mode override for installation of shared libraries.
   20677 install_override_mode=$lt_install_override_mode
   20678 
   20679 # Command to use after installation of a shared archive.
   20680 postinstall_cmds=$lt_postinstall_cmds
   20681 
   20682 # Command to use after uninstallation of a shared archive.
   20683 postuninstall_cmds=$lt_postuninstall_cmds
   20684 
   20685 # Commands used to finish a libtool library installation in a directory.
   20686 finish_cmds=$lt_finish_cmds
   20687 
   20688 # As "finish_cmds", except a single script fragment to be evaled but
   20689 # not shown.
   20690 finish_eval=$lt_finish_eval
   20691 
   20692 # Whether we should hardcode library paths into libraries.
   20693 hardcode_into_libs=$hardcode_into_libs
   20694 
   20695 # Compile-time system search path for libraries.
   20696 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20697 
   20698 # Detected run-time system search path for libraries.
   20699 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   20700 
   20701 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   20702 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   20703 
   20704 # Whether dlopen is supported.
   20705 dlopen_support=$enable_dlopen
   20706 
   20707 # Whether dlopen of programs is supported.
   20708 dlopen_self=$enable_dlopen_self
   20709 
   20710 # Whether dlopen of statically linked programs is supported.
   20711 dlopen_self_static=$enable_dlopen_self_static
   20712 
   20713 # Commands to strip libraries.
   20714 old_striplib=$lt_old_striplib
   20715 striplib=$lt_striplib
   20716 
   20717 
   20718 # The linker used to build libraries.
   20719 LD=$lt_LD
   20720 
   20721 # How to create reloadable object files.
   20722 reload_flag=$lt_reload_flag
   20723 reload_cmds=$lt_reload_cmds
   20724 
   20725 # Commands used to build an old-style archive.
   20726 old_archive_cmds=$lt_old_archive_cmds
   20727 
   20728 # A language specific compiler.
   20729 CC=$lt_compiler
   20730 
   20731 # Is the compiler the GNU compiler?
   20732 with_gcc=$GCC
   20733 
   20734 # Compiler flag to turn off builtin functions.
   20735 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20736 
   20737 # Additional compiler flags for building library objects.
   20738 pic_flag=$lt_lt_prog_compiler_pic
   20739 
   20740 # How to pass a linker flag through the compiler.
   20741 wl=$lt_lt_prog_compiler_wl
   20742 
   20743 # Compiler flag to prevent dynamic linking.
   20744 link_static_flag=$lt_lt_prog_compiler_static
   20745 
   20746 # Does compiler simultaneously support -c and -o options?
   20747 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20748 
   20749 # Whether or not to add -lc for building shared libraries.
   20750 build_libtool_need_lc=$archive_cmds_need_lc
   20751 
   20752 # Whether or not to disallow shared libs when runtime libs are static.
   20753 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20754 
   20755 # Compiler flag to allow reflexive dlopens.
   20756 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20757 
   20758 # Compiler flag to generate shared objects directly from archives.
   20759 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20760 
   20761 # Whether the compiler copes with passing no objects directly.
   20762 compiler_needs_object=$lt_compiler_needs_object
   20763 
   20764 # Create an old-style archive from a shared archive.
   20765 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20766 
   20767 # Create a temporary old-style archive to link instead of a shared archive.
   20768 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20769 
   20770 # Commands used to build a shared archive.
   20771 archive_cmds=$lt_archive_cmds
   20772 archive_expsym_cmds=$lt_archive_expsym_cmds
   20773 
   20774 # Commands used to build a loadable module if different from building
   20775 # a shared archive.
   20776 module_cmds=$lt_module_cmds
   20777 module_expsym_cmds=$lt_module_expsym_cmds
   20778 
   20779 # Whether we are building with GNU ld or not.
   20780 with_gnu_ld=$lt_with_gnu_ld
   20781 
   20782 # Flag that allows shared libraries with undefined symbols to be built.
   20783 allow_undefined_flag=$lt_allow_undefined_flag
   20784 
   20785 # Flag that enforces no undefined symbols.
   20786 no_undefined_flag=$lt_no_undefined_flag
   20787 
   20788 # Flag to hardcode \$libdir into a binary during linking.
   20789 # This must work even if \$libdir does not exist
   20790 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20791 
   20792 # Whether we need a single "-rpath" flag with a separated argument.
   20793 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20794 
   20795 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20796 # DIR into the resulting binary.
   20797 hardcode_direct=$hardcode_direct
   20798 
   20799 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   20800 # DIR into the resulting binary and the resulting library dependency is
   20801 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   20802 # library is relocated.
   20803 hardcode_direct_absolute=$hardcode_direct_absolute
   20804 
   20805 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20806 # into the resulting binary.
   20807 hardcode_minus_L=$hardcode_minus_L
   20808 
   20809 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20810 # into the resulting binary.
   20811 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20812 
   20813 # Set to "yes" if building a shared library automatically hardcodes DIR
   20814 # into the library and all subsequent libraries and executables linked
   20815 # against it.
   20816 hardcode_automatic=$hardcode_automatic
   20817 
   20818 # Set to yes if linker adds runtime paths of dependent libraries
   20819 # to runtime path list.
   20820 inherit_rpath=$inherit_rpath
   20821 
   20822 # Whether libtool must link a program against all its dependency libraries.
   20823 link_all_deplibs=$link_all_deplibs
   20824 
   20825 # Set to "yes" if exported symbols are required.
   20826 always_export_symbols=$always_export_symbols
   20827 
   20828 # The commands to list exported symbols.
   20829 export_symbols_cmds=$lt_export_symbols_cmds
   20830 
   20831 # Symbols that should not be listed in the preloaded symbols.
   20832 exclude_expsyms=$lt_exclude_expsyms
   20833 
   20834 # Symbols that must always be exported.
   20835 include_expsyms=$lt_include_expsyms
   20836 
   20837 # Commands necessary for linking programs (against libraries) with templates.
   20838 prelink_cmds=$lt_prelink_cmds
   20839 
   20840 # Commands necessary for finishing linking programs.
   20841 postlink_cmds=$lt_postlink_cmds
   20842 
   20843 # Specify filename containing input files.
   20844 file_list_spec=$lt_file_list_spec
   20845 
   20846 # How to hardcode a shared library path into an executable.
   20847 hardcode_action=$hardcode_action
   20848 
   20849 # ### END LIBTOOL CONFIG
   20850 
   20851 _LT_EOF
   20852 
   20853     cat <<'_LT_EOF' >> "$cfgfile"
   20854 
   20855 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   20856 
   20857 # func_munge_path_list VARIABLE PATH
   20858 # -----------------------------------
   20859 # VARIABLE is name of variable containing _space_ separated list of
   20860 # directories to be munged by the contents of PATH, which is string
   20861 # having a format:
   20862 # "DIR[:DIR]:"
   20863 #       string "DIR[ DIR]" will be prepended to VARIABLE
   20864 # ":DIR[:DIR]"
   20865 #       string "DIR[ DIR]" will be appended to VARIABLE
   20866 # "DIRP[:DIRP]::[DIRA:]DIRA"
   20867 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   20868 #       "DIRA[ DIRA]" will be appended to VARIABLE
   20869 # "DIR[:DIR]"
   20870 #       VARIABLE will be replaced by "DIR[ DIR]"
   20871 func_munge_path_list ()
   20872 {
   20873     case x$2 in
   20874     x)
   20875         ;;
   20876     *:)
   20877         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   20878         ;;
   20879     x:*)
   20880         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   20881         ;;
   20882     *::*)
   20883         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   20884         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   20885         ;;
   20886     *)
   20887         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   20888         ;;
   20889     esac
   20890 }
   20891 
   20892 
   20893 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   20894 func_cc_basename ()
   20895 {
   20896     for cc_temp in $*""; do
   20897       case $cc_temp in
   20898         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   20899         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   20900         \-*) ;;
   20901         *) break;;
   20902       esac
   20903     done
   20904     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   20905 }
   20906 
   20907 
   20908 # ### END FUNCTIONS SHARED WITH CONFIGURE
   20909 
   20910 _LT_EOF
   20911 
   20912   case $host_os in
   20913   aix3*)
   20914     cat <<\_LT_EOF >> "$cfgfile"
   20915 # AIX sometimes has problems with the GCC collect2 program.  For some
   20916 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20917 # vanish in a puff of smoke.
   20918 if test set != "${COLLECT_NAMES+set}"; then
   20919   COLLECT_NAMES=
   20920   export COLLECT_NAMES
   20921 fi
   20922 _LT_EOF
   20923     ;;
   20924   esac
   20925 
   20926 
   20927 ltmain=$ac_aux_dir/ltmain.sh
   20928 
   20929 
   20930   # We use sed instead of cat because bash on DJGPP gets confused if
   20931   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20932   # text mode, it properly converts lines to CR/LF.  This bash problem
   20933   # is reportedly fixed, but why not run on old versions too?
   20934   sed '$q' "$ltmain" >> "$cfgfile" \
   20935      || (rm -f "$cfgfile"; exit 1)
   20936 
   20937    mv -f "$cfgfile" "$ofile" ||
   20938     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20939   chmod +x "$ofile"
   20940 
   20941  ;;
   20942 
   20943   esac
   20944 done # for ac_tag
   20945 
   20946 
   20947 as_fn_exit 0
   20948 _ACEOF
   20949 ac_clean_files=$ac_clean_files_save
   20950 
   20951 test $ac_write_fail = 0 ||
   20952   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20953 
   20954 
   20955 # configure is writing to config.log, and then calls config.status.
   20956 # config.status does its own redirection, appending to config.log.
   20957 # Unfortunately, on DOS this fails, as config.log is still kept open
   20958 # by configure, so config.status won't be able to write to it; its
   20959 # output is simply discarded.  So we exec the FD to /dev/null,
   20960 # effectively closing config.log, so it can be properly (re)opened and
   20961 # appended to by config.status.  When coming back to configure, we
   20962 # need to make the FD available again.
   20963 if test "$no_create" != yes; then
   20964   ac_cs_success=:
   20965   ac_config_status_args=
   20966   test "$silent" = yes &&
   20967     ac_config_status_args="$ac_config_status_args --quiet"
   20968   exec 5>/dev/null
   20969   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20970   exec 5>>config.log
   20971   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20972   # would make configure fail if this is the last instruction.
   20973   $ac_cs_success || as_fn_exit 1
   20974 fi
   20975 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20976   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20977 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20978 fi
   20979 
   20980