Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for libFS 1.0.8.
      4 #
      5 # Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libFS/issues>.
      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://gitlab.freedesktop.org/xorg/lib/libFS/issues
    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='libFS'
    593 PACKAGE_TARNAME='libFS'
    594 PACKAGE_VERSION='1.0.8'
    595 PACKAGE_STRING='libFS 1.0.8'
    596 PACKAGE_BUGREPORT='https://gitlab.freedesktop.org/xorg/lib/libFS/issues'
    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 MAKE_LINT_LIB_FALSE
    641 MAKE_LINT_LIB_TRUE
    642 LINTLIB
    643 LINT_FALSE
    644 LINT_TRUE
    645 LINT_FLAGS
    646 LINT
    647 FS_LIBS
    648 FS_CFLAGS
    649 XTMALLOC_ZERO_CFLAGS
    650 XMALLOC_ZERO_CFLAGS
    651 MALLOC_ZERO_CFLAGS
    652 MAN_SUBSTS
    653 XORG_MAN_PAGE
    654 ADMIN_MAN_DIR
    655 DRIVER_MAN_DIR
    656 MISC_MAN_DIR
    657 FILE_MAN_DIR
    658 LIB_MAN_DIR
    659 APP_MAN_DIR
    660 ADMIN_MAN_SUFFIX
    661 DRIVER_MAN_SUFFIX
    662 MISC_MAN_SUFFIX
    663 FILE_MAN_SUFFIX
    664 LIB_MAN_SUFFIX
    665 APP_MAN_SUFFIX
    666 INSTALL_CMD
    667 PKG_CONFIG_LIBDIR
    668 PKG_CONFIG_PATH
    669 PKG_CONFIG
    670 CHANGELOG_CMD
    671 STRICT_CFLAGS
    672 CWARNFLAGS
    673 BASE_CFLAGS
    674 LT_SYS_LIBRARY_PATH
    675 OTOOL64
    676 OTOOL
    677 LIPO
    678 NMEDIT
    679 DSYMUTIL
    680 MANIFEST_TOOL
    681 RANLIB
    682 ac_ct_AR
    683 AR
    684 DLLTOOL
    685 OBJDUMP
    686 LN_S
    687 NM
    688 ac_ct_DUMPBIN
    689 DUMPBIN
    690 LD
    691 FGREP
    692 SED
    693 host_os
    694 host_vendor
    695 host_cpu
    696 host
    697 build_os
    698 build_vendor
    699 build_cpu
    700 build
    701 LIBTOOL
    702 EGREP
    703 GREP
    704 CPP
    705 am__fastdepCC_FALSE
    706 am__fastdepCC_TRUE
    707 CCDEPMODE
    708 am__nodep
    709 AMDEPBACKSLASH
    710 AMDEP_FALSE
    711 AMDEP_TRUE
    712 am__quote
    713 am__include
    714 DEPDIR
    715 OBJEXT
    716 EXEEXT
    717 ac_ct_CC
    718 CPPFLAGS
    719 LDFLAGS
    720 CFLAGS
    721 CC
    722 AM_BACKSLASH
    723 AM_DEFAULT_VERBOSITY
    724 AM_DEFAULT_V
    725 AM_V
    726 am__untar
    727 am__tar
    728 AMTAR
    729 am__leading_dot
    730 SET_MAKE
    731 AWK
    732 mkdir_p
    733 MKDIR_P
    734 INSTALL_STRIP_PROGRAM
    735 STRIP
    736 install_sh
    737 MAKEINFO
    738 AUTOHEADER
    739 AUTOMAKE
    740 AUTOCONF
    741 ACLOCAL
    742 VERSION
    743 PACKAGE
    744 CYGPATH_W
    745 am__isrc
    746 INSTALL_DATA
    747 INSTALL_SCRIPT
    748 INSTALL_PROGRAM
    749 target_alias
    750 host_alias
    751 build_alias
    752 LIBS
    753 ECHO_T
    754 ECHO_N
    755 ECHO_C
    756 DEFS
    757 mandir
    758 localedir
    759 libdir
    760 psdir
    761 pdfdir
    762 dvidir
    763 htmldir
    764 infodir
    765 docdir
    766 oldincludedir
    767 includedir
    768 localstatedir
    769 sharedstatedir
    770 sysconfdir
    771 datadir
    772 datarootdir
    773 libexecdir
    774 sbindir
    775 bindir
    776 program_transform_name
    777 prefix
    778 exec_prefix
    779 PACKAGE_URL
    780 PACKAGE_BUGREPORT
    781 PACKAGE_STRING
    782 PACKAGE_VERSION
    783 PACKAGE_TARNAME
    784 PACKAGE_NAME
    785 PATH_SEPARATOR
    786 SHELL'
    787 ac_subst_files=''
    788 ac_user_opts='
    789 enable_option_checking
    790 enable_silent_rules
    791 enable_dependency_tracking
    792 enable_shared
    793 enable_static
    794 with_pic
    795 enable_fast_install
    796 with_aix_soname
    797 with_gnu_ld
    798 with_sysroot
    799 enable_libtool_lock
    800 enable_selective_werror
    801 enable_strict_compilation
    802 enable_malloc0returnsnull
    803 enable_unix_transport
    804 enable_tcp_transport
    805 enable_ipv6
    806 enable_local_transport
    807 with_lint
    808 enable_lint_library
    809 '
    810       ac_precious_vars='build_alias
    811 host_alias
    812 target_alias
    813 CC
    814 CFLAGS
    815 LDFLAGS
    816 LIBS
    817 CPPFLAGS
    818 CPP
    819 LT_SYS_LIBRARY_PATH
    820 PKG_CONFIG
    821 PKG_CONFIG_PATH
    822 PKG_CONFIG_LIBDIR
    823 FS_CFLAGS
    824 FS_LIBS
    825 LINT
    826 LINT_FLAGS'
    827 
    828 
    829 # Initialize some variables set by options.
    830 ac_init_help=
    831 ac_init_version=false
    832 ac_unrecognized_opts=
    833 ac_unrecognized_sep=
    834 # The variables have the same names as the options, with
    835 # dashes changed to underlines.
    836 cache_file=/dev/null
    837 exec_prefix=NONE
    838 no_create=
    839 no_recursion=
    840 prefix=NONE
    841 program_prefix=NONE
    842 program_suffix=NONE
    843 program_transform_name=s,x,x,
    844 silent=
    845 site=
    846 srcdir=
    847 verbose=
    848 x_includes=NONE
    849 x_libraries=NONE
    850 
    851 # Installation directory options.
    852 # These are left unexpanded so users can "make install exec_prefix=/foo"
    853 # and all the variables that are supposed to be based on exec_prefix
    854 # by default will actually change.
    855 # Use braces instead of parens because sh, perl, etc. also accept them.
    856 # (The list follows the same order as the GNU Coding Standards.)
    857 bindir='${exec_prefix}/bin'
    858 sbindir='${exec_prefix}/sbin'
    859 libexecdir='${exec_prefix}/libexec'
    860 datarootdir='${prefix}/share'
    861 datadir='${datarootdir}'
    862 sysconfdir='${prefix}/etc'
    863 sharedstatedir='${prefix}/com'
    864 localstatedir='${prefix}/var'
    865 includedir='${prefix}/include'
    866 oldincludedir='/usr/include'
    867 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    868 infodir='${datarootdir}/info'
    869 htmldir='${docdir}'
    870 dvidir='${docdir}'
    871 pdfdir='${docdir}'
    872 psdir='${docdir}'
    873 libdir='${exec_prefix}/lib'
    874 localedir='${datarootdir}/locale'
    875 mandir='${datarootdir}/man'
    876 
    877 ac_prev=
    878 ac_dashdash=
    879 for ac_option
    880 do
    881   # If the previous option needs an argument, assign it.
    882   if test -n "$ac_prev"; then
    883     eval $ac_prev=\$ac_option
    884     ac_prev=
    885     continue
    886   fi
    887 
    888   case $ac_option in
    889   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    890   *=)   ac_optarg= ;;
    891   *)    ac_optarg=yes ;;
    892   esac
    893 
    894   # Accept the important Cygnus configure options, so we can diagnose typos.
    895 
    896   case $ac_dashdash$ac_option in
    897   --)
    898     ac_dashdash=yes ;;
    899 
    900   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    901     ac_prev=bindir ;;
    902   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    903     bindir=$ac_optarg ;;
    904 
    905   -build | --build | --buil | --bui | --bu)
    906     ac_prev=build_alias ;;
    907   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    908     build_alias=$ac_optarg ;;
    909 
    910   -cache-file | --cache-file | --cache-fil | --cache-fi \
    911   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    912     ac_prev=cache_file ;;
    913   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    914   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    915     cache_file=$ac_optarg ;;
    916 
    917   --config-cache | -C)
    918     cache_file=config.cache ;;
    919 
    920   -datadir | --datadir | --datadi | --datad)
    921     ac_prev=datadir ;;
    922   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    923     datadir=$ac_optarg ;;
    924 
    925   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    926   | --dataroo | --dataro | --datar)
    927     ac_prev=datarootdir ;;
    928   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    929   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    930     datarootdir=$ac_optarg ;;
    931 
    932   -disable-* | --disable-*)
    933     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    934     # Reject names that are not valid shell variable names.
    935     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    936       as_fn_error $? "invalid feature name: $ac_useropt"
    937     ac_useropt_orig=$ac_useropt
    938     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    939     case $ac_user_opts in
    940       *"
    941 "enable_$ac_useropt"
    942 "*) ;;
    943       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    944 	 ac_unrecognized_sep=', ';;
    945     esac
    946     eval enable_$ac_useropt=no ;;
    947 
    948   -docdir | --docdir | --docdi | --doc | --do)
    949     ac_prev=docdir ;;
    950   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    951     docdir=$ac_optarg ;;
    952 
    953   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    954     ac_prev=dvidir ;;
    955   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    956     dvidir=$ac_optarg ;;
    957 
    958   -enable-* | --enable-*)
    959     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    960     # Reject names that are not valid shell variable names.
    961     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    962       as_fn_error $? "invalid feature name: $ac_useropt"
    963     ac_useropt_orig=$ac_useropt
    964     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    965     case $ac_user_opts in
    966       *"
    967 "enable_$ac_useropt"
    968 "*) ;;
    969       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    970 	 ac_unrecognized_sep=', ';;
    971     esac
    972     eval enable_$ac_useropt=\$ac_optarg ;;
    973 
    974   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    975   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    976   | --exec | --exe | --ex)
    977     ac_prev=exec_prefix ;;
    978   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    979   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    980   | --exec=* | --exe=* | --ex=*)
    981     exec_prefix=$ac_optarg ;;
    982 
    983   -gas | --gas | --ga | --g)
    984     # Obsolete; use --with-gas.
    985     with_gas=yes ;;
    986 
    987   -help | --help | --hel | --he | -h)
    988     ac_init_help=long ;;
    989   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    990     ac_init_help=recursive ;;
    991   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    992     ac_init_help=short ;;
    993 
    994   -host | --host | --hos | --ho)
    995     ac_prev=host_alias ;;
    996   -host=* | --host=* | --hos=* | --ho=*)
    997     host_alias=$ac_optarg ;;
    998 
    999   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1000     ac_prev=htmldir ;;
   1001   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1002   | --ht=*)
   1003     htmldir=$ac_optarg ;;
   1004 
   1005   -includedir | --includedir | --includedi | --included | --include \
   1006   | --includ | --inclu | --incl | --inc)
   1007     ac_prev=includedir ;;
   1008   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1009   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1010     includedir=$ac_optarg ;;
   1011 
   1012   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1013     ac_prev=infodir ;;
   1014   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1015     infodir=$ac_optarg ;;
   1016 
   1017   -libdir | --libdir | --libdi | --libd)
   1018     ac_prev=libdir ;;
   1019   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1020     libdir=$ac_optarg ;;
   1021 
   1022   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1023   | --libexe | --libex | --libe)
   1024     ac_prev=libexecdir ;;
   1025   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1026   | --libexe=* | --libex=* | --libe=*)
   1027     libexecdir=$ac_optarg ;;
   1028 
   1029   -localedir | --localedir | --localedi | --localed | --locale)
   1030     ac_prev=localedir ;;
   1031   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1032     localedir=$ac_optarg ;;
   1033 
   1034   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1035   | --localstate | --localstat | --localsta | --localst | --locals)
   1036     ac_prev=localstatedir ;;
   1037   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1038   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1039     localstatedir=$ac_optarg ;;
   1040 
   1041   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1042     ac_prev=mandir ;;
   1043   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1044     mandir=$ac_optarg ;;
   1045 
   1046   -nfp | --nfp | --nf)
   1047     # Obsolete; use --without-fp.
   1048     with_fp=no ;;
   1049 
   1050   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1051   | --no-cr | --no-c | -n)
   1052     no_create=yes ;;
   1053 
   1054   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1055   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1056     no_recursion=yes ;;
   1057 
   1058   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1059   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1060   | --oldin | --oldi | --old | --ol | --o)
   1061     ac_prev=oldincludedir ;;
   1062   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1063   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1064   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1065     oldincludedir=$ac_optarg ;;
   1066 
   1067   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1068     ac_prev=prefix ;;
   1069   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1070     prefix=$ac_optarg ;;
   1071 
   1072   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1073   | --program-pre | --program-pr | --program-p)
   1074     ac_prev=program_prefix ;;
   1075   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1076   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1077     program_prefix=$ac_optarg ;;
   1078 
   1079   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1080   | --program-suf | --program-su | --program-s)
   1081     ac_prev=program_suffix ;;
   1082   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1083   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1084     program_suffix=$ac_optarg ;;
   1085 
   1086   -program-transform-name | --program-transform-name \
   1087   | --program-transform-nam | --program-transform-na \
   1088   | --program-transform-n | --program-transform- \
   1089   | --program-transform | --program-transfor \
   1090   | --program-transfo | --program-transf \
   1091   | --program-trans | --program-tran \
   1092   | --progr-tra | --program-tr | --program-t)
   1093     ac_prev=program_transform_name ;;
   1094   -program-transform-name=* | --program-transform-name=* \
   1095   | --program-transform-nam=* | --program-transform-na=* \
   1096   | --program-transform-n=* | --program-transform-=* \
   1097   | --program-transform=* | --program-transfor=* \
   1098   | --program-transfo=* | --program-transf=* \
   1099   | --program-trans=* | --program-tran=* \
   1100   | --progr-tra=* | --program-tr=* | --program-t=*)
   1101     program_transform_name=$ac_optarg ;;
   1102 
   1103   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1104     ac_prev=pdfdir ;;
   1105   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1106     pdfdir=$ac_optarg ;;
   1107 
   1108   -psdir | --psdir | --psdi | --psd | --ps)
   1109     ac_prev=psdir ;;
   1110   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1111     psdir=$ac_optarg ;;
   1112 
   1113   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1114   | -silent | --silent | --silen | --sile | --sil)
   1115     silent=yes ;;
   1116 
   1117   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1118     ac_prev=sbindir ;;
   1119   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1120   | --sbi=* | --sb=*)
   1121     sbindir=$ac_optarg ;;
   1122 
   1123   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1124   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1125   | --sharedst | --shareds | --shared | --share | --shar \
   1126   | --sha | --sh)
   1127     ac_prev=sharedstatedir ;;
   1128   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1129   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1130   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1131   | --sha=* | --sh=*)
   1132     sharedstatedir=$ac_optarg ;;
   1133 
   1134   -site | --site | --sit)
   1135     ac_prev=site ;;
   1136   -site=* | --site=* | --sit=*)
   1137     site=$ac_optarg ;;
   1138 
   1139   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1140     ac_prev=srcdir ;;
   1141   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1142     srcdir=$ac_optarg ;;
   1143 
   1144   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1145   | --syscon | --sysco | --sysc | --sys | --sy)
   1146     ac_prev=sysconfdir ;;
   1147   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1148   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1149     sysconfdir=$ac_optarg ;;
   1150 
   1151   -target | --target | --targe | --targ | --tar | --ta | --t)
   1152     ac_prev=target_alias ;;
   1153   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1154     target_alias=$ac_optarg ;;
   1155 
   1156   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1157     verbose=yes ;;
   1158 
   1159   -version | --version | --versio | --versi | --vers | -V)
   1160     ac_init_version=: ;;
   1161 
   1162   -with-* | --with-*)
   1163     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1164     # Reject names that are not valid shell variable names.
   1165     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1166       as_fn_error $? "invalid package name: $ac_useropt"
   1167     ac_useropt_orig=$ac_useropt
   1168     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1169     case $ac_user_opts in
   1170       *"
   1171 "with_$ac_useropt"
   1172 "*) ;;
   1173       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1174 	 ac_unrecognized_sep=', ';;
   1175     esac
   1176     eval with_$ac_useropt=\$ac_optarg ;;
   1177 
   1178   -without-* | --without-*)
   1179     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1180     # Reject names that are not valid shell variable names.
   1181     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1182       as_fn_error $? "invalid package name: $ac_useropt"
   1183     ac_useropt_orig=$ac_useropt
   1184     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1185     case $ac_user_opts in
   1186       *"
   1187 "with_$ac_useropt"
   1188 "*) ;;
   1189       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1190 	 ac_unrecognized_sep=', ';;
   1191     esac
   1192     eval with_$ac_useropt=no ;;
   1193 
   1194   --x)
   1195     # Obsolete; use --with-x.
   1196     with_x=yes ;;
   1197 
   1198   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1199   | --x-incl | --x-inc | --x-in | --x-i)
   1200     ac_prev=x_includes ;;
   1201   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1202   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1203     x_includes=$ac_optarg ;;
   1204 
   1205   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1206   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1207     ac_prev=x_libraries ;;
   1208   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1209   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1210     x_libraries=$ac_optarg ;;
   1211 
   1212   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1213 Try \`$0 --help' for more information"
   1214     ;;
   1215 
   1216   *=*)
   1217     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1218     # Reject names that are not valid shell variable names.
   1219     case $ac_envvar in #(
   1220       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1221       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1222     esac
   1223     eval $ac_envvar=\$ac_optarg
   1224     export $ac_envvar ;;
   1225 
   1226   *)
   1227     # FIXME: should be removed in autoconf 3.0.
   1228     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1229     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1230       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1231     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1232     ;;
   1233 
   1234   esac
   1235 done
   1236 
   1237 if test -n "$ac_prev"; then
   1238   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1239   as_fn_error $? "missing argument to $ac_option"
   1240 fi
   1241 
   1242 if test -n "$ac_unrecognized_opts"; then
   1243   case $enable_option_checking in
   1244     no) ;;
   1245     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1246     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1247   esac
   1248 fi
   1249 
   1250 # Check all directory arguments for consistency.
   1251 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1252 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1253 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1254 		libdir localedir mandir
   1255 do
   1256   eval ac_val=\$$ac_var
   1257   # Remove trailing slashes.
   1258   case $ac_val in
   1259     */ )
   1260       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1261       eval $ac_var=\$ac_val;;
   1262   esac
   1263   # Be sure to have absolute directory names.
   1264   case $ac_val in
   1265     [\\/$]* | ?:[\\/]* )  continue;;
   1266     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1267   esac
   1268   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1269 done
   1270 
   1271 # There might be people who depend on the old broken behavior: `$host'
   1272 # used to hold the argument of --host etc.
   1273 # FIXME: To remove some day.
   1274 build=$build_alias
   1275 host=$host_alias
   1276 target=$target_alias
   1277 
   1278 # FIXME: To remove some day.
   1279 if test "x$host_alias" != x; then
   1280   if test "x$build_alias" = x; then
   1281     cross_compiling=maybe
   1282   elif test "x$build_alias" != "x$host_alias"; then
   1283     cross_compiling=yes
   1284   fi
   1285 fi
   1286 
   1287 ac_tool_prefix=
   1288 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1289 
   1290 test "$silent" = yes && exec 6>/dev/null
   1291 
   1292 
   1293 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1294 ac_ls_di=`ls -di .` &&
   1295 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1296   as_fn_error $? "working directory cannot be determined"
   1297 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1298   as_fn_error $? "pwd does not report name of working directory"
   1299 
   1300 
   1301 # Find the source files, if location was not specified.
   1302 if test -z "$srcdir"; then
   1303   ac_srcdir_defaulted=yes
   1304   # Try the directory containing this script, then the parent directory.
   1305   ac_confdir=`$as_dirname -- "$as_myself" ||
   1306 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1307 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1308 	 X"$as_myself" : 'X\(//\)$' \| \
   1309 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1310 $as_echo X"$as_myself" |
   1311     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1312 	    s//\1/
   1313 	    q
   1314 	  }
   1315 	  /^X\(\/\/\)[^/].*/{
   1316 	    s//\1/
   1317 	    q
   1318 	  }
   1319 	  /^X\(\/\/\)$/{
   1320 	    s//\1/
   1321 	    q
   1322 	  }
   1323 	  /^X\(\/\).*/{
   1324 	    s//\1/
   1325 	    q
   1326 	  }
   1327 	  s/.*/./; q'`
   1328   srcdir=$ac_confdir
   1329   if test ! -r "$srcdir/$ac_unique_file"; then
   1330     srcdir=..
   1331   fi
   1332 else
   1333   ac_srcdir_defaulted=no
   1334 fi
   1335 if test ! -r "$srcdir/$ac_unique_file"; then
   1336   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1337   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1338 fi
   1339 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1340 ac_abs_confdir=`(
   1341 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1342 	pwd)`
   1343 # When building in place, set srcdir=.
   1344 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1345   srcdir=.
   1346 fi
   1347 # Remove unnecessary trailing slashes from srcdir.
   1348 # Double slashes in file names in object file debugging info
   1349 # mess up M-x gdb in Emacs.
   1350 case $srcdir in
   1351 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1352 esac
   1353 for ac_var in $ac_precious_vars; do
   1354   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1355   eval ac_env_${ac_var}_value=\$${ac_var}
   1356   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1357   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1358 done
   1359 
   1360 #
   1361 # Report the --help message.
   1362 #
   1363 if test "$ac_init_help" = "long"; then
   1364   # Omit some internal or obsolete options to make the list less imposing.
   1365   # This message is too long to be a string in the A/UX 3.1 sh.
   1366   cat <<_ACEOF
   1367 \`configure' configures libFS 1.0.8 to adapt to many kinds of systems.
   1368 
   1369 Usage: $0 [OPTION]... [VAR=VALUE]...
   1370 
   1371 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1372 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1373 
   1374 Defaults for the options are specified in brackets.
   1375 
   1376 Configuration:
   1377   -h, --help              display this help and exit
   1378       --help=short        display options specific to this package
   1379       --help=recursive    display the short help of all the included packages
   1380   -V, --version           display version information and exit
   1381   -q, --quiet, --silent   do not print \`checking ...' messages
   1382       --cache-file=FILE   cache test results in FILE [disabled]
   1383   -C, --config-cache      alias for \`--cache-file=config.cache'
   1384   -n, --no-create         do not create output files
   1385       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1386 
   1387 Installation directories:
   1388   --prefix=PREFIX         install architecture-independent files in PREFIX
   1389                           [$ac_default_prefix]
   1390   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1391                           [PREFIX]
   1392 
   1393 By default, \`make install' will install all the files in
   1394 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1395 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1396 for instance \`--prefix=\$HOME'.
   1397 
   1398 For better control, use the options below.
   1399 
   1400 Fine tuning of the installation directories:
   1401   --bindir=DIR            user executables [EPREFIX/bin]
   1402   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1403   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1404   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1405   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1406   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1407   --libdir=DIR            object code libraries [EPREFIX/lib]
   1408   --includedir=DIR        C header files [PREFIX/include]
   1409   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1410   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1411   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1412   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1413   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1414   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1415   --docdir=DIR            documentation root [DATAROOTDIR/doc/libFS]
   1416   --htmldir=DIR           html documentation [DOCDIR]
   1417   --dvidir=DIR            dvi documentation [DOCDIR]
   1418   --pdfdir=DIR            pdf documentation [DOCDIR]
   1419   --psdir=DIR             ps documentation [DOCDIR]
   1420 _ACEOF
   1421 
   1422   cat <<\_ACEOF
   1423 
   1424 Program names:
   1425   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1426   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1427   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1428 
   1429 System types:
   1430   --build=BUILD     configure for building on BUILD [guessed]
   1431   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1432 _ACEOF
   1433 fi
   1434 
   1435 if test -n "$ac_init_help"; then
   1436   case $ac_init_help in
   1437      short | recursive ) echo "Configuration of libFS 1.0.8:";;
   1438    esac
   1439   cat <<\_ACEOF
   1440 
   1441 Optional Features:
   1442   --disable-option-checking  ignore unrecognized --enable/--with options
   1443   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1444   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1445   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1446   --disable-silent-rules  verbose build output (undo: "make V=0")
   1447   --enable-dependency-tracking
   1448                           do not reject slow dependency extractors
   1449   --disable-dependency-tracking
   1450                           speeds up one-time build
   1451   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1452   --enable-static[=PKGS]  build static libraries [default=yes]
   1453   --enable-fast-install[=PKGS]
   1454                           optimize for fast installation [default=yes]
   1455   --disable-libtool-lock  avoid locking (might break parallel builds)
   1456   --disable-selective-werror
   1457                           Turn off selective compiler errors. (default:
   1458                           enabled)
   1459   --enable-strict-compilation
   1460                           Enable all warnings from compiler and make them
   1461                           errors (default: disabled)
   1462   --enable-malloc0returnsnull
   1463                           malloc(0) returns NULL (default: auto)
   1464   --enable-unix-transport Enable UNIX domain socket transport
   1465   --enable-tcp-transport  Enable TCP socket transport
   1466   --enable-ipv6           Enable IPv6 support
   1467   --enable-local-transport
   1468                           Enable os-specific local transport
   1469   --enable-lint-library   Create lint library (default: disabled)
   1470 
   1471 Optional Packages:
   1472   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1473   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1474   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1475                           both]
   1476   --with-aix-soname=aix|svr4|both
   1477                           shared library versioning (aka "SONAME") variant to
   1478                           provide on AIX, [default=aix].
   1479   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1480   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1481                           compiler's sysroot if not specified).
   1482   --with-lint             Use a lint-style source code checker (default:
   1483                           disabled)
   1484 
   1485 Some influential environment variables:
   1486   CC          C compiler command
   1487   CFLAGS      C compiler flags
   1488   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1489               nonstandard directory <lib dir>
   1490   LIBS        libraries to pass to the linker, e.g. -l<library>
   1491   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1492               you have headers in a nonstandard directory <include dir>
   1493   CPP         C preprocessor
   1494   LT_SYS_LIBRARY_PATH
   1495               User-defined run-time library search path.
   1496   PKG_CONFIG  path to pkg-config utility
   1497   PKG_CONFIG_PATH
   1498               directories to add to pkg-config's search path
   1499   PKG_CONFIG_LIBDIR
   1500               path overriding pkg-config's built-in search path
   1501   FS_CFLAGS   C compiler flags for FS, overriding pkg-config
   1502   FS_LIBS     linker flags for FS, overriding pkg-config
   1503   LINT        Path to a lint-style command
   1504   LINT_FLAGS  Flags for the lint-style command
   1505 
   1506 Use these variables to override the choices made by `configure' or to help
   1507 it to find libraries and programs with nonstandard names/locations.
   1508 
   1509 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libFS/issues>.
   1510 _ACEOF
   1511 ac_status=$?
   1512 fi
   1513 
   1514 if test "$ac_init_help" = "recursive"; then
   1515   # If there are subdirs, report their specific --help.
   1516   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1517     test -d "$ac_dir" ||
   1518       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1519       continue
   1520     ac_builddir=.
   1521 
   1522 case "$ac_dir" in
   1523 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1524 *)
   1525   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1526   # A ".." for each directory in $ac_dir_suffix.
   1527   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1528   case $ac_top_builddir_sub in
   1529   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1530   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1531   esac ;;
   1532 esac
   1533 ac_abs_top_builddir=$ac_pwd
   1534 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1535 # for backward compatibility:
   1536 ac_top_builddir=$ac_top_build_prefix
   1537 
   1538 case $srcdir in
   1539   .)  # We are building in place.
   1540     ac_srcdir=.
   1541     ac_top_srcdir=$ac_top_builddir_sub
   1542     ac_abs_top_srcdir=$ac_pwd ;;
   1543   [\\/]* | ?:[\\/]* )  # Absolute name.
   1544     ac_srcdir=$srcdir$ac_dir_suffix;
   1545     ac_top_srcdir=$srcdir
   1546     ac_abs_top_srcdir=$srcdir ;;
   1547   *) # Relative name.
   1548     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1549     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1550     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1551 esac
   1552 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1553 
   1554     cd "$ac_dir" || { ac_status=$?; continue; }
   1555     # Check for guested configure.
   1556     if test -f "$ac_srcdir/configure.gnu"; then
   1557       echo &&
   1558       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1559     elif test -f "$ac_srcdir/configure"; then
   1560       echo &&
   1561       $SHELL "$ac_srcdir/configure" --help=recursive
   1562     else
   1563       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1564     fi || ac_status=$?
   1565     cd "$ac_pwd" || { ac_status=$?; break; }
   1566   done
   1567 fi
   1568 
   1569 test -n "$ac_init_help" && exit $ac_status
   1570 if $ac_init_version; then
   1571   cat <<\_ACEOF
   1572 libFS configure 1.0.8
   1573 generated by GNU Autoconf 2.69
   1574 
   1575 Copyright (C) 2012 Free Software Foundation, Inc.
   1576 This configure script is free software; the Free Software Foundation
   1577 gives unlimited permission to copy, distribute and modify it.
   1578 _ACEOF
   1579   exit
   1580 fi
   1581 
   1582 ## ------------------------ ##
   1583 ## Autoconf initialization. ##
   1584 ## ------------------------ ##
   1585 
   1586 # ac_fn_c_try_compile LINENO
   1587 # --------------------------
   1588 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1589 ac_fn_c_try_compile ()
   1590 {
   1591   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1592   rm -f conftest.$ac_objext
   1593   if { { ac_try="$ac_compile"
   1594 case "(($ac_try" in
   1595   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1596   *) ac_try_echo=$ac_try;;
   1597 esac
   1598 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1599 $as_echo "$ac_try_echo"; } >&5
   1600   (eval "$ac_compile") 2>conftest.err
   1601   ac_status=$?
   1602   if test -s conftest.err; then
   1603     grep -v '^ *+' conftest.err >conftest.er1
   1604     cat conftest.er1 >&5
   1605     mv -f conftest.er1 conftest.err
   1606   fi
   1607   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1608   test $ac_status = 0; } && {
   1609 	 test -z "$ac_c_werror_flag" ||
   1610 	 test ! -s conftest.err
   1611        } && test -s conftest.$ac_objext; then :
   1612   ac_retval=0
   1613 else
   1614   $as_echo "$as_me: failed program was:" >&5
   1615 sed 's/^/| /' conftest.$ac_ext >&5
   1616 
   1617 	ac_retval=1
   1618 fi
   1619   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1620   as_fn_set_status $ac_retval
   1621 
   1622 } # ac_fn_c_try_compile
   1623 
   1624 # ac_fn_c_try_cpp LINENO
   1625 # ----------------------
   1626 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1627 ac_fn_c_try_cpp ()
   1628 {
   1629   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1630   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1631 case "(($ac_try" in
   1632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1633   *) ac_try_echo=$ac_try;;
   1634 esac
   1635 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1636 $as_echo "$ac_try_echo"; } >&5
   1637   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1638   ac_status=$?
   1639   if test -s conftest.err; then
   1640     grep -v '^ *+' conftest.err >conftest.er1
   1641     cat conftest.er1 >&5
   1642     mv -f conftest.er1 conftest.err
   1643   fi
   1644   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1645   test $ac_status = 0; } > conftest.i && {
   1646 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1647 	 test ! -s conftest.err
   1648        }; then :
   1649   ac_retval=0
   1650 else
   1651   $as_echo "$as_me: failed program was:" >&5
   1652 sed 's/^/| /' conftest.$ac_ext >&5
   1653 
   1654     ac_retval=1
   1655 fi
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657   as_fn_set_status $ac_retval
   1658 
   1659 } # ac_fn_c_try_cpp
   1660 
   1661 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1662 # -------------------------------------------------------
   1663 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1664 # the include files in INCLUDES and setting the cache variable VAR
   1665 # accordingly.
   1666 ac_fn_c_check_header_mongrel ()
   1667 {
   1668   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1669   if eval \${$3+:} false; then :
   1670   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1671 $as_echo_n "checking for $2... " >&6; }
   1672 if eval \${$3+:} false; then :
   1673   $as_echo_n "(cached) " >&6
   1674 fi
   1675 eval ac_res=\$$3
   1676 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1677 $as_echo "$ac_res" >&6; }
   1678 else
   1679   # Is the header compilable?
   1680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1681 $as_echo_n "checking $2 usability... " >&6; }
   1682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1683 /* end confdefs.h.  */
   1684 $4
   1685 #include <$2>
   1686 _ACEOF
   1687 if ac_fn_c_try_compile "$LINENO"; then :
   1688   ac_header_compiler=yes
   1689 else
   1690   ac_header_compiler=no
   1691 fi
   1692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1694 $as_echo "$ac_header_compiler" >&6; }
   1695 
   1696 # Is the header present?
   1697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1698 $as_echo_n "checking $2 presence... " >&6; }
   1699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1700 /* end confdefs.h.  */
   1701 #include <$2>
   1702 _ACEOF
   1703 if ac_fn_c_try_cpp "$LINENO"; then :
   1704   ac_header_preproc=yes
   1705 else
   1706   ac_header_preproc=no
   1707 fi
   1708 rm -f conftest.err conftest.i conftest.$ac_ext
   1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1710 $as_echo "$ac_header_preproc" >&6; }
   1711 
   1712 # So?  What about this header?
   1713 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1714   yes:no: )
   1715     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1716 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1717     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1718 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1719     ;;
   1720   no:yes:* )
   1721     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1722 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1723     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1724 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1725     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1726 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1727     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1728 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1729     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1730 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1731 ( $as_echo "## ------------------------------------------------------------------- ##
   1732 ## Report this to https://gitlab.freedesktop.org/xorg/lib/libFS/issues ##
   1733 ## ------------------------------------------------------------------- ##"
   1734      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1735     ;;
   1736 esac
   1737   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1738 $as_echo_n "checking for $2... " >&6; }
   1739 if eval \${$3+:} false; then :
   1740   $as_echo_n "(cached) " >&6
   1741 else
   1742   eval "$3=\$ac_header_compiler"
   1743 fi
   1744 eval ac_res=\$$3
   1745 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1746 $as_echo "$ac_res" >&6; }
   1747 fi
   1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1749 
   1750 } # ac_fn_c_check_header_mongrel
   1751 
   1752 # ac_fn_c_try_run LINENO
   1753 # ----------------------
   1754 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1755 # that executables *can* be run.
   1756 ac_fn_c_try_run ()
   1757 {
   1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1759   if { { ac_try="$ac_link"
   1760 case "(($ac_try" in
   1761   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1762   *) ac_try_echo=$ac_try;;
   1763 esac
   1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1765 $as_echo "$ac_try_echo"; } >&5
   1766   (eval "$ac_link") 2>&5
   1767   ac_status=$?
   1768   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1769   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1770   { { case "(($ac_try" in
   1771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1772   *) ac_try_echo=$ac_try;;
   1773 esac
   1774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1775 $as_echo "$ac_try_echo"; } >&5
   1776   (eval "$ac_try") 2>&5
   1777   ac_status=$?
   1778   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1779   test $ac_status = 0; }; }; then :
   1780   ac_retval=0
   1781 else
   1782   $as_echo "$as_me: program exited with status $ac_status" >&5
   1783        $as_echo "$as_me: failed program was:" >&5
   1784 sed 's/^/| /' conftest.$ac_ext >&5
   1785 
   1786        ac_retval=$ac_status
   1787 fi
   1788   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1789   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1790   as_fn_set_status $ac_retval
   1791 
   1792 } # ac_fn_c_try_run
   1793 
   1794 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1795 # -------------------------------------------------------
   1796 # Tests whether HEADER exists and can be compiled using the include files in
   1797 # INCLUDES, setting the cache variable VAR accordingly.
   1798 ac_fn_c_check_header_compile ()
   1799 {
   1800   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1801   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1802 $as_echo_n "checking for $2... " >&6; }
   1803 if eval \${$3+:} false; then :
   1804   $as_echo_n "(cached) " >&6
   1805 else
   1806   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1807 /* end confdefs.h.  */
   1808 $4
   1809 #include <$2>
   1810 _ACEOF
   1811 if ac_fn_c_try_compile "$LINENO"; then :
   1812   eval "$3=yes"
   1813 else
   1814   eval "$3=no"
   1815 fi
   1816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1817 fi
   1818 eval ac_res=\$$3
   1819 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1820 $as_echo "$ac_res" >&6; }
   1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1822 
   1823 } # ac_fn_c_check_header_compile
   1824 
   1825 # ac_fn_c_try_link LINENO
   1826 # -----------------------
   1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1828 ac_fn_c_try_link ()
   1829 {
   1830   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1831   rm -f conftest.$ac_objext conftest$ac_exeext
   1832   if { { ac_try="$ac_link"
   1833 case "(($ac_try" in
   1834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1835   *) ac_try_echo=$ac_try;;
   1836 esac
   1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1838 $as_echo "$ac_try_echo"; } >&5
   1839   (eval "$ac_link") 2>conftest.err
   1840   ac_status=$?
   1841   if test -s conftest.err; then
   1842     grep -v '^ *+' conftest.err >conftest.er1
   1843     cat conftest.er1 >&5
   1844     mv -f conftest.er1 conftest.err
   1845   fi
   1846   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1847   test $ac_status = 0; } && {
   1848 	 test -z "$ac_c_werror_flag" ||
   1849 	 test ! -s conftest.err
   1850        } && test -s conftest$ac_exeext && {
   1851 	 test "$cross_compiling" = yes ||
   1852 	 test -x conftest$ac_exeext
   1853        }; then :
   1854   ac_retval=0
   1855 else
   1856   $as_echo "$as_me: failed program was:" >&5
   1857 sed 's/^/| /' conftest.$ac_ext >&5
   1858 
   1859 	ac_retval=1
   1860 fi
   1861   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1862   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1863   # interfere with the next link command; also delete a directory that is
   1864   # left behind by Apple's compiler.  We do this before executing the actions.
   1865   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1866   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1867   as_fn_set_status $ac_retval
   1868 
   1869 } # ac_fn_c_try_link
   1870 
   1871 # ac_fn_c_check_func LINENO FUNC VAR
   1872 # ----------------------------------
   1873 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1874 ac_fn_c_check_func ()
   1875 {
   1876   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1877   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1878 $as_echo_n "checking for $2... " >&6; }
   1879 if eval \${$3+:} false; then :
   1880   $as_echo_n "(cached) " >&6
   1881 else
   1882   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1883 /* end confdefs.h.  */
   1884 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1885    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1886 #define $2 innocuous_$2
   1887 
   1888 /* System header to define __stub macros and hopefully few prototypes,
   1889     which can conflict with char $2 (); below.
   1890     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1891     <limits.h> exists even on freestanding compilers.  */
   1892 
   1893 #ifdef __STDC__
   1894 # include <limits.h>
   1895 #else
   1896 # include <assert.h>
   1897 #endif
   1898 
   1899 #undef $2
   1900 
   1901 /* Override any GCC internal prototype to avoid an error.
   1902    Use char because int might match the return type of a GCC
   1903    builtin and then its argument prototype would still apply.  */
   1904 #ifdef __cplusplus
   1905 extern "C"
   1906 #endif
   1907 char $2 ();
   1908 /* The GNU C library defines this for functions which it implements
   1909     to always fail with ENOSYS.  Some functions are actually named
   1910     something starting with __ and the normal name is an alias.  */
   1911 #if defined __stub_$2 || defined __stub___$2
   1912 choke me
   1913 #endif
   1914 
   1915 int
   1916 main ()
   1917 {
   1918 return $2 ();
   1919   ;
   1920   return 0;
   1921 }
   1922 _ACEOF
   1923 if ac_fn_c_try_link "$LINENO"; then :
   1924   eval "$3=yes"
   1925 else
   1926   eval "$3=no"
   1927 fi
   1928 rm -f core conftest.err conftest.$ac_objext \
   1929     conftest$ac_exeext conftest.$ac_ext
   1930 fi
   1931 eval ac_res=\$$3
   1932 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1933 $as_echo "$ac_res" >&6; }
   1934   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1935 
   1936 } # ac_fn_c_check_func
   1937 
   1938 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1939 # ---------------------------------------------
   1940 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1941 # accordingly.
   1942 ac_fn_c_check_decl ()
   1943 {
   1944   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1945   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1946   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1947   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1948 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1949 if eval \${$3+:} false; then :
   1950   $as_echo_n "(cached) " >&6
   1951 else
   1952   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1953 /* end confdefs.h.  */
   1954 $4
   1955 int
   1956 main ()
   1957 {
   1958 #ifndef $as_decl_name
   1959 #ifdef __cplusplus
   1960   (void) $as_decl_use;
   1961 #else
   1962   (void) $as_decl_name;
   1963 #endif
   1964 #endif
   1965 
   1966   ;
   1967   return 0;
   1968 }
   1969 _ACEOF
   1970 if ac_fn_c_try_compile "$LINENO"; then :
   1971   eval "$3=yes"
   1972 else
   1973   eval "$3=no"
   1974 fi
   1975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1976 fi
   1977 eval ac_res=\$$3
   1978 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1979 $as_echo "$ac_res" >&6; }
   1980   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1981 
   1982 } # ac_fn_c_check_decl
   1983 
   1984 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
   1985 # ----------------------------------------------------
   1986 # Tries to find if the field MEMBER exists in type AGGR, after including
   1987 # INCLUDES, setting cache variable VAR accordingly.
   1988 ac_fn_c_check_member ()
   1989 {
   1990   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
   1992 $as_echo_n "checking for $2.$3... " >&6; }
   1993 if eval \${$4+:} false; then :
   1994   $as_echo_n "(cached) " >&6
   1995 else
   1996   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1997 /* end confdefs.h.  */
   1998 $5
   1999 int
   2000 main ()
   2001 {
   2002 static $2 ac_aggr;
   2003 if (ac_aggr.$3)
   2004 return 0;
   2005   ;
   2006   return 0;
   2007 }
   2008 _ACEOF
   2009 if ac_fn_c_try_compile "$LINENO"; then :
   2010   eval "$4=yes"
   2011 else
   2012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2013 /* end confdefs.h.  */
   2014 $5
   2015 int
   2016 main ()
   2017 {
   2018 static $2 ac_aggr;
   2019 if (sizeof ac_aggr.$3)
   2020 return 0;
   2021   ;
   2022   return 0;
   2023 }
   2024 _ACEOF
   2025 if ac_fn_c_try_compile "$LINENO"; then :
   2026   eval "$4=yes"
   2027 else
   2028   eval "$4=no"
   2029 fi
   2030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2031 fi
   2032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2033 fi
   2034 eval ac_res=\$$4
   2035 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2036 $as_echo "$ac_res" >&6; }
   2037   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2038 
   2039 } # ac_fn_c_check_member
   2040 
   2041 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
   2042 # -------------------------------------------
   2043 # Tests whether TYPE exists after having included INCLUDES, setting cache
   2044 # variable VAR accordingly.
   2045 ac_fn_c_check_type ()
   2046 {
   2047   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   2048   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   2049 $as_echo_n "checking for $2... " >&6; }
   2050 if eval \${$3+:} false; then :
   2051   $as_echo_n "(cached) " >&6
   2052 else
   2053   eval "$3=no"
   2054   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2055 /* end confdefs.h.  */
   2056 $4
   2057 int
   2058 main ()
   2059 {
   2060 if (sizeof ($2))
   2061 	 return 0;
   2062   ;
   2063   return 0;
   2064 }
   2065 _ACEOF
   2066 if ac_fn_c_try_compile "$LINENO"; then :
   2067   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   2068 /* end confdefs.h.  */
   2069 $4
   2070 int
   2071 main ()
   2072 {
   2073 if (sizeof (($2)))
   2074 	    return 0;
   2075   ;
   2076   return 0;
   2077 }
   2078 _ACEOF
   2079 if ac_fn_c_try_compile "$LINENO"; then :
   2080 
   2081 else
   2082   eval "$3=yes"
   2083 fi
   2084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2085 fi
   2086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   2087 fi
   2088 eval ac_res=\$$3
   2089 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   2090 $as_echo "$ac_res" >&6; }
   2091   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   2092 
   2093 } # ac_fn_c_check_type
   2094 cat >config.log <<_ACEOF
   2095 This file contains any messages produced by compilers while
   2096 running configure, to aid debugging if configure makes a mistake.
   2097 
   2098 It was created by libFS $as_me 1.0.8, which was
   2099 generated by GNU Autoconf 2.69.  Invocation command line was
   2100 
   2101   $ $0 $@
   2102 
   2103 _ACEOF
   2104 exec 5>>config.log
   2105 {
   2106 cat <<_ASUNAME
   2107 ## --------- ##
   2108 ## Platform. ##
   2109 ## --------- ##
   2110 
   2111 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2112 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2113 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2114 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2115 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2116 
   2117 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2118 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2119 
   2120 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2121 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2122 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2123 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2124 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2125 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2126 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2127 
   2128 _ASUNAME
   2129 
   2130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2131 for as_dir in $PATH
   2132 do
   2133   IFS=$as_save_IFS
   2134   test -z "$as_dir" && as_dir=.
   2135     $as_echo "PATH: $as_dir"
   2136   done
   2137 IFS=$as_save_IFS
   2138 
   2139 } >&5
   2140 
   2141 cat >&5 <<_ACEOF
   2142 
   2143 
   2144 ## ----------- ##
   2145 ## Core tests. ##
   2146 ## ----------- ##
   2147 
   2148 _ACEOF
   2149 
   2150 
   2151 # Keep a trace of the command line.
   2152 # Strip out --no-create and --no-recursion so they do not pile up.
   2153 # Strip out --silent because we don't want to record it for future runs.
   2154 # Also quote any args containing shell meta-characters.
   2155 # Make two passes to allow for proper duplicate-argument suppression.
   2156 ac_configure_args=
   2157 ac_configure_args0=
   2158 ac_configure_args1=
   2159 ac_must_keep_next=false
   2160 for ac_pass in 1 2
   2161 do
   2162   for ac_arg
   2163   do
   2164     case $ac_arg in
   2165     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2166     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2167     | -silent | --silent | --silen | --sile | --sil)
   2168       continue ;;
   2169     *\'*)
   2170       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2171     esac
   2172     case $ac_pass in
   2173     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2174     2)
   2175       as_fn_append ac_configure_args1 " '$ac_arg'"
   2176       if test $ac_must_keep_next = true; then
   2177 	ac_must_keep_next=false # Got value, back to normal.
   2178       else
   2179 	case $ac_arg in
   2180 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2181 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2182 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2183 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2184 	    case "$ac_configure_args0 " in
   2185 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2186 	    esac
   2187 	    ;;
   2188 	  -* ) ac_must_keep_next=true ;;
   2189 	esac
   2190       fi
   2191       as_fn_append ac_configure_args " '$ac_arg'"
   2192       ;;
   2193     esac
   2194   done
   2195 done
   2196 { ac_configure_args0=; unset ac_configure_args0;}
   2197 { ac_configure_args1=; unset ac_configure_args1;}
   2198 
   2199 # When interrupted or exit'd, cleanup temporary files, and complete
   2200 # config.log.  We remove comments because anyway the quotes in there
   2201 # would cause problems or look ugly.
   2202 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2203 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2204 trap 'exit_status=$?
   2205   # Save into config.log some information that might help in debugging.
   2206   {
   2207     echo
   2208 
   2209     $as_echo "## ---------------- ##
   2210 ## Cache variables. ##
   2211 ## ---------------- ##"
   2212     echo
   2213     # The following way of writing the cache mishandles newlines in values,
   2214 (
   2215   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2216     eval ac_val=\$$ac_var
   2217     case $ac_val in #(
   2218     *${as_nl}*)
   2219       case $ac_var in #(
   2220       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2221 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2222       esac
   2223       case $ac_var in #(
   2224       _ | IFS | as_nl) ;; #(
   2225       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2226       *) { eval $ac_var=; unset $ac_var;} ;;
   2227       esac ;;
   2228     esac
   2229   done
   2230   (set) 2>&1 |
   2231     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2232     *${as_nl}ac_space=\ *)
   2233       sed -n \
   2234 	"s/'\''/'\''\\\\'\'''\''/g;
   2235 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2236       ;; #(
   2237     *)
   2238       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2239       ;;
   2240     esac |
   2241     sort
   2242 )
   2243     echo
   2244 
   2245     $as_echo "## ----------------- ##
   2246 ## Output variables. ##
   2247 ## ----------------- ##"
   2248     echo
   2249     for ac_var in $ac_subst_vars
   2250     do
   2251       eval ac_val=\$$ac_var
   2252       case $ac_val in
   2253       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2254       esac
   2255       $as_echo "$ac_var='\''$ac_val'\''"
   2256     done | sort
   2257     echo
   2258 
   2259     if test -n "$ac_subst_files"; then
   2260       $as_echo "## ------------------- ##
   2261 ## File substitutions. ##
   2262 ## ------------------- ##"
   2263       echo
   2264       for ac_var in $ac_subst_files
   2265       do
   2266 	eval ac_val=\$$ac_var
   2267 	case $ac_val in
   2268 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2269 	esac
   2270 	$as_echo "$ac_var='\''$ac_val'\''"
   2271       done | sort
   2272       echo
   2273     fi
   2274 
   2275     if test -s confdefs.h; then
   2276       $as_echo "## ----------- ##
   2277 ## confdefs.h. ##
   2278 ## ----------- ##"
   2279       echo
   2280       cat confdefs.h
   2281       echo
   2282     fi
   2283     test "$ac_signal" != 0 &&
   2284       $as_echo "$as_me: caught signal $ac_signal"
   2285     $as_echo "$as_me: exit $exit_status"
   2286   } >&5
   2287   rm -f core *.core core.conftest.* &&
   2288     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2289     exit $exit_status
   2290 ' 0
   2291 for ac_signal in 1 2 13 15; do
   2292   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2293 done
   2294 ac_signal=0
   2295 
   2296 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2297 rm -f -r conftest* confdefs.h
   2298 
   2299 $as_echo "/* confdefs.h */" > confdefs.h
   2300 
   2301 # Predefined preprocessor variables.
   2302 
   2303 cat >>confdefs.h <<_ACEOF
   2304 #define PACKAGE_NAME "$PACKAGE_NAME"
   2305 _ACEOF
   2306 
   2307 cat >>confdefs.h <<_ACEOF
   2308 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2309 _ACEOF
   2310 
   2311 cat >>confdefs.h <<_ACEOF
   2312 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2313 _ACEOF
   2314 
   2315 cat >>confdefs.h <<_ACEOF
   2316 #define PACKAGE_STRING "$PACKAGE_STRING"
   2317 _ACEOF
   2318 
   2319 cat >>confdefs.h <<_ACEOF
   2320 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2321 _ACEOF
   2322 
   2323 cat >>confdefs.h <<_ACEOF
   2324 #define PACKAGE_URL "$PACKAGE_URL"
   2325 _ACEOF
   2326 
   2327 
   2328 # Let the site file select an alternate cache file if it wants to.
   2329 # Prefer an explicitly selected file to automatically selected ones.
   2330 ac_site_file1=NONE
   2331 ac_site_file2=NONE
   2332 if test -n "$CONFIG_SITE"; then
   2333   # We do not want a PATH search for config.site.
   2334   case $CONFIG_SITE in #((
   2335     -*)  ac_site_file1=./$CONFIG_SITE;;
   2336     */*) ac_site_file1=$CONFIG_SITE;;
   2337     *)   ac_site_file1=./$CONFIG_SITE;;
   2338   esac
   2339 elif test "x$prefix" != xNONE; then
   2340   ac_site_file1=$prefix/share/config.site
   2341   ac_site_file2=$prefix/etc/config.site
   2342 else
   2343   ac_site_file1=$ac_default_prefix/share/config.site
   2344   ac_site_file2=$ac_default_prefix/etc/config.site
   2345 fi
   2346 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2347 do
   2348   test "x$ac_site_file" = xNONE && continue
   2349   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2350     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2351 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2352     sed 's/^/| /' "$ac_site_file" >&5
   2353     . "$ac_site_file" \
   2354       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2356 as_fn_error $? "failed to load site script $ac_site_file
   2357 See \`config.log' for more details" "$LINENO" 5; }
   2358   fi
   2359 done
   2360 
   2361 if test -r "$cache_file"; then
   2362   # Some versions of bash will fail to source /dev/null (special files
   2363   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2364   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2365     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2366 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2367     case $cache_file in
   2368       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2369       *)                      . "./$cache_file";;
   2370     esac
   2371   fi
   2372 else
   2373   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2374 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2375   >$cache_file
   2376 fi
   2377 
   2378 # Check that the precious variables saved in the cache have kept the same
   2379 # value.
   2380 ac_cache_corrupted=false
   2381 for ac_var in $ac_precious_vars; do
   2382   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2383   eval ac_new_set=\$ac_env_${ac_var}_set
   2384   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2385   eval ac_new_val=\$ac_env_${ac_var}_value
   2386   case $ac_old_set,$ac_new_set in
   2387     set,)
   2388       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2389 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2390       ac_cache_corrupted=: ;;
   2391     ,set)
   2392       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2393 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2394       ac_cache_corrupted=: ;;
   2395     ,);;
   2396     *)
   2397       if test "x$ac_old_val" != "x$ac_new_val"; then
   2398 	# differences in whitespace do not lead to failure.
   2399 	ac_old_val_w=`echo x $ac_old_val`
   2400 	ac_new_val_w=`echo x $ac_new_val`
   2401 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2402 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2403 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2404 	  ac_cache_corrupted=:
   2405 	else
   2406 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2407 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2408 	  eval $ac_var=\$ac_old_val
   2409 	fi
   2410 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2411 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2412 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2413 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2414       fi;;
   2415   esac
   2416   # Pass precious variables to config.status.
   2417   if test "$ac_new_set" = set; then
   2418     case $ac_new_val in
   2419     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2420     *) ac_arg=$ac_var=$ac_new_val ;;
   2421     esac
   2422     case " $ac_configure_args " in
   2423       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2424       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2425     esac
   2426   fi
   2427 done
   2428 if $ac_cache_corrupted; then
   2429   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2431   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2432 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2433   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2434 fi
   2435 ## -------------------- ##
   2436 ## Main body of script. ##
   2437 ## -------------------- ##
   2438 
   2439 ac_ext=c
   2440 ac_cpp='$CPP $CPPFLAGS'
   2441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2444 
   2445 
   2446 
   2447 ac_config_headers="$ac_config_headers config.h"
   2448 
   2449 
   2450 # Initialize Automake
   2451 am__api_version='1.15'
   2452 
   2453 ac_aux_dir=
   2454 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
   2455   if test -f "$ac_dir/install-sh"; then
   2456     ac_aux_dir=$ac_dir
   2457     ac_install_sh="$ac_aux_dir/install-sh -c"
   2458     break
   2459   elif test -f "$ac_dir/install.sh"; then
   2460     ac_aux_dir=$ac_dir
   2461     ac_install_sh="$ac_aux_dir/install.sh -c"
   2462     break
   2463   elif test -f "$ac_dir/shtool"; then
   2464     ac_aux_dir=$ac_dir
   2465     ac_install_sh="$ac_aux_dir/shtool install -c"
   2466     break
   2467   fi
   2468 done
   2469 if test -z "$ac_aux_dir"; then
   2470   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
   2471 fi
   2472 
   2473 # These three variables are undocumented and unsupported,
   2474 # and are intended to be withdrawn in a future Autoconf release.
   2475 # They can cause serious problems if a builder's source tree is in a directory
   2476 # whose full name contains unusual characters.
   2477 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2478 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2479 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2480 
   2481 
   2482 # Find a good install program.  We prefer a C program (faster),
   2483 # so one script is as good as another.  But avoid the broken or
   2484 # incompatible versions:
   2485 # SysV /etc/install, /usr/sbin/install
   2486 # SunOS /usr/etc/install
   2487 # IRIX /sbin/install
   2488 # AIX /bin/install
   2489 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2490 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2491 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2492 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2493 # OS/2's system install, which has a completely different semantic
   2494 # ./install, which can be erroneously created by make from ./install.sh.
   2495 # Reject install programs that cannot install multiple files.
   2496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2497 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2498 if test -z "$INSTALL"; then
   2499 if ${ac_cv_path_install+:} false; then :
   2500   $as_echo_n "(cached) " >&6
   2501 else
   2502   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2503 for as_dir in $PATH
   2504 do
   2505   IFS=$as_save_IFS
   2506   test -z "$as_dir" && as_dir=.
   2507     # Account for people who put trailing slashes in PATH elements.
   2508 case $as_dir/ in #((
   2509   ./ | .// | /[cC]/* | \
   2510   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2511   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2512   /usr/ucb/* ) ;;
   2513   *)
   2514     # OSF1 and SCO ODT 3.0 have their own names for install.
   2515     # Don't use installbsd from OSF since it installs stuff as root
   2516     # by default.
   2517     for ac_prog in ginstall scoinst install; do
   2518       for ac_exec_ext in '' $ac_executable_extensions; do
   2519 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2520 	  if test $ac_prog = install &&
   2521 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2522 	    # AIX install.  It has an incompatible calling convention.
   2523 	    :
   2524 	  elif test $ac_prog = install &&
   2525 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2526 	    # program-specific install script used by HP pwplus--don't use.
   2527 	    :
   2528 	  else
   2529 	    rm -rf conftest.one conftest.two conftest.dir
   2530 	    echo one > conftest.one
   2531 	    echo two > conftest.two
   2532 	    mkdir conftest.dir
   2533 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2534 	      test -s conftest.one && test -s conftest.two &&
   2535 	      test -s conftest.dir/conftest.one &&
   2536 	      test -s conftest.dir/conftest.two
   2537 	    then
   2538 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2539 	      break 3
   2540 	    fi
   2541 	  fi
   2542 	fi
   2543       done
   2544     done
   2545     ;;
   2546 esac
   2547 
   2548   done
   2549 IFS=$as_save_IFS
   2550 
   2551 rm -rf conftest.one conftest.two conftest.dir
   2552 
   2553 fi
   2554   if test "${ac_cv_path_install+set}" = set; then
   2555     INSTALL=$ac_cv_path_install
   2556   else
   2557     # As a last resort, use the slow shell script.  Don't cache a
   2558     # value for INSTALL within a source directory, because that will
   2559     # break other packages using the cache if that directory is
   2560     # removed, or if the value is a relative name.
   2561     INSTALL=$ac_install_sh
   2562   fi
   2563 fi
   2564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2565 $as_echo "$INSTALL" >&6; }
   2566 
   2567 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2568 # It thinks the first close brace ends the variable substitution.
   2569 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2570 
   2571 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2572 
   2573 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2574 
   2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2576 $as_echo_n "checking whether build environment is sane... " >&6; }
   2577 # Reject unsafe characters in $srcdir or the absolute working directory
   2578 # name.  Accept space and tab only in the latter.
   2579 am_lf='
   2580 '
   2581 case `pwd` in
   2582   *[\\\"\#\$\&\'\`$am_lf]*)
   2583     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2584 esac
   2585 case $srcdir in
   2586   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2587     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2588 esac
   2589 
   2590 # Do 'set' in a subshell so we don't clobber the current shell's
   2591 # arguments.  Must try -L first in case configure is actually a
   2592 # symlink; some systems play weird games with the mod time of symlinks
   2593 # (eg FreeBSD returns the mod time of the symlink's containing
   2594 # directory).
   2595 if (
   2596    am_has_slept=no
   2597    for am_try in 1 2; do
   2598      echo "timestamp, slept: $am_has_slept" > conftest.file
   2599      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2600      if test "$*" = "X"; then
   2601 	# -L didn't work.
   2602 	set X `ls -t "$srcdir/configure" conftest.file`
   2603      fi
   2604      if test "$*" != "X $srcdir/configure conftest.file" \
   2605 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2606 
   2607 	# If neither matched, then we have a broken ls.  This can happen
   2608 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2609 	# broken ls alias from the environment.  This has actually
   2610 	# happened.  Such a system could not be considered "sane".
   2611 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2612   alias in your environment" "$LINENO" 5
   2613      fi
   2614      if test "$2" = conftest.file || test $am_try -eq 2; then
   2615        break
   2616      fi
   2617      # Just in case.
   2618      sleep 1
   2619      am_has_slept=yes
   2620    done
   2621    test "$2" = conftest.file
   2622    )
   2623 then
   2624    # Ok.
   2625    :
   2626 else
   2627    as_fn_error $? "newly created file is older than distributed files!
   2628 Check your system clock" "$LINENO" 5
   2629 fi
   2630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2631 $as_echo "yes" >&6; }
   2632 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2633 # generated files are strictly newer.
   2634 am_sleep_pid=
   2635 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2636   ( sleep 1 ) &
   2637   am_sleep_pid=$!
   2638 fi
   2639 
   2640 rm -f conftest.file
   2641 
   2642 test "$program_prefix" != NONE &&
   2643   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2644 # Use a double $ so make ignores it.
   2645 test "$program_suffix" != NONE &&
   2646   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2647 # Double any \ or $.
   2648 # By default was `s,x,x', remove it if useless.
   2649 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2650 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2651 
   2652 # Expand $ac_aux_dir to an absolute path.
   2653 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2654 
   2655 if test x"${MISSING+set}" != xset; then
   2656   case $am_aux_dir in
   2657   *\ * | *\	*)
   2658     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2659   *)
   2660     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2661   esac
   2662 fi
   2663 # Use eval to expand $SHELL
   2664 if eval "$MISSING --is-lightweight"; then
   2665   am_missing_run="$MISSING "
   2666 else
   2667   am_missing_run=
   2668   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2669 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2670 fi
   2671 
   2672 if test x"${install_sh+set}" != xset; then
   2673   case $am_aux_dir in
   2674   *\ * | *\	*)
   2675     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2676   *)
   2677     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2678   esac
   2679 fi
   2680 
   2681 # Installed binaries are usually stripped using 'strip' when the user
   2682 # run "make install-strip".  However 'strip' might not be the right
   2683 # tool to use in cross-compilation environments, therefore Automake
   2684 # will honor the 'STRIP' environment variable to overrule this program.
   2685 if test "$cross_compiling" != no; then
   2686   if test -n "$ac_tool_prefix"; then
   2687   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2688 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2690 $as_echo_n "checking for $ac_word... " >&6; }
   2691 if ${ac_cv_prog_STRIP+:} false; then :
   2692   $as_echo_n "(cached) " >&6
   2693 else
   2694   if test -n "$STRIP"; then
   2695   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2696 else
   2697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2698 for as_dir in $PATH
   2699 do
   2700   IFS=$as_save_IFS
   2701   test -z "$as_dir" && as_dir=.
   2702     for ac_exec_ext in '' $ac_executable_extensions; do
   2703   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2704     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2705     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2706     break 2
   2707   fi
   2708 done
   2709   done
   2710 IFS=$as_save_IFS
   2711 
   2712 fi
   2713 fi
   2714 STRIP=$ac_cv_prog_STRIP
   2715 if test -n "$STRIP"; then
   2716   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2717 $as_echo "$STRIP" >&6; }
   2718 else
   2719   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2720 $as_echo "no" >&6; }
   2721 fi
   2722 
   2723 
   2724 fi
   2725 if test -z "$ac_cv_prog_STRIP"; then
   2726   ac_ct_STRIP=$STRIP
   2727   # Extract the first word of "strip", so it can be a program name with args.
   2728 set dummy strip; ac_word=$2
   2729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2730 $as_echo_n "checking for $ac_word... " >&6; }
   2731 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2732   $as_echo_n "(cached) " >&6
   2733 else
   2734   if test -n "$ac_ct_STRIP"; then
   2735   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2736 else
   2737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2738 for as_dir in $PATH
   2739 do
   2740   IFS=$as_save_IFS
   2741   test -z "$as_dir" && as_dir=.
   2742     for ac_exec_ext in '' $ac_executable_extensions; do
   2743   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2744     ac_cv_prog_ac_ct_STRIP="strip"
   2745     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2746     break 2
   2747   fi
   2748 done
   2749   done
   2750 IFS=$as_save_IFS
   2751 
   2752 fi
   2753 fi
   2754 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2755 if test -n "$ac_ct_STRIP"; then
   2756   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2757 $as_echo "$ac_ct_STRIP" >&6; }
   2758 else
   2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2760 $as_echo "no" >&6; }
   2761 fi
   2762 
   2763   if test "x$ac_ct_STRIP" = x; then
   2764     STRIP=":"
   2765   else
   2766     case $cross_compiling:$ac_tool_warned in
   2767 yes:)
   2768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2770 ac_tool_warned=yes ;;
   2771 esac
   2772     STRIP=$ac_ct_STRIP
   2773   fi
   2774 else
   2775   STRIP="$ac_cv_prog_STRIP"
   2776 fi
   2777 
   2778 fi
   2779 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2780 
   2781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2782 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2783 if test -z "$MKDIR_P"; then
   2784   if ${ac_cv_path_mkdir+:} false; then :
   2785   $as_echo_n "(cached) " >&6
   2786 else
   2787   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2788 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2789 do
   2790   IFS=$as_save_IFS
   2791   test -z "$as_dir" && as_dir=.
   2792     for ac_prog in mkdir gmkdir; do
   2793 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2794 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2795 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2796 	     'mkdir (GNU coreutils) '* | \
   2797 	     'mkdir (coreutils) '* | \
   2798 	     'mkdir (fileutils) '4.1*)
   2799 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2800 	       break 3;;
   2801 	   esac
   2802 	 done
   2803        done
   2804   done
   2805 IFS=$as_save_IFS
   2806 
   2807 fi
   2808 
   2809   test -d ./--version && rmdir ./--version
   2810   if test "${ac_cv_path_mkdir+set}" = set; then
   2811     MKDIR_P="$ac_cv_path_mkdir -p"
   2812   else
   2813     # As a last resort, use the slow shell script.  Don't cache a
   2814     # value for MKDIR_P within a source directory, because that will
   2815     # break other packages using the cache if that directory is
   2816     # removed, or if the value is a relative name.
   2817     MKDIR_P="$ac_install_sh -d"
   2818   fi
   2819 fi
   2820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2821 $as_echo "$MKDIR_P" >&6; }
   2822 
   2823 for ac_prog in gawk mawk nawk awk
   2824 do
   2825   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2826 set dummy $ac_prog; ac_word=$2
   2827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2828 $as_echo_n "checking for $ac_word... " >&6; }
   2829 if ${ac_cv_prog_AWK+:} false; then :
   2830   $as_echo_n "(cached) " >&6
   2831 else
   2832   if test -n "$AWK"; then
   2833   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2834 else
   2835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2836 for as_dir in $PATH
   2837 do
   2838   IFS=$as_save_IFS
   2839   test -z "$as_dir" && as_dir=.
   2840     for ac_exec_ext in '' $ac_executable_extensions; do
   2841   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2842     ac_cv_prog_AWK="$ac_prog"
   2843     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2844     break 2
   2845   fi
   2846 done
   2847   done
   2848 IFS=$as_save_IFS
   2849 
   2850 fi
   2851 fi
   2852 AWK=$ac_cv_prog_AWK
   2853 if test -n "$AWK"; then
   2854   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2855 $as_echo "$AWK" >&6; }
   2856 else
   2857   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2858 $as_echo "no" >&6; }
   2859 fi
   2860 
   2861 
   2862   test -n "$AWK" && break
   2863 done
   2864 
   2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2866 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2867 set x ${MAKE-make}
   2868 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2869 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2870   $as_echo_n "(cached) " >&6
   2871 else
   2872   cat >conftest.make <<\_ACEOF
   2873 SHELL = /bin/sh
   2874 all:
   2875 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2876 _ACEOF
   2877 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2878 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2879   *@@@%%%=?*=@@@%%%*)
   2880     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2881   *)
   2882     eval ac_cv_prog_make_${ac_make}_set=no;;
   2883 esac
   2884 rm -f conftest.make
   2885 fi
   2886 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2887   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2888 $as_echo "yes" >&6; }
   2889   SET_MAKE=
   2890 else
   2891   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2892 $as_echo "no" >&6; }
   2893   SET_MAKE="MAKE=${MAKE-make}"
   2894 fi
   2895 
   2896 rm -rf .tst 2>/dev/null
   2897 mkdir .tst 2>/dev/null
   2898 if test -d .tst; then
   2899   am__leading_dot=.
   2900 else
   2901   am__leading_dot=_
   2902 fi
   2903 rmdir .tst 2>/dev/null
   2904 
   2905 # Check whether --enable-silent-rules was given.
   2906 if test "${enable_silent_rules+set}" = set; then :
   2907   enableval=$enable_silent_rules;
   2908 fi
   2909 
   2910 case $enable_silent_rules in # (((
   2911   yes) AM_DEFAULT_VERBOSITY=0;;
   2912    no) AM_DEFAULT_VERBOSITY=1;;
   2913     *) AM_DEFAULT_VERBOSITY=1;;
   2914 esac
   2915 am_make=${MAKE-make}
   2916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2917 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2918 if ${am_cv_make_support_nested_variables+:} false; then :
   2919   $as_echo_n "(cached) " >&6
   2920 else
   2921   if $as_echo 'TRUE=$(BAR$(V))
   2922 BAR0=false
   2923 BAR1=true
   2924 V=1
   2925 am__doit:
   2926 	@$(TRUE)
   2927 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2928   am_cv_make_support_nested_variables=yes
   2929 else
   2930   am_cv_make_support_nested_variables=no
   2931 fi
   2932 fi
   2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2934 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2935 if test $am_cv_make_support_nested_variables = yes; then
   2936     AM_V='$(V)'
   2937   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2938 else
   2939   AM_V=$AM_DEFAULT_VERBOSITY
   2940   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2941 fi
   2942 AM_BACKSLASH='\'
   2943 
   2944 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2945   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2946   # is not polluted with repeated "-I."
   2947   am__isrc=' -I$(srcdir)'
   2948   # test to see if srcdir already configured
   2949   if test -f $srcdir/config.status; then
   2950     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2951   fi
   2952 fi
   2953 
   2954 # test whether we have cygpath
   2955 if test -z "$CYGPATH_W"; then
   2956   if (cygpath --version) >/dev/null 2>/dev/null; then
   2957     CYGPATH_W='cygpath -w'
   2958   else
   2959     CYGPATH_W=echo
   2960   fi
   2961 fi
   2962 
   2963 
   2964 # Define the identity of the package.
   2965  PACKAGE='libFS'
   2966  VERSION='1.0.8'
   2967 
   2968 
   2969 cat >>confdefs.h <<_ACEOF
   2970 #define PACKAGE "$PACKAGE"
   2971 _ACEOF
   2972 
   2973 
   2974 cat >>confdefs.h <<_ACEOF
   2975 #define VERSION "$VERSION"
   2976 _ACEOF
   2977 
   2978 # Some tools Automake needs.
   2979 
   2980 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2981 
   2982 
   2983 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2984 
   2985 
   2986 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2987 
   2988 
   2989 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2990 
   2991 
   2992 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2993 
   2994 # For better backward compatibility.  To be removed once Automake 1.9.x
   2995 # dies out for good.  For more background, see:
   2996 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2997 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2998 mkdir_p='$(MKDIR_P)'
   2999 
   3000 # We need awk for the "check" target (and possibly the TAP driver).  The
   3001 # system "awk" is bad on some platforms.
   3002 # Always define AMTAR for backward compatibility.  Yes, it's still used
   3003 # in the wild :-(  We should find a proper way to deprecate it ...
   3004 AMTAR='$${TAR-tar}'
   3005 
   3006 
   3007 # We'll loop over all known methods to create a tar archive until one works.
   3008 _am_tools='gnutar  pax cpio none'
   3009 
   3010 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   3011 
   3012 
   3013 
   3014 
   3015 
   3016 
   3017 # POSIX will say in a future version that running "rm -f" with no argument
   3018 # is OK; and we want to be able to make that assumption in our Makefile
   3019 # recipes.  So use an aggressive probe to check that the usage we want is
   3020 # actually supported "in the wild" to an acceptable degree.
   3021 # See automake bug#10828.
   3022 # To make any issue more visible, cause the running configure to be aborted
   3023 # by default if the 'rm' program in use doesn't match our expectations; the
   3024 # user can still override this though.
   3025 if rm -f && rm -fr && rm -rf; then : OK; else
   3026   cat >&2 <<'END'
   3027 Oops!
   3028 
   3029 Your 'rm' program seems unable to run without file operands specified
   3030 on the command line, even when the '-f' option is present.  This is contrary
   3031 to the behaviour of most rm programs out there, and not conforming with
   3032 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   3033 
   3034 Please tell bug-automake@gnu.org about your system, including the value
   3035 of your $PATH and any error possibly output before this message.  This
   3036 can help us improve future automake versions.
   3037 
   3038 END
   3039   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   3040     echo 'Configuration will proceed anyway, since you have set the' >&2
   3041     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   3042     echo >&2
   3043   else
   3044     cat >&2 <<'END'
   3045 Aborting the configuration process, to ensure you take notice of the issue.
   3046 
   3047 You can download and install GNU coreutils to get an 'rm' implementation
   3048 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   3049 
   3050 If you want to complete the configuration process using your problematic
   3051 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   3052 to "yes", and re-run configure.
   3053 
   3054 END
   3055     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   3056   fi
   3057 fi
   3058 
   3059 
   3060 # Set common system defines for POSIX extensions, such as _GNU_SOURCE
   3061 # Must be called before any macros that run the compiler (like
   3062 # AC_PROG_LIBTOOL) to avoid autoconf errors.
   3063 DEPDIR="${am__leading_dot}deps"
   3064 
   3065 ac_config_commands="$ac_config_commands depfiles"
   3066 
   3067 
   3068 am_make=${MAKE-make}
   3069 cat > confinc << 'END'
   3070 am__doit:
   3071 	@echo this is the am__doit target
   3072 .PHONY: am__doit
   3073 END
   3074 # If we don't find an include directive, just comment out the code.
   3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3076 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3077 am__include="#"
   3078 am__quote=
   3079 _am_result=none
   3080 # First try GNU make style include.
   3081 echo "include confinc" > confmf
   3082 # Ignore all kinds of additional output from 'make'.
   3083 case `$am_make -s -f confmf 2> /dev/null` in #(
   3084 *the\ am__doit\ target*)
   3085   am__include=include
   3086   am__quote=
   3087   _am_result=GNU
   3088   ;;
   3089 esac
   3090 # Now try BSD make style include.
   3091 if test "$am__include" = "#"; then
   3092    echo '.include "confinc"' > confmf
   3093    case `$am_make -s -f confmf 2> /dev/null` in #(
   3094    *the\ am__doit\ target*)
   3095      am__include=.include
   3096      am__quote="\""
   3097      _am_result=BSD
   3098      ;;
   3099    esac
   3100 fi
   3101 
   3102 
   3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3104 $as_echo "$_am_result" >&6; }
   3105 rm -f confinc confmf
   3106 
   3107 # Check whether --enable-dependency-tracking was given.
   3108 if test "${enable_dependency_tracking+set}" = set; then :
   3109   enableval=$enable_dependency_tracking;
   3110 fi
   3111 
   3112 if test "x$enable_dependency_tracking" != xno; then
   3113   am_depcomp="$ac_aux_dir/depcomp"
   3114   AMDEPBACKSLASH='\'
   3115   am__nodep='_no'
   3116 fi
   3117  if test "x$enable_dependency_tracking" != xno; then
   3118   AMDEP_TRUE=
   3119   AMDEP_FALSE='#'
   3120 else
   3121   AMDEP_TRUE='#'
   3122   AMDEP_FALSE=
   3123 fi
   3124 
   3125 
   3126 ac_ext=c
   3127 ac_cpp='$CPP $CPPFLAGS'
   3128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3131 if test -n "$ac_tool_prefix"; then
   3132   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3133 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3135 $as_echo_n "checking for $ac_word... " >&6; }
   3136 if ${ac_cv_prog_CC+:} false; then :
   3137   $as_echo_n "(cached) " >&6
   3138 else
   3139   if test -n "$CC"; then
   3140   ac_cv_prog_CC="$CC" # Let the user override the test.
   3141 else
   3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3143 for as_dir in $PATH
   3144 do
   3145   IFS=$as_save_IFS
   3146   test -z "$as_dir" && as_dir=.
   3147     for ac_exec_ext in '' $ac_executable_extensions; do
   3148   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3149     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3151     break 2
   3152   fi
   3153 done
   3154   done
   3155 IFS=$as_save_IFS
   3156 
   3157 fi
   3158 fi
   3159 CC=$ac_cv_prog_CC
   3160 if test -n "$CC"; then
   3161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3162 $as_echo "$CC" >&6; }
   3163 else
   3164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3165 $as_echo "no" >&6; }
   3166 fi
   3167 
   3168 
   3169 fi
   3170 if test -z "$ac_cv_prog_CC"; then
   3171   ac_ct_CC=$CC
   3172   # Extract the first word of "gcc", so it can be a program name with args.
   3173 set dummy gcc; ac_word=$2
   3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3175 $as_echo_n "checking for $ac_word... " >&6; }
   3176 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3177   $as_echo_n "(cached) " >&6
   3178 else
   3179   if test -n "$ac_ct_CC"; then
   3180   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3181 else
   3182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3183 for as_dir in $PATH
   3184 do
   3185   IFS=$as_save_IFS
   3186   test -z "$as_dir" && as_dir=.
   3187     for ac_exec_ext in '' $ac_executable_extensions; do
   3188   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3189     ac_cv_prog_ac_ct_CC="gcc"
   3190     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3191     break 2
   3192   fi
   3193 done
   3194   done
   3195 IFS=$as_save_IFS
   3196 
   3197 fi
   3198 fi
   3199 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3200 if test -n "$ac_ct_CC"; then
   3201   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3202 $as_echo "$ac_ct_CC" >&6; }
   3203 else
   3204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3205 $as_echo "no" >&6; }
   3206 fi
   3207 
   3208   if test "x$ac_ct_CC" = x; then
   3209     CC=""
   3210   else
   3211     case $cross_compiling:$ac_tool_warned in
   3212 yes:)
   3213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3215 ac_tool_warned=yes ;;
   3216 esac
   3217     CC=$ac_ct_CC
   3218   fi
   3219 else
   3220   CC="$ac_cv_prog_CC"
   3221 fi
   3222 
   3223 if test -z "$CC"; then
   3224           if test -n "$ac_tool_prefix"; then
   3225     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3226 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3228 $as_echo_n "checking for $ac_word... " >&6; }
   3229 if ${ac_cv_prog_CC+:} false; then :
   3230   $as_echo_n "(cached) " >&6
   3231 else
   3232   if test -n "$CC"; then
   3233   ac_cv_prog_CC="$CC" # Let the user override the test.
   3234 else
   3235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3236 for as_dir in $PATH
   3237 do
   3238   IFS=$as_save_IFS
   3239   test -z "$as_dir" && as_dir=.
   3240     for ac_exec_ext in '' $ac_executable_extensions; do
   3241   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3242     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3243     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3244     break 2
   3245   fi
   3246 done
   3247   done
   3248 IFS=$as_save_IFS
   3249 
   3250 fi
   3251 fi
   3252 CC=$ac_cv_prog_CC
   3253 if test -n "$CC"; then
   3254   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3255 $as_echo "$CC" >&6; }
   3256 else
   3257   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3258 $as_echo "no" >&6; }
   3259 fi
   3260 
   3261 
   3262   fi
   3263 fi
   3264 if test -z "$CC"; then
   3265   # Extract the first word of "cc", so it can be a program name with args.
   3266 set dummy cc; ac_word=$2
   3267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3268 $as_echo_n "checking for $ac_word... " >&6; }
   3269 if ${ac_cv_prog_CC+:} false; then :
   3270   $as_echo_n "(cached) " >&6
   3271 else
   3272   if test -n "$CC"; then
   3273   ac_cv_prog_CC="$CC" # Let the user override the test.
   3274 else
   3275   ac_prog_rejected=no
   3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3277 for as_dir in $PATH
   3278 do
   3279   IFS=$as_save_IFS
   3280   test -z "$as_dir" && as_dir=.
   3281     for ac_exec_ext in '' $ac_executable_extensions; do
   3282   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3283     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3284        ac_prog_rejected=yes
   3285        continue
   3286      fi
   3287     ac_cv_prog_CC="cc"
   3288     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3289     break 2
   3290   fi
   3291 done
   3292   done
   3293 IFS=$as_save_IFS
   3294 
   3295 if test $ac_prog_rejected = yes; then
   3296   # We found a bogon in the path, so make sure we never use it.
   3297   set dummy $ac_cv_prog_CC
   3298   shift
   3299   if test $# != 0; then
   3300     # We chose a different compiler from the bogus one.
   3301     # However, it has the same basename, so the bogon will be chosen
   3302     # first if we set CC to just the basename; use the full file name.
   3303     shift
   3304     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3305   fi
   3306 fi
   3307 fi
   3308 fi
   3309 CC=$ac_cv_prog_CC
   3310 if test -n "$CC"; then
   3311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3312 $as_echo "$CC" >&6; }
   3313 else
   3314   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3315 $as_echo "no" >&6; }
   3316 fi
   3317 
   3318 
   3319 fi
   3320 if test -z "$CC"; then
   3321   if test -n "$ac_tool_prefix"; then
   3322   for ac_prog in cl.exe
   3323   do
   3324     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3325 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3327 $as_echo_n "checking for $ac_word... " >&6; }
   3328 if ${ac_cv_prog_CC+:} false; then :
   3329   $as_echo_n "(cached) " >&6
   3330 else
   3331   if test -n "$CC"; then
   3332   ac_cv_prog_CC="$CC" # Let the user override the test.
   3333 else
   3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3335 for as_dir in $PATH
   3336 do
   3337   IFS=$as_save_IFS
   3338   test -z "$as_dir" && as_dir=.
   3339     for ac_exec_ext in '' $ac_executable_extensions; do
   3340   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3341     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3342     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3343     break 2
   3344   fi
   3345 done
   3346   done
   3347 IFS=$as_save_IFS
   3348 
   3349 fi
   3350 fi
   3351 CC=$ac_cv_prog_CC
   3352 if test -n "$CC"; then
   3353   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3354 $as_echo "$CC" >&6; }
   3355 else
   3356   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3357 $as_echo "no" >&6; }
   3358 fi
   3359 
   3360 
   3361     test -n "$CC" && break
   3362   done
   3363 fi
   3364 if test -z "$CC"; then
   3365   ac_ct_CC=$CC
   3366   for ac_prog in cl.exe
   3367 do
   3368   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3369 set dummy $ac_prog; ac_word=$2
   3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3371 $as_echo_n "checking for $ac_word... " >&6; }
   3372 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3373   $as_echo_n "(cached) " >&6
   3374 else
   3375   if test -n "$ac_ct_CC"; then
   3376   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3377 else
   3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3379 for as_dir in $PATH
   3380 do
   3381   IFS=$as_save_IFS
   3382   test -z "$as_dir" && as_dir=.
   3383     for ac_exec_ext in '' $ac_executable_extensions; do
   3384   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3385     ac_cv_prog_ac_ct_CC="$ac_prog"
   3386     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3387     break 2
   3388   fi
   3389 done
   3390   done
   3391 IFS=$as_save_IFS
   3392 
   3393 fi
   3394 fi
   3395 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3396 if test -n "$ac_ct_CC"; then
   3397   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3398 $as_echo "$ac_ct_CC" >&6; }
   3399 else
   3400   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3401 $as_echo "no" >&6; }
   3402 fi
   3403 
   3404 
   3405   test -n "$ac_ct_CC" && break
   3406 done
   3407 
   3408   if test "x$ac_ct_CC" = x; then
   3409     CC=""
   3410   else
   3411     case $cross_compiling:$ac_tool_warned in
   3412 yes:)
   3413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3415 ac_tool_warned=yes ;;
   3416 esac
   3417     CC=$ac_ct_CC
   3418   fi
   3419 fi
   3420 
   3421 fi
   3422 
   3423 
   3424 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3426 as_fn_error $? "no acceptable C compiler found in \$PATH
   3427 See \`config.log' for more details" "$LINENO" 5; }
   3428 
   3429 # Provide some information about the compiler.
   3430 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3431 set X $ac_compile
   3432 ac_compiler=$2
   3433 for ac_option in --version -v -V -qversion; do
   3434   { { ac_try="$ac_compiler $ac_option >&5"
   3435 case "(($ac_try" in
   3436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3437   *) ac_try_echo=$ac_try;;
   3438 esac
   3439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3440 $as_echo "$ac_try_echo"; } >&5
   3441   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3442   ac_status=$?
   3443   if test -s conftest.err; then
   3444     sed '10a\
   3445 ... rest of stderr output deleted ...
   3446          10q' conftest.err >conftest.er1
   3447     cat conftest.er1 >&5
   3448   fi
   3449   rm -f conftest.er1 conftest.err
   3450   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3451   test $ac_status = 0; }
   3452 done
   3453 
   3454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3455 /* end confdefs.h.  */
   3456 
   3457 int
   3458 main ()
   3459 {
   3460 
   3461   ;
   3462   return 0;
   3463 }
   3464 _ACEOF
   3465 ac_clean_files_save=$ac_clean_files
   3466 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3467 # Try to create an executable without -o first, disregard a.out.
   3468 # It will help us diagnose broken compilers, and finding out an intuition
   3469 # of exeext.
   3470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3471 $as_echo_n "checking whether the C compiler works... " >&6; }
   3472 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3473 
   3474 # The possible output files:
   3475 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3476 
   3477 ac_rmfiles=
   3478 for ac_file in $ac_files
   3479 do
   3480   case $ac_file in
   3481     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3482     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3483   esac
   3484 done
   3485 rm -f $ac_rmfiles
   3486 
   3487 if { { ac_try="$ac_link_default"
   3488 case "(($ac_try" in
   3489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3490   *) ac_try_echo=$ac_try;;
   3491 esac
   3492 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3493 $as_echo "$ac_try_echo"; } >&5
   3494   (eval "$ac_link_default") 2>&5
   3495   ac_status=$?
   3496   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3497   test $ac_status = 0; }; then :
   3498   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3499 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3500 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3501 # so that the user can short-circuit this test for compilers unknown to
   3502 # Autoconf.
   3503 for ac_file in $ac_files ''
   3504 do
   3505   test -f "$ac_file" || continue
   3506   case $ac_file in
   3507     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3508 	;;
   3509     [ab].out )
   3510 	# We found the default executable, but exeext='' is most
   3511 	# certainly right.
   3512 	break;;
   3513     *.* )
   3514 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3515 	then :; else
   3516 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3517 	fi
   3518 	# We set ac_cv_exeext here because the later test for it is not
   3519 	# safe: cross compilers may not add the suffix if given an `-o'
   3520 	# argument, so we may need to know it at that point already.
   3521 	# Even if this section looks crufty: it has the advantage of
   3522 	# actually working.
   3523 	break;;
   3524     * )
   3525 	break;;
   3526   esac
   3527 done
   3528 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3529 
   3530 else
   3531   ac_file=''
   3532 fi
   3533 if test -z "$ac_file"; then :
   3534   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3535 $as_echo "no" >&6; }
   3536 $as_echo "$as_me: failed program was:" >&5
   3537 sed 's/^/| /' conftest.$ac_ext >&5
   3538 
   3539 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3540 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3541 as_fn_error 77 "C compiler cannot create executables
   3542 See \`config.log' for more details" "$LINENO" 5; }
   3543 else
   3544   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3545 $as_echo "yes" >&6; }
   3546 fi
   3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3548 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3550 $as_echo "$ac_file" >&6; }
   3551 ac_exeext=$ac_cv_exeext
   3552 
   3553 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3554 ac_clean_files=$ac_clean_files_save
   3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3556 $as_echo_n "checking for suffix of executables... " >&6; }
   3557 if { { ac_try="$ac_link"
   3558 case "(($ac_try" in
   3559   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3560   *) ac_try_echo=$ac_try;;
   3561 esac
   3562 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3563 $as_echo "$ac_try_echo"; } >&5
   3564   (eval "$ac_link") 2>&5
   3565   ac_status=$?
   3566   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3567   test $ac_status = 0; }; then :
   3568   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3569 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3570 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3571 # `rm'.
   3572 for ac_file in conftest.exe conftest conftest.*; do
   3573   test -f "$ac_file" || continue
   3574   case $ac_file in
   3575     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3576     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3577 	  break;;
   3578     * ) break;;
   3579   esac
   3580 done
   3581 else
   3582   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3583 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3584 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3585 See \`config.log' for more details" "$LINENO" 5; }
   3586 fi
   3587 rm -f conftest conftest$ac_cv_exeext
   3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3589 $as_echo "$ac_cv_exeext" >&6; }
   3590 
   3591 rm -f conftest.$ac_ext
   3592 EXEEXT=$ac_cv_exeext
   3593 ac_exeext=$EXEEXT
   3594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3595 /* end confdefs.h.  */
   3596 #include <stdio.h>
   3597 int
   3598 main ()
   3599 {
   3600 FILE *f = fopen ("conftest.out", "w");
   3601  return ferror (f) || fclose (f) != 0;
   3602 
   3603   ;
   3604   return 0;
   3605 }
   3606 _ACEOF
   3607 ac_clean_files="$ac_clean_files conftest.out"
   3608 # Check that the compiler produces executables we can run.  If not, either
   3609 # the compiler is broken, or we cross compile.
   3610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3611 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3612 if test "$cross_compiling" != yes; then
   3613   { { ac_try="$ac_link"
   3614 case "(($ac_try" in
   3615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3616   *) ac_try_echo=$ac_try;;
   3617 esac
   3618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3619 $as_echo "$ac_try_echo"; } >&5
   3620   (eval "$ac_link") 2>&5
   3621   ac_status=$?
   3622   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3623   test $ac_status = 0; }
   3624   if { ac_try='./conftest$ac_cv_exeext'
   3625   { { case "(($ac_try" in
   3626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3627   *) ac_try_echo=$ac_try;;
   3628 esac
   3629 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3630 $as_echo "$ac_try_echo"; } >&5
   3631   (eval "$ac_try") 2>&5
   3632   ac_status=$?
   3633   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3634   test $ac_status = 0; }; }; then
   3635     cross_compiling=no
   3636   else
   3637     if test "$cross_compiling" = maybe; then
   3638 	cross_compiling=yes
   3639     else
   3640 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3641 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3642 as_fn_error $? "cannot run C compiled programs.
   3643 If you meant to cross compile, use \`--host'.
   3644 See \`config.log' for more details" "$LINENO" 5; }
   3645     fi
   3646   fi
   3647 fi
   3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3649 $as_echo "$cross_compiling" >&6; }
   3650 
   3651 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3652 ac_clean_files=$ac_clean_files_save
   3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3654 $as_echo_n "checking for suffix of object files... " >&6; }
   3655 if ${ac_cv_objext+:} false; then :
   3656   $as_echo_n "(cached) " >&6
   3657 else
   3658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3659 /* end confdefs.h.  */
   3660 
   3661 int
   3662 main ()
   3663 {
   3664 
   3665   ;
   3666   return 0;
   3667 }
   3668 _ACEOF
   3669 rm -f conftest.o conftest.obj
   3670 if { { ac_try="$ac_compile"
   3671 case "(($ac_try" in
   3672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3673   *) ac_try_echo=$ac_try;;
   3674 esac
   3675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3676 $as_echo "$ac_try_echo"; } >&5
   3677   (eval "$ac_compile") 2>&5
   3678   ac_status=$?
   3679   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3680   test $ac_status = 0; }; then :
   3681   for ac_file in conftest.o conftest.obj conftest.*; do
   3682   test -f "$ac_file" || continue;
   3683   case $ac_file in
   3684     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3685     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3686        break;;
   3687   esac
   3688 done
   3689 else
   3690   $as_echo "$as_me: failed program was:" >&5
   3691 sed 's/^/| /' conftest.$ac_ext >&5
   3692 
   3693 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3694 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3695 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3696 See \`config.log' for more details" "$LINENO" 5; }
   3697 fi
   3698 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3699 fi
   3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3701 $as_echo "$ac_cv_objext" >&6; }
   3702 OBJEXT=$ac_cv_objext
   3703 ac_objext=$OBJEXT
   3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3705 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3706 if ${ac_cv_c_compiler_gnu+:} false; then :
   3707   $as_echo_n "(cached) " >&6
   3708 else
   3709   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3710 /* end confdefs.h.  */
   3711 
   3712 int
   3713 main ()
   3714 {
   3715 #ifndef __GNUC__
   3716        choke me
   3717 #endif
   3718 
   3719   ;
   3720   return 0;
   3721 }
   3722 _ACEOF
   3723 if ac_fn_c_try_compile "$LINENO"; then :
   3724   ac_compiler_gnu=yes
   3725 else
   3726   ac_compiler_gnu=no
   3727 fi
   3728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3729 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3730 
   3731 fi
   3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3733 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3734 if test $ac_compiler_gnu = yes; then
   3735   GCC=yes
   3736 else
   3737   GCC=
   3738 fi
   3739 ac_test_CFLAGS=${CFLAGS+set}
   3740 ac_save_CFLAGS=$CFLAGS
   3741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3742 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3743 if ${ac_cv_prog_cc_g+:} false; then :
   3744   $as_echo_n "(cached) " >&6
   3745 else
   3746   ac_save_c_werror_flag=$ac_c_werror_flag
   3747    ac_c_werror_flag=yes
   3748    ac_cv_prog_cc_g=no
   3749    CFLAGS="-g"
   3750    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3751 /* end confdefs.h.  */
   3752 
   3753 int
   3754 main ()
   3755 {
   3756 
   3757   ;
   3758   return 0;
   3759 }
   3760 _ACEOF
   3761 if ac_fn_c_try_compile "$LINENO"; then :
   3762   ac_cv_prog_cc_g=yes
   3763 else
   3764   CFLAGS=""
   3765       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3766 /* end confdefs.h.  */
   3767 
   3768 int
   3769 main ()
   3770 {
   3771 
   3772   ;
   3773   return 0;
   3774 }
   3775 _ACEOF
   3776 if ac_fn_c_try_compile "$LINENO"; then :
   3777 
   3778 else
   3779   ac_c_werror_flag=$ac_save_c_werror_flag
   3780 	 CFLAGS="-g"
   3781 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3782 /* end confdefs.h.  */
   3783 
   3784 int
   3785 main ()
   3786 {
   3787 
   3788   ;
   3789   return 0;
   3790 }
   3791 _ACEOF
   3792 if ac_fn_c_try_compile "$LINENO"; then :
   3793   ac_cv_prog_cc_g=yes
   3794 fi
   3795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3796 fi
   3797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3798 fi
   3799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3800    ac_c_werror_flag=$ac_save_c_werror_flag
   3801 fi
   3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3803 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3804 if test "$ac_test_CFLAGS" = set; then
   3805   CFLAGS=$ac_save_CFLAGS
   3806 elif test $ac_cv_prog_cc_g = yes; then
   3807   if test "$GCC" = yes; then
   3808     CFLAGS="-g -O2"
   3809   else
   3810     CFLAGS="-g"
   3811   fi
   3812 else
   3813   if test "$GCC" = yes; then
   3814     CFLAGS="-O2"
   3815   else
   3816     CFLAGS=
   3817   fi
   3818 fi
   3819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3820 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3821 if ${ac_cv_prog_cc_c89+:} false; then :
   3822   $as_echo_n "(cached) " >&6
   3823 else
   3824   ac_cv_prog_cc_c89=no
   3825 ac_save_CC=$CC
   3826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3827 /* end confdefs.h.  */
   3828 #include <stdarg.h>
   3829 #include <stdio.h>
   3830 struct stat;
   3831 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3832 struct buf { int x; };
   3833 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3834 static char *e (p, i)
   3835      char **p;
   3836      int i;
   3837 {
   3838   return p[i];
   3839 }
   3840 static char *f (char * (*g) (char **, int), char **p, ...)
   3841 {
   3842   char *s;
   3843   va_list v;
   3844   va_start (v,p);
   3845   s = g (p, va_arg (v,int));
   3846   va_end (v);
   3847   return s;
   3848 }
   3849 
   3850 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3851    function prototypes and stuff, but not '\xHH' hex character constants.
   3852    These don't provoke an error unfortunately, instead are silently treated
   3853    as 'x'.  The following induces an error, until -std is added to get
   3854    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3855    array size at least.  It's necessary to write '\x00'==0 to get something
   3856    that's true only with -std.  */
   3857 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3858 
   3859 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3860    inside strings and character constants.  */
   3861 #define FOO(x) 'x'
   3862 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3863 
   3864 int test (int i, double x);
   3865 struct s1 {int (*f) (int a);};
   3866 struct s2 {int (*f) (double a);};
   3867 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3868 int argc;
   3869 char **argv;
   3870 int
   3871 main ()
   3872 {
   3873 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3874   ;
   3875   return 0;
   3876 }
   3877 _ACEOF
   3878 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3879 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3880 do
   3881   CC="$ac_save_CC $ac_arg"
   3882   if ac_fn_c_try_compile "$LINENO"; then :
   3883   ac_cv_prog_cc_c89=$ac_arg
   3884 fi
   3885 rm -f core conftest.err conftest.$ac_objext
   3886   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3887 done
   3888 rm -f conftest.$ac_ext
   3889 CC=$ac_save_CC
   3890 
   3891 fi
   3892 # AC_CACHE_VAL
   3893 case "x$ac_cv_prog_cc_c89" in
   3894   x)
   3895     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3896 $as_echo "none needed" >&6; } ;;
   3897   xno)
   3898     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3899 $as_echo "unsupported" >&6; } ;;
   3900   *)
   3901     CC="$CC $ac_cv_prog_cc_c89"
   3902     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3903 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3904 esac
   3905 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3906 
   3907 fi
   3908 
   3909 ac_ext=c
   3910 ac_cpp='$CPP $CPPFLAGS'
   3911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3914 
   3915 ac_ext=c
   3916 ac_cpp='$CPP $CPPFLAGS'
   3917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3921 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3922 if ${am_cv_prog_cc_c_o+:} false; then :
   3923   $as_echo_n "(cached) " >&6
   3924 else
   3925   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3926 /* end confdefs.h.  */
   3927 
   3928 int
   3929 main ()
   3930 {
   3931 
   3932   ;
   3933   return 0;
   3934 }
   3935 _ACEOF
   3936   # Make sure it works both with $CC and with simple cc.
   3937   # Following AC_PROG_CC_C_O, we do the test twice because some
   3938   # compilers refuse to overwrite an existing .o file with -o,
   3939   # though they will create one.
   3940   am_cv_prog_cc_c_o=yes
   3941   for am_i in 1 2; do
   3942     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3943    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3944    ac_status=$?
   3945    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3946    (exit $ac_status); } \
   3947          && test -f conftest2.$ac_objext; then
   3948       : OK
   3949     else
   3950       am_cv_prog_cc_c_o=no
   3951       break
   3952     fi
   3953   done
   3954   rm -f core conftest*
   3955   unset am_i
   3956 fi
   3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3958 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3959 if test "$am_cv_prog_cc_c_o" != yes; then
   3960    # Losing compiler, so override with the script.
   3961    # FIXME: It is wrong to rewrite CC.
   3962    # But if we don't then we get into trouble of one sort or another.
   3963    # A longer-term fix would be to have automake use am__CC in this case,
   3964    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3965    CC="$am_aux_dir/compile $CC"
   3966 fi
   3967 ac_ext=c
   3968 ac_cpp='$CPP $CPPFLAGS'
   3969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3972 
   3973 
   3974 depcc="$CC"   am_compiler_list=
   3975 
   3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3977 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3978 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3979   $as_echo_n "(cached) " >&6
   3980 else
   3981   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3982   # We make a subdir and do the tests there.  Otherwise we can end up
   3983   # making bogus files that we don't know about and never remove.  For
   3984   # instance it was reported that on HP-UX the gcc test will end up
   3985   # making a dummy file named 'D' -- because '-MD' means "put the output
   3986   # in D".
   3987   rm -rf conftest.dir
   3988   mkdir conftest.dir
   3989   # Copy depcomp to subdir because otherwise we won't find it if we're
   3990   # using a relative directory.
   3991   cp "$am_depcomp" conftest.dir
   3992   cd conftest.dir
   3993   # We will build objects and dependencies in a subdirectory because
   3994   # it helps to detect inapplicable dependency modes.  For instance
   3995   # both Tru64's cc and ICC support -MD to output dependencies as a
   3996   # side effect of compilation, but ICC will put the dependencies in
   3997   # the current directory while Tru64 will put them in the object
   3998   # directory.
   3999   mkdir sub
   4000 
   4001   am_cv_CC_dependencies_compiler_type=none
   4002   if test "$am_compiler_list" = ""; then
   4003      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   4004   fi
   4005   am__universal=false
   4006   case " $depcc " in #(
   4007      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   4008      esac
   4009 
   4010   for depmode in $am_compiler_list; do
   4011     # Setup a source with many dependencies, because some compilers
   4012     # like to wrap large dependency lists on column 80 (with \), and
   4013     # we should not choose a depcomp mode which is confused by this.
   4014     #
   4015     # We need to recreate these files for each test, as the compiler may
   4016     # overwrite some of them when testing with obscure command lines.
   4017     # This happens at least with the AIX C compiler.
   4018     : > sub/conftest.c
   4019     for i in 1 2 3 4 5 6; do
   4020       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   4021       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   4022       # Solaris 10 /bin/sh.
   4023       echo '/* dummy */' > sub/conftst$i.h
   4024     done
   4025     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   4026 
   4027     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   4028     # mode.  It turns out that the SunPro C++ compiler does not properly
   4029     # handle '-M -o', and we need to detect this.  Also, some Intel
   4030     # versions had trouble with output in subdirs.
   4031     am__obj=sub/conftest.${OBJEXT-o}
   4032     am__minus_obj="-o $am__obj"
   4033     case $depmode in
   4034     gcc)
   4035       # This depmode causes a compiler race in universal mode.
   4036       test "$am__universal" = false || continue
   4037       ;;
   4038     nosideeffect)
   4039       # After this tag, mechanisms are not by side-effect, so they'll
   4040       # only be used when explicitly requested.
   4041       if test "x$enable_dependency_tracking" = xyes; then
   4042 	continue
   4043       else
   4044 	break
   4045       fi
   4046       ;;
   4047     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   4048       # This compiler won't grok '-c -o', but also, the minuso test has
   4049       # not run yet.  These depmodes are late enough in the game, and
   4050       # so weak that their functioning should not be impacted.
   4051       am__obj=conftest.${OBJEXT-o}
   4052       am__minus_obj=
   4053       ;;
   4054     none) break ;;
   4055     esac
   4056     if depmode=$depmode \
   4057        source=sub/conftest.c object=$am__obj \
   4058        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   4059        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   4060          >/dev/null 2>conftest.err &&
   4061        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   4062        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4063        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4064        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4065       # icc doesn't choke on unknown options, it will just issue warnings
   4066       # or remarks (even with -Werror).  So we grep stderr for any message
   4067       # that says an option was ignored or not supported.
   4068       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4069       #   icc: Command line warning: ignoring option '-M'; no argument required
   4070       # The diagnosis changed in icc 8.0:
   4071       #   icc: Command line remark: option '-MP' not supported
   4072       if (grep 'ignoring option' conftest.err ||
   4073           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4074         am_cv_CC_dependencies_compiler_type=$depmode
   4075         break
   4076       fi
   4077     fi
   4078   done
   4079 
   4080   cd ..
   4081   rm -rf conftest.dir
   4082 else
   4083   am_cv_CC_dependencies_compiler_type=none
   4084 fi
   4085 
   4086 fi
   4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4088 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4089 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4090 
   4091  if
   4092   test "x$enable_dependency_tracking" != xno \
   4093   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4094   am__fastdepCC_TRUE=
   4095   am__fastdepCC_FALSE='#'
   4096 else
   4097   am__fastdepCC_TRUE='#'
   4098   am__fastdepCC_FALSE=
   4099 fi
   4100 
   4101 
   4102 
   4103 ac_ext=c
   4104 ac_cpp='$CPP $CPPFLAGS'
   4105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4109 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4110 # On Suns, sometimes $CPP names a directory.
   4111 if test -n "$CPP" && test -d "$CPP"; then
   4112   CPP=
   4113 fi
   4114 if test -z "$CPP"; then
   4115   if ${ac_cv_prog_CPP+:} false; then :
   4116   $as_echo_n "(cached) " >&6
   4117 else
   4118       # Double quotes because CPP needs to be expanded
   4119     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4120     do
   4121       ac_preproc_ok=false
   4122 for ac_c_preproc_warn_flag in '' yes
   4123 do
   4124   # Use a header file that comes with gcc, so configuring glibc
   4125   # with a fresh cross-compiler works.
   4126   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4127   # <limits.h> exists even on freestanding compilers.
   4128   # On the NeXT, cc -E runs the code through the compiler's parser,
   4129   # not just through cpp. "Syntax error" is here to catch this case.
   4130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4131 /* end confdefs.h.  */
   4132 #ifdef __STDC__
   4133 # include <limits.h>
   4134 #else
   4135 # include <assert.h>
   4136 #endif
   4137 		     Syntax error
   4138 _ACEOF
   4139 if ac_fn_c_try_cpp "$LINENO"; then :
   4140 
   4141 else
   4142   # Broken: fails on valid input.
   4143 continue
   4144 fi
   4145 rm -f conftest.err conftest.i conftest.$ac_ext
   4146 
   4147   # OK, works on sane cases.  Now check whether nonexistent headers
   4148   # can be detected and how.
   4149   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4150 /* end confdefs.h.  */
   4151 #include <ac_nonexistent.h>
   4152 _ACEOF
   4153 if ac_fn_c_try_cpp "$LINENO"; then :
   4154   # Broken: success on invalid input.
   4155 continue
   4156 else
   4157   # Passes both tests.
   4158 ac_preproc_ok=:
   4159 break
   4160 fi
   4161 rm -f conftest.err conftest.i conftest.$ac_ext
   4162 
   4163 done
   4164 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4165 rm -f conftest.i conftest.err conftest.$ac_ext
   4166 if $ac_preproc_ok; then :
   4167   break
   4168 fi
   4169 
   4170     done
   4171     ac_cv_prog_CPP=$CPP
   4172 
   4173 fi
   4174   CPP=$ac_cv_prog_CPP
   4175 else
   4176   ac_cv_prog_CPP=$CPP
   4177 fi
   4178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4179 $as_echo "$CPP" >&6; }
   4180 ac_preproc_ok=false
   4181 for ac_c_preproc_warn_flag in '' yes
   4182 do
   4183   # Use a header file that comes with gcc, so configuring glibc
   4184   # with a fresh cross-compiler works.
   4185   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4186   # <limits.h> exists even on freestanding compilers.
   4187   # On the NeXT, cc -E runs the code through the compiler's parser,
   4188   # not just through cpp. "Syntax error" is here to catch this case.
   4189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4190 /* end confdefs.h.  */
   4191 #ifdef __STDC__
   4192 # include <limits.h>
   4193 #else
   4194 # include <assert.h>
   4195 #endif
   4196 		     Syntax error
   4197 _ACEOF
   4198 if ac_fn_c_try_cpp "$LINENO"; then :
   4199 
   4200 else
   4201   # Broken: fails on valid input.
   4202 continue
   4203 fi
   4204 rm -f conftest.err conftest.i conftest.$ac_ext
   4205 
   4206   # OK, works on sane cases.  Now check whether nonexistent headers
   4207   # can be detected and how.
   4208   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4209 /* end confdefs.h.  */
   4210 #include <ac_nonexistent.h>
   4211 _ACEOF
   4212 if ac_fn_c_try_cpp "$LINENO"; then :
   4213   # Broken: success on invalid input.
   4214 continue
   4215 else
   4216   # Passes both tests.
   4217 ac_preproc_ok=:
   4218 break
   4219 fi
   4220 rm -f conftest.err conftest.i conftest.$ac_ext
   4221 
   4222 done
   4223 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4224 rm -f conftest.i conftest.err conftest.$ac_ext
   4225 if $ac_preproc_ok; then :
   4226 
   4227 else
   4228   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4229 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4230 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4231 See \`config.log' for more details" "$LINENO" 5; }
   4232 fi
   4233 
   4234 ac_ext=c
   4235 ac_cpp='$CPP $CPPFLAGS'
   4236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4239 
   4240 
   4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4242 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4243 if ${ac_cv_path_GREP+:} false; then :
   4244   $as_echo_n "(cached) " >&6
   4245 else
   4246   if test -z "$GREP"; then
   4247   ac_path_GREP_found=false
   4248   # Loop through the user's path and test for each of PROGNAME-LIST
   4249   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4250 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4251 do
   4252   IFS=$as_save_IFS
   4253   test -z "$as_dir" && as_dir=.
   4254     for ac_prog in grep ggrep; do
   4255     for ac_exec_ext in '' $ac_executable_extensions; do
   4256       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4257       as_fn_executable_p "$ac_path_GREP" || continue
   4258 # Check for GNU ac_path_GREP and select it if it is found.
   4259   # Check for GNU $ac_path_GREP
   4260 case `"$ac_path_GREP" --version 2>&1` in
   4261 *GNU*)
   4262   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4263 *)
   4264   ac_count=0
   4265   $as_echo_n 0123456789 >"conftest.in"
   4266   while :
   4267   do
   4268     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4269     mv "conftest.tmp" "conftest.in"
   4270     cp "conftest.in" "conftest.nl"
   4271     $as_echo 'GREP' >> "conftest.nl"
   4272     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4273     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4274     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4275     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4276       # Best one so far, save it but keep looking for a better one
   4277       ac_cv_path_GREP="$ac_path_GREP"
   4278       ac_path_GREP_max=$ac_count
   4279     fi
   4280     # 10*(2^10) chars as input seems more than enough
   4281     test $ac_count -gt 10 && break
   4282   done
   4283   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4284 esac
   4285 
   4286       $ac_path_GREP_found && break 3
   4287     done
   4288   done
   4289   done
   4290 IFS=$as_save_IFS
   4291   if test -z "$ac_cv_path_GREP"; then
   4292     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4293   fi
   4294 else
   4295   ac_cv_path_GREP=$GREP
   4296 fi
   4297 
   4298 fi
   4299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4300 $as_echo "$ac_cv_path_GREP" >&6; }
   4301  GREP="$ac_cv_path_GREP"
   4302 
   4303 
   4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4305 $as_echo_n "checking for egrep... " >&6; }
   4306 if ${ac_cv_path_EGREP+:} false; then :
   4307   $as_echo_n "(cached) " >&6
   4308 else
   4309   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4310    then ac_cv_path_EGREP="$GREP -E"
   4311    else
   4312      if test -z "$EGREP"; then
   4313   ac_path_EGREP_found=false
   4314   # Loop through the user's path and test for each of PROGNAME-LIST
   4315   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4316 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4317 do
   4318   IFS=$as_save_IFS
   4319   test -z "$as_dir" && as_dir=.
   4320     for ac_prog in egrep; do
   4321     for ac_exec_ext in '' $ac_executable_extensions; do
   4322       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4323       as_fn_executable_p "$ac_path_EGREP" || continue
   4324 # Check for GNU ac_path_EGREP and select it if it is found.
   4325   # Check for GNU $ac_path_EGREP
   4326 case `"$ac_path_EGREP" --version 2>&1` in
   4327 *GNU*)
   4328   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4329 *)
   4330   ac_count=0
   4331   $as_echo_n 0123456789 >"conftest.in"
   4332   while :
   4333   do
   4334     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4335     mv "conftest.tmp" "conftest.in"
   4336     cp "conftest.in" "conftest.nl"
   4337     $as_echo 'EGREP' >> "conftest.nl"
   4338     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4339     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4340     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4341     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4342       # Best one so far, save it but keep looking for a better one
   4343       ac_cv_path_EGREP="$ac_path_EGREP"
   4344       ac_path_EGREP_max=$ac_count
   4345     fi
   4346     # 10*(2^10) chars as input seems more than enough
   4347     test $ac_count -gt 10 && break
   4348   done
   4349   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4350 esac
   4351 
   4352       $ac_path_EGREP_found && break 3
   4353     done
   4354   done
   4355   done
   4356 IFS=$as_save_IFS
   4357   if test -z "$ac_cv_path_EGREP"; then
   4358     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4359   fi
   4360 else
   4361   ac_cv_path_EGREP=$EGREP
   4362 fi
   4363 
   4364    fi
   4365 fi
   4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4367 $as_echo "$ac_cv_path_EGREP" >&6; }
   4368  EGREP="$ac_cv_path_EGREP"
   4369 
   4370 
   4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4372 $as_echo_n "checking for ANSI C header files... " >&6; }
   4373 if ${ac_cv_header_stdc+:} false; then :
   4374   $as_echo_n "(cached) " >&6
   4375 else
   4376   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4377 /* end confdefs.h.  */
   4378 #include <stdlib.h>
   4379 #include <stdarg.h>
   4380 #include <string.h>
   4381 #include <float.h>
   4382 
   4383 int
   4384 main ()
   4385 {
   4386 
   4387   ;
   4388   return 0;
   4389 }
   4390 _ACEOF
   4391 if ac_fn_c_try_compile "$LINENO"; then :
   4392   ac_cv_header_stdc=yes
   4393 else
   4394   ac_cv_header_stdc=no
   4395 fi
   4396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4397 
   4398 if test $ac_cv_header_stdc = yes; then
   4399   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4401 /* end confdefs.h.  */
   4402 #include <string.h>
   4403 
   4404 _ACEOF
   4405 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4406   $EGREP "memchr" >/dev/null 2>&1; then :
   4407 
   4408 else
   4409   ac_cv_header_stdc=no
   4410 fi
   4411 rm -f conftest*
   4412 
   4413 fi
   4414 
   4415 if test $ac_cv_header_stdc = yes; then
   4416   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4417   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4418 /* end confdefs.h.  */
   4419 #include <stdlib.h>
   4420 
   4421 _ACEOF
   4422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4423   $EGREP "free" >/dev/null 2>&1; then :
   4424 
   4425 else
   4426   ac_cv_header_stdc=no
   4427 fi
   4428 rm -f conftest*
   4429 
   4430 fi
   4431 
   4432 if test $ac_cv_header_stdc = yes; then
   4433   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4434   if test "$cross_compiling" = yes; then :
   4435   :
   4436 else
   4437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4438 /* end confdefs.h.  */
   4439 #include <ctype.h>
   4440 #include <stdlib.h>
   4441 #if ((' ' & 0x0FF) == 0x020)
   4442 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4443 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4444 #else
   4445 # define ISLOWER(c) \
   4446 		   (('a' <= (c) && (c) <= 'i') \
   4447 		     || ('j' <= (c) && (c) <= 'r') \
   4448 		     || ('s' <= (c) && (c) <= 'z'))
   4449 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4450 #endif
   4451 
   4452 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4453 int
   4454 main ()
   4455 {
   4456   int i;
   4457   for (i = 0; i < 256; i++)
   4458     if (XOR (islower (i), ISLOWER (i))
   4459 	|| toupper (i) != TOUPPER (i))
   4460       return 2;
   4461   return 0;
   4462 }
   4463 _ACEOF
   4464 if ac_fn_c_try_run "$LINENO"; then :
   4465 
   4466 else
   4467   ac_cv_header_stdc=no
   4468 fi
   4469 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4470   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4471 fi
   4472 
   4473 fi
   4474 fi
   4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4476 $as_echo "$ac_cv_header_stdc" >&6; }
   4477 if test $ac_cv_header_stdc = yes; then
   4478 
   4479 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4480 
   4481 fi
   4482 
   4483 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4484 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4485 		  inttypes.h stdint.h unistd.h
   4486 do :
   4487   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4488 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4489 "
   4490 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4491   cat >>confdefs.h <<_ACEOF
   4492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4493 _ACEOF
   4494 
   4495 fi
   4496 
   4497 done
   4498 
   4499 
   4500 
   4501   ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
   4502 if test "x$ac_cv_header_minix_config_h" = xyes; then :
   4503   MINIX=yes
   4504 else
   4505   MINIX=
   4506 fi
   4507 
   4508 
   4509   if test "$MINIX" = yes; then
   4510 
   4511 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
   4512 
   4513 
   4514 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
   4515 
   4516 
   4517 $as_echo "#define _MINIX 1" >>confdefs.h
   4518 
   4519   fi
   4520 
   4521 
   4522   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
   4523 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
   4524 if ${ac_cv_safe_to_define___extensions__+:} false; then :
   4525   $as_echo_n "(cached) " >&6
   4526 else
   4527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4528 /* end confdefs.h.  */
   4529 
   4530 #         define __EXTENSIONS__ 1
   4531           $ac_includes_default
   4532 int
   4533 main ()
   4534 {
   4535 
   4536   ;
   4537   return 0;
   4538 }
   4539 _ACEOF
   4540 if ac_fn_c_try_compile "$LINENO"; then :
   4541   ac_cv_safe_to_define___extensions__=yes
   4542 else
   4543   ac_cv_safe_to_define___extensions__=no
   4544 fi
   4545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4546 fi
   4547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
   4548 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
   4549   test $ac_cv_safe_to_define___extensions__ = yes &&
   4550     $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
   4551 
   4552   $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
   4553 
   4554   $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
   4555 
   4556   $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
   4557 
   4558   $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
   4559 
   4560 
   4561 
   4562 # Initialize libtool
   4563 case `pwd` in
   4564   *\ * | *\	*)
   4565     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   4566 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   4567 esac
   4568 
   4569 
   4570 
   4571 macro_version='2.4.6'
   4572 macro_revision='2.4.6'
   4573 
   4574 
   4575 
   4576 
   4577 
   4578 
   4579 
   4580 
   4581 
   4582 
   4583 
   4584 
   4585 
   4586 ltmain=$ac_aux_dir/ltmain.sh
   4587 
   4588 # Make sure we can run config.sub.
   4589 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4590   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4591 
   4592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4593 $as_echo_n "checking build system type... " >&6; }
   4594 if ${ac_cv_build+:} false; then :
   4595   $as_echo_n "(cached) " >&6
   4596 else
   4597   ac_build_alias=$build_alias
   4598 test "x$ac_build_alias" = x &&
   4599   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4600 test "x$ac_build_alias" = x &&
   4601   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4602 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4603   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4604 
   4605 fi
   4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4607 $as_echo "$ac_cv_build" >&6; }
   4608 case $ac_cv_build in
   4609 *-*-*) ;;
   4610 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4611 esac
   4612 build=$ac_cv_build
   4613 ac_save_IFS=$IFS; IFS='-'
   4614 set x $ac_cv_build
   4615 shift
   4616 build_cpu=$1
   4617 build_vendor=$2
   4618 shift; shift
   4619 # Remember, the first character of IFS is used to create $*,
   4620 # except with old shells:
   4621 build_os=$*
   4622 IFS=$ac_save_IFS
   4623 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4624 
   4625 
   4626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4627 $as_echo_n "checking host system type... " >&6; }
   4628 if ${ac_cv_host+:} false; then :
   4629   $as_echo_n "(cached) " >&6
   4630 else
   4631   if test "x$host_alias" = x; then
   4632   ac_cv_host=$ac_cv_build
   4633 else
   4634   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4635     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4636 fi
   4637 
   4638 fi
   4639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4640 $as_echo "$ac_cv_host" >&6; }
   4641 case $ac_cv_host in
   4642 *-*-*) ;;
   4643 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4644 esac
   4645 host=$ac_cv_host
   4646 ac_save_IFS=$IFS; IFS='-'
   4647 set x $ac_cv_host
   4648 shift
   4649 host_cpu=$1
   4650 host_vendor=$2
   4651 shift; shift
   4652 # Remember, the first character of IFS is used to create $*,
   4653 # except with old shells:
   4654 host_os=$*
   4655 IFS=$ac_save_IFS
   4656 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4657 
   4658 
   4659 # Backslashify metacharacters that are still active within
   4660 # double-quoted strings.
   4661 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   4662 
   4663 # Same as above, but do not quote variable references.
   4664 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   4665 
   4666 # Sed substitution to delay expansion of an escaped shell variable in a
   4667 # double_quote_subst'ed string.
   4668 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   4669 
   4670 # Sed substitution to delay expansion of an escaped single quote.
   4671 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   4672 
   4673 # Sed substitution to avoid accidental globbing in evaled expressions
   4674 no_glob_subst='s/\*/\\\*/g'
   4675 
   4676 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   4677 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   4678 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   4679 
   4680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   4681 $as_echo_n "checking how to print strings... " >&6; }
   4682 # Test print first, because it will be a builtin if present.
   4683 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   4684    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   4685   ECHO='print -r --'
   4686 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   4687   ECHO='printf %s\n'
   4688 else
   4689   # Use this function as a fallback that always works.
   4690   func_fallback_echo ()
   4691   {
   4692     eval 'cat <<_LTECHO_EOF
   4693 $1
   4694 _LTECHO_EOF'
   4695   }
   4696   ECHO='func_fallback_echo'
   4697 fi
   4698 
   4699 # func_echo_all arg...
   4700 # Invoke $ECHO with all args, space-separated.
   4701 func_echo_all ()
   4702 {
   4703     $ECHO ""
   4704 }
   4705 
   4706 case $ECHO in
   4707   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   4708 $as_echo "printf" >&6; } ;;
   4709   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   4710 $as_echo "print -r" >&6; } ;;
   4711   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   4712 $as_echo "cat" >&6; } ;;
   4713 esac
   4714 
   4715 
   4716 
   4717 
   4718 
   4719 
   4720 
   4721 
   4722 
   4723 
   4724 
   4725 
   4726 
   4727 
   4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4729 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4730 if ${ac_cv_path_SED+:} false; then :
   4731   $as_echo_n "(cached) " >&6
   4732 else
   4733             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4734      for ac_i in 1 2 3 4 5 6 7; do
   4735        ac_script="$ac_script$as_nl$ac_script"
   4736      done
   4737      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4738      { ac_script=; unset ac_script;}
   4739      if test -z "$SED"; then
   4740   ac_path_SED_found=false
   4741   # Loop through the user's path and test for each of PROGNAME-LIST
   4742   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4743 for as_dir in $PATH
   4744 do
   4745   IFS=$as_save_IFS
   4746   test -z "$as_dir" && as_dir=.
   4747     for ac_prog in sed gsed; do
   4748     for ac_exec_ext in '' $ac_executable_extensions; do
   4749       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4750       as_fn_executable_p "$ac_path_SED" || continue
   4751 # Check for GNU ac_path_SED and select it if it is found.
   4752   # Check for GNU $ac_path_SED
   4753 case `"$ac_path_SED" --version 2>&1` in
   4754 *GNU*)
   4755   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4756 *)
   4757   ac_count=0
   4758   $as_echo_n 0123456789 >"conftest.in"
   4759   while :
   4760   do
   4761     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4762     mv "conftest.tmp" "conftest.in"
   4763     cp "conftest.in" "conftest.nl"
   4764     $as_echo '' >> "conftest.nl"
   4765     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4766     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4767     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4768     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4769       # Best one so far, save it but keep looking for a better one
   4770       ac_cv_path_SED="$ac_path_SED"
   4771       ac_path_SED_max=$ac_count
   4772     fi
   4773     # 10*(2^10) chars as input seems more than enough
   4774     test $ac_count -gt 10 && break
   4775   done
   4776   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4777 esac
   4778 
   4779       $ac_path_SED_found && break 3
   4780     done
   4781   done
   4782   done
   4783 IFS=$as_save_IFS
   4784   if test -z "$ac_cv_path_SED"; then
   4785     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4786   fi
   4787 else
   4788   ac_cv_path_SED=$SED
   4789 fi
   4790 
   4791 fi
   4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4793 $as_echo "$ac_cv_path_SED" >&6; }
   4794  SED="$ac_cv_path_SED"
   4795   rm -f conftest.sed
   4796 
   4797 test -z "$SED" && SED=sed
   4798 Xsed="$SED -e 1s/^X//"
   4799 
   4800 
   4801 
   4802 
   4803 
   4804 
   4805 
   4806 
   4807 
   4808 
   4809 
   4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   4811 $as_echo_n "checking for fgrep... " >&6; }
   4812 if ${ac_cv_path_FGREP+:} false; then :
   4813   $as_echo_n "(cached) " >&6
   4814 else
   4815   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   4816    then ac_cv_path_FGREP="$GREP -F"
   4817    else
   4818      if test -z "$FGREP"; then
   4819   ac_path_FGREP_found=false
   4820   # Loop through the user's path and test for each of PROGNAME-LIST
   4821   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4822 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4823 do
   4824   IFS=$as_save_IFS
   4825   test -z "$as_dir" && as_dir=.
   4826     for ac_prog in fgrep; do
   4827     for ac_exec_ext in '' $ac_executable_extensions; do
   4828       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   4829       as_fn_executable_p "$ac_path_FGREP" || continue
   4830 # Check for GNU ac_path_FGREP and select it if it is found.
   4831   # Check for GNU $ac_path_FGREP
   4832 case `"$ac_path_FGREP" --version 2>&1` in
   4833 *GNU*)
   4834   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   4835 *)
   4836   ac_count=0
   4837   $as_echo_n 0123456789 >"conftest.in"
   4838   while :
   4839   do
   4840     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4841     mv "conftest.tmp" "conftest.in"
   4842     cp "conftest.in" "conftest.nl"
   4843     $as_echo 'FGREP' >> "conftest.nl"
   4844     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4845     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4846     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4847     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   4848       # Best one so far, save it but keep looking for a better one
   4849       ac_cv_path_FGREP="$ac_path_FGREP"
   4850       ac_path_FGREP_max=$ac_count
   4851     fi
   4852     # 10*(2^10) chars as input seems more than enough
   4853     test $ac_count -gt 10 && break
   4854   done
   4855   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4856 esac
   4857 
   4858       $ac_path_FGREP_found && break 3
   4859     done
   4860   done
   4861   done
   4862 IFS=$as_save_IFS
   4863   if test -z "$ac_cv_path_FGREP"; then
   4864     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4865   fi
   4866 else
   4867   ac_cv_path_FGREP=$FGREP
   4868 fi
   4869 
   4870    fi
   4871 fi
   4872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   4873 $as_echo "$ac_cv_path_FGREP" >&6; }
   4874  FGREP="$ac_cv_path_FGREP"
   4875 
   4876 
   4877 test -z "$GREP" && GREP=grep
   4878 
   4879 
   4880 
   4881 
   4882 
   4883 
   4884 
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 
   4891 
   4892 
   4893 
   4894 
   4895 
   4896 
   4897 # Check whether --with-gnu-ld was given.
   4898 if test "${with_gnu_ld+set}" = set; then :
   4899   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   4900 else
   4901   with_gnu_ld=no
   4902 fi
   4903 
   4904 ac_prog=ld
   4905 if test yes = "$GCC"; then
   4906   # Check if gcc -print-prog-name=ld gives a path.
   4907   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   4908 $as_echo_n "checking for ld used by $CC... " >&6; }
   4909   case $host in
   4910   *-*-mingw*)
   4911     # gcc leaves a trailing carriage return, which upsets mingw
   4912     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   4913   *)
   4914     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   4915   esac
   4916   case $ac_prog in
   4917     # Accept absolute paths.
   4918     [\\/]* | ?:[\\/]*)
   4919       re_direlt='/[^/][^/]*/\.\./'
   4920       # Canonicalize the pathname of ld
   4921       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   4922       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   4923 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   4924       done
   4925       test -z "$LD" && LD=$ac_prog
   4926       ;;
   4927   "")
   4928     # If it fails, then pretend we aren't using GCC.
   4929     ac_prog=ld
   4930     ;;
   4931   *)
   4932     # If it is relative, then search for the first ld in PATH.
   4933     with_gnu_ld=unknown
   4934     ;;
   4935   esac
   4936 elif test yes = "$with_gnu_ld"; then
   4937   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   4938 $as_echo_n "checking for GNU ld... " >&6; }
   4939 else
   4940   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   4941 $as_echo_n "checking for non-GNU ld... " >&6; }
   4942 fi
   4943 if ${lt_cv_path_LD+:} false; then :
   4944   $as_echo_n "(cached) " >&6
   4945 else
   4946   if test -z "$LD"; then
   4947   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   4948   for ac_dir in $PATH; do
   4949     IFS=$lt_save_ifs
   4950     test -z "$ac_dir" && ac_dir=.
   4951     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   4952       lt_cv_path_LD=$ac_dir/$ac_prog
   4953       # Check to see if the program is GNU ld.  I'd rather use --version,
   4954       # but apparently some variants of GNU ld only accept -v.
   4955       # Break only if it was the GNU/non-GNU ld that we prefer.
   4956       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   4957       *GNU* | *'with BFD'*)
   4958 	test no != "$with_gnu_ld" && break
   4959 	;;
   4960       *)
   4961 	test yes != "$with_gnu_ld" && break
   4962 	;;
   4963       esac
   4964     fi
   4965   done
   4966   IFS=$lt_save_ifs
   4967 else
   4968   lt_cv_path_LD=$LD # Let the user override the test with a path.
   4969 fi
   4970 fi
   4971 
   4972 LD=$lt_cv_path_LD
   4973 if test -n "$LD"; then
   4974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   4975 $as_echo "$LD" >&6; }
   4976 else
   4977   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4978 $as_echo "no" >&6; }
   4979 fi
   4980 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   4982 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   4983 if ${lt_cv_prog_gnu_ld+:} false; then :
   4984   $as_echo_n "(cached) " >&6
   4985 else
   4986   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   4987 case `$LD -v 2>&1 </dev/null` in
   4988 *GNU* | *'with BFD'*)
   4989   lt_cv_prog_gnu_ld=yes
   4990   ;;
   4991 *)
   4992   lt_cv_prog_gnu_ld=no
   4993   ;;
   4994 esac
   4995 fi
   4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   4997 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   4998 with_gnu_ld=$lt_cv_prog_gnu_ld
   4999 
   5000 
   5001 
   5002 
   5003 
   5004 
   5005 
   5006 
   5007 
   5008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   5009 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   5010 if ${lt_cv_path_NM+:} false; then :
   5011   $as_echo_n "(cached) " >&6
   5012 else
   5013   if test -n "$NM"; then
   5014   # Let the user override the test.
   5015   lt_cv_path_NM=$NM
   5016 else
   5017   lt_nm_to_check=${ac_tool_prefix}nm
   5018   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5019     lt_nm_to_check="$lt_nm_to_check nm"
   5020   fi
   5021   for lt_tmp_nm in $lt_nm_to_check; do
   5022     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   5023     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5024       IFS=$lt_save_ifs
   5025       test -z "$ac_dir" && ac_dir=.
   5026       tmp_nm=$ac_dir/$lt_tmp_nm
   5027       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   5028 	# Check to see if the nm accepts a BSD-compat flag.
   5029 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   5030 	#   nm: unknown option "B" ignored
   5031 	# Tru64's nm complains that /dev/null is an invalid object file
   5032 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   5033 	case $build_os in
   5034 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   5035 	*) lt_bad_file=/dev/null ;;
   5036 	esac
   5037 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   5038 	*$lt_bad_file* | *'Invalid file or object type'*)
   5039 	  lt_cv_path_NM="$tmp_nm -B"
   5040 	  break 2
   5041 	  ;;
   5042 	*)
   5043 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5044 	  */dev/null*)
   5045 	    lt_cv_path_NM="$tmp_nm -p"
   5046 	    break 2
   5047 	    ;;
   5048 	  *)
   5049 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5050 	    continue # so that we can try to find one that supports BSD flags
   5051 	    ;;
   5052 	  esac
   5053 	  ;;
   5054 	esac
   5055       fi
   5056     done
   5057     IFS=$lt_save_ifs
   5058   done
   5059   : ${lt_cv_path_NM=no}
   5060 fi
   5061 fi
   5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   5063 $as_echo "$lt_cv_path_NM" >&6; }
   5064 if test no != "$lt_cv_path_NM"; then
   5065   NM=$lt_cv_path_NM
   5066 else
   5067   # Didn't find any BSD compatible name lister, look for dumpbin.
   5068   if test -n "$DUMPBIN"; then :
   5069     # Let the user override the test.
   5070   else
   5071     if test -n "$ac_tool_prefix"; then
   5072   for ac_prog in dumpbin "link -dump"
   5073   do
   5074     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5075 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5077 $as_echo_n "checking for $ac_word... " >&6; }
   5078 if ${ac_cv_prog_DUMPBIN+:} false; then :
   5079   $as_echo_n "(cached) " >&6
   5080 else
   5081   if test -n "$DUMPBIN"; then
   5082   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5083 else
   5084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5085 for as_dir in $PATH
   5086 do
   5087   IFS=$as_save_IFS
   5088   test -z "$as_dir" && as_dir=.
   5089     for ac_exec_ext in '' $ac_executable_extensions; do
   5090   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5091     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5092     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5093     break 2
   5094   fi
   5095 done
   5096   done
   5097 IFS=$as_save_IFS
   5098 
   5099 fi
   5100 fi
   5101 DUMPBIN=$ac_cv_prog_DUMPBIN
   5102 if test -n "$DUMPBIN"; then
   5103   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   5104 $as_echo "$DUMPBIN" >&6; }
   5105 else
   5106   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5107 $as_echo "no" >&6; }
   5108 fi
   5109 
   5110 
   5111     test -n "$DUMPBIN" && break
   5112   done
   5113 fi
   5114 if test -z "$DUMPBIN"; then
   5115   ac_ct_DUMPBIN=$DUMPBIN
   5116   for ac_prog in dumpbin "link -dump"
   5117 do
   5118   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5119 set dummy $ac_prog; ac_word=$2
   5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5121 $as_echo_n "checking for $ac_word... " >&6; }
   5122 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   5123   $as_echo_n "(cached) " >&6
   5124 else
   5125   if test -n "$ac_ct_DUMPBIN"; then
   5126   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5127 else
   5128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5129 for as_dir in $PATH
   5130 do
   5131   IFS=$as_save_IFS
   5132   test -z "$as_dir" && as_dir=.
   5133     for ac_exec_ext in '' $ac_executable_extensions; do
   5134   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5135     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5136     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5137     break 2
   5138   fi
   5139 done
   5140   done
   5141 IFS=$as_save_IFS
   5142 
   5143 fi
   5144 fi
   5145 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5146 if test -n "$ac_ct_DUMPBIN"; then
   5147   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   5148 $as_echo "$ac_ct_DUMPBIN" >&6; }
   5149 else
   5150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5151 $as_echo "no" >&6; }
   5152 fi
   5153 
   5154 
   5155   test -n "$ac_ct_DUMPBIN" && break
   5156 done
   5157 
   5158   if test "x$ac_ct_DUMPBIN" = x; then
   5159     DUMPBIN=":"
   5160   else
   5161     case $cross_compiling:$ac_tool_warned in
   5162 yes:)
   5163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5165 ac_tool_warned=yes ;;
   5166 esac
   5167     DUMPBIN=$ac_ct_DUMPBIN
   5168   fi
   5169 fi
   5170 
   5171     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   5172     *COFF*)
   5173       DUMPBIN="$DUMPBIN -symbols -headers"
   5174       ;;
   5175     *)
   5176       DUMPBIN=:
   5177       ;;
   5178     esac
   5179   fi
   5180 
   5181   if test : != "$DUMPBIN"; then
   5182     NM=$DUMPBIN
   5183   fi
   5184 fi
   5185 test -z "$NM" && NM=nm
   5186 
   5187 
   5188 
   5189 
   5190 
   5191 
   5192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   5193 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   5194 if ${lt_cv_nm_interface+:} false; then :
   5195   $as_echo_n "(cached) " >&6
   5196 else
   5197   lt_cv_nm_interface="BSD nm"
   5198   echo "int some_variable = 0;" > conftest.$ac_ext
   5199   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   5200   (eval "$ac_compile" 2>conftest.err)
   5201   cat conftest.err >&5
   5202   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5203   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5204   cat conftest.err >&5
   5205   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   5206   cat conftest.out >&5
   5207   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5208     lt_cv_nm_interface="MS dumpbin"
   5209   fi
   5210   rm -f conftest*
   5211 fi
   5212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   5213 $as_echo "$lt_cv_nm_interface" >&6; }
   5214 
   5215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   5216 $as_echo_n "checking whether ln -s works... " >&6; }
   5217 LN_S=$as_ln_s
   5218 if test "$LN_S" = "ln -s"; then
   5219   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   5220 $as_echo "yes" >&6; }
   5221 else
   5222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   5223 $as_echo "no, using $LN_S" >&6; }
   5224 fi
   5225 
   5226 # find the maximum length of command line arguments
   5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   5228 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   5229 if ${lt_cv_sys_max_cmd_len+:} false; then :
   5230   $as_echo_n "(cached) " >&6
   5231 else
   5232     i=0
   5233   teststring=ABCD
   5234 
   5235   case $build_os in
   5236   msdosdjgpp*)
   5237     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5238     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5239     # during glob expansion).  Even if it were fixed, the result of this
   5240     # check would be larger than it should be.
   5241     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5242     ;;
   5243 
   5244   gnu*)
   5245     # Under GNU Hurd, this test is not required because there is
   5246     # no limit to the length of command line arguments.
   5247     # Libtool will interpret -1 as no limit whatsoever
   5248     lt_cv_sys_max_cmd_len=-1;
   5249     ;;
   5250 
   5251   cygwin* | mingw* | cegcc*)
   5252     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5253     # about 5 minutes as the teststring grows exponentially.
   5254     # Worse, since 9x/ME are not pre-emptively multitasking,
   5255     # you end up with a "frozen" computer, even though with patience
   5256     # the test eventually succeeds (with a max line length of 256k).
   5257     # Instead, let's just punt: use the minimum linelength reported by
   5258     # all of the supported platforms: 8192 (on NT/2K/XP).
   5259     lt_cv_sys_max_cmd_len=8192;
   5260     ;;
   5261 
   5262   mint*)
   5263     # On MiNT this can take a long time and run out of memory.
   5264     lt_cv_sys_max_cmd_len=8192;
   5265     ;;
   5266 
   5267   amigaos*)
   5268     # On AmigaOS with pdksh, this test takes hours, literally.
   5269     # So we just punt and use a minimum line length of 8192.
   5270     lt_cv_sys_max_cmd_len=8192;
   5271     ;;
   5272 
   5273   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   5274     # This has been around since 386BSD, at least.  Likely further.
   5275     if test -x /sbin/sysctl; then
   5276       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5277     elif test -x /usr/sbin/sysctl; then
   5278       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5279     else
   5280       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5281     fi
   5282     # And add a safety zone
   5283     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5284     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5285     ;;
   5286 
   5287   interix*)
   5288     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5289     lt_cv_sys_max_cmd_len=196608
   5290     ;;
   5291 
   5292   os2*)
   5293     # The test takes a long time on OS/2.
   5294     lt_cv_sys_max_cmd_len=8192
   5295     ;;
   5296 
   5297   osf*)
   5298     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5299     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5300     # nice to cause kernel panics so lets avoid the loop below.
   5301     # First set a reasonable default.
   5302     lt_cv_sys_max_cmd_len=16384
   5303     #
   5304     if test -x /sbin/sysconfig; then
   5305       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5306         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5307       esac
   5308     fi
   5309     ;;
   5310   sco3.2v5*)
   5311     lt_cv_sys_max_cmd_len=102400
   5312     ;;
   5313   sysv5* | sco5v6* | sysv4.2uw2*)
   5314     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5315     if test -n "$kargmax"; then
   5316       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5317     else
   5318       lt_cv_sys_max_cmd_len=32768
   5319     fi
   5320     ;;
   5321   *)
   5322     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   5323     if test -n "$lt_cv_sys_max_cmd_len" && \
   5324        test undefined != "$lt_cv_sys_max_cmd_len"; then
   5325       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5326       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5327     else
   5328       # Make teststring a little bigger before we do anything with it.
   5329       # a 1K string should be a reasonable start.
   5330       for i in 1 2 3 4 5 6 7 8; do
   5331         teststring=$teststring$teststring
   5332       done
   5333       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5334       # If test is not a shell built-in, we'll probably end up computing a
   5335       # maximum length that is only half of the actual maximum length, but
   5336       # we can't tell.
   5337       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   5338 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   5339 	      test 17 != "$i" # 1/2 MB should be enough
   5340       do
   5341         i=`expr $i + 1`
   5342         teststring=$teststring$teststring
   5343       done
   5344       # Only check the string length outside the loop.
   5345       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5346       teststring=
   5347       # Add a significant safety factor because C++ compilers can tack on
   5348       # massive amounts of additional arguments before passing them to the
   5349       # linker.  It appears as though 1/2 is a usable value.
   5350       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5351     fi
   5352     ;;
   5353   esac
   5354 
   5355 fi
   5356 
   5357 if test -n "$lt_cv_sys_max_cmd_len"; then
   5358   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   5359 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   5360 else
   5361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   5362 $as_echo "none" >&6; }
   5363 fi
   5364 max_cmd_len=$lt_cv_sys_max_cmd_len
   5365 
   5366 
   5367 
   5368 
   5369 
   5370 
   5371 : ${CP="cp -f"}
   5372 : ${MV="mv -f"}
   5373 : ${RM="rm -f"}
   5374 
   5375 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5376   lt_unset=unset
   5377 else
   5378   lt_unset=false
   5379 fi
   5380 
   5381 
   5382 
   5383 
   5384 
   5385 # test EBCDIC or ASCII
   5386 case `echo X|tr X '\101'` in
   5387  A) # ASCII based system
   5388     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5389   lt_SP2NL='tr \040 \012'
   5390   lt_NL2SP='tr \015\012 \040\040'
   5391   ;;
   5392  *) # EBCDIC based system
   5393   lt_SP2NL='tr \100 \n'
   5394   lt_NL2SP='tr \r\n \100\100'
   5395   ;;
   5396 esac
   5397 
   5398 
   5399 
   5400 
   5401 
   5402 
   5403 
   5404 
   5405 
   5406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   5407 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   5408 if ${lt_cv_to_host_file_cmd+:} false; then :
   5409   $as_echo_n "(cached) " >&6
   5410 else
   5411   case $host in
   5412   *-*-mingw* )
   5413     case $build in
   5414       *-*-mingw* ) # actually msys
   5415         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   5416         ;;
   5417       *-*-cygwin* )
   5418         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   5419         ;;
   5420       * ) # otherwise, assume *nix
   5421         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   5422         ;;
   5423     esac
   5424     ;;
   5425   *-*-cygwin* )
   5426     case $build in
   5427       *-*-mingw* ) # actually msys
   5428         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   5429         ;;
   5430       *-*-cygwin* )
   5431         lt_cv_to_host_file_cmd=func_convert_file_noop
   5432         ;;
   5433       * ) # otherwise, assume *nix
   5434         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   5435         ;;
   5436     esac
   5437     ;;
   5438   * ) # unhandled hosts (and "normal" native builds)
   5439     lt_cv_to_host_file_cmd=func_convert_file_noop
   5440     ;;
   5441 esac
   5442 
   5443 fi
   5444 
   5445 to_host_file_cmd=$lt_cv_to_host_file_cmd
   5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   5447 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   5454 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   5455 if ${lt_cv_to_tool_file_cmd+:} false; then :
   5456   $as_echo_n "(cached) " >&6
   5457 else
   5458   #assume ordinary cross tools, or native build.
   5459 lt_cv_to_tool_file_cmd=func_convert_file_noop
   5460 case $host in
   5461   *-*-mingw* )
   5462     case $build in
   5463       *-*-mingw* ) # actually msys
   5464         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   5465         ;;
   5466     esac
   5467     ;;
   5468 esac
   5469 
   5470 fi
   5471 
   5472 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   5474 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   5475 
   5476 
   5477 
   5478 
   5479 
   5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   5481 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   5482 if ${lt_cv_ld_reload_flag+:} false; then :
   5483   $as_echo_n "(cached) " >&6
   5484 else
   5485   lt_cv_ld_reload_flag='-r'
   5486 fi
   5487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   5488 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   5489 reload_flag=$lt_cv_ld_reload_flag
   5490 case $reload_flag in
   5491 "" | " "*) ;;
   5492 *) reload_flag=" $reload_flag" ;;
   5493 esac
   5494 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5495 case $host_os in
   5496   cygwin* | mingw* | pw32* | cegcc*)
   5497     if test yes != "$GCC"; then
   5498       reload_cmds=false
   5499     fi
   5500     ;;
   5501   darwin*)
   5502     if test yes = "$GCC"; then
   5503       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   5504     else
   5505       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5506     fi
   5507     ;;
   5508 esac
   5509 
   5510 
   5511 
   5512 
   5513 
   5514 
   5515 
   5516 
   5517 
   5518 if test -n "$ac_tool_prefix"; then
   5519   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   5520 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5522 $as_echo_n "checking for $ac_word... " >&6; }
   5523 if ${ac_cv_prog_OBJDUMP+:} false; then :
   5524   $as_echo_n "(cached) " >&6
   5525 else
   5526   if test -n "$OBJDUMP"; then
   5527   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   5528 else
   5529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5530 for as_dir in $PATH
   5531 do
   5532   IFS=$as_save_IFS
   5533   test -z "$as_dir" && as_dir=.
   5534     for ac_exec_ext in '' $ac_executable_extensions; do
   5535   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5536     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   5537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5538     break 2
   5539   fi
   5540 done
   5541   done
   5542 IFS=$as_save_IFS
   5543 
   5544 fi
   5545 fi
   5546 OBJDUMP=$ac_cv_prog_OBJDUMP
   5547 if test -n "$OBJDUMP"; then
   5548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   5549 $as_echo "$OBJDUMP" >&6; }
   5550 else
   5551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5552 $as_echo "no" >&6; }
   5553 fi
   5554 
   5555 
   5556 fi
   5557 if test -z "$ac_cv_prog_OBJDUMP"; then
   5558   ac_ct_OBJDUMP=$OBJDUMP
   5559   # Extract the first word of "objdump", so it can be a program name with args.
   5560 set dummy objdump; ac_word=$2
   5561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5562 $as_echo_n "checking for $ac_word... " >&6; }
   5563 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   5564   $as_echo_n "(cached) " >&6
   5565 else
   5566   if test -n "$ac_ct_OBJDUMP"; then
   5567   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   5568 else
   5569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5570 for as_dir in $PATH
   5571 do
   5572   IFS=$as_save_IFS
   5573   test -z "$as_dir" && as_dir=.
   5574     for ac_exec_ext in '' $ac_executable_extensions; do
   5575   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5576     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   5577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5578     break 2
   5579   fi
   5580 done
   5581   done
   5582 IFS=$as_save_IFS
   5583 
   5584 fi
   5585 fi
   5586 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   5587 if test -n "$ac_ct_OBJDUMP"; then
   5588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   5589 $as_echo "$ac_ct_OBJDUMP" >&6; }
   5590 else
   5591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5592 $as_echo "no" >&6; }
   5593 fi
   5594 
   5595   if test "x$ac_ct_OBJDUMP" = x; then
   5596     OBJDUMP="false"
   5597   else
   5598     case $cross_compiling:$ac_tool_warned in
   5599 yes:)
   5600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5602 ac_tool_warned=yes ;;
   5603 esac
   5604     OBJDUMP=$ac_ct_OBJDUMP
   5605   fi
   5606 else
   5607   OBJDUMP="$ac_cv_prog_OBJDUMP"
   5608 fi
   5609 
   5610 test -z "$OBJDUMP" && OBJDUMP=objdump
   5611 
   5612 
   5613 
   5614 
   5615 
   5616 
   5617 
   5618 
   5619 
   5620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   5621 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   5622 if ${lt_cv_deplibs_check_method+:} false; then :
   5623   $as_echo_n "(cached) " >&6
   5624 else
   5625   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5626 lt_cv_file_magic_test_file=
   5627 lt_cv_deplibs_check_method='unknown'
   5628 # Need to set the preceding variable on all platforms that support
   5629 # interlibrary dependencies.
   5630 # 'none' -- dependencies not supported.
   5631 # 'unknown' -- same as none, but documents that we really don't know.
   5632 # 'pass_all' -- all dependencies passed with no checks.
   5633 # 'test_compile' -- check by making test program.
   5634 # 'file_magic [[regex]]' -- check by looking for files in library path
   5635 # that responds to the $file_magic_cmd with a given extended regex.
   5636 # If you have 'file' or equivalent on your system and you're not sure
   5637 # whether 'pass_all' will *always* work, you probably want this one.
   5638 
   5639 case $host_os in
   5640 aix[4-9]*)
   5641   lt_cv_deplibs_check_method=pass_all
   5642   ;;
   5643 
   5644 beos*)
   5645   lt_cv_deplibs_check_method=pass_all
   5646   ;;
   5647 
   5648 bsdi[45]*)
   5649   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5650   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5651   lt_cv_file_magic_test_file=/shlib/libc.so
   5652   ;;
   5653 
   5654 cygwin*)
   5655   # func_win32_libid is a shell function defined in ltmain.sh
   5656   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5657   lt_cv_file_magic_cmd='func_win32_libid'
   5658   ;;
   5659 
   5660 mingw* | pw32*)
   5661   # Base MSYS/MinGW do not provide the 'file' command needed by
   5662   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5663   # unless we find 'file', for example because we are cross-compiling.
   5664   if ( file / ) >/dev/null 2>&1; then
   5665     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5666     lt_cv_file_magic_cmd='func_win32_libid'
   5667   else
   5668     # Keep this pattern in sync with the one in func_win32_libid.
   5669     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   5670     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5671   fi
   5672   ;;
   5673 
   5674 cegcc*)
   5675   # use the weaker test based on 'objdump'. See mingw*.
   5676   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   5677   lt_cv_file_magic_cmd='$OBJDUMP -f'
   5678   ;;
   5679 
   5680 darwin* | rhapsody*)
   5681   lt_cv_deplibs_check_method=pass_all
   5682   ;;
   5683 
   5684 freebsd* | dragonfly*)
   5685   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5686     case $host_cpu in
   5687     i*86 )
   5688       # Not sure whether the presence of OpenBSD here was a mistake.
   5689       # Let's accept both of them until this is cleared up.
   5690       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5691       lt_cv_file_magic_cmd=/usr/bin/file
   5692       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5693       ;;
   5694     esac
   5695   else
   5696     lt_cv_deplibs_check_method=pass_all
   5697   fi
   5698   ;;
   5699 
   5700 haiku*)
   5701   lt_cv_deplibs_check_method=pass_all
   5702   ;;
   5703 
   5704 hpux10.20* | hpux11*)
   5705   lt_cv_file_magic_cmd=/usr/bin/file
   5706   case $host_cpu in
   5707   ia64*)
   5708     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5709     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5710     ;;
   5711   hppa*64*)
   5712     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]'
   5713     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5714     ;;
   5715   *)
   5716     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   5717     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5718     ;;
   5719   esac
   5720   ;;
   5721 
   5722 interix[3-9]*)
   5723   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5724   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5725   ;;
   5726 
   5727 irix5* | irix6* | nonstopux*)
   5728   case $LD in
   5729   *-32|*"-32 ") libmagic=32-bit;;
   5730   *-n32|*"-n32 ") libmagic=N32;;
   5731   *-64|*"-64 ") libmagic=64-bit;;
   5732   *) libmagic=never-match;;
   5733   esac
   5734   lt_cv_deplibs_check_method=pass_all
   5735   ;;
   5736 
   5737 # This must be glibc/ELF.
   5738 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   5739   lt_cv_deplibs_check_method=pass_all
   5740   ;;
   5741 
   5742 netbsd*)
   5743   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5744     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5745   else
   5746     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5747   fi
   5748   ;;
   5749 
   5750 newos6*)
   5751   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5752   lt_cv_file_magic_cmd=/usr/bin/file
   5753   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5754   ;;
   5755 
   5756 *nto* | *qnx*)
   5757   lt_cv_deplibs_check_method=pass_all
   5758   ;;
   5759 
   5760 openbsd* | bitrig*)
   5761   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   5762     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5763   else
   5764     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5765   fi
   5766   ;;
   5767 
   5768 osf3* | osf4* | osf5*)
   5769   lt_cv_deplibs_check_method=pass_all
   5770   ;;
   5771 
   5772 rdos*)
   5773   lt_cv_deplibs_check_method=pass_all
   5774   ;;
   5775 
   5776 solaris*)
   5777   lt_cv_deplibs_check_method=pass_all
   5778   ;;
   5779 
   5780 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5781   lt_cv_deplibs_check_method=pass_all
   5782   ;;
   5783 
   5784 sysv4 | sysv4.3*)
   5785   case $host_vendor in
   5786   motorola)
   5787     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]'
   5788     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5789     ;;
   5790   ncr)
   5791     lt_cv_deplibs_check_method=pass_all
   5792     ;;
   5793   sequent)
   5794     lt_cv_file_magic_cmd='/bin/file'
   5795     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5796     ;;
   5797   sni)
   5798     lt_cv_file_magic_cmd='/bin/file'
   5799     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5800     lt_cv_file_magic_test_file=/lib/libc.so
   5801     ;;
   5802   siemens)
   5803     lt_cv_deplibs_check_method=pass_all
   5804     ;;
   5805   pc)
   5806     lt_cv_deplibs_check_method=pass_all
   5807     ;;
   5808   esac
   5809   ;;
   5810 
   5811 tpf*)
   5812   lt_cv_deplibs_check_method=pass_all
   5813   ;;
   5814 os2*)
   5815   lt_cv_deplibs_check_method=pass_all
   5816   ;;
   5817 esac
   5818 
   5819 fi
   5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   5821 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   5822 
   5823 file_magic_glob=
   5824 want_nocaseglob=no
   5825 if test "$build" = "$host"; then
   5826   case $host_os in
   5827   mingw* | pw32*)
   5828     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   5829       want_nocaseglob=yes
   5830     else
   5831       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   5832     fi
   5833     ;;
   5834   esac
   5835 fi
   5836 
   5837 file_magic_cmd=$lt_cv_file_magic_cmd
   5838 deplibs_check_method=$lt_cv_deplibs_check_method
   5839 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5840 
   5841 
   5842 
   5843 
   5844 
   5845 
   5846 
   5847 
   5848 
   5849 
   5850 
   5851 
   5852 
   5853 
   5854 
   5855 
   5856 
   5857 
   5858 
   5859 
   5860 
   5861 
   5862 if test -n "$ac_tool_prefix"; then
   5863   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   5864 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   5865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5866 $as_echo_n "checking for $ac_word... " >&6; }
   5867 if ${ac_cv_prog_DLLTOOL+:} false; then :
   5868   $as_echo_n "(cached) " >&6
   5869 else
   5870   if test -n "$DLLTOOL"; then
   5871   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   5872 else
   5873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5874 for as_dir in $PATH
   5875 do
   5876   IFS=$as_save_IFS
   5877   test -z "$as_dir" && as_dir=.
   5878     for ac_exec_ext in '' $ac_executable_extensions; do
   5879   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5880     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   5881     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5882     break 2
   5883   fi
   5884 done
   5885   done
   5886 IFS=$as_save_IFS
   5887 
   5888 fi
   5889 fi
   5890 DLLTOOL=$ac_cv_prog_DLLTOOL
   5891 if test -n "$DLLTOOL"; then
   5892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   5893 $as_echo "$DLLTOOL" >&6; }
   5894 else
   5895   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5896 $as_echo "no" >&6; }
   5897 fi
   5898 
   5899 
   5900 fi
   5901 if test -z "$ac_cv_prog_DLLTOOL"; then
   5902   ac_ct_DLLTOOL=$DLLTOOL
   5903   # Extract the first word of "dlltool", so it can be a program name with args.
   5904 set dummy dlltool; ac_word=$2
   5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   5906 $as_echo_n "checking for $ac_word... " >&6; }
   5907 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   5908   $as_echo_n "(cached) " >&6
   5909 else
   5910   if test -n "$ac_ct_DLLTOOL"; then
   5911   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   5912 else
   5913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5914 for as_dir in $PATH
   5915 do
   5916   IFS=$as_save_IFS
   5917   test -z "$as_dir" && as_dir=.
   5918     for ac_exec_ext in '' $ac_executable_extensions; do
   5919   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5920     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   5921     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   5922     break 2
   5923   fi
   5924 done
   5925   done
   5926 IFS=$as_save_IFS
   5927 
   5928 fi
   5929 fi
   5930 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   5931 if test -n "$ac_ct_DLLTOOL"; then
   5932   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   5933 $as_echo "$ac_ct_DLLTOOL" >&6; }
   5934 else
   5935   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   5936 $as_echo "no" >&6; }
   5937 fi
   5938 
   5939   if test "x$ac_ct_DLLTOOL" = x; then
   5940     DLLTOOL="false"
   5941   else
   5942     case $cross_compiling:$ac_tool_warned in
   5943 yes:)
   5944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   5945 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   5946 ac_tool_warned=yes ;;
   5947 esac
   5948     DLLTOOL=$ac_ct_DLLTOOL
   5949   fi
   5950 else
   5951   DLLTOOL="$ac_cv_prog_DLLTOOL"
   5952 fi
   5953 
   5954 test -z "$DLLTOOL" && DLLTOOL=dlltool
   5955 
   5956 
   5957 
   5958 
   5959 
   5960 
   5961 
   5962 
   5963 
   5964 
   5965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   5966 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   5967 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   5968   $as_echo_n "(cached) " >&6
   5969 else
   5970   lt_cv_sharedlib_from_linklib_cmd='unknown'
   5971 
   5972 case $host_os in
   5973 cygwin* | mingw* | pw32* | cegcc*)
   5974   # two different shell functions defined in ltmain.sh;
   5975   # decide which one to use based on capabilities of $DLLTOOL
   5976   case `$DLLTOOL --help 2>&1` in
   5977   *--identify-strict*)
   5978     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   5979     ;;
   5980   *)
   5981     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   5982     ;;
   5983   esac
   5984   ;;
   5985 *)
   5986   # fallback: assume linklib IS sharedlib
   5987   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   5988   ;;
   5989 esac
   5990 
   5991 fi
   5992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   5993 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   5994 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   5995 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 if test -n "$ac_tool_prefix"; then
   6004   for ac_prog in ar
   6005   do
   6006     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   6007 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6009 $as_echo_n "checking for $ac_word... " >&6; }
   6010 if ${ac_cv_prog_AR+:} false; then :
   6011   $as_echo_n "(cached) " >&6
   6012 else
   6013   if test -n "$AR"; then
   6014   ac_cv_prog_AR="$AR" # Let the user override the test.
   6015 else
   6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6017 for as_dir in $PATH
   6018 do
   6019   IFS=$as_save_IFS
   6020   test -z "$as_dir" && as_dir=.
   6021     for ac_exec_ext in '' $ac_executable_extensions; do
   6022   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6023     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   6024     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6025     break 2
   6026   fi
   6027 done
   6028   done
   6029 IFS=$as_save_IFS
   6030 
   6031 fi
   6032 fi
   6033 AR=$ac_cv_prog_AR
   6034 if test -n "$AR"; then
   6035   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   6036 $as_echo "$AR" >&6; }
   6037 else
   6038   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6039 $as_echo "no" >&6; }
   6040 fi
   6041 
   6042 
   6043     test -n "$AR" && break
   6044   done
   6045 fi
   6046 if test -z "$AR"; then
   6047   ac_ct_AR=$AR
   6048   for ac_prog in ar
   6049 do
   6050   # Extract the first word of "$ac_prog", so it can be a program name with args.
   6051 set dummy $ac_prog; ac_word=$2
   6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6053 $as_echo_n "checking for $ac_word... " >&6; }
   6054 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   6055   $as_echo_n "(cached) " >&6
   6056 else
   6057   if test -n "$ac_ct_AR"; then
   6058   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6059 else
   6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6061 for as_dir in $PATH
   6062 do
   6063   IFS=$as_save_IFS
   6064   test -z "$as_dir" && as_dir=.
   6065     for ac_exec_ext in '' $ac_executable_extensions; do
   6066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6067     ac_cv_prog_ac_ct_AR="$ac_prog"
   6068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6069     break 2
   6070   fi
   6071 done
   6072   done
   6073 IFS=$as_save_IFS
   6074 
   6075 fi
   6076 fi
   6077 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6078 if test -n "$ac_ct_AR"; then
   6079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   6080 $as_echo "$ac_ct_AR" >&6; }
   6081 else
   6082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6083 $as_echo "no" >&6; }
   6084 fi
   6085 
   6086 
   6087   test -n "$ac_ct_AR" && break
   6088 done
   6089 
   6090   if test "x$ac_ct_AR" = x; then
   6091     AR="false"
   6092   else
   6093     case $cross_compiling:$ac_tool_warned in
   6094 yes:)
   6095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6097 ac_tool_warned=yes ;;
   6098 esac
   6099     AR=$ac_ct_AR
   6100   fi
   6101 fi
   6102 
   6103 : ${AR=ar}
   6104 : ${AR_FLAGS=cru}
   6105 
   6106 
   6107 
   6108 
   6109 
   6110 
   6111 
   6112 
   6113 
   6114 
   6115 
   6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   6117 $as_echo_n "checking for archiver @FILE support... " >&6; }
   6118 if ${lt_cv_ar_at_file+:} false; then :
   6119   $as_echo_n "(cached) " >&6
   6120 else
   6121   lt_cv_ar_at_file=no
   6122    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6123 /* end confdefs.h.  */
   6124 
   6125 int
   6126 main ()
   6127 {
   6128 
   6129   ;
   6130   return 0;
   6131 }
   6132 _ACEOF
   6133 if ac_fn_c_try_compile "$LINENO"; then :
   6134   echo conftest.$ac_objext > conftest.lst
   6135       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   6136       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6137   (eval $lt_ar_try) 2>&5
   6138   ac_status=$?
   6139   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6140   test $ac_status = 0; }
   6141       if test 0 -eq "$ac_status"; then
   6142 	# Ensure the archiver fails upon bogus file names.
   6143 	rm -f conftest.$ac_objext libconftest.a
   6144 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   6145   (eval $lt_ar_try) 2>&5
   6146   ac_status=$?
   6147   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6148   test $ac_status = 0; }
   6149 	if test 0 -ne "$ac_status"; then
   6150           lt_cv_ar_at_file=@
   6151         fi
   6152       fi
   6153       rm -f conftest.* libconftest.a
   6154 
   6155 fi
   6156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6157 
   6158 fi
   6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   6160 $as_echo "$lt_cv_ar_at_file" >&6; }
   6161 
   6162 if test no = "$lt_cv_ar_at_file"; then
   6163   archiver_list_spec=
   6164 else
   6165   archiver_list_spec=$lt_cv_ar_at_file
   6166 fi
   6167 
   6168 
   6169 
   6170 
   6171 
   6172 
   6173 
   6174 if test -n "$ac_tool_prefix"; then
   6175   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6176 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6178 $as_echo_n "checking for $ac_word... " >&6; }
   6179 if ${ac_cv_prog_STRIP+:} false; then :
   6180   $as_echo_n "(cached) " >&6
   6181 else
   6182   if test -n "$STRIP"; then
   6183   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6184 else
   6185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6186 for as_dir in $PATH
   6187 do
   6188   IFS=$as_save_IFS
   6189   test -z "$as_dir" && as_dir=.
   6190     for ac_exec_ext in '' $ac_executable_extensions; do
   6191   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6192     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6193     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6194     break 2
   6195   fi
   6196 done
   6197   done
   6198 IFS=$as_save_IFS
   6199 
   6200 fi
   6201 fi
   6202 STRIP=$ac_cv_prog_STRIP
   6203 if test -n "$STRIP"; then
   6204   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   6205 $as_echo "$STRIP" >&6; }
   6206 else
   6207   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6208 $as_echo "no" >&6; }
   6209 fi
   6210 
   6211 
   6212 fi
   6213 if test -z "$ac_cv_prog_STRIP"; then
   6214   ac_ct_STRIP=$STRIP
   6215   # Extract the first word of "strip", so it can be a program name with args.
   6216 set dummy strip; ac_word=$2
   6217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6218 $as_echo_n "checking for $ac_word... " >&6; }
   6219 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   6220   $as_echo_n "(cached) " >&6
   6221 else
   6222   if test -n "$ac_ct_STRIP"; then
   6223   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6224 else
   6225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6226 for as_dir in $PATH
   6227 do
   6228   IFS=$as_save_IFS
   6229   test -z "$as_dir" && as_dir=.
   6230     for ac_exec_ext in '' $ac_executable_extensions; do
   6231   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6232     ac_cv_prog_ac_ct_STRIP="strip"
   6233     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6234     break 2
   6235   fi
   6236 done
   6237   done
   6238 IFS=$as_save_IFS
   6239 
   6240 fi
   6241 fi
   6242 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6243 if test -n "$ac_ct_STRIP"; then
   6244   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   6245 $as_echo "$ac_ct_STRIP" >&6; }
   6246 else
   6247   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6248 $as_echo "no" >&6; }
   6249 fi
   6250 
   6251   if test "x$ac_ct_STRIP" = x; then
   6252     STRIP=":"
   6253   else
   6254     case $cross_compiling:$ac_tool_warned in
   6255 yes:)
   6256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6257 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6258 ac_tool_warned=yes ;;
   6259 esac
   6260     STRIP=$ac_ct_STRIP
   6261   fi
   6262 else
   6263   STRIP="$ac_cv_prog_STRIP"
   6264 fi
   6265 
   6266 test -z "$STRIP" && STRIP=:
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 if test -n "$ac_tool_prefix"; then
   6274   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6275 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6277 $as_echo_n "checking for $ac_word... " >&6; }
   6278 if ${ac_cv_prog_RANLIB+:} false; then :
   6279   $as_echo_n "(cached) " >&6
   6280 else
   6281   if test -n "$RANLIB"; then
   6282   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6283 else
   6284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6285 for as_dir in $PATH
   6286 do
   6287   IFS=$as_save_IFS
   6288   test -z "$as_dir" && as_dir=.
   6289     for ac_exec_ext in '' $ac_executable_extensions; do
   6290   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6291     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6293     break 2
   6294   fi
   6295 done
   6296   done
   6297 IFS=$as_save_IFS
   6298 
   6299 fi
   6300 fi
   6301 RANLIB=$ac_cv_prog_RANLIB
   6302 if test -n "$RANLIB"; then
   6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   6304 $as_echo "$RANLIB" >&6; }
   6305 else
   6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6307 $as_echo "no" >&6; }
   6308 fi
   6309 
   6310 
   6311 fi
   6312 if test -z "$ac_cv_prog_RANLIB"; then
   6313   ac_ct_RANLIB=$RANLIB
   6314   # Extract the first word of "ranlib", so it can be a program name with args.
   6315 set dummy ranlib; ac_word=$2
   6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   6317 $as_echo_n "checking for $ac_word... " >&6; }
   6318 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   6319   $as_echo_n "(cached) " >&6
   6320 else
   6321   if test -n "$ac_ct_RANLIB"; then
   6322   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6323 else
   6324 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6325 for as_dir in $PATH
   6326 do
   6327   IFS=$as_save_IFS
   6328   test -z "$as_dir" && as_dir=.
   6329     for ac_exec_ext in '' $ac_executable_extensions; do
   6330   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6331     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   6333     break 2
   6334   fi
   6335 done
   6336   done
   6337 IFS=$as_save_IFS
   6338 
   6339 fi
   6340 fi
   6341 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6342 if test -n "$ac_ct_RANLIB"; then
   6343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   6344 $as_echo "$ac_ct_RANLIB" >&6; }
   6345 else
   6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   6347 $as_echo "no" >&6; }
   6348 fi
   6349 
   6350   if test "x$ac_ct_RANLIB" = x; then
   6351     RANLIB=":"
   6352   else
   6353     case $cross_compiling:$ac_tool_warned in
   6354 yes:)
   6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   6356 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   6357 ac_tool_warned=yes ;;
   6358 esac
   6359     RANLIB=$ac_ct_RANLIB
   6360   fi
   6361 else
   6362   RANLIB="$ac_cv_prog_RANLIB"
   6363 fi
   6364 
   6365 test -z "$RANLIB" && RANLIB=:
   6366 
   6367 
   6368 
   6369 
   6370 
   6371 
   6372 # Determine commands to create old-style static archives.
   6373 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   6374 old_postinstall_cmds='chmod 644 $oldlib'
   6375 old_postuninstall_cmds=
   6376 
   6377 if test -n "$RANLIB"; then
   6378   case $host_os in
   6379   bitrig* | openbsd*)
   6380     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   6381     ;;
   6382   *)
   6383     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   6384     ;;
   6385   esac
   6386   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   6387 fi
   6388 
   6389 case $host_os in
   6390   darwin*)
   6391     lock_old_archive_extraction=yes ;;
   6392   *)
   6393     lock_old_archive_extraction=no ;;
   6394 esac
   6395 
   6396 
   6397 
   6398 
   6399 
   6400 
   6401 
   6402 
   6403 
   6404 
   6405 
   6406 
   6407 
   6408 
   6409 
   6410 
   6411 
   6412 
   6413 
   6414 
   6415 
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 
   6432 
   6433 
   6434 # If no C compiler was specified, use CC.
   6435 LTCC=${LTCC-"$CC"}
   6436 
   6437 # If no C compiler flags were specified, use CFLAGS.
   6438 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6439 
   6440 # Allow CC to be a program name with arguments.
   6441 compiler=$CC
   6442 
   6443 
   6444 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   6446 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   6447 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   6448   $as_echo_n "(cached) " >&6
   6449 else
   6450 
   6451 # These are sane defaults that work on at least a few old systems.
   6452 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6453 
   6454 # Character class describing NM global symbol codes.
   6455 symcode='[BCDEGRST]'
   6456 
   6457 # Regexp to match symbols that can be accessed directly from C.
   6458 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6459 
   6460 # Define system-specific variables.
   6461 case $host_os in
   6462 aix*)
   6463   symcode='[BCDT]'
   6464   ;;
   6465 cygwin* | mingw* | pw32* | cegcc*)
   6466   symcode='[ABCDGISTW]'
   6467   ;;
   6468 hpux*)
   6469   if test ia64 = "$host_cpu"; then
   6470     symcode='[ABCDEGRST]'
   6471   fi
   6472   ;;
   6473 irix* | nonstopux*)
   6474   symcode='[BCDEGRST]'
   6475   ;;
   6476 osf*)
   6477   symcode='[BCDEGQRST]'
   6478   ;;
   6479 solaris*)
   6480   symcode='[BDRT]'
   6481   ;;
   6482 sco3.2v5*)
   6483   symcode='[DT]'
   6484   ;;
   6485 sysv4.2uw2*)
   6486   symcode='[DT]'
   6487   ;;
   6488 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6489   symcode='[ABDT]'
   6490   ;;
   6491 sysv4)
   6492   symcode='[DFNSTU]'
   6493   ;;
   6494 esac
   6495 
   6496 # If we're using GNU nm, then use its standard symbol codes.
   6497 case `$NM -V 2>&1` in
   6498 *GNU* | *'with BFD'*)
   6499   symcode='[ABCDGIRSTW]' ;;
   6500 esac
   6501 
   6502 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6503   # Gets list of data symbols to import.
   6504   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   6505   # Adjust the below global symbol transforms to fixup imported variables.
   6506   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   6507   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   6508   lt_c_name_lib_hook="\
   6509   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   6510   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   6511 else
   6512   # Disable hooks by default.
   6513   lt_cv_sys_global_symbol_to_import=
   6514   lt_cdecl_hook=
   6515   lt_c_name_hook=
   6516   lt_c_name_lib_hook=
   6517 fi
   6518 
   6519 # Transform an extracted symbol line into a proper C declaration.
   6520 # Some systems (esp. on ia64) link data and code symbols differently,
   6521 # so use this general approach.
   6522 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   6523 $lt_cdecl_hook\
   6524 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   6525 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   6526 
   6527 # Transform an extracted symbol line into symbol name and symbol address
   6528 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   6529 $lt_c_name_hook\
   6530 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6531 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   6532 
   6533 # Transform an extracted symbol line into symbol name with lib prefix and
   6534 # symbol address.
   6535 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   6536 $lt_c_name_lib_hook\
   6537 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   6538 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   6539 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   6540 
   6541 # Handle CRLF in mingw tool chain
   6542 opt_cr=
   6543 case $build_os in
   6544 mingw*)
   6545   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6546   ;;
   6547 esac
   6548 
   6549 # Try without a prefix underscore, then with it.
   6550 for ac_symprfx in "" "_"; do
   6551 
   6552   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6553   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6554 
   6555   # Write the raw and C identifiers.
   6556   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6557     # Fake it for dumpbin and say T for any non-static function,
   6558     # D for any global variable and I for any imported variable.
   6559     # Also find C++ and __fastcall symbols from MSVC++,
   6560     # which start with @ or ?.
   6561     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6562 "     {last_section=section; section=\$ 3};"\
   6563 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   6564 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6565 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   6566 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   6567 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   6568 "     \$ 0!~/External *\|/{next};"\
   6569 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6570 "     {if(hide[section]) next};"\
   6571 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   6572 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   6573 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   6574 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   6575 "     ' prfx=^$ac_symprfx"
   6576   else
   6577     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6578   fi
   6579   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   6580 
   6581   # Check to see that the pipe works correctly.
   6582   pipe_works=no
   6583 
   6584   rm -f conftest*
   6585   cat > conftest.$ac_ext <<_LT_EOF
   6586 #ifdef __cplusplus
   6587 extern "C" {
   6588 #endif
   6589 char nm_test_var;
   6590 void nm_test_func(void);
   6591 void nm_test_func(void){}
   6592 #ifdef __cplusplus
   6593 }
   6594 #endif
   6595 int main(){nm_test_var='a';nm_test_func();return(0);}
   6596 _LT_EOF
   6597 
   6598   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6599   (eval $ac_compile) 2>&5
   6600   ac_status=$?
   6601   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6602   test $ac_status = 0; }; then
   6603     # Now try to grab the symbols.
   6604     nlist=conftest.nm
   6605     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   6606   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   6607   ac_status=$?
   6608   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6609   test $ac_status = 0; } && test -s "$nlist"; then
   6610       # Try sorting and uniquifying the output.
   6611       if sort "$nlist" | uniq > "$nlist"T; then
   6612 	mv -f "$nlist"T "$nlist"
   6613       else
   6614 	rm -f "$nlist"T
   6615       fi
   6616 
   6617       # Make sure that we snagged all the symbols we need.
   6618       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6619 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6620 	  cat <<_LT_EOF > conftest.$ac_ext
   6621 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   6622 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   6623 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   6624    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   6625 # define LT_DLSYM_CONST
   6626 #elif defined __osf__
   6627 /* This system does not cope well with relocations in const data.  */
   6628 # define LT_DLSYM_CONST
   6629 #else
   6630 # define LT_DLSYM_CONST const
   6631 #endif
   6632 
   6633 #ifdef __cplusplus
   6634 extern "C" {
   6635 #endif
   6636 
   6637 _LT_EOF
   6638 	  # Now generate the symbol file.
   6639 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6640 
   6641 	  cat <<_LT_EOF >> conftest.$ac_ext
   6642 
   6643 /* The mapping between symbol names and symbols.  */
   6644 LT_DLSYM_CONST struct {
   6645   const char *name;
   6646   void       *address;
   6647 }
   6648 lt__PROGRAM__LTX_preloaded_symbols[] =
   6649 {
   6650   { "@PROGRAM@", (void *) 0 },
   6651 _LT_EOF
   6652 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6653 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6654   {0, (void *) 0}
   6655 };
   6656 
   6657 /* This works around a problem in FreeBSD linker */
   6658 #ifdef FREEBSD_WORKAROUND
   6659 static const void *lt_preloaded_setup() {
   6660   return lt__PROGRAM__LTX_preloaded_symbols;
   6661 }
   6662 #endif
   6663 
   6664 #ifdef __cplusplus
   6665 }
   6666 #endif
   6667 _LT_EOF
   6668 	  # Now try linking the two files.
   6669 	  mv conftest.$ac_objext conftstm.$ac_objext
   6670 	  lt_globsym_save_LIBS=$LIBS
   6671 	  lt_globsym_save_CFLAGS=$CFLAGS
   6672 	  LIBS=conftstm.$ac_objext
   6673 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6674 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   6675   (eval $ac_link) 2>&5
   6676   ac_status=$?
   6677   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6678   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   6679 	    pipe_works=yes
   6680 	  fi
   6681 	  LIBS=$lt_globsym_save_LIBS
   6682 	  CFLAGS=$lt_globsym_save_CFLAGS
   6683 	else
   6684 	  echo "cannot find nm_test_func in $nlist" >&5
   6685 	fi
   6686       else
   6687 	echo "cannot find nm_test_var in $nlist" >&5
   6688       fi
   6689     else
   6690       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6691     fi
   6692   else
   6693     echo "$progname: failed program was:" >&5
   6694     cat conftest.$ac_ext >&5
   6695   fi
   6696   rm -rf conftest* conftst*
   6697 
   6698   # Do not use the global_symbol_pipe unless it works.
   6699   if test yes = "$pipe_works"; then
   6700     break
   6701   else
   6702     lt_cv_sys_global_symbol_pipe=
   6703   fi
   6704 done
   6705 
   6706 fi
   6707 
   6708 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6709   lt_cv_sys_global_symbol_to_cdecl=
   6710 fi
   6711 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6712   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   6713 $as_echo "failed" >&6; }
   6714 else
   6715   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   6716 $as_echo "ok" >&6; }
   6717 fi
   6718 
   6719 # Response file support.
   6720 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6721   nm_file_list_spec='@'
   6722 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   6723   nm_file_list_spec='@'
   6724 fi
   6725 
   6726 
   6727 
   6728 
   6729 
   6730 
   6731 
   6732 
   6733 
   6734 
   6735 
   6736 
   6737 
   6738 
   6739 
   6740 
   6741 
   6742 
   6743 
   6744 
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 
   6759 
   6760 
   6761 
   6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   6763 $as_echo_n "checking for sysroot... " >&6; }
   6764 
   6765 # Check whether --with-sysroot was given.
   6766 if test "${with_sysroot+set}" = set; then :
   6767   withval=$with_sysroot;
   6768 else
   6769   with_sysroot=no
   6770 fi
   6771 
   6772 
   6773 lt_sysroot=
   6774 case $with_sysroot in #(
   6775  yes)
   6776    if test yes = "$GCC"; then
   6777      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   6778    fi
   6779    ;; #(
   6780  /*)
   6781    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   6782    ;; #(
   6783  no|'')
   6784    ;; #(
   6785  *)
   6786    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   6787 $as_echo "$with_sysroot" >&6; }
   6788    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   6789    ;;
   6790 esac
   6791 
   6792  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   6793 $as_echo "${lt_sysroot:-no}" >&6; }
   6794 
   6795 
   6796 
   6797 
   6798 
   6799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   6800 $as_echo_n "checking for a working dd... " >&6; }
   6801 if ${ac_cv_path_lt_DD+:} false; then :
   6802   $as_echo_n "(cached) " >&6
   6803 else
   6804   printf 0123456789abcdef0123456789abcdef >conftest.i
   6805 cat conftest.i conftest.i >conftest2.i
   6806 : ${lt_DD:=$DD}
   6807 if test -z "$lt_DD"; then
   6808   ac_path_lt_DD_found=false
   6809   # Loop through the user's path and test for each of PROGNAME-LIST
   6810   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6811 for as_dir in $PATH
   6812 do
   6813   IFS=$as_save_IFS
   6814   test -z "$as_dir" && as_dir=.
   6815     for ac_prog in dd; do
   6816     for ac_exec_ext in '' $ac_executable_extensions; do
   6817       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   6818       as_fn_executable_p "$ac_path_lt_DD" || continue
   6819 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6820   cmp -s conftest.i conftest.out \
   6821   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   6822 fi
   6823       $ac_path_lt_DD_found && break 3
   6824     done
   6825   done
   6826   done
   6827 IFS=$as_save_IFS
   6828   if test -z "$ac_cv_path_lt_DD"; then
   6829     :
   6830   fi
   6831 else
   6832   ac_cv_path_lt_DD=$lt_DD
   6833 fi
   6834 
   6835 rm -f conftest.i conftest2.i conftest.out
   6836 fi
   6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   6838 $as_echo "$ac_cv_path_lt_DD" >&6; }
   6839 
   6840 
   6841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   6842 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   6843 if ${lt_cv_truncate_bin+:} false; then :
   6844   $as_echo_n "(cached) " >&6
   6845 else
   6846   printf 0123456789abcdef0123456789abcdef >conftest.i
   6847 cat conftest.i conftest.i >conftest2.i
   6848 lt_cv_truncate_bin=
   6849 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   6850   cmp -s conftest.i conftest.out \
   6851   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   6852 fi
   6853 rm -f conftest.i conftest2.i conftest.out
   6854 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   6855 fi
   6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   6857 $as_echo "$lt_cv_truncate_bin" >&6; }
   6858 
   6859 
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   6866 func_cc_basename ()
   6867 {
   6868     for cc_temp in $*""; do
   6869       case $cc_temp in
   6870         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6871         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   6872         \-*) ;;
   6873         *) break;;
   6874       esac
   6875     done
   6876     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   6877 }
   6878 
   6879 # Check whether --enable-libtool-lock was given.
   6880 if test "${enable_libtool_lock+set}" = set; then :
   6881   enableval=$enable_libtool_lock;
   6882 fi
   6883 
   6884 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   6885 
   6886 # Some flags need to be propagated to the compiler or linker for good
   6887 # libtool support.
   6888 case $host in
   6889 ia64-*-hpux*)
   6890   # Find out what ABI is being produced by ac_compile, and set mode
   6891   # options accordingly.
   6892   echo 'int i;' > conftest.$ac_ext
   6893   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6894   (eval $ac_compile) 2>&5
   6895   ac_status=$?
   6896   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6897   test $ac_status = 0; }; then
   6898     case `/usr/bin/file conftest.$ac_objext` in
   6899       *ELF-32*)
   6900 	HPUX_IA64_MODE=32
   6901 	;;
   6902       *ELF-64*)
   6903 	HPUX_IA64_MODE=64
   6904 	;;
   6905     esac
   6906   fi
   6907   rm -rf conftest*
   6908   ;;
   6909 *-*-irix6*)
   6910   # Find out what ABI is being produced by ac_compile, and set linker
   6911   # options accordingly.
   6912   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6913   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6914   (eval $ac_compile) 2>&5
   6915   ac_status=$?
   6916   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6917   test $ac_status = 0; }; then
   6918     if test yes = "$lt_cv_prog_gnu_ld"; then
   6919       case `/usr/bin/file conftest.$ac_objext` in
   6920 	*32-bit*)
   6921 	  LD="${LD-ld} -melf32bsmip"
   6922 	  ;;
   6923 	*N32*)
   6924 	  LD="${LD-ld} -melf32bmipn32"
   6925 	  ;;
   6926 	*64-bit*)
   6927 	  LD="${LD-ld} -melf64bmip"
   6928 	;;
   6929       esac
   6930     else
   6931       case `/usr/bin/file conftest.$ac_objext` in
   6932 	*32-bit*)
   6933 	  LD="${LD-ld} -32"
   6934 	  ;;
   6935 	*N32*)
   6936 	  LD="${LD-ld} -n32"
   6937 	  ;;
   6938 	*64-bit*)
   6939 	  LD="${LD-ld} -64"
   6940 	  ;;
   6941       esac
   6942     fi
   6943   fi
   6944   rm -rf conftest*
   6945   ;;
   6946 
   6947 mips64*-*linux*)
   6948   # Find out what ABI is being produced by ac_compile, and set linker
   6949   # options accordingly.
   6950   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   6951   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6952   (eval $ac_compile) 2>&5
   6953   ac_status=$?
   6954   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6955   test $ac_status = 0; }; then
   6956     emul=elf
   6957     case `/usr/bin/file conftest.$ac_objext` in
   6958       *32-bit*)
   6959 	emul="${emul}32"
   6960 	;;
   6961       *64-bit*)
   6962 	emul="${emul}64"
   6963 	;;
   6964     esac
   6965     case `/usr/bin/file conftest.$ac_objext` in
   6966       *MSB*)
   6967 	emul="${emul}btsmip"
   6968 	;;
   6969       *LSB*)
   6970 	emul="${emul}ltsmip"
   6971 	;;
   6972     esac
   6973     case `/usr/bin/file conftest.$ac_objext` in
   6974       *N32*)
   6975 	emul="${emul}n32"
   6976 	;;
   6977     esac
   6978     LD="${LD-ld} -m $emul"
   6979   fi
   6980   rm -rf conftest*
   6981   ;;
   6982 
   6983 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   6984 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6985   # Find out what ABI is being produced by ac_compile, and set linker
   6986   # options accordingly.  Note that the listed cases only cover the
   6987   # situations where additional linker options are needed (such as when
   6988   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   6989   # vice versa); the common cases where no linker options are needed do
   6990   # not appear in the list.
   6991   echo 'int i;' > conftest.$ac_ext
   6992   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   6993   (eval $ac_compile) 2>&5
   6994   ac_status=$?
   6995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   6996   test $ac_status = 0; }; then
   6997     case `/usr/bin/file conftest.o` in
   6998       *32-bit*)
   6999 	case $host in
   7000 	  x86_64-*kfreebsd*-gnu)
   7001 	    LD="${LD-ld} -m elf_i386_fbsd"
   7002 	    ;;
   7003 	  x86_64-*linux*)
   7004 	    case `/usr/bin/file conftest.o` in
   7005 	      *x86-64*)
   7006 		LD="${LD-ld} -m elf32_x86_64"
   7007 		;;
   7008 	      *)
   7009 		LD="${LD-ld} -m elf_i386"
   7010 		;;
   7011 	    esac
   7012 	    ;;
   7013 	  powerpc64le-*linux*)
   7014 	    LD="${LD-ld} -m elf32lppclinux"
   7015 	    ;;
   7016 	  powerpc64-*linux*)
   7017 	    LD="${LD-ld} -m elf32ppclinux"
   7018 	    ;;
   7019 	  s390x-*linux*)
   7020 	    LD="${LD-ld} -m elf_s390"
   7021 	    ;;
   7022 	  sparc64-*linux*)
   7023 	    LD="${LD-ld} -m elf32_sparc"
   7024 	    ;;
   7025 	esac
   7026 	;;
   7027       *64-bit*)
   7028 	case $host in
   7029 	  x86_64-*kfreebsd*-gnu)
   7030 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   7031 	    ;;
   7032 	  x86_64-*linux*)
   7033 	    LD="${LD-ld} -m elf_x86_64"
   7034 	    ;;
   7035 	  powerpcle-*linux*)
   7036 	    LD="${LD-ld} -m elf64lppc"
   7037 	    ;;
   7038 	  powerpc-*linux*)
   7039 	    LD="${LD-ld} -m elf64ppc"
   7040 	    ;;
   7041 	  s390*-*linux*|s390*-*tpf*)
   7042 	    LD="${LD-ld} -m elf64_s390"
   7043 	    ;;
   7044 	  sparc*-*linux*)
   7045 	    LD="${LD-ld} -m elf64_sparc"
   7046 	    ;;
   7047 	esac
   7048 	;;
   7049     esac
   7050   fi
   7051   rm -rf conftest*
   7052   ;;
   7053 
   7054 *-*-sco3.2v5*)
   7055   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   7056   SAVE_CFLAGS=$CFLAGS
   7057   CFLAGS="$CFLAGS -belf"
   7058   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   7059 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   7060 if ${lt_cv_cc_needs_belf+:} false; then :
   7061   $as_echo_n "(cached) " >&6
   7062 else
   7063   ac_ext=c
   7064 ac_cpp='$CPP $CPPFLAGS'
   7065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7068 
   7069      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7070 /* end confdefs.h.  */
   7071 
   7072 int
   7073 main ()
   7074 {
   7075 
   7076   ;
   7077   return 0;
   7078 }
   7079 _ACEOF
   7080 if ac_fn_c_try_link "$LINENO"; then :
   7081   lt_cv_cc_needs_belf=yes
   7082 else
   7083   lt_cv_cc_needs_belf=no
   7084 fi
   7085 rm -f core conftest.err conftest.$ac_objext \
   7086     conftest$ac_exeext conftest.$ac_ext
   7087      ac_ext=c
   7088 ac_cpp='$CPP $CPPFLAGS'
   7089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7092 
   7093 fi
   7094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   7095 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   7096   if test yes != "$lt_cv_cc_needs_belf"; then
   7097     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   7098     CFLAGS=$SAVE_CFLAGS
   7099   fi
   7100   ;;
   7101 *-*solaris*)
   7102   # Find out what ABI is being produced by ac_compile, and set linker
   7103   # options accordingly.
   7104   echo 'int i;' > conftest.$ac_ext
   7105   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   7106   (eval $ac_compile) 2>&5
   7107   ac_status=$?
   7108   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   7109   test $ac_status = 0; }; then
   7110     case `/usr/bin/file conftest.o` in
   7111     *64-bit*)
   7112       case $lt_cv_prog_gnu_ld in
   7113       yes*)
   7114         case $host in
   7115         i?86-*-solaris*|x86_64-*-solaris*)
   7116           LD="${LD-ld} -m elf_x86_64"
   7117           ;;
   7118         sparc*-*-solaris*)
   7119           LD="${LD-ld} -m elf64_sparc"
   7120           ;;
   7121         esac
   7122         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   7123         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   7124           LD=${LD-ld}_sol2
   7125         fi
   7126         ;;
   7127       *)
   7128 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   7129 	  LD="${LD-ld} -64"
   7130 	fi
   7131 	;;
   7132       esac
   7133       ;;
   7134     esac
   7135   fi
   7136   rm -rf conftest*
   7137   ;;
   7138 esac
   7139 
   7140 need_locks=$enable_libtool_lock
   7141 
   7142 if test -n "$ac_tool_prefix"; then
   7143   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   7144 set dummy ${ac_tool_prefix}mt; ac_word=$2
   7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7146 $as_echo_n "checking for $ac_word... " >&6; }
   7147 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   7148   $as_echo_n "(cached) " >&6
   7149 else
   7150   if test -n "$MANIFEST_TOOL"; then
   7151   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   7152 else
   7153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7154 for as_dir in $PATH
   7155 do
   7156   IFS=$as_save_IFS
   7157   test -z "$as_dir" && as_dir=.
   7158     for ac_exec_ext in '' $ac_executable_extensions; do
   7159   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7160     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   7161     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7162     break 2
   7163   fi
   7164 done
   7165   done
   7166 IFS=$as_save_IFS
   7167 
   7168 fi
   7169 fi
   7170 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   7171 if test -n "$MANIFEST_TOOL"; then
   7172   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   7173 $as_echo "$MANIFEST_TOOL" >&6; }
   7174 else
   7175   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7176 $as_echo "no" >&6; }
   7177 fi
   7178 
   7179 
   7180 fi
   7181 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   7182   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   7183   # Extract the first word of "mt", so it can be a program name with args.
   7184 set dummy mt; ac_word=$2
   7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7186 $as_echo_n "checking for $ac_word... " >&6; }
   7187 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   7188   $as_echo_n "(cached) " >&6
   7189 else
   7190   if test -n "$ac_ct_MANIFEST_TOOL"; then
   7191   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   7192 else
   7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7194 for as_dir in $PATH
   7195 do
   7196   IFS=$as_save_IFS
   7197   test -z "$as_dir" && as_dir=.
   7198     for ac_exec_ext in '' $ac_executable_extensions; do
   7199   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7200     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   7201     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7202     break 2
   7203   fi
   7204 done
   7205   done
   7206 IFS=$as_save_IFS
   7207 
   7208 fi
   7209 fi
   7210 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   7211 if test -n "$ac_ct_MANIFEST_TOOL"; then
   7212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   7213 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   7214 else
   7215   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7216 $as_echo "no" >&6; }
   7217 fi
   7218 
   7219   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   7220     MANIFEST_TOOL=":"
   7221   else
   7222     case $cross_compiling:$ac_tool_warned in
   7223 yes:)
   7224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7226 ac_tool_warned=yes ;;
   7227 esac
   7228     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   7229   fi
   7230 else
   7231   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   7232 fi
   7233 
   7234 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   7235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   7236 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   7237 if ${lt_cv_path_mainfest_tool+:} false; then :
   7238   $as_echo_n "(cached) " >&6
   7239 else
   7240   lt_cv_path_mainfest_tool=no
   7241   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   7242   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   7243   cat conftest.err >&5
   7244   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   7245     lt_cv_path_mainfest_tool=yes
   7246   fi
   7247   rm -f conftest*
   7248 fi
   7249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   7250 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   7251 if test yes != "$lt_cv_path_mainfest_tool"; then
   7252   MANIFEST_TOOL=:
   7253 fi
   7254 
   7255 
   7256 
   7257 
   7258 
   7259 
   7260   case $host_os in
   7261     rhapsody* | darwin*)
   7262     if test -n "$ac_tool_prefix"; then
   7263   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   7264 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   7265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7266 $as_echo_n "checking for $ac_word... " >&6; }
   7267 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   7268   $as_echo_n "(cached) " >&6
   7269 else
   7270   if test -n "$DSYMUTIL"; then
   7271   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   7272 else
   7273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7274 for as_dir in $PATH
   7275 do
   7276   IFS=$as_save_IFS
   7277   test -z "$as_dir" && as_dir=.
   7278     for ac_exec_ext in '' $ac_executable_extensions; do
   7279   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7280     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   7281     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7282     break 2
   7283   fi
   7284 done
   7285   done
   7286 IFS=$as_save_IFS
   7287 
   7288 fi
   7289 fi
   7290 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   7291 if test -n "$DSYMUTIL"; then
   7292   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   7293 $as_echo "$DSYMUTIL" >&6; }
   7294 else
   7295   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7296 $as_echo "no" >&6; }
   7297 fi
   7298 
   7299 
   7300 fi
   7301 if test -z "$ac_cv_prog_DSYMUTIL"; then
   7302   ac_ct_DSYMUTIL=$DSYMUTIL
   7303   # Extract the first word of "dsymutil", so it can be a program name with args.
   7304 set dummy dsymutil; ac_word=$2
   7305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7306 $as_echo_n "checking for $ac_word... " >&6; }
   7307 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   7308   $as_echo_n "(cached) " >&6
   7309 else
   7310   if test -n "$ac_ct_DSYMUTIL"; then
   7311   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   7312 else
   7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7314 for as_dir in $PATH
   7315 do
   7316   IFS=$as_save_IFS
   7317   test -z "$as_dir" && as_dir=.
   7318     for ac_exec_ext in '' $ac_executable_extensions; do
   7319   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7320     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   7321     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7322     break 2
   7323   fi
   7324 done
   7325   done
   7326 IFS=$as_save_IFS
   7327 
   7328 fi
   7329 fi
   7330 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   7331 if test -n "$ac_ct_DSYMUTIL"; then
   7332   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   7333 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   7334 else
   7335   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7336 $as_echo "no" >&6; }
   7337 fi
   7338 
   7339   if test "x$ac_ct_DSYMUTIL" = x; then
   7340     DSYMUTIL=":"
   7341   else
   7342     case $cross_compiling:$ac_tool_warned in
   7343 yes:)
   7344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7346 ac_tool_warned=yes ;;
   7347 esac
   7348     DSYMUTIL=$ac_ct_DSYMUTIL
   7349   fi
   7350 else
   7351   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   7352 fi
   7353 
   7354     if test -n "$ac_tool_prefix"; then
   7355   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   7356 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   7357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7358 $as_echo_n "checking for $ac_word... " >&6; }
   7359 if ${ac_cv_prog_NMEDIT+:} false; then :
   7360   $as_echo_n "(cached) " >&6
   7361 else
   7362   if test -n "$NMEDIT"; then
   7363   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   7364 else
   7365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7366 for as_dir in $PATH
   7367 do
   7368   IFS=$as_save_IFS
   7369   test -z "$as_dir" && as_dir=.
   7370     for ac_exec_ext in '' $ac_executable_extensions; do
   7371   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7372     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   7373     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7374     break 2
   7375   fi
   7376 done
   7377   done
   7378 IFS=$as_save_IFS
   7379 
   7380 fi
   7381 fi
   7382 NMEDIT=$ac_cv_prog_NMEDIT
   7383 if test -n "$NMEDIT"; then
   7384   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   7385 $as_echo "$NMEDIT" >&6; }
   7386 else
   7387   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7388 $as_echo "no" >&6; }
   7389 fi
   7390 
   7391 
   7392 fi
   7393 if test -z "$ac_cv_prog_NMEDIT"; then
   7394   ac_ct_NMEDIT=$NMEDIT
   7395   # Extract the first word of "nmedit", so it can be a program name with args.
   7396 set dummy nmedit; ac_word=$2
   7397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7398 $as_echo_n "checking for $ac_word... " >&6; }
   7399 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   7400   $as_echo_n "(cached) " >&6
   7401 else
   7402   if test -n "$ac_ct_NMEDIT"; then
   7403   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   7404 else
   7405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7406 for as_dir in $PATH
   7407 do
   7408   IFS=$as_save_IFS
   7409   test -z "$as_dir" && as_dir=.
   7410     for ac_exec_ext in '' $ac_executable_extensions; do
   7411   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7412     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   7413     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7414     break 2
   7415   fi
   7416 done
   7417   done
   7418 IFS=$as_save_IFS
   7419 
   7420 fi
   7421 fi
   7422 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   7423 if test -n "$ac_ct_NMEDIT"; then
   7424   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   7425 $as_echo "$ac_ct_NMEDIT" >&6; }
   7426 else
   7427   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7428 $as_echo "no" >&6; }
   7429 fi
   7430 
   7431   if test "x$ac_ct_NMEDIT" = x; then
   7432     NMEDIT=":"
   7433   else
   7434     case $cross_compiling:$ac_tool_warned in
   7435 yes:)
   7436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7438 ac_tool_warned=yes ;;
   7439 esac
   7440     NMEDIT=$ac_ct_NMEDIT
   7441   fi
   7442 else
   7443   NMEDIT="$ac_cv_prog_NMEDIT"
   7444 fi
   7445 
   7446     if test -n "$ac_tool_prefix"; then
   7447   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   7448 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   7449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7450 $as_echo_n "checking for $ac_word... " >&6; }
   7451 if ${ac_cv_prog_LIPO+:} false; then :
   7452   $as_echo_n "(cached) " >&6
   7453 else
   7454   if test -n "$LIPO"; then
   7455   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   7456 else
   7457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7458 for as_dir in $PATH
   7459 do
   7460   IFS=$as_save_IFS
   7461   test -z "$as_dir" && as_dir=.
   7462     for ac_exec_ext in '' $ac_executable_extensions; do
   7463   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7464     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   7465     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7466     break 2
   7467   fi
   7468 done
   7469   done
   7470 IFS=$as_save_IFS
   7471 
   7472 fi
   7473 fi
   7474 LIPO=$ac_cv_prog_LIPO
   7475 if test -n "$LIPO"; then
   7476   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   7477 $as_echo "$LIPO" >&6; }
   7478 else
   7479   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7480 $as_echo "no" >&6; }
   7481 fi
   7482 
   7483 
   7484 fi
   7485 if test -z "$ac_cv_prog_LIPO"; then
   7486   ac_ct_LIPO=$LIPO
   7487   # Extract the first word of "lipo", so it can be a program name with args.
   7488 set dummy lipo; ac_word=$2
   7489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7490 $as_echo_n "checking for $ac_word... " >&6; }
   7491 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   7492   $as_echo_n "(cached) " >&6
   7493 else
   7494   if test -n "$ac_ct_LIPO"; then
   7495   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   7496 else
   7497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7498 for as_dir in $PATH
   7499 do
   7500   IFS=$as_save_IFS
   7501   test -z "$as_dir" && as_dir=.
   7502     for ac_exec_ext in '' $ac_executable_extensions; do
   7503   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7504     ac_cv_prog_ac_ct_LIPO="lipo"
   7505     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7506     break 2
   7507   fi
   7508 done
   7509   done
   7510 IFS=$as_save_IFS
   7511 
   7512 fi
   7513 fi
   7514 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   7515 if test -n "$ac_ct_LIPO"; then
   7516   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   7517 $as_echo "$ac_ct_LIPO" >&6; }
   7518 else
   7519   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7520 $as_echo "no" >&6; }
   7521 fi
   7522 
   7523   if test "x$ac_ct_LIPO" = x; then
   7524     LIPO=":"
   7525   else
   7526     case $cross_compiling:$ac_tool_warned in
   7527 yes:)
   7528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7530 ac_tool_warned=yes ;;
   7531 esac
   7532     LIPO=$ac_ct_LIPO
   7533   fi
   7534 else
   7535   LIPO="$ac_cv_prog_LIPO"
   7536 fi
   7537 
   7538     if test -n "$ac_tool_prefix"; then
   7539   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   7540 set dummy ${ac_tool_prefix}otool; ac_word=$2
   7541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7542 $as_echo_n "checking for $ac_word... " >&6; }
   7543 if ${ac_cv_prog_OTOOL+:} false; then :
   7544   $as_echo_n "(cached) " >&6
   7545 else
   7546   if test -n "$OTOOL"; then
   7547   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   7548 else
   7549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7550 for as_dir in $PATH
   7551 do
   7552   IFS=$as_save_IFS
   7553   test -z "$as_dir" && as_dir=.
   7554     for ac_exec_ext in '' $ac_executable_extensions; do
   7555   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7556     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   7557     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7558     break 2
   7559   fi
   7560 done
   7561   done
   7562 IFS=$as_save_IFS
   7563 
   7564 fi
   7565 fi
   7566 OTOOL=$ac_cv_prog_OTOOL
   7567 if test -n "$OTOOL"; then
   7568   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   7569 $as_echo "$OTOOL" >&6; }
   7570 else
   7571   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7572 $as_echo "no" >&6; }
   7573 fi
   7574 
   7575 
   7576 fi
   7577 if test -z "$ac_cv_prog_OTOOL"; then
   7578   ac_ct_OTOOL=$OTOOL
   7579   # Extract the first word of "otool", so it can be a program name with args.
   7580 set dummy otool; ac_word=$2
   7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7582 $as_echo_n "checking for $ac_word... " >&6; }
   7583 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   7584   $as_echo_n "(cached) " >&6
   7585 else
   7586   if test -n "$ac_ct_OTOOL"; then
   7587   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   7588 else
   7589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7590 for as_dir in $PATH
   7591 do
   7592   IFS=$as_save_IFS
   7593   test -z "$as_dir" && as_dir=.
   7594     for ac_exec_ext in '' $ac_executable_extensions; do
   7595   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7596     ac_cv_prog_ac_ct_OTOOL="otool"
   7597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7598     break 2
   7599   fi
   7600 done
   7601   done
   7602 IFS=$as_save_IFS
   7603 
   7604 fi
   7605 fi
   7606 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   7607 if test -n "$ac_ct_OTOOL"; then
   7608   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   7609 $as_echo "$ac_ct_OTOOL" >&6; }
   7610 else
   7611   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7612 $as_echo "no" >&6; }
   7613 fi
   7614 
   7615   if test "x$ac_ct_OTOOL" = x; then
   7616     OTOOL=":"
   7617   else
   7618     case $cross_compiling:$ac_tool_warned in
   7619 yes:)
   7620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7622 ac_tool_warned=yes ;;
   7623 esac
   7624     OTOOL=$ac_ct_OTOOL
   7625   fi
   7626 else
   7627   OTOOL="$ac_cv_prog_OTOOL"
   7628 fi
   7629 
   7630     if test -n "$ac_tool_prefix"; then
   7631   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   7632 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   7633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7634 $as_echo_n "checking for $ac_word... " >&6; }
   7635 if ${ac_cv_prog_OTOOL64+:} false; then :
   7636   $as_echo_n "(cached) " >&6
   7637 else
   7638   if test -n "$OTOOL64"; then
   7639   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   7640 else
   7641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7642 for as_dir in $PATH
   7643 do
   7644   IFS=$as_save_IFS
   7645   test -z "$as_dir" && as_dir=.
   7646     for ac_exec_ext in '' $ac_executable_extensions; do
   7647   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7648     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   7649     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7650     break 2
   7651   fi
   7652 done
   7653   done
   7654 IFS=$as_save_IFS
   7655 
   7656 fi
   7657 fi
   7658 OTOOL64=$ac_cv_prog_OTOOL64
   7659 if test -n "$OTOOL64"; then
   7660   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   7661 $as_echo "$OTOOL64" >&6; }
   7662 else
   7663   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7664 $as_echo "no" >&6; }
   7665 fi
   7666 
   7667 
   7668 fi
   7669 if test -z "$ac_cv_prog_OTOOL64"; then
   7670   ac_ct_OTOOL64=$OTOOL64
   7671   # Extract the first word of "otool64", so it can be a program name with args.
   7672 set dummy otool64; ac_word=$2
   7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   7674 $as_echo_n "checking for $ac_word... " >&6; }
   7675 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   7676   $as_echo_n "(cached) " >&6
   7677 else
   7678   if test -n "$ac_ct_OTOOL64"; then
   7679   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   7680 else
   7681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   7682 for as_dir in $PATH
   7683 do
   7684   IFS=$as_save_IFS
   7685   test -z "$as_dir" && as_dir=.
   7686     for ac_exec_ext in '' $ac_executable_extensions; do
   7687   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   7688     ac_cv_prog_ac_ct_OTOOL64="otool64"
   7689     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   7690     break 2
   7691   fi
   7692 done
   7693   done
   7694 IFS=$as_save_IFS
   7695 
   7696 fi
   7697 fi
   7698 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   7699 if test -n "$ac_ct_OTOOL64"; then
   7700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   7701 $as_echo "$ac_ct_OTOOL64" >&6; }
   7702 else
   7703   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   7704 $as_echo "no" >&6; }
   7705 fi
   7706 
   7707   if test "x$ac_ct_OTOOL64" = x; then
   7708     OTOOL64=":"
   7709   else
   7710     case $cross_compiling:$ac_tool_warned in
   7711 yes:)
   7712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   7713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   7714 ac_tool_warned=yes ;;
   7715 esac
   7716     OTOOL64=$ac_ct_OTOOL64
   7717   fi
   7718 else
   7719   OTOOL64="$ac_cv_prog_OTOOL64"
   7720 fi
   7721 
   7722 
   7723 
   7724 
   7725 
   7726 
   7727 
   7728 
   7729 
   7730 
   7731 
   7732 
   7733 
   7734 
   7735 
   7736 
   7737 
   7738 
   7739 
   7740 
   7741 
   7742 
   7743 
   7744 
   7745 
   7746 
   7747 
   7748     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   7749 $as_echo_n "checking for -single_module linker flag... " >&6; }
   7750 if ${lt_cv_apple_cc_single_mod+:} false; then :
   7751   $as_echo_n "(cached) " >&6
   7752 else
   7753   lt_cv_apple_cc_single_mod=no
   7754       if test -z "$LT_MULTI_MODULE"; then
   7755 	# By default we will add the -single_module flag. You can override
   7756 	# by either setting the environment variable LT_MULTI_MODULE
   7757 	# non-empty at configure time, or by adding -multi_module to the
   7758 	# link flags.
   7759 	rm -rf libconftest.dylib*
   7760 	echo "int foo(void){return 1;}" > conftest.c
   7761 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7762 -dynamiclib -Wl,-single_module conftest.c" >&5
   7763 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   7764 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   7765         _lt_result=$?
   7766 	# If there is a non-empty error log, and "single_module"
   7767 	# appears in it, assume the flag caused a linker warning
   7768         if test -s conftest.err && $GREP single_module conftest.err; then
   7769 	  cat conftest.err >&5
   7770 	# Otherwise, if the output was created with a 0 exit code from
   7771 	# the compiler, it worked.
   7772 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   7773 	  lt_cv_apple_cc_single_mod=yes
   7774 	else
   7775 	  cat conftest.err >&5
   7776 	fi
   7777 	rm -rf libconftest.dylib*
   7778 	rm -f conftest.*
   7779       fi
   7780 fi
   7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   7782 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   7783 
   7784     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   7785 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   7786 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   7787   $as_echo_n "(cached) " >&6
   7788 else
   7789   lt_cv_ld_exported_symbols_list=no
   7790       save_LDFLAGS=$LDFLAGS
   7791       echo "_main" > conftest.sym
   7792       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   7793       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7794 /* end confdefs.h.  */
   7795 
   7796 int
   7797 main ()
   7798 {
   7799 
   7800   ;
   7801   return 0;
   7802 }
   7803 _ACEOF
   7804 if ac_fn_c_try_link "$LINENO"; then :
   7805   lt_cv_ld_exported_symbols_list=yes
   7806 else
   7807   lt_cv_ld_exported_symbols_list=no
   7808 fi
   7809 rm -f core conftest.err conftest.$ac_objext \
   7810     conftest$ac_exeext conftest.$ac_ext
   7811 	LDFLAGS=$save_LDFLAGS
   7812 
   7813 fi
   7814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   7815 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   7816 
   7817     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   7818 $as_echo_n "checking for -force_load linker flag... " >&6; }
   7819 if ${lt_cv_ld_force_load+:} false; then :
   7820   $as_echo_n "(cached) " >&6
   7821 else
   7822   lt_cv_ld_force_load=no
   7823       cat > conftest.c << _LT_EOF
   7824 int forced_loaded() { return 2;}
   7825 _LT_EOF
   7826       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   7827       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   7828       echo "$AR cru libconftest.a conftest.o" >&5
   7829       $AR cru libconftest.a conftest.o 2>&5
   7830       echo "$RANLIB libconftest.a" >&5
   7831       $RANLIB libconftest.a 2>&5
   7832       cat > conftest.c << _LT_EOF
   7833 int main() { return 0;}
   7834 _LT_EOF
   7835       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   7836       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   7837       _lt_result=$?
   7838       if test -s conftest.err && $GREP force_load conftest.err; then
   7839 	cat conftest.err >&5
   7840       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   7841 	lt_cv_ld_force_load=yes
   7842       else
   7843 	cat conftest.err >&5
   7844       fi
   7845         rm -f conftest.err libconftest.a conftest conftest.c
   7846         rm -rf conftest.dSYM
   7847 
   7848 fi
   7849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   7850 $as_echo "$lt_cv_ld_force_load" >&6; }
   7851     case $host_os in
   7852     rhapsody* | darwin1.[012])
   7853       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   7854     darwin1.*)
   7855       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7856     darwin*) # darwin 5.x on
   7857       # if running on 10.5 or later, the deployment target defaults
   7858       # to the OS version, if on x86, and 10.4, the deployment
   7859       # target defaults to 10.4. Don't you love it?
   7860       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   7861 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   7862 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7863 	10.[012][,.]*)
   7864 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   7865 	10.*)
   7866 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   7867       esac
   7868     ;;
   7869   esac
   7870     if test yes = "$lt_cv_apple_cc_single_mod"; then
   7871       _lt_dar_single_mod='$single_module'
   7872     fi
   7873     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   7874       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   7875     else
   7876       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   7877     fi
   7878     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   7879       _lt_dsymutil='~$DSYMUTIL $lib || :'
   7880     else
   7881       _lt_dsymutil=
   7882     fi
   7883     ;;
   7884   esac
   7885 
   7886 # func_munge_path_list VARIABLE PATH
   7887 # -----------------------------------
   7888 # VARIABLE is name of variable containing _space_ separated list of
   7889 # directories to be munged by the contents of PATH, which is string
   7890 # having a format:
   7891 # "DIR[:DIR]:"
   7892 #       string "DIR[ DIR]" will be prepended to VARIABLE
   7893 # ":DIR[:DIR]"
   7894 #       string "DIR[ DIR]" will be appended to VARIABLE
   7895 # "DIRP[:DIRP]::[DIRA:]DIRA"
   7896 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   7897 #       "DIRA[ DIRA]" will be appended to VARIABLE
   7898 # "DIR[:DIR]"
   7899 #       VARIABLE will be replaced by "DIR[ DIR]"
   7900 func_munge_path_list ()
   7901 {
   7902     case x$2 in
   7903     x)
   7904         ;;
   7905     *:)
   7906         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   7907         ;;
   7908     x:*)
   7909         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   7910         ;;
   7911     *::*)
   7912         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   7913         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   7914         ;;
   7915     *)
   7916         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   7917         ;;
   7918     esac
   7919 }
   7920 
   7921 for ac_header in dlfcn.h
   7922 do :
   7923   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   7924 "
   7925 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   7926   cat >>confdefs.h <<_ACEOF
   7927 #define HAVE_DLFCN_H 1
   7928 _ACEOF
   7929 
   7930 fi
   7931 
   7932 done
   7933 
   7934 
   7935 
   7936 
   7937 
   7938 # Set options
   7939 
   7940 
   7941 
   7942         enable_dlopen=no
   7943 
   7944 
   7945   enable_win32_dll=no
   7946 
   7947 
   7948             # Check whether --enable-shared was given.
   7949 if test "${enable_shared+set}" = set; then :
   7950   enableval=$enable_shared; p=${PACKAGE-default}
   7951     case $enableval in
   7952     yes) enable_shared=yes ;;
   7953     no) enable_shared=no ;;
   7954     *)
   7955       enable_shared=no
   7956       # Look at the argument we got.  We use all the common list separators.
   7957       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7958       for pkg in $enableval; do
   7959 	IFS=$lt_save_ifs
   7960 	if test "X$pkg" = "X$p"; then
   7961 	  enable_shared=yes
   7962 	fi
   7963       done
   7964       IFS=$lt_save_ifs
   7965       ;;
   7966     esac
   7967 else
   7968   enable_shared=yes
   7969 fi
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979   # Check whether --enable-static was given.
   7980 if test "${enable_static+set}" = set; then :
   7981   enableval=$enable_static; p=${PACKAGE-default}
   7982     case $enableval in
   7983     yes) enable_static=yes ;;
   7984     no) enable_static=no ;;
   7985     *)
   7986      enable_static=no
   7987       # Look at the argument we got.  We use all the common list separators.
   7988       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   7989       for pkg in $enableval; do
   7990 	IFS=$lt_save_ifs
   7991 	if test "X$pkg" = "X$p"; then
   7992 	  enable_static=yes
   7993 	fi
   7994       done
   7995       IFS=$lt_save_ifs
   7996       ;;
   7997     esac
   7998 else
   7999   enable_static=yes
   8000 fi
   8001 
   8002 
   8003 
   8004 
   8005 
   8006 
   8007 
   8008 
   8009 
   8010 
   8011 # Check whether --with-pic was given.
   8012 if test "${with_pic+set}" = set; then :
   8013   withval=$with_pic; lt_p=${PACKAGE-default}
   8014     case $withval in
   8015     yes|no) pic_mode=$withval ;;
   8016     *)
   8017       pic_mode=default
   8018       # Look at the argument we got.  We use all the common list separators.
   8019       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8020       for lt_pkg in $withval; do
   8021 	IFS=$lt_save_ifs
   8022 	if test "X$lt_pkg" = "X$lt_p"; then
   8023 	  pic_mode=yes
   8024 	fi
   8025       done
   8026       IFS=$lt_save_ifs
   8027       ;;
   8028     esac
   8029 else
   8030   pic_mode=default
   8031 fi
   8032 
   8033 
   8034 
   8035 
   8036 
   8037 
   8038 
   8039 
   8040   # Check whether --enable-fast-install was given.
   8041 if test "${enable_fast_install+set}" = set; then :
   8042   enableval=$enable_fast_install; p=${PACKAGE-default}
   8043     case $enableval in
   8044     yes) enable_fast_install=yes ;;
   8045     no) enable_fast_install=no ;;
   8046     *)
   8047       enable_fast_install=no
   8048       # Look at the argument we got.  We use all the common list separators.
   8049       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   8050       for pkg in $enableval; do
   8051 	IFS=$lt_save_ifs
   8052 	if test "X$pkg" = "X$p"; then
   8053 	  enable_fast_install=yes
   8054 	fi
   8055       done
   8056       IFS=$lt_save_ifs
   8057       ;;
   8058     esac
   8059 else
   8060   enable_fast_install=yes
   8061 fi
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070   shared_archive_member_spec=
   8071 case $host,$enable_shared in
   8072 power*-*-aix[5-9]*,yes)
   8073   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   8074 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   8075 
   8076 # Check whether --with-aix-soname was given.
   8077 if test "${with_aix_soname+set}" = set; then :
   8078   withval=$with_aix_soname; case $withval in
   8079     aix|svr4|both)
   8080       ;;
   8081     *)
   8082       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   8083       ;;
   8084     esac
   8085     lt_cv_with_aix_soname=$with_aix_soname
   8086 else
   8087   if ${lt_cv_with_aix_soname+:} false; then :
   8088   $as_echo_n "(cached) " >&6
   8089 else
   8090   lt_cv_with_aix_soname=aix
   8091 fi
   8092 
   8093     with_aix_soname=$lt_cv_with_aix_soname
   8094 fi
   8095 
   8096   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   8097 $as_echo "$with_aix_soname" >&6; }
   8098   if test aix != "$with_aix_soname"; then
   8099     # For the AIX way of multilib, we name the shared archive member
   8100     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   8101     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   8102     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   8103     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   8104     if test 64 = "${OBJECT_MODE-32}"; then
   8105       shared_archive_member_spec=shr_64
   8106     else
   8107       shared_archive_member_spec=shr
   8108     fi
   8109   fi
   8110   ;;
   8111 *)
   8112   with_aix_soname=aix
   8113   ;;
   8114 esac
   8115 
   8116 
   8117 
   8118 
   8119 
   8120 
   8121 
   8122 
   8123 
   8124 
   8125 # This can be used to rebuild libtool when needed
   8126 LIBTOOL_DEPS=$ltmain
   8127 
   8128 # Always use our own libtool.
   8129 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   8130 
   8131 
   8132 
   8133 
   8134 
   8135 
   8136 
   8137 
   8138 
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 
   8155 
   8156 
   8157 
   8158 
   8159 
   8160 test -z "$LN_S" && LN_S="ln -s"
   8161 
   8162 
   8163 
   8164 
   8165 
   8166 
   8167 
   8168 
   8169 
   8170 
   8171 
   8172 
   8173 
   8174 
   8175 if test -n "${ZSH_VERSION+set}"; then
   8176    setopt NO_GLOB_SUBST
   8177 fi
   8178 
   8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   8180 $as_echo_n "checking for objdir... " >&6; }
   8181 if ${lt_cv_objdir+:} false; then :
   8182   $as_echo_n "(cached) " >&6
   8183 else
   8184   rm -f .libs 2>/dev/null
   8185 mkdir .libs 2>/dev/null
   8186 if test -d .libs; then
   8187   lt_cv_objdir=.libs
   8188 else
   8189   # MS-DOS does not allow filenames that begin with a dot.
   8190   lt_cv_objdir=_libs
   8191 fi
   8192 rmdir .libs 2>/dev/null
   8193 fi
   8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   8195 $as_echo "$lt_cv_objdir" >&6; }
   8196 objdir=$lt_cv_objdir
   8197 
   8198 
   8199 
   8200 
   8201 
   8202 cat >>confdefs.h <<_ACEOF
   8203 #define LT_OBJDIR "$lt_cv_objdir/"
   8204 _ACEOF
   8205 
   8206 
   8207 
   8208 
   8209 case $host_os in
   8210 aix3*)
   8211   # AIX sometimes has problems with the GCC collect2 program.  For some
   8212   # reason, if we set the COLLECT_NAMES environment variable, the problems
   8213   # vanish in a puff of smoke.
   8214   if test set != "${COLLECT_NAMES+set}"; then
   8215     COLLECT_NAMES=
   8216     export COLLECT_NAMES
   8217   fi
   8218   ;;
   8219 esac
   8220 
   8221 # Global variables:
   8222 ofile=libtool
   8223 can_build_shared=yes
   8224 
   8225 # All known linkers require a '.a' archive for static linking (except MSVC,
   8226 # which needs '.lib').
   8227 libext=a
   8228 
   8229 with_gnu_ld=$lt_cv_prog_gnu_ld
   8230 
   8231 old_CC=$CC
   8232 old_CFLAGS=$CFLAGS
   8233 
   8234 # Set sane defaults for various variables
   8235 test -z "$CC" && CC=cc
   8236 test -z "$LTCC" && LTCC=$CC
   8237 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   8238 test -z "$LD" && LD=ld
   8239 test -z "$ac_objext" && ac_objext=o
   8240 
   8241 func_cc_basename $compiler
   8242 cc_basename=$func_cc_basename_result
   8243 
   8244 
   8245 # Only perform the check for file, if the check method requires it
   8246 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   8247 case $deplibs_check_method in
   8248 file_magic*)
   8249   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   8250     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   8251 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   8252 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8253   $as_echo_n "(cached) " >&6
   8254 else
   8255   case $MAGIC_CMD in
   8256 [\\/*] |  ?:[\\/]*)
   8257   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8258   ;;
   8259 *)
   8260   lt_save_MAGIC_CMD=$MAGIC_CMD
   8261   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8262   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8263   for ac_dir in $ac_dummy; do
   8264     IFS=$lt_save_ifs
   8265     test -z "$ac_dir" && ac_dir=.
   8266     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   8267       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   8268       if test -n "$file_magic_test_file"; then
   8269 	case $deplibs_check_method in
   8270 	"file_magic "*)
   8271 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8272 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8273 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8274 	    $EGREP "$file_magic_regex" > /dev/null; then
   8275 	    :
   8276 	  else
   8277 	    cat <<_LT_EOF 1>&2
   8278 
   8279 *** Warning: the command libtool uses to detect shared libraries,
   8280 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8281 *** The result is that libtool may fail to recognize shared libraries
   8282 *** as such.  This will affect the creation of libtool libraries that
   8283 *** depend on shared libraries, but programs linked with such libtool
   8284 *** libraries will work regardless of this problem.  Nevertheless, you
   8285 *** may want to report the problem to your system manager and/or to
   8286 *** bug-libtool (at] gnu.org
   8287 
   8288 _LT_EOF
   8289 	  fi ;;
   8290 	esac
   8291       fi
   8292       break
   8293     fi
   8294   done
   8295   IFS=$lt_save_ifs
   8296   MAGIC_CMD=$lt_save_MAGIC_CMD
   8297   ;;
   8298 esac
   8299 fi
   8300 
   8301 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8302 if test -n "$MAGIC_CMD"; then
   8303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8304 $as_echo "$MAGIC_CMD" >&6; }
   8305 else
   8306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8307 $as_echo "no" >&6; }
   8308 fi
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 if test -z "$lt_cv_path_MAGIC_CMD"; then
   8315   if test -n "$ac_tool_prefix"; then
   8316     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   8317 $as_echo_n "checking for file... " >&6; }
   8318 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   8319   $as_echo_n "(cached) " >&6
   8320 else
   8321   case $MAGIC_CMD in
   8322 [\\/*] |  ?:[\\/]*)
   8323   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   8324   ;;
   8325 *)
   8326   lt_save_MAGIC_CMD=$MAGIC_CMD
   8327   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   8328   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   8329   for ac_dir in $ac_dummy; do
   8330     IFS=$lt_save_ifs
   8331     test -z "$ac_dir" && ac_dir=.
   8332     if test -f "$ac_dir/file"; then
   8333       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   8334       if test -n "$file_magic_test_file"; then
   8335 	case $deplibs_check_method in
   8336 	"file_magic "*)
   8337 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   8338 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8339 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   8340 	    $EGREP "$file_magic_regex" > /dev/null; then
   8341 	    :
   8342 	  else
   8343 	    cat <<_LT_EOF 1>&2
   8344 
   8345 *** Warning: the command libtool uses to detect shared libraries,
   8346 *** $file_magic_cmd, produces output that libtool cannot recognize.
   8347 *** The result is that libtool may fail to recognize shared libraries
   8348 *** as such.  This will affect the creation of libtool libraries that
   8349 *** depend on shared libraries, but programs linked with such libtool
   8350 *** libraries will work regardless of this problem.  Nevertheless, you
   8351 *** may want to report the problem to your system manager and/or to
   8352 *** bug-libtool (at] gnu.org
   8353 
   8354 _LT_EOF
   8355 	  fi ;;
   8356 	esac
   8357       fi
   8358       break
   8359     fi
   8360   done
   8361   IFS=$lt_save_ifs
   8362   MAGIC_CMD=$lt_save_MAGIC_CMD
   8363   ;;
   8364 esac
   8365 fi
   8366 
   8367 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   8368 if test -n "$MAGIC_CMD"; then
   8369   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   8370 $as_echo "$MAGIC_CMD" >&6; }
   8371 else
   8372   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   8373 $as_echo "no" >&6; }
   8374 fi
   8375 
   8376 
   8377   else
   8378     MAGIC_CMD=:
   8379   fi
   8380 fi
   8381 
   8382   fi
   8383   ;;
   8384 esac
   8385 
   8386 # Use C for the default configuration in the libtool script
   8387 
   8388 lt_save_CC=$CC
   8389 ac_ext=c
   8390 ac_cpp='$CPP $CPPFLAGS'
   8391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   8392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   8393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   8394 
   8395 
   8396 # Source file extension for C test sources.
   8397 ac_ext=c
   8398 
   8399 # Object file extension for compiled C test sources.
   8400 objext=o
   8401 objext=$objext
   8402 
   8403 # Code to be used in simple compile tests
   8404 lt_simple_compile_test_code="int some_variable = 0;"
   8405 
   8406 # Code to be used in simple link tests
   8407 lt_simple_link_test_code='int main(){return(0);}'
   8408 
   8409 
   8410 
   8411 
   8412 
   8413 
   8414 
   8415 # If no C compiler was specified, use CC.
   8416 LTCC=${LTCC-"$CC"}
   8417 
   8418 # If no C compiler flags were specified, use CFLAGS.
   8419 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   8420 
   8421 # Allow CC to be a program name with arguments.
   8422 compiler=$CC
   8423 
   8424 # Save the default compiler, since it gets overwritten when the other
   8425 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   8426 compiler_DEFAULT=$CC
   8427 
   8428 # save warnings/boilerplate of simple test code
   8429 ac_outfile=conftest.$ac_objext
   8430 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   8431 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8432 _lt_compiler_boilerplate=`cat conftest.err`
   8433 $RM conftest*
   8434 
   8435 ac_outfile=conftest.$ac_objext
   8436 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   8437 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   8438 _lt_linker_boilerplate=`cat conftest.err`
   8439 $RM -r conftest*
   8440 
   8441 
   8442 if test -n "$compiler"; then
   8443 
   8444 lt_prog_compiler_no_builtin_flag=
   8445 
   8446 if test yes = "$GCC"; then
   8447   case $cc_basename in
   8448   nvcc*)
   8449     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   8450   *)
   8451     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   8452   esac
   8453 
   8454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   8455 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   8456 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   8457   $as_echo_n "(cached) " >&6
   8458 else
   8459   lt_cv_prog_compiler_rtti_exceptions=no
   8460    ac_outfile=conftest.$ac_objext
   8461    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8462    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   8463    # Insert the option either (1) after the last *FLAGS variable, or
   8464    # (2) before a word containing "conftest.", or (3) at the end.
   8465    # Note that $ac_compile itself does not contain backslashes and begins
   8466    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8467    # The option is referenced via a variable to avoid confusing sed.
   8468    lt_compile=`echo "$ac_compile" | $SED \
   8469    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8470    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8471    -e 's:$: $lt_compiler_flag:'`
   8472    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8473    (eval "$lt_compile" 2>conftest.err)
   8474    ac_status=$?
   8475    cat conftest.err >&5
   8476    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8477    if (exit $ac_status) && test -s "$ac_outfile"; then
   8478      # The compiler can only warn and ignore the option if not recognized
   8479      # So say no if there are warnings other than the usual output.
   8480      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8481      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8482      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8483        lt_cv_prog_compiler_rtti_exceptions=yes
   8484      fi
   8485    fi
   8486    $RM conftest*
   8487 
   8488 fi
   8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   8490 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   8491 
   8492 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   8493     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   8494 else
   8495     :
   8496 fi
   8497 
   8498 fi
   8499 
   8500 
   8501 
   8502 
   8503 
   8504 
   8505   lt_prog_compiler_wl=
   8506 lt_prog_compiler_pic=
   8507 lt_prog_compiler_static=
   8508 
   8509 
   8510   if test yes = "$GCC"; then
   8511     lt_prog_compiler_wl='-Wl,'
   8512     lt_prog_compiler_static='-static'
   8513 
   8514     case $host_os in
   8515       aix*)
   8516       # All AIX code is PIC.
   8517       if test ia64 = "$host_cpu"; then
   8518 	# AIX 5 now supports IA64 processor
   8519 	lt_prog_compiler_static='-Bstatic'
   8520       fi
   8521       lt_prog_compiler_pic='-fPIC'
   8522       ;;
   8523 
   8524     amigaos*)
   8525       case $host_cpu in
   8526       powerpc)
   8527             # see comment about AmigaOS4 .so support
   8528             lt_prog_compiler_pic='-fPIC'
   8529         ;;
   8530       m68k)
   8531             # FIXME: we need at least 68020 code to build shared libraries, but
   8532             # adding the '-m68020' flag to GCC prevents building anything better,
   8533             # like '-m68040'.
   8534             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   8535         ;;
   8536       esac
   8537       ;;
   8538 
   8539     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   8540       # PIC is the default for these OSes.
   8541       ;;
   8542 
   8543     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8544       # This hack is so that the source file can tell whether it is being
   8545       # built for inclusion in a dll (and should export symbols for example).
   8546       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   8547       # (--disable-auto-import) libraries
   8548       lt_prog_compiler_pic='-DDLL_EXPORT'
   8549       case $host_os in
   8550       os2*)
   8551 	lt_prog_compiler_static='$wl-static'
   8552 	;;
   8553       esac
   8554       ;;
   8555 
   8556     darwin* | rhapsody*)
   8557       # PIC is the default on this platform
   8558       # Common symbols not allowed in MH_DYLIB files
   8559       lt_prog_compiler_pic='-fno-common'
   8560       ;;
   8561 
   8562     haiku*)
   8563       # PIC is the default for Haiku.
   8564       # The "-static" flag exists, but is broken.
   8565       lt_prog_compiler_static=
   8566       ;;
   8567 
   8568     hpux*)
   8569       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   8570       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   8571       # sets the default TLS model and affects inlining.
   8572       case $host_cpu in
   8573       hppa*64*)
   8574 	# +Z the default
   8575 	;;
   8576       *)
   8577 	lt_prog_compiler_pic='-fPIC'
   8578 	;;
   8579       esac
   8580       ;;
   8581 
   8582     interix[3-9]*)
   8583       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   8584       # Instead, we relocate shared libraries at runtime.
   8585       ;;
   8586 
   8587     msdosdjgpp*)
   8588       # Just because we use GCC doesn't mean we suddenly get shared libraries
   8589       # on systems that don't support them.
   8590       lt_prog_compiler_can_build_shared=no
   8591       enable_shared=no
   8592       ;;
   8593 
   8594     *nto* | *qnx*)
   8595       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8596       # it will coredump.
   8597       lt_prog_compiler_pic='-fPIC -shared'
   8598       ;;
   8599 
   8600     sysv4*MP*)
   8601       if test -d /usr/nec; then
   8602 	lt_prog_compiler_pic=-Kconform_pic
   8603       fi
   8604       ;;
   8605 
   8606     *)
   8607       lt_prog_compiler_pic='-fPIC'
   8608       ;;
   8609     esac
   8610 
   8611     case $cc_basename in
   8612     nvcc*) # Cuda Compiler Driver 2.2
   8613       lt_prog_compiler_wl='-Xlinker '
   8614       if test -n "$lt_prog_compiler_pic"; then
   8615         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   8616       fi
   8617       ;;
   8618     esac
   8619   else
   8620     # PORTME Check for flag to pass linker flags through the system compiler.
   8621     case $host_os in
   8622     aix*)
   8623       lt_prog_compiler_wl='-Wl,'
   8624       if test ia64 = "$host_cpu"; then
   8625 	# AIX 5 now supports IA64 processor
   8626 	lt_prog_compiler_static='-Bstatic'
   8627       else
   8628 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   8629       fi
   8630       ;;
   8631 
   8632     darwin* | rhapsody*)
   8633       # PIC is the default on this platform
   8634       # Common symbols not allowed in MH_DYLIB files
   8635       lt_prog_compiler_pic='-fno-common'
   8636       case $cc_basename in
   8637       nagfor*)
   8638         # NAG Fortran compiler
   8639         lt_prog_compiler_wl='-Wl,-Wl,,'
   8640         lt_prog_compiler_pic='-PIC'
   8641         lt_prog_compiler_static='-Bstatic'
   8642         ;;
   8643       esac
   8644       ;;
   8645 
   8646     mingw* | cygwin* | pw32* | os2* | cegcc*)
   8647       # This hack is so that the source file can tell whether it is being
   8648       # built for inclusion in a dll (and should export symbols for example).
   8649       lt_prog_compiler_pic='-DDLL_EXPORT'
   8650       case $host_os in
   8651       os2*)
   8652 	lt_prog_compiler_static='$wl-static'
   8653 	;;
   8654       esac
   8655       ;;
   8656 
   8657     hpux9* | hpux10* | hpux11*)
   8658       lt_prog_compiler_wl='-Wl,'
   8659       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   8660       # not for PA HP-UX.
   8661       case $host_cpu in
   8662       hppa*64*|ia64*)
   8663 	# +Z the default
   8664 	;;
   8665       *)
   8666 	lt_prog_compiler_pic='+Z'
   8667 	;;
   8668       esac
   8669       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   8670       lt_prog_compiler_static='$wl-a ${wl}archive'
   8671       ;;
   8672 
   8673     irix5* | irix6* | nonstopux*)
   8674       lt_prog_compiler_wl='-Wl,'
   8675       # PIC (with -KPIC) is the default.
   8676       lt_prog_compiler_static='-non_shared'
   8677       ;;
   8678 
   8679     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   8680       case $cc_basename in
   8681       # old Intel for x86_64, which still supported -KPIC.
   8682       ecc*)
   8683 	lt_prog_compiler_wl='-Wl,'
   8684 	lt_prog_compiler_pic='-KPIC'
   8685 	lt_prog_compiler_static='-static'
   8686         ;;
   8687       # icc used to be incompatible with GCC.
   8688       # ICC 10 doesn't accept -KPIC any more.
   8689       icc* | ifort*)
   8690 	lt_prog_compiler_wl='-Wl,'
   8691 	lt_prog_compiler_pic='-fPIC'
   8692 	lt_prog_compiler_static='-static'
   8693         ;;
   8694       # Lahey Fortran 8.1.
   8695       lf95*)
   8696 	lt_prog_compiler_wl='-Wl,'
   8697 	lt_prog_compiler_pic='--shared'
   8698 	lt_prog_compiler_static='--static'
   8699 	;;
   8700       nagfor*)
   8701 	# NAG Fortran compiler
   8702 	lt_prog_compiler_wl='-Wl,-Wl,,'
   8703 	lt_prog_compiler_pic='-PIC'
   8704 	lt_prog_compiler_static='-Bstatic'
   8705 	;;
   8706       tcc*)
   8707 	# Fabrice Bellard et al's Tiny C Compiler
   8708 	lt_prog_compiler_wl='-Wl,'
   8709 	lt_prog_compiler_pic='-fPIC'
   8710 	lt_prog_compiler_static='-static'
   8711 	;;
   8712       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   8713         # Portland Group compilers (*not* the Pentium gcc compiler,
   8714 	# which looks to be a dead project)
   8715 	lt_prog_compiler_wl='-Wl,'
   8716 	lt_prog_compiler_pic='-fpic'
   8717 	lt_prog_compiler_static='-Bstatic'
   8718         ;;
   8719       ccc*)
   8720         lt_prog_compiler_wl='-Wl,'
   8721         # All Alpha code is PIC.
   8722         lt_prog_compiler_static='-non_shared'
   8723         ;;
   8724       xl* | bgxl* | bgf* | mpixl*)
   8725 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   8726 	lt_prog_compiler_wl='-Wl,'
   8727 	lt_prog_compiler_pic='-qpic'
   8728 	lt_prog_compiler_static='-qstaticlink'
   8729 	;;
   8730       *)
   8731 	case `$CC -V 2>&1 | sed 5q` in
   8732 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   8733 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   8734 	  lt_prog_compiler_pic='-KPIC'
   8735 	  lt_prog_compiler_static='-Bstatic'
   8736 	  lt_prog_compiler_wl=''
   8737 	  ;;
   8738 	*Sun\ F* | *Sun*Fortran*)
   8739 	  lt_prog_compiler_pic='-KPIC'
   8740 	  lt_prog_compiler_static='-Bstatic'
   8741 	  lt_prog_compiler_wl='-Qoption ld '
   8742 	  ;;
   8743 	*Sun\ C*)
   8744 	  # Sun C 5.9
   8745 	  lt_prog_compiler_pic='-KPIC'
   8746 	  lt_prog_compiler_static='-Bstatic'
   8747 	  lt_prog_compiler_wl='-Wl,'
   8748 	  ;;
   8749         *Intel*\ [CF]*Compiler*)
   8750 	  lt_prog_compiler_wl='-Wl,'
   8751 	  lt_prog_compiler_pic='-fPIC'
   8752 	  lt_prog_compiler_static='-static'
   8753 	  ;;
   8754 	*Portland\ Group*)
   8755 	  lt_prog_compiler_wl='-Wl,'
   8756 	  lt_prog_compiler_pic='-fpic'
   8757 	  lt_prog_compiler_static='-Bstatic'
   8758 	  ;;
   8759 	esac
   8760 	;;
   8761       esac
   8762       ;;
   8763 
   8764     newsos6)
   8765       lt_prog_compiler_pic='-KPIC'
   8766       lt_prog_compiler_static='-Bstatic'
   8767       ;;
   8768 
   8769     *nto* | *qnx*)
   8770       # QNX uses GNU C++, but need to define -shared option too, otherwise
   8771       # it will coredump.
   8772       lt_prog_compiler_pic='-fPIC -shared'
   8773       ;;
   8774 
   8775     osf3* | osf4* | osf5*)
   8776       lt_prog_compiler_wl='-Wl,'
   8777       # All OSF/1 code is PIC.
   8778       lt_prog_compiler_static='-non_shared'
   8779       ;;
   8780 
   8781     rdos*)
   8782       lt_prog_compiler_static='-non_shared'
   8783       ;;
   8784 
   8785     solaris*)
   8786       lt_prog_compiler_pic='-KPIC'
   8787       lt_prog_compiler_static='-Bstatic'
   8788       case $cc_basename in
   8789       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   8790 	lt_prog_compiler_wl='-Qoption ld ';;
   8791       *)
   8792 	lt_prog_compiler_wl='-Wl,';;
   8793       esac
   8794       ;;
   8795 
   8796     sunos4*)
   8797       lt_prog_compiler_wl='-Qoption ld '
   8798       lt_prog_compiler_pic='-PIC'
   8799       lt_prog_compiler_static='-Bstatic'
   8800       ;;
   8801 
   8802     sysv4 | sysv4.2uw2* | sysv4.3*)
   8803       lt_prog_compiler_wl='-Wl,'
   8804       lt_prog_compiler_pic='-KPIC'
   8805       lt_prog_compiler_static='-Bstatic'
   8806       ;;
   8807 
   8808     sysv4*MP*)
   8809       if test -d /usr/nec; then
   8810 	lt_prog_compiler_pic='-Kconform_pic'
   8811 	lt_prog_compiler_static='-Bstatic'
   8812       fi
   8813       ;;
   8814 
   8815     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   8816       lt_prog_compiler_wl='-Wl,'
   8817       lt_prog_compiler_pic='-KPIC'
   8818       lt_prog_compiler_static='-Bstatic'
   8819       ;;
   8820 
   8821     unicos*)
   8822       lt_prog_compiler_wl='-Wl,'
   8823       lt_prog_compiler_can_build_shared=no
   8824       ;;
   8825 
   8826     uts4*)
   8827       lt_prog_compiler_pic='-pic'
   8828       lt_prog_compiler_static='-Bstatic'
   8829       ;;
   8830 
   8831     *)
   8832       lt_prog_compiler_can_build_shared=no
   8833       ;;
   8834     esac
   8835   fi
   8836 
   8837 case $host_os in
   8838   # For platforms that do not support PIC, -DPIC is meaningless:
   8839   *djgpp*)
   8840     lt_prog_compiler_pic=
   8841     ;;
   8842   *)
   8843     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   8844     ;;
   8845 esac
   8846 
   8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   8848 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   8849 if ${lt_cv_prog_compiler_pic+:} false; then :
   8850   $as_echo_n "(cached) " >&6
   8851 else
   8852   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   8853 fi
   8854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   8855 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   8856 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   8857 
   8858 #
   8859 # Check to make sure the PIC flag actually works.
   8860 #
   8861 if test -n "$lt_prog_compiler_pic"; then
   8862   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   8863 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   8864 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   8865   $as_echo_n "(cached) " >&6
   8866 else
   8867   lt_cv_prog_compiler_pic_works=no
   8868    ac_outfile=conftest.$ac_objext
   8869    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8870    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   8871    # Insert the option either (1) after the last *FLAGS variable, or
   8872    # (2) before a word containing "conftest.", or (3) at the end.
   8873    # Note that $ac_compile itself does not contain backslashes and begins
   8874    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8875    # The option is referenced via a variable to avoid confusing sed.
   8876    lt_compile=`echo "$ac_compile" | $SED \
   8877    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8878    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8879    -e 's:$: $lt_compiler_flag:'`
   8880    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8881    (eval "$lt_compile" 2>conftest.err)
   8882    ac_status=$?
   8883    cat conftest.err >&5
   8884    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8885    if (exit $ac_status) && test -s "$ac_outfile"; then
   8886      # The compiler can only warn and ignore the option if not recognized
   8887      # So say no if there are warnings other than the usual output.
   8888      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   8889      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8890      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   8891        lt_cv_prog_compiler_pic_works=yes
   8892      fi
   8893    fi
   8894    $RM conftest*
   8895 
   8896 fi
   8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   8898 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   8899 
   8900 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   8901     case $lt_prog_compiler_pic in
   8902      "" | " "*) ;;
   8903      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   8904      esac
   8905 else
   8906     lt_prog_compiler_pic=
   8907      lt_prog_compiler_can_build_shared=no
   8908 fi
   8909 
   8910 fi
   8911 
   8912 
   8913 
   8914 
   8915 
   8916 
   8917 
   8918 
   8919 
   8920 
   8921 
   8922 #
   8923 # Check to make sure the static flag actually works.
   8924 #
   8925 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   8926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   8927 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   8928 if ${lt_cv_prog_compiler_static_works+:} false; then :
   8929   $as_echo_n "(cached) " >&6
   8930 else
   8931   lt_cv_prog_compiler_static_works=no
   8932    save_LDFLAGS=$LDFLAGS
   8933    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   8934    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   8935    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   8936      # The linker can only warn and ignore the option if not recognized
   8937      # So say no if there are warnings
   8938      if test -s conftest.err; then
   8939        # Append any errors to the config.log.
   8940        cat conftest.err 1>&5
   8941        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   8942        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   8943        if diff conftest.exp conftest.er2 >/dev/null; then
   8944          lt_cv_prog_compiler_static_works=yes
   8945        fi
   8946      else
   8947        lt_cv_prog_compiler_static_works=yes
   8948      fi
   8949    fi
   8950    $RM -r conftest*
   8951    LDFLAGS=$save_LDFLAGS
   8952 
   8953 fi
   8954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   8955 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   8956 
   8957 if test yes = "$lt_cv_prog_compiler_static_works"; then
   8958     :
   8959 else
   8960     lt_prog_compiler_static=
   8961 fi
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   8970 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   8971 if ${lt_cv_prog_compiler_c_o+:} false; then :
   8972   $as_echo_n "(cached) " >&6
   8973 else
   8974   lt_cv_prog_compiler_c_o=no
   8975    $RM -r conftest 2>/dev/null
   8976    mkdir conftest
   8977    cd conftest
   8978    mkdir out
   8979    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8980 
   8981    lt_compiler_flag="-o out/conftest2.$ac_objext"
   8982    # Insert the option either (1) after the last *FLAGS variable, or
   8983    # (2) before a word containing "conftest.", or (3) at the end.
   8984    # Note that $ac_compile itself does not contain backslashes and begins
   8985    # with a dollar sign (not a hyphen), so the echo should work correctly.
   8986    lt_compile=`echo "$ac_compile" | $SED \
   8987    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   8988    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   8989    -e 's:$: $lt_compiler_flag:'`
   8990    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   8991    (eval "$lt_compile" 2>out/conftest.err)
   8992    ac_status=$?
   8993    cat out/conftest.err >&5
   8994    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8995    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   8996    then
   8997      # The compiler can only warn and ignore the option if not recognized
   8998      # So say no if there are warnings
   8999      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9000      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9001      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9002        lt_cv_prog_compiler_c_o=yes
   9003      fi
   9004    fi
   9005    chmod u+w . 2>&5
   9006    $RM conftest*
   9007    # SGI C++ compiler will create directory out/ii_files/ for
   9008    # template instantiation
   9009    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9010    $RM out/* && rmdir out
   9011    cd ..
   9012    $RM -r conftest
   9013    $RM conftest*
   9014 
   9015 fi
   9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9017 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   9025 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   9026 if ${lt_cv_prog_compiler_c_o+:} false; then :
   9027   $as_echo_n "(cached) " >&6
   9028 else
   9029   lt_cv_prog_compiler_c_o=no
   9030    $RM -r conftest 2>/dev/null
   9031    mkdir conftest
   9032    cd conftest
   9033    mkdir out
   9034    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   9035 
   9036    lt_compiler_flag="-o out/conftest2.$ac_objext"
   9037    # Insert the option either (1) after the last *FLAGS variable, or
   9038    # (2) before a word containing "conftest.", or (3) at the end.
   9039    # Note that $ac_compile itself does not contain backslashes and begins
   9040    # with a dollar sign (not a hyphen), so the echo should work correctly.
   9041    lt_compile=`echo "$ac_compile" | $SED \
   9042    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   9043    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   9044    -e 's:$: $lt_compiler_flag:'`
   9045    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   9046    (eval "$lt_compile" 2>out/conftest.err)
   9047    ac_status=$?
   9048    cat out/conftest.err >&5
   9049    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9050    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   9051    then
   9052      # The compiler can only warn and ignore the option if not recognized
   9053      # So say no if there are warnings
   9054      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   9055      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   9056      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   9057        lt_cv_prog_compiler_c_o=yes
   9058      fi
   9059    fi
   9060    chmod u+w . 2>&5
   9061    $RM conftest*
   9062    # SGI C++ compiler will create directory out/ii_files/ for
   9063    # template instantiation
   9064    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   9065    $RM out/* && rmdir out
   9066    cd ..
   9067    $RM -r conftest
   9068    $RM conftest*
   9069 
   9070 fi
   9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   9072 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   9073 
   9074 
   9075 
   9076 
   9077 hard_links=nottested
   9078 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   9079   # do not overwrite the value of need_locks provided by the user
   9080   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   9081 $as_echo_n "checking if we can lock with hard links... " >&6; }
   9082   hard_links=yes
   9083   $RM conftest*
   9084   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9085   touch conftest.a
   9086   ln conftest.a conftest.b 2>&5 || hard_links=no
   9087   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   9088   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   9089 $as_echo "$hard_links" >&6; }
   9090   if test no = "$hard_links"; then
   9091     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   9092 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   9093     need_locks=warn
   9094   fi
   9095 else
   9096   need_locks=no
   9097 fi
   9098 
   9099 
   9100 
   9101 
   9102 
   9103 
   9104   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   9105 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   9106 
   9107   runpath_var=
   9108   allow_undefined_flag=
   9109   always_export_symbols=no
   9110   archive_cmds=
   9111   archive_expsym_cmds=
   9112   compiler_needs_object=no
   9113   enable_shared_with_static_runtimes=no
   9114   export_dynamic_flag_spec=
   9115   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   9116   hardcode_automatic=no
   9117   hardcode_direct=no
   9118   hardcode_direct_absolute=no
   9119   hardcode_libdir_flag_spec=
   9120   hardcode_libdir_separator=
   9121   hardcode_minus_L=no
   9122   hardcode_shlibpath_var=unsupported
   9123   inherit_rpath=no
   9124   link_all_deplibs=unknown
   9125   module_cmds=
   9126   module_expsym_cmds=
   9127   old_archive_from_new_cmds=
   9128   old_archive_from_expsyms_cmds=
   9129   thread_safe_flag_spec=
   9130   whole_archive_flag_spec=
   9131   # include_expsyms should be a list of space-separated symbols to be *always*
   9132   # included in the symbol list
   9133   include_expsyms=
   9134   # exclude_expsyms can be an extended regexp of symbols to exclude
   9135   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   9136   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   9137   # as well as any symbol that contains 'd'.
   9138   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   9139   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   9140   # platforms (ab)use it in PIC code, but their linkers get confused if
   9141   # the symbol is explicitly referenced.  Since portable code cannot
   9142   # rely on this symbol name, it's probably fine to never include it in
   9143   # preloaded symbol tables.
   9144   # Exclude shared library initialization/finalization symbols.
   9145   extract_expsyms_cmds=
   9146 
   9147   case $host_os in
   9148   cygwin* | mingw* | pw32* | cegcc*)
   9149     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   9150     # When not using gcc, we currently assume that we are using
   9151     # Microsoft Visual C++.
   9152     if test yes != "$GCC"; then
   9153       with_gnu_ld=no
   9154     fi
   9155     ;;
   9156   interix*)
   9157     # we just hope/assume this is gcc and not c89 (= MSVC++)
   9158     with_gnu_ld=yes
   9159     ;;
   9160   openbsd* | bitrig*)
   9161     with_gnu_ld=no
   9162     ;;
   9163   esac
   9164 
   9165   ld_shlibs=yes
   9166 
   9167   # On some targets, GNU ld is compatible enough with the native linker
   9168   # that we're better off using the native interface for both.
   9169   lt_use_gnu_ld_interface=no
   9170   if test yes = "$with_gnu_ld"; then
   9171     case $host_os in
   9172       aix*)
   9173 	# The AIX port of GNU ld has always aspired to compatibility
   9174 	# with the native linker.  However, as the warning in the GNU ld
   9175 	# block says, versions before 2.19.5* couldn't really create working
   9176 	# shared libraries, regardless of the interface used.
   9177 	case `$LD -v 2>&1` in
   9178 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   9179 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   9180 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   9181 	  *)
   9182 	    lt_use_gnu_ld_interface=yes
   9183 	    ;;
   9184 	esac
   9185 	;;
   9186       *)
   9187 	lt_use_gnu_ld_interface=yes
   9188 	;;
   9189     esac
   9190   fi
   9191 
   9192   if test yes = "$lt_use_gnu_ld_interface"; then
   9193     # If archive_cmds runs LD, not CC, wlarc should be empty
   9194     wlarc='$wl'
   9195 
   9196     # Set some defaults for GNU ld with shared library support. These
   9197     # are reset later if shared libraries are not supported. Putting them
   9198     # here allows them to be overridden if necessary.
   9199     runpath_var=LD_RUN_PATH
   9200     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9201     export_dynamic_flag_spec='$wl--export-dynamic'
   9202     # ancient GNU ld didn't support --whole-archive et. al.
   9203     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   9204       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   9205     else
   9206       whole_archive_flag_spec=
   9207     fi
   9208     supports_anon_versioning=no
   9209     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   9210       *GNU\ gold*) supports_anon_versioning=yes ;;
   9211       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   9212       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   9213       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   9214       *\ 2.11.*) ;; # other 2.11 versions
   9215       *) supports_anon_versioning=yes ;;
   9216     esac
   9217 
   9218     # See if GNU ld supports shared libraries.
   9219     case $host_os in
   9220     aix[3-9]*)
   9221       # On AIX/PPC, the GNU linker is very broken
   9222       if test ia64 != "$host_cpu"; then
   9223 	ld_shlibs=no
   9224 	cat <<_LT_EOF 1>&2
   9225 
   9226 *** Warning: the GNU linker, at least up to release 2.19, is reported
   9227 *** to be unable to reliably create shared libraries on AIX.
   9228 *** Therefore, libtool is disabling shared libraries support.  If you
   9229 *** really care for shared libraries, you may want to install binutils
   9230 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   9231 *** You will then need to restart the configuration process.
   9232 
   9233 _LT_EOF
   9234       fi
   9235       ;;
   9236 
   9237     amigaos*)
   9238       case $host_cpu in
   9239       powerpc)
   9240             # see comment about AmigaOS4 .so support
   9241             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9242             archive_expsym_cmds=''
   9243         ;;
   9244       m68k)
   9245             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)'
   9246             hardcode_libdir_flag_spec='-L$libdir'
   9247             hardcode_minus_L=yes
   9248         ;;
   9249       esac
   9250       ;;
   9251 
   9252     beos*)
   9253       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9254 	allow_undefined_flag=unsupported
   9255 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   9256 	# support --undefined.  This deserves some investigation.  FIXME
   9257 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9258       else
   9259 	ld_shlibs=no
   9260       fi
   9261       ;;
   9262 
   9263     cygwin* | mingw* | pw32* | cegcc*)
   9264       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   9265       # as there is no search path for DLLs.
   9266       hardcode_libdir_flag_spec='-L$libdir'
   9267       export_dynamic_flag_spec='$wl--export-all-symbols'
   9268       allow_undefined_flag=unsupported
   9269       always_export_symbols=no
   9270       enable_shared_with_static_runtimes=yes
   9271       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'
   9272       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   9273 
   9274       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   9275         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9276 	# If the export-symbols file already is a .def file, use it as
   9277 	# is; otherwise, prepend EXPORTS...
   9278 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9279           cp $export_symbols $output_objdir/$soname.def;
   9280         else
   9281           echo EXPORTS > $output_objdir/$soname.def;
   9282           cat $export_symbols >> $output_objdir/$soname.def;
   9283         fi~
   9284         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   9285       else
   9286 	ld_shlibs=no
   9287       fi
   9288       ;;
   9289 
   9290     haiku*)
   9291       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9292       link_all_deplibs=yes
   9293       ;;
   9294 
   9295     os2*)
   9296       hardcode_libdir_flag_spec='-L$libdir'
   9297       hardcode_minus_L=yes
   9298       allow_undefined_flag=unsupported
   9299       shrext_cmds=.dll
   9300       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9301 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9302 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9303 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9304 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   9305 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9306 	emximp -o $lib $output_objdir/$libname.def'
   9307       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   9308 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   9309 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   9310 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   9311 	prefix_cmds="$SED"~
   9312 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   9313 	  prefix_cmds="$prefix_cmds -e 1d";
   9314 	fi~
   9315 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   9316 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   9317 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   9318 	emximp -o $lib $output_objdir/$libname.def'
   9319       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   9320       enable_shared_with_static_runtimes=yes
   9321       ;;
   9322 
   9323     interix[3-9]*)
   9324       hardcode_direct=no
   9325       hardcode_shlibpath_var=no
   9326       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   9327       export_dynamic_flag_spec='$wl-E'
   9328       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   9329       # Instead, shared libraries are loaded at an image base (0x10000000 by
   9330       # default) and relocated if they conflict, which is a slow very memory
   9331       # consuming and fragmenting process.  To avoid this, we pick a random,
   9332       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   9333       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   9334       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   9335       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'
   9336       ;;
   9337 
   9338     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   9339       tmp_diet=no
   9340       if test linux-dietlibc = "$host_os"; then
   9341 	case $cc_basename in
   9342 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   9343 	esac
   9344       fi
   9345       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   9346 	 && test no = "$tmp_diet"
   9347       then
   9348 	tmp_addflag=' $pic_flag'
   9349 	tmp_sharedflag='-shared'
   9350 	case $cc_basename,$host_cpu in
   9351         pgcc*)				# Portland Group C compiler
   9352 	  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'
   9353 	  tmp_addflag=' $pic_flag'
   9354 	  ;;
   9355 	pgf77* | pgf90* | pgf95* | pgfortran*)
   9356 					# Portland Group f77 and f90 compilers
   9357 	  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'
   9358 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   9359 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   9360 	  tmp_addflag=' -i_dynamic' ;;
   9361 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   9362 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   9363 	ifc* | ifort*)			# Intel Fortran compiler
   9364 	  tmp_addflag=' -nofor_main' ;;
   9365 	lf95*)				# Lahey Fortran 8.1
   9366 	  whole_archive_flag_spec=
   9367 	  tmp_sharedflag='--shared' ;;
   9368         nagfor*)                        # NAGFOR 5.3
   9369           tmp_sharedflag='-Wl,-shared' ;;
   9370 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   9371 	  tmp_sharedflag='-qmkshrobj'
   9372 	  tmp_addflag= ;;
   9373 	nvcc*)	# Cuda Compiler Driver 2.2
   9374 	  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'
   9375 	  compiler_needs_object=yes
   9376 	  ;;
   9377 	esac
   9378 	case `$CC -V 2>&1 | sed 5q` in
   9379 	*Sun\ C*)			# Sun C 5.9
   9380 	  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'
   9381 	  compiler_needs_object=yes
   9382 	  tmp_sharedflag='-G' ;;
   9383 	*Sun\ F*)			# Sun Fortran 8.3
   9384 	  tmp_sharedflag='-G' ;;
   9385 	esac
   9386 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9387 
   9388         if test yes = "$supports_anon_versioning"; then
   9389           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9390             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9391             echo "local: *; };" >> $output_objdir/$libname.ver~
   9392             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   9393         fi
   9394 
   9395 	case $cc_basename in
   9396 	tcc*)
   9397 	  export_dynamic_flag_spec='-rdynamic'
   9398 	  ;;
   9399 	xlf* | bgf* | bgxlf* | mpixlf*)
   9400 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   9401 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   9402 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9403 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   9404 	  if test yes = "$supports_anon_versioning"; then
   9405 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   9406               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   9407               echo "local: *; };" >> $output_objdir/$libname.ver~
   9408               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   9409 	  fi
   9410 	  ;;
   9411 	esac
   9412       else
   9413         ld_shlibs=no
   9414       fi
   9415       ;;
   9416 
   9417     netbsd*)
   9418       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9419 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   9420 	wlarc=
   9421       else
   9422 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9423 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9424       fi
   9425       ;;
   9426 
   9427     solaris*)
   9428       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   9429 	ld_shlibs=no
   9430 	cat <<_LT_EOF 1>&2
   9431 
   9432 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   9433 *** create shared libraries on Solaris systems.  Therefore, libtool
   9434 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9435 *** binutils to release 2.9.1 or newer.  Another option is to modify
   9436 *** your PATH or compiler configuration so that the native linker is
   9437 *** used, and then restart.
   9438 
   9439 _LT_EOF
   9440       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9441 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9442 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9443       else
   9444 	ld_shlibs=no
   9445       fi
   9446       ;;
   9447 
   9448     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   9449       case `$LD -v 2>&1` in
   9450         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   9451 	ld_shlibs=no
   9452 	cat <<_LT_EOF 1>&2
   9453 
   9454 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   9455 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   9456 *** is disabling shared libraries support.  We urge you to upgrade GNU
   9457 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   9458 *** your PATH or compiler configuration so that the native linker is
   9459 *** used, and then restart.
   9460 
   9461 _LT_EOF
   9462 	;;
   9463 	*)
   9464 	  # For security reasons, it is highly recommended that you always
   9465 	  # use absolute paths for naming shared libraries, and exclude the
   9466 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   9467 	  # requires that you compile everything twice, which is a pain.
   9468 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9469 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   9470 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9471 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9472 	  else
   9473 	    ld_shlibs=no
   9474 	  fi
   9475 	;;
   9476       esac
   9477       ;;
   9478 
   9479     sunos4*)
   9480       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9481       wlarc=
   9482       hardcode_direct=yes
   9483       hardcode_shlibpath_var=no
   9484       ;;
   9485 
   9486     *)
   9487       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   9488 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9489 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   9490       else
   9491 	ld_shlibs=no
   9492       fi
   9493       ;;
   9494     esac
   9495 
   9496     if test no = "$ld_shlibs"; then
   9497       runpath_var=
   9498       hardcode_libdir_flag_spec=
   9499       export_dynamic_flag_spec=
   9500       whole_archive_flag_spec=
   9501     fi
   9502   else
   9503     # PORTME fill in a description of your system's linker (not GNU ld)
   9504     case $host_os in
   9505     aix3*)
   9506       allow_undefined_flag=unsupported
   9507       always_export_symbols=yes
   9508       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'
   9509       # Note: this linker hardcodes the directories in LIBPATH if there
   9510       # are no directories specified by -L.
   9511       hardcode_minus_L=yes
   9512       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   9513 	# Neither direct hardcoding nor static linking is supported with a
   9514 	# broken collect2.
   9515 	hardcode_direct=unsupported
   9516       fi
   9517       ;;
   9518 
   9519     aix[4-9]*)
   9520       if test ia64 = "$host_cpu"; then
   9521 	# On IA64, the linker does run time linking by default, so we don't
   9522 	# have to do anything special.
   9523 	aix_use_runtimelinking=no
   9524 	exp_sym_flag='-Bexport'
   9525 	no_entry_flag=
   9526       else
   9527 	# If we're using GNU nm, then we don't want the "-C" option.
   9528 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   9529 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   9530 	# weak defined symbols like other global defined symbols, whereas
   9531 	# GNU nm marks them as "W".
   9532 	# While the 'weak' keyword is ignored in the Export File, we need
   9533 	# it in the Import File for the 'aix-soname' feature, so we have
   9534 	# to replace the "-B" option with "-P" for AIX nm.
   9535 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   9536 	  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'
   9537 	else
   9538 	  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'
   9539 	fi
   9540 	aix_use_runtimelinking=no
   9541 
   9542 	# Test if we are trying to use run time linking or normal
   9543 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   9544 	# have runtime linking enabled, and use it for executables.
   9545 	# For shared libraries, we enable/disable runtime linking
   9546 	# depending on the kind of the shared library created -
   9547 	# when "with_aix_soname,aix_use_runtimelinking" is:
   9548 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   9549 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   9550 	#            lib.a           static archive
   9551 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   9552 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   9553 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   9554 	#            lib.a(lib.so.V) shared, rtl:no
   9555 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   9556 	#            lib.a           static archive
   9557 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   9558 	  for ld_flag in $LDFLAGS; do
   9559 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   9560 	    aix_use_runtimelinking=yes
   9561 	    break
   9562 	  fi
   9563 	  done
   9564 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   9565 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   9566 	    # so we don't have lib.a shared libs to link our executables.
   9567 	    # We have to force runtime linking in this case.
   9568 	    aix_use_runtimelinking=yes
   9569 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   9570 	  fi
   9571 	  ;;
   9572 	esac
   9573 
   9574 	exp_sym_flag='-bexport'
   9575 	no_entry_flag='-bnoentry'
   9576       fi
   9577 
   9578       # When large executables or shared objects are built, AIX ld can
   9579       # have problems creating the table of contents.  If linking a library
   9580       # or program results in "error TOC overflow" add -mminimal-toc to
   9581       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   9582       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   9583 
   9584       archive_cmds=''
   9585       hardcode_direct=yes
   9586       hardcode_direct_absolute=yes
   9587       hardcode_libdir_separator=':'
   9588       link_all_deplibs=yes
   9589       file_list_spec='$wl-f,'
   9590       case $with_aix_soname,$aix_use_runtimelinking in
   9591       aix,*) ;; # traditional, no import file
   9592       svr4,* | *,yes) # use import file
   9593 	# The Import File defines what to hardcode.
   9594 	hardcode_direct=no
   9595 	hardcode_direct_absolute=no
   9596 	;;
   9597       esac
   9598 
   9599       if test yes = "$GCC"; then
   9600 	case $host_os in aix4.[012]|aix4.[012].*)
   9601 	# We only want to do this on AIX 4.2 and lower, the check
   9602 	# below for broken collect2 doesn't work under 4.3+
   9603 	  collect2name=`$CC -print-prog-name=collect2`
   9604 	  if test -f "$collect2name" &&
   9605 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   9606 	  then
   9607 	  # We have reworked collect2
   9608 	  :
   9609 	  else
   9610 	  # We have old collect2
   9611 	  hardcode_direct=unsupported
   9612 	  # It fails to find uninstalled libraries when the uninstalled
   9613 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   9614 	  # to unsupported forces relinking
   9615 	  hardcode_minus_L=yes
   9616 	  hardcode_libdir_flag_spec='-L$libdir'
   9617 	  hardcode_libdir_separator=
   9618 	  fi
   9619 	  ;;
   9620 	esac
   9621 	shared_flag='-shared'
   9622 	if test yes = "$aix_use_runtimelinking"; then
   9623 	  shared_flag="$shared_flag "'$wl-G'
   9624 	fi
   9625 	# Need to ensure runtime linking is disabled for the traditional
   9626 	# shared library, or the linker may eventually find shared libraries
   9627 	# /with/ Import File - we do not want to mix them.
   9628 	shared_flag_aix='-shared'
   9629 	shared_flag_svr4='-shared $wl-G'
   9630       else
   9631 	# not using gcc
   9632 	if test ia64 = "$host_cpu"; then
   9633 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   9634 	# chokes on -Wl,-G. The following line is correct:
   9635 	  shared_flag='-G'
   9636 	else
   9637 	  if test yes = "$aix_use_runtimelinking"; then
   9638 	    shared_flag='$wl-G'
   9639 	  else
   9640 	    shared_flag='$wl-bM:SRE'
   9641 	  fi
   9642 	  shared_flag_aix='$wl-bM:SRE'
   9643 	  shared_flag_svr4='$wl-G'
   9644 	fi
   9645       fi
   9646 
   9647       export_dynamic_flag_spec='$wl-bexpall'
   9648       # It seems that -bexpall does not export symbols beginning with
   9649       # underscore (_), so it is better to generate a list of symbols to export.
   9650       always_export_symbols=yes
   9651       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   9652 	# Warning - without using the other runtime loading flags (-brtl),
   9653 	# -berok will link without error, but may produce a broken library.
   9654 	allow_undefined_flag='-berok'
   9655         # Determine the default libpath from the value encoded in an
   9656         # empty executable.
   9657         if test set = "${lt_cv_aix_libpath+set}"; then
   9658   aix_libpath=$lt_cv_aix_libpath
   9659 else
   9660   if ${lt_cv_aix_libpath_+:} false; then :
   9661   $as_echo_n "(cached) " >&6
   9662 else
   9663   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9664 /* end confdefs.h.  */
   9665 
   9666 int
   9667 main ()
   9668 {
   9669 
   9670   ;
   9671   return 0;
   9672 }
   9673 _ACEOF
   9674 if ac_fn_c_try_link "$LINENO"; then :
   9675 
   9676   lt_aix_libpath_sed='
   9677       /Import File Strings/,/^$/ {
   9678 	  /^0/ {
   9679 	      s/^0  *\([^ ]*\) *$/\1/
   9680 	      p
   9681 	  }
   9682       }'
   9683   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9684   # Check for a 64-bit object if we didn't find anything.
   9685   if test -z "$lt_cv_aix_libpath_"; then
   9686     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9687   fi
   9688 fi
   9689 rm -f core conftest.err conftest.$ac_objext \
   9690     conftest$ac_exeext conftest.$ac_ext
   9691   if test -z "$lt_cv_aix_libpath_"; then
   9692     lt_cv_aix_libpath_=/usr/lib:/lib
   9693   fi
   9694 
   9695 fi
   9696 
   9697   aix_libpath=$lt_cv_aix_libpath_
   9698 fi
   9699 
   9700         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9701         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
   9702       else
   9703 	if test ia64 = "$host_cpu"; then
   9704 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   9705 	  allow_undefined_flag="-z nodefs"
   9706 	  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"
   9707 	else
   9708 	 # Determine the default libpath from the value encoded in an
   9709 	 # empty executable.
   9710 	 if test set = "${lt_cv_aix_libpath+set}"; then
   9711   aix_libpath=$lt_cv_aix_libpath
   9712 else
   9713   if ${lt_cv_aix_libpath_+:} false; then :
   9714   $as_echo_n "(cached) " >&6
   9715 else
   9716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9717 /* end confdefs.h.  */
   9718 
   9719 int
   9720 main ()
   9721 {
   9722 
   9723   ;
   9724   return 0;
   9725 }
   9726 _ACEOF
   9727 if ac_fn_c_try_link "$LINENO"; then :
   9728 
   9729   lt_aix_libpath_sed='
   9730       /Import File Strings/,/^$/ {
   9731 	  /^0/ {
   9732 	      s/^0  *\([^ ]*\) *$/\1/
   9733 	      p
   9734 	  }
   9735       }'
   9736   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9737   # Check for a 64-bit object if we didn't find anything.
   9738   if test -z "$lt_cv_aix_libpath_"; then
   9739     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   9740   fi
   9741 fi
   9742 rm -f core conftest.err conftest.$ac_objext \
   9743     conftest$ac_exeext conftest.$ac_ext
   9744   if test -z "$lt_cv_aix_libpath_"; then
   9745     lt_cv_aix_libpath_=/usr/lib:/lib
   9746   fi
   9747 
   9748 fi
   9749 
   9750   aix_libpath=$lt_cv_aix_libpath_
   9751 fi
   9752 
   9753 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   9754 	  # Warning - without using the other run time loading flags,
   9755 	  # -berok will link without error, but may produce a broken library.
   9756 	  no_undefined_flag=' $wl-bernotok'
   9757 	  allow_undefined_flag=' $wl-berok'
   9758 	  if test yes = "$with_gnu_ld"; then
   9759 	    # We only use this code for GNU lds that support --whole-archive.
   9760 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   9761 	  else
   9762 	    # Exported symbols can be pulled into shared objects from archives
   9763 	    whole_archive_flag_spec='$convenience'
   9764 	  fi
   9765 	  archive_cmds_need_lc=yes
   9766 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   9767 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   9768 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   9769 	  if test svr4 != "$with_aix_soname"; then
   9770 	    # This is similar to how AIX traditionally builds its shared libraries.
   9771 	    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'
   9772 	  fi
   9773 	  if test aix != "$with_aix_soname"; then
   9774 	    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'
   9775 	  else
   9776 	    # used by -dlpreopen to get the symbols
   9777 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   9778 	  fi
   9779 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   9780 	fi
   9781       fi
   9782       ;;
   9783 
   9784     amigaos*)
   9785       case $host_cpu in
   9786       powerpc)
   9787             # see comment about AmigaOS4 .so support
   9788             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   9789             archive_expsym_cmds=''
   9790         ;;
   9791       m68k)
   9792             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)'
   9793             hardcode_libdir_flag_spec='-L$libdir'
   9794             hardcode_minus_L=yes
   9795         ;;
   9796       esac
   9797       ;;
   9798 
   9799     bsdi[45]*)
   9800       export_dynamic_flag_spec=-rdynamic
   9801       ;;
   9802 
   9803     cygwin* | mingw* | pw32* | cegcc*)
   9804       # When not using gcc, we currently assume that we are using
   9805       # Microsoft Visual C++.
   9806       # hardcode_libdir_flag_spec is actually meaningless, as there is
   9807       # no search path for DLLs.
   9808       case $cc_basename in
   9809       cl*)
   9810 	# Native MSVC
   9811 	hardcode_libdir_flag_spec=' '
   9812 	allow_undefined_flag=unsupported
   9813 	always_export_symbols=yes
   9814 	file_list_spec='@'
   9815 	# Tell ltmain to make .lib files, not .a files.
   9816 	libext=lib
   9817 	# Tell ltmain to make .dll files, not .so files.
   9818 	shrext_cmds=.dll
   9819 	# FIXME: Setting linknames here is a bad hack.
   9820 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   9821 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   9822             cp "$export_symbols" "$output_objdir/$soname.def";
   9823             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   9824           else
   9825             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   9826           fi~
   9827           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   9828           linknames='
   9829 	# The linker will not automatically build a static lib if we build a DLL.
   9830 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   9831 	enable_shared_with_static_runtimes=yes
   9832 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   9833 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   9834 	# Don't use ranlib
   9835 	old_postinstall_cmds='chmod 644 $oldlib'
   9836 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   9837           lt_tool_outputfile="@TOOL_OUTPUT@"~
   9838           case $lt_outputfile in
   9839             *.exe|*.EXE) ;;
   9840             *)
   9841               lt_outputfile=$lt_outputfile.exe
   9842               lt_tool_outputfile=$lt_tool_outputfile.exe
   9843               ;;
   9844           esac~
   9845           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   9846             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   9847             $RM "$lt_outputfile.manifest";
   9848           fi'
   9849 	;;
   9850       *)
   9851 	# Assume MSVC wrapper
   9852 	hardcode_libdir_flag_spec=' '
   9853 	allow_undefined_flag=unsupported
   9854 	# Tell ltmain to make .lib files, not .a files.
   9855 	libext=lib
   9856 	# Tell ltmain to make .dll files, not .so files.
   9857 	shrext_cmds=.dll
   9858 	# FIXME: Setting linknames here is a bad hack.
   9859 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   9860 	# The linker will automatically build a .lib file if we build a DLL.
   9861 	old_archive_from_new_cmds='true'
   9862 	# FIXME: Should let the user specify the lib program.
   9863 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   9864 	enable_shared_with_static_runtimes=yes
   9865 	;;
   9866       esac
   9867       ;;
   9868 
   9869     darwin* | rhapsody*)
   9870 
   9871 
   9872   archive_cmds_need_lc=no
   9873   hardcode_direct=no
   9874   hardcode_automatic=yes
   9875   hardcode_shlibpath_var=unsupported
   9876   if test yes = "$lt_cv_ld_force_load"; then
   9877     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\"`'
   9878 
   9879   else
   9880     whole_archive_flag_spec=''
   9881   fi
   9882   link_all_deplibs=yes
   9883   allow_undefined_flag=$_lt_dar_allow_undefined
   9884   case $cc_basename in
   9885      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   9886      *) _lt_dar_can_shared=$GCC ;;
   9887   esac
   9888   if test yes = "$_lt_dar_can_shared"; then
   9889     output_verbose_link_cmd=func_echo_all
   9890     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   9891     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   9892     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"
   9893     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"
   9894 
   9895   else
   9896   ld_shlibs=no
   9897   fi
   9898 
   9899       ;;
   9900 
   9901     dgux*)
   9902       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   9903       hardcode_libdir_flag_spec='-L$libdir'
   9904       hardcode_shlibpath_var=no
   9905       ;;
   9906 
   9907     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   9908     # support.  Future versions do this automatically, but an explicit c++rt0.o
   9909     # does not break anything, and helps significantly (at the cost of a little
   9910     # extra space).
   9911     freebsd2.2*)
   9912       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   9913       hardcode_libdir_flag_spec='-R$libdir'
   9914       hardcode_direct=yes
   9915       hardcode_shlibpath_var=no
   9916       ;;
   9917 
   9918     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   9919     freebsd2.*)
   9920       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   9921       hardcode_direct=yes
   9922       hardcode_minus_L=yes
   9923       hardcode_shlibpath_var=no
   9924       ;;
   9925 
   9926     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   9927     freebsd* | dragonfly*)
   9928       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   9929       hardcode_libdir_flag_spec='-R$libdir'
   9930       hardcode_direct=yes
   9931       hardcode_shlibpath_var=no
   9932       ;;
   9933 
   9934     hpux9*)
   9935       if test yes = "$GCC"; then
   9936 	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'
   9937       else
   9938 	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'
   9939       fi
   9940       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9941       hardcode_libdir_separator=:
   9942       hardcode_direct=yes
   9943 
   9944       # hardcode_minus_L: Not really in the search PATH,
   9945       # but as the default location of the library.
   9946       hardcode_minus_L=yes
   9947       export_dynamic_flag_spec='$wl-E'
   9948       ;;
   9949 
   9950     hpux10*)
   9951       if test yes,no = "$GCC,$with_gnu_ld"; then
   9952 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9953       else
   9954 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   9955       fi
   9956       if test no = "$with_gnu_ld"; then
   9957 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   9958 	hardcode_libdir_separator=:
   9959 	hardcode_direct=yes
   9960 	hardcode_direct_absolute=yes
   9961 	export_dynamic_flag_spec='$wl-E'
   9962 	# hardcode_minus_L: Not really in the search PATH,
   9963 	# but as the default location of the library.
   9964 	hardcode_minus_L=yes
   9965       fi
   9966       ;;
   9967 
   9968     hpux11*)
   9969       if test yes,no = "$GCC,$with_gnu_ld"; then
   9970 	case $host_cpu in
   9971 	hppa*64*)
   9972 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9973 	  ;;
   9974 	ia64*)
   9975 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9976 	  ;;
   9977 	*)
   9978 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   9979 	  ;;
   9980 	esac
   9981       else
   9982 	case $host_cpu in
   9983 	hppa*64*)
   9984 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   9985 	  ;;
   9986 	ia64*)
   9987 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   9988 	  ;;
   9989 	*)
   9990 
   9991 	  # Older versions of the 11.00 compiler do not understand -b yet
   9992 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   9993 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   9994 $as_echo_n "checking if $CC understands -b... " >&6; }
   9995 if ${lt_cv_prog_compiler__b+:} false; then :
   9996   $as_echo_n "(cached) " >&6
   9997 else
   9998   lt_cv_prog_compiler__b=no
   9999    save_LDFLAGS=$LDFLAGS
   10000    LDFLAGS="$LDFLAGS -b"
   10001    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   10002    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   10003      # The linker can only warn and ignore the option if not recognized
   10004      # So say no if there are warnings
   10005      if test -s conftest.err; then
   10006        # Append any errors to the config.log.
   10007        cat conftest.err 1>&5
   10008        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   10009        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   10010        if diff conftest.exp conftest.er2 >/dev/null; then
   10011          lt_cv_prog_compiler__b=yes
   10012        fi
   10013      else
   10014        lt_cv_prog_compiler__b=yes
   10015      fi
   10016    fi
   10017    $RM -r conftest*
   10018    LDFLAGS=$save_LDFLAGS
   10019 
   10020 fi
   10021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   10022 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   10023 
   10024 if test yes = "$lt_cv_prog_compiler__b"; then
   10025     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   10026 else
   10027     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   10028 fi
   10029 
   10030 	  ;;
   10031 	esac
   10032       fi
   10033       if test no = "$with_gnu_ld"; then
   10034 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   10035 	hardcode_libdir_separator=:
   10036 
   10037 	case $host_cpu in
   10038 	hppa*64*|ia64*)
   10039 	  hardcode_direct=no
   10040 	  hardcode_shlibpath_var=no
   10041 	  ;;
   10042 	*)
   10043 	  hardcode_direct=yes
   10044 	  hardcode_direct_absolute=yes
   10045 	  export_dynamic_flag_spec='$wl-E'
   10046 
   10047 	  # hardcode_minus_L: Not really in the search PATH,
   10048 	  # but as the default location of the library.
   10049 	  hardcode_minus_L=yes
   10050 	  ;;
   10051 	esac
   10052       fi
   10053       ;;
   10054 
   10055     irix5* | irix6* | nonstopux*)
   10056       if test yes = "$GCC"; then
   10057 	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'
   10058 	# Try to use the -exported_symbol ld option, if it does not
   10059 	# work, assume that -exports_file does not work either and
   10060 	# implicitly export all symbols.
   10061 	# This should be the same for all languages, so no per-tag cache variable.
   10062 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   10063 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   10064 if ${lt_cv_irix_exported_symbol+:} false; then :
   10065   $as_echo_n "(cached) " >&6
   10066 else
   10067   save_LDFLAGS=$LDFLAGS
   10068 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   10069 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10070 /* end confdefs.h.  */
   10071 int foo (void) { return 0; }
   10072 _ACEOF
   10073 if ac_fn_c_try_link "$LINENO"; then :
   10074   lt_cv_irix_exported_symbol=yes
   10075 else
   10076   lt_cv_irix_exported_symbol=no
   10077 fi
   10078 rm -f core conftest.err conftest.$ac_objext \
   10079     conftest$ac_exeext conftest.$ac_ext
   10080            LDFLAGS=$save_LDFLAGS
   10081 fi
   10082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   10083 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   10084 	if test yes = "$lt_cv_irix_exported_symbol"; then
   10085           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'
   10086 	fi
   10087       else
   10088 	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'
   10089 	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'
   10090       fi
   10091       archive_cmds_need_lc='no'
   10092       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10093       hardcode_libdir_separator=:
   10094       inherit_rpath=yes
   10095       link_all_deplibs=yes
   10096       ;;
   10097 
   10098     linux*)
   10099       case $cc_basename in
   10100       tcc*)
   10101 	# Fabrice Bellard et al's Tiny C Compiler
   10102 	ld_shlibs=yes
   10103 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10104 	;;
   10105       esac
   10106       ;;
   10107 
   10108     netbsd*)
   10109       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   10110 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   10111       else
   10112 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   10113       fi
   10114       hardcode_libdir_flag_spec='-R$libdir'
   10115       hardcode_direct=yes
   10116       hardcode_shlibpath_var=no
   10117       ;;
   10118 
   10119     newsos6)
   10120       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10121       hardcode_direct=yes
   10122       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10123       hardcode_libdir_separator=:
   10124       hardcode_shlibpath_var=no
   10125       ;;
   10126 
   10127     *nto* | *qnx*)
   10128       ;;
   10129 
   10130     openbsd* | bitrig*)
   10131       if test -f /usr/libexec/ld.so; then
   10132 	hardcode_direct=yes
   10133 	hardcode_shlibpath_var=no
   10134 	hardcode_direct_absolute=yes
   10135 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   10136 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10137 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   10138 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10139 	  export_dynamic_flag_spec='$wl-E'
   10140 	else
   10141 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   10142 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   10143 	fi
   10144       else
   10145 	ld_shlibs=no
   10146       fi
   10147       ;;
   10148 
   10149     os2*)
   10150       hardcode_libdir_flag_spec='-L$libdir'
   10151       hardcode_minus_L=yes
   10152       allow_undefined_flag=unsupported
   10153       shrext_cmds=.dll
   10154       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10155 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10156 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10157 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10158 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   10159 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10160 	emximp -o $lib $output_objdir/$libname.def'
   10161       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   10162 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   10163 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   10164 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   10165 	prefix_cmds="$SED"~
   10166 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   10167 	  prefix_cmds="$prefix_cmds -e 1d";
   10168 	fi~
   10169 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   10170 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   10171 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   10172 	emximp -o $lib $output_objdir/$libname.def'
   10173       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   10174       enable_shared_with_static_runtimes=yes
   10175       ;;
   10176 
   10177     osf3*)
   10178       if test yes = "$GCC"; then
   10179 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10180 	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'
   10181       else
   10182 	allow_undefined_flag=' -expect_unresolved \*'
   10183 	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'
   10184       fi
   10185       archive_cmds_need_lc='no'
   10186       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10187       hardcode_libdir_separator=:
   10188       ;;
   10189 
   10190     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   10191       if test yes = "$GCC"; then
   10192 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   10193 	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'
   10194 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   10195       else
   10196 	allow_undefined_flag=' -expect_unresolved \*'
   10197 	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'
   10198 	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~
   10199           $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'
   10200 
   10201 	# Both c and cxx compiler support -rpath directly
   10202 	hardcode_libdir_flag_spec='-rpath $libdir'
   10203       fi
   10204       archive_cmds_need_lc='no'
   10205       hardcode_libdir_separator=:
   10206       ;;
   10207 
   10208     solaris*)
   10209       no_undefined_flag=' -z defs'
   10210       if test yes = "$GCC"; then
   10211 	wlarc='$wl'
   10212 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   10213 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10214           $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'
   10215       else
   10216 	case `$CC -V 2>&1` in
   10217 	*"Compilers 5.0"*)
   10218 	  wlarc=''
   10219 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10220 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10221             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   10222 	  ;;
   10223 	*)
   10224 	  wlarc='$wl'
   10225 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10226 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   10227             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   10228 	  ;;
   10229 	esac
   10230       fi
   10231       hardcode_libdir_flag_spec='-R$libdir'
   10232       hardcode_shlibpath_var=no
   10233       case $host_os in
   10234       solaris2.[0-5] | solaris2.[0-5].*) ;;
   10235       *)
   10236 	# The compiler driver will combine and reorder linker options,
   10237 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   10238 	# but is careful enough not to reorder.
   10239 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   10240 	if test yes = "$GCC"; then
   10241 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   10242 	else
   10243 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   10244 	fi
   10245 	;;
   10246       esac
   10247       link_all_deplibs=yes
   10248       ;;
   10249 
   10250     sunos4*)
   10251       if test sequent = "$host_vendor"; then
   10252 	# Use $CC to link under sequent, because it throws in some extra .o
   10253 	# files that make .init and .fini sections work.
   10254 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   10255       else
   10256 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   10257       fi
   10258       hardcode_libdir_flag_spec='-L$libdir'
   10259       hardcode_direct=yes
   10260       hardcode_minus_L=yes
   10261       hardcode_shlibpath_var=no
   10262       ;;
   10263 
   10264     sysv4)
   10265       case $host_vendor in
   10266 	sni)
   10267 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10268 	  hardcode_direct=yes # is this really true???
   10269 	;;
   10270 	siemens)
   10271 	  ## LD is ld it makes a PLAMLIB
   10272 	  ## CC just makes a GrossModule.
   10273 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   10274 	  reload_cmds='$CC -r -o $output$reload_objs'
   10275 	  hardcode_direct=no
   10276         ;;
   10277 	motorola)
   10278 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10279 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   10280 	;;
   10281       esac
   10282       runpath_var='LD_RUN_PATH'
   10283       hardcode_shlibpath_var=no
   10284       ;;
   10285 
   10286     sysv4.3*)
   10287       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10288       hardcode_shlibpath_var=no
   10289       export_dynamic_flag_spec='-Bexport'
   10290       ;;
   10291 
   10292     sysv4*MP*)
   10293       if test -d /usr/nec; then
   10294 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10295 	hardcode_shlibpath_var=no
   10296 	runpath_var=LD_RUN_PATH
   10297 	hardcode_runpath_var=yes
   10298 	ld_shlibs=yes
   10299       fi
   10300       ;;
   10301 
   10302     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   10303       no_undefined_flag='$wl-z,text'
   10304       archive_cmds_need_lc=no
   10305       hardcode_shlibpath_var=no
   10306       runpath_var='LD_RUN_PATH'
   10307 
   10308       if test yes = "$GCC"; then
   10309 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10310 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10311       else
   10312 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10313 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10314       fi
   10315       ;;
   10316 
   10317     sysv5* | sco3.2v5* | sco5v6*)
   10318       # Note: We CANNOT use -z defs as we might desire, because we do not
   10319       # link with -lc, and that would cause any symbols used from libc to
   10320       # always be unresolved, which means just about no library would
   10321       # ever link correctly.  If we're not using GNU ld we use -z text
   10322       # though, which does catch some bad symbols but isn't as heavy-handed
   10323       # as -z defs.
   10324       no_undefined_flag='$wl-z,text'
   10325       allow_undefined_flag='$wl-z,nodefs'
   10326       archive_cmds_need_lc=no
   10327       hardcode_shlibpath_var=no
   10328       hardcode_libdir_flag_spec='$wl-R,$libdir'
   10329       hardcode_libdir_separator=':'
   10330       link_all_deplibs=yes
   10331       export_dynamic_flag_spec='$wl-Bexport'
   10332       runpath_var='LD_RUN_PATH'
   10333 
   10334       if test yes = "$GCC"; then
   10335 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10336 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10337       else
   10338 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10339 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   10340       fi
   10341       ;;
   10342 
   10343     uts4*)
   10344       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   10345       hardcode_libdir_flag_spec='-L$libdir'
   10346       hardcode_shlibpath_var=no
   10347       ;;
   10348 
   10349     *)
   10350       ld_shlibs=no
   10351       ;;
   10352     esac
   10353 
   10354     if test sni = "$host_vendor"; then
   10355       case $host in
   10356       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   10357 	export_dynamic_flag_spec='$wl-Blargedynsym'
   10358 	;;
   10359       esac
   10360     fi
   10361   fi
   10362 
   10363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   10364 $as_echo "$ld_shlibs" >&6; }
   10365 test no = "$ld_shlibs" && can_build_shared=no
   10366 
   10367 with_gnu_ld=$with_gnu_ld
   10368 
   10369 
   10370 
   10371 
   10372 
   10373 
   10374 
   10375 
   10376 
   10377 
   10378 
   10379 
   10380 
   10381 
   10382 
   10383 #
   10384 # Do we need to explicitly link libc?
   10385 #
   10386 case "x$archive_cmds_need_lc" in
   10387 x|xyes)
   10388   # Assume -lc should be added
   10389   archive_cmds_need_lc=yes
   10390 
   10391   if test yes,yes = "$GCC,$enable_shared"; then
   10392     case $archive_cmds in
   10393     *'~'*)
   10394       # FIXME: we may have to deal with multi-command sequences.
   10395       ;;
   10396     '$CC '*)
   10397       # Test whether the compiler implicitly links with -lc since on some
   10398       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   10399       # to ld, don't add -lc before -lgcc.
   10400       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   10401 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   10402 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   10403   $as_echo_n "(cached) " >&6
   10404 else
   10405   $RM conftest*
   10406 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   10407 
   10408 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   10409   (eval $ac_compile) 2>&5
   10410   ac_status=$?
   10411   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10412   test $ac_status = 0; } 2>conftest.err; then
   10413 	  soname=conftest
   10414 	  lib=conftest
   10415 	  libobjs=conftest.$ac_objext
   10416 	  deplibs=
   10417 	  wl=$lt_prog_compiler_wl
   10418 	  pic_flag=$lt_prog_compiler_pic
   10419 	  compiler_flags=-v
   10420 	  linker_flags=-v
   10421 	  verstring=
   10422 	  output_objdir=.
   10423 	  libname=conftest
   10424 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   10425 	  allow_undefined_flag=
   10426 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   10427   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   10428   ac_status=$?
   10429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   10430   test $ac_status = 0; }
   10431 	  then
   10432 	    lt_cv_archive_cmds_need_lc=no
   10433 	  else
   10434 	    lt_cv_archive_cmds_need_lc=yes
   10435 	  fi
   10436 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   10437 	else
   10438 	  cat conftest.err 1>&5
   10439 	fi
   10440 	$RM conftest*
   10441 
   10442 fi
   10443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   10444 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   10445       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   10446       ;;
   10447     esac
   10448   fi
   10449   ;;
   10450 esac
   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 
   10481 
   10482 
   10483 
   10484 
   10485 
   10486 
   10487 
   10488 
   10489 
   10490 
   10491 
   10492 
   10493 
   10494 
   10495 
   10496 
   10497 
   10498 
   10499 
   10500 
   10501 
   10502 
   10503 
   10504 
   10505 
   10506 
   10507 
   10508 
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 
   10525 
   10526 
   10527 
   10528 
   10529 
   10530 
   10531 
   10532 
   10533 
   10534 
   10535 
   10536 
   10537 
   10538 
   10539 
   10540 
   10541 
   10542 
   10543 
   10544 
   10545 
   10546 
   10547 
   10548 
   10549 
   10550 
   10551 
   10552 
   10553 
   10554 
   10555 
   10556 
   10557 
   10558 
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 
   10573 
   10574 
   10575 
   10576 
   10577 
   10578 
   10579 
   10580 
   10581 
   10582 
   10583 
   10584 
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 
   10599 
   10600 
   10601 
   10602 
   10603   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   10604 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   10605 
   10606 if test yes = "$GCC"; then
   10607   case $host_os in
   10608     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   10609     *) lt_awk_arg='/^libraries:/' ;;
   10610   esac
   10611   case $host_os in
   10612     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   10613     *) lt_sed_strip_eq='s|=/|/|g' ;;
   10614   esac
   10615   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   10616   case $lt_search_path_spec in
   10617   *\;*)
   10618     # if the path contains ";" then we assume it to be the separator
   10619     # otherwise default to the standard path separator (i.e. ":") - it is
   10620     # assumed that no part of a normal pathname contains ";" but that should
   10621     # okay in the real world where ";" in dirpaths is itself problematic.
   10622     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   10623     ;;
   10624   *)
   10625     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   10626     ;;
   10627   esac
   10628   # Ok, now we have the path, separated by spaces, we can step through it
   10629   # and add multilib dir if necessary...
   10630   lt_tmp_lt_search_path_spec=
   10631   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   10632   # ...but if some path component already ends with the multilib dir we assume
   10633   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   10634   case "$lt_multi_os_dir; $lt_search_path_spec " in
   10635   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   10636     lt_multi_os_dir=
   10637     ;;
   10638   esac
   10639   for lt_sys_path in $lt_search_path_spec; do
   10640     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   10641       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   10642     elif test -n "$lt_multi_os_dir"; then
   10643       test -d "$lt_sys_path" && \
   10644 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   10645     fi
   10646   done
   10647   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   10648 BEGIN {RS = " "; FS = "/|\n";} {
   10649   lt_foo = "";
   10650   lt_count = 0;
   10651   for (lt_i = NF; lt_i > 0; lt_i--) {
   10652     if ($lt_i != "" && $lt_i != ".") {
   10653       if ($lt_i == "..") {
   10654         lt_count++;
   10655       } else {
   10656         if (lt_count == 0) {
   10657           lt_foo = "/" $lt_i lt_foo;
   10658         } else {
   10659           lt_count--;
   10660         }
   10661       }
   10662     }
   10663   }
   10664   if (lt_foo != "") { lt_freq[lt_foo]++; }
   10665   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   10666 }'`
   10667   # AWK program above erroneously prepends '/' to C:/dos/paths
   10668   # for these hosts.
   10669   case $host_os in
   10670     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   10671       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   10672   esac
   10673   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   10674 else
   10675   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   10676 fi
   10677 library_names_spec=
   10678 libname_spec='lib$name'
   10679 soname_spec=
   10680 shrext_cmds=.so
   10681 postinstall_cmds=
   10682 postuninstall_cmds=
   10683 finish_cmds=
   10684 finish_eval=
   10685 shlibpath_var=
   10686 shlibpath_overrides_runpath=unknown
   10687 version_type=none
   10688 dynamic_linker="$host_os ld.so"
   10689 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   10690 need_lib_prefix=unknown
   10691 hardcode_into_libs=no
   10692 
   10693 # when you set need_version to no, make sure it does not cause -set_version
   10694 # flags to be left without arguments
   10695 need_version=unknown
   10696 
   10697 
   10698 
   10699 case $host_os in
   10700 aix3*)
   10701   version_type=linux # correct to gnu/linux during the next big refactor
   10702   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   10703   shlibpath_var=LIBPATH
   10704 
   10705   # AIX 3 has no versioning support, so we append a major version to the name.
   10706   soname_spec='$libname$release$shared_ext$major'
   10707   ;;
   10708 
   10709 aix[4-9]*)
   10710   version_type=linux # correct to gnu/linux during the next big refactor
   10711   need_lib_prefix=no
   10712   need_version=no
   10713   hardcode_into_libs=yes
   10714   if test ia64 = "$host_cpu"; then
   10715     # AIX 5 supports IA64
   10716     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   10717     shlibpath_var=LD_LIBRARY_PATH
   10718   else
   10719     # With GCC up to 2.95.x, collect2 would create an import file
   10720     # for dependence libraries.  The import file would start with
   10721     # the line '#! .'.  This would cause the generated library to
   10722     # depend on '.', always an invalid library.  This was fixed in
   10723     # development snapshots of GCC prior to 3.0.
   10724     case $host_os in
   10725       aix4 | aix4.[01] | aix4.[01].*)
   10726       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   10727 	   echo ' yes '
   10728 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   10729 	:
   10730       else
   10731 	can_build_shared=no
   10732       fi
   10733       ;;
   10734     esac
   10735     # Using Import Files as archive members, it is possible to support
   10736     # filename-based versioning of shared library archives on AIX. While
   10737     # this would work for both with and without runtime linking, it will
   10738     # prevent static linking of such archives. So we do filename-based
   10739     # shared library versioning with .so extension only, which is used
   10740     # when both runtime linking and shared linking is enabled.
   10741     # Unfortunately, runtime linking may impact performance, so we do
   10742     # not want this to be the default eventually. Also, we use the
   10743     # versioned .so libs for executables only if there is the -brtl
   10744     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   10745     # To allow for filename-based versioning support, we need to create
   10746     # libNAME.so.V as an archive file, containing:
   10747     # *) an Import File, referring to the versioned filename of the
   10748     #    archive as well as the shared archive member, telling the
   10749     #    bitwidth (32 or 64) of that shared object, and providing the
   10750     #    list of exported symbols of that shared object, eventually
   10751     #    decorated with the 'weak' keyword
   10752     # *) the shared object with the F_LOADONLY flag set, to really avoid
   10753     #    it being seen by the linker.
   10754     # At run time we better use the real file rather than another symlink,
   10755     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   10756 
   10757     case $with_aix_soname,$aix_use_runtimelinking in
   10758     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   10759     # soname into executable. Probably we can add versioning support to
   10760     # collect2, so additional links can be useful in future.
   10761     aix,yes) # traditional libtool
   10762       dynamic_linker='AIX unversionable lib.so'
   10763       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   10764       # instead of lib<name>.a to let people know that these are not
   10765       # typical AIX shared libraries.
   10766       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10767       ;;
   10768     aix,no) # traditional AIX only
   10769       dynamic_linker='AIX lib.a(lib.so.V)'
   10770       # We preserve .a as extension for shared libraries through AIX4.2
   10771       # and later when we are not doing run time linking.
   10772       library_names_spec='$libname$release.a $libname.a'
   10773       soname_spec='$libname$release$shared_ext$major'
   10774       ;;
   10775     svr4,*) # full svr4 only
   10776       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   10777       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10778       # We do not specify a path in Import Files, so LIBPATH fires.
   10779       shlibpath_overrides_runpath=yes
   10780       ;;
   10781     *,yes) # both, prefer svr4
   10782       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   10783       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   10784       # unpreferred sharedlib libNAME.a needs extra handling
   10785       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"'
   10786       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"'
   10787       # We do not specify a path in Import Files, so LIBPATH fires.
   10788       shlibpath_overrides_runpath=yes
   10789       ;;
   10790     *,no) # both, prefer aix
   10791       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   10792       library_names_spec='$libname$release.a $libname.a'
   10793       soname_spec='$libname$release$shared_ext$major'
   10794       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   10795       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)'
   10796       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"'
   10797       ;;
   10798     esac
   10799     shlibpath_var=LIBPATH
   10800   fi
   10801   ;;
   10802 
   10803 amigaos*)
   10804   case $host_cpu in
   10805   powerpc)
   10806     # Since July 2007 AmigaOS4 officially supports .so libraries.
   10807     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   10808     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10809     ;;
   10810   m68k)
   10811     library_names_spec='$libname.ixlibrary $libname.a'
   10812     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   10813     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'
   10814     ;;
   10815   esac
   10816   ;;
   10817 
   10818 beos*)
   10819   library_names_spec='$libname$shared_ext'
   10820   dynamic_linker="$host_os ld.so"
   10821   shlibpath_var=LIBRARY_PATH
   10822   ;;
   10823 
   10824 bsdi[45]*)
   10825   version_type=linux # correct to gnu/linux during the next big refactor
   10826   need_version=no
   10827   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10828   soname_spec='$libname$release$shared_ext$major'
   10829   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   10830   shlibpath_var=LD_LIBRARY_PATH
   10831   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   10832   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   10833   # the default ld.so.conf also contains /usr/contrib/lib and
   10834   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   10835   # libtool to hard-code these into programs
   10836   ;;
   10837 
   10838 cygwin* | mingw* | pw32* | cegcc*)
   10839   version_type=windows
   10840   shrext_cmds=.dll
   10841   need_version=no
   10842   need_lib_prefix=no
   10843 
   10844   case $GCC,$cc_basename in
   10845   yes,*)
   10846     # gcc
   10847     library_names_spec='$libname.dll.a'
   10848     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10849     postinstall_cmds='base_file=`basename \$file`~
   10850       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10851       dldir=$destdir/`dirname \$dlpath`~
   10852       test -d \$dldir || mkdir -p \$dldir~
   10853       $install_prog $dir/$dlname \$dldir/$dlname~
   10854       chmod a+x \$dldir/$dlname~
   10855       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   10856         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   10857       fi'
   10858     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10859       dlpath=$dir/\$dldll~
   10860        $RM \$dlpath'
   10861     shlibpath_overrides_runpath=yes
   10862 
   10863     case $host_os in
   10864     cygwin*)
   10865       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   10866       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10867 
   10868       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   10869       ;;
   10870     mingw* | cegcc*)
   10871       # MinGW DLLs use traditional 'lib' prefix
   10872       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10873       ;;
   10874     pw32*)
   10875       # pw32 DLLs use 'pw' prefix rather than 'lib'
   10876       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10877       ;;
   10878     esac
   10879     dynamic_linker='Win32 ld.exe'
   10880     ;;
   10881 
   10882   *,cl*)
   10883     # Native MSVC
   10884     libname_spec='$name'
   10885     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   10886     library_names_spec='$libname.dll.lib'
   10887 
   10888     case $build_os in
   10889     mingw*)
   10890       sys_lib_search_path_spec=
   10891       lt_save_ifs=$IFS
   10892       IFS=';'
   10893       for lt_path in $LIB
   10894       do
   10895         IFS=$lt_save_ifs
   10896         # Let DOS variable expansion print the short 8.3 style file name.
   10897         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   10898         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   10899       done
   10900       IFS=$lt_save_ifs
   10901       # Convert to MSYS style.
   10902       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   10903       ;;
   10904     cygwin*)
   10905       # Convert to unix form, then to dos form, then back to unix form
   10906       # but this time dos style (no spaces!) so that the unix form looks
   10907       # like /cygdrive/c/PROGRA~1:/cygdr...
   10908       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   10909       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   10910       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10911       ;;
   10912     *)
   10913       sys_lib_search_path_spec=$LIB
   10914       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   10915         # It is most probably a Windows format PATH.
   10916         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   10917       else
   10918         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   10919       fi
   10920       # FIXME: find the short name or the path components, as spaces are
   10921       # common. (e.g. "Program Files" -> "PROGRA~1")
   10922       ;;
   10923     esac
   10924 
   10925     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   10926     postinstall_cmds='base_file=`basename \$file`~
   10927       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   10928       dldir=$destdir/`dirname \$dlpath`~
   10929       test -d \$dldir || mkdir -p \$dldir~
   10930       $install_prog $dir/$dlname \$dldir/$dlname'
   10931     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   10932       dlpath=$dir/\$dldll~
   10933        $RM \$dlpath'
   10934     shlibpath_overrides_runpath=yes
   10935     dynamic_linker='Win32 link.exe'
   10936     ;;
   10937 
   10938   *)
   10939     # Assume MSVC wrapper
   10940     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   10941     dynamic_linker='Win32 ld.exe'
   10942     ;;
   10943   esac
   10944   # FIXME: first we should search . and the directory the executable is in
   10945   shlibpath_var=PATH
   10946   ;;
   10947 
   10948 darwin* | rhapsody*)
   10949   dynamic_linker="$host_os dyld"
   10950   version_type=darwin
   10951   need_lib_prefix=no
   10952   need_version=no
   10953   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   10954   soname_spec='$libname$release$major$shared_ext'
   10955   shlibpath_overrides_runpath=yes
   10956   shlibpath_var=DYLD_LIBRARY_PATH
   10957   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   10958 
   10959   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   10960   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   10961   ;;
   10962 
   10963 dgux*)
   10964   version_type=linux # correct to gnu/linux during the next big refactor
   10965   need_lib_prefix=no
   10966   need_version=no
   10967   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10968   soname_spec='$libname$release$shared_ext$major'
   10969   shlibpath_var=LD_LIBRARY_PATH
   10970   ;;
   10971 
   10972 freebsd* | dragonfly*)
   10973   # DragonFly does not have aout.  When/if they implement a new
   10974   # versioning mechanism, adjust this.
   10975   if test -x /usr/bin/objformat; then
   10976     objformat=`/usr/bin/objformat`
   10977   else
   10978     case $host_os in
   10979     freebsd[23].*) objformat=aout ;;
   10980     *) objformat=elf ;;
   10981     esac
   10982   fi
   10983   version_type=freebsd-$objformat
   10984   case $version_type in
   10985     freebsd-elf*)
   10986       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   10987       soname_spec='$libname$release$shared_ext$major'
   10988       need_version=no
   10989       need_lib_prefix=no
   10990       ;;
   10991     freebsd-*)
   10992       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   10993       need_version=yes
   10994       ;;
   10995   esac
   10996   shlibpath_var=LD_LIBRARY_PATH
   10997   case $host_os in
   10998   freebsd2.*)
   10999     shlibpath_overrides_runpath=yes
   11000     ;;
   11001   freebsd3.[01]* | freebsdelf3.[01]*)
   11002     shlibpath_overrides_runpath=yes
   11003     hardcode_into_libs=yes
   11004     ;;
   11005   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   11006   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   11007     shlibpath_overrides_runpath=no
   11008     hardcode_into_libs=yes
   11009     ;;
   11010   *) # from 4.6 on, and DragonFly
   11011     shlibpath_overrides_runpath=yes
   11012     hardcode_into_libs=yes
   11013     ;;
   11014   esac
   11015   ;;
   11016 
   11017 haiku*)
   11018   version_type=linux # correct to gnu/linux during the next big refactor
   11019   need_lib_prefix=no
   11020   need_version=no
   11021   dynamic_linker="$host_os runtime_loader"
   11022   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11023   soname_spec='$libname$release$shared_ext$major'
   11024   shlibpath_var=LIBRARY_PATH
   11025   shlibpath_overrides_runpath=no
   11026   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   11027   hardcode_into_libs=yes
   11028   ;;
   11029 
   11030 hpux9* | hpux10* | hpux11*)
   11031   # Give a soname corresponding to the major version so that dld.sl refuses to
   11032   # link against other versions.
   11033   version_type=sunos
   11034   need_lib_prefix=no
   11035   need_version=no
   11036   case $host_cpu in
   11037   ia64*)
   11038     shrext_cmds='.so'
   11039     hardcode_into_libs=yes
   11040     dynamic_linker="$host_os dld.so"
   11041     shlibpath_var=LD_LIBRARY_PATH
   11042     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11043     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11044     soname_spec='$libname$release$shared_ext$major'
   11045     if test 32 = "$HPUX_IA64_MODE"; then
   11046       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   11047       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   11048     else
   11049       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   11050       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   11051     fi
   11052     ;;
   11053   hppa*64*)
   11054     shrext_cmds='.sl'
   11055     hardcode_into_libs=yes
   11056     dynamic_linker="$host_os dld.sl"
   11057     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   11058     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   11059     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11060     soname_spec='$libname$release$shared_ext$major'
   11061     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   11062     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11063     ;;
   11064   *)
   11065     shrext_cmds='.sl'
   11066     dynamic_linker="$host_os dld.sl"
   11067     shlibpath_var=SHLIB_PATH
   11068     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   11069     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11070     soname_spec='$libname$release$shared_ext$major'
   11071     ;;
   11072   esac
   11073   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   11074   postinstall_cmds='chmod 555 $lib'
   11075   # or fails outright, so override atomically:
   11076   install_override_mode=555
   11077   ;;
   11078 
   11079 interix[3-9]*)
   11080   version_type=linux # correct to gnu/linux during the next big refactor
   11081   need_lib_prefix=no
   11082   need_version=no
   11083   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11084   soname_spec='$libname$release$shared_ext$major'
   11085   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   11086   shlibpath_var=LD_LIBRARY_PATH
   11087   shlibpath_overrides_runpath=no
   11088   hardcode_into_libs=yes
   11089   ;;
   11090 
   11091 irix5* | irix6* | nonstopux*)
   11092   case $host_os in
   11093     nonstopux*) version_type=nonstopux ;;
   11094     *)
   11095 	if test yes = "$lt_cv_prog_gnu_ld"; then
   11096 		version_type=linux # correct to gnu/linux during the next big refactor
   11097 	else
   11098 		version_type=irix
   11099 	fi ;;
   11100   esac
   11101   need_lib_prefix=no
   11102   need_version=no
   11103   soname_spec='$libname$release$shared_ext$major'
   11104   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   11105   case $host_os in
   11106   irix5* | nonstopux*)
   11107     libsuff= shlibsuff=
   11108     ;;
   11109   *)
   11110     case $LD in # libtool.m4 will add one of these switches to LD
   11111     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   11112       libsuff= shlibsuff= libmagic=32-bit;;
   11113     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   11114       libsuff=32 shlibsuff=N32 libmagic=N32;;
   11115     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   11116       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   11117     *) libsuff= shlibsuff= libmagic=never-match;;
   11118     esac
   11119     ;;
   11120   esac
   11121   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   11122   shlibpath_overrides_runpath=no
   11123   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   11124   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   11125   hardcode_into_libs=yes
   11126   ;;
   11127 
   11128 # No shared lib support for Linux oldld, aout, or coff.
   11129 linux*oldld* | linux*aout* | linux*coff*)
   11130   dynamic_linker=no
   11131   ;;
   11132 
   11133 linux*android*)
   11134   version_type=none # Android doesn't support versioned libraries.
   11135   need_lib_prefix=no
   11136   need_version=no
   11137   library_names_spec='$libname$release$shared_ext'
   11138   soname_spec='$libname$release$shared_ext'
   11139   finish_cmds=
   11140   shlibpath_var=LD_LIBRARY_PATH
   11141   shlibpath_overrides_runpath=yes
   11142 
   11143   # This implies no fast_install, which is unacceptable.
   11144   # Some rework will be needed to allow for fast_install
   11145   # before this can be enabled.
   11146   hardcode_into_libs=yes
   11147 
   11148   dynamic_linker='Android linker'
   11149   # Don't embed -rpath directories since the linker doesn't support them.
   11150   hardcode_libdir_flag_spec='-L$libdir'
   11151   ;;
   11152 
   11153 # This must be glibc/ELF.
   11154 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11155   version_type=linux # correct to gnu/linux during the next big refactor
   11156   need_lib_prefix=no
   11157   need_version=no
   11158   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11159   soname_spec='$libname$release$shared_ext$major'
   11160   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   11161   shlibpath_var=LD_LIBRARY_PATH
   11162   shlibpath_overrides_runpath=no
   11163 
   11164   # Some binutils ld are patched to set DT_RUNPATH
   11165   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   11166   $as_echo_n "(cached) " >&6
   11167 else
   11168   lt_cv_shlibpath_overrides_runpath=no
   11169     save_LDFLAGS=$LDFLAGS
   11170     save_libdir=$libdir
   11171     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   11172 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   11173     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11174 /* end confdefs.h.  */
   11175 
   11176 int
   11177 main ()
   11178 {
   11179 
   11180   ;
   11181   return 0;
   11182 }
   11183 _ACEOF
   11184 if ac_fn_c_try_link "$LINENO"; then :
   11185   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   11186   lt_cv_shlibpath_overrides_runpath=yes
   11187 fi
   11188 fi
   11189 rm -f core conftest.err conftest.$ac_objext \
   11190     conftest$ac_exeext conftest.$ac_ext
   11191     LDFLAGS=$save_LDFLAGS
   11192     libdir=$save_libdir
   11193 
   11194 fi
   11195 
   11196   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   11197 
   11198   # This implies no fast_install, which is unacceptable.
   11199   # Some rework will be needed to allow for fast_install
   11200   # before this can be enabled.
   11201   hardcode_into_libs=yes
   11202 
   11203   # Ideally, we could use ldconfig to report *all* directores which are
   11204   # searched for libraries, however this is still not possible.  Aside from not
   11205   # being certain /sbin/ldconfig is available, command
   11206   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   11207   # even though it is searched at run-time.  Try to do the best guess by
   11208   # appending ld.so.conf contents (and includes) to the search path.
   11209   if test -f /etc/ld.so.conf; then
   11210     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' ' '`
   11211     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   11212   fi
   11213 
   11214   # We used to test for /lib/ld.so.1 and disable shared libraries on
   11215   # powerpc, because MkLinux only supported shared libraries with the
   11216   # GNU dynamic linker.  Since this was broken with cross compilers,
   11217   # most powerpc-linux boxes support dynamic linking these days and
   11218   # people can always --disable-shared, the test was removed, and we
   11219   # assume the GNU/Linux dynamic linker is in use.
   11220   dynamic_linker='GNU/Linux ld.so'
   11221   ;;
   11222 
   11223 netbsd*)
   11224   version_type=sunos
   11225   need_lib_prefix=no
   11226   need_version=no
   11227   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   11228     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11229     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11230     dynamic_linker='NetBSD (a.out) ld.so'
   11231   else
   11232     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11233     soname_spec='$libname$release$shared_ext$major'
   11234     dynamic_linker='NetBSD ld.elf_so'
   11235   fi
   11236   shlibpath_var=LD_LIBRARY_PATH
   11237   shlibpath_overrides_runpath=yes
   11238   hardcode_into_libs=yes
   11239   ;;
   11240 
   11241 newsos6)
   11242   version_type=linux # correct to gnu/linux during the next big refactor
   11243   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11244   shlibpath_var=LD_LIBRARY_PATH
   11245   shlibpath_overrides_runpath=yes
   11246   ;;
   11247 
   11248 *nto* | *qnx*)
   11249   version_type=qnx
   11250   need_lib_prefix=no
   11251   need_version=no
   11252   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11253   soname_spec='$libname$release$shared_ext$major'
   11254   shlibpath_var=LD_LIBRARY_PATH
   11255   shlibpath_overrides_runpath=no
   11256   hardcode_into_libs=yes
   11257   dynamic_linker='ldqnx.so'
   11258   ;;
   11259 
   11260 openbsd* | bitrig*)
   11261   version_type=sunos
   11262   sys_lib_dlsearch_path_spec=/usr/lib
   11263   need_lib_prefix=no
   11264   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   11265     need_version=no
   11266   else
   11267     need_version=yes
   11268   fi
   11269   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11270   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   11271   shlibpath_var=LD_LIBRARY_PATH
   11272   shlibpath_overrides_runpath=yes
   11273   ;;
   11274 
   11275 os2*)
   11276   libname_spec='$name'
   11277   version_type=windows
   11278   shrext_cmds=.dll
   11279   need_version=no
   11280   need_lib_prefix=no
   11281   # OS/2 can only load a DLL with a base name of 8 characters or less.
   11282   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   11283     v=$($ECHO $release$versuffix | tr -d .-);
   11284     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   11285     $ECHO $n$v`$shared_ext'
   11286   library_names_spec='${libname}_dll.$libext'
   11287   dynamic_linker='OS/2 ld.exe'
   11288   shlibpath_var=BEGINLIBPATH
   11289   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   11290   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11291   postinstall_cmds='base_file=`basename \$file`~
   11292     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   11293     dldir=$destdir/`dirname \$dlpath`~
   11294     test -d \$dldir || mkdir -p \$dldir~
   11295     $install_prog $dir/$dlname \$dldir/$dlname~
   11296     chmod a+x \$dldir/$dlname~
   11297     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   11298       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   11299     fi'
   11300   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   11301     dlpath=$dir/\$dldll~
   11302     $RM \$dlpath'
   11303   ;;
   11304 
   11305 osf3* | osf4* | osf5*)
   11306   version_type=osf
   11307   need_lib_prefix=no
   11308   need_version=no
   11309   soname_spec='$libname$release$shared_ext$major'
   11310   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11311   shlibpath_var=LD_LIBRARY_PATH
   11312   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   11313   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   11314   ;;
   11315 
   11316 rdos*)
   11317   dynamic_linker=no
   11318   ;;
   11319 
   11320 solaris*)
   11321   version_type=linux # correct to gnu/linux during the next big refactor
   11322   need_lib_prefix=no
   11323   need_version=no
   11324   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11325   soname_spec='$libname$release$shared_ext$major'
   11326   shlibpath_var=LD_LIBRARY_PATH
   11327   shlibpath_overrides_runpath=yes
   11328   hardcode_into_libs=yes
   11329   # ldd complains unless libraries are executable
   11330   postinstall_cmds='chmod +x $lib'
   11331   ;;
   11332 
   11333 sunos4*)
   11334   version_type=sunos
   11335   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   11336   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   11337   shlibpath_var=LD_LIBRARY_PATH
   11338   shlibpath_overrides_runpath=yes
   11339   if test yes = "$with_gnu_ld"; then
   11340     need_lib_prefix=no
   11341   fi
   11342   need_version=yes
   11343   ;;
   11344 
   11345 sysv4 | sysv4.3*)
   11346   version_type=linux # correct to gnu/linux during the next big refactor
   11347   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11348   soname_spec='$libname$release$shared_ext$major'
   11349   shlibpath_var=LD_LIBRARY_PATH
   11350   case $host_vendor in
   11351     sni)
   11352       shlibpath_overrides_runpath=no
   11353       need_lib_prefix=no
   11354       runpath_var=LD_RUN_PATH
   11355       ;;
   11356     siemens)
   11357       need_lib_prefix=no
   11358       ;;
   11359     motorola)
   11360       need_lib_prefix=no
   11361       need_version=no
   11362       shlibpath_overrides_runpath=no
   11363       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   11364       ;;
   11365   esac
   11366   ;;
   11367 
   11368 sysv4*MP*)
   11369   if test -d /usr/nec; then
   11370     version_type=linux # correct to gnu/linux during the next big refactor
   11371     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   11372     soname_spec='$libname$shared_ext.$major'
   11373     shlibpath_var=LD_LIBRARY_PATH
   11374   fi
   11375   ;;
   11376 
   11377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11378   version_type=sco
   11379   need_lib_prefix=no
   11380   need_version=no
   11381   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   11382   soname_spec='$libname$release$shared_ext$major'
   11383   shlibpath_var=LD_LIBRARY_PATH
   11384   shlibpath_overrides_runpath=yes
   11385   hardcode_into_libs=yes
   11386   if test yes = "$with_gnu_ld"; then
   11387     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   11388   else
   11389     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   11390     case $host_os in
   11391       sco3.2v5*)
   11392         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   11393 	;;
   11394     esac
   11395   fi
   11396   sys_lib_dlsearch_path_spec='/usr/lib'
   11397   ;;
   11398 
   11399 tpf*)
   11400   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   11401   version_type=linux # correct to gnu/linux during the next big refactor
   11402   need_lib_prefix=no
   11403   need_version=no
   11404   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11405   shlibpath_var=LD_LIBRARY_PATH
   11406   shlibpath_overrides_runpath=no
   11407   hardcode_into_libs=yes
   11408   ;;
   11409 
   11410 uts4*)
   11411   version_type=linux # correct to gnu/linux during the next big refactor
   11412   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   11413   soname_spec='$libname$release$shared_ext$major'
   11414   shlibpath_var=LD_LIBRARY_PATH
   11415   ;;
   11416 
   11417 *)
   11418   dynamic_linker=no
   11419   ;;
   11420 esac
   11421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   11422 $as_echo "$dynamic_linker" >&6; }
   11423 test no = "$dynamic_linker" && can_build_shared=no
   11424 
   11425 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   11426 if test yes = "$GCC"; then
   11427   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   11428 fi
   11429 
   11430 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   11431   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   11432 fi
   11433 
   11434 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   11435   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   11436 fi
   11437 
   11438 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   11439 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   11440 
   11441 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   11442 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   11443 
   11444 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   11445 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   11446 
   11447 
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 
   11454 
   11455 
   11456 
   11457 
   11458 
   11459 
   11460 
   11461 
   11462 
   11463 
   11464 
   11465 
   11466 
   11467 
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 
   11481 
   11482 
   11483 
   11484 
   11485 
   11486 
   11487 
   11488 
   11489 
   11490 
   11491 
   11492 
   11493 
   11494 
   11495 
   11496 
   11497 
   11498 
   11499 
   11500 
   11501 
   11502 
   11503 
   11504 
   11505 
   11506 
   11507 
   11508 
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 
   11519 
   11520 
   11521 
   11522 
   11523 
   11524 
   11525 
   11526 
   11527 
   11528 
   11529 
   11530 
   11531 
   11532 
   11533 
   11534 
   11535 
   11536 
   11537 
   11538 
   11539 
   11540 
   11541 
   11542 
   11543   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   11544 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   11545 hardcode_action=
   11546 if test -n "$hardcode_libdir_flag_spec" ||
   11547    test -n "$runpath_var" ||
   11548    test yes = "$hardcode_automatic"; then
   11549 
   11550   # We can hardcode non-existent directories.
   11551   if test no != "$hardcode_direct" &&
   11552      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   11553      # have to relink, otherwise we might link with an installed library
   11554      # when we should be linking with a yet-to-be-installed one
   11555      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   11556      test no != "$hardcode_minus_L"; then
   11557     # Linking always hardcodes the temporary library directory.
   11558     hardcode_action=relink
   11559   else
   11560     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   11561     hardcode_action=immediate
   11562   fi
   11563 else
   11564   # We cannot hardcode anything, or else we can only hardcode existing
   11565   # directories.
   11566   hardcode_action=unsupported
   11567 fi
   11568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   11569 $as_echo "$hardcode_action" >&6; }
   11570 
   11571 if test relink = "$hardcode_action" ||
   11572    test yes = "$inherit_rpath"; then
   11573   # Fast installation is not supported
   11574   enable_fast_install=no
   11575 elif test yes = "$shlibpath_overrides_runpath" ||
   11576      test no = "$enable_shared"; then
   11577   # Fast installation is not necessary
   11578   enable_fast_install=needless
   11579 fi
   11580 
   11581 
   11582 
   11583 
   11584 
   11585 
   11586   if test yes != "$enable_dlopen"; then
   11587   enable_dlopen=unknown
   11588   enable_dlopen_self=unknown
   11589   enable_dlopen_self_static=unknown
   11590 else
   11591   lt_cv_dlopen=no
   11592   lt_cv_dlopen_libs=
   11593 
   11594   case $host_os in
   11595   beos*)
   11596     lt_cv_dlopen=load_add_on
   11597     lt_cv_dlopen_libs=
   11598     lt_cv_dlopen_self=yes
   11599     ;;
   11600 
   11601   mingw* | pw32* | cegcc*)
   11602     lt_cv_dlopen=LoadLibrary
   11603     lt_cv_dlopen_libs=
   11604     ;;
   11605 
   11606   cygwin*)
   11607     lt_cv_dlopen=dlopen
   11608     lt_cv_dlopen_libs=
   11609     ;;
   11610 
   11611   darwin*)
   11612     # if libdl is installed we need to link against it
   11613     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11614 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11615 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11616   $as_echo_n "(cached) " >&6
   11617 else
   11618   ac_check_lib_save_LIBS=$LIBS
   11619 LIBS="-ldl  $LIBS"
   11620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11621 /* end confdefs.h.  */
   11622 
   11623 /* Override any GCC internal prototype to avoid an error.
   11624    Use char because int might match the return type of a GCC
   11625    builtin and then its argument prototype would still apply.  */
   11626 #ifdef __cplusplus
   11627 extern "C"
   11628 #endif
   11629 char dlopen ();
   11630 int
   11631 main ()
   11632 {
   11633 return dlopen ();
   11634   ;
   11635   return 0;
   11636 }
   11637 _ACEOF
   11638 if ac_fn_c_try_link "$LINENO"; then :
   11639   ac_cv_lib_dl_dlopen=yes
   11640 else
   11641   ac_cv_lib_dl_dlopen=no
   11642 fi
   11643 rm -f core conftest.err conftest.$ac_objext \
   11644     conftest$ac_exeext conftest.$ac_ext
   11645 LIBS=$ac_check_lib_save_LIBS
   11646 fi
   11647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11648 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11649 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11650   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11651 else
   11652 
   11653     lt_cv_dlopen=dyld
   11654     lt_cv_dlopen_libs=
   11655     lt_cv_dlopen_self=yes
   11656 
   11657 fi
   11658 
   11659     ;;
   11660 
   11661   tpf*)
   11662     # Don't try to run any link tests for TPF.  We know it's impossible
   11663     # because TPF is a cross-compiler, and we know how we open DSOs.
   11664     lt_cv_dlopen=dlopen
   11665     lt_cv_dlopen_libs=
   11666     lt_cv_dlopen_self=no
   11667     ;;
   11668 
   11669   *)
   11670     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   11671 if test "x$ac_cv_func_shl_load" = xyes; then :
   11672   lt_cv_dlopen=shl_load
   11673 else
   11674   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   11675 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   11676 if ${ac_cv_lib_dld_shl_load+:} false; then :
   11677   $as_echo_n "(cached) " >&6
   11678 else
   11679   ac_check_lib_save_LIBS=$LIBS
   11680 LIBS="-ldld  $LIBS"
   11681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11682 /* end confdefs.h.  */
   11683 
   11684 /* Override any GCC internal prototype to avoid an error.
   11685    Use char because int might match the return type of a GCC
   11686    builtin and then its argument prototype would still apply.  */
   11687 #ifdef __cplusplus
   11688 extern "C"
   11689 #endif
   11690 char shl_load ();
   11691 int
   11692 main ()
   11693 {
   11694 return shl_load ();
   11695   ;
   11696   return 0;
   11697 }
   11698 _ACEOF
   11699 if ac_fn_c_try_link "$LINENO"; then :
   11700   ac_cv_lib_dld_shl_load=yes
   11701 else
   11702   ac_cv_lib_dld_shl_load=no
   11703 fi
   11704 rm -f core conftest.err conftest.$ac_objext \
   11705     conftest$ac_exeext conftest.$ac_ext
   11706 LIBS=$ac_check_lib_save_LIBS
   11707 fi
   11708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   11709 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   11710 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   11711   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   11712 else
   11713   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   11714 if test "x$ac_cv_func_dlopen" = xyes; then :
   11715   lt_cv_dlopen=dlopen
   11716 else
   11717   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   11718 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   11719 if ${ac_cv_lib_dl_dlopen+:} false; then :
   11720   $as_echo_n "(cached) " >&6
   11721 else
   11722   ac_check_lib_save_LIBS=$LIBS
   11723 LIBS="-ldl  $LIBS"
   11724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11725 /* end confdefs.h.  */
   11726 
   11727 /* Override any GCC internal prototype to avoid an error.
   11728    Use char because int might match the return type of a GCC
   11729    builtin and then its argument prototype would still apply.  */
   11730 #ifdef __cplusplus
   11731 extern "C"
   11732 #endif
   11733 char dlopen ();
   11734 int
   11735 main ()
   11736 {
   11737 return dlopen ();
   11738   ;
   11739   return 0;
   11740 }
   11741 _ACEOF
   11742 if ac_fn_c_try_link "$LINENO"; then :
   11743   ac_cv_lib_dl_dlopen=yes
   11744 else
   11745   ac_cv_lib_dl_dlopen=no
   11746 fi
   11747 rm -f core conftest.err conftest.$ac_objext \
   11748     conftest$ac_exeext conftest.$ac_ext
   11749 LIBS=$ac_check_lib_save_LIBS
   11750 fi
   11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   11752 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   11753 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   11754   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   11755 else
   11756   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   11757 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   11758 if ${ac_cv_lib_svld_dlopen+:} false; then :
   11759   $as_echo_n "(cached) " >&6
   11760 else
   11761   ac_check_lib_save_LIBS=$LIBS
   11762 LIBS="-lsvld  $LIBS"
   11763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11764 /* end confdefs.h.  */
   11765 
   11766 /* Override any GCC internal prototype to avoid an error.
   11767    Use char because int might match the return type of a GCC
   11768    builtin and then its argument prototype would still apply.  */
   11769 #ifdef __cplusplus
   11770 extern "C"
   11771 #endif
   11772 char dlopen ();
   11773 int
   11774 main ()
   11775 {
   11776 return dlopen ();
   11777   ;
   11778   return 0;
   11779 }
   11780 _ACEOF
   11781 if ac_fn_c_try_link "$LINENO"; then :
   11782   ac_cv_lib_svld_dlopen=yes
   11783 else
   11784   ac_cv_lib_svld_dlopen=no
   11785 fi
   11786 rm -f core conftest.err conftest.$ac_objext \
   11787     conftest$ac_exeext conftest.$ac_ext
   11788 LIBS=$ac_check_lib_save_LIBS
   11789 fi
   11790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   11791 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   11792 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   11793   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   11794 else
   11795   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   11796 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   11797 if ${ac_cv_lib_dld_dld_link+:} false; then :
   11798   $as_echo_n "(cached) " >&6
   11799 else
   11800   ac_check_lib_save_LIBS=$LIBS
   11801 LIBS="-ldld  $LIBS"
   11802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   11803 /* end confdefs.h.  */
   11804 
   11805 /* Override any GCC internal prototype to avoid an error.
   11806    Use char because int might match the return type of a GCC
   11807    builtin and then its argument prototype would still apply.  */
   11808 #ifdef __cplusplus
   11809 extern "C"
   11810 #endif
   11811 char dld_link ();
   11812 int
   11813 main ()
   11814 {
   11815 return dld_link ();
   11816   ;
   11817   return 0;
   11818 }
   11819 _ACEOF
   11820 if ac_fn_c_try_link "$LINENO"; then :
   11821   ac_cv_lib_dld_dld_link=yes
   11822 else
   11823   ac_cv_lib_dld_dld_link=no
   11824 fi
   11825 rm -f core conftest.err conftest.$ac_objext \
   11826     conftest$ac_exeext conftest.$ac_ext
   11827 LIBS=$ac_check_lib_save_LIBS
   11828 fi
   11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   11830 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   11831 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   11832   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   11833 fi
   11834 
   11835 
   11836 fi
   11837 
   11838 
   11839 fi
   11840 
   11841 
   11842 fi
   11843 
   11844 
   11845 fi
   11846 
   11847 
   11848 fi
   11849 
   11850     ;;
   11851   esac
   11852 
   11853   if test no = "$lt_cv_dlopen"; then
   11854     enable_dlopen=no
   11855   else
   11856     enable_dlopen=yes
   11857   fi
   11858 
   11859   case $lt_cv_dlopen in
   11860   dlopen)
   11861     save_CPPFLAGS=$CPPFLAGS
   11862     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   11863 
   11864     save_LDFLAGS=$LDFLAGS
   11865     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   11866 
   11867     save_LIBS=$LIBS
   11868     LIBS="$lt_cv_dlopen_libs $LIBS"
   11869 
   11870     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   11871 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   11872 if ${lt_cv_dlopen_self+:} false; then :
   11873   $as_echo_n "(cached) " >&6
   11874 else
   11875   	  if test yes = "$cross_compiling"; then :
   11876   lt_cv_dlopen_self=cross
   11877 else
   11878   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11879   lt_status=$lt_dlunknown
   11880   cat > conftest.$ac_ext <<_LT_EOF
   11881 #line $LINENO "configure"
   11882 #include "confdefs.h"
   11883 
   11884 #if HAVE_DLFCN_H
   11885 #include <dlfcn.h>
   11886 #endif
   11887 
   11888 #include <stdio.h>
   11889 
   11890 #ifdef RTLD_GLOBAL
   11891 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11892 #else
   11893 #  ifdef DL_GLOBAL
   11894 #    define LT_DLGLOBAL		DL_GLOBAL
   11895 #  else
   11896 #    define LT_DLGLOBAL		0
   11897 #  endif
   11898 #endif
   11899 
   11900 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   11901    find out it does not work in some platform. */
   11902 #ifndef LT_DLLAZY_OR_NOW
   11903 #  ifdef RTLD_LAZY
   11904 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   11905 #  else
   11906 #    ifdef DL_LAZY
   11907 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   11908 #    else
   11909 #      ifdef RTLD_NOW
   11910 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   11911 #      else
   11912 #        ifdef DL_NOW
   11913 #          define LT_DLLAZY_OR_NOW	DL_NOW
   11914 #        else
   11915 #          define LT_DLLAZY_OR_NOW	0
   11916 #        endif
   11917 #      endif
   11918 #    endif
   11919 #  endif
   11920 #endif
   11921 
   11922 /* When -fvisibility=hidden is used, assume the code has been annotated
   11923    correspondingly for the symbols needed.  */
   11924 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   11925 int fnord () __attribute__((visibility("default")));
   11926 #endif
   11927 
   11928 int fnord () { return 42; }
   11929 int main ()
   11930 {
   11931   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   11932   int status = $lt_dlunknown;
   11933 
   11934   if (self)
   11935     {
   11936       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   11937       else
   11938         {
   11939 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   11940           else puts (dlerror ());
   11941 	}
   11942       /* dlclose (self); */
   11943     }
   11944   else
   11945     puts (dlerror ());
   11946 
   11947   return status;
   11948 }
   11949 _LT_EOF
   11950   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   11951   (eval $ac_link) 2>&5
   11952   ac_status=$?
   11953   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   11954   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   11955     (./conftest; exit; ) >&5 2>/dev/null
   11956     lt_status=$?
   11957     case x$lt_status in
   11958       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   11959       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   11960       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   11961     esac
   11962   else :
   11963     # compilation failed
   11964     lt_cv_dlopen_self=no
   11965   fi
   11966 fi
   11967 rm -fr conftest*
   11968 
   11969 
   11970 fi
   11971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   11972 $as_echo "$lt_cv_dlopen_self" >&6; }
   11973 
   11974     if test yes = "$lt_cv_dlopen_self"; then
   11975       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   11976       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   11977 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   11978 if ${lt_cv_dlopen_self_static+:} false; then :
   11979   $as_echo_n "(cached) " >&6
   11980 else
   11981   	  if test yes = "$cross_compiling"; then :
   11982   lt_cv_dlopen_self_static=cross
   11983 else
   11984   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   11985   lt_status=$lt_dlunknown
   11986   cat > conftest.$ac_ext <<_LT_EOF
   11987 #line $LINENO "configure"
   11988 #include "confdefs.h"
   11989 
   11990 #if HAVE_DLFCN_H
   11991 #include <dlfcn.h>
   11992 #endif
   11993 
   11994 #include <stdio.h>
   11995 
   11996 #ifdef RTLD_GLOBAL
   11997 #  define LT_DLGLOBAL		RTLD_GLOBAL
   11998 #else
   11999 #  ifdef DL_GLOBAL
   12000 #    define LT_DLGLOBAL		DL_GLOBAL
   12001 #  else
   12002 #    define LT_DLGLOBAL		0
   12003 #  endif
   12004 #endif
   12005 
   12006 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   12007    find out it does not work in some platform. */
   12008 #ifndef LT_DLLAZY_OR_NOW
   12009 #  ifdef RTLD_LAZY
   12010 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   12011 #  else
   12012 #    ifdef DL_LAZY
   12013 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   12014 #    else
   12015 #      ifdef RTLD_NOW
   12016 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   12017 #      else
   12018 #        ifdef DL_NOW
   12019 #          define LT_DLLAZY_OR_NOW	DL_NOW
   12020 #        else
   12021 #          define LT_DLLAZY_OR_NOW	0
   12022 #        endif
   12023 #      endif
   12024 #    endif
   12025 #  endif
   12026 #endif
   12027 
   12028 /* When -fvisibility=hidden is used, assume the code has been annotated
   12029    correspondingly for the symbols needed.  */
   12030 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   12031 int fnord () __attribute__((visibility("default")));
   12032 #endif
   12033 
   12034 int fnord () { return 42; }
   12035 int main ()
   12036 {
   12037   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   12038   int status = $lt_dlunknown;
   12039 
   12040   if (self)
   12041     {
   12042       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   12043       else
   12044         {
   12045 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   12046           else puts (dlerror ());
   12047 	}
   12048       /* dlclose (self); */
   12049     }
   12050   else
   12051     puts (dlerror ());
   12052 
   12053   return status;
   12054 }
   12055 _LT_EOF
   12056   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12057   (eval $ac_link) 2>&5
   12058   ac_status=$?
   12059   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12060   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   12061     (./conftest; exit; ) >&5 2>/dev/null
   12062     lt_status=$?
   12063     case x$lt_status in
   12064       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   12065       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   12066       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   12067     esac
   12068   else :
   12069     # compilation failed
   12070     lt_cv_dlopen_self_static=no
   12071   fi
   12072 fi
   12073 rm -fr conftest*
   12074 
   12075 
   12076 fi
   12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   12078 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   12079     fi
   12080 
   12081     CPPFLAGS=$save_CPPFLAGS
   12082     LDFLAGS=$save_LDFLAGS
   12083     LIBS=$save_LIBS
   12084     ;;
   12085   esac
   12086 
   12087   case $lt_cv_dlopen_self in
   12088   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   12089   *) enable_dlopen_self=unknown ;;
   12090   esac
   12091 
   12092   case $lt_cv_dlopen_self_static in
   12093   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   12094   *) enable_dlopen_self_static=unknown ;;
   12095   esac
   12096 fi
   12097 
   12098 
   12099 
   12100 
   12101 
   12102 
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 striplib=
   12115 old_striplib=
   12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   12117 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   12118 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   12119   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   12120   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   12121   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12122 $as_echo "yes" >&6; }
   12123 else
   12124 # FIXME - insert some real tests, host_os isn't really good enough
   12125   case $host_os in
   12126   darwin*)
   12127     if test -n "$STRIP"; then
   12128       striplib="$STRIP -x"
   12129       old_striplib="$STRIP -S"
   12130       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12131 $as_echo "yes" >&6; }
   12132     else
   12133       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12134 $as_echo "no" >&6; }
   12135     fi
   12136     ;;
   12137   *)
   12138     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12139 $as_echo "no" >&6; }
   12140     ;;
   12141   esac
   12142 fi
   12143 
   12144 
   12145 
   12146 
   12147 
   12148 
   12149 
   12150 
   12151 
   12152 
   12153 
   12154 
   12155   # Report what library types will actually be built
   12156   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   12157 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   12158   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   12159 $as_echo "$can_build_shared" >&6; }
   12160 
   12161   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   12162 $as_echo_n "checking whether to build shared libraries... " >&6; }
   12163   test no = "$can_build_shared" && enable_shared=no
   12164 
   12165   # On AIX, shared libraries and static libraries use the same namespace, and
   12166   # are all built from PIC.
   12167   case $host_os in
   12168   aix3*)
   12169     test yes = "$enable_shared" && enable_static=no
   12170     if test -n "$RANLIB"; then
   12171       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   12172       postinstall_cmds='$RANLIB $lib'
   12173     fi
   12174     ;;
   12175 
   12176   aix[4-9]*)
   12177     if test ia64 != "$host_cpu"; then
   12178       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   12179       yes,aix,yes) ;;			# shared object as lib.so file only
   12180       yes,svr4,*) ;;			# shared object as lib.so archive member only
   12181       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   12182       esac
   12183     fi
   12184     ;;
   12185   esac
   12186   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   12187 $as_echo "$enable_shared" >&6; }
   12188 
   12189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   12190 $as_echo_n "checking whether to build static libraries... " >&6; }
   12191   # Make sure either enable_shared or enable_static is yes.
   12192   test yes = "$enable_shared" || enable_static=yes
   12193   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   12194 $as_echo "$enable_static" >&6; }
   12195 
   12196 
   12197 
   12198 
   12199 fi
   12200 ac_ext=c
   12201 ac_cpp='$CPP $CPPFLAGS'
   12202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12205 
   12206 CC=$lt_save_CC
   12207 
   12208 
   12209 
   12210 
   12211 
   12212 
   12213 
   12214 
   12215 
   12216 
   12217 
   12218 
   12219 
   12220 
   12221 
   12222         ac_config_commands="$ac_config_commands libtool"
   12223 
   12224 
   12225 
   12226 
   12227 # Only expand once:
   12228 
   12229 
   12230 
   12231 # Require X.Org macros 1.8 or later
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   12244 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   12245 if ${ac_cv_prog_cc_c99+:} false; then :
   12246   $as_echo_n "(cached) " >&6
   12247 else
   12248   ac_cv_prog_cc_c99=no
   12249 ac_save_CC=$CC
   12250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12251 /* end confdefs.h.  */
   12252 #include <stdarg.h>
   12253 #include <stdbool.h>
   12254 #include <stdlib.h>
   12255 #include <wchar.h>
   12256 #include <stdio.h>
   12257 
   12258 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   12259 #define debug(...) fprintf (stderr, __VA_ARGS__)
   12260 #define showlist(...) puts (#__VA_ARGS__)
   12261 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   12262 static void
   12263 test_varargs_macros (void)
   12264 {
   12265   int x = 1234;
   12266   int y = 5678;
   12267   debug ("Flag");
   12268   debug ("X = %d\n", x);
   12269   showlist (The first, second, and third items.);
   12270   report (x>y, "x is %d but y is %d", x, y);
   12271 }
   12272 
   12273 // Check long long types.
   12274 #define BIG64 18446744073709551615ull
   12275 #define BIG32 4294967295ul
   12276 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   12277 #if !BIG_OK
   12278   your preprocessor is broken;
   12279 #endif
   12280 #if BIG_OK
   12281 #else
   12282   your preprocessor is broken;
   12283 #endif
   12284 static long long int bignum = -9223372036854775807LL;
   12285 static unsigned long long int ubignum = BIG64;
   12286 
   12287 struct incomplete_array
   12288 {
   12289   int datasize;
   12290   double data[];
   12291 };
   12292 
   12293 struct named_init {
   12294   int number;
   12295   const wchar_t *name;
   12296   double average;
   12297 };
   12298 
   12299 typedef const char *ccp;
   12300 
   12301 static inline int
   12302 test_restrict (ccp restrict text)
   12303 {
   12304   // See if C++-style comments work.
   12305   // Iterate through items via the restricted pointer.
   12306   // Also check for declarations in for loops.
   12307   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   12308     continue;
   12309   return 0;
   12310 }
   12311 
   12312 // Check varargs and va_copy.
   12313 static void
   12314 test_varargs (const char *format, ...)
   12315 {
   12316   va_list args;
   12317   va_start (args, format);
   12318   va_list args_copy;
   12319   va_copy (args_copy, args);
   12320 
   12321   const char *str;
   12322   int number;
   12323   float fnumber;
   12324 
   12325   while (*format)
   12326     {
   12327       switch (*format++)
   12328 	{
   12329 	case 's': // string
   12330 	  str = va_arg (args_copy, const char *);
   12331 	  break;
   12332 	case 'd': // int
   12333 	  number = va_arg (args_copy, int);
   12334 	  break;
   12335 	case 'f': // float
   12336 	  fnumber = va_arg (args_copy, double);
   12337 	  break;
   12338 	default:
   12339 	  break;
   12340 	}
   12341     }
   12342   va_end (args_copy);
   12343   va_end (args);
   12344 }
   12345 
   12346 int
   12347 main ()
   12348 {
   12349 
   12350   // Check bool.
   12351   _Bool success = false;
   12352 
   12353   // Check restrict.
   12354   if (test_restrict ("String literal") == 0)
   12355     success = true;
   12356   char *restrict newvar = "Another string";
   12357 
   12358   // Check varargs.
   12359   test_varargs ("s, d' f .", "string", 65, 34.234);
   12360   test_varargs_macros ();
   12361 
   12362   // Check flexible array members.
   12363   struct incomplete_array *ia =
   12364     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   12365   ia->datasize = 10;
   12366   for (int i = 0; i < ia->datasize; ++i)
   12367     ia->data[i] = i * 1.234;
   12368 
   12369   // Check named initializers.
   12370   struct named_init ni = {
   12371     .number = 34,
   12372     .name = L"Test wide string",
   12373     .average = 543.34343,
   12374   };
   12375 
   12376   ni.number = 58;
   12377 
   12378   int dynamic_array[ni.number];
   12379   dynamic_array[ni.number - 1] = 543;
   12380 
   12381   // work around unused variable warnings
   12382   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   12383 	  || dynamic_array[ni.number - 1] != 543);
   12384 
   12385   ;
   12386   return 0;
   12387 }
   12388 _ACEOF
   12389 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   12390 do
   12391   CC="$ac_save_CC $ac_arg"
   12392   if ac_fn_c_try_compile "$LINENO"; then :
   12393   ac_cv_prog_cc_c99=$ac_arg
   12394 fi
   12395 rm -f core conftest.err conftest.$ac_objext
   12396   test "x$ac_cv_prog_cc_c99" != "xno" && break
   12397 done
   12398 rm -f conftest.$ac_ext
   12399 CC=$ac_save_CC
   12400 
   12401 fi
   12402 # AC_CACHE_VAL
   12403 case "x$ac_cv_prog_cc_c99" in
   12404   x)
   12405     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   12406 $as_echo "none needed" >&6; } ;;
   12407   xno)
   12408     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   12409 $as_echo "unsupported" >&6; } ;;
   12410   *)
   12411     CC="$CC $ac_cv_prog_cc_c99"
   12412     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   12413 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   12414 esac
   12415 if test "x$ac_cv_prog_cc_c99" != xno; then :
   12416 
   12417 fi
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   12425 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   12426   CLANGCC="yes"
   12427 else
   12428   CLANGCC="no"
   12429 fi
   12430 
   12431 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   12432 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   12433   INTELCC="yes"
   12434 else
   12435   INTELCC="no"
   12436 fi
   12437 
   12438 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   12439 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   12440   SUNCC="yes"
   12441 else
   12442   SUNCC="no"
   12443 fi
   12444 
   12445 
   12446 
   12447 
   12448 
   12449 
   12450 
   12451 
   12452 
   12453 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   12454 	if test -n "$ac_tool_prefix"; then
   12455   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   12456 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   12457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12458 $as_echo_n "checking for $ac_word... " >&6; }
   12459 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   12460   $as_echo_n "(cached) " >&6
   12461 else
   12462   case $PKG_CONFIG in
   12463   [\\/]* | ?:[\\/]*)
   12464   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   12465   ;;
   12466   *)
   12467   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12468 for as_dir in $PATH
   12469 do
   12470   IFS=$as_save_IFS
   12471   test -z "$as_dir" && as_dir=.
   12472     for ac_exec_ext in '' $ac_executable_extensions; do
   12473   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12474     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12475     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12476     break 2
   12477   fi
   12478 done
   12479   done
   12480 IFS=$as_save_IFS
   12481 
   12482   ;;
   12483 esac
   12484 fi
   12485 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   12486 if test -n "$PKG_CONFIG"; then
   12487   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   12488 $as_echo "$PKG_CONFIG" >&6; }
   12489 else
   12490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12491 $as_echo "no" >&6; }
   12492 fi
   12493 
   12494 
   12495 fi
   12496 if test -z "$ac_cv_path_PKG_CONFIG"; then
   12497   ac_pt_PKG_CONFIG=$PKG_CONFIG
   12498   # Extract the first word of "pkg-config", so it can be a program name with args.
   12499 set dummy pkg-config; ac_word=$2
   12500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12501 $as_echo_n "checking for $ac_word... " >&6; }
   12502 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   12503   $as_echo_n "(cached) " >&6
   12504 else
   12505   case $ac_pt_PKG_CONFIG in
   12506   [\\/]* | ?:[\\/]*)
   12507   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   12508   ;;
   12509   *)
   12510   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12511 for as_dir in $PATH
   12512 do
   12513   IFS=$as_save_IFS
   12514   test -z "$as_dir" && as_dir=.
   12515     for ac_exec_ext in '' $ac_executable_extensions; do
   12516   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12517     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   12518     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12519     break 2
   12520   fi
   12521 done
   12522   done
   12523 IFS=$as_save_IFS
   12524 
   12525   ;;
   12526 esac
   12527 fi
   12528 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   12529 if test -n "$ac_pt_PKG_CONFIG"; then
   12530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   12531 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   12532 else
   12533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12534 $as_echo "no" >&6; }
   12535 fi
   12536 
   12537   if test "x$ac_pt_PKG_CONFIG" = x; then
   12538     PKG_CONFIG=""
   12539   else
   12540     case $cross_compiling:$ac_tool_warned in
   12541 yes:)
   12542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12544 ac_tool_warned=yes ;;
   12545 esac
   12546     PKG_CONFIG=$ac_pt_PKG_CONFIG
   12547   fi
   12548 else
   12549   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   12550 fi
   12551 
   12552 fi
   12553 if test -n "$PKG_CONFIG"; then
   12554 	_pkg_min_version=0.9.0
   12555 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   12556 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   12557 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   12558 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   12559 $as_echo "yes" >&6; }
   12560 	else
   12561 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12562 $as_echo "no" >&6; }
   12563 		PKG_CONFIG=""
   12564 	fi
   12565 fi
   12566 
   12567 
   12568 
   12569 
   12570 
   12571 # Check whether --enable-selective-werror was given.
   12572 if test "${enable_selective_werror+set}" = set; then :
   12573   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   12574 else
   12575   SELECTIVE_WERROR=yes
   12576 fi
   12577 
   12578 
   12579 
   12580 
   12581 
   12582 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   12583 if test "x$SUNCC" = "xyes"; then
   12584     BASE_CFLAGS="-v"
   12585 else
   12586     BASE_CFLAGS=""
   12587 fi
   12588 
   12589 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   12590 
   12591 
   12592 
   12593 
   12594 
   12595 
   12596 
   12597 
   12598 
   12599 
   12600 
   12601 
   12602 
   12603 xorg_testset_save_CFLAGS="$CFLAGS"
   12604 
   12605 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12606 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12607 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12608 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12609 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12610   $as_echo_n "(cached) " >&6
   12611 else
   12612   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12613 /* end confdefs.h.  */
   12614 int i;
   12615 _ACEOF
   12616 if ac_fn_c_try_compile "$LINENO"; then :
   12617   xorg_cv_cc_flag_unknown_warning_option=yes
   12618 else
   12619   xorg_cv_cc_flag_unknown_warning_option=no
   12620 fi
   12621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12622 fi
   12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12624 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12625 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12626 	CFLAGS="$xorg_testset_save_CFLAGS"
   12627 fi
   12628 
   12629 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12630 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12631 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12632 	fi
   12633 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12634 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12635 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12636 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12637   $as_echo_n "(cached) " >&6
   12638 else
   12639   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12640 /* end confdefs.h.  */
   12641 int i;
   12642 _ACEOF
   12643 if ac_fn_c_try_compile "$LINENO"; then :
   12644   xorg_cv_cc_flag_unused_command_line_argument=yes
   12645 else
   12646   xorg_cv_cc_flag_unused_command_line_argument=no
   12647 fi
   12648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12649 fi
   12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12651 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12652 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12653 	CFLAGS="$xorg_testset_save_CFLAGS"
   12654 fi
   12655 
   12656 found="no"
   12657 
   12658 	if test $found = "no" ; then
   12659 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12660 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12661 		fi
   12662 
   12663 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12664 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12665 		fi
   12666 
   12667 		CFLAGS="$CFLAGS -Wall"
   12668 
   12669 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   12670 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   12671 		cacheid=xorg_cv_cc_flag__Wall
   12672 		if eval \${$cacheid+:} false; then :
   12673   $as_echo_n "(cached) " >&6
   12674 else
   12675   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12676 /* end confdefs.h.  */
   12677 int i;
   12678 int
   12679 main ()
   12680 {
   12681 
   12682   ;
   12683   return 0;
   12684 }
   12685 _ACEOF
   12686 if ac_fn_c_try_link "$LINENO"; then :
   12687   eval $cacheid=yes
   12688 else
   12689   eval $cacheid=no
   12690 fi
   12691 rm -f core conftest.err conftest.$ac_objext \
   12692     conftest$ac_exeext conftest.$ac_ext
   12693 fi
   12694 
   12695 
   12696 		CFLAGS="$xorg_testset_save_CFLAGS"
   12697 
   12698 		eval supported=\$$cacheid
   12699 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12700 $as_echo "$supported" >&6; }
   12701 		if test "$supported" = "yes" ; then
   12702 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   12703 			found="yes"
   12704 		fi
   12705 	fi
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 
   12717 
   12718 
   12719 
   12720 
   12721 xorg_testset_save_CFLAGS="$CFLAGS"
   12722 
   12723 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12724 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12725 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12726 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12727 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12728   $as_echo_n "(cached) " >&6
   12729 else
   12730   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12731 /* end confdefs.h.  */
   12732 int i;
   12733 _ACEOF
   12734 if ac_fn_c_try_compile "$LINENO"; then :
   12735   xorg_cv_cc_flag_unknown_warning_option=yes
   12736 else
   12737   xorg_cv_cc_flag_unknown_warning_option=no
   12738 fi
   12739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12740 fi
   12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12742 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12743 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12744 	CFLAGS="$xorg_testset_save_CFLAGS"
   12745 fi
   12746 
   12747 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12748 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12749 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12750 	fi
   12751 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12752 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12753 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12754 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12755   $as_echo_n "(cached) " >&6
   12756 else
   12757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12758 /* end confdefs.h.  */
   12759 int i;
   12760 _ACEOF
   12761 if ac_fn_c_try_compile "$LINENO"; then :
   12762   xorg_cv_cc_flag_unused_command_line_argument=yes
   12763 else
   12764   xorg_cv_cc_flag_unused_command_line_argument=no
   12765 fi
   12766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12767 fi
   12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12769 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12770 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12771 	CFLAGS="$xorg_testset_save_CFLAGS"
   12772 fi
   12773 
   12774 found="no"
   12775 
   12776 	if test $found = "no" ; then
   12777 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12778 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12779 		fi
   12780 
   12781 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12782 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12783 		fi
   12784 
   12785 		CFLAGS="$CFLAGS -Wpointer-arith"
   12786 
   12787 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   12788 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   12789 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   12790 		if eval \${$cacheid+:} false; then :
   12791   $as_echo_n "(cached) " >&6
   12792 else
   12793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12794 /* end confdefs.h.  */
   12795 int i;
   12796 int
   12797 main ()
   12798 {
   12799 
   12800   ;
   12801   return 0;
   12802 }
   12803 _ACEOF
   12804 if ac_fn_c_try_link "$LINENO"; then :
   12805   eval $cacheid=yes
   12806 else
   12807   eval $cacheid=no
   12808 fi
   12809 rm -f core conftest.err conftest.$ac_objext \
   12810     conftest$ac_exeext conftest.$ac_ext
   12811 fi
   12812 
   12813 
   12814 		CFLAGS="$xorg_testset_save_CFLAGS"
   12815 
   12816 		eval supported=\$$cacheid
   12817 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12818 $as_echo "$supported" >&6; }
   12819 		if test "$supported" = "yes" ; then
   12820 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   12821 			found="yes"
   12822 		fi
   12823 	fi
   12824 
   12825 
   12826 
   12827 
   12828 
   12829 
   12830 
   12831 
   12832 
   12833 
   12834 
   12835 
   12836 
   12837 
   12838 
   12839 xorg_testset_save_CFLAGS="$CFLAGS"
   12840 
   12841 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12842 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12843 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12844 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12845 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12846   $as_echo_n "(cached) " >&6
   12847 else
   12848   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12849 /* end confdefs.h.  */
   12850 int i;
   12851 _ACEOF
   12852 if ac_fn_c_try_compile "$LINENO"; then :
   12853   xorg_cv_cc_flag_unknown_warning_option=yes
   12854 else
   12855   xorg_cv_cc_flag_unknown_warning_option=no
   12856 fi
   12857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12858 fi
   12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12860 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12861 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12862 	CFLAGS="$xorg_testset_save_CFLAGS"
   12863 fi
   12864 
   12865 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12866 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12867 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12868 	fi
   12869 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12870 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12871 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12872 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12873   $as_echo_n "(cached) " >&6
   12874 else
   12875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12876 /* end confdefs.h.  */
   12877 int i;
   12878 _ACEOF
   12879 if ac_fn_c_try_compile "$LINENO"; then :
   12880   xorg_cv_cc_flag_unused_command_line_argument=yes
   12881 else
   12882   xorg_cv_cc_flag_unused_command_line_argument=no
   12883 fi
   12884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12885 fi
   12886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   12887 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   12888 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   12889 	CFLAGS="$xorg_testset_save_CFLAGS"
   12890 fi
   12891 
   12892 found="no"
   12893 
   12894 	if test $found = "no" ; then
   12895 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12897 		fi
   12898 
   12899 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   12900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12901 		fi
   12902 
   12903 		CFLAGS="$CFLAGS -Wmissing-declarations"
   12904 
   12905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   12906 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   12907 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   12908 		if eval \${$cacheid+:} false; then :
   12909   $as_echo_n "(cached) " >&6
   12910 else
   12911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12912 /* end confdefs.h.  */
   12913 int i;
   12914 int
   12915 main ()
   12916 {
   12917 
   12918   ;
   12919   return 0;
   12920 }
   12921 _ACEOF
   12922 if ac_fn_c_try_link "$LINENO"; then :
   12923   eval $cacheid=yes
   12924 else
   12925   eval $cacheid=no
   12926 fi
   12927 rm -f core conftest.err conftest.$ac_objext \
   12928     conftest$ac_exeext conftest.$ac_ext
   12929 fi
   12930 
   12931 
   12932 		CFLAGS="$xorg_testset_save_CFLAGS"
   12933 
   12934 		eval supported=\$$cacheid
   12935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   12936 $as_echo "$supported" >&6; }
   12937 		if test "$supported" = "yes" ; then
   12938 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   12939 			found="yes"
   12940 		fi
   12941 	fi
   12942 
   12943 
   12944 
   12945 
   12946 
   12947 
   12948 
   12949 
   12950 
   12951 
   12952 
   12953 
   12954 
   12955 
   12956 
   12957 xorg_testset_save_CFLAGS="$CFLAGS"
   12958 
   12959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   12960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   12962 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   12963 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   12964   $as_echo_n "(cached) " >&6
   12965 else
   12966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12967 /* end confdefs.h.  */
   12968 int i;
   12969 _ACEOF
   12970 if ac_fn_c_try_compile "$LINENO"; then :
   12971   xorg_cv_cc_flag_unknown_warning_option=yes
   12972 else
   12973   xorg_cv_cc_flag_unknown_warning_option=no
   12974 fi
   12975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12976 fi
   12977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   12978 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   12979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   12980 	CFLAGS="$xorg_testset_save_CFLAGS"
   12981 fi
   12982 
   12983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   12984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   12985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   12986 	fi
   12987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   12988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   12989 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   12990 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   12991   $as_echo_n "(cached) " >&6
   12992 else
   12993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12994 /* end confdefs.h.  */
   12995 int i;
   12996 _ACEOF
   12997 if ac_fn_c_try_compile "$LINENO"; then :
   12998   xorg_cv_cc_flag_unused_command_line_argument=yes
   12999 else
   13000   xorg_cv_cc_flag_unused_command_line_argument=no
   13001 fi
   13002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13003 fi
   13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13005 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13007 	CFLAGS="$xorg_testset_save_CFLAGS"
   13008 fi
   13009 
   13010 found="no"
   13011 
   13012 	if test $found = "no" ; then
   13013 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13015 		fi
   13016 
   13017 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13019 		fi
   13020 
   13021 		CFLAGS="$CFLAGS -Wformat=2"
   13022 
   13023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   13024 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   13025 		cacheid=xorg_cv_cc_flag__Wformat_2
   13026 		if eval \${$cacheid+:} false; then :
   13027   $as_echo_n "(cached) " >&6
   13028 else
   13029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13030 /* end confdefs.h.  */
   13031 int i;
   13032 int
   13033 main ()
   13034 {
   13035 
   13036   ;
   13037   return 0;
   13038 }
   13039 _ACEOF
   13040 if ac_fn_c_try_link "$LINENO"; then :
   13041   eval $cacheid=yes
   13042 else
   13043   eval $cacheid=no
   13044 fi
   13045 rm -f core conftest.err conftest.$ac_objext \
   13046     conftest$ac_exeext conftest.$ac_ext
   13047 fi
   13048 
   13049 
   13050 		CFLAGS="$xorg_testset_save_CFLAGS"
   13051 
   13052 		eval supported=\$$cacheid
   13053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13054 $as_echo "$supported" >&6; }
   13055 		if test "$supported" = "yes" ; then
   13056 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   13057 			found="yes"
   13058 		fi
   13059 	fi
   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 -Wformat"
   13071 
   13072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   13073 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   13074 		cacheid=xorg_cv_cc_flag__Wformat
   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 -Wformat"
   13106 			found="yes"
   13107 		fi
   13108 	fi
   13109 
   13110 
   13111 
   13112 
   13113 
   13114 
   13115 
   13116 
   13117 
   13118 
   13119 
   13120 
   13121 
   13122 
   13123 
   13124 
   13125 
   13126 xorg_testset_save_CFLAGS="$CFLAGS"
   13127 
   13128 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13129 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13131 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13132 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13133   $as_echo_n "(cached) " >&6
   13134 else
   13135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13136 /* end confdefs.h.  */
   13137 int i;
   13138 _ACEOF
   13139 if ac_fn_c_try_compile "$LINENO"; then :
   13140   xorg_cv_cc_flag_unknown_warning_option=yes
   13141 else
   13142   xorg_cv_cc_flag_unknown_warning_option=no
   13143 fi
   13144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13145 fi
   13146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13147 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13148 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13149 	CFLAGS="$xorg_testset_save_CFLAGS"
   13150 fi
   13151 
   13152 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13153 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13154 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13155 	fi
   13156 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13157 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13158 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13159 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13160   $as_echo_n "(cached) " >&6
   13161 else
   13162   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13163 /* end confdefs.h.  */
   13164 int i;
   13165 _ACEOF
   13166 if ac_fn_c_try_compile "$LINENO"; then :
   13167   xorg_cv_cc_flag_unused_command_line_argument=yes
   13168 else
   13169   xorg_cv_cc_flag_unused_command_line_argument=no
   13170 fi
   13171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13172 fi
   13173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13174 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13175 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13176 	CFLAGS="$xorg_testset_save_CFLAGS"
   13177 fi
   13178 
   13179 found="no"
   13180 
   13181 	if test $found = "no" ; then
   13182 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13183 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13184 		fi
   13185 
   13186 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13187 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13188 		fi
   13189 
   13190 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   13191 
   13192 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   13193 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   13194 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   13195 		if eval \${$cacheid+:} false; then :
   13196   $as_echo_n "(cached) " >&6
   13197 else
   13198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13199 /* end confdefs.h.  */
   13200 int i;
   13201 int
   13202 main ()
   13203 {
   13204 
   13205   ;
   13206   return 0;
   13207 }
   13208 _ACEOF
   13209 if ac_fn_c_try_link "$LINENO"; then :
   13210   eval $cacheid=yes
   13211 else
   13212   eval $cacheid=no
   13213 fi
   13214 rm -f core conftest.err conftest.$ac_objext \
   13215     conftest$ac_exeext conftest.$ac_ext
   13216 fi
   13217 
   13218 
   13219 		CFLAGS="$xorg_testset_save_CFLAGS"
   13220 
   13221 		eval supported=\$$cacheid
   13222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13223 $as_echo "$supported" >&6; }
   13224 		if test "$supported" = "yes" ; then
   13225 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   13226 			found="yes"
   13227 		fi
   13228 	fi
   13229 
   13230 
   13231 
   13232 
   13233 
   13234 
   13235 
   13236 
   13237 
   13238 
   13239 
   13240 
   13241 
   13242 
   13243 
   13244 xorg_testset_save_CFLAGS="$CFLAGS"
   13245 
   13246 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13247 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13248 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13249 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13250 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13251   $as_echo_n "(cached) " >&6
   13252 else
   13253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13254 /* end confdefs.h.  */
   13255 int i;
   13256 _ACEOF
   13257 if ac_fn_c_try_compile "$LINENO"; then :
   13258   xorg_cv_cc_flag_unknown_warning_option=yes
   13259 else
   13260   xorg_cv_cc_flag_unknown_warning_option=no
   13261 fi
   13262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13263 fi
   13264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13265 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13266 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13267 	CFLAGS="$xorg_testset_save_CFLAGS"
   13268 fi
   13269 
   13270 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13271 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13272 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13273 	fi
   13274 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13275 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13276 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13277 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13278   $as_echo_n "(cached) " >&6
   13279 else
   13280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13281 /* end confdefs.h.  */
   13282 int i;
   13283 _ACEOF
   13284 if ac_fn_c_try_compile "$LINENO"; then :
   13285   xorg_cv_cc_flag_unused_command_line_argument=yes
   13286 else
   13287   xorg_cv_cc_flag_unused_command_line_argument=no
   13288 fi
   13289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13290 fi
   13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13292 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13293 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13294 	CFLAGS="$xorg_testset_save_CFLAGS"
   13295 fi
   13296 
   13297 found="no"
   13298 
   13299 	if test $found = "no" ; then
   13300 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13301 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13302 		fi
   13303 
   13304 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13305 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13306 		fi
   13307 
   13308 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   13309 
   13310 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   13311 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   13312 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   13313 		if eval \${$cacheid+:} false; then :
   13314   $as_echo_n "(cached) " >&6
   13315 else
   13316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13317 /* end confdefs.h.  */
   13318 int i;
   13319 int
   13320 main ()
   13321 {
   13322 
   13323   ;
   13324   return 0;
   13325 }
   13326 _ACEOF
   13327 if ac_fn_c_try_link "$LINENO"; then :
   13328   eval $cacheid=yes
   13329 else
   13330   eval $cacheid=no
   13331 fi
   13332 rm -f core conftest.err conftest.$ac_objext \
   13333     conftest$ac_exeext conftest.$ac_ext
   13334 fi
   13335 
   13336 
   13337 		CFLAGS="$xorg_testset_save_CFLAGS"
   13338 
   13339 		eval supported=\$$cacheid
   13340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13341 $as_echo "$supported" >&6; }
   13342 		if test "$supported" = "yes" ; then
   13343 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   13344 			found="yes"
   13345 		fi
   13346 	fi
   13347 
   13348 
   13349 
   13350 
   13351 
   13352 
   13353 
   13354 
   13355 
   13356 
   13357 
   13358 
   13359 
   13360 
   13361 
   13362 xorg_testset_save_CFLAGS="$CFLAGS"
   13363 
   13364 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13365 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13366 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13367 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13368 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13369   $as_echo_n "(cached) " >&6
   13370 else
   13371   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13372 /* end confdefs.h.  */
   13373 int i;
   13374 _ACEOF
   13375 if ac_fn_c_try_compile "$LINENO"; then :
   13376   xorg_cv_cc_flag_unknown_warning_option=yes
   13377 else
   13378   xorg_cv_cc_flag_unknown_warning_option=no
   13379 fi
   13380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13381 fi
   13382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13383 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13384 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13385 	CFLAGS="$xorg_testset_save_CFLAGS"
   13386 fi
   13387 
   13388 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13389 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13390 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13391 	fi
   13392 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13393 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13394 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13395 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13396   $as_echo_n "(cached) " >&6
   13397 else
   13398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13399 /* end confdefs.h.  */
   13400 int i;
   13401 _ACEOF
   13402 if ac_fn_c_try_compile "$LINENO"; then :
   13403   xorg_cv_cc_flag_unused_command_line_argument=yes
   13404 else
   13405   xorg_cv_cc_flag_unused_command_line_argument=no
   13406 fi
   13407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13408 fi
   13409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13410 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13411 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13412 	CFLAGS="$xorg_testset_save_CFLAGS"
   13413 fi
   13414 
   13415 found="no"
   13416 
   13417 	if test $found = "no" ; then
   13418 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13419 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13420 		fi
   13421 
   13422 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13423 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13424 		fi
   13425 
   13426 		CFLAGS="$CFLAGS -Wnested-externs"
   13427 
   13428 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   13429 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   13430 		cacheid=xorg_cv_cc_flag__Wnested_externs
   13431 		if eval \${$cacheid+:} false; then :
   13432   $as_echo_n "(cached) " >&6
   13433 else
   13434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13435 /* end confdefs.h.  */
   13436 int i;
   13437 int
   13438 main ()
   13439 {
   13440 
   13441   ;
   13442   return 0;
   13443 }
   13444 _ACEOF
   13445 if ac_fn_c_try_link "$LINENO"; then :
   13446   eval $cacheid=yes
   13447 else
   13448   eval $cacheid=no
   13449 fi
   13450 rm -f core conftest.err conftest.$ac_objext \
   13451     conftest$ac_exeext conftest.$ac_ext
   13452 fi
   13453 
   13454 
   13455 		CFLAGS="$xorg_testset_save_CFLAGS"
   13456 
   13457 		eval supported=\$$cacheid
   13458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13459 $as_echo "$supported" >&6; }
   13460 		if test "$supported" = "yes" ; then
   13461 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   13462 			found="yes"
   13463 		fi
   13464 	fi
   13465 
   13466 
   13467 
   13468 
   13469 
   13470 
   13471 
   13472 
   13473 
   13474 
   13475 
   13476 
   13477 
   13478 
   13479 
   13480 xorg_testset_save_CFLAGS="$CFLAGS"
   13481 
   13482 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13483 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13484 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13485 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13486 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13487   $as_echo_n "(cached) " >&6
   13488 else
   13489   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13490 /* end confdefs.h.  */
   13491 int i;
   13492 _ACEOF
   13493 if ac_fn_c_try_compile "$LINENO"; then :
   13494   xorg_cv_cc_flag_unknown_warning_option=yes
   13495 else
   13496   xorg_cv_cc_flag_unknown_warning_option=no
   13497 fi
   13498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13499 fi
   13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13501 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13502 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13503 	CFLAGS="$xorg_testset_save_CFLAGS"
   13504 fi
   13505 
   13506 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13507 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13508 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13509 	fi
   13510 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13511 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13512 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13513 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13514   $as_echo_n "(cached) " >&6
   13515 else
   13516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13517 /* end confdefs.h.  */
   13518 int i;
   13519 _ACEOF
   13520 if ac_fn_c_try_compile "$LINENO"; then :
   13521   xorg_cv_cc_flag_unused_command_line_argument=yes
   13522 else
   13523   xorg_cv_cc_flag_unused_command_line_argument=no
   13524 fi
   13525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13526 fi
   13527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13528 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13529 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13530 	CFLAGS="$xorg_testset_save_CFLAGS"
   13531 fi
   13532 
   13533 found="no"
   13534 
   13535 	if test $found = "no" ; then
   13536 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13537 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13538 		fi
   13539 
   13540 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13541 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13542 		fi
   13543 
   13544 		CFLAGS="$CFLAGS -Wbad-function-cast"
   13545 
   13546 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   13547 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   13548 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   13549 		if eval \${$cacheid+:} false; then :
   13550   $as_echo_n "(cached) " >&6
   13551 else
   13552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13553 /* end confdefs.h.  */
   13554 int i;
   13555 int
   13556 main ()
   13557 {
   13558 
   13559   ;
   13560   return 0;
   13561 }
   13562 _ACEOF
   13563 if ac_fn_c_try_link "$LINENO"; then :
   13564   eval $cacheid=yes
   13565 else
   13566   eval $cacheid=no
   13567 fi
   13568 rm -f core conftest.err conftest.$ac_objext \
   13569     conftest$ac_exeext conftest.$ac_ext
   13570 fi
   13571 
   13572 
   13573 		CFLAGS="$xorg_testset_save_CFLAGS"
   13574 
   13575 		eval supported=\$$cacheid
   13576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13577 $as_echo "$supported" >&6; }
   13578 		if test "$supported" = "yes" ; then
   13579 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   13580 			found="yes"
   13581 		fi
   13582 	fi
   13583 
   13584 
   13585 
   13586 
   13587 
   13588 
   13589 
   13590 
   13591 
   13592 
   13593 
   13594 
   13595 
   13596 
   13597 
   13598 xorg_testset_save_CFLAGS="$CFLAGS"
   13599 
   13600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13603 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13604 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13605   $as_echo_n "(cached) " >&6
   13606 else
   13607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13608 /* end confdefs.h.  */
   13609 int i;
   13610 _ACEOF
   13611 if ac_fn_c_try_compile "$LINENO"; then :
   13612   xorg_cv_cc_flag_unknown_warning_option=yes
   13613 else
   13614   xorg_cv_cc_flag_unknown_warning_option=no
   13615 fi
   13616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13617 fi
   13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13619 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13620 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13621 	CFLAGS="$xorg_testset_save_CFLAGS"
   13622 fi
   13623 
   13624 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13625 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13626 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13627 	fi
   13628 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13630 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13631 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13632   $as_echo_n "(cached) " >&6
   13633 else
   13634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13635 /* end confdefs.h.  */
   13636 int i;
   13637 _ACEOF
   13638 if ac_fn_c_try_compile "$LINENO"; then :
   13639   xorg_cv_cc_flag_unused_command_line_argument=yes
   13640 else
   13641   xorg_cv_cc_flag_unused_command_line_argument=no
   13642 fi
   13643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13644 fi
   13645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13646 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13648 	CFLAGS="$xorg_testset_save_CFLAGS"
   13649 fi
   13650 
   13651 found="no"
   13652 
   13653 	if test $found = "no" ; then
   13654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13656 		fi
   13657 
   13658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13660 		fi
   13661 
   13662 		CFLAGS="$CFLAGS -Wold-style-definition"
   13663 
   13664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   13665 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   13666 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   13667 		if eval \${$cacheid+:} false; then :
   13668   $as_echo_n "(cached) " >&6
   13669 else
   13670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13671 /* end confdefs.h.  */
   13672 int i;
   13673 int
   13674 main ()
   13675 {
   13676 
   13677   ;
   13678   return 0;
   13679 }
   13680 _ACEOF
   13681 if ac_fn_c_try_link "$LINENO"; then :
   13682   eval $cacheid=yes
   13683 else
   13684   eval $cacheid=no
   13685 fi
   13686 rm -f core conftest.err conftest.$ac_objext \
   13687     conftest$ac_exeext conftest.$ac_ext
   13688 fi
   13689 
   13690 
   13691 		CFLAGS="$xorg_testset_save_CFLAGS"
   13692 
   13693 		eval supported=\$$cacheid
   13694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13695 $as_echo "$supported" >&6; }
   13696 		if test "$supported" = "yes" ; then
   13697 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   13698 			found="yes"
   13699 		fi
   13700 	fi
   13701 
   13702 	if test $found = "no" ; then
   13703 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13704 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13705 		fi
   13706 
   13707 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13708 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13709 		fi
   13710 
   13711 		CFLAGS="$CFLAGS -fd"
   13712 
   13713 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   13714 $as_echo_n "checking if $CC supports -fd... " >&6; }
   13715 		cacheid=xorg_cv_cc_flag__fd
   13716 		if eval \${$cacheid+:} false; then :
   13717   $as_echo_n "(cached) " >&6
   13718 else
   13719   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13720 /* end confdefs.h.  */
   13721 int i;
   13722 int
   13723 main ()
   13724 {
   13725 
   13726   ;
   13727   return 0;
   13728 }
   13729 _ACEOF
   13730 if ac_fn_c_try_link "$LINENO"; then :
   13731   eval $cacheid=yes
   13732 else
   13733   eval $cacheid=no
   13734 fi
   13735 rm -f core conftest.err conftest.$ac_objext \
   13736     conftest$ac_exeext conftest.$ac_ext
   13737 fi
   13738 
   13739 
   13740 		CFLAGS="$xorg_testset_save_CFLAGS"
   13741 
   13742 		eval supported=\$$cacheid
   13743 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13744 $as_echo "$supported" >&6; }
   13745 		if test "$supported" = "yes" ; then
   13746 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   13747 			found="yes"
   13748 		fi
   13749 	fi
   13750 
   13751 
   13752 
   13753 
   13754 
   13755 
   13756 
   13757 
   13758 
   13759 
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 xorg_testset_save_CFLAGS="$CFLAGS"
   13766 
   13767 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13768 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13769 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13770 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13771 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13772   $as_echo_n "(cached) " >&6
   13773 else
   13774   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13775 /* end confdefs.h.  */
   13776 int i;
   13777 _ACEOF
   13778 if ac_fn_c_try_compile "$LINENO"; then :
   13779   xorg_cv_cc_flag_unknown_warning_option=yes
   13780 else
   13781   xorg_cv_cc_flag_unknown_warning_option=no
   13782 fi
   13783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13784 fi
   13785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13786 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13787 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13788 	CFLAGS="$xorg_testset_save_CFLAGS"
   13789 fi
   13790 
   13791 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13792 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13793 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13794 	fi
   13795 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13796 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13797 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13798 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13799   $as_echo_n "(cached) " >&6
   13800 else
   13801   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13802 /* end confdefs.h.  */
   13803 int i;
   13804 _ACEOF
   13805 if ac_fn_c_try_compile "$LINENO"; then :
   13806   xorg_cv_cc_flag_unused_command_line_argument=yes
   13807 else
   13808   xorg_cv_cc_flag_unused_command_line_argument=no
   13809 fi
   13810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13811 fi
   13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13813 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13814 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13815 	CFLAGS="$xorg_testset_save_CFLAGS"
   13816 fi
   13817 
   13818 found="no"
   13819 
   13820 	if test $found = "no" ; then
   13821 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13822 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13823 		fi
   13824 
   13825 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13826 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13827 		fi
   13828 
   13829 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   13830 
   13831 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   13832 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   13833 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   13834 		if eval \${$cacheid+:} false; then :
   13835   $as_echo_n "(cached) " >&6
   13836 else
   13837   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13838 /* end confdefs.h.  */
   13839 int i;
   13840 int
   13841 main ()
   13842 {
   13843 
   13844   ;
   13845   return 0;
   13846 }
   13847 _ACEOF
   13848 if ac_fn_c_try_link "$LINENO"; then :
   13849   eval $cacheid=yes
   13850 else
   13851   eval $cacheid=no
   13852 fi
   13853 rm -f core conftest.err conftest.$ac_objext \
   13854     conftest$ac_exeext conftest.$ac_ext
   13855 fi
   13856 
   13857 
   13858 		CFLAGS="$xorg_testset_save_CFLAGS"
   13859 
   13860 		eval supported=\$$cacheid
   13861 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13862 $as_echo "$supported" >&6; }
   13863 		if test "$supported" = "yes" ; then
   13864 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   13865 			found="yes"
   13866 		fi
   13867 	fi
   13868 
   13869 
   13870 
   13871 
   13872 
   13873 # This chunk adds additional warnings that could catch undesired effects.
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 
   13886 
   13887 xorg_testset_save_CFLAGS="$CFLAGS"
   13888 
   13889 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   13890 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13891 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   13892 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   13893 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   13894   $as_echo_n "(cached) " >&6
   13895 else
   13896   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13897 /* end confdefs.h.  */
   13898 int i;
   13899 _ACEOF
   13900 if ac_fn_c_try_compile "$LINENO"; then :
   13901   xorg_cv_cc_flag_unknown_warning_option=yes
   13902 else
   13903   xorg_cv_cc_flag_unknown_warning_option=no
   13904 fi
   13905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13906 fi
   13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   13908 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   13909 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   13910 	CFLAGS="$xorg_testset_save_CFLAGS"
   13911 fi
   13912 
   13913 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   13914 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13915 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13916 	fi
   13917 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   13919 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   13920 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   13921   $as_echo_n "(cached) " >&6
   13922 else
   13923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13924 /* end confdefs.h.  */
   13925 int i;
   13926 _ACEOF
   13927 if ac_fn_c_try_compile "$LINENO"; then :
   13928   xorg_cv_cc_flag_unused_command_line_argument=yes
   13929 else
   13930   xorg_cv_cc_flag_unused_command_line_argument=no
   13931 fi
   13932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   13933 fi
   13934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   13935 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   13936 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   13937 	CFLAGS="$xorg_testset_save_CFLAGS"
   13938 fi
   13939 
   13940 found="no"
   13941 
   13942 	if test $found = "no" ; then
   13943 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   13944 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   13945 		fi
   13946 
   13947 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   13948 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   13949 		fi
   13950 
   13951 		CFLAGS="$CFLAGS -Wunused"
   13952 
   13953 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   13954 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   13955 		cacheid=xorg_cv_cc_flag__Wunused
   13956 		if eval \${$cacheid+:} false; then :
   13957   $as_echo_n "(cached) " >&6
   13958 else
   13959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13960 /* end confdefs.h.  */
   13961 int i;
   13962 int
   13963 main ()
   13964 {
   13965 
   13966   ;
   13967   return 0;
   13968 }
   13969 _ACEOF
   13970 if ac_fn_c_try_link "$LINENO"; then :
   13971   eval $cacheid=yes
   13972 else
   13973   eval $cacheid=no
   13974 fi
   13975 rm -f core conftest.err conftest.$ac_objext \
   13976     conftest$ac_exeext conftest.$ac_ext
   13977 fi
   13978 
   13979 
   13980 		CFLAGS="$xorg_testset_save_CFLAGS"
   13981 
   13982 		eval supported=\$$cacheid
   13983 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   13984 $as_echo "$supported" >&6; }
   13985 		if test "$supported" = "yes" ; then
   13986 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   13987 			found="yes"
   13988 		fi
   13989 	fi
   13990 
   13991 
   13992 
   13993 
   13994 
   13995 
   13996 
   13997 
   13998 
   13999 
   14000 
   14001 
   14002 
   14003 
   14004 
   14005 xorg_testset_save_CFLAGS="$CFLAGS"
   14006 
   14007 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14008 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14009 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14010 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14011 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14012   $as_echo_n "(cached) " >&6
   14013 else
   14014   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14015 /* end confdefs.h.  */
   14016 int i;
   14017 _ACEOF
   14018 if ac_fn_c_try_compile "$LINENO"; then :
   14019   xorg_cv_cc_flag_unknown_warning_option=yes
   14020 else
   14021   xorg_cv_cc_flag_unknown_warning_option=no
   14022 fi
   14023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14024 fi
   14025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14026 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14027 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14028 	CFLAGS="$xorg_testset_save_CFLAGS"
   14029 fi
   14030 
   14031 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14032 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14033 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14034 	fi
   14035 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14037 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14038 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14039   $as_echo_n "(cached) " >&6
   14040 else
   14041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14042 /* end confdefs.h.  */
   14043 int i;
   14044 _ACEOF
   14045 if ac_fn_c_try_compile "$LINENO"; then :
   14046   xorg_cv_cc_flag_unused_command_line_argument=yes
   14047 else
   14048   xorg_cv_cc_flag_unused_command_line_argument=no
   14049 fi
   14050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14051 fi
   14052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14053 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14054 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14055 	CFLAGS="$xorg_testset_save_CFLAGS"
   14056 fi
   14057 
   14058 found="no"
   14059 
   14060 	if test $found = "no" ; then
   14061 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14062 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14063 		fi
   14064 
   14065 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14066 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14067 		fi
   14068 
   14069 		CFLAGS="$CFLAGS -Wuninitialized"
   14070 
   14071 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   14072 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   14073 		cacheid=xorg_cv_cc_flag__Wuninitialized
   14074 		if eval \${$cacheid+:} false; then :
   14075   $as_echo_n "(cached) " >&6
   14076 else
   14077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14078 /* end confdefs.h.  */
   14079 int i;
   14080 int
   14081 main ()
   14082 {
   14083 
   14084   ;
   14085   return 0;
   14086 }
   14087 _ACEOF
   14088 if ac_fn_c_try_link "$LINENO"; then :
   14089   eval $cacheid=yes
   14090 else
   14091   eval $cacheid=no
   14092 fi
   14093 rm -f core conftest.err conftest.$ac_objext \
   14094     conftest$ac_exeext conftest.$ac_ext
   14095 fi
   14096 
   14097 
   14098 		CFLAGS="$xorg_testset_save_CFLAGS"
   14099 
   14100 		eval supported=\$$cacheid
   14101 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14102 $as_echo "$supported" >&6; }
   14103 		if test "$supported" = "yes" ; then
   14104 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   14105 			found="yes"
   14106 		fi
   14107 	fi
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 
   14117 
   14118 
   14119 
   14120 
   14121 
   14122 
   14123 xorg_testset_save_CFLAGS="$CFLAGS"
   14124 
   14125 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14126 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14127 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14128 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14129 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14130   $as_echo_n "(cached) " >&6
   14131 else
   14132   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14133 /* end confdefs.h.  */
   14134 int i;
   14135 _ACEOF
   14136 if ac_fn_c_try_compile "$LINENO"; then :
   14137   xorg_cv_cc_flag_unknown_warning_option=yes
   14138 else
   14139   xorg_cv_cc_flag_unknown_warning_option=no
   14140 fi
   14141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14142 fi
   14143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14144 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14145 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14146 	CFLAGS="$xorg_testset_save_CFLAGS"
   14147 fi
   14148 
   14149 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14150 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14151 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14152 	fi
   14153 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14155 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14156 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14157   $as_echo_n "(cached) " >&6
   14158 else
   14159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14160 /* end confdefs.h.  */
   14161 int i;
   14162 _ACEOF
   14163 if ac_fn_c_try_compile "$LINENO"; then :
   14164   xorg_cv_cc_flag_unused_command_line_argument=yes
   14165 else
   14166   xorg_cv_cc_flag_unused_command_line_argument=no
   14167 fi
   14168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14169 fi
   14170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14171 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14172 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14173 	CFLAGS="$xorg_testset_save_CFLAGS"
   14174 fi
   14175 
   14176 found="no"
   14177 
   14178 	if test $found = "no" ; then
   14179 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14180 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14181 		fi
   14182 
   14183 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14184 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14185 		fi
   14186 
   14187 		CFLAGS="$CFLAGS -Wshadow"
   14188 
   14189 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   14190 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   14191 		cacheid=xorg_cv_cc_flag__Wshadow
   14192 		if eval \${$cacheid+:} false; then :
   14193   $as_echo_n "(cached) " >&6
   14194 else
   14195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14196 /* end confdefs.h.  */
   14197 int i;
   14198 int
   14199 main ()
   14200 {
   14201 
   14202   ;
   14203   return 0;
   14204 }
   14205 _ACEOF
   14206 if ac_fn_c_try_link "$LINENO"; then :
   14207   eval $cacheid=yes
   14208 else
   14209   eval $cacheid=no
   14210 fi
   14211 rm -f core conftest.err conftest.$ac_objext \
   14212     conftest$ac_exeext conftest.$ac_ext
   14213 fi
   14214 
   14215 
   14216 		CFLAGS="$xorg_testset_save_CFLAGS"
   14217 
   14218 		eval supported=\$$cacheid
   14219 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14220 $as_echo "$supported" >&6; }
   14221 		if test "$supported" = "yes" ; then
   14222 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   14223 			found="yes"
   14224 		fi
   14225 	fi
   14226 
   14227 
   14228 
   14229 
   14230 
   14231 
   14232 
   14233 
   14234 
   14235 
   14236 
   14237 
   14238 
   14239 
   14240 
   14241 xorg_testset_save_CFLAGS="$CFLAGS"
   14242 
   14243 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14244 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14245 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14246 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14247 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14248   $as_echo_n "(cached) " >&6
   14249 else
   14250   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14251 /* end confdefs.h.  */
   14252 int i;
   14253 _ACEOF
   14254 if ac_fn_c_try_compile "$LINENO"; then :
   14255   xorg_cv_cc_flag_unknown_warning_option=yes
   14256 else
   14257   xorg_cv_cc_flag_unknown_warning_option=no
   14258 fi
   14259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14260 fi
   14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14262 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14263 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14264 	CFLAGS="$xorg_testset_save_CFLAGS"
   14265 fi
   14266 
   14267 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14268 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14269 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14270 	fi
   14271 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14273 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14274 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14275   $as_echo_n "(cached) " >&6
   14276 else
   14277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14278 /* end confdefs.h.  */
   14279 int i;
   14280 _ACEOF
   14281 if ac_fn_c_try_compile "$LINENO"; then :
   14282   xorg_cv_cc_flag_unused_command_line_argument=yes
   14283 else
   14284   xorg_cv_cc_flag_unused_command_line_argument=no
   14285 fi
   14286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14287 fi
   14288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14289 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14290 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14291 	CFLAGS="$xorg_testset_save_CFLAGS"
   14292 fi
   14293 
   14294 found="no"
   14295 
   14296 	if test $found = "no" ; then
   14297 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14298 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14299 		fi
   14300 
   14301 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14302 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14303 		fi
   14304 
   14305 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   14306 
   14307 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   14308 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   14309 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   14310 		if eval \${$cacheid+:} false; then :
   14311   $as_echo_n "(cached) " >&6
   14312 else
   14313   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14314 /* end confdefs.h.  */
   14315 int i;
   14316 int
   14317 main ()
   14318 {
   14319 
   14320   ;
   14321   return 0;
   14322 }
   14323 _ACEOF
   14324 if ac_fn_c_try_link "$LINENO"; then :
   14325   eval $cacheid=yes
   14326 else
   14327   eval $cacheid=no
   14328 fi
   14329 rm -f core conftest.err conftest.$ac_objext \
   14330     conftest$ac_exeext conftest.$ac_ext
   14331 fi
   14332 
   14333 
   14334 		CFLAGS="$xorg_testset_save_CFLAGS"
   14335 
   14336 		eval supported=\$$cacheid
   14337 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14338 $as_echo "$supported" >&6; }
   14339 		if test "$supported" = "yes" ; then
   14340 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   14341 			found="yes"
   14342 		fi
   14343 	fi
   14344 
   14345 
   14346 
   14347 
   14348 
   14349 
   14350 
   14351 
   14352 
   14353 
   14354 
   14355 
   14356 
   14357 
   14358 
   14359 xorg_testset_save_CFLAGS="$CFLAGS"
   14360 
   14361 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14362 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14363 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14364 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14365 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14366   $as_echo_n "(cached) " >&6
   14367 else
   14368   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14369 /* end confdefs.h.  */
   14370 int i;
   14371 _ACEOF
   14372 if ac_fn_c_try_compile "$LINENO"; then :
   14373   xorg_cv_cc_flag_unknown_warning_option=yes
   14374 else
   14375   xorg_cv_cc_flag_unknown_warning_option=no
   14376 fi
   14377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14378 fi
   14379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14380 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14381 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14382 	CFLAGS="$xorg_testset_save_CFLAGS"
   14383 fi
   14384 
   14385 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14386 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14387 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14388 	fi
   14389 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14391 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14392 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14393   $as_echo_n "(cached) " >&6
   14394 else
   14395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14396 /* end confdefs.h.  */
   14397 int i;
   14398 _ACEOF
   14399 if ac_fn_c_try_compile "$LINENO"; then :
   14400   xorg_cv_cc_flag_unused_command_line_argument=yes
   14401 else
   14402   xorg_cv_cc_flag_unused_command_line_argument=no
   14403 fi
   14404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14405 fi
   14406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14407 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14408 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14409 	CFLAGS="$xorg_testset_save_CFLAGS"
   14410 fi
   14411 
   14412 found="no"
   14413 
   14414 	if test $found = "no" ; then
   14415 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14416 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14417 		fi
   14418 
   14419 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14420 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14421 		fi
   14422 
   14423 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   14424 
   14425 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   14426 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   14427 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   14428 		if eval \${$cacheid+:} false; then :
   14429   $as_echo_n "(cached) " >&6
   14430 else
   14431   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14432 /* end confdefs.h.  */
   14433 int i;
   14434 int
   14435 main ()
   14436 {
   14437 
   14438   ;
   14439   return 0;
   14440 }
   14441 _ACEOF
   14442 if ac_fn_c_try_link "$LINENO"; then :
   14443   eval $cacheid=yes
   14444 else
   14445   eval $cacheid=no
   14446 fi
   14447 rm -f core conftest.err conftest.$ac_objext \
   14448     conftest$ac_exeext conftest.$ac_ext
   14449 fi
   14450 
   14451 
   14452 		CFLAGS="$xorg_testset_save_CFLAGS"
   14453 
   14454 		eval supported=\$$cacheid
   14455 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14456 $as_echo "$supported" >&6; }
   14457 		if test "$supported" = "yes" ; then
   14458 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   14459 			found="yes"
   14460 		fi
   14461 	fi
   14462 
   14463 
   14464 
   14465 
   14466 
   14467 
   14468 
   14469 
   14470 
   14471 
   14472 
   14473 
   14474 
   14475 
   14476 
   14477 xorg_testset_save_CFLAGS="$CFLAGS"
   14478 
   14479 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14480 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14481 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14482 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14483 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14484   $as_echo_n "(cached) " >&6
   14485 else
   14486   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14487 /* end confdefs.h.  */
   14488 int i;
   14489 _ACEOF
   14490 if ac_fn_c_try_compile "$LINENO"; then :
   14491   xorg_cv_cc_flag_unknown_warning_option=yes
   14492 else
   14493   xorg_cv_cc_flag_unknown_warning_option=no
   14494 fi
   14495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14496 fi
   14497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14498 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14499 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14500 	CFLAGS="$xorg_testset_save_CFLAGS"
   14501 fi
   14502 
   14503 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14504 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14505 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14506 	fi
   14507 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14509 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14510 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14511   $as_echo_n "(cached) " >&6
   14512 else
   14513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14514 /* end confdefs.h.  */
   14515 int i;
   14516 _ACEOF
   14517 if ac_fn_c_try_compile "$LINENO"; then :
   14518   xorg_cv_cc_flag_unused_command_line_argument=yes
   14519 else
   14520   xorg_cv_cc_flag_unused_command_line_argument=no
   14521 fi
   14522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14523 fi
   14524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14525 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14526 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14527 	CFLAGS="$xorg_testset_save_CFLAGS"
   14528 fi
   14529 
   14530 found="no"
   14531 
   14532 	if test $found = "no" ; then
   14533 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14535 		fi
   14536 
   14537 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14539 		fi
   14540 
   14541 		CFLAGS="$CFLAGS -Wredundant-decls"
   14542 
   14543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   14544 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   14545 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   14546 		if eval \${$cacheid+:} false; then :
   14547   $as_echo_n "(cached) " >&6
   14548 else
   14549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14550 /* end confdefs.h.  */
   14551 int i;
   14552 int
   14553 main ()
   14554 {
   14555 
   14556   ;
   14557   return 0;
   14558 }
   14559 _ACEOF
   14560 if ac_fn_c_try_link "$LINENO"; then :
   14561   eval $cacheid=yes
   14562 else
   14563   eval $cacheid=no
   14564 fi
   14565 rm -f core conftest.err conftest.$ac_objext \
   14566     conftest$ac_exeext conftest.$ac_ext
   14567 fi
   14568 
   14569 
   14570 		CFLAGS="$xorg_testset_save_CFLAGS"
   14571 
   14572 		eval supported=\$$cacheid
   14573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14574 $as_echo "$supported" >&6; }
   14575 		if test "$supported" = "yes" ; then
   14576 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   14577 			found="yes"
   14578 		fi
   14579 	fi
   14580 
   14581 
   14582 
   14583 
   14584 
   14585 
   14586 
   14587 
   14588 
   14589 
   14590 
   14591 
   14592 
   14593 
   14594 
   14595 xorg_testset_save_CFLAGS="$CFLAGS"
   14596 
   14597 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14598 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14599 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14600 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14601 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14602   $as_echo_n "(cached) " >&6
   14603 else
   14604   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14605 /* end confdefs.h.  */
   14606 int i;
   14607 _ACEOF
   14608 if ac_fn_c_try_compile "$LINENO"; then :
   14609   xorg_cv_cc_flag_unknown_warning_option=yes
   14610 else
   14611   xorg_cv_cc_flag_unknown_warning_option=no
   14612 fi
   14613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14614 fi
   14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14616 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14617 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14618 	CFLAGS="$xorg_testset_save_CFLAGS"
   14619 fi
   14620 
   14621 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14622 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14623 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14624 	fi
   14625 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14627 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14628 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14629   $as_echo_n "(cached) " >&6
   14630 else
   14631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14632 /* end confdefs.h.  */
   14633 int i;
   14634 _ACEOF
   14635 if ac_fn_c_try_compile "$LINENO"; then :
   14636   xorg_cv_cc_flag_unused_command_line_argument=yes
   14637 else
   14638   xorg_cv_cc_flag_unused_command_line_argument=no
   14639 fi
   14640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14641 fi
   14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14643 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14644 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14645 	CFLAGS="$xorg_testset_save_CFLAGS"
   14646 fi
   14647 
   14648 found="no"
   14649 
   14650 	if test $found = "no" ; then
   14651 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14652 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14653 		fi
   14654 
   14655 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14656 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14657 		fi
   14658 
   14659 		CFLAGS="$CFLAGS -Wlogical-op"
   14660 
   14661 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   14662 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   14663 		cacheid=xorg_cv_cc_flag__Wlogical_op
   14664 		if eval \${$cacheid+:} false; then :
   14665   $as_echo_n "(cached) " >&6
   14666 else
   14667   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14668 /* end confdefs.h.  */
   14669 int i;
   14670 int
   14671 main ()
   14672 {
   14673 
   14674   ;
   14675   return 0;
   14676 }
   14677 _ACEOF
   14678 if ac_fn_c_try_link "$LINENO"; then :
   14679   eval $cacheid=yes
   14680 else
   14681   eval $cacheid=no
   14682 fi
   14683 rm -f core conftest.err conftest.$ac_objext \
   14684     conftest$ac_exeext conftest.$ac_ext
   14685 fi
   14686 
   14687 
   14688 		CFLAGS="$xorg_testset_save_CFLAGS"
   14689 
   14690 		eval supported=\$$cacheid
   14691 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14692 $as_echo "$supported" >&6; }
   14693 		if test "$supported" = "yes" ; then
   14694 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   14695 			found="yes"
   14696 		fi
   14697 	fi
   14698 
   14699 
   14700 
   14701 # These are currently disabled because they are noisy.  They will be enabled
   14702 # in the future once the codebase is sufficiently modernized to silence
   14703 # them.  For now, I don't want them to drown out the other warnings.
   14704 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   14705 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   14706 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   14707 
   14708 # Turn some warnings into errors, so we don't accidently get successful builds
   14709 # when there are problems that should be fixed.
   14710 
   14711 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   14712 
   14713 
   14714 
   14715 
   14716 
   14717 
   14718 
   14719 
   14720 
   14721 
   14722 
   14723 
   14724 
   14725 xorg_testset_save_CFLAGS="$CFLAGS"
   14726 
   14727 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14728 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14730 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14731 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14732   $as_echo_n "(cached) " >&6
   14733 else
   14734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14735 /* end confdefs.h.  */
   14736 int i;
   14737 _ACEOF
   14738 if ac_fn_c_try_compile "$LINENO"; then :
   14739   xorg_cv_cc_flag_unknown_warning_option=yes
   14740 else
   14741   xorg_cv_cc_flag_unknown_warning_option=no
   14742 fi
   14743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14744 fi
   14745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14746 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14747 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14748 	CFLAGS="$xorg_testset_save_CFLAGS"
   14749 fi
   14750 
   14751 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14752 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14753 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14754 	fi
   14755 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14756 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14757 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14758 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14759   $as_echo_n "(cached) " >&6
   14760 else
   14761   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14762 /* end confdefs.h.  */
   14763 int i;
   14764 _ACEOF
   14765 if ac_fn_c_try_compile "$LINENO"; then :
   14766   xorg_cv_cc_flag_unused_command_line_argument=yes
   14767 else
   14768   xorg_cv_cc_flag_unused_command_line_argument=no
   14769 fi
   14770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14771 fi
   14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14773 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14774 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14775 	CFLAGS="$xorg_testset_save_CFLAGS"
   14776 fi
   14777 
   14778 found="no"
   14779 
   14780 	if test $found = "no" ; then
   14781 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14782 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14783 		fi
   14784 
   14785 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14786 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14787 		fi
   14788 
   14789 		CFLAGS="$CFLAGS -Werror=implicit"
   14790 
   14791 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   14792 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   14793 		cacheid=xorg_cv_cc_flag__Werror_implicit
   14794 		if eval \${$cacheid+:} false; then :
   14795   $as_echo_n "(cached) " >&6
   14796 else
   14797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14798 /* end confdefs.h.  */
   14799 int i;
   14800 int
   14801 main ()
   14802 {
   14803 
   14804   ;
   14805   return 0;
   14806 }
   14807 _ACEOF
   14808 if ac_fn_c_try_link "$LINENO"; then :
   14809   eval $cacheid=yes
   14810 else
   14811   eval $cacheid=no
   14812 fi
   14813 rm -f core conftest.err conftest.$ac_objext \
   14814     conftest$ac_exeext conftest.$ac_ext
   14815 fi
   14816 
   14817 
   14818 		CFLAGS="$xorg_testset_save_CFLAGS"
   14819 
   14820 		eval supported=\$$cacheid
   14821 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14822 $as_echo "$supported" >&6; }
   14823 		if test "$supported" = "yes" ; then
   14824 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   14825 			found="yes"
   14826 		fi
   14827 	fi
   14828 
   14829 	if test $found = "no" ; then
   14830 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14831 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14832 		fi
   14833 
   14834 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14835 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14836 		fi
   14837 
   14838 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14839 
   14840 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   14841 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   14842 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   14843 		if eval \${$cacheid+:} false; then :
   14844   $as_echo_n "(cached) " >&6
   14845 else
   14846   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14847 /* end confdefs.h.  */
   14848 int i;
   14849 int
   14850 main ()
   14851 {
   14852 
   14853   ;
   14854   return 0;
   14855 }
   14856 _ACEOF
   14857 if ac_fn_c_try_link "$LINENO"; then :
   14858   eval $cacheid=yes
   14859 else
   14860   eval $cacheid=no
   14861 fi
   14862 rm -f core conftest.err conftest.$ac_objext \
   14863     conftest$ac_exeext conftest.$ac_ext
   14864 fi
   14865 
   14866 
   14867 		CFLAGS="$xorg_testset_save_CFLAGS"
   14868 
   14869 		eval supported=\$$cacheid
   14870 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14871 $as_echo "$supported" >&6; }
   14872 		if test "$supported" = "yes" ; then
   14873 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   14874 			found="yes"
   14875 		fi
   14876 	fi
   14877 
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 
   14890 
   14891 
   14892 xorg_testset_save_CFLAGS="$CFLAGS"
   14893 
   14894 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   14895 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14896 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   14897 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   14898 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   14899   $as_echo_n "(cached) " >&6
   14900 else
   14901   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14902 /* end confdefs.h.  */
   14903 int i;
   14904 _ACEOF
   14905 if ac_fn_c_try_compile "$LINENO"; then :
   14906   xorg_cv_cc_flag_unknown_warning_option=yes
   14907 else
   14908   xorg_cv_cc_flag_unknown_warning_option=no
   14909 fi
   14910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14911 fi
   14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   14913 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   14914 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   14915 	CFLAGS="$xorg_testset_save_CFLAGS"
   14916 fi
   14917 
   14918 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   14919 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14920 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14921 	fi
   14922 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14923 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   14924 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   14925 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   14926   $as_echo_n "(cached) " >&6
   14927 else
   14928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14929 /* end confdefs.h.  */
   14930 int i;
   14931 _ACEOF
   14932 if ac_fn_c_try_compile "$LINENO"; then :
   14933   xorg_cv_cc_flag_unused_command_line_argument=yes
   14934 else
   14935   xorg_cv_cc_flag_unused_command_line_argument=no
   14936 fi
   14937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   14938 fi
   14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   14940 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   14941 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   14942 	CFLAGS="$xorg_testset_save_CFLAGS"
   14943 fi
   14944 
   14945 found="no"
   14946 
   14947 	if test $found = "no" ; then
   14948 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   14949 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   14950 		fi
   14951 
   14952 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   14953 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   14954 		fi
   14955 
   14956 		CFLAGS="$CFLAGS -Werror=nonnull"
   14957 
   14958 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   14959 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   14960 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   14961 		if eval \${$cacheid+:} false; then :
   14962   $as_echo_n "(cached) " >&6
   14963 else
   14964   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14965 /* end confdefs.h.  */
   14966 int i;
   14967 int
   14968 main ()
   14969 {
   14970 
   14971   ;
   14972   return 0;
   14973 }
   14974 _ACEOF
   14975 if ac_fn_c_try_link "$LINENO"; then :
   14976   eval $cacheid=yes
   14977 else
   14978   eval $cacheid=no
   14979 fi
   14980 rm -f core conftest.err conftest.$ac_objext \
   14981     conftest$ac_exeext conftest.$ac_ext
   14982 fi
   14983 
   14984 
   14985 		CFLAGS="$xorg_testset_save_CFLAGS"
   14986 
   14987 		eval supported=\$$cacheid
   14988 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   14989 $as_echo "$supported" >&6; }
   14990 		if test "$supported" = "yes" ; then
   14991 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   14992 			found="yes"
   14993 		fi
   14994 	fi
   14995 
   14996 
   14997 
   14998 
   14999 
   15000 
   15001 
   15002 
   15003 
   15004 
   15005 
   15006 
   15007 
   15008 
   15009 
   15010 xorg_testset_save_CFLAGS="$CFLAGS"
   15011 
   15012 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15013 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15015 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15016 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15017   $as_echo_n "(cached) " >&6
   15018 else
   15019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15020 /* end confdefs.h.  */
   15021 int i;
   15022 _ACEOF
   15023 if ac_fn_c_try_compile "$LINENO"; then :
   15024   xorg_cv_cc_flag_unknown_warning_option=yes
   15025 else
   15026   xorg_cv_cc_flag_unknown_warning_option=no
   15027 fi
   15028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15029 fi
   15030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15031 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15032 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15033 	CFLAGS="$xorg_testset_save_CFLAGS"
   15034 fi
   15035 
   15036 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15037 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15038 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15039 	fi
   15040 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15041 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15042 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15043 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15044   $as_echo_n "(cached) " >&6
   15045 else
   15046   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15047 /* end confdefs.h.  */
   15048 int i;
   15049 _ACEOF
   15050 if ac_fn_c_try_compile "$LINENO"; then :
   15051   xorg_cv_cc_flag_unused_command_line_argument=yes
   15052 else
   15053   xorg_cv_cc_flag_unused_command_line_argument=no
   15054 fi
   15055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15056 fi
   15057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15058 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15059 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15060 	CFLAGS="$xorg_testset_save_CFLAGS"
   15061 fi
   15062 
   15063 found="no"
   15064 
   15065 	if test $found = "no" ; then
   15066 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15067 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15068 		fi
   15069 
   15070 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15071 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15072 		fi
   15073 
   15074 		CFLAGS="$CFLAGS -Werror=init-self"
   15075 
   15076 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   15077 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   15078 		cacheid=xorg_cv_cc_flag__Werror_init_self
   15079 		if eval \${$cacheid+:} false; then :
   15080   $as_echo_n "(cached) " >&6
   15081 else
   15082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15083 /* end confdefs.h.  */
   15084 int i;
   15085 int
   15086 main ()
   15087 {
   15088 
   15089   ;
   15090   return 0;
   15091 }
   15092 _ACEOF
   15093 if ac_fn_c_try_link "$LINENO"; then :
   15094   eval $cacheid=yes
   15095 else
   15096   eval $cacheid=no
   15097 fi
   15098 rm -f core conftest.err conftest.$ac_objext \
   15099     conftest$ac_exeext conftest.$ac_ext
   15100 fi
   15101 
   15102 
   15103 		CFLAGS="$xorg_testset_save_CFLAGS"
   15104 
   15105 		eval supported=\$$cacheid
   15106 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15107 $as_echo "$supported" >&6; }
   15108 		if test "$supported" = "yes" ; then
   15109 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   15110 			found="yes"
   15111 		fi
   15112 	fi
   15113 
   15114 
   15115 
   15116 
   15117 
   15118 
   15119 
   15120 
   15121 
   15122 
   15123 
   15124 
   15125 
   15126 
   15127 
   15128 xorg_testset_save_CFLAGS="$CFLAGS"
   15129 
   15130 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15131 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15132 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15133 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15134 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15135   $as_echo_n "(cached) " >&6
   15136 else
   15137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15138 /* end confdefs.h.  */
   15139 int i;
   15140 _ACEOF
   15141 if ac_fn_c_try_compile "$LINENO"; then :
   15142   xorg_cv_cc_flag_unknown_warning_option=yes
   15143 else
   15144   xorg_cv_cc_flag_unknown_warning_option=no
   15145 fi
   15146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15147 fi
   15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15149 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15150 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15151 	CFLAGS="$xorg_testset_save_CFLAGS"
   15152 fi
   15153 
   15154 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15155 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15156 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15157 	fi
   15158 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15159 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15160 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15161 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15162   $as_echo_n "(cached) " >&6
   15163 else
   15164   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15165 /* end confdefs.h.  */
   15166 int i;
   15167 _ACEOF
   15168 if ac_fn_c_try_compile "$LINENO"; then :
   15169   xorg_cv_cc_flag_unused_command_line_argument=yes
   15170 else
   15171   xorg_cv_cc_flag_unused_command_line_argument=no
   15172 fi
   15173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15174 fi
   15175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15176 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15177 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15178 	CFLAGS="$xorg_testset_save_CFLAGS"
   15179 fi
   15180 
   15181 found="no"
   15182 
   15183 	if test $found = "no" ; then
   15184 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15185 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15186 		fi
   15187 
   15188 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15189 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15190 		fi
   15191 
   15192 		CFLAGS="$CFLAGS -Werror=main"
   15193 
   15194 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   15195 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   15196 		cacheid=xorg_cv_cc_flag__Werror_main
   15197 		if eval \${$cacheid+:} false; then :
   15198   $as_echo_n "(cached) " >&6
   15199 else
   15200   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15201 /* end confdefs.h.  */
   15202 int i;
   15203 int
   15204 main ()
   15205 {
   15206 
   15207   ;
   15208   return 0;
   15209 }
   15210 _ACEOF
   15211 if ac_fn_c_try_link "$LINENO"; then :
   15212   eval $cacheid=yes
   15213 else
   15214   eval $cacheid=no
   15215 fi
   15216 rm -f core conftest.err conftest.$ac_objext \
   15217     conftest$ac_exeext conftest.$ac_ext
   15218 fi
   15219 
   15220 
   15221 		CFLAGS="$xorg_testset_save_CFLAGS"
   15222 
   15223 		eval supported=\$$cacheid
   15224 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15225 $as_echo "$supported" >&6; }
   15226 		if test "$supported" = "yes" ; then
   15227 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   15228 			found="yes"
   15229 		fi
   15230 	fi
   15231 
   15232 
   15233 
   15234 
   15235 
   15236 
   15237 
   15238 
   15239 
   15240 
   15241 
   15242 
   15243 
   15244 
   15245 
   15246 xorg_testset_save_CFLAGS="$CFLAGS"
   15247 
   15248 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15249 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15251 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15252 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15253   $as_echo_n "(cached) " >&6
   15254 else
   15255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15256 /* end confdefs.h.  */
   15257 int i;
   15258 _ACEOF
   15259 if ac_fn_c_try_compile "$LINENO"; then :
   15260   xorg_cv_cc_flag_unknown_warning_option=yes
   15261 else
   15262   xorg_cv_cc_flag_unknown_warning_option=no
   15263 fi
   15264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15265 fi
   15266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15267 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15268 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15269 	CFLAGS="$xorg_testset_save_CFLAGS"
   15270 fi
   15271 
   15272 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15273 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15274 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15275 	fi
   15276 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15277 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15278 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15279 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15280   $as_echo_n "(cached) " >&6
   15281 else
   15282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15283 /* end confdefs.h.  */
   15284 int i;
   15285 _ACEOF
   15286 if ac_fn_c_try_compile "$LINENO"; then :
   15287   xorg_cv_cc_flag_unused_command_line_argument=yes
   15288 else
   15289   xorg_cv_cc_flag_unused_command_line_argument=no
   15290 fi
   15291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15292 fi
   15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15294 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15295 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15296 	CFLAGS="$xorg_testset_save_CFLAGS"
   15297 fi
   15298 
   15299 found="no"
   15300 
   15301 	if test $found = "no" ; then
   15302 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15303 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15304 		fi
   15305 
   15306 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15307 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15308 		fi
   15309 
   15310 		CFLAGS="$CFLAGS -Werror=missing-braces"
   15311 
   15312 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   15313 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   15314 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   15315 		if eval \${$cacheid+:} false; then :
   15316   $as_echo_n "(cached) " >&6
   15317 else
   15318   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15319 /* end confdefs.h.  */
   15320 int i;
   15321 int
   15322 main ()
   15323 {
   15324 
   15325   ;
   15326   return 0;
   15327 }
   15328 _ACEOF
   15329 if ac_fn_c_try_link "$LINENO"; then :
   15330   eval $cacheid=yes
   15331 else
   15332   eval $cacheid=no
   15333 fi
   15334 rm -f core conftest.err conftest.$ac_objext \
   15335     conftest$ac_exeext conftest.$ac_ext
   15336 fi
   15337 
   15338 
   15339 		CFLAGS="$xorg_testset_save_CFLAGS"
   15340 
   15341 		eval supported=\$$cacheid
   15342 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15343 $as_echo "$supported" >&6; }
   15344 		if test "$supported" = "yes" ; then
   15345 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   15346 			found="yes"
   15347 		fi
   15348 	fi
   15349 
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356 
   15357 
   15358 
   15359 
   15360 
   15361 
   15362 
   15363 
   15364 xorg_testset_save_CFLAGS="$CFLAGS"
   15365 
   15366 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15367 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15369 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15370 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15371   $as_echo_n "(cached) " >&6
   15372 else
   15373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15374 /* end confdefs.h.  */
   15375 int i;
   15376 _ACEOF
   15377 if ac_fn_c_try_compile "$LINENO"; then :
   15378   xorg_cv_cc_flag_unknown_warning_option=yes
   15379 else
   15380   xorg_cv_cc_flag_unknown_warning_option=no
   15381 fi
   15382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15383 fi
   15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15385 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15386 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15387 	CFLAGS="$xorg_testset_save_CFLAGS"
   15388 fi
   15389 
   15390 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15391 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15392 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15393 	fi
   15394 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15395 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15396 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15397 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15398   $as_echo_n "(cached) " >&6
   15399 else
   15400   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15401 /* end confdefs.h.  */
   15402 int i;
   15403 _ACEOF
   15404 if ac_fn_c_try_compile "$LINENO"; then :
   15405   xorg_cv_cc_flag_unused_command_line_argument=yes
   15406 else
   15407   xorg_cv_cc_flag_unused_command_line_argument=no
   15408 fi
   15409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15410 fi
   15411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15412 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15413 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15414 	CFLAGS="$xorg_testset_save_CFLAGS"
   15415 fi
   15416 
   15417 found="no"
   15418 
   15419 	if test $found = "no" ; then
   15420 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15421 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15422 		fi
   15423 
   15424 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15425 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15426 		fi
   15427 
   15428 		CFLAGS="$CFLAGS -Werror=sequence-point"
   15429 
   15430 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   15431 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   15432 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   15433 		if eval \${$cacheid+:} false; then :
   15434   $as_echo_n "(cached) " >&6
   15435 else
   15436   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15437 /* end confdefs.h.  */
   15438 int i;
   15439 int
   15440 main ()
   15441 {
   15442 
   15443   ;
   15444   return 0;
   15445 }
   15446 _ACEOF
   15447 if ac_fn_c_try_link "$LINENO"; then :
   15448   eval $cacheid=yes
   15449 else
   15450   eval $cacheid=no
   15451 fi
   15452 rm -f core conftest.err conftest.$ac_objext \
   15453     conftest$ac_exeext conftest.$ac_ext
   15454 fi
   15455 
   15456 
   15457 		CFLAGS="$xorg_testset_save_CFLAGS"
   15458 
   15459 		eval supported=\$$cacheid
   15460 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15461 $as_echo "$supported" >&6; }
   15462 		if test "$supported" = "yes" ; then
   15463 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   15464 			found="yes"
   15465 		fi
   15466 	fi
   15467 
   15468 
   15469 
   15470 
   15471 
   15472 
   15473 
   15474 
   15475 
   15476 
   15477 
   15478 
   15479 
   15480 
   15481 
   15482 xorg_testset_save_CFLAGS="$CFLAGS"
   15483 
   15484 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15485 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15487 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15488 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15489   $as_echo_n "(cached) " >&6
   15490 else
   15491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15492 /* end confdefs.h.  */
   15493 int i;
   15494 _ACEOF
   15495 if ac_fn_c_try_compile "$LINENO"; then :
   15496   xorg_cv_cc_flag_unknown_warning_option=yes
   15497 else
   15498   xorg_cv_cc_flag_unknown_warning_option=no
   15499 fi
   15500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15501 fi
   15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15503 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15504 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15505 	CFLAGS="$xorg_testset_save_CFLAGS"
   15506 fi
   15507 
   15508 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15509 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15510 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15511 	fi
   15512 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15513 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15514 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15515 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15516   $as_echo_n "(cached) " >&6
   15517 else
   15518   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15519 /* end confdefs.h.  */
   15520 int i;
   15521 _ACEOF
   15522 if ac_fn_c_try_compile "$LINENO"; then :
   15523   xorg_cv_cc_flag_unused_command_line_argument=yes
   15524 else
   15525   xorg_cv_cc_flag_unused_command_line_argument=no
   15526 fi
   15527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15528 fi
   15529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15530 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15531 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15532 	CFLAGS="$xorg_testset_save_CFLAGS"
   15533 fi
   15534 
   15535 found="no"
   15536 
   15537 	if test $found = "no" ; then
   15538 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15539 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15540 		fi
   15541 
   15542 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15543 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15544 		fi
   15545 
   15546 		CFLAGS="$CFLAGS -Werror=return-type"
   15547 
   15548 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   15549 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   15550 		cacheid=xorg_cv_cc_flag__Werror_return_type
   15551 		if eval \${$cacheid+:} false; then :
   15552   $as_echo_n "(cached) " >&6
   15553 else
   15554   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15555 /* end confdefs.h.  */
   15556 int i;
   15557 int
   15558 main ()
   15559 {
   15560 
   15561   ;
   15562   return 0;
   15563 }
   15564 _ACEOF
   15565 if ac_fn_c_try_link "$LINENO"; then :
   15566   eval $cacheid=yes
   15567 else
   15568   eval $cacheid=no
   15569 fi
   15570 rm -f core conftest.err conftest.$ac_objext \
   15571     conftest$ac_exeext conftest.$ac_ext
   15572 fi
   15573 
   15574 
   15575 		CFLAGS="$xorg_testset_save_CFLAGS"
   15576 
   15577 		eval supported=\$$cacheid
   15578 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15579 $as_echo "$supported" >&6; }
   15580 		if test "$supported" = "yes" ; then
   15581 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   15582 			found="yes"
   15583 		fi
   15584 	fi
   15585 
   15586 	if test $found = "no" ; then
   15587 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15588 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15589 		fi
   15590 
   15591 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15592 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15593 		fi
   15594 
   15595 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15596 
   15597 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   15598 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   15599 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   15600 		if eval \${$cacheid+:} false; then :
   15601   $as_echo_n "(cached) " >&6
   15602 else
   15603   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15604 /* end confdefs.h.  */
   15605 int i;
   15606 int
   15607 main ()
   15608 {
   15609 
   15610   ;
   15611   return 0;
   15612 }
   15613 _ACEOF
   15614 if ac_fn_c_try_link "$LINENO"; then :
   15615   eval $cacheid=yes
   15616 else
   15617   eval $cacheid=no
   15618 fi
   15619 rm -f core conftest.err conftest.$ac_objext \
   15620     conftest$ac_exeext conftest.$ac_ext
   15621 fi
   15622 
   15623 
   15624 		CFLAGS="$xorg_testset_save_CFLAGS"
   15625 
   15626 		eval supported=\$$cacheid
   15627 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15628 $as_echo "$supported" >&6; }
   15629 		if test "$supported" = "yes" ; then
   15630 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   15631 			found="yes"
   15632 		fi
   15633 	fi
   15634 
   15635 
   15636 
   15637 
   15638 
   15639 
   15640 
   15641 
   15642 
   15643 
   15644 
   15645 
   15646 
   15647 
   15648 
   15649 xorg_testset_save_CFLAGS="$CFLAGS"
   15650 
   15651 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15652 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15654 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15655 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15656   $as_echo_n "(cached) " >&6
   15657 else
   15658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15659 /* end confdefs.h.  */
   15660 int i;
   15661 _ACEOF
   15662 if ac_fn_c_try_compile "$LINENO"; then :
   15663   xorg_cv_cc_flag_unknown_warning_option=yes
   15664 else
   15665   xorg_cv_cc_flag_unknown_warning_option=no
   15666 fi
   15667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15668 fi
   15669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15670 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15671 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15672 	CFLAGS="$xorg_testset_save_CFLAGS"
   15673 fi
   15674 
   15675 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15676 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15677 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15678 	fi
   15679 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15680 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15681 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15682 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15683   $as_echo_n "(cached) " >&6
   15684 else
   15685   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15686 /* end confdefs.h.  */
   15687 int i;
   15688 _ACEOF
   15689 if ac_fn_c_try_compile "$LINENO"; then :
   15690   xorg_cv_cc_flag_unused_command_line_argument=yes
   15691 else
   15692   xorg_cv_cc_flag_unused_command_line_argument=no
   15693 fi
   15694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15695 fi
   15696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15697 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15698 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15699 	CFLAGS="$xorg_testset_save_CFLAGS"
   15700 fi
   15701 
   15702 found="no"
   15703 
   15704 	if test $found = "no" ; then
   15705 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15706 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15707 		fi
   15708 
   15709 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15710 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15711 		fi
   15712 
   15713 		CFLAGS="$CFLAGS -Werror=trigraphs"
   15714 
   15715 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   15716 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   15717 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   15718 		if eval \${$cacheid+:} false; then :
   15719   $as_echo_n "(cached) " >&6
   15720 else
   15721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15722 /* end confdefs.h.  */
   15723 int i;
   15724 int
   15725 main ()
   15726 {
   15727 
   15728   ;
   15729   return 0;
   15730 }
   15731 _ACEOF
   15732 if ac_fn_c_try_link "$LINENO"; then :
   15733   eval $cacheid=yes
   15734 else
   15735   eval $cacheid=no
   15736 fi
   15737 rm -f core conftest.err conftest.$ac_objext \
   15738     conftest$ac_exeext conftest.$ac_ext
   15739 fi
   15740 
   15741 
   15742 		CFLAGS="$xorg_testset_save_CFLAGS"
   15743 
   15744 		eval supported=\$$cacheid
   15745 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15746 $as_echo "$supported" >&6; }
   15747 		if test "$supported" = "yes" ; then
   15748 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   15749 			found="yes"
   15750 		fi
   15751 	fi
   15752 
   15753 
   15754 
   15755 
   15756 
   15757 
   15758 
   15759 
   15760 
   15761 
   15762 
   15763 
   15764 
   15765 
   15766 
   15767 xorg_testset_save_CFLAGS="$CFLAGS"
   15768 
   15769 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15770 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15772 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15773 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15774   $as_echo_n "(cached) " >&6
   15775 else
   15776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15777 /* end confdefs.h.  */
   15778 int i;
   15779 _ACEOF
   15780 if ac_fn_c_try_compile "$LINENO"; then :
   15781   xorg_cv_cc_flag_unknown_warning_option=yes
   15782 else
   15783   xorg_cv_cc_flag_unknown_warning_option=no
   15784 fi
   15785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15786 fi
   15787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15788 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15789 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15790 	CFLAGS="$xorg_testset_save_CFLAGS"
   15791 fi
   15792 
   15793 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15794 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15795 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15796 	fi
   15797 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15798 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15799 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15800 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15801   $as_echo_n "(cached) " >&6
   15802 else
   15803   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15804 /* end confdefs.h.  */
   15805 int i;
   15806 _ACEOF
   15807 if ac_fn_c_try_compile "$LINENO"; then :
   15808   xorg_cv_cc_flag_unused_command_line_argument=yes
   15809 else
   15810   xorg_cv_cc_flag_unused_command_line_argument=no
   15811 fi
   15812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15813 fi
   15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15815 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15816 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15817 	CFLAGS="$xorg_testset_save_CFLAGS"
   15818 fi
   15819 
   15820 found="no"
   15821 
   15822 	if test $found = "no" ; then
   15823 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15824 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15825 		fi
   15826 
   15827 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15828 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15829 		fi
   15830 
   15831 		CFLAGS="$CFLAGS -Werror=array-bounds"
   15832 
   15833 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   15834 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   15835 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   15836 		if eval \${$cacheid+:} false; then :
   15837   $as_echo_n "(cached) " >&6
   15838 else
   15839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15840 /* end confdefs.h.  */
   15841 int i;
   15842 int
   15843 main ()
   15844 {
   15845 
   15846   ;
   15847   return 0;
   15848 }
   15849 _ACEOF
   15850 if ac_fn_c_try_link "$LINENO"; then :
   15851   eval $cacheid=yes
   15852 else
   15853   eval $cacheid=no
   15854 fi
   15855 rm -f core conftest.err conftest.$ac_objext \
   15856     conftest$ac_exeext conftest.$ac_ext
   15857 fi
   15858 
   15859 
   15860 		CFLAGS="$xorg_testset_save_CFLAGS"
   15861 
   15862 		eval supported=\$$cacheid
   15863 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15864 $as_echo "$supported" >&6; }
   15865 		if test "$supported" = "yes" ; then
   15866 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   15867 			found="yes"
   15868 		fi
   15869 	fi
   15870 
   15871 
   15872 
   15873 
   15874 
   15875 
   15876 
   15877 
   15878 
   15879 
   15880 
   15881 
   15882 
   15883 
   15884 
   15885 xorg_testset_save_CFLAGS="$CFLAGS"
   15886 
   15887 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   15888 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   15890 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   15891 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   15892   $as_echo_n "(cached) " >&6
   15893 else
   15894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15895 /* end confdefs.h.  */
   15896 int i;
   15897 _ACEOF
   15898 if ac_fn_c_try_compile "$LINENO"; then :
   15899   xorg_cv_cc_flag_unknown_warning_option=yes
   15900 else
   15901   xorg_cv_cc_flag_unknown_warning_option=no
   15902 fi
   15903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15904 fi
   15905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   15906 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   15907 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   15908 	CFLAGS="$xorg_testset_save_CFLAGS"
   15909 fi
   15910 
   15911 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   15912 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15913 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15914 	fi
   15915 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15916 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   15917 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   15918 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   15919   $as_echo_n "(cached) " >&6
   15920 else
   15921   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15922 /* end confdefs.h.  */
   15923 int i;
   15924 _ACEOF
   15925 if ac_fn_c_try_compile "$LINENO"; then :
   15926   xorg_cv_cc_flag_unused_command_line_argument=yes
   15927 else
   15928   xorg_cv_cc_flag_unused_command_line_argument=no
   15929 fi
   15930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   15931 fi
   15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   15933 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   15934 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   15935 	CFLAGS="$xorg_testset_save_CFLAGS"
   15936 fi
   15937 
   15938 found="no"
   15939 
   15940 	if test $found = "no" ; then
   15941 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   15942 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   15943 		fi
   15944 
   15945 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   15946 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   15947 		fi
   15948 
   15949 		CFLAGS="$CFLAGS -Werror=write-strings"
   15950 
   15951 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   15952 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   15953 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   15954 		if eval \${$cacheid+:} false; then :
   15955   $as_echo_n "(cached) " >&6
   15956 else
   15957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15958 /* end confdefs.h.  */
   15959 int i;
   15960 int
   15961 main ()
   15962 {
   15963 
   15964   ;
   15965   return 0;
   15966 }
   15967 _ACEOF
   15968 if ac_fn_c_try_link "$LINENO"; then :
   15969   eval $cacheid=yes
   15970 else
   15971   eval $cacheid=no
   15972 fi
   15973 rm -f core conftest.err conftest.$ac_objext \
   15974     conftest$ac_exeext conftest.$ac_ext
   15975 fi
   15976 
   15977 
   15978 		CFLAGS="$xorg_testset_save_CFLAGS"
   15979 
   15980 		eval supported=\$$cacheid
   15981 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   15982 $as_echo "$supported" >&6; }
   15983 		if test "$supported" = "yes" ; then
   15984 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   15985 			found="yes"
   15986 		fi
   15987 	fi
   15988 
   15989 
   15990 
   15991 
   15992 
   15993 
   15994 
   15995 
   15996 
   15997 
   15998 
   15999 
   16000 
   16001 
   16002 
   16003 xorg_testset_save_CFLAGS="$CFLAGS"
   16004 
   16005 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16006 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16008 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16009 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16010   $as_echo_n "(cached) " >&6
   16011 else
   16012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16013 /* end confdefs.h.  */
   16014 int i;
   16015 _ACEOF
   16016 if ac_fn_c_try_compile "$LINENO"; then :
   16017   xorg_cv_cc_flag_unknown_warning_option=yes
   16018 else
   16019   xorg_cv_cc_flag_unknown_warning_option=no
   16020 fi
   16021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16022 fi
   16023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16024 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16025 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16026 	CFLAGS="$xorg_testset_save_CFLAGS"
   16027 fi
   16028 
   16029 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16030 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16031 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16032 	fi
   16033 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16034 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16035 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16036 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16037   $as_echo_n "(cached) " >&6
   16038 else
   16039   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16040 /* end confdefs.h.  */
   16041 int i;
   16042 _ACEOF
   16043 if ac_fn_c_try_compile "$LINENO"; then :
   16044   xorg_cv_cc_flag_unused_command_line_argument=yes
   16045 else
   16046   xorg_cv_cc_flag_unused_command_line_argument=no
   16047 fi
   16048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16049 fi
   16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16051 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16052 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16053 	CFLAGS="$xorg_testset_save_CFLAGS"
   16054 fi
   16055 
   16056 found="no"
   16057 
   16058 	if test $found = "no" ; then
   16059 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16060 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16061 		fi
   16062 
   16063 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16064 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16065 		fi
   16066 
   16067 		CFLAGS="$CFLAGS -Werror=address"
   16068 
   16069 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   16070 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   16071 		cacheid=xorg_cv_cc_flag__Werror_address
   16072 		if eval \${$cacheid+:} false; then :
   16073   $as_echo_n "(cached) " >&6
   16074 else
   16075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16076 /* end confdefs.h.  */
   16077 int i;
   16078 int
   16079 main ()
   16080 {
   16081 
   16082   ;
   16083   return 0;
   16084 }
   16085 _ACEOF
   16086 if ac_fn_c_try_link "$LINENO"; then :
   16087   eval $cacheid=yes
   16088 else
   16089   eval $cacheid=no
   16090 fi
   16091 rm -f core conftest.err conftest.$ac_objext \
   16092     conftest$ac_exeext conftest.$ac_ext
   16093 fi
   16094 
   16095 
   16096 		CFLAGS="$xorg_testset_save_CFLAGS"
   16097 
   16098 		eval supported=\$$cacheid
   16099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16100 $as_echo "$supported" >&6; }
   16101 		if test "$supported" = "yes" ; then
   16102 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   16103 			found="yes"
   16104 		fi
   16105 	fi
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 xorg_testset_save_CFLAGS="$CFLAGS"
   16122 
   16123 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16124 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16126 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16127 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16128   $as_echo_n "(cached) " >&6
   16129 else
   16130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16131 /* end confdefs.h.  */
   16132 int i;
   16133 _ACEOF
   16134 if ac_fn_c_try_compile "$LINENO"; then :
   16135   xorg_cv_cc_flag_unknown_warning_option=yes
   16136 else
   16137   xorg_cv_cc_flag_unknown_warning_option=no
   16138 fi
   16139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16140 fi
   16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16142 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16143 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16144 	CFLAGS="$xorg_testset_save_CFLAGS"
   16145 fi
   16146 
   16147 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16148 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16149 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16150 	fi
   16151 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16152 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16153 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16154 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16155   $as_echo_n "(cached) " >&6
   16156 else
   16157   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16158 /* end confdefs.h.  */
   16159 int i;
   16160 _ACEOF
   16161 if ac_fn_c_try_compile "$LINENO"; then :
   16162   xorg_cv_cc_flag_unused_command_line_argument=yes
   16163 else
   16164   xorg_cv_cc_flag_unused_command_line_argument=no
   16165 fi
   16166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16167 fi
   16168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16169 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16170 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16171 	CFLAGS="$xorg_testset_save_CFLAGS"
   16172 fi
   16173 
   16174 found="no"
   16175 
   16176 	if test $found = "no" ; then
   16177 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16178 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16179 		fi
   16180 
   16181 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16182 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16183 		fi
   16184 
   16185 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   16186 
   16187 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   16188 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   16189 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   16190 		if eval \${$cacheid+:} false; then :
   16191   $as_echo_n "(cached) " >&6
   16192 else
   16193   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16194 /* end confdefs.h.  */
   16195 int i;
   16196 int
   16197 main ()
   16198 {
   16199 
   16200   ;
   16201   return 0;
   16202 }
   16203 _ACEOF
   16204 if ac_fn_c_try_link "$LINENO"; then :
   16205   eval $cacheid=yes
   16206 else
   16207   eval $cacheid=no
   16208 fi
   16209 rm -f core conftest.err conftest.$ac_objext \
   16210     conftest$ac_exeext conftest.$ac_ext
   16211 fi
   16212 
   16213 
   16214 		CFLAGS="$xorg_testset_save_CFLAGS"
   16215 
   16216 		eval supported=\$$cacheid
   16217 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16218 $as_echo "$supported" >&6; }
   16219 		if test "$supported" = "yes" ; then
   16220 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   16221 			found="yes"
   16222 		fi
   16223 	fi
   16224 
   16225 	if test $found = "no" ; then
   16226 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16227 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16228 		fi
   16229 
   16230 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16231 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16232 		fi
   16233 
   16234 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16235 
   16236 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   16237 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   16238 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   16239 		if eval \${$cacheid+:} false; then :
   16240   $as_echo_n "(cached) " >&6
   16241 else
   16242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16243 /* end confdefs.h.  */
   16244 int i;
   16245 int
   16246 main ()
   16247 {
   16248 
   16249   ;
   16250   return 0;
   16251 }
   16252 _ACEOF
   16253 if ac_fn_c_try_link "$LINENO"; then :
   16254   eval $cacheid=yes
   16255 else
   16256   eval $cacheid=no
   16257 fi
   16258 rm -f core conftest.err conftest.$ac_objext \
   16259     conftest$ac_exeext conftest.$ac_ext
   16260 fi
   16261 
   16262 
   16263 		CFLAGS="$xorg_testset_save_CFLAGS"
   16264 
   16265 		eval supported=\$$cacheid
   16266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16267 $as_echo "$supported" >&6; }
   16268 		if test "$supported" = "yes" ; then
   16269 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   16270 			found="yes"
   16271 		fi
   16272 	fi
   16273 
   16274 
   16275 
   16276 
   16277 
   16278 
   16279 
   16280 
   16281 
   16282 
   16283 
   16284 
   16285 
   16286 
   16287 
   16288 xorg_testset_save_CFLAGS="$CFLAGS"
   16289 
   16290 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16291 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16292 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16293 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16294 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16295   $as_echo_n "(cached) " >&6
   16296 else
   16297   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16298 /* end confdefs.h.  */
   16299 int i;
   16300 _ACEOF
   16301 if ac_fn_c_try_compile "$LINENO"; then :
   16302   xorg_cv_cc_flag_unknown_warning_option=yes
   16303 else
   16304   xorg_cv_cc_flag_unknown_warning_option=no
   16305 fi
   16306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16307 fi
   16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16309 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16310 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16311 	CFLAGS="$xorg_testset_save_CFLAGS"
   16312 fi
   16313 
   16314 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16315 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16316 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16317 	fi
   16318 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16319 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16320 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16321 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16322   $as_echo_n "(cached) " >&6
   16323 else
   16324   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16325 /* end confdefs.h.  */
   16326 int i;
   16327 _ACEOF
   16328 if ac_fn_c_try_compile "$LINENO"; then :
   16329   xorg_cv_cc_flag_unused_command_line_argument=yes
   16330 else
   16331   xorg_cv_cc_flag_unused_command_line_argument=no
   16332 fi
   16333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16334 fi
   16335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16336 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16337 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16338 	CFLAGS="$xorg_testset_save_CFLAGS"
   16339 fi
   16340 
   16341 found="no"
   16342 
   16343 	if test $found = "no" ; then
   16344 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16345 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16346 		fi
   16347 
   16348 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16349 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16350 		fi
   16351 
   16352 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   16353 
   16354 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   16355 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   16356 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   16357 		if eval \${$cacheid+:} false; then :
   16358   $as_echo_n "(cached) " >&6
   16359 else
   16360   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16361 /* end confdefs.h.  */
   16362 int i;
   16363 int
   16364 main ()
   16365 {
   16366 
   16367   ;
   16368   return 0;
   16369 }
   16370 _ACEOF
   16371 if ac_fn_c_try_link "$LINENO"; then :
   16372   eval $cacheid=yes
   16373 else
   16374   eval $cacheid=no
   16375 fi
   16376 rm -f core conftest.err conftest.$ac_objext \
   16377     conftest$ac_exeext conftest.$ac_ext
   16378 fi
   16379 
   16380 
   16381 		CFLAGS="$xorg_testset_save_CFLAGS"
   16382 
   16383 		eval supported=\$$cacheid
   16384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16385 $as_echo "$supported" >&6; }
   16386 		if test "$supported" = "yes" ; then
   16387 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   16388 			found="yes"
   16389 		fi
   16390 	fi
   16391 
   16392  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   16393 else
   16394 { $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
   16395 $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;}
   16396 
   16397 
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 
   16408 
   16409 xorg_testset_save_CFLAGS="$CFLAGS"
   16410 
   16411 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16412 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16413 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16414 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16415 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16416   $as_echo_n "(cached) " >&6
   16417 else
   16418   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16419 /* end confdefs.h.  */
   16420 int i;
   16421 _ACEOF
   16422 if ac_fn_c_try_compile "$LINENO"; then :
   16423   xorg_cv_cc_flag_unknown_warning_option=yes
   16424 else
   16425   xorg_cv_cc_flag_unknown_warning_option=no
   16426 fi
   16427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16428 fi
   16429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16430 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16431 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16432 	CFLAGS="$xorg_testset_save_CFLAGS"
   16433 fi
   16434 
   16435 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16436 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16437 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16438 	fi
   16439 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16441 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16442 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16443   $as_echo_n "(cached) " >&6
   16444 else
   16445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16446 /* end confdefs.h.  */
   16447 int i;
   16448 _ACEOF
   16449 if ac_fn_c_try_compile "$LINENO"; then :
   16450   xorg_cv_cc_flag_unused_command_line_argument=yes
   16451 else
   16452   xorg_cv_cc_flag_unused_command_line_argument=no
   16453 fi
   16454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16455 fi
   16456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16457 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16458 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16459 	CFLAGS="$xorg_testset_save_CFLAGS"
   16460 fi
   16461 
   16462 found="no"
   16463 
   16464 	if test $found = "no" ; then
   16465 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16466 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16467 		fi
   16468 
   16469 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16470 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16471 		fi
   16472 
   16473 		CFLAGS="$CFLAGS -Wimplicit"
   16474 
   16475 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   16476 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   16477 		cacheid=xorg_cv_cc_flag__Wimplicit
   16478 		if eval \${$cacheid+:} false; then :
   16479   $as_echo_n "(cached) " >&6
   16480 else
   16481   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16482 /* end confdefs.h.  */
   16483 int i;
   16484 int
   16485 main ()
   16486 {
   16487 
   16488   ;
   16489   return 0;
   16490 }
   16491 _ACEOF
   16492 if ac_fn_c_try_link "$LINENO"; then :
   16493   eval $cacheid=yes
   16494 else
   16495   eval $cacheid=no
   16496 fi
   16497 rm -f core conftest.err conftest.$ac_objext \
   16498     conftest$ac_exeext conftest.$ac_ext
   16499 fi
   16500 
   16501 
   16502 		CFLAGS="$xorg_testset_save_CFLAGS"
   16503 
   16504 		eval supported=\$$cacheid
   16505 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16506 $as_echo "$supported" >&6; }
   16507 		if test "$supported" = "yes" ; then
   16508 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   16509 			found="yes"
   16510 		fi
   16511 	fi
   16512 
   16513 
   16514 
   16515 
   16516 
   16517 
   16518 
   16519 
   16520 
   16521 
   16522 
   16523 
   16524 
   16525 
   16526 
   16527 xorg_testset_save_CFLAGS="$CFLAGS"
   16528 
   16529 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16530 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16531 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16532 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16533 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16534   $as_echo_n "(cached) " >&6
   16535 else
   16536   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16537 /* end confdefs.h.  */
   16538 int i;
   16539 _ACEOF
   16540 if ac_fn_c_try_compile "$LINENO"; then :
   16541   xorg_cv_cc_flag_unknown_warning_option=yes
   16542 else
   16543   xorg_cv_cc_flag_unknown_warning_option=no
   16544 fi
   16545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16546 fi
   16547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16548 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16549 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16550 	CFLAGS="$xorg_testset_save_CFLAGS"
   16551 fi
   16552 
   16553 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16554 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16555 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16556 	fi
   16557 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16559 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16560 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16561   $as_echo_n "(cached) " >&6
   16562 else
   16563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16564 /* end confdefs.h.  */
   16565 int i;
   16566 _ACEOF
   16567 if ac_fn_c_try_compile "$LINENO"; then :
   16568   xorg_cv_cc_flag_unused_command_line_argument=yes
   16569 else
   16570   xorg_cv_cc_flag_unused_command_line_argument=no
   16571 fi
   16572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16573 fi
   16574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16575 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16576 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16577 	CFLAGS="$xorg_testset_save_CFLAGS"
   16578 fi
   16579 
   16580 found="no"
   16581 
   16582 	if test $found = "no" ; then
   16583 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16584 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16585 		fi
   16586 
   16587 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16588 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16589 		fi
   16590 
   16591 		CFLAGS="$CFLAGS -Wnonnull"
   16592 
   16593 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   16594 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   16595 		cacheid=xorg_cv_cc_flag__Wnonnull
   16596 		if eval \${$cacheid+:} false; then :
   16597   $as_echo_n "(cached) " >&6
   16598 else
   16599   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16600 /* end confdefs.h.  */
   16601 int i;
   16602 int
   16603 main ()
   16604 {
   16605 
   16606   ;
   16607   return 0;
   16608 }
   16609 _ACEOF
   16610 if ac_fn_c_try_link "$LINENO"; then :
   16611   eval $cacheid=yes
   16612 else
   16613   eval $cacheid=no
   16614 fi
   16615 rm -f core conftest.err conftest.$ac_objext \
   16616     conftest$ac_exeext conftest.$ac_ext
   16617 fi
   16618 
   16619 
   16620 		CFLAGS="$xorg_testset_save_CFLAGS"
   16621 
   16622 		eval supported=\$$cacheid
   16623 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16624 $as_echo "$supported" >&6; }
   16625 		if test "$supported" = "yes" ; then
   16626 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   16627 			found="yes"
   16628 		fi
   16629 	fi
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 
   16636 
   16637 
   16638 
   16639 
   16640 
   16641 
   16642 
   16643 
   16644 
   16645 xorg_testset_save_CFLAGS="$CFLAGS"
   16646 
   16647 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16648 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16650 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16651 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16652   $as_echo_n "(cached) " >&6
   16653 else
   16654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16655 /* end confdefs.h.  */
   16656 int i;
   16657 _ACEOF
   16658 if ac_fn_c_try_compile "$LINENO"; then :
   16659   xorg_cv_cc_flag_unknown_warning_option=yes
   16660 else
   16661   xorg_cv_cc_flag_unknown_warning_option=no
   16662 fi
   16663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16664 fi
   16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16666 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16667 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16668 	CFLAGS="$xorg_testset_save_CFLAGS"
   16669 fi
   16670 
   16671 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16672 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16673 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16674 	fi
   16675 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16677 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16678 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16679   $as_echo_n "(cached) " >&6
   16680 else
   16681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16682 /* end confdefs.h.  */
   16683 int i;
   16684 _ACEOF
   16685 if ac_fn_c_try_compile "$LINENO"; then :
   16686   xorg_cv_cc_flag_unused_command_line_argument=yes
   16687 else
   16688   xorg_cv_cc_flag_unused_command_line_argument=no
   16689 fi
   16690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16691 fi
   16692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16693 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16694 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16695 	CFLAGS="$xorg_testset_save_CFLAGS"
   16696 fi
   16697 
   16698 found="no"
   16699 
   16700 	if test $found = "no" ; then
   16701 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16702 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16703 		fi
   16704 
   16705 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16706 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16707 		fi
   16708 
   16709 		CFLAGS="$CFLAGS -Winit-self"
   16710 
   16711 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   16712 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   16713 		cacheid=xorg_cv_cc_flag__Winit_self
   16714 		if eval \${$cacheid+:} false; then :
   16715   $as_echo_n "(cached) " >&6
   16716 else
   16717   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16718 /* end confdefs.h.  */
   16719 int i;
   16720 int
   16721 main ()
   16722 {
   16723 
   16724   ;
   16725   return 0;
   16726 }
   16727 _ACEOF
   16728 if ac_fn_c_try_link "$LINENO"; then :
   16729   eval $cacheid=yes
   16730 else
   16731   eval $cacheid=no
   16732 fi
   16733 rm -f core conftest.err conftest.$ac_objext \
   16734     conftest$ac_exeext conftest.$ac_ext
   16735 fi
   16736 
   16737 
   16738 		CFLAGS="$xorg_testset_save_CFLAGS"
   16739 
   16740 		eval supported=\$$cacheid
   16741 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16742 $as_echo "$supported" >&6; }
   16743 		if test "$supported" = "yes" ; then
   16744 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   16745 			found="yes"
   16746 		fi
   16747 	fi
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 xorg_testset_save_CFLAGS="$CFLAGS"
   16764 
   16765 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16766 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16767 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16768 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16769 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16770   $as_echo_n "(cached) " >&6
   16771 else
   16772   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16773 /* end confdefs.h.  */
   16774 int i;
   16775 _ACEOF
   16776 if ac_fn_c_try_compile "$LINENO"; then :
   16777   xorg_cv_cc_flag_unknown_warning_option=yes
   16778 else
   16779   xorg_cv_cc_flag_unknown_warning_option=no
   16780 fi
   16781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16782 fi
   16783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16784 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16785 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16786 	CFLAGS="$xorg_testset_save_CFLAGS"
   16787 fi
   16788 
   16789 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16790 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16791 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16792 	fi
   16793 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16795 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16796 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16797   $as_echo_n "(cached) " >&6
   16798 else
   16799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16800 /* end confdefs.h.  */
   16801 int i;
   16802 _ACEOF
   16803 if ac_fn_c_try_compile "$LINENO"; then :
   16804   xorg_cv_cc_flag_unused_command_line_argument=yes
   16805 else
   16806   xorg_cv_cc_flag_unused_command_line_argument=no
   16807 fi
   16808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16809 fi
   16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16811 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16812 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16813 	CFLAGS="$xorg_testset_save_CFLAGS"
   16814 fi
   16815 
   16816 found="no"
   16817 
   16818 	if test $found = "no" ; then
   16819 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16820 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16821 		fi
   16822 
   16823 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16824 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16825 		fi
   16826 
   16827 		CFLAGS="$CFLAGS -Wmain"
   16828 
   16829 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   16830 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   16831 		cacheid=xorg_cv_cc_flag__Wmain
   16832 		if eval \${$cacheid+:} false; then :
   16833   $as_echo_n "(cached) " >&6
   16834 else
   16835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16836 /* end confdefs.h.  */
   16837 int i;
   16838 int
   16839 main ()
   16840 {
   16841 
   16842   ;
   16843   return 0;
   16844 }
   16845 _ACEOF
   16846 if ac_fn_c_try_link "$LINENO"; then :
   16847   eval $cacheid=yes
   16848 else
   16849   eval $cacheid=no
   16850 fi
   16851 rm -f core conftest.err conftest.$ac_objext \
   16852     conftest$ac_exeext conftest.$ac_ext
   16853 fi
   16854 
   16855 
   16856 		CFLAGS="$xorg_testset_save_CFLAGS"
   16857 
   16858 		eval supported=\$$cacheid
   16859 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16860 $as_echo "$supported" >&6; }
   16861 		if test "$supported" = "yes" ; then
   16862 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   16863 			found="yes"
   16864 		fi
   16865 	fi
   16866 
   16867 
   16868 
   16869 
   16870 
   16871 
   16872 
   16873 
   16874 
   16875 
   16876 
   16877 
   16878 
   16879 
   16880 
   16881 xorg_testset_save_CFLAGS="$CFLAGS"
   16882 
   16883 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   16884 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16885 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   16886 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   16887 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   16888   $as_echo_n "(cached) " >&6
   16889 else
   16890   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16891 /* end confdefs.h.  */
   16892 int i;
   16893 _ACEOF
   16894 if ac_fn_c_try_compile "$LINENO"; then :
   16895   xorg_cv_cc_flag_unknown_warning_option=yes
   16896 else
   16897   xorg_cv_cc_flag_unknown_warning_option=no
   16898 fi
   16899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16900 fi
   16901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   16902 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   16903 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   16904 	CFLAGS="$xorg_testset_save_CFLAGS"
   16905 fi
   16906 
   16907 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   16908 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16909 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16910 	fi
   16911 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16912 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   16913 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   16914 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   16915   $as_echo_n "(cached) " >&6
   16916 else
   16917   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16918 /* end confdefs.h.  */
   16919 int i;
   16920 _ACEOF
   16921 if ac_fn_c_try_compile "$LINENO"; then :
   16922   xorg_cv_cc_flag_unused_command_line_argument=yes
   16923 else
   16924   xorg_cv_cc_flag_unused_command_line_argument=no
   16925 fi
   16926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   16927 fi
   16928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   16929 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   16930 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   16931 	CFLAGS="$xorg_testset_save_CFLAGS"
   16932 fi
   16933 
   16934 found="no"
   16935 
   16936 	if test $found = "no" ; then
   16937 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   16938 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   16939 		fi
   16940 
   16941 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   16942 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   16943 		fi
   16944 
   16945 		CFLAGS="$CFLAGS -Wmissing-braces"
   16946 
   16947 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   16948 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   16949 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   16950 		if eval \${$cacheid+:} false; then :
   16951   $as_echo_n "(cached) " >&6
   16952 else
   16953   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16954 /* end confdefs.h.  */
   16955 int i;
   16956 int
   16957 main ()
   16958 {
   16959 
   16960   ;
   16961   return 0;
   16962 }
   16963 _ACEOF
   16964 if ac_fn_c_try_link "$LINENO"; then :
   16965   eval $cacheid=yes
   16966 else
   16967   eval $cacheid=no
   16968 fi
   16969 rm -f core conftest.err conftest.$ac_objext \
   16970     conftest$ac_exeext conftest.$ac_ext
   16971 fi
   16972 
   16973 
   16974 		CFLAGS="$xorg_testset_save_CFLAGS"
   16975 
   16976 		eval supported=\$$cacheid
   16977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   16978 $as_echo "$supported" >&6; }
   16979 		if test "$supported" = "yes" ; then
   16980 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   16981 			found="yes"
   16982 		fi
   16983 	fi
   16984 
   16985 
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 xorg_testset_save_CFLAGS="$CFLAGS"
   17000 
   17001 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17002 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17003 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17004 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17005 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17006   $as_echo_n "(cached) " >&6
   17007 else
   17008   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17009 /* end confdefs.h.  */
   17010 int i;
   17011 _ACEOF
   17012 if ac_fn_c_try_compile "$LINENO"; then :
   17013   xorg_cv_cc_flag_unknown_warning_option=yes
   17014 else
   17015   xorg_cv_cc_flag_unknown_warning_option=no
   17016 fi
   17017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17018 fi
   17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17020 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17021 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17022 	CFLAGS="$xorg_testset_save_CFLAGS"
   17023 fi
   17024 
   17025 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17026 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17027 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17028 	fi
   17029 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17030 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17031 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17032 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17033   $as_echo_n "(cached) " >&6
   17034 else
   17035   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17036 /* end confdefs.h.  */
   17037 int i;
   17038 _ACEOF
   17039 if ac_fn_c_try_compile "$LINENO"; then :
   17040   xorg_cv_cc_flag_unused_command_line_argument=yes
   17041 else
   17042   xorg_cv_cc_flag_unused_command_line_argument=no
   17043 fi
   17044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17045 fi
   17046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17047 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17048 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17049 	CFLAGS="$xorg_testset_save_CFLAGS"
   17050 fi
   17051 
   17052 found="no"
   17053 
   17054 	if test $found = "no" ; then
   17055 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17056 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17057 		fi
   17058 
   17059 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17060 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17061 		fi
   17062 
   17063 		CFLAGS="$CFLAGS -Wsequence-point"
   17064 
   17065 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   17066 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   17067 		cacheid=xorg_cv_cc_flag__Wsequence_point
   17068 		if eval \${$cacheid+:} false; then :
   17069   $as_echo_n "(cached) " >&6
   17070 else
   17071   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17072 /* end confdefs.h.  */
   17073 int i;
   17074 int
   17075 main ()
   17076 {
   17077 
   17078   ;
   17079   return 0;
   17080 }
   17081 _ACEOF
   17082 if ac_fn_c_try_link "$LINENO"; then :
   17083   eval $cacheid=yes
   17084 else
   17085   eval $cacheid=no
   17086 fi
   17087 rm -f core conftest.err conftest.$ac_objext \
   17088     conftest$ac_exeext conftest.$ac_ext
   17089 fi
   17090 
   17091 
   17092 		CFLAGS="$xorg_testset_save_CFLAGS"
   17093 
   17094 		eval supported=\$$cacheid
   17095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17096 $as_echo "$supported" >&6; }
   17097 		if test "$supported" = "yes" ; then
   17098 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   17099 			found="yes"
   17100 		fi
   17101 	fi
   17102 
   17103 
   17104 
   17105 
   17106 
   17107 
   17108 
   17109 
   17110 
   17111 
   17112 
   17113 
   17114 
   17115 
   17116 
   17117 xorg_testset_save_CFLAGS="$CFLAGS"
   17118 
   17119 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17120 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17121 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17122 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17123 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17124   $as_echo_n "(cached) " >&6
   17125 else
   17126   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17127 /* end confdefs.h.  */
   17128 int i;
   17129 _ACEOF
   17130 if ac_fn_c_try_compile "$LINENO"; then :
   17131   xorg_cv_cc_flag_unknown_warning_option=yes
   17132 else
   17133   xorg_cv_cc_flag_unknown_warning_option=no
   17134 fi
   17135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17136 fi
   17137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17138 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17139 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17140 	CFLAGS="$xorg_testset_save_CFLAGS"
   17141 fi
   17142 
   17143 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17144 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17145 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17146 	fi
   17147 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17148 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17149 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17150 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17151   $as_echo_n "(cached) " >&6
   17152 else
   17153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17154 /* end confdefs.h.  */
   17155 int i;
   17156 _ACEOF
   17157 if ac_fn_c_try_compile "$LINENO"; then :
   17158   xorg_cv_cc_flag_unused_command_line_argument=yes
   17159 else
   17160   xorg_cv_cc_flag_unused_command_line_argument=no
   17161 fi
   17162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17163 fi
   17164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17165 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17166 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17167 	CFLAGS="$xorg_testset_save_CFLAGS"
   17168 fi
   17169 
   17170 found="no"
   17171 
   17172 	if test $found = "no" ; then
   17173 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17174 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17175 		fi
   17176 
   17177 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17178 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17179 		fi
   17180 
   17181 		CFLAGS="$CFLAGS -Wreturn-type"
   17182 
   17183 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   17184 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   17185 		cacheid=xorg_cv_cc_flag__Wreturn_type
   17186 		if eval \${$cacheid+:} false; then :
   17187   $as_echo_n "(cached) " >&6
   17188 else
   17189   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17190 /* end confdefs.h.  */
   17191 int i;
   17192 int
   17193 main ()
   17194 {
   17195 
   17196   ;
   17197   return 0;
   17198 }
   17199 _ACEOF
   17200 if ac_fn_c_try_link "$LINENO"; then :
   17201   eval $cacheid=yes
   17202 else
   17203   eval $cacheid=no
   17204 fi
   17205 rm -f core conftest.err conftest.$ac_objext \
   17206     conftest$ac_exeext conftest.$ac_ext
   17207 fi
   17208 
   17209 
   17210 		CFLAGS="$xorg_testset_save_CFLAGS"
   17211 
   17212 		eval supported=\$$cacheid
   17213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17214 $as_echo "$supported" >&6; }
   17215 		if test "$supported" = "yes" ; then
   17216 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   17217 			found="yes"
   17218 		fi
   17219 	fi
   17220 
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 xorg_testset_save_CFLAGS="$CFLAGS"
   17236 
   17237 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17238 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17240 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17241 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17242   $as_echo_n "(cached) " >&6
   17243 else
   17244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17245 /* end confdefs.h.  */
   17246 int i;
   17247 _ACEOF
   17248 if ac_fn_c_try_compile "$LINENO"; then :
   17249   xorg_cv_cc_flag_unknown_warning_option=yes
   17250 else
   17251   xorg_cv_cc_flag_unknown_warning_option=no
   17252 fi
   17253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17254 fi
   17255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17256 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17257 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17258 	CFLAGS="$xorg_testset_save_CFLAGS"
   17259 fi
   17260 
   17261 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17262 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17263 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17264 	fi
   17265 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17266 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17267 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17268 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17269   $as_echo_n "(cached) " >&6
   17270 else
   17271   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17272 /* end confdefs.h.  */
   17273 int i;
   17274 _ACEOF
   17275 if ac_fn_c_try_compile "$LINENO"; then :
   17276   xorg_cv_cc_flag_unused_command_line_argument=yes
   17277 else
   17278   xorg_cv_cc_flag_unused_command_line_argument=no
   17279 fi
   17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17281 fi
   17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17283 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17284 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17285 	CFLAGS="$xorg_testset_save_CFLAGS"
   17286 fi
   17287 
   17288 found="no"
   17289 
   17290 	if test $found = "no" ; then
   17291 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17292 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17293 		fi
   17294 
   17295 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17296 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17297 		fi
   17298 
   17299 		CFLAGS="$CFLAGS -Wtrigraphs"
   17300 
   17301 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   17302 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   17303 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   17304 		if eval \${$cacheid+:} false; then :
   17305   $as_echo_n "(cached) " >&6
   17306 else
   17307   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17308 /* end confdefs.h.  */
   17309 int i;
   17310 int
   17311 main ()
   17312 {
   17313 
   17314   ;
   17315   return 0;
   17316 }
   17317 _ACEOF
   17318 if ac_fn_c_try_link "$LINENO"; then :
   17319   eval $cacheid=yes
   17320 else
   17321   eval $cacheid=no
   17322 fi
   17323 rm -f core conftest.err conftest.$ac_objext \
   17324     conftest$ac_exeext conftest.$ac_ext
   17325 fi
   17326 
   17327 
   17328 		CFLAGS="$xorg_testset_save_CFLAGS"
   17329 
   17330 		eval supported=\$$cacheid
   17331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17332 $as_echo "$supported" >&6; }
   17333 		if test "$supported" = "yes" ; then
   17334 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   17335 			found="yes"
   17336 		fi
   17337 	fi
   17338 
   17339 
   17340 
   17341 
   17342 
   17343 
   17344 
   17345 
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352 
   17353 xorg_testset_save_CFLAGS="$CFLAGS"
   17354 
   17355 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17356 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17358 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17359 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17360   $as_echo_n "(cached) " >&6
   17361 else
   17362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17363 /* end confdefs.h.  */
   17364 int i;
   17365 _ACEOF
   17366 if ac_fn_c_try_compile "$LINENO"; then :
   17367   xorg_cv_cc_flag_unknown_warning_option=yes
   17368 else
   17369   xorg_cv_cc_flag_unknown_warning_option=no
   17370 fi
   17371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17372 fi
   17373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17374 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17375 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17376 	CFLAGS="$xorg_testset_save_CFLAGS"
   17377 fi
   17378 
   17379 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17380 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17381 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17382 	fi
   17383 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17384 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17385 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17386 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17387   $as_echo_n "(cached) " >&6
   17388 else
   17389   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17390 /* end confdefs.h.  */
   17391 int i;
   17392 _ACEOF
   17393 if ac_fn_c_try_compile "$LINENO"; then :
   17394   xorg_cv_cc_flag_unused_command_line_argument=yes
   17395 else
   17396   xorg_cv_cc_flag_unused_command_line_argument=no
   17397 fi
   17398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17399 fi
   17400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17401 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17402 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17403 	CFLAGS="$xorg_testset_save_CFLAGS"
   17404 fi
   17405 
   17406 found="no"
   17407 
   17408 	if test $found = "no" ; then
   17409 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17410 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17411 		fi
   17412 
   17413 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17414 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17415 		fi
   17416 
   17417 		CFLAGS="$CFLAGS -Warray-bounds"
   17418 
   17419 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   17420 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   17421 		cacheid=xorg_cv_cc_flag__Warray_bounds
   17422 		if eval \${$cacheid+:} false; then :
   17423   $as_echo_n "(cached) " >&6
   17424 else
   17425   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17426 /* end confdefs.h.  */
   17427 int i;
   17428 int
   17429 main ()
   17430 {
   17431 
   17432   ;
   17433   return 0;
   17434 }
   17435 _ACEOF
   17436 if ac_fn_c_try_link "$LINENO"; then :
   17437   eval $cacheid=yes
   17438 else
   17439   eval $cacheid=no
   17440 fi
   17441 rm -f core conftest.err conftest.$ac_objext \
   17442     conftest$ac_exeext conftest.$ac_ext
   17443 fi
   17444 
   17445 
   17446 		CFLAGS="$xorg_testset_save_CFLAGS"
   17447 
   17448 		eval supported=\$$cacheid
   17449 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17450 $as_echo "$supported" >&6; }
   17451 		if test "$supported" = "yes" ; then
   17452 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   17453 			found="yes"
   17454 		fi
   17455 	fi
   17456 
   17457 
   17458 
   17459 
   17460 
   17461 
   17462 
   17463 
   17464 
   17465 
   17466 
   17467 
   17468 
   17469 
   17470 
   17471 xorg_testset_save_CFLAGS="$CFLAGS"
   17472 
   17473 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17474 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17476 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17477 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17478   $as_echo_n "(cached) " >&6
   17479 else
   17480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17481 /* end confdefs.h.  */
   17482 int i;
   17483 _ACEOF
   17484 if ac_fn_c_try_compile "$LINENO"; then :
   17485   xorg_cv_cc_flag_unknown_warning_option=yes
   17486 else
   17487   xorg_cv_cc_flag_unknown_warning_option=no
   17488 fi
   17489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17490 fi
   17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17492 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17493 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17494 	CFLAGS="$xorg_testset_save_CFLAGS"
   17495 fi
   17496 
   17497 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17498 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17499 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17500 	fi
   17501 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17502 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17503 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17504 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17505   $as_echo_n "(cached) " >&6
   17506 else
   17507   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17508 /* end confdefs.h.  */
   17509 int i;
   17510 _ACEOF
   17511 if ac_fn_c_try_compile "$LINENO"; then :
   17512   xorg_cv_cc_flag_unused_command_line_argument=yes
   17513 else
   17514   xorg_cv_cc_flag_unused_command_line_argument=no
   17515 fi
   17516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17517 fi
   17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17519 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17520 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17521 	CFLAGS="$xorg_testset_save_CFLAGS"
   17522 fi
   17523 
   17524 found="no"
   17525 
   17526 	if test $found = "no" ; then
   17527 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17528 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17529 		fi
   17530 
   17531 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17532 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17533 		fi
   17534 
   17535 		CFLAGS="$CFLAGS -Wwrite-strings"
   17536 
   17537 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   17538 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   17539 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   17540 		if eval \${$cacheid+:} false; then :
   17541   $as_echo_n "(cached) " >&6
   17542 else
   17543   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17544 /* end confdefs.h.  */
   17545 int i;
   17546 int
   17547 main ()
   17548 {
   17549 
   17550   ;
   17551   return 0;
   17552 }
   17553 _ACEOF
   17554 if ac_fn_c_try_link "$LINENO"; then :
   17555   eval $cacheid=yes
   17556 else
   17557   eval $cacheid=no
   17558 fi
   17559 rm -f core conftest.err conftest.$ac_objext \
   17560     conftest$ac_exeext conftest.$ac_ext
   17561 fi
   17562 
   17563 
   17564 		CFLAGS="$xorg_testset_save_CFLAGS"
   17565 
   17566 		eval supported=\$$cacheid
   17567 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17568 $as_echo "$supported" >&6; }
   17569 		if test "$supported" = "yes" ; then
   17570 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   17571 			found="yes"
   17572 		fi
   17573 	fi
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 xorg_testset_save_CFLAGS="$CFLAGS"
   17590 
   17591 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17592 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17594 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17595 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17596   $as_echo_n "(cached) " >&6
   17597 else
   17598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17599 /* end confdefs.h.  */
   17600 int i;
   17601 _ACEOF
   17602 if ac_fn_c_try_compile "$LINENO"; then :
   17603   xorg_cv_cc_flag_unknown_warning_option=yes
   17604 else
   17605   xorg_cv_cc_flag_unknown_warning_option=no
   17606 fi
   17607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17608 fi
   17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17610 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17611 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17612 	CFLAGS="$xorg_testset_save_CFLAGS"
   17613 fi
   17614 
   17615 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17616 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17617 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17618 	fi
   17619 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17620 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17621 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17622 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17623   $as_echo_n "(cached) " >&6
   17624 else
   17625   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17626 /* end confdefs.h.  */
   17627 int i;
   17628 _ACEOF
   17629 if ac_fn_c_try_compile "$LINENO"; then :
   17630   xorg_cv_cc_flag_unused_command_line_argument=yes
   17631 else
   17632   xorg_cv_cc_flag_unused_command_line_argument=no
   17633 fi
   17634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17635 fi
   17636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17637 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17638 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17639 	CFLAGS="$xorg_testset_save_CFLAGS"
   17640 fi
   17641 
   17642 found="no"
   17643 
   17644 	if test $found = "no" ; then
   17645 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17646 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17647 		fi
   17648 
   17649 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17650 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17651 		fi
   17652 
   17653 		CFLAGS="$CFLAGS -Waddress"
   17654 
   17655 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   17656 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   17657 		cacheid=xorg_cv_cc_flag__Waddress
   17658 		if eval \${$cacheid+:} false; then :
   17659   $as_echo_n "(cached) " >&6
   17660 else
   17661   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17662 /* end confdefs.h.  */
   17663 int i;
   17664 int
   17665 main ()
   17666 {
   17667 
   17668   ;
   17669   return 0;
   17670 }
   17671 _ACEOF
   17672 if ac_fn_c_try_link "$LINENO"; then :
   17673   eval $cacheid=yes
   17674 else
   17675   eval $cacheid=no
   17676 fi
   17677 rm -f core conftest.err conftest.$ac_objext \
   17678     conftest$ac_exeext conftest.$ac_ext
   17679 fi
   17680 
   17681 
   17682 		CFLAGS="$xorg_testset_save_CFLAGS"
   17683 
   17684 		eval supported=\$$cacheid
   17685 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17686 $as_echo "$supported" >&6; }
   17687 		if test "$supported" = "yes" ; then
   17688 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   17689 			found="yes"
   17690 		fi
   17691 	fi
   17692 
   17693 
   17694 
   17695 
   17696 
   17697 
   17698 
   17699 
   17700 
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 
   17707 xorg_testset_save_CFLAGS="$CFLAGS"
   17708 
   17709 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17710 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17712 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17713 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17714   $as_echo_n "(cached) " >&6
   17715 else
   17716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17717 /* end confdefs.h.  */
   17718 int i;
   17719 _ACEOF
   17720 if ac_fn_c_try_compile "$LINENO"; then :
   17721   xorg_cv_cc_flag_unknown_warning_option=yes
   17722 else
   17723   xorg_cv_cc_flag_unknown_warning_option=no
   17724 fi
   17725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17726 fi
   17727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17728 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17729 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17730 	CFLAGS="$xorg_testset_save_CFLAGS"
   17731 fi
   17732 
   17733 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17734 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17735 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17736 	fi
   17737 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17738 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17739 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17740 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17741   $as_echo_n "(cached) " >&6
   17742 else
   17743   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17744 /* end confdefs.h.  */
   17745 int i;
   17746 _ACEOF
   17747 if ac_fn_c_try_compile "$LINENO"; then :
   17748   xorg_cv_cc_flag_unused_command_line_argument=yes
   17749 else
   17750   xorg_cv_cc_flag_unused_command_line_argument=no
   17751 fi
   17752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17753 fi
   17754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17755 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17756 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17757 	CFLAGS="$xorg_testset_save_CFLAGS"
   17758 fi
   17759 
   17760 found="no"
   17761 
   17762 	if test $found = "no" ; then
   17763 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17764 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17765 		fi
   17766 
   17767 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17768 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17769 		fi
   17770 
   17771 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   17772 
   17773 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   17774 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   17775 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   17776 		if eval \${$cacheid+:} false; then :
   17777   $as_echo_n "(cached) " >&6
   17778 else
   17779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17780 /* end confdefs.h.  */
   17781 int i;
   17782 int
   17783 main ()
   17784 {
   17785 
   17786   ;
   17787   return 0;
   17788 }
   17789 _ACEOF
   17790 if ac_fn_c_try_link "$LINENO"; then :
   17791   eval $cacheid=yes
   17792 else
   17793   eval $cacheid=no
   17794 fi
   17795 rm -f core conftest.err conftest.$ac_objext \
   17796     conftest$ac_exeext conftest.$ac_ext
   17797 fi
   17798 
   17799 
   17800 		CFLAGS="$xorg_testset_save_CFLAGS"
   17801 
   17802 		eval supported=\$$cacheid
   17803 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17804 $as_echo "$supported" >&6; }
   17805 		if test "$supported" = "yes" ; then
   17806 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   17807 			found="yes"
   17808 		fi
   17809 	fi
   17810 
   17811 
   17812 
   17813 
   17814 
   17815 
   17816 
   17817 
   17818 
   17819 
   17820 
   17821 
   17822 
   17823 
   17824 
   17825 xorg_testset_save_CFLAGS="$CFLAGS"
   17826 
   17827 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17828 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17830 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17831 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17832   $as_echo_n "(cached) " >&6
   17833 else
   17834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17835 /* end confdefs.h.  */
   17836 int i;
   17837 _ACEOF
   17838 if ac_fn_c_try_compile "$LINENO"; then :
   17839   xorg_cv_cc_flag_unknown_warning_option=yes
   17840 else
   17841   xorg_cv_cc_flag_unknown_warning_option=no
   17842 fi
   17843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17844 fi
   17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17846 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17847 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17848 	CFLAGS="$xorg_testset_save_CFLAGS"
   17849 fi
   17850 
   17851 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   17852 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17853 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17854 	fi
   17855 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17856 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   17857 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   17858 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   17859   $as_echo_n "(cached) " >&6
   17860 else
   17861   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17862 /* end confdefs.h.  */
   17863 int i;
   17864 _ACEOF
   17865 if ac_fn_c_try_compile "$LINENO"; then :
   17866   xorg_cv_cc_flag_unused_command_line_argument=yes
   17867 else
   17868   xorg_cv_cc_flag_unused_command_line_argument=no
   17869 fi
   17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17871 fi
   17872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   17873 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   17874 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   17875 	CFLAGS="$xorg_testset_save_CFLAGS"
   17876 fi
   17877 
   17878 found="no"
   17879 
   17880 	if test $found = "no" ; then
   17881 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   17882 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17883 		fi
   17884 
   17885 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   17886 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   17887 		fi
   17888 
   17889 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   17890 
   17891 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   17892 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   17893 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   17894 		if eval \${$cacheid+:} false; then :
   17895   $as_echo_n "(cached) " >&6
   17896 else
   17897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17898 /* end confdefs.h.  */
   17899 int i;
   17900 int
   17901 main ()
   17902 {
   17903 
   17904   ;
   17905   return 0;
   17906 }
   17907 _ACEOF
   17908 if ac_fn_c_try_link "$LINENO"; then :
   17909   eval $cacheid=yes
   17910 else
   17911   eval $cacheid=no
   17912 fi
   17913 rm -f core conftest.err conftest.$ac_objext \
   17914     conftest$ac_exeext conftest.$ac_ext
   17915 fi
   17916 
   17917 
   17918 		CFLAGS="$xorg_testset_save_CFLAGS"
   17919 
   17920 		eval supported=\$$cacheid
   17921 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   17922 $as_echo "$supported" >&6; }
   17923 		if test "$supported" = "yes" ; then
   17924 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   17925 			found="yes"
   17926 		fi
   17927 	fi
   17928 
   17929 
   17930 fi
   17931 
   17932 
   17933 
   17934 
   17935 
   17936 
   17937 
   17938 		CWARNFLAGS="$BASE_CFLAGS"
   17939 		if  test "x$GCC" = xyes ; then
   17940 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   17941 		fi
   17942 
   17943 
   17944 
   17945 
   17946 
   17947 
   17948 
   17949 
   17950 # Check whether --enable-strict-compilation was given.
   17951 if test "${enable_strict_compilation+set}" = set; then :
   17952   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   17953 else
   17954   STRICT_COMPILE=no
   17955 fi
   17956 
   17957 
   17958 
   17959 
   17960 
   17961 
   17962 STRICT_CFLAGS=""
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976 xorg_testset_save_CFLAGS="$CFLAGS"
   17977 
   17978 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   17979 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   17980 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   17981 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   17982 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   17983   $as_echo_n "(cached) " >&6
   17984 else
   17985   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17986 /* end confdefs.h.  */
   17987 int i;
   17988 _ACEOF
   17989 if ac_fn_c_try_compile "$LINENO"; then :
   17990   xorg_cv_cc_flag_unknown_warning_option=yes
   17991 else
   17992   xorg_cv_cc_flag_unknown_warning_option=no
   17993 fi
   17994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17995 fi
   17996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   17997 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   17998 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   17999 	CFLAGS="$xorg_testset_save_CFLAGS"
   18000 fi
   18001 
   18002 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18003 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18004 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18005 	fi
   18006 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18007 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18008 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18009 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18010   $as_echo_n "(cached) " >&6
   18011 else
   18012   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18013 /* end confdefs.h.  */
   18014 int i;
   18015 _ACEOF
   18016 if ac_fn_c_try_compile "$LINENO"; then :
   18017   xorg_cv_cc_flag_unused_command_line_argument=yes
   18018 else
   18019   xorg_cv_cc_flag_unused_command_line_argument=no
   18020 fi
   18021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18022 fi
   18023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18024 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18025 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18026 	CFLAGS="$xorg_testset_save_CFLAGS"
   18027 fi
   18028 
   18029 found="no"
   18030 
   18031 	if test $found = "no" ; then
   18032 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18033 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18034 		fi
   18035 
   18036 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18037 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18038 		fi
   18039 
   18040 		CFLAGS="$CFLAGS -pedantic"
   18041 
   18042 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   18043 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   18044 		cacheid=xorg_cv_cc_flag__pedantic
   18045 		if eval \${$cacheid+:} false; then :
   18046   $as_echo_n "(cached) " >&6
   18047 else
   18048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18049 /* end confdefs.h.  */
   18050 int i;
   18051 int
   18052 main ()
   18053 {
   18054 
   18055   ;
   18056   return 0;
   18057 }
   18058 _ACEOF
   18059 if ac_fn_c_try_link "$LINENO"; then :
   18060   eval $cacheid=yes
   18061 else
   18062   eval $cacheid=no
   18063 fi
   18064 rm -f core conftest.err conftest.$ac_objext \
   18065     conftest$ac_exeext conftest.$ac_ext
   18066 fi
   18067 
   18068 
   18069 		CFLAGS="$xorg_testset_save_CFLAGS"
   18070 
   18071 		eval supported=\$$cacheid
   18072 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18073 $as_echo "$supported" >&6; }
   18074 		if test "$supported" = "yes" ; then
   18075 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   18076 			found="yes"
   18077 		fi
   18078 	fi
   18079 
   18080 
   18081 
   18082 
   18083 
   18084 
   18085 
   18086 
   18087 
   18088 
   18089 
   18090 
   18091 
   18092 
   18093 
   18094 xorg_testset_save_CFLAGS="$CFLAGS"
   18095 
   18096 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18097 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18098 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18099 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18100 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18101   $as_echo_n "(cached) " >&6
   18102 else
   18103   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18104 /* end confdefs.h.  */
   18105 int i;
   18106 _ACEOF
   18107 if ac_fn_c_try_compile "$LINENO"; then :
   18108   xorg_cv_cc_flag_unknown_warning_option=yes
   18109 else
   18110   xorg_cv_cc_flag_unknown_warning_option=no
   18111 fi
   18112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18113 fi
   18114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18115 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18116 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18117 	CFLAGS="$xorg_testset_save_CFLAGS"
   18118 fi
   18119 
   18120 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18121 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18122 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18123 	fi
   18124 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18125 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18126 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18127 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18128   $as_echo_n "(cached) " >&6
   18129 else
   18130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18131 /* end confdefs.h.  */
   18132 int i;
   18133 _ACEOF
   18134 if ac_fn_c_try_compile "$LINENO"; then :
   18135   xorg_cv_cc_flag_unused_command_line_argument=yes
   18136 else
   18137   xorg_cv_cc_flag_unused_command_line_argument=no
   18138 fi
   18139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18140 fi
   18141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18142 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18143 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18144 	CFLAGS="$xorg_testset_save_CFLAGS"
   18145 fi
   18146 
   18147 found="no"
   18148 
   18149 	if test $found = "no" ; then
   18150 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18151 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18152 		fi
   18153 
   18154 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18155 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18156 		fi
   18157 
   18158 		CFLAGS="$CFLAGS -Werror"
   18159 
   18160 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   18161 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   18162 		cacheid=xorg_cv_cc_flag__Werror
   18163 		if eval \${$cacheid+:} false; then :
   18164   $as_echo_n "(cached) " >&6
   18165 else
   18166   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18167 /* end confdefs.h.  */
   18168 int i;
   18169 int
   18170 main ()
   18171 {
   18172 
   18173   ;
   18174   return 0;
   18175 }
   18176 _ACEOF
   18177 if ac_fn_c_try_link "$LINENO"; then :
   18178   eval $cacheid=yes
   18179 else
   18180   eval $cacheid=no
   18181 fi
   18182 rm -f core conftest.err conftest.$ac_objext \
   18183     conftest$ac_exeext conftest.$ac_ext
   18184 fi
   18185 
   18186 
   18187 		CFLAGS="$xorg_testset_save_CFLAGS"
   18188 
   18189 		eval supported=\$$cacheid
   18190 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18191 $as_echo "$supported" >&6; }
   18192 		if test "$supported" = "yes" ; then
   18193 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   18194 			found="yes"
   18195 		fi
   18196 	fi
   18197 
   18198 	if test $found = "no" ; then
   18199 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18200 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18201 		fi
   18202 
   18203 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18204 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18205 		fi
   18206 
   18207 		CFLAGS="$CFLAGS -errwarn"
   18208 
   18209 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   18210 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   18211 		cacheid=xorg_cv_cc_flag__errwarn
   18212 		if eval \${$cacheid+:} false; then :
   18213   $as_echo_n "(cached) " >&6
   18214 else
   18215   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18216 /* end confdefs.h.  */
   18217 int i;
   18218 int
   18219 main ()
   18220 {
   18221 
   18222   ;
   18223   return 0;
   18224 }
   18225 _ACEOF
   18226 if ac_fn_c_try_link "$LINENO"; then :
   18227   eval $cacheid=yes
   18228 else
   18229   eval $cacheid=no
   18230 fi
   18231 rm -f core conftest.err conftest.$ac_objext \
   18232     conftest$ac_exeext conftest.$ac_ext
   18233 fi
   18234 
   18235 
   18236 		CFLAGS="$xorg_testset_save_CFLAGS"
   18237 
   18238 		eval supported=\$$cacheid
   18239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18240 $as_echo "$supported" >&6; }
   18241 		if test "$supported" = "yes" ; then
   18242 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   18243 			found="yes"
   18244 		fi
   18245 	fi
   18246 
   18247 
   18248 
   18249 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   18250 # activate it with -Werror, so we add it here explicitly.
   18251 
   18252 
   18253 
   18254 
   18255 
   18256 
   18257 
   18258 
   18259 
   18260 
   18261 
   18262 
   18263 
   18264 xorg_testset_save_CFLAGS="$CFLAGS"
   18265 
   18266 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   18267 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18268 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   18269 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   18270 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   18271   $as_echo_n "(cached) " >&6
   18272 else
   18273   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18274 /* end confdefs.h.  */
   18275 int i;
   18276 _ACEOF
   18277 if ac_fn_c_try_compile "$LINENO"; then :
   18278   xorg_cv_cc_flag_unknown_warning_option=yes
   18279 else
   18280   xorg_cv_cc_flag_unknown_warning_option=no
   18281 fi
   18282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18283 fi
   18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   18285 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   18286 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   18287 	CFLAGS="$xorg_testset_save_CFLAGS"
   18288 fi
   18289 
   18290 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   18291 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18292 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18293 	fi
   18294 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   18296 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   18297 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   18298   $as_echo_n "(cached) " >&6
   18299 else
   18300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18301 /* end confdefs.h.  */
   18302 int i;
   18303 _ACEOF
   18304 if ac_fn_c_try_compile "$LINENO"; then :
   18305   xorg_cv_cc_flag_unused_command_line_argument=yes
   18306 else
   18307   xorg_cv_cc_flag_unused_command_line_argument=no
   18308 fi
   18309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18310 fi
   18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   18312 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   18313 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   18314 	CFLAGS="$xorg_testset_save_CFLAGS"
   18315 fi
   18316 
   18317 found="no"
   18318 
   18319 	if test $found = "no" ; then
   18320 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   18321 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   18322 		fi
   18323 
   18324 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   18325 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   18326 		fi
   18327 
   18328 		CFLAGS="$CFLAGS -Werror=attributes"
   18329 
   18330 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   18331 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   18332 		cacheid=xorg_cv_cc_flag__Werror_attributes
   18333 		if eval \${$cacheid+:} false; then :
   18334   $as_echo_n "(cached) " >&6
   18335 else
   18336   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18337 /* end confdefs.h.  */
   18338 int i;
   18339 int
   18340 main ()
   18341 {
   18342 
   18343   ;
   18344   return 0;
   18345 }
   18346 _ACEOF
   18347 if ac_fn_c_try_link "$LINENO"; then :
   18348   eval $cacheid=yes
   18349 else
   18350   eval $cacheid=no
   18351 fi
   18352 rm -f core conftest.err conftest.$ac_objext \
   18353     conftest$ac_exeext conftest.$ac_ext
   18354 fi
   18355 
   18356 
   18357 		CFLAGS="$xorg_testset_save_CFLAGS"
   18358 
   18359 		eval supported=\$$cacheid
   18360 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   18361 $as_echo "$supported" >&6; }
   18362 		if test "$supported" = "yes" ; then
   18363 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   18364 			found="yes"
   18365 		fi
   18366 	fi
   18367 
   18368 
   18369 
   18370 if test "x$STRICT_COMPILE" = "xyes"; then
   18371     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   18372     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   18373 fi
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 
   18380 cat >>confdefs.h <<_ACEOF
   18381 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   18382 _ACEOF
   18383 
   18384 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   18385 	if test "x$PVM" = "x"; then
   18386 		PVM="0"
   18387 	fi
   18388 
   18389 cat >>confdefs.h <<_ACEOF
   18390 #define PACKAGE_VERSION_MINOR $PVM
   18391 _ACEOF
   18392 
   18393 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   18394 	if test "x$PVP" = "x"; then
   18395 		PVP="0"
   18396 	fi
   18397 
   18398 cat >>confdefs.h <<_ACEOF
   18399 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   18400 _ACEOF
   18401 
   18402 
   18403 
   18404 CHANGELOG_CMD="((GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp) 2>/dev/null && \
   18405 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   18406 || (rm -f \$(top_srcdir)/.changelog.tmp; test -e \$(top_srcdir)/ChangeLog || ( \
   18407 touch \$(top_srcdir)/ChangeLog; \
   18408 echo 'git failed to create ChangeLog: installing empty ChangeLog.' >&2))"
   18409 
   18410 
   18411 
   18412 
   18413 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   18414 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   18415 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   18416 || (rm -f \$(top_srcdir)/.INSTALL.tmp; test -e \$(top_srcdir)/INSTALL || ( \
   18417 touch \$(top_srcdir)/INSTALL; \
   18418 echo 'failed to copy INSTALL from util-macros: installing empty INSTALL.' >&2))"
   18419 
   18420 
   18421 
   18422 
   18423 
   18424 
   18425 case $host_os in
   18426     solaris*)
   18427         # Solaris 2.0 - 11.3 use SysV man page section numbers, so we
   18428         # check for a man page file found in later versions that use
   18429         # traditional section numbers instead
   18430         { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /usr/share/man/man7/attributes.7" >&5
   18431 $as_echo_n "checking for /usr/share/man/man7/attributes.7... " >&6; }
   18432 if ${ac_cv_file__usr_share_man_man7_attributes_7+:} false; then :
   18433   $as_echo_n "(cached) " >&6
   18434 else
   18435   test "$cross_compiling" = yes &&
   18436   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18437 if test -r "/usr/share/man/man7/attributes.7"; then
   18438   ac_cv_file__usr_share_man_man7_attributes_7=yes
   18439 else
   18440   ac_cv_file__usr_share_man_man7_attributes_7=no
   18441 fi
   18442 fi
   18443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_file__usr_share_man_man7_attributes_7" >&5
   18444 $as_echo "$ac_cv_file__usr_share_man_man7_attributes_7" >&6; }
   18445 if test "x$ac_cv_file__usr_share_man_man7_attributes_7" = xyes; then :
   18446   SYSV_MAN_SECTIONS=false
   18447 else
   18448   SYSV_MAN_SECTIONS=true
   18449 fi
   18450 
   18451         ;;
   18452     *) SYSV_MAN_SECTIONS=false ;;
   18453 esac
   18454 
   18455 if test x$APP_MAN_SUFFIX = x    ; then
   18456     APP_MAN_SUFFIX=1
   18457 fi
   18458 if test x$APP_MAN_DIR = x    ; then
   18459     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   18460 fi
   18461 
   18462 if test x$LIB_MAN_SUFFIX = x    ; then
   18463     LIB_MAN_SUFFIX=3
   18464 fi
   18465 if test x$LIB_MAN_DIR = x    ; then
   18466     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   18467 fi
   18468 
   18469 if test x$FILE_MAN_SUFFIX = x    ; then
   18470     case $SYSV_MAN_SECTIONS in
   18471 	true)				FILE_MAN_SUFFIX=4  ;;
   18472 	*)				FILE_MAN_SUFFIX=5  ;;
   18473     esac
   18474 fi
   18475 if test x$FILE_MAN_DIR = x    ; then
   18476     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   18477 fi
   18478 
   18479 if test x$MISC_MAN_SUFFIX = x    ; then
   18480     case $SYSV_MAN_SECTIONS in
   18481 	true)				MISC_MAN_SUFFIX=5  ;;
   18482 	*)				MISC_MAN_SUFFIX=7  ;;
   18483     esac
   18484 fi
   18485 if test x$MISC_MAN_DIR = x    ; then
   18486     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   18487 fi
   18488 
   18489 if test x$DRIVER_MAN_SUFFIX = x    ; then
   18490     case $SYSV_MAN_SECTIONS in
   18491 	true)				DRIVER_MAN_SUFFIX=7  ;;
   18492 	*)				DRIVER_MAN_SUFFIX=4  ;;
   18493     esac
   18494 fi
   18495 if test x$DRIVER_MAN_DIR = x    ; then
   18496     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   18497 fi
   18498 
   18499 if test x$ADMIN_MAN_SUFFIX = x    ; then
   18500     case $SYSV_MAN_SECTIONS in
   18501 	true)				ADMIN_MAN_SUFFIX=1m ;;
   18502 	*)				ADMIN_MAN_SUFFIX=8  ;;
   18503     esac
   18504 fi
   18505 if test x$ADMIN_MAN_DIR = x    ; then
   18506     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   18507 fi
   18508 
   18509 
   18510 
   18511 
   18512 
   18513 
   18514 
   18515 
   18516 
   18517 
   18518 
   18519 
   18520 
   18521 
   18522 
   18523 XORG_MAN_PAGE="X Version 11"
   18524 
   18525 MAN_SUBSTS="\
   18526 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18527 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   18528 	-e 's|__xservername__|Xorg|g' \
   18529 	-e 's|__xconfigfile__|xorg.conf|g' \
   18530 	-e 's|__projectroot__|\$(prefix)|g' \
   18531 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   18532 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   18533 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   18534 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   18535 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   18536 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   18537 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   18538 
   18539 
   18540 
   18541 # Check whether --enable-silent-rules was given.
   18542 if test "${enable_silent_rules+set}" = set; then :
   18543   enableval=$enable_silent_rules;
   18544 fi
   18545 
   18546 case $enable_silent_rules in # (((
   18547   yes) AM_DEFAULT_VERBOSITY=0;;
   18548    no) AM_DEFAULT_VERBOSITY=1;;
   18549     *) AM_DEFAULT_VERBOSITY=0;;
   18550 esac
   18551 am_make=${MAKE-make}
   18552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   18553 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   18554 if ${am_cv_make_support_nested_variables+:} false; then :
   18555   $as_echo_n "(cached) " >&6
   18556 else
   18557   if $as_echo 'TRUE=$(BAR$(V))
   18558 BAR0=false
   18559 BAR1=true
   18560 V=1
   18561 am__doit:
   18562 	@$(TRUE)
   18563 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   18564   am_cv_make_support_nested_variables=yes
   18565 else
   18566   am_cv_make_support_nested_variables=no
   18567 fi
   18568 fi
   18569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   18570 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   18571 if test $am_cv_make_support_nested_variables = yes; then
   18572     AM_V='$(V)'
   18573   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   18574 else
   18575   AM_V=$AM_DEFAULT_VERBOSITY
   18576   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   18577 fi
   18578 AM_BACKSLASH='\'
   18579 
   18580 
   18581 
   18582 # Check whether --enable-malloc0returnsnull was given.
   18583 if test "${enable_malloc0returnsnull+set}" = set; then :
   18584   enableval=$enable_malloc0returnsnull; MALLOC_ZERO_RETURNS_NULL=$enableval
   18585 else
   18586   MALLOC_ZERO_RETURNS_NULL=auto
   18587 fi
   18588 
   18589 
   18590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc(0) returns NULL" >&5
   18591 $as_echo_n "checking whether malloc(0) returns NULL... " >&6; }
   18592 if test "x$MALLOC_ZERO_RETURNS_NULL" = xauto; then
   18593 if ${xorg_cv_malloc0_returns_null+:} false; then :
   18594   $as_echo_n "(cached) " >&6
   18595 else
   18596   if test "$cross_compiling" = yes; then :
   18597   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18598 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18599 as_fn_error $? "cannot run test program while cross compiling
   18600 See \`config.log' for more details" "$LINENO" 5; }
   18601 else
   18602   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18603 /* end confdefs.h.  */
   18604 
   18605 #include <stdlib.h>
   18606 
   18607 int
   18608 main ()
   18609 {
   18610 
   18611     char *m0, *r0, *c0, *p;
   18612     m0 = malloc(0);
   18613     p = malloc(10);
   18614     r0 = realloc(p,0);
   18615     c0 = calloc(0,10);
   18616     exit((m0 == 0 || r0 == 0 || c0 == 0) ? 0 : 1);
   18617 
   18618   ;
   18619   return 0;
   18620 }
   18621 _ACEOF
   18622 if ac_fn_c_try_run "$LINENO"; then :
   18623   xorg_cv_malloc0_returns_null=yes
   18624 else
   18625   xorg_cv_malloc0_returns_null=no
   18626 fi
   18627 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   18628   conftest.$ac_objext conftest.beam conftest.$ac_ext
   18629 fi
   18630 
   18631 fi
   18632 
   18633 MALLOC_ZERO_RETURNS_NULL=$xorg_cv_malloc0_returns_null
   18634 fi
   18635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MALLOC_ZERO_RETURNS_NULL" >&5
   18636 $as_echo "$MALLOC_ZERO_RETURNS_NULL" >&6; }
   18637 
   18638 if test "x$MALLOC_ZERO_RETURNS_NULL" = xyes; then
   18639 	MALLOC_ZERO_CFLAGS="-DMALLOC_0_RETURNS_NULL"
   18640 	XMALLOC_ZERO_CFLAGS=$MALLOC_ZERO_CFLAGS
   18641 	XTMALLOC_ZERO_CFLAGS="$MALLOC_ZERO_CFLAGS -DXTMALLOC_BC"
   18642 else
   18643 	MALLOC_ZERO_CFLAGS=""
   18644 	XMALLOC_ZERO_CFLAGS=""
   18645 	XTMALLOC_ZERO_CFLAGS=""
   18646 fi
   18647 
   18648 
   18649 
   18650 
   18651 
   18652 
   18653 # Obtain compiler/linker options for depedencies
   18654 
   18655 pkg_failed=no
   18656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FS" >&5
   18657 $as_echo_n "checking for FS... " >&6; }
   18658 
   18659 if test -n "$FS_CFLAGS"; then
   18660     pkg_cv_FS_CFLAGS="$FS_CFLAGS"
   18661  elif test -n "$PKG_CONFIG"; then
   18662     if test -n "$PKG_CONFIG" && \
   18663     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 fontsproto xtrans\""; } >&5
   18664   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 fontsproto xtrans") 2>&5
   18665   ac_status=$?
   18666   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18667   test $ac_status = 0; }; then
   18668   pkg_cv_FS_CFLAGS=`$PKG_CONFIG --cflags "xproto >= 7.0.17 fontsproto xtrans" 2>/dev/null`
   18669 		      test "x$?" != "x0" && pkg_failed=yes
   18670 else
   18671   pkg_failed=yes
   18672 fi
   18673  else
   18674     pkg_failed=untried
   18675 fi
   18676 if test -n "$FS_LIBS"; then
   18677     pkg_cv_FS_LIBS="$FS_LIBS"
   18678  elif test -n "$PKG_CONFIG"; then
   18679     if test -n "$PKG_CONFIG" && \
   18680     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xproto >= 7.0.17 fontsproto xtrans\""; } >&5
   18681   ($PKG_CONFIG --exists --print-errors "xproto >= 7.0.17 fontsproto xtrans") 2>&5
   18682   ac_status=$?
   18683   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18684   test $ac_status = 0; }; then
   18685   pkg_cv_FS_LIBS=`$PKG_CONFIG --libs "xproto >= 7.0.17 fontsproto xtrans" 2>/dev/null`
   18686 		      test "x$?" != "x0" && pkg_failed=yes
   18687 else
   18688   pkg_failed=yes
   18689 fi
   18690  else
   18691     pkg_failed=untried
   18692 fi
   18693 
   18694 
   18695 
   18696 if test $pkg_failed = yes; then
   18697    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18698 $as_echo "no" >&6; }
   18699 
   18700 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18701         _pkg_short_errors_supported=yes
   18702 else
   18703         _pkg_short_errors_supported=no
   18704 fi
   18705         if test $_pkg_short_errors_supported = yes; then
   18706 	        FS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xproto >= 7.0.17 fontsproto xtrans" 2>&1`
   18707         else
   18708 	        FS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xproto >= 7.0.17 fontsproto xtrans" 2>&1`
   18709         fi
   18710 	# Put the nasty error message in config.log where it belongs
   18711 	echo "$FS_PKG_ERRORS" >&5
   18712 
   18713 	as_fn_error $? "Package requirements (xproto >= 7.0.17 fontsproto xtrans) were not met:
   18714 
   18715 $FS_PKG_ERRORS
   18716 
   18717 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18718 installed software in a non-standard prefix.
   18719 
   18720 Alternatively, you may set the environment variables FS_CFLAGS
   18721 and FS_LIBS to avoid the need to call pkg-config.
   18722 See the pkg-config man page for more details." "$LINENO" 5
   18723 elif test $pkg_failed = untried; then
   18724      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18725 $as_echo "no" >&6; }
   18726 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18728 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18729 is in your PATH or set the PKG_CONFIG environment variable to the full
   18730 path to pkg-config.
   18731 
   18732 Alternatively, you may set the environment variables FS_CFLAGS
   18733 and FS_LIBS to avoid the need to call pkg-config.
   18734 See the pkg-config man page for more details.
   18735 
   18736 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18737 See \`config.log' for more details" "$LINENO" 5; }
   18738 else
   18739 	FS_CFLAGS=$pkg_cv_FS_CFLAGS
   18740 	FS_LIBS=$pkg_cv_FS_LIBS
   18741         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18742 $as_echo "yes" >&6; }
   18743 
   18744 fi
   18745 
   18746 # Find needed libraries for TCP sockets (pre-pended in $LIBS)
   18747 
   18748 
   18749  case $host_os in
   18750 	mingw*)	unixdef="no"   ;;
   18751 	*)	unixdef="yes"  ;;
   18752  esac
   18753  # Check whether --enable-unix-transport was given.
   18754 if test "${enable_unix_transport+set}" = set; then :
   18755   enableval=$enable_unix_transport; UNIXCONN=$enableval
   18756 else
   18757   UNIXCONN=$unixdef
   18758 fi
   18759 
   18760  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support UNIX socket connections" >&5
   18761 $as_echo_n "checking if Xtrans should support UNIX socket connections... " >&6; }
   18762  if test "$UNIXCONN" = "yes"; then
   18763 
   18764 $as_echo "#define UNIXCONN 1" >>confdefs.h
   18765 
   18766  fi
   18767  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $UNIXCONN" >&5
   18768 $as_echo "$UNIXCONN" >&6; }
   18769  # Check whether --enable-tcp-transport was given.
   18770 if test "${enable_tcp_transport+set}" = set; then :
   18771   enableval=$enable_tcp_transport; TCPCONN=$enableval
   18772 else
   18773   TCPCONN=yes
   18774 fi
   18775 
   18776  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support TCP socket connections" >&5
   18777 $as_echo_n "checking if Xtrans should support TCP socket connections... " >&6; }
   18778  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCPCONN" >&5
   18779 $as_echo "$TCPCONN" >&6; }
   18780  if test "$TCPCONN" = "yes"; then
   18781 
   18782 $as_echo "#define TCPCONN 1" >>confdefs.h
   18783 
   18784 
   18785  # SVR4 hides these in libraries other than libc
   18786  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
   18787 $as_echo_n "checking for library containing socket... " >&6; }
   18788 if ${ac_cv_search_socket+:} false; then :
   18789   $as_echo_n "(cached) " >&6
   18790 else
   18791   ac_func_search_save_LIBS=$LIBS
   18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18793 /* end confdefs.h.  */
   18794 
   18795 /* Override any GCC internal prototype to avoid an error.
   18796    Use char because int might match the return type of a GCC
   18797    builtin and then its argument prototype would still apply.  */
   18798 #ifdef __cplusplus
   18799 extern "C"
   18800 #endif
   18801 char socket ();
   18802 int
   18803 main ()
   18804 {
   18805 return socket ();
   18806   ;
   18807   return 0;
   18808 }
   18809 _ACEOF
   18810 for ac_lib in '' socket; do
   18811   if test -z "$ac_lib"; then
   18812     ac_res="none required"
   18813   else
   18814     ac_res=-l$ac_lib
   18815     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18816   fi
   18817   if ac_fn_c_try_link "$LINENO"; then :
   18818   ac_cv_search_socket=$ac_res
   18819 fi
   18820 rm -f core conftest.err conftest.$ac_objext \
   18821     conftest$ac_exeext
   18822   if ${ac_cv_search_socket+:} false; then :
   18823   break
   18824 fi
   18825 done
   18826 if ${ac_cv_search_socket+:} false; then :
   18827 
   18828 else
   18829   ac_cv_search_socket=no
   18830 fi
   18831 rm conftest.$ac_ext
   18832 LIBS=$ac_func_search_save_LIBS
   18833 fi
   18834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
   18835 $as_echo "$ac_cv_search_socket" >&6; }
   18836 ac_res=$ac_cv_search_socket
   18837 if test "$ac_res" != no; then :
   18838   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18839 
   18840 fi
   18841 
   18842  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
   18843 $as_echo_n "checking for library containing gethostbyname... " >&6; }
   18844 if ${ac_cv_search_gethostbyname+:} false; then :
   18845   $as_echo_n "(cached) " >&6
   18846 else
   18847   ac_func_search_save_LIBS=$LIBS
   18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18849 /* end confdefs.h.  */
   18850 
   18851 /* Override any GCC internal prototype to avoid an error.
   18852    Use char because int might match the return type of a GCC
   18853    builtin and then its argument prototype would still apply.  */
   18854 #ifdef __cplusplus
   18855 extern "C"
   18856 #endif
   18857 char gethostbyname ();
   18858 int
   18859 main ()
   18860 {
   18861 return gethostbyname ();
   18862   ;
   18863   return 0;
   18864 }
   18865 _ACEOF
   18866 for ac_lib in '' nsl; do
   18867   if test -z "$ac_lib"; then
   18868     ac_res="none required"
   18869   else
   18870     ac_res=-l$ac_lib
   18871     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   18872   fi
   18873   if ac_fn_c_try_link "$LINENO"; then :
   18874   ac_cv_search_gethostbyname=$ac_res
   18875 fi
   18876 rm -f core conftest.err conftest.$ac_objext \
   18877     conftest$ac_exeext
   18878   if ${ac_cv_search_gethostbyname+:} false; then :
   18879   break
   18880 fi
   18881 done
   18882 if ${ac_cv_search_gethostbyname+:} false; then :
   18883 
   18884 else
   18885   ac_cv_search_gethostbyname=no
   18886 fi
   18887 rm conftest.$ac_ext
   18888 LIBS=$ac_func_search_save_LIBS
   18889 fi
   18890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
   18891 $as_echo "$ac_cv_search_gethostbyname" >&6; }
   18892 ac_res=$ac_cv_search_gethostbyname
   18893 if test "$ac_res" != no; then :
   18894   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
   18895 
   18896 fi
   18897 
   18898  if test "$ac_cv_search_socket$ac_cv_search_gethostbyname" = "nono"; then
   18899    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lws2_32" >&5
   18900 $as_echo_n "checking for main in -lws2_32... " >&6; }
   18901 if ${ac_cv_lib_ws2_32_main+:} false; then :
   18902   $as_echo_n "(cached) " >&6
   18903 else
   18904   ac_check_lib_save_LIBS=$LIBS
   18905 LIBS="-lws2_32  $LIBS"
   18906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18907 /* end confdefs.h.  */
   18908 
   18909 
   18910 int
   18911 main ()
   18912 {
   18913 return main ();
   18914   ;
   18915   return 0;
   18916 }
   18917 _ACEOF
   18918 if ac_fn_c_try_link "$LINENO"; then :
   18919   ac_cv_lib_ws2_32_main=yes
   18920 else
   18921   ac_cv_lib_ws2_32_main=no
   18922 fi
   18923 rm -f core conftest.err conftest.$ac_objext \
   18924     conftest$ac_exeext conftest.$ac_ext
   18925 LIBS=$ac_check_lib_save_LIBS
   18926 fi
   18927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ws2_32_main" >&5
   18928 $as_echo "$ac_cv_lib_ws2_32_main" >&6; }
   18929 if test "x$ac_cv_lib_ws2_32_main" = xyes; then :
   18930   cat >>confdefs.h <<_ACEOF
   18931 #define HAVE_LIBWS2_32 1
   18932 _ACEOF
   18933 
   18934   LIBS="-lws2_32 $LIBS"
   18935 
   18936 fi
   18937 
   18938  fi
   18939 
   18940  # Needs to come after above checks for libsocket & libnsl for SVR4 systems
   18941  # Check whether --enable-ipv6 was given.
   18942 if test "${enable_ipv6+set}" = set; then :
   18943   enableval=$enable_ipv6; IPV6CONN=$enableval
   18944 else
   18945   ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
   18946 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
   18947   IPV6CONN=yes
   18948 else
   18949   IPV6CONN=no
   18950 fi
   18951 
   18952 fi
   18953 
   18954  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if IPv6 support should be built" >&5
   18955 $as_echo_n "checking if IPv6 support should be built... " >&6; }
   18956  if test "$IPV6CONN" = "yes"; then
   18957 
   18958 $as_echo "#define IPv6 1" >>confdefs.h
   18959 
   18960  fi
   18961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $IPV6CONN" >&5
   18962 $as_echo "$IPV6CONN" >&6; }
   18963 
   18964  # 4.3BSD-Reno added a new member to struct sockaddr_in
   18965  ac_fn_c_check_member "$LINENO" "struct sockaddr_in" "sin_len" "ac_cv_member_struct_sockaddr_in_sin_len" "
   18966 #include <sys/types.h>
   18967 #include <sys/socket.h>
   18968 #include <netinet/in.h>
   18969 
   18970 "
   18971 if test "x$ac_cv_member_struct_sockaddr_in_sin_len" = xyes; then :
   18972 
   18973 $as_echo "#define BSD44SOCKETS 1" >>confdefs.h
   18974 
   18975 fi
   18976 
   18977 
   18978  # POSIX.1g changed the type of pointer passed to getsockname/getpeername/etc.
   18979  ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "
   18980 $ac_includes_default
   18981 #include <sys/socket.h>
   18982 "
   18983 if test "x$ac_cv_type_socklen_t" = xyes; then :
   18984 
   18985 cat >>confdefs.h <<_ACEOF
   18986 #define HAVE_SOCKLEN_T 1
   18987 _ACEOF
   18988 
   18989 
   18990 fi
   18991 
   18992 
   18993  # XPG4v2/UNIX95 added msg_control - check to see if we need to define
   18994  # _XOPEN_SOURCE to get it (such as on Solaris)
   18995  ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   18996 $ac_includes_default
   18997 #include <sys/socket.h>
   18998 
   18999 "
   19000 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   19001 
   19002 fi
   19003 
   19004  # First try for Solaris in C99 compliant mode, which requires XPG6/UNIX03
   19005  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   19006      unset ac_cv_member_struct_msghdr_msg_control
   19007      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=600" >&5
   19008 $as_echo "$as_me: trying again with _XOPEN_SOURCE=600" >&6;}
   19009      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   19010 #define _XOPEN_SOURCE 600
   19011 $ac_includes_default
   19012 #include <sys/socket.h>
   19013 
   19014 "
   19015 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   19016 
   19017 $as_echo "#define _XOPEN_SOURCE 600" >>confdefs.h
   19018 
   19019 
   19020 fi
   19021 
   19022  fi
   19023  # If that didn't work, fall back to XPG5/UNIX98 with C89
   19024  if test "x$ac_cv_member_struct_msghdr_msg_control" = xno; then
   19025      unset ac_cv_member_struct_msghdr_msg_control
   19026      { $as_echo "$as_me:${as_lineno-$LINENO}: trying again with _XOPEN_SOURCE=500" >&5
   19027 $as_echo "$as_me: trying again with _XOPEN_SOURCE=500" >&6;}
   19028      ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_control" "ac_cv_member_struct_msghdr_msg_control" "
   19029 #define _XOPEN_SOURCE 500
   19030 $ac_includes_default
   19031 #include <sys/socket.h>
   19032 
   19033 "
   19034 if test "x$ac_cv_member_struct_msghdr_msg_control" = xyes; then :
   19035 
   19036 $as_echo "#define _XOPEN_SOURCE 500" >>confdefs.h
   19037 
   19038 
   19039 fi
   19040 
   19041  fi
   19042 
   19043 
   19044 
   19045  fi
   19046  case $host_os in
   19047 	solaris*|sco*|sysv4*)	localdef="yes" ;;
   19048 	*)			localdef="no"  ;;
   19049  esac
   19050  # Check whether --enable-local-transport was given.
   19051 if test "${enable_local_transport+set}" = set; then :
   19052   enableval=$enable_local_transport; LOCALCONN=$enableval
   19053 else
   19054   LOCALCONN=$localdef
   19055 fi
   19056 
   19057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Xtrans should support os-specific local connections" >&5
   19058 $as_echo_n "checking if Xtrans should support os-specific local connections... " >&6; }
   19059  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LOCALCONN" >&5
   19060 $as_echo "$LOCALCONN" >&6; }
   19061  if test "$LOCALCONN" = "yes"; then
   19062 
   19063 $as_echo "#define LOCALCONN 1" >>confdefs.h
   19064 
   19065  fi
   19066 
   19067  # Other functions Xtrans may need
   19068  for ac_func in strcasecmp strlcpy
   19069 do :
   19070   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   19071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19072 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   19073   cat >>confdefs.h <<_ACEOF
   19074 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   19075 _ACEOF
   19076 
   19077 fi
   19078 done
   19079 
   19080 
   19081 
   19082 
   19083 # Checks for library functions.
   19084 for ac_func in strlcpy strnlen
   19085 do :
   19086   as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
   19087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
   19088 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
   19089   cat >>confdefs.h <<_ACEOF
   19090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
   19091 _ACEOF
   19092 
   19093 fi
   19094 done
   19095 
   19096 
   19097 # Allow checking code with lint, sparse, etc.
   19098 
   19099 
   19100 
   19101 
   19102 
   19103 # Check whether --with-lint was given.
   19104 if test "${with_lint+set}" = set; then :
   19105   withval=$with_lint; use_lint=$withval
   19106 else
   19107   use_lint=no
   19108 fi
   19109 
   19110 
   19111 # Obtain platform specific info like program name and options
   19112 # The lint program on FreeBSD and NetBSD is different from the one on Solaris
   19113 case $host_os in
   19114   *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
   19115 	lint_name=splint
   19116 	lint_options="-badflag"
   19117 	;;
   19118   *freebsd* | *netbsd*)
   19119 	lint_name=lint
   19120 	lint_options="-u -b"
   19121 	;;
   19122   *solaris*)
   19123 	lint_name=lint
   19124 	lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
   19125 	;;
   19126 esac
   19127 
   19128 # Test for the presence of the program (either guessed by the code or spelled out by the user)
   19129 if test "x$use_lint" = x"yes" ; then
   19130    # Extract the first word of "$lint_name", so it can be a program name with args.
   19131 set dummy $lint_name; ac_word=$2
   19132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   19133 $as_echo_n "checking for $ac_word... " >&6; }
   19134 if ${ac_cv_path_LINT+:} false; then :
   19135   $as_echo_n "(cached) " >&6
   19136 else
   19137   case $LINT in
   19138   [\\/]* | ?:[\\/]*)
   19139   ac_cv_path_LINT="$LINT" # Let the user override the test with a path.
   19140   ;;
   19141   *)
   19142   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19143 for as_dir in $PATH
   19144 do
   19145   IFS=$as_save_IFS
   19146   test -z "$as_dir" && as_dir=.
   19147     for ac_exec_ext in '' $ac_executable_extensions; do
   19148   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   19149     ac_cv_path_LINT="$as_dir/$ac_word$ac_exec_ext"
   19150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   19151     break 2
   19152   fi
   19153 done
   19154   done
   19155 IFS=$as_save_IFS
   19156 
   19157   ;;
   19158 esac
   19159 fi
   19160 LINT=$ac_cv_path_LINT
   19161 if test -n "$LINT"; then
   19162   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
   19163 $as_echo "$LINT" >&6; }
   19164 else
   19165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19166 $as_echo "no" >&6; }
   19167 fi
   19168 
   19169 
   19170    if test "x$LINT" = "x"; then
   19171         as_fn_error $? "--with-lint=yes specified but lint-style tool not found in PATH" "$LINENO" 5
   19172    fi
   19173 elif test "x$use_lint" = x"no" ; then
   19174    if test "x$LINT" != "x"; then
   19175       { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&5
   19176 $as_echo "$as_me: WARNING: ignoring LINT environment variable since --with-lint=no was specified" >&2;}
   19177    fi
   19178 else
   19179    as_fn_error $? "--with-lint expects 'yes' or 'no'. Use LINT variable to specify path." "$LINENO" 5
   19180 fi
   19181 
   19182 # User supplied flags override default flags
   19183 if test "x$LINT_FLAGS" != "x"; then
   19184    lint_options=$LINT_FLAGS
   19185 fi
   19186 
   19187 LINT_FLAGS=$lint_options
   19188 
   19189  if test "x$LINT" != x; then
   19190   LINT_TRUE=
   19191   LINT_FALSE='#'
   19192 else
   19193   LINT_TRUE='#'
   19194   LINT_FALSE=
   19195 fi
   19196 
   19197 
   19198 
   19199 
   19200 
   19201 # Check whether --enable-lint-library was given.
   19202 if test "${enable_lint_library+set}" = set; then :
   19203   enableval=$enable_lint_library; make_lint_lib=$enableval
   19204 else
   19205   make_lint_lib=no
   19206 fi
   19207 
   19208 
   19209 if test "x$make_lint_lib" = x"yes" ; then
   19210    LINTLIB=llib-lFS.ln
   19211    if test "x$LINT" = "x"; then
   19212         as_fn_error $? "Cannot make lint library without --with-lint" "$LINENO" 5
   19213    fi
   19214 elif test "x$make_lint_lib" != x"no" ; then
   19215    as_fn_error $? "--enable-lint-library expects 'yes' or 'no'." "$LINENO" 5
   19216 fi
   19217 
   19218 
   19219  if test x$make_lint_lib != xno; then
   19220   MAKE_LINT_LIB_TRUE=
   19221   MAKE_LINT_LIB_FALSE='#'
   19222 else
   19223   MAKE_LINT_LIB_TRUE='#'
   19224   MAKE_LINT_LIB_FALSE=
   19225 fi
   19226 
   19227 
   19228 
   19229 
   19230 ac_config_files="$ac_config_files Makefile src/Makefile test/Makefile libfs.pc"
   19231 
   19232 cat >confcache <<\_ACEOF
   19233 # This file is a shell script that caches the results of configure
   19234 # tests run on this system so they can be shared between configure
   19235 # scripts and configure runs, see configure's option --config-cache.
   19236 # It is not useful on other systems.  If it contains results you don't
   19237 # want to keep, you may remove or edit it.
   19238 #
   19239 # config.status only pays attention to the cache file if you give it
   19240 # the --recheck option to rerun configure.
   19241 #
   19242 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19243 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19244 # following values.
   19245 
   19246 _ACEOF
   19247 
   19248 # The following way of writing the cache mishandles newlines in values,
   19249 # but we know of no workaround that is simple, portable, and efficient.
   19250 # So, we kill variables containing newlines.
   19251 # Ultrix sh set writes to stderr and can't be redirected directly,
   19252 # and sets the high bit in the cache file unless we assign to the vars.
   19253 (
   19254   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19255     eval ac_val=\$$ac_var
   19256     case $ac_val in #(
   19257     *${as_nl}*)
   19258       case $ac_var in #(
   19259       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19260 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19261       esac
   19262       case $ac_var in #(
   19263       _ | IFS | as_nl) ;; #(
   19264       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19265       *) { eval $ac_var=; unset $ac_var;} ;;
   19266       esac ;;
   19267     esac
   19268   done
   19269 
   19270   (set) 2>&1 |
   19271     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19272     *${as_nl}ac_space=\ *)
   19273       # `set' does not quote correctly, so add quotes: double-quote
   19274       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19275       sed -n \
   19276 	"s/'/'\\\\''/g;
   19277 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19278       ;; #(
   19279     *)
   19280       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19281       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19282       ;;
   19283     esac |
   19284     sort
   19285 ) |
   19286   sed '
   19287      /^ac_cv_env_/b end
   19288      t clear
   19289      :clear
   19290      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19291      t end
   19292      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19293      :end' >>confcache
   19294 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19295   if test -w "$cache_file"; then
   19296     if test "x$cache_file" != "x/dev/null"; then
   19297       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19298 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19299       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19300 	cat confcache >"$cache_file"
   19301       else
   19302         case $cache_file in #(
   19303         */* | ?:*)
   19304 	  mv -f confcache "$cache_file"$$ &&
   19305 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19306         *)
   19307 	  mv -f confcache "$cache_file" ;;
   19308 	esac
   19309       fi
   19310     fi
   19311   else
   19312     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19313 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19314   fi
   19315 fi
   19316 rm -f confcache
   19317 
   19318 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19319 # Let make expand exec_prefix.
   19320 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19321 
   19322 DEFS=-DHAVE_CONFIG_H
   19323 
   19324 ac_libobjs=
   19325 ac_ltlibobjs=
   19326 U=
   19327 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19328   # 1. Remove the extension, and $U if already installed.
   19329   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19330   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19331   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19332   #    will be set to the directory where LIBOBJS objects are built.
   19333   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19334   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19335 done
   19336 LIBOBJS=$ac_libobjs
   19337 
   19338 LTLIBOBJS=$ac_ltlibobjs
   19339 
   19340 
   19341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19342 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19343    if test -n "$am_sleep_pid"; then
   19344      # Hide warnings about reused PIDs.
   19345      wait $am_sleep_pid 2>/dev/null
   19346    fi
   19347    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19348 $as_echo "done" >&6; }
   19349  if test -n "$EXEEXT"; then
   19350   am__EXEEXT_TRUE=
   19351   am__EXEEXT_FALSE='#'
   19352 else
   19353   am__EXEEXT_TRUE='#'
   19354   am__EXEEXT_FALSE=
   19355 fi
   19356 
   19357 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19358   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19360 fi
   19361 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19362   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19364 fi
   19365 if test -z "${LINT_TRUE}" && test -z "${LINT_FALSE}"; then
   19366   as_fn_error $? "conditional \"LINT\" was never defined.
   19367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19368 fi
   19369 if test -z "${MAKE_LINT_LIB_TRUE}" && test -z "${MAKE_LINT_LIB_FALSE}"; then
   19370   as_fn_error $? "conditional \"MAKE_LINT_LIB\" was never defined.
   19371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19372 fi
   19373 
   19374 : "${CONFIG_STATUS=./config.status}"
   19375 ac_write_fail=0
   19376 ac_clean_files_save=$ac_clean_files
   19377 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19378 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19379 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19380 as_write_fail=0
   19381 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19382 #! $SHELL
   19383 # Generated by $as_me.
   19384 # Run this file to recreate the current configuration.
   19385 # Compiler output produced by configure, useful for debugging
   19386 # configure, is in config.log if it exists.
   19387 
   19388 debug=false
   19389 ac_cs_recheck=false
   19390 ac_cs_silent=false
   19391 
   19392 SHELL=\${CONFIG_SHELL-$SHELL}
   19393 export SHELL
   19394 _ASEOF
   19395 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19396 ## -------------------- ##
   19397 ## M4sh Initialization. ##
   19398 ## -------------------- ##
   19399 
   19400 # Be more Bourne compatible
   19401 DUALCASE=1; export DUALCASE # for MKS sh
   19402 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19403   emulate sh
   19404   NULLCMD=:
   19405   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19406   # is contrary to our usage.  Disable this feature.
   19407   alias -g '${1+"$@"}'='"$@"'
   19408   setopt NO_GLOB_SUBST
   19409 else
   19410   case `(set -o) 2>/dev/null` in #(
   19411   *posix*) :
   19412     set -o posix ;; #(
   19413   *) :
   19414      ;;
   19415 esac
   19416 fi
   19417 
   19418 
   19419 as_nl='
   19420 '
   19421 export as_nl
   19422 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19423 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19424 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19425 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19426 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19427 # but without wasting forks for bash or zsh.
   19428 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19429     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19430   as_echo='print -r --'
   19431   as_echo_n='print -rn --'
   19432 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19433   as_echo='printf %s\n'
   19434   as_echo_n='printf %s'
   19435 else
   19436   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19437     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19438     as_echo_n='/usr/ucb/echo -n'
   19439   else
   19440     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19441     as_echo_n_body='eval
   19442       arg=$1;
   19443       case $arg in #(
   19444       *"$as_nl"*)
   19445 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19446 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19447       esac;
   19448       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19449     '
   19450     export as_echo_n_body
   19451     as_echo_n='sh -c $as_echo_n_body as_echo'
   19452   fi
   19453   export as_echo_body
   19454   as_echo='sh -c $as_echo_body as_echo'
   19455 fi
   19456 
   19457 # The user is always right.
   19458 if test "${PATH_SEPARATOR+set}" != set; then
   19459   PATH_SEPARATOR=:
   19460   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19461     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19462       PATH_SEPARATOR=';'
   19463   }
   19464 fi
   19465 
   19466 
   19467 # IFS
   19468 # We need space, tab and new line, in precisely that order.  Quoting is
   19469 # there to prevent editors from complaining about space-tab.
   19470 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19471 # splitting by setting IFS to empty value.)
   19472 IFS=" ""	$as_nl"
   19473 
   19474 # Find who we are.  Look in the path if we contain no directory separator.
   19475 as_myself=
   19476 case $0 in #((
   19477   *[\\/]* ) as_myself=$0 ;;
   19478   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19479 for as_dir in $PATH
   19480 do
   19481   IFS=$as_save_IFS
   19482   test -z "$as_dir" && as_dir=.
   19483     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19484   done
   19485 IFS=$as_save_IFS
   19486 
   19487      ;;
   19488 esac
   19489 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19490 # in which case we are not to be found in the path.
   19491 if test "x$as_myself" = x; then
   19492   as_myself=$0
   19493 fi
   19494 if test ! -f "$as_myself"; then
   19495   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19496   exit 1
   19497 fi
   19498 
   19499 # Unset variables that we do not need and which cause bugs (e.g. in
   19500 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19501 # suppresses any "Segmentation fault" message there.  '((' could
   19502 # trigger a bug in pdksh 5.2.14.
   19503 for as_var in BASH_ENV ENV MAIL MAILPATH
   19504 do eval test x\${$as_var+set} = xset \
   19505   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19506 done
   19507 PS1='$ '
   19508 PS2='> '
   19509 PS4='+ '
   19510 
   19511 # NLS nuisances.
   19512 LC_ALL=C
   19513 export LC_ALL
   19514 LANGUAGE=C
   19515 export LANGUAGE
   19516 
   19517 # CDPATH.
   19518 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19519 
   19520 
   19521 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19522 # ----------------------------------------
   19523 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19524 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19525 # script with STATUS, using 1 if that was 0.
   19526 as_fn_error ()
   19527 {
   19528   as_status=$1; test $as_status -eq 0 && as_status=1
   19529   if test "$4"; then
   19530     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19531     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19532   fi
   19533   $as_echo "$as_me: error: $2" >&2
   19534   as_fn_exit $as_status
   19535 } # as_fn_error
   19536 
   19537 
   19538 # as_fn_set_status STATUS
   19539 # -----------------------
   19540 # Set $? to STATUS, without forking.
   19541 as_fn_set_status ()
   19542 {
   19543   return $1
   19544 } # as_fn_set_status
   19545 
   19546 # as_fn_exit STATUS
   19547 # -----------------
   19548 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19549 as_fn_exit ()
   19550 {
   19551   set +e
   19552   as_fn_set_status $1
   19553   exit $1
   19554 } # as_fn_exit
   19555 
   19556 # as_fn_unset VAR
   19557 # ---------------
   19558 # Portably unset VAR.
   19559 as_fn_unset ()
   19560 {
   19561   { eval $1=; unset $1;}
   19562 }
   19563 as_unset=as_fn_unset
   19564 # as_fn_append VAR VALUE
   19565 # ----------------------
   19566 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19567 # advantage of any shell optimizations that allow amortized linear growth over
   19568 # repeated appends, instead of the typical quadratic growth present in naive
   19569 # implementations.
   19570 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19571   eval 'as_fn_append ()
   19572   {
   19573     eval $1+=\$2
   19574   }'
   19575 else
   19576   as_fn_append ()
   19577   {
   19578     eval $1=\$$1\$2
   19579   }
   19580 fi # as_fn_append
   19581 
   19582 # as_fn_arith ARG...
   19583 # ------------------
   19584 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19585 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19586 # must be portable across $(()) and expr.
   19587 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19588   eval 'as_fn_arith ()
   19589   {
   19590     as_val=$(( $* ))
   19591   }'
   19592 else
   19593   as_fn_arith ()
   19594   {
   19595     as_val=`expr "$@" || test $? -eq 1`
   19596   }
   19597 fi # as_fn_arith
   19598 
   19599 
   19600 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19601    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19602   as_expr=expr
   19603 else
   19604   as_expr=false
   19605 fi
   19606 
   19607 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19608   as_basename=basename
   19609 else
   19610   as_basename=false
   19611 fi
   19612 
   19613 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19614   as_dirname=dirname
   19615 else
   19616   as_dirname=false
   19617 fi
   19618 
   19619 as_me=`$as_basename -- "$0" ||
   19620 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19621 	 X"$0" : 'X\(//\)$' \| \
   19622 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19623 $as_echo X/"$0" |
   19624     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19625 	    s//\1/
   19626 	    q
   19627 	  }
   19628 	  /^X\/\(\/\/\)$/{
   19629 	    s//\1/
   19630 	    q
   19631 	  }
   19632 	  /^X\/\(\/\).*/{
   19633 	    s//\1/
   19634 	    q
   19635 	  }
   19636 	  s/.*/./; q'`
   19637 
   19638 # Avoid depending upon Character Ranges.
   19639 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19640 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19641 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19642 as_cr_digits='0123456789'
   19643 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19644 
   19645 ECHO_C= ECHO_N= ECHO_T=
   19646 case `echo -n x` in #(((((
   19647 -n*)
   19648   case `echo 'xy\c'` in
   19649   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19650   xy)  ECHO_C='\c';;
   19651   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19652        ECHO_T='	';;
   19653   esac;;
   19654 *)
   19655   ECHO_N='-n';;
   19656 esac
   19657 
   19658 rm -f conf$$ conf$$.exe conf$$.file
   19659 if test -d conf$$.dir; then
   19660   rm -f conf$$.dir/conf$$.file
   19661 else
   19662   rm -f conf$$.dir
   19663   mkdir conf$$.dir 2>/dev/null
   19664 fi
   19665 if (echo >conf$$.file) 2>/dev/null; then
   19666   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19667     as_ln_s='ln -s'
   19668     # ... but there are two gotchas:
   19669     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19670     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19671     # In both cases, we have to default to `cp -pR'.
   19672     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19673       as_ln_s='cp -pR'
   19674   elif ln conf$$.file conf$$ 2>/dev/null; then
   19675     as_ln_s=ln
   19676   else
   19677     as_ln_s='cp -pR'
   19678   fi
   19679 else
   19680   as_ln_s='cp -pR'
   19681 fi
   19682 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19683 rmdir conf$$.dir 2>/dev/null
   19684 
   19685 
   19686 # as_fn_mkdir_p
   19687 # -------------
   19688 # Create "$as_dir" as a directory, including parents if necessary.
   19689 as_fn_mkdir_p ()
   19690 {
   19691 
   19692   case $as_dir in #(
   19693   -*) as_dir=./$as_dir;;
   19694   esac
   19695   test -d "$as_dir" || eval $as_mkdir_p || {
   19696     as_dirs=
   19697     while :; do
   19698       case $as_dir in #(
   19699       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19700       *) as_qdir=$as_dir;;
   19701       esac
   19702       as_dirs="'$as_qdir' $as_dirs"
   19703       as_dir=`$as_dirname -- "$as_dir" ||
   19704 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19705 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19706 	 X"$as_dir" : 'X\(//\)$' \| \
   19707 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19708 $as_echo X"$as_dir" |
   19709     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19710 	    s//\1/
   19711 	    q
   19712 	  }
   19713 	  /^X\(\/\/\)[^/].*/{
   19714 	    s//\1/
   19715 	    q
   19716 	  }
   19717 	  /^X\(\/\/\)$/{
   19718 	    s//\1/
   19719 	    q
   19720 	  }
   19721 	  /^X\(\/\).*/{
   19722 	    s//\1/
   19723 	    q
   19724 	  }
   19725 	  s/.*/./; q'`
   19726       test -d "$as_dir" && break
   19727     done
   19728     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19729   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19730 
   19731 
   19732 } # as_fn_mkdir_p
   19733 if mkdir -p . 2>/dev/null; then
   19734   as_mkdir_p='mkdir -p "$as_dir"'
   19735 else
   19736   test -d ./-p && rmdir ./-p
   19737   as_mkdir_p=false
   19738 fi
   19739 
   19740 
   19741 # as_fn_executable_p FILE
   19742 # -----------------------
   19743 # Test if FILE is an executable regular file.
   19744 as_fn_executable_p ()
   19745 {
   19746   test -f "$1" && test -x "$1"
   19747 } # as_fn_executable_p
   19748 as_test_x='test -x'
   19749 as_executable_p=as_fn_executable_p
   19750 
   19751 # Sed expression to map a string onto a valid CPP name.
   19752 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19753 
   19754 # Sed expression to map a string onto a valid variable name.
   19755 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19756 
   19757 
   19758 exec 6>&1
   19759 ## ----------------------------------- ##
   19760 ## Main body of $CONFIG_STATUS script. ##
   19761 ## ----------------------------------- ##
   19762 _ASEOF
   19763 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19764 
   19765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19766 # Save the log message, to keep $0 and so on meaningful, and to
   19767 # report actual input values of CONFIG_FILES etc. instead of their
   19768 # values after options handling.
   19769 ac_log="
   19770 This file was extended by libFS $as_me 1.0.8, which was
   19771 generated by GNU Autoconf 2.69.  Invocation command line was
   19772 
   19773   CONFIG_FILES    = $CONFIG_FILES
   19774   CONFIG_HEADERS  = $CONFIG_HEADERS
   19775   CONFIG_LINKS    = $CONFIG_LINKS
   19776   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19777   $ $0 $@
   19778 
   19779 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19780 "
   19781 
   19782 _ACEOF
   19783 
   19784 case $ac_config_files in *"
   19785 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19786 esac
   19787 
   19788 case $ac_config_headers in *"
   19789 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19790 esac
   19791 
   19792 
   19793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19794 # Files that config.status was made for.
   19795 config_files="$ac_config_files"
   19796 config_headers="$ac_config_headers"
   19797 config_commands="$ac_config_commands"
   19798 
   19799 _ACEOF
   19800 
   19801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19802 ac_cs_usage="\
   19803 \`$as_me' instantiates files and other configuration actions
   19804 from templates according to the current configuration.  Unless the files
   19805 and actions are specified as TAGs, all are instantiated by default.
   19806 
   19807 Usage: $0 [OPTION]... [TAG]...
   19808 
   19809   -h, --help       print this help, then exit
   19810   -V, --version    print version number and configuration settings, then exit
   19811       --config     print configuration, then exit
   19812   -q, --quiet, --silent
   19813                    do not print progress messages
   19814   -d, --debug      don't remove temporary files
   19815       --recheck    update $as_me by reconfiguring in the same conditions
   19816       --file=FILE[:TEMPLATE]
   19817                    instantiate the configuration file FILE
   19818       --header=FILE[:TEMPLATE]
   19819                    instantiate the configuration header FILE
   19820 
   19821 Configuration files:
   19822 $config_files
   19823 
   19824 Configuration headers:
   19825 $config_headers
   19826 
   19827 Configuration commands:
   19828 $config_commands
   19829 
   19830 Report bugs to <https://gitlab.freedesktop.org/xorg/lib/libFS/issues>."
   19831 
   19832 _ACEOF
   19833 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19834 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19835 ac_cs_version="\\
   19836 libFS config.status 1.0.8
   19837 configured by $0, generated by GNU Autoconf 2.69,
   19838   with options \\"\$ac_cs_config\\"
   19839 
   19840 Copyright (C) 2012 Free Software Foundation, Inc.
   19841 This config.status script is free software; the Free Software Foundation
   19842 gives unlimited permission to copy, distribute and modify it."
   19843 
   19844 ac_pwd='$ac_pwd'
   19845 srcdir='$srcdir'
   19846 INSTALL='$INSTALL'
   19847 MKDIR_P='$MKDIR_P'
   19848 AWK='$AWK'
   19849 test -n "\$AWK" || AWK=awk
   19850 _ACEOF
   19851 
   19852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19853 # The default lists apply if the user does not specify any file.
   19854 ac_need_defaults=:
   19855 while test $# != 0
   19856 do
   19857   case $1 in
   19858   --*=?*)
   19859     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19860     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19861     ac_shift=:
   19862     ;;
   19863   --*=)
   19864     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19865     ac_optarg=
   19866     ac_shift=:
   19867     ;;
   19868   *)
   19869     ac_option=$1
   19870     ac_optarg=$2
   19871     ac_shift=shift
   19872     ;;
   19873   esac
   19874 
   19875   case $ac_option in
   19876   # Handling of the options.
   19877   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19878     ac_cs_recheck=: ;;
   19879   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19880     $as_echo "$ac_cs_version"; exit ;;
   19881   --config | --confi | --conf | --con | --co | --c )
   19882     $as_echo "$ac_cs_config"; exit ;;
   19883   --debug | --debu | --deb | --de | --d | -d )
   19884     debug=: ;;
   19885   --file | --fil | --fi | --f )
   19886     $ac_shift
   19887     case $ac_optarg in
   19888     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19889     '') as_fn_error $? "missing file argument" ;;
   19890     esac
   19891     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19892     ac_need_defaults=false;;
   19893   --header | --heade | --head | --hea )
   19894     $ac_shift
   19895     case $ac_optarg in
   19896     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19897     esac
   19898     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19899     ac_need_defaults=false;;
   19900   --he | --h)
   19901     # Conflict between --help and --header
   19902     as_fn_error $? "ambiguous option: \`$1'
   19903 Try \`$0 --help' for more information.";;
   19904   --help | --hel | -h )
   19905     $as_echo "$ac_cs_usage"; exit ;;
   19906   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19907   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19908     ac_cs_silent=: ;;
   19909 
   19910   # This is an error.
   19911   -*) as_fn_error $? "unrecognized option: \`$1'
   19912 Try \`$0 --help' for more information." ;;
   19913 
   19914   *) as_fn_append ac_config_targets " $1"
   19915      ac_need_defaults=false ;;
   19916 
   19917   esac
   19918   shift
   19919 done
   19920 
   19921 ac_configure_extra_args=
   19922 
   19923 if $ac_cs_silent; then
   19924   exec 6>/dev/null
   19925   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19926 fi
   19927 
   19928 _ACEOF
   19929 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19930 if \$ac_cs_recheck; then
   19931   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19932   shift
   19933   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19934   CONFIG_SHELL='$SHELL'
   19935   export CONFIG_SHELL
   19936   exec "\$@"
   19937 fi
   19938 
   19939 _ACEOF
   19940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19941 exec 5>>config.log
   19942 {
   19943   echo
   19944   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19945 ## Running $as_me. ##
   19946 _ASBOX
   19947   $as_echo "$ac_log"
   19948 } >&5
   19949 
   19950 _ACEOF
   19951 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19952 #
   19953 # INIT-COMMANDS
   19954 #
   19955 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19956 
   19957 
   19958 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19959 # if CDPATH is set.
   19960 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19961 
   19962 sed_quote_subst='$sed_quote_subst'
   19963 double_quote_subst='$double_quote_subst'
   19964 delay_variable_subst='$delay_variable_subst'
   19965 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19966 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19967 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19968 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19969 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19970 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19971 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19972 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19973 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19974 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19975 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19976 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19977 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19978 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19979 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19980 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19981 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19982 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19983 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19984 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19985 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19986 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19987 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19988 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19989 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19990 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19991 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19992 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19993 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19994 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19995 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19996 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19997 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19998 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19999 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   20000 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   20001 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   20002 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   20003 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   20004 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   20005 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   20006 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   20007 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   20008 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   20009 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   20010 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   20011 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20012 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20013 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   20014 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   20015 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   20016 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   20017 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   20018 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20019 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20020 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20021 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20022 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20023 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"`'
   20024 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20025 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20026 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20027 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20028 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20029 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20030 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20031 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20032 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20033 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20034 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20035 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20036 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20037 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20038 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20039 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20040 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20041 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20042 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20043 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20044 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20045 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20046 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20047 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20048 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20049 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20050 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20051 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20052 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20053 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20054 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20055 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20056 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20057 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20058 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20059 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20060 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20061 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20062 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20063 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20064 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20065 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20066 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20067 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20068 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20069 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20070 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20071 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20072 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20073 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20074 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20075 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20076 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20077 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20078 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20079 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20080 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20081 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20082 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20083 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20084 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20085 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20086 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20087 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20088 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20089 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20090 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20091 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20092 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20093 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20094 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20095 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20096 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20097 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20098 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20099 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20100 
   20101 LTCC='$LTCC'
   20102 LTCFLAGS='$LTCFLAGS'
   20103 compiler='$compiler_DEFAULT'
   20104 
   20105 # A function that is used when there is no print builtin or printf.
   20106 func_fallback_echo ()
   20107 {
   20108   eval 'cat <<_LTECHO_EOF
   20109 \$1
   20110 _LTECHO_EOF'
   20111 }
   20112 
   20113 # Quote evaled strings.
   20114 for var in SHELL \
   20115 ECHO \
   20116 PATH_SEPARATOR \
   20117 SED \
   20118 GREP \
   20119 EGREP \
   20120 FGREP \
   20121 LD \
   20122 NM \
   20123 LN_S \
   20124 lt_SP2NL \
   20125 lt_NL2SP \
   20126 reload_flag \
   20127 OBJDUMP \
   20128 deplibs_check_method \
   20129 file_magic_cmd \
   20130 file_magic_glob \
   20131 want_nocaseglob \
   20132 DLLTOOL \
   20133 sharedlib_from_linklib_cmd \
   20134 AR \
   20135 AR_FLAGS \
   20136 archiver_list_spec \
   20137 STRIP \
   20138 RANLIB \
   20139 CC \
   20140 CFLAGS \
   20141 compiler \
   20142 lt_cv_sys_global_symbol_pipe \
   20143 lt_cv_sys_global_symbol_to_cdecl \
   20144 lt_cv_sys_global_symbol_to_import \
   20145 lt_cv_sys_global_symbol_to_c_name_address \
   20146 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20147 lt_cv_nm_interface \
   20148 nm_file_list_spec \
   20149 lt_cv_truncate_bin \
   20150 lt_prog_compiler_no_builtin_flag \
   20151 lt_prog_compiler_pic \
   20152 lt_prog_compiler_wl \
   20153 lt_prog_compiler_static \
   20154 lt_cv_prog_compiler_c_o \
   20155 need_locks \
   20156 MANIFEST_TOOL \
   20157 DSYMUTIL \
   20158 NMEDIT \
   20159 LIPO \
   20160 OTOOL \
   20161 OTOOL64 \
   20162 shrext_cmds \
   20163 export_dynamic_flag_spec \
   20164 whole_archive_flag_spec \
   20165 compiler_needs_object \
   20166 with_gnu_ld \
   20167 allow_undefined_flag \
   20168 no_undefined_flag \
   20169 hardcode_libdir_flag_spec \
   20170 hardcode_libdir_separator \
   20171 exclude_expsyms \
   20172 include_expsyms \
   20173 file_list_spec \
   20174 variables_saved_for_relink \
   20175 libname_spec \
   20176 library_names_spec \
   20177 soname_spec \
   20178 install_override_mode \
   20179 finish_eval \
   20180 old_striplib \
   20181 striplib; do
   20182     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20183     *[\\\\\\\`\\"\\\$]*)
   20184       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20185       ;;
   20186     *)
   20187       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20188       ;;
   20189     esac
   20190 done
   20191 
   20192 # Double-quote double-evaled strings.
   20193 for var in reload_cmds \
   20194 old_postinstall_cmds \
   20195 old_postuninstall_cmds \
   20196 old_archive_cmds \
   20197 extract_expsyms_cmds \
   20198 old_archive_from_new_cmds \
   20199 old_archive_from_expsyms_cmds \
   20200 archive_cmds \
   20201 archive_expsym_cmds \
   20202 module_cmds \
   20203 module_expsym_cmds \
   20204 export_symbols_cmds \
   20205 prelink_cmds \
   20206 postlink_cmds \
   20207 postinstall_cmds \
   20208 postuninstall_cmds \
   20209 finish_cmds \
   20210 sys_lib_search_path_spec \
   20211 configure_time_dlsearch_path \
   20212 configure_time_lt_sys_library_path; do
   20213     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20214     *[\\\\\\\`\\"\\\$]*)
   20215       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20216       ;;
   20217     *)
   20218       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20219       ;;
   20220     esac
   20221 done
   20222 
   20223 ac_aux_dir='$ac_aux_dir'
   20224 
   20225 # See if we are running on zsh, and set the options that allow our
   20226 # commands through without removal of \ escapes INIT.
   20227 if test -n "\${ZSH_VERSION+set}"; then
   20228    setopt NO_GLOB_SUBST
   20229 fi
   20230 
   20231 
   20232     PACKAGE='$PACKAGE'
   20233     VERSION='$VERSION'
   20234     RM='$RM'
   20235     ofile='$ofile'
   20236 
   20237 
   20238 
   20239 
   20240 _ACEOF
   20241 
   20242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20243 
   20244 # Handling of arguments.
   20245 for ac_config_target in $ac_config_targets
   20246 do
   20247   case $ac_config_target in
   20248     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20249     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20250     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20251     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20252     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20253     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
   20254     "libfs.pc") CONFIG_FILES="$CONFIG_FILES libfs.pc" ;;
   20255 
   20256   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20257   esac
   20258 done
   20259 
   20260 
   20261 # If the user did not use the arguments to specify the items to instantiate,
   20262 # then the envvar interface is used.  Set only those that are not.
   20263 # We use the long form for the default assignment because of an extremely
   20264 # bizarre bug on SunOS 4.1.3.
   20265 if $ac_need_defaults; then
   20266   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20267   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20268   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20269 fi
   20270 
   20271 # Have a temporary directory for convenience.  Make it in the build tree
   20272 # simply because there is no reason against having it here, and in addition,
   20273 # creating and moving files from /tmp can sometimes cause problems.
   20274 # Hook for its removal unless debugging.
   20275 # Note that there is a small window in which the directory will not be cleaned:
   20276 # after its creation but before its name has been assigned to `$tmp'.
   20277 $debug ||
   20278 {
   20279   tmp= ac_tmp=
   20280   trap 'exit_status=$?
   20281   : "${ac_tmp:=$tmp}"
   20282   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20283 ' 0
   20284   trap 'as_fn_exit 1' 1 2 13 15
   20285 }
   20286 # Create a (secure) tmp directory for tmp files.
   20287 
   20288 {
   20289   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20290   test -d "$tmp"
   20291 }  ||
   20292 {
   20293   tmp=./conf$$-$RANDOM
   20294   (umask 077 && mkdir "$tmp")
   20295 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20296 ac_tmp=$tmp
   20297 
   20298 # Set up the scripts for CONFIG_FILES section.
   20299 # No need to generate them if there are no CONFIG_FILES.
   20300 # This happens for instance with `./config.status config.h'.
   20301 if test -n "$CONFIG_FILES"; then
   20302 
   20303 
   20304 ac_cr=`echo X | tr X '\015'`
   20305 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20306 # But we know of no other shell where ac_cr would be empty at this
   20307 # point, so we can use a bashism as a fallback.
   20308 if test "x$ac_cr" = x; then
   20309   eval ac_cr=\$\'\\r\'
   20310 fi
   20311 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20312 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20313   ac_cs_awk_cr='\\r'
   20314 else
   20315   ac_cs_awk_cr=$ac_cr
   20316 fi
   20317 
   20318 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20319 _ACEOF
   20320 
   20321 
   20322 {
   20323   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20324   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20325   echo "_ACEOF"
   20326 } >conf$$subs.sh ||
   20327   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20328 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20329 ac_delim='%!_!# '
   20330 for ac_last_try in false false false false false :; do
   20331   . ./conf$$subs.sh ||
   20332     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20333 
   20334   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20335   if test $ac_delim_n = $ac_delim_num; then
   20336     break
   20337   elif $ac_last_try; then
   20338     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20339   else
   20340     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20341   fi
   20342 done
   20343 rm -f conf$$subs.sh
   20344 
   20345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20346 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20347 _ACEOF
   20348 sed -n '
   20349 h
   20350 s/^/S["/; s/!.*/"]=/
   20351 p
   20352 g
   20353 s/^[^!]*!//
   20354 :repl
   20355 t repl
   20356 s/'"$ac_delim"'$//
   20357 t delim
   20358 :nl
   20359 h
   20360 s/\(.\{148\}\)..*/\1/
   20361 t more1
   20362 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20363 p
   20364 n
   20365 b repl
   20366 :more1
   20367 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20368 p
   20369 g
   20370 s/.\{148\}//
   20371 t nl
   20372 :delim
   20373 h
   20374 s/\(.\{148\}\)..*/\1/
   20375 t more2
   20376 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20377 p
   20378 b
   20379 :more2
   20380 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20381 p
   20382 g
   20383 s/.\{148\}//
   20384 t delim
   20385 ' <conf$$subs.awk | sed '
   20386 /^[^""]/{
   20387   N
   20388   s/\n//
   20389 }
   20390 ' >>$CONFIG_STATUS || ac_write_fail=1
   20391 rm -f conf$$subs.awk
   20392 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20393 _ACAWK
   20394 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20395   for (key in S) S_is_set[key] = 1
   20396   FS = ""
   20397 
   20398 }
   20399 {
   20400   line = $ 0
   20401   nfields = split(line, field, "@")
   20402   substed = 0
   20403   len = length(field[1])
   20404   for (i = 2; i < nfields; i++) {
   20405     key = field[i]
   20406     keylen = length(key)
   20407     if (S_is_set[key]) {
   20408       value = S[key]
   20409       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20410       len += length(value) + length(field[++i])
   20411       substed = 1
   20412     } else
   20413       len += 1 + keylen
   20414   }
   20415 
   20416   print line
   20417 }
   20418 
   20419 _ACAWK
   20420 _ACEOF
   20421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20422 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20423   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20424 else
   20425   cat
   20426 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20427   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20428 _ACEOF
   20429 
   20430 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20431 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20432 # trailing colons and then remove the whole line if VPATH becomes empty
   20433 # (actually we leave an empty line to preserve line numbers).
   20434 if test "x$srcdir" = x.; then
   20435   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20436 h
   20437 s///
   20438 s/^/:/
   20439 s/[	 ]*$/:/
   20440 s/:\$(srcdir):/:/g
   20441 s/:\${srcdir}:/:/g
   20442 s/:@srcdir@:/:/g
   20443 s/^:*//
   20444 s/:*$//
   20445 x
   20446 s/\(=[	 ]*\).*/\1/
   20447 G
   20448 s/\n//
   20449 s/^[^=]*=[	 ]*$//
   20450 }'
   20451 fi
   20452 
   20453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20454 fi # test -n "$CONFIG_FILES"
   20455 
   20456 # Set up the scripts for CONFIG_HEADERS section.
   20457 # No need to generate them if there are no CONFIG_HEADERS.
   20458 # This happens for instance with `./config.status Makefile'.
   20459 if test -n "$CONFIG_HEADERS"; then
   20460 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20461 BEGIN {
   20462 _ACEOF
   20463 
   20464 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20465 # here-document in config.status, that substitutes the proper values into
   20466 # config.h.in to produce config.h.
   20467 
   20468 # Create a delimiter string that does not exist in confdefs.h, to ease
   20469 # handling of long lines.
   20470 ac_delim='%!_!# '
   20471 for ac_last_try in false false :; do
   20472   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20473   if test -z "$ac_tt"; then
   20474     break
   20475   elif $ac_last_try; then
   20476     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20477   else
   20478     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20479   fi
   20480 done
   20481 
   20482 # For the awk script, D is an array of macro values keyed by name,
   20483 # likewise P contains macro parameters if any.  Preserve backslash
   20484 # newline sequences.
   20485 
   20486 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20487 sed -n '
   20488 s/.\{148\}/&'"$ac_delim"'/g
   20489 t rset
   20490 :rset
   20491 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20492 t def
   20493 d
   20494 :def
   20495 s/\\$//
   20496 t bsnl
   20497 s/["\\]/\\&/g
   20498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20499 D["\1"]=" \3"/p
   20500 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20501 d
   20502 :bsnl
   20503 s/["\\]/\\&/g
   20504 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20505 D["\1"]=" \3\\\\\\n"\\/p
   20506 t cont
   20507 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20508 t cont
   20509 d
   20510 :cont
   20511 n
   20512 s/.\{148\}/&'"$ac_delim"'/g
   20513 t clear
   20514 :clear
   20515 s/\\$//
   20516 t bsnlc
   20517 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20518 d
   20519 :bsnlc
   20520 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20521 b cont
   20522 ' <confdefs.h | sed '
   20523 s/'"$ac_delim"'/"\\\
   20524 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20525 
   20526 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20527   for (key in D) D_is_set[key] = 1
   20528   FS = ""
   20529 }
   20530 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20531   line = \$ 0
   20532   split(line, arg, " ")
   20533   if (arg[1] == "#") {
   20534     defundef = arg[2]
   20535     mac1 = arg[3]
   20536   } else {
   20537     defundef = substr(arg[1], 2)
   20538     mac1 = arg[2]
   20539   }
   20540   split(mac1, mac2, "(") #)
   20541   macro = mac2[1]
   20542   prefix = substr(line, 1, index(line, defundef) - 1)
   20543   if (D_is_set[macro]) {
   20544     # Preserve the white space surrounding the "#".
   20545     print prefix "define", macro P[macro] D[macro]
   20546     next
   20547   } else {
   20548     # Replace #undef with comments.  This is necessary, for example,
   20549     # in the case of _POSIX_SOURCE, which is predefined and required
   20550     # on some systems where configure will not decide to define it.
   20551     if (defundef == "undef") {
   20552       print "/*", prefix defundef, macro, "*/"
   20553       next
   20554     }
   20555   }
   20556 }
   20557 { print }
   20558 _ACAWK
   20559 _ACEOF
   20560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20561   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20562 fi # test -n "$CONFIG_HEADERS"
   20563 
   20564 
   20565 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20566 shift
   20567 for ac_tag
   20568 do
   20569   case $ac_tag in
   20570   :[FHLC]) ac_mode=$ac_tag; continue;;
   20571   esac
   20572   case $ac_mode$ac_tag in
   20573   :[FHL]*:*);;
   20574   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20575   :[FH]-) ac_tag=-:-;;
   20576   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20577   esac
   20578   ac_save_IFS=$IFS
   20579   IFS=:
   20580   set x $ac_tag
   20581   IFS=$ac_save_IFS
   20582   shift
   20583   ac_file=$1
   20584   shift
   20585 
   20586   case $ac_mode in
   20587   :L) ac_source=$1;;
   20588   :[FH])
   20589     ac_file_inputs=
   20590     for ac_f
   20591     do
   20592       case $ac_f in
   20593       -) ac_f="$ac_tmp/stdin";;
   20594       *) # Look for the file first in the build tree, then in the source tree
   20595 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20596 	 # because $ac_f cannot contain `:'.
   20597 	 test -f "$ac_f" ||
   20598 	   case $ac_f in
   20599 	   [\\/$]*) false;;
   20600 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20601 	   esac ||
   20602 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20603       esac
   20604       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20605       as_fn_append ac_file_inputs " '$ac_f'"
   20606     done
   20607 
   20608     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20609     # use $as_me), people would be surprised to read:
   20610     #    /* config.h.  Generated by config.status.  */
   20611     configure_input='Generated from '`
   20612 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20613 	`' by configure.'
   20614     if test x"$ac_file" != x-; then
   20615       configure_input="$ac_file.  $configure_input"
   20616       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20617 $as_echo "$as_me: creating $ac_file" >&6;}
   20618     fi
   20619     # Neutralize special characters interpreted by sed in replacement strings.
   20620     case $configure_input in #(
   20621     *\&* | *\|* | *\\* )
   20622        ac_sed_conf_input=`$as_echo "$configure_input" |
   20623        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20624     *) ac_sed_conf_input=$configure_input;;
   20625     esac
   20626 
   20627     case $ac_tag in
   20628     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20629       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20630     esac
   20631     ;;
   20632   esac
   20633 
   20634   ac_dir=`$as_dirname -- "$ac_file" ||
   20635 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20636 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20637 	 X"$ac_file" : 'X\(//\)$' \| \
   20638 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20639 $as_echo X"$ac_file" |
   20640     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20641 	    s//\1/
   20642 	    q
   20643 	  }
   20644 	  /^X\(\/\/\)[^/].*/{
   20645 	    s//\1/
   20646 	    q
   20647 	  }
   20648 	  /^X\(\/\/\)$/{
   20649 	    s//\1/
   20650 	    q
   20651 	  }
   20652 	  /^X\(\/\).*/{
   20653 	    s//\1/
   20654 	    q
   20655 	  }
   20656 	  s/.*/./; q'`
   20657   as_dir="$ac_dir"; as_fn_mkdir_p
   20658   ac_builddir=.
   20659 
   20660 case "$ac_dir" in
   20661 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20662 *)
   20663   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20664   # A ".." for each directory in $ac_dir_suffix.
   20665   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20666   case $ac_top_builddir_sub in
   20667   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20668   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20669   esac ;;
   20670 esac
   20671 ac_abs_top_builddir=$ac_pwd
   20672 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20673 # for backward compatibility:
   20674 ac_top_builddir=$ac_top_build_prefix
   20675 
   20676 case $srcdir in
   20677   .)  # We are building in place.
   20678     ac_srcdir=.
   20679     ac_top_srcdir=$ac_top_builddir_sub
   20680     ac_abs_top_srcdir=$ac_pwd ;;
   20681   [\\/]* | ?:[\\/]* )  # Absolute name.
   20682     ac_srcdir=$srcdir$ac_dir_suffix;
   20683     ac_top_srcdir=$srcdir
   20684     ac_abs_top_srcdir=$srcdir ;;
   20685   *) # Relative name.
   20686     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20687     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20688     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20689 esac
   20690 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20691 
   20692 
   20693   case $ac_mode in
   20694   :F)
   20695   #
   20696   # CONFIG_FILE
   20697   #
   20698 
   20699   case $INSTALL in
   20700   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20701   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20702   esac
   20703   ac_MKDIR_P=$MKDIR_P
   20704   case $MKDIR_P in
   20705   [\\/$]* | ?:[\\/]* ) ;;
   20706   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20707   esac
   20708 _ACEOF
   20709 
   20710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20711 # If the template does not know about datarootdir, expand it.
   20712 # FIXME: This hack should be removed a few years after 2.60.
   20713 ac_datarootdir_hack=; ac_datarootdir_seen=
   20714 ac_sed_dataroot='
   20715 /datarootdir/ {
   20716   p
   20717   q
   20718 }
   20719 /@datadir@/p
   20720 /@docdir@/p
   20721 /@infodir@/p
   20722 /@localedir@/p
   20723 /@mandir@/p'
   20724 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20725 *datarootdir*) ac_datarootdir_seen=yes;;
   20726 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20727   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20728 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20729 _ACEOF
   20730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20731   ac_datarootdir_hack='
   20732   s&@datadir@&$datadir&g
   20733   s&@docdir@&$docdir&g
   20734   s&@infodir@&$infodir&g
   20735   s&@localedir@&$localedir&g
   20736   s&@mandir@&$mandir&g
   20737   s&\\\${datarootdir}&$datarootdir&g' ;;
   20738 esac
   20739 _ACEOF
   20740 
   20741 # Neutralize VPATH when `$srcdir' = `.'.
   20742 # Shell code in configure.ac might set extrasub.
   20743 # FIXME: do we really want to maintain this feature?
   20744 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20745 ac_sed_extra="$ac_vpsub
   20746 $extrasub
   20747 _ACEOF
   20748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20749 :t
   20750 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20751 s|@configure_input@|$ac_sed_conf_input|;t t
   20752 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20753 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20754 s&@srcdir@&$ac_srcdir&;t t
   20755 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20756 s&@top_srcdir@&$ac_top_srcdir&;t t
   20757 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20758 s&@builddir@&$ac_builddir&;t t
   20759 s&@abs_builddir@&$ac_abs_builddir&;t t
   20760 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20761 s&@INSTALL@&$ac_INSTALL&;t t
   20762 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20763 $ac_datarootdir_hack
   20764 "
   20765 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20766   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20767 
   20768 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20769   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20770   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20771       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20772   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20773 which seems to be undefined.  Please make sure it is defined" >&5
   20774 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20775 which seems to be undefined.  Please make sure it is defined" >&2;}
   20776 
   20777   rm -f "$ac_tmp/stdin"
   20778   case $ac_file in
   20779   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20780   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20781   esac \
   20782   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20783  ;;
   20784   :H)
   20785   #
   20786   # CONFIG_HEADER
   20787   #
   20788   if test x"$ac_file" != x-; then
   20789     {
   20790       $as_echo "/* $configure_input  */" \
   20791       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20792     } >"$ac_tmp/config.h" \
   20793       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20794     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20795       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20796 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20797     else
   20798       rm -f "$ac_file"
   20799       mv "$ac_tmp/config.h" "$ac_file" \
   20800 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20801     fi
   20802   else
   20803     $as_echo "/* $configure_input  */" \
   20804       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20805       || as_fn_error $? "could not create -" "$LINENO" 5
   20806   fi
   20807 # Compute "$ac_file"'s index in $config_headers.
   20808 _am_arg="$ac_file"
   20809 _am_stamp_count=1
   20810 for _am_header in $config_headers :; do
   20811   case $_am_header in
   20812     $_am_arg | $_am_arg:* )
   20813       break ;;
   20814     * )
   20815       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20816   esac
   20817 done
   20818 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20819 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20820 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20821 	 X"$_am_arg" : 'X\(//\)$' \| \
   20822 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20823 $as_echo X"$_am_arg" |
   20824     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20825 	    s//\1/
   20826 	    q
   20827 	  }
   20828 	  /^X\(\/\/\)[^/].*/{
   20829 	    s//\1/
   20830 	    q
   20831 	  }
   20832 	  /^X\(\/\/\)$/{
   20833 	    s//\1/
   20834 	    q
   20835 	  }
   20836 	  /^X\(\/\).*/{
   20837 	    s//\1/
   20838 	    q
   20839 	  }
   20840 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20841  ;;
   20842 
   20843   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20844 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20845  ;;
   20846   esac
   20847 
   20848 
   20849   case $ac_file$ac_mode in
   20850     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20851   # Older Autoconf quotes --file arguments for eval, but not when files
   20852   # are listed without --file.  Let's play safe and only enable the eval
   20853   # if we detect the quoting.
   20854   case $CONFIG_FILES in
   20855   *\'*) eval set x "$CONFIG_FILES" ;;
   20856   *)   set x $CONFIG_FILES ;;
   20857   esac
   20858   shift
   20859   for mf
   20860   do
   20861     # Strip MF so we end up with the name of the file.
   20862     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20863     # Check whether this is an Automake generated Makefile or not.
   20864     # We used to match only the files named 'Makefile.in', but
   20865     # some people rename them; so instead we look at the file content.
   20866     # Grep'ing the first line is not enough: some people post-process
   20867     # each Makefile.in and add a new line on top of each file to say so.
   20868     # Grep'ing the whole file is not good either: AIX grep has a line
   20869     # limit of 2048, but all sed's we know have understand at least 4000.
   20870     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20871       dirpart=`$as_dirname -- "$mf" ||
   20872 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20873 	 X"$mf" : 'X\(//\)[^/]' \| \
   20874 	 X"$mf" : 'X\(//\)$' \| \
   20875 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20876 $as_echo X"$mf" |
   20877     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20878 	    s//\1/
   20879 	    q
   20880 	  }
   20881 	  /^X\(\/\/\)[^/].*/{
   20882 	    s//\1/
   20883 	    q
   20884 	  }
   20885 	  /^X\(\/\/\)$/{
   20886 	    s//\1/
   20887 	    q
   20888 	  }
   20889 	  /^X\(\/\).*/{
   20890 	    s//\1/
   20891 	    q
   20892 	  }
   20893 	  s/.*/./; q'`
   20894     else
   20895       continue
   20896     fi
   20897     # Extract the definition of DEPDIR, am__include, and am__quote
   20898     # from the Makefile without running 'make'.
   20899     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20900     test -z "$DEPDIR" && continue
   20901     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20902     test -z "$am__include" && continue
   20903     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20904     # Find all dependency output files, they are included files with
   20905     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20906     # simplest approach to changing $(DEPDIR) to its actual value in the
   20907     # expansion.
   20908     for file in `sed -n "
   20909       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20910 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20911       # Make sure the directory exists.
   20912       test -f "$dirpart/$file" && continue
   20913       fdir=`$as_dirname -- "$file" ||
   20914 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20915 	 X"$file" : 'X\(//\)[^/]' \| \
   20916 	 X"$file" : 'X\(//\)$' \| \
   20917 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20918 $as_echo X"$file" |
   20919     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20920 	    s//\1/
   20921 	    q
   20922 	  }
   20923 	  /^X\(\/\/\)[^/].*/{
   20924 	    s//\1/
   20925 	    q
   20926 	  }
   20927 	  /^X\(\/\/\)$/{
   20928 	    s//\1/
   20929 	    q
   20930 	  }
   20931 	  /^X\(\/\).*/{
   20932 	    s//\1/
   20933 	    q
   20934 	  }
   20935 	  s/.*/./; q'`
   20936       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20937       # echo "creating $dirpart/$file"
   20938       echo '# dummy' > "$dirpart/$file"
   20939     done
   20940   done
   20941 }
   20942  ;;
   20943     "libtool":C)
   20944 
   20945     # See if we are running on zsh, and set the options that allow our
   20946     # commands through without removal of \ escapes.
   20947     if test -n "${ZSH_VERSION+set}"; then
   20948       setopt NO_GLOB_SUBST
   20949     fi
   20950 
   20951     cfgfile=${ofile}T
   20952     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20953     $RM "$cfgfile"
   20954 
   20955     cat <<_LT_EOF >> "$cfgfile"
   20956 #! $SHELL
   20957 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20958 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20959 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20960 
   20961 # Provide generalized library-building support services.
   20962 # Written by Gordon Matzigkeit, 1996
   20963 
   20964 # Copyright (C) 2014 Free Software Foundation, Inc.
   20965 # This is free software; see the source for copying conditions.  There is NO
   20966 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20967 
   20968 # GNU Libtool is free software; you can redistribute it and/or modify
   20969 # it under the terms of the GNU General Public License as published by
   20970 # the Free Software Foundation; either version 2 of of the License, or
   20971 # (at your option) any later version.
   20972 #
   20973 # As a special exception to the GNU General Public License, if you
   20974 # distribute this file as part of a program or library that is built
   20975 # using GNU Libtool, you may include this file under the  same
   20976 # distribution terms that you use for the rest of that program.
   20977 #
   20978 # GNU Libtool is distributed in the hope that it will be useful, but
   20979 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20980 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20981 # GNU General Public License for more details.
   20982 #
   20983 # You should have received a copy of the GNU General Public License
   20984 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20985 
   20986 
   20987 # The names of the tagged configurations supported by this script.
   20988 available_tags=''
   20989 
   20990 # Configured defaults for sys_lib_dlsearch_path munging.
   20991 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20992 
   20993 # ### BEGIN LIBTOOL CONFIG
   20994 
   20995 # Which release of libtool.m4 was used?
   20996 macro_version=$macro_version
   20997 macro_revision=$macro_revision
   20998 
   20999 # Whether or not to build shared libraries.
   21000 build_libtool_libs=$enable_shared
   21001 
   21002 # Whether or not to build static libraries.
   21003 build_old_libs=$enable_static
   21004 
   21005 # What type of objects to build.
   21006 pic_mode=$pic_mode
   21007 
   21008 # Whether or not to optimize for fast installation.
   21009 fast_install=$enable_fast_install
   21010 
   21011 # Shared archive member basename,for filename based shared library versioning on AIX.
   21012 shared_archive_member_spec=$shared_archive_member_spec
   21013 
   21014 # Shell to use when invoking shell scripts.
   21015 SHELL=$lt_SHELL
   21016 
   21017 # An echo program that protects backslashes.
   21018 ECHO=$lt_ECHO
   21019 
   21020 # The PATH separator for the build system.
   21021 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21022 
   21023 # The host system.
   21024 host_alias=$host_alias
   21025 host=$host
   21026 host_os=$host_os
   21027 
   21028 # The build system.
   21029 build_alias=$build_alias
   21030 build=$build
   21031 build_os=$build_os
   21032 
   21033 # A sed program that does not truncate output.
   21034 SED=$lt_SED
   21035 
   21036 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21037 Xsed="\$SED -e 1s/^X//"
   21038 
   21039 # A grep program that handles long lines.
   21040 GREP=$lt_GREP
   21041 
   21042 # An ERE matcher.
   21043 EGREP=$lt_EGREP
   21044 
   21045 # A literal string matcher.
   21046 FGREP=$lt_FGREP
   21047 
   21048 # A BSD- or MS-compatible name lister.
   21049 NM=$lt_NM
   21050 
   21051 # Whether we need soft or hard links.
   21052 LN_S=$lt_LN_S
   21053 
   21054 # What is the maximum length of a command?
   21055 max_cmd_len=$max_cmd_len
   21056 
   21057 # Object file suffix (normally "o").
   21058 objext=$ac_objext
   21059 
   21060 # Executable file suffix (normally "").
   21061 exeext=$exeext
   21062 
   21063 # whether the shell understands "unset".
   21064 lt_unset=$lt_unset
   21065 
   21066 # turn spaces into newlines.
   21067 SP2NL=$lt_lt_SP2NL
   21068 
   21069 # turn newlines into spaces.
   21070 NL2SP=$lt_lt_NL2SP
   21071 
   21072 # convert \$build file names to \$host format.
   21073 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21074 
   21075 # convert \$build files to toolchain format.
   21076 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21077 
   21078 # An object symbol dumper.
   21079 OBJDUMP=$lt_OBJDUMP
   21080 
   21081 # Method to check whether dependent libraries are shared objects.
   21082 deplibs_check_method=$lt_deplibs_check_method
   21083 
   21084 # Command to use when deplibs_check_method = "file_magic".
   21085 file_magic_cmd=$lt_file_magic_cmd
   21086 
   21087 # How to find potential files when deplibs_check_method = "file_magic".
   21088 file_magic_glob=$lt_file_magic_glob
   21089 
   21090 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21091 want_nocaseglob=$lt_want_nocaseglob
   21092 
   21093 # DLL creation program.
   21094 DLLTOOL=$lt_DLLTOOL
   21095 
   21096 # Command to associate shared and link libraries.
   21097 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21098 
   21099 # The archiver.
   21100 AR=$lt_AR
   21101 
   21102 # Flags to create an archive.
   21103 AR_FLAGS=$lt_AR_FLAGS
   21104 
   21105 # How to feed a file listing to the archiver.
   21106 archiver_list_spec=$lt_archiver_list_spec
   21107 
   21108 # A symbol stripping program.
   21109 STRIP=$lt_STRIP
   21110 
   21111 # Commands used to install an old-style archive.
   21112 RANLIB=$lt_RANLIB
   21113 old_postinstall_cmds=$lt_old_postinstall_cmds
   21114 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21115 
   21116 # Whether to use a lock for old archive extraction.
   21117 lock_old_archive_extraction=$lock_old_archive_extraction
   21118 
   21119 # A C compiler.
   21120 LTCC=$lt_CC
   21121 
   21122 # LTCC compiler flags.
   21123 LTCFLAGS=$lt_CFLAGS
   21124 
   21125 # Take the output of nm and produce a listing of raw symbols and C names.
   21126 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21127 
   21128 # Transform the output of nm in a proper C declaration.
   21129 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21130 
   21131 # Transform the output of nm into a list of symbols to manually relocate.
   21132 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21133 
   21134 # Transform the output of nm in a C name address pair.
   21135 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21136 
   21137 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21138 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21139 
   21140 # The name lister interface.
   21141 nm_interface=$lt_lt_cv_nm_interface
   21142 
   21143 # Specify filename containing input files for \$NM.
   21144 nm_file_list_spec=$lt_nm_file_list_spec
   21145 
   21146 # The root where to search for dependent libraries,and where our libraries should be installed.
   21147 lt_sysroot=$lt_sysroot
   21148 
   21149 # Command to truncate a binary pipe.
   21150 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21151 
   21152 # The name of the directory that contains temporary libtool files.
   21153 objdir=$objdir
   21154 
   21155 # Used to examine libraries when file_magic_cmd begins with "file".
   21156 MAGIC_CMD=$MAGIC_CMD
   21157 
   21158 # Must we lock files when doing compilation?
   21159 need_locks=$lt_need_locks
   21160 
   21161 # Manifest tool.
   21162 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21163 
   21164 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21165 DSYMUTIL=$lt_DSYMUTIL
   21166 
   21167 # Tool to change global to local symbols on Mac OS X.
   21168 NMEDIT=$lt_NMEDIT
   21169 
   21170 # Tool to manipulate fat objects and archives on Mac OS X.
   21171 LIPO=$lt_LIPO
   21172 
   21173 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21174 OTOOL=$lt_OTOOL
   21175 
   21176 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21177 OTOOL64=$lt_OTOOL64
   21178 
   21179 # Old archive suffix (normally "a").
   21180 libext=$libext
   21181 
   21182 # Shared library suffix (normally ".so").
   21183 shrext_cmds=$lt_shrext_cmds
   21184 
   21185 # The commands to extract the exported symbol list from a shared archive.
   21186 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21187 
   21188 # Variables whose values should be saved in libtool wrapper scripts and
   21189 # restored at link time.
   21190 variables_saved_for_relink=$lt_variables_saved_for_relink
   21191 
   21192 # Do we need the "lib" prefix for modules?
   21193 need_lib_prefix=$need_lib_prefix
   21194 
   21195 # Do we need a version for libraries?
   21196 need_version=$need_version
   21197 
   21198 # Library versioning type.
   21199 version_type=$version_type
   21200 
   21201 # Shared library runtime path variable.
   21202 runpath_var=$runpath_var
   21203 
   21204 # Shared library path variable.
   21205 shlibpath_var=$shlibpath_var
   21206 
   21207 # Is shlibpath searched before the hard-coded library search path?
   21208 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21209 
   21210 # Format of library name prefix.
   21211 libname_spec=$lt_libname_spec
   21212 
   21213 # List of archive names.  First name is the real one, the rest are links.
   21214 # The last name is the one that the linker finds with -lNAME
   21215 library_names_spec=$lt_library_names_spec
   21216 
   21217 # The coded name of the library, if different from the real name.
   21218 soname_spec=$lt_soname_spec
   21219 
   21220 # Permission mode override for installation of shared libraries.
   21221 install_override_mode=$lt_install_override_mode
   21222 
   21223 # Command to use after installation of a shared archive.
   21224 postinstall_cmds=$lt_postinstall_cmds
   21225 
   21226 # Command to use after uninstallation of a shared archive.
   21227 postuninstall_cmds=$lt_postuninstall_cmds
   21228 
   21229 # Commands used to finish a libtool library installation in a directory.
   21230 finish_cmds=$lt_finish_cmds
   21231 
   21232 # As "finish_cmds", except a single script fragment to be evaled but
   21233 # not shown.
   21234 finish_eval=$lt_finish_eval
   21235 
   21236 # Whether we should hardcode library paths into libraries.
   21237 hardcode_into_libs=$hardcode_into_libs
   21238 
   21239 # Compile-time system search path for libraries.
   21240 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21241 
   21242 # Detected run-time system search path for libraries.
   21243 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21244 
   21245 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21246 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21247 
   21248 # Whether dlopen is supported.
   21249 dlopen_support=$enable_dlopen
   21250 
   21251 # Whether dlopen of programs is supported.
   21252 dlopen_self=$enable_dlopen_self
   21253 
   21254 # Whether dlopen of statically linked programs is supported.
   21255 dlopen_self_static=$enable_dlopen_self_static
   21256 
   21257 # Commands to strip libraries.
   21258 old_striplib=$lt_old_striplib
   21259 striplib=$lt_striplib
   21260 
   21261 
   21262 # The linker used to build libraries.
   21263 LD=$lt_LD
   21264 
   21265 # How to create reloadable object files.
   21266 reload_flag=$lt_reload_flag
   21267 reload_cmds=$lt_reload_cmds
   21268 
   21269 # Commands used to build an old-style archive.
   21270 old_archive_cmds=$lt_old_archive_cmds
   21271 
   21272 # A language specific compiler.
   21273 CC=$lt_compiler
   21274 
   21275 # Is the compiler the GNU compiler?
   21276 with_gcc=$GCC
   21277 
   21278 # Compiler flag to turn off builtin functions.
   21279 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21280 
   21281 # Additional compiler flags for building library objects.
   21282 pic_flag=$lt_lt_prog_compiler_pic
   21283 
   21284 # How to pass a linker flag through the compiler.
   21285 wl=$lt_lt_prog_compiler_wl
   21286 
   21287 # Compiler flag to prevent dynamic linking.
   21288 link_static_flag=$lt_lt_prog_compiler_static
   21289 
   21290 # Does compiler simultaneously support -c and -o options?
   21291 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21292 
   21293 # Whether or not to add -lc for building shared libraries.
   21294 build_libtool_need_lc=$archive_cmds_need_lc
   21295 
   21296 # Whether or not to disallow shared libs when runtime libs are static.
   21297 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21298 
   21299 # Compiler flag to allow reflexive dlopens.
   21300 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21301 
   21302 # Compiler flag to generate shared objects directly from archives.
   21303 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21304 
   21305 # Whether the compiler copes with passing no objects directly.
   21306 compiler_needs_object=$lt_compiler_needs_object
   21307 
   21308 # Create an old-style archive from a shared archive.
   21309 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21310 
   21311 # Create a temporary old-style archive to link instead of a shared archive.
   21312 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21313 
   21314 # Commands used to build a shared archive.
   21315 archive_cmds=$lt_archive_cmds
   21316 archive_expsym_cmds=$lt_archive_expsym_cmds
   21317 
   21318 # Commands used to build a loadable module if different from building
   21319 # a shared archive.
   21320 module_cmds=$lt_module_cmds
   21321 module_expsym_cmds=$lt_module_expsym_cmds
   21322 
   21323 # Whether we are building with GNU ld or not.
   21324 with_gnu_ld=$lt_with_gnu_ld
   21325 
   21326 # Flag that allows shared libraries with undefined symbols to be built.
   21327 allow_undefined_flag=$lt_allow_undefined_flag
   21328 
   21329 # Flag that enforces no undefined symbols.
   21330 no_undefined_flag=$lt_no_undefined_flag
   21331 
   21332 # Flag to hardcode \$libdir into a binary during linking.
   21333 # This must work even if \$libdir does not exist
   21334 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21335 
   21336 # Whether we need a single "-rpath" flag with a separated argument.
   21337 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21338 
   21339 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21340 # DIR into the resulting binary.
   21341 hardcode_direct=$hardcode_direct
   21342 
   21343 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21344 # DIR into the resulting binary and the resulting library dependency is
   21345 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21346 # library is relocated.
   21347 hardcode_direct_absolute=$hardcode_direct_absolute
   21348 
   21349 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21350 # into the resulting binary.
   21351 hardcode_minus_L=$hardcode_minus_L
   21352 
   21353 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21354 # into the resulting binary.
   21355 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21356 
   21357 # Set to "yes" if building a shared library automatically hardcodes DIR
   21358 # into the library and all subsequent libraries and executables linked
   21359 # against it.
   21360 hardcode_automatic=$hardcode_automatic
   21361 
   21362 # Set to yes if linker adds runtime paths of dependent libraries
   21363 # to runtime path list.
   21364 inherit_rpath=$inherit_rpath
   21365 
   21366 # Whether libtool must link a program against all its dependency libraries.
   21367 link_all_deplibs=$link_all_deplibs
   21368 
   21369 # Set to "yes" if exported symbols are required.
   21370 always_export_symbols=$always_export_symbols
   21371 
   21372 # The commands to list exported symbols.
   21373 export_symbols_cmds=$lt_export_symbols_cmds
   21374 
   21375 # Symbols that should not be listed in the preloaded symbols.
   21376 exclude_expsyms=$lt_exclude_expsyms
   21377 
   21378 # Symbols that must always be exported.
   21379 include_expsyms=$lt_include_expsyms
   21380 
   21381 # Commands necessary for linking programs (against libraries) with templates.
   21382 prelink_cmds=$lt_prelink_cmds
   21383 
   21384 # Commands necessary for finishing linking programs.
   21385 postlink_cmds=$lt_postlink_cmds
   21386 
   21387 # Specify filename containing input files.
   21388 file_list_spec=$lt_file_list_spec
   21389 
   21390 # How to hardcode a shared library path into an executable.
   21391 hardcode_action=$hardcode_action
   21392 
   21393 # ### END LIBTOOL CONFIG
   21394 
   21395 _LT_EOF
   21396 
   21397     cat <<'_LT_EOF' >> "$cfgfile"
   21398 
   21399 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21400 
   21401 # func_munge_path_list VARIABLE PATH
   21402 # -----------------------------------
   21403 # VARIABLE is name of variable containing _space_ separated list of
   21404 # directories to be munged by the contents of PATH, which is string
   21405 # having a format:
   21406 # "DIR[:DIR]:"
   21407 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21408 # ":DIR[:DIR]"
   21409 #       string "DIR[ DIR]" will be appended to VARIABLE
   21410 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21411 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21412 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21413 # "DIR[:DIR]"
   21414 #       VARIABLE will be replaced by "DIR[ DIR]"
   21415 func_munge_path_list ()
   21416 {
   21417     case x$2 in
   21418     x)
   21419         ;;
   21420     *:)
   21421         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21422         ;;
   21423     x:*)
   21424         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21425         ;;
   21426     *::*)
   21427         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21428         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21429         ;;
   21430     *)
   21431         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21432         ;;
   21433     esac
   21434 }
   21435 
   21436 
   21437 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21438 func_cc_basename ()
   21439 {
   21440     for cc_temp in $*""; do
   21441       case $cc_temp in
   21442         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21443         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21444         \-*) ;;
   21445         *) break;;
   21446       esac
   21447     done
   21448     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21449 }
   21450 
   21451 
   21452 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21453 
   21454 _LT_EOF
   21455 
   21456   case $host_os in
   21457   aix3*)
   21458     cat <<\_LT_EOF >> "$cfgfile"
   21459 # AIX sometimes has problems with the GCC collect2 program.  For some
   21460 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21461 # vanish in a puff of smoke.
   21462 if test set != "${COLLECT_NAMES+set}"; then
   21463   COLLECT_NAMES=
   21464   export COLLECT_NAMES
   21465 fi
   21466 _LT_EOF
   21467     ;;
   21468   esac
   21469 
   21470 
   21471 ltmain=$ac_aux_dir/ltmain.sh
   21472 
   21473 
   21474   # We use sed instead of cat because bash on DJGPP gets confused if
   21475   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21476   # text mode, it properly converts lines to CR/LF.  This bash problem
   21477   # is reportedly fixed, but why not run on old versions too?
   21478   sed '$q' "$ltmain" >> "$cfgfile" \
   21479      || (rm -f "$cfgfile"; exit 1)
   21480 
   21481    mv -f "$cfgfile" "$ofile" ||
   21482     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21483   chmod +x "$ofile"
   21484 
   21485  ;;
   21486 
   21487   esac
   21488 done # for ac_tag
   21489 
   21490 
   21491 as_fn_exit 0
   21492 _ACEOF
   21493 ac_clean_files=$ac_clean_files_save
   21494 
   21495 test $ac_write_fail = 0 ||
   21496   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21497 
   21498 
   21499 # configure is writing to config.log, and then calls config.status.
   21500 # config.status does its own redirection, appending to config.log.
   21501 # Unfortunately, on DOS this fails, as config.log is still kept open
   21502 # by configure, so config.status won't be able to write to it; its
   21503 # output is simply discarded.  So we exec the FD to /dev/null,
   21504 # effectively closing config.log, so it can be properly (re)opened and
   21505 # appended to by config.status.  When coming back to configure, we
   21506 # need to make the FD available again.
   21507 if test "$no_create" != yes; then
   21508   ac_cs_success=:
   21509   ac_config_status_args=
   21510   test "$silent" = yes &&
   21511     ac_config_status_args="$ac_config_status_args --quiet"
   21512   exec 5>/dev/null
   21513   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21514   exec 5>>config.log
   21515   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21516   # would make configure fail if this is the last instruction.
   21517   $ac_cs_success || as_fn_exit 1
   21518 fi
   21519 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21520   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21521 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21522 fi
   21523 
   21524