Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.9
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-savage 2.3.9.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
      6 #
      7 #
      8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
      9 #
     10 #
     11 # This configure script is free software; the Free Software Foundation
     12 # gives unlimited permission to copy, distribute and modify it.
     13 ## -------------------- ##
     14 ## M4sh Initialization. ##
     15 ## -------------------- ##
     16 
     17 # Be more Bourne compatible
     18 DUALCASE=1; export DUALCASE # for MKS sh
     19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     20   emulate sh
     21   NULLCMD=:
     22   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     23   # is contrary to our usage.  Disable this feature.
     24   alias -g '${1+"$@"}'='"$@"'
     25   setopt NO_GLOB_SUBST
     26 else
     27   case `(set -o) 2>/dev/null` in #(
     28   *posix*) :
     29     set -o posix ;; #(
     30   *) :
     31      ;;
     32 esac
     33 fi
     34 
     35 
     36 as_nl='
     37 '
     38 export as_nl
     39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
     40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
     41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
     42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
     43 # Prefer a ksh shell builtin over an external printf program on Solaris,
     44 # but without wasting forks for bash or zsh.
     45 if test -z "$BASH_VERSION$ZSH_VERSION" \
     46     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47   as_echo='print -r --'
     48   as_echo_n='print -rn --'
     49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     50   as_echo='printf %s\n'
     51   as_echo_n='printf %s'
     52 else
     53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
     54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
     55     as_echo_n='/usr/ucb/echo -n'
     56   else
     57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
     58     as_echo_n_body='eval
     59       arg=$1;
     60       case $arg in #(
     61       *"$as_nl"*)
     62 	expr "X$arg" : "X\\(.*\\)$as_nl";
     63 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
     64       esac;
     65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
     66     '
     67     export as_echo_n_body
     68     as_echo_n='sh -c $as_echo_n_body as_echo'
     69   fi
     70   export as_echo_body
     71   as_echo='sh -c $as_echo_body as_echo'
     72 fi
     73 
     74 # The user is always right.
     75 if test "${PATH_SEPARATOR+set}" != set; then
     76   PATH_SEPARATOR=:
     77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
     78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
     79       PATH_SEPARATOR=';'
     80   }
     81 fi
     82 
     83 
     84 # IFS
     85 # We need space, tab and new line, in precisely that order.  Quoting is
     86 # there to prevent editors from complaining about space-tab.
     87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
     88 # splitting by setting IFS to empty value.)
     89 IFS=" ""	$as_nl"
     90 
     91 # Find who we are.  Look in the path if we contain no directory separator.
     92 as_myself=
     93 case $0 in #((
     94   *[\\/]* ) as_myself=$0 ;;
     95   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     96 for as_dir in $PATH
     97 do
     98   IFS=$as_save_IFS
     99   test -z "$as_dir" && as_dir=.
    100     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    101   done
    102 IFS=$as_save_IFS
    103 
    104      ;;
    105 esac
    106 # We did not find ourselves, most probably we were run as `sh COMMAND'
    107 # in which case we are not to be found in the path.
    108 if test "x$as_myself" = x; then
    109   as_myself=$0
    110 fi
    111 if test ! -f "$as_myself"; then
    112   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    113   exit 1
    114 fi
    115 
    116 # Unset variables that we do not need and which cause bugs (e.g. in
    117 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    118 # suppresses any "Segmentation fault" message there.  '((' could
    119 # trigger a bug in pdksh 5.2.14.
    120 for as_var in BASH_ENV ENV MAIL MAILPATH
    121 do eval test x\${$as_var+set} = xset \
    122   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    123 done
    124 PS1='$ '
    125 PS2='> '
    126 PS4='+ '
    127 
    128 # NLS nuisances.
    129 LC_ALL=C
    130 export LC_ALL
    131 LANGUAGE=C
    132 export LANGUAGE
    133 
    134 # CDPATH.
    135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    136 
    137 # Use a proper internal environment variable to ensure we don't fall
    138   # into an infinite loop, continuously re-executing ourselves.
    139   if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
    140     _as_can_reexec=no; export _as_can_reexec;
    141     # We cannot yet assume a decent shell, so we have to provide a
    142 # neutralization value for shells without unset; and this also
    143 # works around shells that cannot unset nonexistent variables.
    144 # Preserve -v and -x to the replacement shell.
    145 BASH_ENV=/dev/null
    146 ENV=/dev/null
    147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    148 case $- in # ((((
    149   *v*x* | *x*v* ) as_opts=-vx ;;
    150   *v* ) as_opts=-v ;;
    151   *x* ) as_opts=-x ;;
    152   * ) as_opts= ;;
    153 esac
    154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    155 # Admittedly, this is quite paranoid, since all the known shells bail
    156 # out after a failed `exec'.
    157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    158 as_fn_exit 255
    159   fi
    160   # We don't want this to propagate to other subprocesses.
    161           { _as_can_reexec=; unset _as_can_reexec;}
    162 if test "x$CONFIG_SHELL" = x; then
    163   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    164   emulate sh
    165   NULLCMD=:
    166   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    167   # is contrary to our usage.  Disable this feature.
    168   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    169   setopt NO_GLOB_SUBST
    170 else
    171   case \`(set -o) 2>/dev/null\` in #(
    172   *posix*) :
    173     set -o posix ;; #(
    174   *) :
    175      ;;
    176 esac
    177 fi
    178 "
    179   as_required="as_fn_return () { (exit \$1); }
    180 as_fn_success () { as_fn_return 0; }
    181 as_fn_failure () { as_fn_return 1; }
    182 as_fn_ret_success () { return 0; }
    183 as_fn_ret_failure () { return 1; }
    184 
    185 exitcode=0
    186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    191 
    192 else
    193   exitcode=1; echo positional parameters were not saved.
    194 fi
    195 test x\$exitcode = x0 || exit 1
    196 test -x / || exit 1"
    197   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    198   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    199   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    200   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    201 test \$(( 1 + 1 )) = 2 || exit 1
    202 
    203   test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
    204     ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    205     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    206     ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
    207     PATH=/empty FPATH=/empty; export PATH FPATH
    208     test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
    209       || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
    210   if (eval "$as_required") 2>/dev/null; then :
    211   as_have_required=yes
    212 else
    213   as_have_required=no
    214 fi
    215   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    216 
    217 else
    218   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    219 as_found=false
    220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    221 do
    222   IFS=$as_save_IFS
    223   test -z "$as_dir" && as_dir=.
    224   as_found=:
    225   case $as_dir in #(
    226 	 /*)
    227 	   for as_base in sh bash ksh sh5; do
    228 	     # Try only shells that exist, to save several forks.
    229 	     as_shell=$as_dir/$as_base
    230 	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    231 		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    232   CONFIG_SHELL=$as_shell as_have_required=yes
    233 		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    234   break 2
    235 fi
    236 fi
    237 	   done;;
    238        esac
    239   as_found=false
    240 done
    241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    242 	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    243   CONFIG_SHELL=$SHELL as_have_required=yes
    244 fi; }
    245 IFS=$as_save_IFS
    246 
    247 
    248       if test "x$CONFIG_SHELL" != x; then :
    249   export CONFIG_SHELL
    250              # We cannot yet assume a decent shell, so we have to provide a
    251 # neutralization value for shells without unset; and this also
    252 # works around shells that cannot unset nonexistent variables.
    253 # Preserve -v and -x to the replacement shell.
    254 BASH_ENV=/dev/null
    255 ENV=/dev/null
    256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    257 case $- in # ((((
    258   *v*x* | *x*v* ) as_opts=-vx ;;
    259   *v* ) as_opts=-v ;;
    260   *x* ) as_opts=-x ;;
    261   * ) as_opts= ;;
    262 esac
    263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
    264 # Admittedly, this is quite paranoid, since all the known shells bail
    265 # out after a failed `exec'.
    266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
    267 exit 255
    268 fi
    269 
    270     if test x$as_have_required = xno; then :
    271   $as_echo "$0: This script requires a shell more modern than all"
    272   $as_echo "$0: the shells that I found on your system."
    273   if test x${ZSH_VERSION+set} = xset ; then
    274     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    275     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    276   else
    277     $as_echo "$0: Please tell bug-autoconf (at] gnu.org and
    278 $0: https://bugs.freedesktop.org/enter_bug.cgi?product=xorg
    279 $0: about your system, including any error possibly output
    280 $0: before this message. Then install a modern shell, or
    281 $0: manually run the script under such a shell if you do
    282 $0: have one."
    283   fi
    284   exit 1
    285 fi
    286 fi
    287 fi
    288 SHELL=${CONFIG_SHELL-/bin/sh}
    289 export SHELL
    290 # Unset more variables known to interfere with behavior of common tools.
    291 CLICOLOR_FORCE= GREP_OPTIONS=
    292 unset CLICOLOR_FORCE GREP_OPTIONS
    293 
    294 ## --------------------- ##
    295 ## M4sh Shell Functions. ##
    296 ## --------------------- ##
    297 # as_fn_unset VAR
    298 # ---------------
    299 # Portably unset VAR.
    300 as_fn_unset ()
    301 {
    302   { eval $1=; unset $1;}
    303 }
    304 as_unset=as_fn_unset
    305 
    306 # as_fn_set_status STATUS
    307 # -----------------------
    308 # Set $? to STATUS, without forking.
    309 as_fn_set_status ()
    310 {
    311   return $1
    312 } # as_fn_set_status
    313 
    314 # as_fn_exit STATUS
    315 # -----------------
    316 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    317 as_fn_exit ()
    318 {
    319   set +e
    320   as_fn_set_status $1
    321   exit $1
    322 } # as_fn_exit
    323 
    324 # as_fn_mkdir_p
    325 # -------------
    326 # Create "$as_dir" as a directory, including parents if necessary.
    327 as_fn_mkdir_p ()
    328 {
    329 
    330   case $as_dir in #(
    331   -*) as_dir=./$as_dir;;
    332   esac
    333   test -d "$as_dir" || eval $as_mkdir_p || {
    334     as_dirs=
    335     while :; do
    336       case $as_dir in #(
    337       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    338       *) as_qdir=$as_dir;;
    339       esac
    340       as_dirs="'$as_qdir' $as_dirs"
    341       as_dir=`$as_dirname -- "$as_dir" ||
    342 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    343 	 X"$as_dir" : 'X\(//\)[^/]' \| \
    344 	 X"$as_dir" : 'X\(//\)$' \| \
    345 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    346 $as_echo X"$as_dir" |
    347     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    348 	    s//\1/
    349 	    q
    350 	  }
    351 	  /^X\(\/\/\)[^/].*/{
    352 	    s//\1/
    353 	    q
    354 	  }
    355 	  /^X\(\/\/\)$/{
    356 	    s//\1/
    357 	    q
    358 	  }
    359 	  /^X\(\/\).*/{
    360 	    s//\1/
    361 	    q
    362 	  }
    363 	  s/.*/./; q'`
    364       test -d "$as_dir" && break
    365     done
    366     test -z "$as_dirs" || eval "mkdir $as_dirs"
    367   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    368 
    369 
    370 } # as_fn_mkdir_p
    371 
    372 # as_fn_executable_p FILE
    373 # -----------------------
    374 # Test if FILE is an executable regular file.
    375 as_fn_executable_p ()
    376 {
    377   test -f "$1" && test -x "$1"
    378 } # as_fn_executable_p
    379 # as_fn_append VAR VALUE
    380 # ----------------------
    381 # Append the text in VALUE to the end of the definition contained in VAR. Take
    382 # advantage of any shell optimizations that allow amortized linear growth over
    383 # repeated appends, instead of the typical quadratic growth present in naive
    384 # implementations.
    385 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    386   eval 'as_fn_append ()
    387   {
    388     eval $1+=\$2
    389   }'
    390 else
    391   as_fn_append ()
    392   {
    393     eval $1=\$$1\$2
    394   }
    395 fi # as_fn_append
    396 
    397 # as_fn_arith ARG...
    398 # ------------------
    399 # Perform arithmetic evaluation on the ARGs, and store the result in the
    400 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    401 # must be portable across $(()) and expr.
    402 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    403   eval 'as_fn_arith ()
    404   {
    405     as_val=$(( $* ))
    406   }'
    407 else
    408   as_fn_arith ()
    409   {
    410     as_val=`expr "$@" || test $? -eq 1`
    411   }
    412 fi # as_fn_arith
    413 
    414 
    415 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    416 # ----------------------------------------
    417 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    418 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    419 # script with STATUS, using 1 if that was 0.
    420 as_fn_error ()
    421 {
    422   as_status=$1; test $as_status -eq 0 && as_status=1
    423   if test "$4"; then
    424     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    425     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    426   fi
    427   $as_echo "$as_me: error: $2" >&2
    428   as_fn_exit $as_status
    429 } # as_fn_error
    430 
    431 if expr a : '\(a\)' >/dev/null 2>&1 &&
    432    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    433   as_expr=expr
    434 else
    435   as_expr=false
    436 fi
    437 
    438 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
    439   as_basename=basename
    440 else
    441   as_basename=false
    442 fi
    443 
    444 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    445   as_dirname=dirname
    446 else
    447   as_dirname=false
    448 fi
    449 
    450 as_me=`$as_basename -- "$0" ||
    451 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
    452 	 X"$0" : 'X\(//\)$' \| \
    453 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    454 $as_echo X/"$0" |
    455     sed '/^.*\/\([^/][^/]*\)\/*$/{
    456 	    s//\1/
    457 	    q
    458 	  }
    459 	  /^X\/\(\/\/\)$/{
    460 	    s//\1/
    461 	    q
    462 	  }
    463 	  /^X\/\(\/\).*/{
    464 	    s//\1/
    465 	    q
    466 	  }
    467 	  s/.*/./; q'`
    468 
    469 # Avoid depending upon Character Ranges.
    470 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    471 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    472 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    473 as_cr_digits='0123456789'
    474 as_cr_alnum=$as_cr_Letters$as_cr_digits
    475 
    476 
    477   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    478   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    479   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    480   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    481   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    482   sed -n '
    483     p
    484     /[$]LINENO/=
    485   ' <$as_myself |
    486     sed '
    487       s/[$]LINENO.*/&-/
    488       t lineno
    489       b
    490       :lineno
    491       N
    492       :loop
    493       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    494       t loop
    495       s/-\n.*//
    496     ' >$as_me.lineno &&
    497   chmod +x "$as_me.lineno" ||
    498     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    499 
    500   # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
    501   # already done that, so ensure we don't try to do so again and fall
    502   # in an infinite loop.  This has already happened in practice.
    503   _as_can_reexec=no; export _as_can_reexec
    504   # Don't try to exec as it changes $[0], causing all sort of problems
    505   # (the dirname of $[0] is not the place where we might find the
    506   # original and so on.  Autoconf is especially sensitive to this).
    507   . "./$as_me.lineno"
    508   # Exit status is that of the last command.
    509   exit
    510 }
    511 
    512 ECHO_C= ECHO_N= ECHO_T=
    513 case `echo -n x` in #(((((
    514 -n*)
    515   case `echo 'xy\c'` in
    516   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
    517   xy)  ECHO_C='\c';;
    518   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    519        ECHO_T='	';;
    520   esac;;
    521 *)
    522   ECHO_N='-n';;
    523 esac
    524 
    525 rm -f conf$$ conf$$.exe conf$$.file
    526 if test -d conf$$.dir; then
    527   rm -f conf$$.dir/conf$$.file
    528 else
    529   rm -f conf$$.dir
    530   mkdir conf$$.dir 2>/dev/null
    531 fi
    532 if (echo >conf$$.file) 2>/dev/null; then
    533   if ln -s conf$$.file conf$$ 2>/dev/null; then
    534     as_ln_s='ln -s'
    535     # ... but there are two gotchas:
    536     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    537     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    538     # In both cases, we have to default to `cp -pR'.
    539     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    540       as_ln_s='cp -pR'
    541   elif ln conf$$.file conf$$ 2>/dev/null; then
    542     as_ln_s=ln
    543   else
    544     as_ln_s='cp -pR'
    545   fi
    546 else
    547   as_ln_s='cp -pR'
    548 fi
    549 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    550 rmdir conf$$.dir 2>/dev/null
    551 
    552 if mkdir -p . 2>/dev/null; then
    553   as_mkdir_p='mkdir -p "$as_dir"'
    554 else
    555   test -d ./-p && rmdir ./-p
    556   as_mkdir_p=false
    557 fi
    558 
    559 as_test_x='test -x'
    560 as_executable_p=as_fn_executable_p
    561 
    562 # Sed expression to map a string onto a valid CPP name.
    563 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    564 
    565 # Sed expression to map a string onto a valid variable name.
    566 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    567 
    568 SHELL=${CONFIG_SHELL-/bin/sh}
    569 
    570 
    571 test -n "$DJDIR" || exec 7<&0 </dev/null
    572 exec 6>&1
    573 
    574 # Name of the host.
    575 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    576 # so uname gets run too.
    577 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    578 
    579 #
    580 # Initializations.
    581 #
    582 ac_default_prefix=/usr/local
    583 ac_clean_files=
    584 ac_config_libobj_dir=.
    585 LIBOBJS=
    586 cross_compiling=no
    587 subdirs=
    588 MFLAGS=
    589 MAKEFLAGS=
    590 
    591 # Identity of this package.
    592 PACKAGE_NAME='xf86-video-savage'
    593 PACKAGE_TARNAME='xf86-video-savage'
    594 PACKAGE_VERSION='2.3.9'
    595 PACKAGE_STRING='xf86-video-savage 2.3.9'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 DRIVER_NAME
    641 moduledir
    642 XSERVER_LIBPCIACCESS_FALSE
    643 XSERVER_LIBPCIACCESS_TRUE
    644 PCIACCESS_LIBS
    645 PCIACCESS_CFLAGS
    646 XAA_FALSE
    647 XAA_TRUE
    648 DRI_LIBS
    649 DRI_CFLAGS
    650 DRI_FALSE
    651 DRI_TRUE
    652 HAVE_XEXTPROTO_71_FALSE
    653 HAVE_XEXTPROTO_71_TRUE
    654 XEXT_LIBS
    655 XEXT_CFLAGS
    656 XORG_LIBS
    657 XORG_CFLAGS
    658 LT_SYS_LIBRARY_PATH
    659 OTOOL64
    660 OTOOL
    661 LIPO
    662 NMEDIT
    663 DSYMUTIL
    664 MANIFEST_TOOL
    665 RANLIB
    666 ac_ct_AR
    667 AR
    668 DLLTOOL
    669 OBJDUMP
    670 LN_S
    671 NM
    672 ac_ct_DUMPBIN
    673 DUMPBIN
    674 LD
    675 FGREP
    676 LIBTOOL
    677 MAN_SUBSTS
    678 XORG_MAN_PAGE
    679 ADMIN_MAN_DIR
    680 DRIVER_MAN_DIR
    681 MISC_MAN_DIR
    682 FILE_MAN_DIR
    683 LIB_MAN_DIR
    684 APP_MAN_DIR
    685 ADMIN_MAN_SUFFIX
    686 DRIVER_MAN_SUFFIX
    687 MISC_MAN_SUFFIX
    688 FILE_MAN_SUFFIX
    689 LIB_MAN_SUFFIX
    690 APP_MAN_SUFFIX
    691 SED
    692 host_os
    693 host_vendor
    694 host_cpu
    695 host
    696 build_os
    697 build_vendor
    698 build_cpu
    699 build
    700 INSTALL_CMD
    701 PKG_CONFIG_LIBDIR
    702 PKG_CONFIG_PATH
    703 PKG_CONFIG
    704 CHANGELOG_CMD
    705 STRICT_CFLAGS
    706 CWARNFLAGS
    707 BASE_CFLAGS
    708 EGREP
    709 GREP
    710 CPP
    711 am__fastdepCC_FALSE
    712 am__fastdepCC_TRUE
    713 CCDEPMODE
    714 am__nodep
    715 AMDEPBACKSLASH
    716 AMDEP_FALSE
    717 AMDEP_TRUE
    718 am__quote
    719 am__include
    720 DEPDIR
    721 OBJEXT
    722 EXEEXT
    723 ac_ct_CC
    724 CPPFLAGS
    725 LDFLAGS
    726 CFLAGS
    727 CC
    728 MAINT
    729 MAINTAINER_MODE_FALSE
    730 MAINTAINER_MODE_TRUE
    731 AM_BACKSLASH
    732 AM_DEFAULT_VERBOSITY
    733 AM_DEFAULT_V
    734 AM_V
    735 am__untar
    736 am__tar
    737 AMTAR
    738 am__leading_dot
    739 SET_MAKE
    740 AWK
    741 mkdir_p
    742 MKDIR_P
    743 INSTALL_STRIP_PROGRAM
    744 STRIP
    745 install_sh
    746 MAKEINFO
    747 AUTOHEADER
    748 AUTOMAKE
    749 AUTOCONF
    750 ACLOCAL
    751 VERSION
    752 PACKAGE
    753 CYGPATH_W
    754 am__isrc
    755 INSTALL_DATA
    756 INSTALL_SCRIPT
    757 INSTALL_PROGRAM
    758 target_alias
    759 host_alias
    760 build_alias
    761 LIBS
    762 ECHO_T
    763 ECHO_N
    764 ECHO_C
    765 DEFS
    766 mandir
    767 localedir
    768 libdir
    769 psdir
    770 pdfdir
    771 dvidir
    772 htmldir
    773 infodir
    774 docdir
    775 oldincludedir
    776 includedir
    777 localstatedir
    778 sharedstatedir
    779 sysconfdir
    780 datadir
    781 datarootdir
    782 libexecdir
    783 sbindir
    784 bindir
    785 program_transform_name
    786 prefix
    787 exec_prefix
    788 PACKAGE_URL
    789 PACKAGE_BUGREPORT
    790 PACKAGE_STRING
    791 PACKAGE_VERSION
    792 PACKAGE_TARNAME
    793 PACKAGE_NAME
    794 PATH_SEPARATOR
    795 SHELL'
    796 ac_subst_files=''
    797 ac_user_opts='
    798 enable_option_checking
    799 enable_silent_rules
    800 enable_maintainer_mode
    801 enable_dependency_tracking
    802 enable_selective_werror
    803 enable_strict_compilation
    804 enable_static
    805 enable_shared
    806 with_pic
    807 enable_fast_install
    808 with_aix_soname
    809 with_gnu_ld
    810 with_sysroot
    811 enable_libtool_lock
    812 with_xorg_module_dir
    813 enable_dri
    814 enable_xaa
    815 '
    816       ac_precious_vars='build_alias
    817 host_alias
    818 target_alias
    819 CC
    820 CFLAGS
    821 LDFLAGS
    822 LIBS
    823 CPPFLAGS
    824 CPP
    825 PKG_CONFIG
    826 PKG_CONFIG_PATH
    827 PKG_CONFIG_LIBDIR
    828 LT_SYS_LIBRARY_PATH
    829 XORG_CFLAGS
    830 XORG_LIBS
    831 XEXT_CFLAGS
    832 XEXT_LIBS
    833 DRI_CFLAGS
    834 DRI_LIBS
    835 PCIACCESS_CFLAGS
    836 PCIACCESS_LIBS'
    837 
    838 
    839 # Initialize some variables set by options.
    840 ac_init_help=
    841 ac_init_version=false
    842 ac_unrecognized_opts=
    843 ac_unrecognized_sep=
    844 # The variables have the same names as the options, with
    845 # dashes changed to underlines.
    846 cache_file=/dev/null
    847 exec_prefix=NONE
    848 no_create=
    849 no_recursion=
    850 prefix=NONE
    851 program_prefix=NONE
    852 program_suffix=NONE
    853 program_transform_name=s,x,x,
    854 silent=
    855 site=
    856 srcdir=
    857 verbose=
    858 x_includes=NONE
    859 x_libraries=NONE
    860 
    861 # Installation directory options.
    862 # These are left unexpanded so users can "make install exec_prefix=/foo"
    863 # and all the variables that are supposed to be based on exec_prefix
    864 # by default will actually change.
    865 # Use braces instead of parens because sh, perl, etc. also accept them.
    866 # (The list follows the same order as the GNU Coding Standards.)
    867 bindir='${exec_prefix}/bin'
    868 sbindir='${exec_prefix}/sbin'
    869 libexecdir='${exec_prefix}/libexec'
    870 datarootdir='${prefix}/share'
    871 datadir='${datarootdir}'
    872 sysconfdir='${prefix}/etc'
    873 sharedstatedir='${prefix}/com'
    874 localstatedir='${prefix}/var'
    875 includedir='${prefix}/include'
    876 oldincludedir='/usr/include'
    877 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    878 infodir='${datarootdir}/info'
    879 htmldir='${docdir}'
    880 dvidir='${docdir}'
    881 pdfdir='${docdir}'
    882 psdir='${docdir}'
    883 libdir='${exec_prefix}/lib'
    884 localedir='${datarootdir}/locale'
    885 mandir='${datarootdir}/man'
    886 
    887 ac_prev=
    888 ac_dashdash=
    889 for ac_option
    890 do
    891   # If the previous option needs an argument, assign it.
    892   if test -n "$ac_prev"; then
    893     eval $ac_prev=\$ac_option
    894     ac_prev=
    895     continue
    896   fi
    897 
    898   case $ac_option in
    899   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    900   *=)   ac_optarg= ;;
    901   *)    ac_optarg=yes ;;
    902   esac
    903 
    904   # Accept the important Cygnus configure options, so we can diagnose typos.
    905 
    906   case $ac_dashdash$ac_option in
    907   --)
    908     ac_dashdash=yes ;;
    909 
    910   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    911     ac_prev=bindir ;;
    912   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    913     bindir=$ac_optarg ;;
    914 
    915   -build | --build | --buil | --bui | --bu)
    916     ac_prev=build_alias ;;
    917   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    918     build_alias=$ac_optarg ;;
    919 
    920   -cache-file | --cache-file | --cache-fil | --cache-fi \
    921   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    922     ac_prev=cache_file ;;
    923   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    924   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    925     cache_file=$ac_optarg ;;
    926 
    927   --config-cache | -C)
    928     cache_file=config.cache ;;
    929 
    930   -datadir | --datadir | --datadi | --datad)
    931     ac_prev=datadir ;;
    932   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    933     datadir=$ac_optarg ;;
    934 
    935   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    936   | --dataroo | --dataro | --datar)
    937     ac_prev=datarootdir ;;
    938   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    939   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    940     datarootdir=$ac_optarg ;;
    941 
    942   -disable-* | --disable-*)
    943     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    944     # Reject names that are not valid shell variable names.
    945     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    946       as_fn_error $? "invalid feature name: $ac_useropt"
    947     ac_useropt_orig=$ac_useropt
    948     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    949     case $ac_user_opts in
    950       *"
    951 "enable_$ac_useropt"
    952 "*) ;;
    953       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    954 	 ac_unrecognized_sep=', ';;
    955     esac
    956     eval enable_$ac_useropt=no ;;
    957 
    958   -docdir | --docdir | --docdi | --doc | --do)
    959     ac_prev=docdir ;;
    960   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    961     docdir=$ac_optarg ;;
    962 
    963   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    964     ac_prev=dvidir ;;
    965   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    966     dvidir=$ac_optarg ;;
    967 
    968   -enable-* | --enable-*)
    969     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    970     # Reject names that are not valid shell variable names.
    971     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    972       as_fn_error $? "invalid feature name: $ac_useropt"
    973     ac_useropt_orig=$ac_useropt
    974     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    975     case $ac_user_opts in
    976       *"
    977 "enable_$ac_useropt"
    978 "*) ;;
    979       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    980 	 ac_unrecognized_sep=', ';;
    981     esac
    982     eval enable_$ac_useropt=\$ac_optarg ;;
    983 
    984   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    985   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    986   | --exec | --exe | --ex)
    987     ac_prev=exec_prefix ;;
    988   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    989   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    990   | --exec=* | --exe=* | --ex=*)
    991     exec_prefix=$ac_optarg ;;
    992 
    993   -gas | --gas | --ga | --g)
    994     # Obsolete; use --with-gas.
    995     with_gas=yes ;;
    996 
    997   -help | --help | --hel | --he | -h)
    998     ac_init_help=long ;;
    999   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   1000     ac_init_help=recursive ;;
   1001   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   1002     ac_init_help=short ;;
   1003 
   1004   -host | --host | --hos | --ho)
   1005     ac_prev=host_alias ;;
   1006   -host=* | --host=* | --hos=* | --ho=*)
   1007     host_alias=$ac_optarg ;;
   1008 
   1009   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   1010     ac_prev=htmldir ;;
   1011   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   1012   | --ht=*)
   1013     htmldir=$ac_optarg ;;
   1014 
   1015   -includedir | --includedir | --includedi | --included | --include \
   1016   | --includ | --inclu | --incl | --inc)
   1017     ac_prev=includedir ;;
   1018   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1019   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1020     includedir=$ac_optarg ;;
   1021 
   1022   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1023     ac_prev=infodir ;;
   1024   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1025     infodir=$ac_optarg ;;
   1026 
   1027   -libdir | --libdir | --libdi | --libd)
   1028     ac_prev=libdir ;;
   1029   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1030     libdir=$ac_optarg ;;
   1031 
   1032   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1033   | --libexe | --libex | --libe)
   1034     ac_prev=libexecdir ;;
   1035   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1036   | --libexe=* | --libex=* | --libe=*)
   1037     libexecdir=$ac_optarg ;;
   1038 
   1039   -localedir | --localedir | --localedi | --localed | --locale)
   1040     ac_prev=localedir ;;
   1041   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1042     localedir=$ac_optarg ;;
   1043 
   1044   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1045   | --localstate | --localstat | --localsta | --localst | --locals)
   1046     ac_prev=localstatedir ;;
   1047   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1048   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1049     localstatedir=$ac_optarg ;;
   1050 
   1051   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1052     ac_prev=mandir ;;
   1053   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1054     mandir=$ac_optarg ;;
   1055 
   1056   -nfp | --nfp | --nf)
   1057     # Obsolete; use --without-fp.
   1058     with_fp=no ;;
   1059 
   1060   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1061   | --no-cr | --no-c | -n)
   1062     no_create=yes ;;
   1063 
   1064   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1065   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1066     no_recursion=yes ;;
   1067 
   1068   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1069   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1070   | --oldin | --oldi | --old | --ol | --o)
   1071     ac_prev=oldincludedir ;;
   1072   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1073   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1074   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1075     oldincludedir=$ac_optarg ;;
   1076 
   1077   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1078     ac_prev=prefix ;;
   1079   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1080     prefix=$ac_optarg ;;
   1081 
   1082   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1083   | --program-pre | --program-pr | --program-p)
   1084     ac_prev=program_prefix ;;
   1085   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1086   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1087     program_prefix=$ac_optarg ;;
   1088 
   1089   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1090   | --program-suf | --program-su | --program-s)
   1091     ac_prev=program_suffix ;;
   1092   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1093   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1094     program_suffix=$ac_optarg ;;
   1095 
   1096   -program-transform-name | --program-transform-name \
   1097   | --program-transform-nam | --program-transform-na \
   1098   | --program-transform-n | --program-transform- \
   1099   | --program-transform | --program-transfor \
   1100   | --program-transfo | --program-transf \
   1101   | --program-trans | --program-tran \
   1102   | --progr-tra | --program-tr | --program-t)
   1103     ac_prev=program_transform_name ;;
   1104   -program-transform-name=* | --program-transform-name=* \
   1105   | --program-transform-nam=* | --program-transform-na=* \
   1106   | --program-transform-n=* | --program-transform-=* \
   1107   | --program-transform=* | --program-transfor=* \
   1108   | --program-transfo=* | --program-transf=* \
   1109   | --program-trans=* | --program-tran=* \
   1110   | --progr-tra=* | --program-tr=* | --program-t=*)
   1111     program_transform_name=$ac_optarg ;;
   1112 
   1113   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1114     ac_prev=pdfdir ;;
   1115   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1116     pdfdir=$ac_optarg ;;
   1117 
   1118   -psdir | --psdir | --psdi | --psd | --ps)
   1119     ac_prev=psdir ;;
   1120   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1121     psdir=$ac_optarg ;;
   1122 
   1123   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1124   | -silent | --silent | --silen | --sile | --sil)
   1125     silent=yes ;;
   1126 
   1127   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1128     ac_prev=sbindir ;;
   1129   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1130   | --sbi=* | --sb=*)
   1131     sbindir=$ac_optarg ;;
   1132 
   1133   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1134   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1135   | --sharedst | --shareds | --shared | --share | --shar \
   1136   | --sha | --sh)
   1137     ac_prev=sharedstatedir ;;
   1138   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1139   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1140   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1141   | --sha=* | --sh=*)
   1142     sharedstatedir=$ac_optarg ;;
   1143 
   1144   -site | --site | --sit)
   1145     ac_prev=site ;;
   1146   -site=* | --site=* | --sit=*)
   1147     site=$ac_optarg ;;
   1148 
   1149   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1150     ac_prev=srcdir ;;
   1151   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1152     srcdir=$ac_optarg ;;
   1153 
   1154   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1155   | --syscon | --sysco | --sysc | --sys | --sy)
   1156     ac_prev=sysconfdir ;;
   1157   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1158   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1159     sysconfdir=$ac_optarg ;;
   1160 
   1161   -target | --target | --targe | --targ | --tar | --ta | --t)
   1162     ac_prev=target_alias ;;
   1163   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1164     target_alias=$ac_optarg ;;
   1165 
   1166   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1167     verbose=yes ;;
   1168 
   1169   -version | --version | --versio | --versi | --vers | -V)
   1170     ac_init_version=: ;;
   1171 
   1172   -with-* | --with-*)
   1173     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1174     # Reject names that are not valid shell variable names.
   1175     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1176       as_fn_error $? "invalid package name: $ac_useropt"
   1177     ac_useropt_orig=$ac_useropt
   1178     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1179     case $ac_user_opts in
   1180       *"
   1181 "with_$ac_useropt"
   1182 "*) ;;
   1183       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1184 	 ac_unrecognized_sep=', ';;
   1185     esac
   1186     eval with_$ac_useropt=\$ac_optarg ;;
   1187 
   1188   -without-* | --without-*)
   1189     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1190     # Reject names that are not valid shell variable names.
   1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1192       as_fn_error $? "invalid package name: $ac_useropt"
   1193     ac_useropt_orig=$ac_useropt
   1194     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1195     case $ac_user_opts in
   1196       *"
   1197 "with_$ac_useropt"
   1198 "*) ;;
   1199       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1200 	 ac_unrecognized_sep=', ';;
   1201     esac
   1202     eval with_$ac_useropt=no ;;
   1203 
   1204   --x)
   1205     # Obsolete; use --with-x.
   1206     with_x=yes ;;
   1207 
   1208   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1209   | --x-incl | --x-inc | --x-in | --x-i)
   1210     ac_prev=x_includes ;;
   1211   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1212   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1213     x_includes=$ac_optarg ;;
   1214 
   1215   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1216   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1217     ac_prev=x_libraries ;;
   1218   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1219   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1220     x_libraries=$ac_optarg ;;
   1221 
   1222   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1223 Try \`$0 --help' for more information"
   1224     ;;
   1225 
   1226   *=*)
   1227     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1228     # Reject names that are not valid shell variable names.
   1229     case $ac_envvar in #(
   1230       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1231       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1232     esac
   1233     eval $ac_envvar=\$ac_optarg
   1234     export $ac_envvar ;;
   1235 
   1236   *)
   1237     # FIXME: should be removed in autoconf 3.0.
   1238     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1239     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1240       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1241     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1242     ;;
   1243 
   1244   esac
   1245 done
   1246 
   1247 if test -n "$ac_prev"; then
   1248   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1249   as_fn_error $? "missing argument to $ac_option"
   1250 fi
   1251 
   1252 if test -n "$ac_unrecognized_opts"; then
   1253   case $enable_option_checking in
   1254     no) ;;
   1255     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1256     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1257   esac
   1258 fi
   1259 
   1260 # Check all directory arguments for consistency.
   1261 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1262 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1263 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1264 		libdir localedir mandir
   1265 do
   1266   eval ac_val=\$$ac_var
   1267   # Remove trailing slashes.
   1268   case $ac_val in
   1269     */ )
   1270       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1271       eval $ac_var=\$ac_val;;
   1272   esac
   1273   # Be sure to have absolute directory names.
   1274   case $ac_val in
   1275     [\\/$]* | ?:[\\/]* )  continue;;
   1276     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1277   esac
   1278   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1279 done
   1280 
   1281 # There might be people who depend on the old broken behavior: `$host'
   1282 # used to hold the argument of --host etc.
   1283 # FIXME: To remove some day.
   1284 build=$build_alias
   1285 host=$host_alias
   1286 target=$target_alias
   1287 
   1288 # FIXME: To remove some day.
   1289 if test "x$host_alias" != x; then
   1290   if test "x$build_alias" = x; then
   1291     cross_compiling=maybe
   1292   elif test "x$build_alias" != "x$host_alias"; then
   1293     cross_compiling=yes
   1294   fi
   1295 fi
   1296 
   1297 ac_tool_prefix=
   1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1299 
   1300 test "$silent" = yes && exec 6>/dev/null
   1301 
   1302 
   1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1304 ac_ls_di=`ls -di .` &&
   1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1306   as_fn_error $? "working directory cannot be determined"
   1307 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1308   as_fn_error $? "pwd does not report name of working directory"
   1309 
   1310 
   1311 # Find the source files, if location was not specified.
   1312 if test -z "$srcdir"; then
   1313   ac_srcdir_defaulted=yes
   1314   # Try the directory containing this script, then the parent directory.
   1315   ac_confdir=`$as_dirname -- "$as_myself" ||
   1316 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1317 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1318 	 X"$as_myself" : 'X\(//\)$' \| \
   1319 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1320 $as_echo X"$as_myself" |
   1321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1322 	    s//\1/
   1323 	    q
   1324 	  }
   1325 	  /^X\(\/\/\)[^/].*/{
   1326 	    s//\1/
   1327 	    q
   1328 	  }
   1329 	  /^X\(\/\/\)$/{
   1330 	    s//\1/
   1331 	    q
   1332 	  }
   1333 	  /^X\(\/\).*/{
   1334 	    s//\1/
   1335 	    q
   1336 	  }
   1337 	  s/.*/./; q'`
   1338   srcdir=$ac_confdir
   1339   if test ! -r "$srcdir/$ac_unique_file"; then
   1340     srcdir=..
   1341   fi
   1342 else
   1343   ac_srcdir_defaulted=no
   1344 fi
   1345 if test ! -r "$srcdir/$ac_unique_file"; then
   1346   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1347   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1348 fi
   1349 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1350 ac_abs_confdir=`(
   1351 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1352 	pwd)`
   1353 # When building in place, set srcdir=.
   1354 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1355   srcdir=.
   1356 fi
   1357 # Remove unnecessary trailing slashes from srcdir.
   1358 # Double slashes in file names in object file debugging info
   1359 # mess up M-x gdb in Emacs.
   1360 case $srcdir in
   1361 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1362 esac
   1363 for ac_var in $ac_precious_vars; do
   1364   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1365   eval ac_env_${ac_var}_value=\$${ac_var}
   1366   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1367   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1368 done
   1369 
   1370 #
   1371 # Report the --help message.
   1372 #
   1373 if test "$ac_init_help" = "long"; then
   1374   # Omit some internal or obsolete options to make the list less imposing.
   1375   # This message is too long to be a string in the A/UX 3.1 sh.
   1376   cat <<_ACEOF
   1377 \`configure' configures xf86-video-savage 2.3.9 to adapt to many kinds of systems.
   1378 
   1379 Usage: $0 [OPTION]... [VAR=VALUE]...
   1380 
   1381 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1382 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1383 
   1384 Defaults for the options are specified in brackets.
   1385 
   1386 Configuration:
   1387   -h, --help              display this help and exit
   1388       --help=short        display options specific to this package
   1389       --help=recursive    display the short help of all the included packages
   1390   -V, --version           display version information and exit
   1391   -q, --quiet, --silent   do not print \`checking ...' messages
   1392       --cache-file=FILE   cache test results in FILE [disabled]
   1393   -C, --config-cache      alias for \`--cache-file=config.cache'
   1394   -n, --no-create         do not create output files
   1395       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1396 
   1397 Installation directories:
   1398   --prefix=PREFIX         install architecture-independent files in PREFIX
   1399                           [$ac_default_prefix]
   1400   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1401                           [PREFIX]
   1402 
   1403 By default, \`make install' will install all the files in
   1404 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1405 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1406 for instance \`--prefix=\$HOME'.
   1407 
   1408 For better control, use the options below.
   1409 
   1410 Fine tuning of the installation directories:
   1411   --bindir=DIR            user executables [EPREFIX/bin]
   1412   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1413   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1414   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1415   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1416   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1417   --libdir=DIR            object code libraries [EPREFIX/lib]
   1418   --includedir=DIR        C header files [PREFIX/include]
   1419   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1420   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1421   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1422   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1423   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1424   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1425   --docdir=DIR            documentation root
   1426                           [DATAROOTDIR/doc/xf86-video-savage]
   1427   --htmldir=DIR           html documentation [DOCDIR]
   1428   --dvidir=DIR            dvi documentation [DOCDIR]
   1429   --pdfdir=DIR            pdf documentation [DOCDIR]
   1430   --psdir=DIR             ps documentation [DOCDIR]
   1431 _ACEOF
   1432 
   1433   cat <<\_ACEOF
   1434 
   1435 Program names:
   1436   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1437   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1438   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1439 
   1440 System types:
   1441   --build=BUILD     configure for building on BUILD [guessed]
   1442   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1443 _ACEOF
   1444 fi
   1445 
   1446 if test -n "$ac_init_help"; then
   1447   case $ac_init_help in
   1448      short | recursive ) echo "Configuration of xf86-video-savage 2.3.9:";;
   1449    esac
   1450   cat <<\_ACEOF
   1451 
   1452 Optional Features:
   1453   --disable-option-checking  ignore unrecognized --enable/--with options
   1454   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1455   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1456   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1457   --disable-silent-rules  verbose build output (undo: "make V=0")
   1458   --enable-maintainer-mode
   1459                           enable make rules and dependencies not useful (and
   1460                           sometimes confusing) to the casual installer
   1461   --enable-dependency-tracking
   1462                           do not reject slow dependency extractors
   1463   --disable-dependency-tracking
   1464                           speeds up one-time build
   1465   --disable-selective-werror
   1466                           Turn off selective compiler errors. (default:
   1467                           enabled)
   1468   --enable-strict-compilation
   1469                           Enable all warnings from compiler and make them
   1470                           errors (default: disabled)
   1471   --enable-static[=PKGS]  build static libraries [default=no]
   1472   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1473   --enable-fast-install[=PKGS]
   1474                           optimize for fast installation [default=yes]
   1475   --disable-libtool-lock  avoid locking (might break parallel builds)
   1476   --disable-dri           Disable DRI support [[default=auto]]
   1477   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1478                           [default=auto]
   1479 
   1480 Optional Packages:
   1481   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1482   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1483   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1484                           both]
   1485   --with-aix-soname=aix|svr4|both
   1486                           shared library versioning (aka "SONAME") variant to
   1487                           provide on AIX, [default=aix].
   1488   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1489   --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
   1490                           compiler's sysroot if not specified).
   1491   --with-xorg-module-dir=DIR
   1492                           Default xorg module directory
   1493                           [[default=$libdir/xorg/modules]]
   1494 
   1495 Some influential environment variables:
   1496   CC          C compiler command
   1497   CFLAGS      C compiler flags
   1498   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1499               nonstandard directory <lib dir>
   1500   LIBS        libraries to pass to the linker, e.g. -l<library>
   1501   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1502               you have headers in a nonstandard directory <include dir>
   1503   CPP         C preprocessor
   1504   PKG_CONFIG  path to pkg-config utility
   1505   PKG_CONFIG_PATH
   1506               directories to add to pkg-config's search path
   1507   PKG_CONFIG_LIBDIR
   1508               path overriding pkg-config's built-in search path
   1509   LT_SYS_LIBRARY_PATH
   1510               User-defined run-time library search path.
   1511   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1512   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1513   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1514   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1515   DRI_CFLAGS  C compiler flags for DRI, overriding pkg-config
   1516   DRI_LIBS    linker flags for DRI, overriding pkg-config
   1517   PCIACCESS_CFLAGS
   1518               C compiler flags for PCIACCESS, overriding pkg-config
   1519   PCIACCESS_LIBS
   1520               linker flags for PCIACCESS, overriding pkg-config
   1521 
   1522 Use these variables to override the choices made by `configure' or to help
   1523 it to find libraries and programs with nonstandard names/locations.
   1524 
   1525 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1526 _ACEOF
   1527 ac_status=$?
   1528 fi
   1529 
   1530 if test "$ac_init_help" = "recursive"; then
   1531   # If there are subdirs, report their specific --help.
   1532   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1533     test -d "$ac_dir" ||
   1534       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1535       continue
   1536     ac_builddir=.
   1537 
   1538 case "$ac_dir" in
   1539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1540 *)
   1541   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1542   # A ".." for each directory in $ac_dir_suffix.
   1543   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1544   case $ac_top_builddir_sub in
   1545   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1546   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1547   esac ;;
   1548 esac
   1549 ac_abs_top_builddir=$ac_pwd
   1550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1551 # for backward compatibility:
   1552 ac_top_builddir=$ac_top_build_prefix
   1553 
   1554 case $srcdir in
   1555   .)  # We are building in place.
   1556     ac_srcdir=.
   1557     ac_top_srcdir=$ac_top_builddir_sub
   1558     ac_abs_top_srcdir=$ac_pwd ;;
   1559   [\\/]* | ?:[\\/]* )  # Absolute name.
   1560     ac_srcdir=$srcdir$ac_dir_suffix;
   1561     ac_top_srcdir=$srcdir
   1562     ac_abs_top_srcdir=$srcdir ;;
   1563   *) # Relative name.
   1564     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1565     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1566     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1567 esac
   1568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1569 
   1570     cd "$ac_dir" || { ac_status=$?; continue; }
   1571     # Check for guested configure.
   1572     if test -f "$ac_srcdir/configure.gnu"; then
   1573       echo &&
   1574       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1575     elif test -f "$ac_srcdir/configure"; then
   1576       echo &&
   1577       $SHELL "$ac_srcdir/configure" --help=recursive
   1578     else
   1579       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1580     fi || ac_status=$?
   1581     cd "$ac_pwd" || { ac_status=$?; break; }
   1582   done
   1583 fi
   1584 
   1585 test -n "$ac_init_help" && exit $ac_status
   1586 if $ac_init_version; then
   1587   cat <<\_ACEOF
   1588 xf86-video-savage configure 2.3.9
   1589 generated by GNU Autoconf 2.69
   1590 
   1591 Copyright (C) 2012 Free Software Foundation, Inc.
   1592 This configure script is free software; the Free Software Foundation
   1593 gives unlimited permission to copy, distribute and modify it.
   1594 _ACEOF
   1595   exit
   1596 fi
   1597 
   1598 ## ------------------------ ##
   1599 ## Autoconf initialization. ##
   1600 ## ------------------------ ##
   1601 
   1602 # ac_fn_c_try_compile LINENO
   1603 # --------------------------
   1604 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1605 ac_fn_c_try_compile ()
   1606 {
   1607   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1608   rm -f conftest.$ac_objext
   1609   if { { ac_try="$ac_compile"
   1610 case "(($ac_try" in
   1611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1612   *) ac_try_echo=$ac_try;;
   1613 esac
   1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1615 $as_echo "$ac_try_echo"; } >&5
   1616   (eval "$ac_compile") 2>conftest.err
   1617   ac_status=$?
   1618   if test -s conftest.err; then
   1619     grep -v '^ *+' conftest.err >conftest.er1
   1620     cat conftest.er1 >&5
   1621     mv -f conftest.er1 conftest.err
   1622   fi
   1623   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1624   test $ac_status = 0; } && {
   1625 	 test -z "$ac_c_werror_flag" ||
   1626 	 test ! -s conftest.err
   1627        } && test -s conftest.$ac_objext; then :
   1628   ac_retval=0
   1629 else
   1630   $as_echo "$as_me: failed program was:" >&5
   1631 sed 's/^/| /' conftest.$ac_ext >&5
   1632 
   1633 	ac_retval=1
   1634 fi
   1635   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1636   as_fn_set_status $ac_retval
   1637 
   1638 } # ac_fn_c_try_compile
   1639 
   1640 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1641 # ---------------------------------------------
   1642 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1643 # accordingly.
   1644 ac_fn_c_check_decl ()
   1645 {
   1646   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1647   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1648   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1649   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1650 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1651 if eval \${$3+:} false; then :
   1652   $as_echo_n "(cached) " >&6
   1653 else
   1654   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1655 /* end confdefs.h.  */
   1656 $4
   1657 int
   1658 main ()
   1659 {
   1660 #ifndef $as_decl_name
   1661 #ifdef __cplusplus
   1662   (void) $as_decl_use;
   1663 #else
   1664   (void) $as_decl_name;
   1665 #endif
   1666 #endif
   1667 
   1668   ;
   1669   return 0;
   1670 }
   1671 _ACEOF
   1672 if ac_fn_c_try_compile "$LINENO"; then :
   1673   eval "$3=yes"
   1674 else
   1675   eval "$3=no"
   1676 fi
   1677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1678 fi
   1679 eval ac_res=\$$3
   1680 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1681 $as_echo "$ac_res" >&6; }
   1682   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1683 
   1684 } # ac_fn_c_check_decl
   1685 
   1686 # ac_fn_c_try_cpp LINENO
   1687 # ----------------------
   1688 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1689 ac_fn_c_try_cpp ()
   1690 {
   1691   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1692   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1693 case "(($ac_try" in
   1694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1695   *) ac_try_echo=$ac_try;;
   1696 esac
   1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1698 $as_echo "$ac_try_echo"; } >&5
   1699   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1700   ac_status=$?
   1701   if test -s conftest.err; then
   1702     grep -v '^ *+' conftest.err >conftest.er1
   1703     cat conftest.er1 >&5
   1704     mv -f conftest.er1 conftest.err
   1705   fi
   1706   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1707   test $ac_status = 0; } > conftest.i && {
   1708 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1709 	 test ! -s conftest.err
   1710        }; then :
   1711   ac_retval=0
   1712 else
   1713   $as_echo "$as_me: failed program was:" >&5
   1714 sed 's/^/| /' conftest.$ac_ext >&5
   1715 
   1716     ac_retval=1
   1717 fi
   1718   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1719   as_fn_set_status $ac_retval
   1720 
   1721 } # ac_fn_c_try_cpp
   1722 
   1723 # ac_fn_c_try_run LINENO
   1724 # ----------------------
   1725 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1726 # that executables *can* be run.
   1727 ac_fn_c_try_run ()
   1728 {
   1729   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1730   if { { ac_try="$ac_link"
   1731 case "(($ac_try" in
   1732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1733   *) ac_try_echo=$ac_try;;
   1734 esac
   1735 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1736 $as_echo "$ac_try_echo"; } >&5
   1737   (eval "$ac_link") 2>&5
   1738   ac_status=$?
   1739   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1740   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1741   { { case "(($ac_try" in
   1742   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1743   *) ac_try_echo=$ac_try;;
   1744 esac
   1745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1746 $as_echo "$ac_try_echo"; } >&5
   1747   (eval "$ac_try") 2>&5
   1748   ac_status=$?
   1749   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1750   test $ac_status = 0; }; }; then :
   1751   ac_retval=0
   1752 else
   1753   $as_echo "$as_me: program exited with status $ac_status" >&5
   1754        $as_echo "$as_me: failed program was:" >&5
   1755 sed 's/^/| /' conftest.$ac_ext >&5
   1756 
   1757        ac_retval=$ac_status
   1758 fi
   1759   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1760   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1761   as_fn_set_status $ac_retval
   1762 
   1763 } # ac_fn_c_try_run
   1764 
   1765 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1766 # -------------------------------------------------------
   1767 # Tests whether HEADER exists and can be compiled using the include files in
   1768 # INCLUDES, setting the cache variable VAR accordingly.
   1769 ac_fn_c_check_header_compile ()
   1770 {
   1771   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1772   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1773 $as_echo_n "checking for $2... " >&6; }
   1774 if eval \${$3+:} false; then :
   1775   $as_echo_n "(cached) " >&6
   1776 else
   1777   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1778 /* end confdefs.h.  */
   1779 $4
   1780 #include <$2>
   1781 _ACEOF
   1782 if ac_fn_c_try_compile "$LINENO"; then :
   1783   eval "$3=yes"
   1784 else
   1785   eval "$3=no"
   1786 fi
   1787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1788 fi
   1789 eval ac_res=\$$3
   1790 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1791 $as_echo "$ac_res" >&6; }
   1792   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1793 
   1794 } # ac_fn_c_check_header_compile
   1795 
   1796 # ac_fn_c_try_link LINENO
   1797 # -----------------------
   1798 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1799 ac_fn_c_try_link ()
   1800 {
   1801   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1802   rm -f conftest.$ac_objext conftest$ac_exeext
   1803   if { { ac_try="$ac_link"
   1804 case "(($ac_try" in
   1805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1806   *) ac_try_echo=$ac_try;;
   1807 esac
   1808 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1809 $as_echo "$ac_try_echo"; } >&5
   1810   (eval "$ac_link") 2>conftest.err
   1811   ac_status=$?
   1812   if test -s conftest.err; then
   1813     grep -v '^ *+' conftest.err >conftest.er1
   1814     cat conftest.er1 >&5
   1815     mv -f conftest.er1 conftest.err
   1816   fi
   1817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1818   test $ac_status = 0; } && {
   1819 	 test -z "$ac_c_werror_flag" ||
   1820 	 test ! -s conftest.err
   1821        } && test -s conftest$ac_exeext && {
   1822 	 test "$cross_compiling" = yes ||
   1823 	 test -x conftest$ac_exeext
   1824        }; then :
   1825   ac_retval=0
   1826 else
   1827   $as_echo "$as_me: failed program was:" >&5
   1828 sed 's/^/| /' conftest.$ac_ext >&5
   1829 
   1830 	ac_retval=1
   1831 fi
   1832   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1833   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1834   # interfere with the next link command; also delete a directory that is
   1835   # left behind by Apple's compiler.  We do this before executing the actions.
   1836   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1837   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1838   as_fn_set_status $ac_retval
   1839 
   1840 } # ac_fn_c_try_link
   1841 
   1842 # ac_fn_c_check_func LINENO FUNC VAR
   1843 # ----------------------------------
   1844 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1845 ac_fn_c_check_func ()
   1846 {
   1847   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1848   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1849 $as_echo_n "checking for $2... " >&6; }
   1850 if eval \${$3+:} false; then :
   1851   $as_echo_n "(cached) " >&6
   1852 else
   1853   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1854 /* end confdefs.h.  */
   1855 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1856    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1857 #define $2 innocuous_$2
   1858 
   1859 /* System header to define __stub macros and hopefully few prototypes,
   1860     which can conflict with char $2 (); below.
   1861     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1862     <limits.h> exists even on freestanding compilers.  */
   1863 
   1864 #ifdef __STDC__
   1865 # include <limits.h>
   1866 #else
   1867 # include <assert.h>
   1868 #endif
   1869 
   1870 #undef $2
   1871 
   1872 /* Override any GCC internal prototype to avoid an error.
   1873    Use char because int might match the return type of a GCC
   1874    builtin and then its argument prototype would still apply.  */
   1875 #ifdef __cplusplus
   1876 extern "C"
   1877 #endif
   1878 char $2 ();
   1879 /* The GNU C library defines this for functions which it implements
   1880     to always fail with ENOSYS.  Some functions are actually named
   1881     something starting with __ and the normal name is an alias.  */
   1882 #if defined __stub_$2 || defined __stub___$2
   1883 choke me
   1884 #endif
   1885 
   1886 int
   1887 main ()
   1888 {
   1889 return $2 ();
   1890   ;
   1891   return 0;
   1892 }
   1893 _ACEOF
   1894 if ac_fn_c_try_link "$LINENO"; then :
   1895   eval "$3=yes"
   1896 else
   1897   eval "$3=no"
   1898 fi
   1899 rm -f core conftest.err conftest.$ac_objext \
   1900     conftest$ac_exeext conftest.$ac_ext
   1901 fi
   1902 eval ac_res=\$$3
   1903 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1904 $as_echo "$ac_res" >&6; }
   1905   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1906 
   1907 } # ac_fn_c_check_func
   1908 
   1909 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1910 # -------------------------------------------------------
   1911 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1912 # the include files in INCLUDES and setting the cache variable VAR
   1913 # accordingly.
   1914 ac_fn_c_check_header_mongrel ()
   1915 {
   1916   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1917   if eval \${$3+:} false; then :
   1918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1919 $as_echo_n "checking for $2... " >&6; }
   1920 if eval \${$3+:} false; then :
   1921   $as_echo_n "(cached) " >&6
   1922 fi
   1923 eval ac_res=\$$3
   1924 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1925 $as_echo "$ac_res" >&6; }
   1926 else
   1927   # Is the header compilable?
   1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1929 $as_echo_n "checking $2 usability... " >&6; }
   1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1931 /* end confdefs.h.  */
   1932 $4
   1933 #include <$2>
   1934 _ACEOF
   1935 if ac_fn_c_try_compile "$LINENO"; then :
   1936   ac_header_compiler=yes
   1937 else
   1938   ac_header_compiler=no
   1939 fi
   1940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1942 $as_echo "$ac_header_compiler" >&6; }
   1943 
   1944 # Is the header present?
   1945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1946 $as_echo_n "checking $2 presence... " >&6; }
   1947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1948 /* end confdefs.h.  */
   1949 #include <$2>
   1950 _ACEOF
   1951 if ac_fn_c_try_cpp "$LINENO"; then :
   1952   ac_header_preproc=yes
   1953 else
   1954   ac_header_preproc=no
   1955 fi
   1956 rm -f conftest.err conftest.i conftest.$ac_ext
   1957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1958 $as_echo "$ac_header_preproc" >&6; }
   1959 
   1960 # So?  What about this header?
   1961 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1962   yes:no: )
   1963     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1964 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1965     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1966 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1967     ;;
   1968   no:yes:* )
   1969     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1970 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1971     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1972 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1973     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1974 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1975     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1976 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1977     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1978 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1979 ( $as_echo "## ---------------------------------------------------------------------- ##
   1980 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg ##
   1981 ## ---------------------------------------------------------------------- ##"
   1982      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1983     ;;
   1984 esac
   1985   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1986 $as_echo_n "checking for $2... " >&6; }
   1987 if eval \${$3+:} false; then :
   1988   $as_echo_n "(cached) " >&6
   1989 else
   1990   eval "$3=\$ac_header_compiler"
   1991 fi
   1992 eval ac_res=\$$3
   1993 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1994 $as_echo "$ac_res" >&6; }
   1995 fi
   1996   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1997 
   1998 } # ac_fn_c_check_header_mongrel
   1999 cat >config.log <<_ACEOF
   2000 This file contains any messages produced by compilers while
   2001 running configure, to aid debugging if configure makes a mistake.
   2002 
   2003 It was created by xf86-video-savage $as_me 2.3.9, which was
   2004 generated by GNU Autoconf 2.69.  Invocation command line was
   2005 
   2006   $ $0 $@
   2007 
   2008 _ACEOF
   2009 exec 5>>config.log
   2010 {
   2011 cat <<_ASUNAME
   2012 ## --------- ##
   2013 ## Platform. ##
   2014 ## --------- ##
   2015 
   2016 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   2017 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   2018 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   2019 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   2020 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   2021 
   2022 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   2023 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   2024 
   2025 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2026 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2027 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2028 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2029 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2030 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2031 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2032 
   2033 _ASUNAME
   2034 
   2035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2036 for as_dir in $PATH
   2037 do
   2038   IFS=$as_save_IFS
   2039   test -z "$as_dir" && as_dir=.
   2040     $as_echo "PATH: $as_dir"
   2041   done
   2042 IFS=$as_save_IFS
   2043 
   2044 } >&5
   2045 
   2046 cat >&5 <<_ACEOF
   2047 
   2048 
   2049 ## ----------- ##
   2050 ## Core tests. ##
   2051 ## ----------- ##
   2052 
   2053 _ACEOF
   2054 
   2055 
   2056 # Keep a trace of the command line.
   2057 # Strip out --no-create and --no-recursion so they do not pile up.
   2058 # Strip out --silent because we don't want to record it for future runs.
   2059 # Also quote any args containing shell meta-characters.
   2060 # Make two passes to allow for proper duplicate-argument suppression.
   2061 ac_configure_args=
   2062 ac_configure_args0=
   2063 ac_configure_args1=
   2064 ac_must_keep_next=false
   2065 for ac_pass in 1 2
   2066 do
   2067   for ac_arg
   2068   do
   2069     case $ac_arg in
   2070     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2071     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2072     | -silent | --silent | --silen | --sile | --sil)
   2073       continue ;;
   2074     *\'*)
   2075       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2076     esac
   2077     case $ac_pass in
   2078     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2079     2)
   2080       as_fn_append ac_configure_args1 " '$ac_arg'"
   2081       if test $ac_must_keep_next = true; then
   2082 	ac_must_keep_next=false # Got value, back to normal.
   2083       else
   2084 	case $ac_arg in
   2085 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2086 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2087 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2088 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2089 	    case "$ac_configure_args0 " in
   2090 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2091 	    esac
   2092 	    ;;
   2093 	  -* ) ac_must_keep_next=true ;;
   2094 	esac
   2095       fi
   2096       as_fn_append ac_configure_args " '$ac_arg'"
   2097       ;;
   2098     esac
   2099   done
   2100 done
   2101 { ac_configure_args0=; unset ac_configure_args0;}
   2102 { ac_configure_args1=; unset ac_configure_args1;}
   2103 
   2104 # When interrupted or exit'd, cleanup temporary files, and complete
   2105 # config.log.  We remove comments because anyway the quotes in there
   2106 # would cause problems or look ugly.
   2107 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2108 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2109 trap 'exit_status=$?
   2110   # Save into config.log some information that might help in debugging.
   2111   {
   2112     echo
   2113 
   2114     $as_echo "## ---------------- ##
   2115 ## Cache variables. ##
   2116 ## ---------------- ##"
   2117     echo
   2118     # The following way of writing the cache mishandles newlines in values,
   2119 (
   2120   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2121     eval ac_val=\$$ac_var
   2122     case $ac_val in #(
   2123     *${as_nl}*)
   2124       case $ac_var in #(
   2125       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2126 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2127       esac
   2128       case $ac_var in #(
   2129       _ | IFS | as_nl) ;; #(
   2130       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2131       *) { eval $ac_var=; unset $ac_var;} ;;
   2132       esac ;;
   2133     esac
   2134   done
   2135   (set) 2>&1 |
   2136     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2137     *${as_nl}ac_space=\ *)
   2138       sed -n \
   2139 	"s/'\''/'\''\\\\'\'''\''/g;
   2140 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2141       ;; #(
   2142     *)
   2143       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2144       ;;
   2145     esac |
   2146     sort
   2147 )
   2148     echo
   2149 
   2150     $as_echo "## ----------------- ##
   2151 ## Output variables. ##
   2152 ## ----------------- ##"
   2153     echo
   2154     for ac_var in $ac_subst_vars
   2155     do
   2156       eval ac_val=\$$ac_var
   2157       case $ac_val in
   2158       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2159       esac
   2160       $as_echo "$ac_var='\''$ac_val'\''"
   2161     done | sort
   2162     echo
   2163 
   2164     if test -n "$ac_subst_files"; then
   2165       $as_echo "## ------------------- ##
   2166 ## File substitutions. ##
   2167 ## ------------------- ##"
   2168       echo
   2169       for ac_var in $ac_subst_files
   2170       do
   2171 	eval ac_val=\$$ac_var
   2172 	case $ac_val in
   2173 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2174 	esac
   2175 	$as_echo "$ac_var='\''$ac_val'\''"
   2176       done | sort
   2177       echo
   2178     fi
   2179 
   2180     if test -s confdefs.h; then
   2181       $as_echo "## ----------- ##
   2182 ## confdefs.h. ##
   2183 ## ----------- ##"
   2184       echo
   2185       cat confdefs.h
   2186       echo
   2187     fi
   2188     test "$ac_signal" != 0 &&
   2189       $as_echo "$as_me: caught signal $ac_signal"
   2190     $as_echo "$as_me: exit $exit_status"
   2191   } >&5
   2192   rm -f core *.core core.conftest.* &&
   2193     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2194     exit $exit_status
   2195 ' 0
   2196 for ac_signal in 1 2 13 15; do
   2197   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2198 done
   2199 ac_signal=0
   2200 
   2201 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2202 rm -f -r conftest* confdefs.h
   2203 
   2204 $as_echo "/* confdefs.h */" > confdefs.h
   2205 
   2206 # Predefined preprocessor variables.
   2207 
   2208 cat >>confdefs.h <<_ACEOF
   2209 #define PACKAGE_NAME "$PACKAGE_NAME"
   2210 _ACEOF
   2211 
   2212 cat >>confdefs.h <<_ACEOF
   2213 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2214 _ACEOF
   2215 
   2216 cat >>confdefs.h <<_ACEOF
   2217 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2218 _ACEOF
   2219 
   2220 cat >>confdefs.h <<_ACEOF
   2221 #define PACKAGE_STRING "$PACKAGE_STRING"
   2222 _ACEOF
   2223 
   2224 cat >>confdefs.h <<_ACEOF
   2225 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2226 _ACEOF
   2227 
   2228 cat >>confdefs.h <<_ACEOF
   2229 #define PACKAGE_URL "$PACKAGE_URL"
   2230 _ACEOF
   2231 
   2232 
   2233 # Let the site file select an alternate cache file if it wants to.
   2234 # Prefer an explicitly selected file to automatically selected ones.
   2235 ac_site_file1=NONE
   2236 ac_site_file2=NONE
   2237 if test -n "$CONFIG_SITE"; then
   2238   # We do not want a PATH search for config.site.
   2239   case $CONFIG_SITE in #((
   2240     -*)  ac_site_file1=./$CONFIG_SITE;;
   2241     */*) ac_site_file1=$CONFIG_SITE;;
   2242     *)   ac_site_file1=./$CONFIG_SITE;;
   2243   esac
   2244 elif test "x$prefix" != xNONE; then
   2245   ac_site_file1=$prefix/share/config.site
   2246   ac_site_file2=$prefix/etc/config.site
   2247 else
   2248   ac_site_file1=$ac_default_prefix/share/config.site
   2249   ac_site_file2=$ac_default_prefix/etc/config.site
   2250 fi
   2251 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2252 do
   2253   test "x$ac_site_file" = xNONE && continue
   2254   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2255     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2256 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2257     sed 's/^/| /' "$ac_site_file" >&5
   2258     . "$ac_site_file" \
   2259       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2260 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2261 as_fn_error $? "failed to load site script $ac_site_file
   2262 See \`config.log' for more details" "$LINENO" 5; }
   2263   fi
   2264 done
   2265 
   2266 if test -r "$cache_file"; then
   2267   # Some versions of bash will fail to source /dev/null (special files
   2268   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2269   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2270     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2271 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2272     case $cache_file in
   2273       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2274       *)                      . "./$cache_file";;
   2275     esac
   2276   fi
   2277 else
   2278   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2279 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2280   >$cache_file
   2281 fi
   2282 
   2283 # Check that the precious variables saved in the cache have kept the same
   2284 # value.
   2285 ac_cache_corrupted=false
   2286 for ac_var in $ac_precious_vars; do
   2287   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2288   eval ac_new_set=\$ac_env_${ac_var}_set
   2289   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2290   eval ac_new_val=\$ac_env_${ac_var}_value
   2291   case $ac_old_set,$ac_new_set in
   2292     set,)
   2293       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2294 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2295       ac_cache_corrupted=: ;;
   2296     ,set)
   2297       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2298 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2299       ac_cache_corrupted=: ;;
   2300     ,);;
   2301     *)
   2302       if test "x$ac_old_val" != "x$ac_new_val"; then
   2303 	# differences in whitespace do not lead to failure.
   2304 	ac_old_val_w=`echo x $ac_old_val`
   2305 	ac_new_val_w=`echo x $ac_new_val`
   2306 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2307 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2308 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2309 	  ac_cache_corrupted=:
   2310 	else
   2311 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2312 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2313 	  eval $ac_var=\$ac_old_val
   2314 	fi
   2315 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2316 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2317 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2318 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2319       fi;;
   2320   esac
   2321   # Pass precious variables to config.status.
   2322   if test "$ac_new_set" = set; then
   2323     case $ac_new_val in
   2324     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2325     *) ac_arg=$ac_var=$ac_new_val ;;
   2326     esac
   2327     case " $ac_configure_args " in
   2328       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2329       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2330     esac
   2331   fi
   2332 done
   2333 if $ac_cache_corrupted; then
   2334   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2335 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2336   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2337 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2338   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2339 fi
   2340 ## -------------------- ##
   2341 ## Main body of script. ##
   2342 ## -------------------- ##
   2343 
   2344 ac_ext=c
   2345 ac_cpp='$CPP $CPPFLAGS'
   2346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2349 
   2350 
   2351 
   2352 ac_config_headers="$ac_config_headers config.h"
   2353 
   2354 ac_aux_dir=
   2355 for ac_dir in . "$srcdir"/.; do
   2356   if test -f "$ac_dir/install-sh"; then
   2357     ac_aux_dir=$ac_dir
   2358     ac_install_sh="$ac_aux_dir/install-sh -c"
   2359     break
   2360   elif test -f "$ac_dir/install.sh"; then
   2361     ac_aux_dir=$ac_dir
   2362     ac_install_sh="$ac_aux_dir/install.sh -c"
   2363     break
   2364   elif test -f "$ac_dir/shtool"; then
   2365     ac_aux_dir=$ac_dir
   2366     ac_install_sh="$ac_aux_dir/shtool install -c"
   2367     break
   2368   fi
   2369 done
   2370 if test -z "$ac_aux_dir"; then
   2371   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2372 fi
   2373 
   2374 # These three variables are undocumented and unsupported,
   2375 # and are intended to be withdrawn in a future Autoconf release.
   2376 # They can cause serious problems if a builder's source tree is in a directory
   2377 # whose full name contains unusual characters.
   2378 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2379 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2380 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2381 
   2382 
   2383 
   2384 # Initialize Automake
   2385 am__api_version='1.15'
   2386 
   2387 # Find a good install program.  We prefer a C program (faster),
   2388 # so one script is as good as another.  But avoid the broken or
   2389 # incompatible versions:
   2390 # SysV /etc/install, /usr/sbin/install
   2391 # SunOS /usr/etc/install
   2392 # IRIX /sbin/install
   2393 # AIX /bin/install
   2394 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2395 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2396 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2397 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2398 # OS/2's system install, which has a completely different semantic
   2399 # ./install, which can be erroneously created by make from ./install.sh.
   2400 # Reject install programs that cannot install multiple files.
   2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2402 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2403 if test -z "$INSTALL"; then
   2404 if ${ac_cv_path_install+:} false; then :
   2405   $as_echo_n "(cached) " >&6
   2406 else
   2407   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2408 for as_dir in $PATH
   2409 do
   2410   IFS=$as_save_IFS
   2411   test -z "$as_dir" && as_dir=.
   2412     # Account for people who put trailing slashes in PATH elements.
   2413 case $as_dir/ in #((
   2414   ./ | .// | /[cC]/* | \
   2415   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2416   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2417   /usr/ucb/* ) ;;
   2418   *)
   2419     # OSF1 and SCO ODT 3.0 have their own names for install.
   2420     # Don't use installbsd from OSF since it installs stuff as root
   2421     # by default.
   2422     for ac_prog in ginstall scoinst install; do
   2423       for ac_exec_ext in '' $ac_executable_extensions; do
   2424 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2425 	  if test $ac_prog = install &&
   2426 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2427 	    # AIX install.  It has an incompatible calling convention.
   2428 	    :
   2429 	  elif test $ac_prog = install &&
   2430 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2431 	    # program-specific install script used by HP pwplus--don't use.
   2432 	    :
   2433 	  else
   2434 	    rm -rf conftest.one conftest.two conftest.dir
   2435 	    echo one > conftest.one
   2436 	    echo two > conftest.two
   2437 	    mkdir conftest.dir
   2438 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2439 	      test -s conftest.one && test -s conftest.two &&
   2440 	      test -s conftest.dir/conftest.one &&
   2441 	      test -s conftest.dir/conftest.two
   2442 	    then
   2443 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2444 	      break 3
   2445 	    fi
   2446 	  fi
   2447 	fi
   2448       done
   2449     done
   2450     ;;
   2451 esac
   2452 
   2453   done
   2454 IFS=$as_save_IFS
   2455 
   2456 rm -rf conftest.one conftest.two conftest.dir
   2457 
   2458 fi
   2459   if test "${ac_cv_path_install+set}" = set; then
   2460     INSTALL=$ac_cv_path_install
   2461   else
   2462     # As a last resort, use the slow shell script.  Don't cache a
   2463     # value for INSTALL within a source directory, because that will
   2464     # break other packages using the cache if that directory is
   2465     # removed, or if the value is a relative name.
   2466     INSTALL=$ac_install_sh
   2467   fi
   2468 fi
   2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2470 $as_echo "$INSTALL" >&6; }
   2471 
   2472 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2473 # It thinks the first close brace ends the variable substitution.
   2474 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2475 
   2476 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2477 
   2478 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2479 
   2480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2481 $as_echo_n "checking whether build environment is sane... " >&6; }
   2482 # Reject unsafe characters in $srcdir or the absolute working directory
   2483 # name.  Accept space and tab only in the latter.
   2484 am_lf='
   2485 '
   2486 case `pwd` in
   2487   *[\\\"\#\$\&\'\`$am_lf]*)
   2488     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2489 esac
   2490 case $srcdir in
   2491   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2492     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2493 esac
   2494 
   2495 # Do 'set' in a subshell so we don't clobber the current shell's
   2496 # arguments.  Must try -L first in case configure is actually a
   2497 # symlink; some systems play weird games with the mod time of symlinks
   2498 # (eg FreeBSD returns the mod time of the symlink's containing
   2499 # directory).
   2500 if (
   2501    am_has_slept=no
   2502    for am_try in 1 2; do
   2503      echo "timestamp, slept: $am_has_slept" > conftest.file
   2504      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2505      if test "$*" = "X"; then
   2506 	# -L didn't work.
   2507 	set X `ls -t "$srcdir/configure" conftest.file`
   2508      fi
   2509      if test "$*" != "X $srcdir/configure conftest.file" \
   2510 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2511 
   2512 	# If neither matched, then we have a broken ls.  This can happen
   2513 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2514 	# broken ls alias from the environment.  This has actually
   2515 	# happened.  Such a system could not be considered "sane".
   2516 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2517   alias in your environment" "$LINENO" 5
   2518      fi
   2519      if test "$2" = conftest.file || test $am_try -eq 2; then
   2520        break
   2521      fi
   2522      # Just in case.
   2523      sleep 1
   2524      am_has_slept=yes
   2525    done
   2526    test "$2" = conftest.file
   2527    )
   2528 then
   2529    # Ok.
   2530    :
   2531 else
   2532    as_fn_error $? "newly created file is older than distributed files!
   2533 Check your system clock" "$LINENO" 5
   2534 fi
   2535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2536 $as_echo "yes" >&6; }
   2537 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2538 # generated files are strictly newer.
   2539 am_sleep_pid=
   2540 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2541   ( sleep 1 ) &
   2542   am_sleep_pid=$!
   2543 fi
   2544 
   2545 rm -f conftest.file
   2546 
   2547 test "$program_prefix" != NONE &&
   2548   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2549 # Use a double $ so make ignores it.
   2550 test "$program_suffix" != NONE &&
   2551   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2552 # Double any \ or $.
   2553 # By default was `s,x,x', remove it if useless.
   2554 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2555 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2556 
   2557 # Expand $ac_aux_dir to an absolute path.
   2558 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2559 
   2560 if test x"${MISSING+set}" != xset; then
   2561   case $am_aux_dir in
   2562   *\ * | *\	*)
   2563     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2564   *)
   2565     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2566   esac
   2567 fi
   2568 # Use eval to expand $SHELL
   2569 if eval "$MISSING --is-lightweight"; then
   2570   am_missing_run="$MISSING "
   2571 else
   2572   am_missing_run=
   2573   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2574 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2575 fi
   2576 
   2577 if test x"${install_sh+set}" != xset; then
   2578   case $am_aux_dir in
   2579   *\ * | *\	*)
   2580     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2581   *)
   2582     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2583   esac
   2584 fi
   2585 
   2586 # Installed binaries are usually stripped using 'strip' when the user
   2587 # run "make install-strip".  However 'strip' might not be the right
   2588 # tool to use in cross-compilation environments, therefore Automake
   2589 # will honor the 'STRIP' environment variable to overrule this program.
   2590 if test "$cross_compiling" != no; then
   2591   if test -n "$ac_tool_prefix"; then
   2592   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2593 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2595 $as_echo_n "checking for $ac_word... " >&6; }
   2596 if ${ac_cv_prog_STRIP+:} false; then :
   2597   $as_echo_n "(cached) " >&6
   2598 else
   2599   if test -n "$STRIP"; then
   2600   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2601 else
   2602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2603 for as_dir in $PATH
   2604 do
   2605   IFS=$as_save_IFS
   2606   test -z "$as_dir" && as_dir=.
   2607     for ac_exec_ext in '' $ac_executable_extensions; do
   2608   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2609     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2610     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2611     break 2
   2612   fi
   2613 done
   2614   done
   2615 IFS=$as_save_IFS
   2616 
   2617 fi
   2618 fi
   2619 STRIP=$ac_cv_prog_STRIP
   2620 if test -n "$STRIP"; then
   2621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2622 $as_echo "$STRIP" >&6; }
   2623 else
   2624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2625 $as_echo "no" >&6; }
   2626 fi
   2627 
   2628 
   2629 fi
   2630 if test -z "$ac_cv_prog_STRIP"; then
   2631   ac_ct_STRIP=$STRIP
   2632   # Extract the first word of "strip", so it can be a program name with args.
   2633 set dummy strip; ac_word=$2
   2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2635 $as_echo_n "checking for $ac_word... " >&6; }
   2636 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2637   $as_echo_n "(cached) " >&6
   2638 else
   2639   if test -n "$ac_ct_STRIP"; then
   2640   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2641 else
   2642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2643 for as_dir in $PATH
   2644 do
   2645   IFS=$as_save_IFS
   2646   test -z "$as_dir" && as_dir=.
   2647     for ac_exec_ext in '' $ac_executable_extensions; do
   2648   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2649     ac_cv_prog_ac_ct_STRIP="strip"
   2650     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2651     break 2
   2652   fi
   2653 done
   2654   done
   2655 IFS=$as_save_IFS
   2656 
   2657 fi
   2658 fi
   2659 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2660 if test -n "$ac_ct_STRIP"; then
   2661   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2662 $as_echo "$ac_ct_STRIP" >&6; }
   2663 else
   2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2665 $as_echo "no" >&6; }
   2666 fi
   2667 
   2668   if test "x$ac_ct_STRIP" = x; then
   2669     STRIP=":"
   2670   else
   2671     case $cross_compiling:$ac_tool_warned in
   2672 yes:)
   2673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2674 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2675 ac_tool_warned=yes ;;
   2676 esac
   2677     STRIP=$ac_ct_STRIP
   2678   fi
   2679 else
   2680   STRIP="$ac_cv_prog_STRIP"
   2681 fi
   2682 
   2683 fi
   2684 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2685 
   2686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2687 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2688 if test -z "$MKDIR_P"; then
   2689   if ${ac_cv_path_mkdir+:} false; then :
   2690   $as_echo_n "(cached) " >&6
   2691 else
   2692   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2693 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2694 do
   2695   IFS=$as_save_IFS
   2696   test -z "$as_dir" && as_dir=.
   2697     for ac_prog in mkdir gmkdir; do
   2698 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2699 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2700 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2701 	     'mkdir (GNU coreutils) '* | \
   2702 	     'mkdir (coreutils) '* | \
   2703 	     'mkdir (fileutils) '4.1*)
   2704 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2705 	       break 3;;
   2706 	   esac
   2707 	 done
   2708        done
   2709   done
   2710 IFS=$as_save_IFS
   2711 
   2712 fi
   2713 
   2714   test -d ./--version && rmdir ./--version
   2715   if test "${ac_cv_path_mkdir+set}" = set; then
   2716     MKDIR_P="$ac_cv_path_mkdir -p"
   2717   else
   2718     # As a last resort, use the slow shell script.  Don't cache a
   2719     # value for MKDIR_P within a source directory, because that will
   2720     # break other packages using the cache if that directory is
   2721     # removed, or if the value is a relative name.
   2722     MKDIR_P="$ac_install_sh -d"
   2723   fi
   2724 fi
   2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2726 $as_echo "$MKDIR_P" >&6; }
   2727 
   2728 for ac_prog in gawk mawk nawk awk
   2729 do
   2730   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2731 set dummy $ac_prog; ac_word=$2
   2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2733 $as_echo_n "checking for $ac_word... " >&6; }
   2734 if ${ac_cv_prog_AWK+:} false; then :
   2735   $as_echo_n "(cached) " >&6
   2736 else
   2737   if test -n "$AWK"; then
   2738   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2739 else
   2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2741 for as_dir in $PATH
   2742 do
   2743   IFS=$as_save_IFS
   2744   test -z "$as_dir" && as_dir=.
   2745     for ac_exec_ext in '' $ac_executable_extensions; do
   2746   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2747     ac_cv_prog_AWK="$ac_prog"
   2748     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2749     break 2
   2750   fi
   2751 done
   2752   done
   2753 IFS=$as_save_IFS
   2754 
   2755 fi
   2756 fi
   2757 AWK=$ac_cv_prog_AWK
   2758 if test -n "$AWK"; then
   2759   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2760 $as_echo "$AWK" >&6; }
   2761 else
   2762   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2763 $as_echo "no" >&6; }
   2764 fi
   2765 
   2766 
   2767   test -n "$AWK" && break
   2768 done
   2769 
   2770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2771 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2772 set x ${MAKE-make}
   2773 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2774 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2775   $as_echo_n "(cached) " >&6
   2776 else
   2777   cat >conftest.make <<\_ACEOF
   2778 SHELL = /bin/sh
   2779 all:
   2780 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2781 _ACEOF
   2782 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2783 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2784   *@@@%%%=?*=@@@%%%*)
   2785     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2786   *)
   2787     eval ac_cv_prog_make_${ac_make}_set=no;;
   2788 esac
   2789 rm -f conftest.make
   2790 fi
   2791 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2792   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2793 $as_echo "yes" >&6; }
   2794   SET_MAKE=
   2795 else
   2796   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2797 $as_echo "no" >&6; }
   2798   SET_MAKE="MAKE=${MAKE-make}"
   2799 fi
   2800 
   2801 rm -rf .tst 2>/dev/null
   2802 mkdir .tst 2>/dev/null
   2803 if test -d .tst; then
   2804   am__leading_dot=.
   2805 else
   2806   am__leading_dot=_
   2807 fi
   2808 rmdir .tst 2>/dev/null
   2809 
   2810 # Check whether --enable-silent-rules was given.
   2811 if test "${enable_silent_rules+set}" = set; then :
   2812   enableval=$enable_silent_rules;
   2813 fi
   2814 
   2815 case $enable_silent_rules in # (((
   2816   yes) AM_DEFAULT_VERBOSITY=0;;
   2817    no) AM_DEFAULT_VERBOSITY=1;;
   2818     *) AM_DEFAULT_VERBOSITY=1;;
   2819 esac
   2820 am_make=${MAKE-make}
   2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2822 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2823 if ${am_cv_make_support_nested_variables+:} false; then :
   2824   $as_echo_n "(cached) " >&6
   2825 else
   2826   if $as_echo 'TRUE=$(BAR$(V))
   2827 BAR0=false
   2828 BAR1=true
   2829 V=1
   2830 am__doit:
   2831 	@$(TRUE)
   2832 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2833   am_cv_make_support_nested_variables=yes
   2834 else
   2835   am_cv_make_support_nested_variables=no
   2836 fi
   2837 fi
   2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2839 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2840 if test $am_cv_make_support_nested_variables = yes; then
   2841     AM_V='$(V)'
   2842   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2843 else
   2844   AM_V=$AM_DEFAULT_VERBOSITY
   2845   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2846 fi
   2847 AM_BACKSLASH='\'
   2848 
   2849 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2850   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2851   # is not polluted with repeated "-I."
   2852   am__isrc=' -I$(srcdir)'
   2853   # test to see if srcdir already configured
   2854   if test -f $srcdir/config.status; then
   2855     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2856   fi
   2857 fi
   2858 
   2859 # test whether we have cygpath
   2860 if test -z "$CYGPATH_W"; then
   2861   if (cygpath --version) >/dev/null 2>/dev/null; then
   2862     CYGPATH_W='cygpath -w'
   2863   else
   2864     CYGPATH_W=echo
   2865   fi
   2866 fi
   2867 
   2868 
   2869 # Define the identity of the package.
   2870  PACKAGE='xf86-video-savage'
   2871  VERSION='2.3.9'
   2872 
   2873 
   2874 cat >>confdefs.h <<_ACEOF
   2875 #define PACKAGE "$PACKAGE"
   2876 _ACEOF
   2877 
   2878 
   2879 cat >>confdefs.h <<_ACEOF
   2880 #define VERSION "$VERSION"
   2881 _ACEOF
   2882 
   2883 # Some tools Automake needs.
   2884 
   2885 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2886 
   2887 
   2888 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2889 
   2890 
   2891 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2892 
   2893 
   2894 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2895 
   2896 
   2897 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2898 
   2899 # For better backward compatibility.  To be removed once Automake 1.9.x
   2900 # dies out for good.  For more background, see:
   2901 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2902 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2903 mkdir_p='$(MKDIR_P)'
   2904 
   2905 # We need awk for the "check" target (and possibly the TAP driver).  The
   2906 # system "awk" is bad on some platforms.
   2907 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2908 # in the wild :-(  We should find a proper way to deprecate it ...
   2909 AMTAR='$${TAR-tar}'
   2910 
   2911 
   2912 # We'll loop over all known methods to create a tar archive until one works.
   2913 _am_tools='gnutar  pax cpio none'
   2914 
   2915 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2916 
   2917 
   2918 
   2919 
   2920 
   2921 
   2922 # POSIX will say in a future version that running "rm -f" with no argument
   2923 # is OK; and we want to be able to make that assumption in our Makefile
   2924 # recipes.  So use an aggressive probe to check that the usage we want is
   2925 # actually supported "in the wild" to an acceptable degree.
   2926 # See automake bug#10828.
   2927 # To make any issue more visible, cause the running configure to be aborted
   2928 # by default if the 'rm' program in use doesn't match our expectations; the
   2929 # user can still override this though.
   2930 if rm -f && rm -fr && rm -rf; then : OK; else
   2931   cat >&2 <<'END'
   2932 Oops!
   2933 
   2934 Your 'rm' program seems unable to run without file operands specified
   2935 on the command line, even when the '-f' option is present.  This is contrary
   2936 to the behaviour of most rm programs out there, and not conforming with
   2937 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2938 
   2939 Please tell bug-automake@gnu.org about your system, including the value
   2940 of your $PATH and any error possibly output before this message.  This
   2941 can help us improve future automake versions.
   2942 
   2943 END
   2944   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2945     echo 'Configuration will proceed anyway, since you have set the' >&2
   2946     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2947     echo >&2
   2948   else
   2949     cat >&2 <<'END'
   2950 Aborting the configuration process, to ensure you take notice of the issue.
   2951 
   2952 You can download and install GNU coreutils to get an 'rm' implementation
   2953 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2954 
   2955 If you want to complete the configuration process using your problematic
   2956 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2957 to "yes", and re-run configure.
   2958 
   2959 END
   2960     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2961   fi
   2962 fi
   2963 
   2964 
   2965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2966 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2967     # Check whether --enable-maintainer-mode was given.
   2968 if test "${enable_maintainer_mode+set}" = set; then :
   2969   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2970 else
   2971   USE_MAINTAINER_MODE=no
   2972 fi
   2973 
   2974   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2975 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2976    if test $USE_MAINTAINER_MODE = yes; then
   2977   MAINTAINER_MODE_TRUE=
   2978   MAINTAINER_MODE_FALSE='#'
   2979 else
   2980   MAINTAINER_MODE_TRUE='#'
   2981   MAINTAINER_MODE_FALSE=
   2982 fi
   2983 
   2984   MAINT=$MAINTAINER_MODE_TRUE
   2985 
   2986 
   2987 
   2988 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2989 
   2990 
   2991 
   2992 
   2993 
   2994 
   2995 
   2996 
   2997 
   2998 
   2999 
   3000 DEPDIR="${am__leading_dot}deps"
   3001 
   3002 ac_config_commands="$ac_config_commands depfiles"
   3003 
   3004 
   3005 am_make=${MAKE-make}
   3006 cat > confinc << 'END'
   3007 am__doit:
   3008 	@echo this is the am__doit target
   3009 .PHONY: am__doit
   3010 END
   3011 # If we don't find an include directive, just comment out the code.
   3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   3013 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   3014 am__include="#"
   3015 am__quote=
   3016 _am_result=none
   3017 # First try GNU make style include.
   3018 echo "include confinc" > confmf
   3019 # Ignore all kinds of additional output from 'make'.
   3020 case `$am_make -s -f confmf 2> /dev/null` in #(
   3021 *the\ am__doit\ target*)
   3022   am__include=include
   3023   am__quote=
   3024   _am_result=GNU
   3025   ;;
   3026 esac
   3027 # Now try BSD make style include.
   3028 if test "$am__include" = "#"; then
   3029    echo '.include "confinc"' > confmf
   3030    case `$am_make -s -f confmf 2> /dev/null` in #(
   3031    *the\ am__doit\ target*)
   3032      am__include=.include
   3033      am__quote="\""
   3034      _am_result=BSD
   3035      ;;
   3036    esac
   3037 fi
   3038 
   3039 
   3040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3041 $as_echo "$_am_result" >&6; }
   3042 rm -f confinc confmf
   3043 
   3044 # Check whether --enable-dependency-tracking was given.
   3045 if test "${enable_dependency_tracking+set}" = set; then :
   3046   enableval=$enable_dependency_tracking;
   3047 fi
   3048 
   3049 if test "x$enable_dependency_tracking" != xno; then
   3050   am_depcomp="$ac_aux_dir/depcomp"
   3051   AMDEPBACKSLASH='\'
   3052   am__nodep='_no'
   3053 fi
   3054  if test "x$enable_dependency_tracking" != xno; then
   3055   AMDEP_TRUE=
   3056   AMDEP_FALSE='#'
   3057 else
   3058   AMDEP_TRUE='#'
   3059   AMDEP_FALSE=
   3060 fi
   3061 
   3062 
   3063 ac_ext=c
   3064 ac_cpp='$CPP $CPPFLAGS'
   3065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3068 if test -n "$ac_tool_prefix"; then
   3069   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3070 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3072 $as_echo_n "checking for $ac_word... " >&6; }
   3073 if ${ac_cv_prog_CC+:} false; then :
   3074   $as_echo_n "(cached) " >&6
   3075 else
   3076   if test -n "$CC"; then
   3077   ac_cv_prog_CC="$CC" # Let the user override the test.
   3078 else
   3079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3080 for as_dir in $PATH
   3081 do
   3082   IFS=$as_save_IFS
   3083   test -z "$as_dir" && as_dir=.
   3084     for ac_exec_ext in '' $ac_executable_extensions; do
   3085   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3086     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3087     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3088     break 2
   3089   fi
   3090 done
   3091   done
   3092 IFS=$as_save_IFS
   3093 
   3094 fi
   3095 fi
   3096 CC=$ac_cv_prog_CC
   3097 if test -n "$CC"; then
   3098   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3099 $as_echo "$CC" >&6; }
   3100 else
   3101   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3102 $as_echo "no" >&6; }
   3103 fi
   3104 
   3105 
   3106 fi
   3107 if test -z "$ac_cv_prog_CC"; then
   3108   ac_ct_CC=$CC
   3109   # Extract the first word of "gcc", so it can be a program name with args.
   3110 set dummy gcc; ac_word=$2
   3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3112 $as_echo_n "checking for $ac_word... " >&6; }
   3113 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3114   $as_echo_n "(cached) " >&6
   3115 else
   3116   if test -n "$ac_ct_CC"; then
   3117   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3118 else
   3119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3120 for as_dir in $PATH
   3121 do
   3122   IFS=$as_save_IFS
   3123   test -z "$as_dir" && as_dir=.
   3124     for ac_exec_ext in '' $ac_executable_extensions; do
   3125   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3126     ac_cv_prog_ac_ct_CC="gcc"
   3127     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3128     break 2
   3129   fi
   3130 done
   3131   done
   3132 IFS=$as_save_IFS
   3133 
   3134 fi
   3135 fi
   3136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3137 if test -n "$ac_ct_CC"; then
   3138   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3139 $as_echo "$ac_ct_CC" >&6; }
   3140 else
   3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3142 $as_echo "no" >&6; }
   3143 fi
   3144 
   3145   if test "x$ac_ct_CC" = x; then
   3146     CC=""
   3147   else
   3148     case $cross_compiling:$ac_tool_warned in
   3149 yes:)
   3150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3152 ac_tool_warned=yes ;;
   3153 esac
   3154     CC=$ac_ct_CC
   3155   fi
   3156 else
   3157   CC="$ac_cv_prog_CC"
   3158 fi
   3159 
   3160 if test -z "$CC"; then
   3161           if test -n "$ac_tool_prefix"; then
   3162     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3163 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3165 $as_echo_n "checking for $ac_word... " >&6; }
   3166 if ${ac_cv_prog_CC+:} false; then :
   3167   $as_echo_n "(cached) " >&6
   3168 else
   3169   if test -n "$CC"; then
   3170   ac_cv_prog_CC="$CC" # Let the user override the test.
   3171 else
   3172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3173 for as_dir in $PATH
   3174 do
   3175   IFS=$as_save_IFS
   3176   test -z "$as_dir" && as_dir=.
   3177     for ac_exec_ext in '' $ac_executable_extensions; do
   3178   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3179     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3180     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3181     break 2
   3182   fi
   3183 done
   3184   done
   3185 IFS=$as_save_IFS
   3186 
   3187 fi
   3188 fi
   3189 CC=$ac_cv_prog_CC
   3190 if test -n "$CC"; then
   3191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3192 $as_echo "$CC" >&6; }
   3193 else
   3194   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3195 $as_echo "no" >&6; }
   3196 fi
   3197 
   3198 
   3199   fi
   3200 fi
   3201 if test -z "$CC"; then
   3202   # Extract the first word of "cc", so it can be a program name with args.
   3203 set dummy cc; ac_word=$2
   3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3205 $as_echo_n "checking for $ac_word... " >&6; }
   3206 if ${ac_cv_prog_CC+:} false; then :
   3207   $as_echo_n "(cached) " >&6
   3208 else
   3209   if test -n "$CC"; then
   3210   ac_cv_prog_CC="$CC" # Let the user override the test.
   3211 else
   3212   ac_prog_rejected=no
   3213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3214 for as_dir in $PATH
   3215 do
   3216   IFS=$as_save_IFS
   3217   test -z "$as_dir" && as_dir=.
   3218     for ac_exec_ext in '' $ac_executable_extensions; do
   3219   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3220     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3221        ac_prog_rejected=yes
   3222        continue
   3223      fi
   3224     ac_cv_prog_CC="cc"
   3225     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3226     break 2
   3227   fi
   3228 done
   3229   done
   3230 IFS=$as_save_IFS
   3231 
   3232 if test $ac_prog_rejected = yes; then
   3233   # We found a bogon in the path, so make sure we never use it.
   3234   set dummy $ac_cv_prog_CC
   3235   shift
   3236   if test $# != 0; then
   3237     # We chose a different compiler from the bogus one.
   3238     # However, it has the same basename, so the bogon will be chosen
   3239     # first if we set CC to just the basename; use the full file name.
   3240     shift
   3241     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3242   fi
   3243 fi
   3244 fi
   3245 fi
   3246 CC=$ac_cv_prog_CC
   3247 if test -n "$CC"; then
   3248   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3249 $as_echo "$CC" >&6; }
   3250 else
   3251   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3252 $as_echo "no" >&6; }
   3253 fi
   3254 
   3255 
   3256 fi
   3257 if test -z "$CC"; then
   3258   if test -n "$ac_tool_prefix"; then
   3259   for ac_prog in cl.exe
   3260   do
   3261     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3262 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3264 $as_echo_n "checking for $ac_word... " >&6; }
   3265 if ${ac_cv_prog_CC+:} false; then :
   3266   $as_echo_n "(cached) " >&6
   3267 else
   3268   if test -n "$CC"; then
   3269   ac_cv_prog_CC="$CC" # Let the user override the test.
   3270 else
   3271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3272 for as_dir in $PATH
   3273 do
   3274   IFS=$as_save_IFS
   3275   test -z "$as_dir" && as_dir=.
   3276     for ac_exec_ext in '' $ac_executable_extensions; do
   3277   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3278     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3279     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3280     break 2
   3281   fi
   3282 done
   3283   done
   3284 IFS=$as_save_IFS
   3285 
   3286 fi
   3287 fi
   3288 CC=$ac_cv_prog_CC
   3289 if test -n "$CC"; then
   3290   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3291 $as_echo "$CC" >&6; }
   3292 else
   3293   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3294 $as_echo "no" >&6; }
   3295 fi
   3296 
   3297 
   3298     test -n "$CC" && break
   3299   done
   3300 fi
   3301 if test -z "$CC"; then
   3302   ac_ct_CC=$CC
   3303   for ac_prog in cl.exe
   3304 do
   3305   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3306 set dummy $ac_prog; ac_word=$2
   3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3308 $as_echo_n "checking for $ac_word... " >&6; }
   3309 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3310   $as_echo_n "(cached) " >&6
   3311 else
   3312   if test -n "$ac_ct_CC"; then
   3313   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3314 else
   3315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3316 for as_dir in $PATH
   3317 do
   3318   IFS=$as_save_IFS
   3319   test -z "$as_dir" && as_dir=.
   3320     for ac_exec_ext in '' $ac_executable_extensions; do
   3321   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3322     ac_cv_prog_ac_ct_CC="$ac_prog"
   3323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3324     break 2
   3325   fi
   3326 done
   3327   done
   3328 IFS=$as_save_IFS
   3329 
   3330 fi
   3331 fi
   3332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3333 if test -n "$ac_ct_CC"; then
   3334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3335 $as_echo "$ac_ct_CC" >&6; }
   3336 else
   3337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3338 $as_echo "no" >&6; }
   3339 fi
   3340 
   3341 
   3342   test -n "$ac_ct_CC" && break
   3343 done
   3344 
   3345   if test "x$ac_ct_CC" = x; then
   3346     CC=""
   3347   else
   3348     case $cross_compiling:$ac_tool_warned in
   3349 yes:)
   3350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3352 ac_tool_warned=yes ;;
   3353 esac
   3354     CC=$ac_ct_CC
   3355   fi
   3356 fi
   3357 
   3358 fi
   3359 
   3360 
   3361 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3363 as_fn_error $? "no acceptable C compiler found in \$PATH
   3364 See \`config.log' for more details" "$LINENO" 5; }
   3365 
   3366 # Provide some information about the compiler.
   3367 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3368 set X $ac_compile
   3369 ac_compiler=$2
   3370 for ac_option in --version -v -V -qversion; do
   3371   { { ac_try="$ac_compiler $ac_option >&5"
   3372 case "(($ac_try" in
   3373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3374   *) ac_try_echo=$ac_try;;
   3375 esac
   3376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3377 $as_echo "$ac_try_echo"; } >&5
   3378   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3379   ac_status=$?
   3380   if test -s conftest.err; then
   3381     sed '10a\
   3382 ... rest of stderr output deleted ...
   3383          10q' conftest.err >conftest.er1
   3384     cat conftest.er1 >&5
   3385   fi
   3386   rm -f conftest.er1 conftest.err
   3387   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3388   test $ac_status = 0; }
   3389 done
   3390 
   3391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3392 /* end confdefs.h.  */
   3393 
   3394 int
   3395 main ()
   3396 {
   3397 
   3398   ;
   3399   return 0;
   3400 }
   3401 _ACEOF
   3402 ac_clean_files_save=$ac_clean_files
   3403 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3404 # Try to create an executable without -o first, disregard a.out.
   3405 # It will help us diagnose broken compilers, and finding out an intuition
   3406 # of exeext.
   3407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3408 $as_echo_n "checking whether the C compiler works... " >&6; }
   3409 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3410 
   3411 # The possible output files:
   3412 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3413 
   3414 ac_rmfiles=
   3415 for ac_file in $ac_files
   3416 do
   3417   case $ac_file in
   3418     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3419     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3420   esac
   3421 done
   3422 rm -f $ac_rmfiles
   3423 
   3424 if { { ac_try="$ac_link_default"
   3425 case "(($ac_try" in
   3426   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3427   *) ac_try_echo=$ac_try;;
   3428 esac
   3429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3430 $as_echo "$ac_try_echo"; } >&5
   3431   (eval "$ac_link_default") 2>&5
   3432   ac_status=$?
   3433   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3434   test $ac_status = 0; }; then :
   3435   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3436 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3437 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3438 # so that the user can short-circuit this test for compilers unknown to
   3439 # Autoconf.
   3440 for ac_file in $ac_files ''
   3441 do
   3442   test -f "$ac_file" || continue
   3443   case $ac_file in
   3444     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3445 	;;
   3446     [ab].out )
   3447 	# We found the default executable, but exeext='' is most
   3448 	# certainly right.
   3449 	break;;
   3450     *.* )
   3451 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3452 	then :; else
   3453 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3454 	fi
   3455 	# We set ac_cv_exeext here because the later test for it is not
   3456 	# safe: cross compilers may not add the suffix if given an `-o'
   3457 	# argument, so we may need to know it at that point already.
   3458 	# Even if this section looks crufty: it has the advantage of
   3459 	# actually working.
   3460 	break;;
   3461     * )
   3462 	break;;
   3463   esac
   3464 done
   3465 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3466 
   3467 else
   3468   ac_file=''
   3469 fi
   3470 if test -z "$ac_file"; then :
   3471   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3472 $as_echo "no" >&6; }
   3473 $as_echo "$as_me: failed program was:" >&5
   3474 sed 's/^/| /' conftest.$ac_ext >&5
   3475 
   3476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3478 as_fn_error 77 "C compiler cannot create executables
   3479 See \`config.log' for more details" "$LINENO" 5; }
   3480 else
   3481   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3482 $as_echo "yes" >&6; }
   3483 fi
   3484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3485 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3487 $as_echo "$ac_file" >&6; }
   3488 ac_exeext=$ac_cv_exeext
   3489 
   3490 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3491 ac_clean_files=$ac_clean_files_save
   3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3493 $as_echo_n "checking for suffix of executables... " >&6; }
   3494 if { { ac_try="$ac_link"
   3495 case "(($ac_try" in
   3496   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3497   *) ac_try_echo=$ac_try;;
   3498 esac
   3499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3500 $as_echo "$ac_try_echo"; } >&5
   3501   (eval "$ac_link") 2>&5
   3502   ac_status=$?
   3503   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3504   test $ac_status = 0; }; then :
   3505   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3506 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3507 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3508 # `rm'.
   3509 for ac_file in conftest.exe conftest conftest.*; do
   3510   test -f "$ac_file" || continue
   3511   case $ac_file in
   3512     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3513     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3514 	  break;;
   3515     * ) break;;
   3516   esac
   3517 done
   3518 else
   3519   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3521 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3522 See \`config.log' for more details" "$LINENO" 5; }
   3523 fi
   3524 rm -f conftest conftest$ac_cv_exeext
   3525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3526 $as_echo "$ac_cv_exeext" >&6; }
   3527 
   3528 rm -f conftest.$ac_ext
   3529 EXEEXT=$ac_cv_exeext
   3530 ac_exeext=$EXEEXT
   3531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3532 /* end confdefs.h.  */
   3533 #include <stdio.h>
   3534 int
   3535 main ()
   3536 {
   3537 FILE *f = fopen ("conftest.out", "w");
   3538  return ferror (f) || fclose (f) != 0;
   3539 
   3540   ;
   3541   return 0;
   3542 }
   3543 _ACEOF
   3544 ac_clean_files="$ac_clean_files conftest.out"
   3545 # Check that the compiler produces executables we can run.  If not, either
   3546 # the compiler is broken, or we cross compile.
   3547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3548 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3549 if test "$cross_compiling" != yes; then
   3550   { { ac_try="$ac_link"
   3551 case "(($ac_try" in
   3552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3553   *) ac_try_echo=$ac_try;;
   3554 esac
   3555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3556 $as_echo "$ac_try_echo"; } >&5
   3557   (eval "$ac_link") 2>&5
   3558   ac_status=$?
   3559   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3560   test $ac_status = 0; }
   3561   if { ac_try='./conftest$ac_cv_exeext'
   3562   { { case "(($ac_try" in
   3563   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3564   *) ac_try_echo=$ac_try;;
   3565 esac
   3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3567 $as_echo "$ac_try_echo"; } >&5
   3568   (eval "$ac_try") 2>&5
   3569   ac_status=$?
   3570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3571   test $ac_status = 0; }; }; then
   3572     cross_compiling=no
   3573   else
   3574     if test "$cross_compiling" = maybe; then
   3575 	cross_compiling=yes
   3576     else
   3577 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3579 as_fn_error $? "cannot run C compiled programs.
   3580 If you meant to cross compile, use \`--host'.
   3581 See \`config.log' for more details" "$LINENO" 5; }
   3582     fi
   3583   fi
   3584 fi
   3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3586 $as_echo "$cross_compiling" >&6; }
   3587 
   3588 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3589 ac_clean_files=$ac_clean_files_save
   3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3591 $as_echo_n "checking for suffix of object files... " >&6; }
   3592 if ${ac_cv_objext+:} false; then :
   3593   $as_echo_n "(cached) " >&6
   3594 else
   3595   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3596 /* end confdefs.h.  */
   3597 
   3598 int
   3599 main ()
   3600 {
   3601 
   3602   ;
   3603   return 0;
   3604 }
   3605 _ACEOF
   3606 rm -f conftest.o conftest.obj
   3607 if { { ac_try="$ac_compile"
   3608 case "(($ac_try" in
   3609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3610   *) ac_try_echo=$ac_try;;
   3611 esac
   3612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3613 $as_echo "$ac_try_echo"; } >&5
   3614   (eval "$ac_compile") 2>&5
   3615   ac_status=$?
   3616   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3617   test $ac_status = 0; }; then :
   3618   for ac_file in conftest.o conftest.obj conftest.*; do
   3619   test -f "$ac_file" || continue;
   3620   case $ac_file in
   3621     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3622     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3623        break;;
   3624   esac
   3625 done
   3626 else
   3627   $as_echo "$as_me: failed program was:" >&5
   3628 sed 's/^/| /' conftest.$ac_ext >&5
   3629 
   3630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3632 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3633 See \`config.log' for more details" "$LINENO" 5; }
   3634 fi
   3635 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3636 fi
   3637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3638 $as_echo "$ac_cv_objext" >&6; }
   3639 OBJEXT=$ac_cv_objext
   3640 ac_objext=$OBJEXT
   3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3642 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3643 if ${ac_cv_c_compiler_gnu+:} false; then :
   3644   $as_echo_n "(cached) " >&6
   3645 else
   3646   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3647 /* end confdefs.h.  */
   3648 
   3649 int
   3650 main ()
   3651 {
   3652 #ifndef __GNUC__
   3653        choke me
   3654 #endif
   3655 
   3656   ;
   3657   return 0;
   3658 }
   3659 _ACEOF
   3660 if ac_fn_c_try_compile "$LINENO"; then :
   3661   ac_compiler_gnu=yes
   3662 else
   3663   ac_compiler_gnu=no
   3664 fi
   3665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3666 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3667 
   3668 fi
   3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3670 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3671 if test $ac_compiler_gnu = yes; then
   3672   GCC=yes
   3673 else
   3674   GCC=
   3675 fi
   3676 ac_test_CFLAGS=${CFLAGS+set}
   3677 ac_save_CFLAGS=$CFLAGS
   3678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3679 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3680 if ${ac_cv_prog_cc_g+:} false; then :
   3681   $as_echo_n "(cached) " >&6
   3682 else
   3683   ac_save_c_werror_flag=$ac_c_werror_flag
   3684    ac_c_werror_flag=yes
   3685    ac_cv_prog_cc_g=no
   3686    CFLAGS="-g"
   3687    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3688 /* end confdefs.h.  */
   3689 
   3690 int
   3691 main ()
   3692 {
   3693 
   3694   ;
   3695   return 0;
   3696 }
   3697 _ACEOF
   3698 if ac_fn_c_try_compile "$LINENO"; then :
   3699   ac_cv_prog_cc_g=yes
   3700 else
   3701   CFLAGS=""
   3702       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3703 /* end confdefs.h.  */
   3704 
   3705 int
   3706 main ()
   3707 {
   3708 
   3709   ;
   3710   return 0;
   3711 }
   3712 _ACEOF
   3713 if ac_fn_c_try_compile "$LINENO"; then :
   3714 
   3715 else
   3716   ac_c_werror_flag=$ac_save_c_werror_flag
   3717 	 CFLAGS="-g"
   3718 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3719 /* end confdefs.h.  */
   3720 
   3721 int
   3722 main ()
   3723 {
   3724 
   3725   ;
   3726   return 0;
   3727 }
   3728 _ACEOF
   3729 if ac_fn_c_try_compile "$LINENO"; then :
   3730   ac_cv_prog_cc_g=yes
   3731 fi
   3732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3733 fi
   3734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3735 fi
   3736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3737    ac_c_werror_flag=$ac_save_c_werror_flag
   3738 fi
   3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3740 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3741 if test "$ac_test_CFLAGS" = set; then
   3742   CFLAGS=$ac_save_CFLAGS
   3743 elif test $ac_cv_prog_cc_g = yes; then
   3744   if test "$GCC" = yes; then
   3745     CFLAGS="-g -O2"
   3746   else
   3747     CFLAGS="-g"
   3748   fi
   3749 else
   3750   if test "$GCC" = yes; then
   3751     CFLAGS="-O2"
   3752   else
   3753     CFLAGS=
   3754   fi
   3755 fi
   3756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3757 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3758 if ${ac_cv_prog_cc_c89+:} false; then :
   3759   $as_echo_n "(cached) " >&6
   3760 else
   3761   ac_cv_prog_cc_c89=no
   3762 ac_save_CC=$CC
   3763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3764 /* end confdefs.h.  */
   3765 #include <stdarg.h>
   3766 #include <stdio.h>
   3767 struct stat;
   3768 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3769 struct buf { int x; };
   3770 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3771 static char *e (p, i)
   3772      char **p;
   3773      int i;
   3774 {
   3775   return p[i];
   3776 }
   3777 static char *f (char * (*g) (char **, int), char **p, ...)
   3778 {
   3779   char *s;
   3780   va_list v;
   3781   va_start (v,p);
   3782   s = g (p, va_arg (v,int));
   3783   va_end (v);
   3784   return s;
   3785 }
   3786 
   3787 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3788    function prototypes and stuff, but not '\xHH' hex character constants.
   3789    These don't provoke an error unfortunately, instead are silently treated
   3790    as 'x'.  The following induces an error, until -std is added to get
   3791    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3792    array size at least.  It's necessary to write '\x00'==0 to get something
   3793    that's true only with -std.  */
   3794 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3795 
   3796 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3797    inside strings and character constants.  */
   3798 #define FOO(x) 'x'
   3799 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3800 
   3801 int test (int i, double x);
   3802 struct s1 {int (*f) (int a);};
   3803 struct s2 {int (*f) (double a);};
   3804 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3805 int argc;
   3806 char **argv;
   3807 int
   3808 main ()
   3809 {
   3810 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3811   ;
   3812   return 0;
   3813 }
   3814 _ACEOF
   3815 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3816 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3817 do
   3818   CC="$ac_save_CC $ac_arg"
   3819   if ac_fn_c_try_compile "$LINENO"; then :
   3820   ac_cv_prog_cc_c89=$ac_arg
   3821 fi
   3822 rm -f core conftest.err conftest.$ac_objext
   3823   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3824 done
   3825 rm -f conftest.$ac_ext
   3826 CC=$ac_save_CC
   3827 
   3828 fi
   3829 # AC_CACHE_VAL
   3830 case "x$ac_cv_prog_cc_c89" in
   3831   x)
   3832     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3833 $as_echo "none needed" >&6; } ;;
   3834   xno)
   3835     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3836 $as_echo "unsupported" >&6; } ;;
   3837   *)
   3838     CC="$CC $ac_cv_prog_cc_c89"
   3839     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3840 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3841 esac
   3842 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3843 
   3844 fi
   3845 
   3846 ac_ext=c
   3847 ac_cpp='$CPP $CPPFLAGS'
   3848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3851 
   3852 ac_ext=c
   3853 ac_cpp='$CPP $CPPFLAGS'
   3854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3858 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3859 if ${am_cv_prog_cc_c_o+:} false; then :
   3860   $as_echo_n "(cached) " >&6
   3861 else
   3862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3863 /* end confdefs.h.  */
   3864 
   3865 int
   3866 main ()
   3867 {
   3868 
   3869   ;
   3870   return 0;
   3871 }
   3872 _ACEOF
   3873   # Make sure it works both with $CC and with simple cc.
   3874   # Following AC_PROG_CC_C_O, we do the test twice because some
   3875   # compilers refuse to overwrite an existing .o file with -o,
   3876   # though they will create one.
   3877   am_cv_prog_cc_c_o=yes
   3878   for am_i in 1 2; do
   3879     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3880    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3881    ac_status=$?
   3882    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3883    (exit $ac_status); } \
   3884          && test -f conftest2.$ac_objext; then
   3885       : OK
   3886     else
   3887       am_cv_prog_cc_c_o=no
   3888       break
   3889     fi
   3890   done
   3891   rm -f core conftest*
   3892   unset am_i
   3893 fi
   3894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3895 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3896 if test "$am_cv_prog_cc_c_o" != yes; then
   3897    # Losing compiler, so override with the script.
   3898    # FIXME: It is wrong to rewrite CC.
   3899    # But if we don't then we get into trouble of one sort or another.
   3900    # A longer-term fix would be to have automake use am__CC in this case,
   3901    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3902    CC="$am_aux_dir/compile $CC"
   3903 fi
   3904 ac_ext=c
   3905 ac_cpp='$CPP $CPPFLAGS'
   3906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3909 
   3910 
   3911 depcc="$CC"   am_compiler_list=
   3912 
   3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3914 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3915 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3916   $as_echo_n "(cached) " >&6
   3917 else
   3918   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3919   # We make a subdir and do the tests there.  Otherwise we can end up
   3920   # making bogus files that we don't know about and never remove.  For
   3921   # instance it was reported that on HP-UX the gcc test will end up
   3922   # making a dummy file named 'D' -- because '-MD' means "put the output
   3923   # in D".
   3924   rm -rf conftest.dir
   3925   mkdir conftest.dir
   3926   # Copy depcomp to subdir because otherwise we won't find it if we're
   3927   # using a relative directory.
   3928   cp "$am_depcomp" conftest.dir
   3929   cd conftest.dir
   3930   # We will build objects and dependencies in a subdirectory because
   3931   # it helps to detect inapplicable dependency modes.  For instance
   3932   # both Tru64's cc and ICC support -MD to output dependencies as a
   3933   # side effect of compilation, but ICC will put the dependencies in
   3934   # the current directory while Tru64 will put them in the object
   3935   # directory.
   3936   mkdir sub
   3937 
   3938   am_cv_CC_dependencies_compiler_type=none
   3939   if test "$am_compiler_list" = ""; then
   3940      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3941   fi
   3942   am__universal=false
   3943   case " $depcc " in #(
   3944      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3945      esac
   3946 
   3947   for depmode in $am_compiler_list; do
   3948     # Setup a source with many dependencies, because some compilers
   3949     # like to wrap large dependency lists on column 80 (with \), and
   3950     # we should not choose a depcomp mode which is confused by this.
   3951     #
   3952     # We need to recreate these files for each test, as the compiler may
   3953     # overwrite some of them when testing with obscure command lines.
   3954     # This happens at least with the AIX C compiler.
   3955     : > sub/conftest.c
   3956     for i in 1 2 3 4 5 6; do
   3957       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3958       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3959       # Solaris 10 /bin/sh.
   3960       echo '/* dummy */' > sub/conftst$i.h
   3961     done
   3962     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3963 
   3964     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3965     # mode.  It turns out that the SunPro C++ compiler does not properly
   3966     # handle '-M -o', and we need to detect this.  Also, some Intel
   3967     # versions had trouble with output in subdirs.
   3968     am__obj=sub/conftest.${OBJEXT-o}
   3969     am__minus_obj="-o $am__obj"
   3970     case $depmode in
   3971     gcc)
   3972       # This depmode causes a compiler race in universal mode.
   3973       test "$am__universal" = false || continue
   3974       ;;
   3975     nosideeffect)
   3976       # After this tag, mechanisms are not by side-effect, so they'll
   3977       # only be used when explicitly requested.
   3978       if test "x$enable_dependency_tracking" = xyes; then
   3979 	continue
   3980       else
   3981 	break
   3982       fi
   3983       ;;
   3984     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3985       # This compiler won't grok '-c -o', but also, the minuso test has
   3986       # not run yet.  These depmodes are late enough in the game, and
   3987       # so weak that their functioning should not be impacted.
   3988       am__obj=conftest.${OBJEXT-o}
   3989       am__minus_obj=
   3990       ;;
   3991     none) break ;;
   3992     esac
   3993     if depmode=$depmode \
   3994        source=sub/conftest.c object=$am__obj \
   3995        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3996        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3997          >/dev/null 2>conftest.err &&
   3998        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3999        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   4000        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   4001        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   4002       # icc doesn't choke on unknown options, it will just issue warnings
   4003       # or remarks (even with -Werror).  So we grep stderr for any message
   4004       # that says an option was ignored or not supported.
   4005       # When given -MP, icc 7.0 and 7.1 complain thusly:
   4006       #   icc: Command line warning: ignoring option '-M'; no argument required
   4007       # The diagnosis changed in icc 8.0:
   4008       #   icc: Command line remark: option '-MP' not supported
   4009       if (grep 'ignoring option' conftest.err ||
   4010           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   4011         am_cv_CC_dependencies_compiler_type=$depmode
   4012         break
   4013       fi
   4014     fi
   4015   done
   4016 
   4017   cd ..
   4018   rm -rf conftest.dir
   4019 else
   4020   am_cv_CC_dependencies_compiler_type=none
   4021 fi
   4022 
   4023 fi
   4024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   4025 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4026 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4027 
   4028  if
   4029   test "x$enable_dependency_tracking" != xno \
   4030   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4031   am__fastdepCC_TRUE=
   4032   am__fastdepCC_FALSE='#'
   4033 else
   4034   am__fastdepCC_TRUE='#'
   4035   am__fastdepCC_FALSE=
   4036 fi
   4037 
   4038 
   4039    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4040 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4041 if ${ac_cv_prog_cc_c99+:} false; then :
   4042   $as_echo_n "(cached) " >&6
   4043 else
   4044   ac_cv_prog_cc_c99=no
   4045 ac_save_CC=$CC
   4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4047 /* end confdefs.h.  */
   4048 #include <stdarg.h>
   4049 #include <stdbool.h>
   4050 #include <stdlib.h>
   4051 #include <wchar.h>
   4052 #include <stdio.h>
   4053 
   4054 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4055 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4056 #define showlist(...) puts (#__VA_ARGS__)
   4057 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4058 static void
   4059 test_varargs_macros (void)
   4060 {
   4061   int x = 1234;
   4062   int y = 5678;
   4063   debug ("Flag");
   4064   debug ("X = %d\n", x);
   4065   showlist (The first, second, and third items.);
   4066   report (x>y, "x is %d but y is %d", x, y);
   4067 }
   4068 
   4069 // Check long long types.
   4070 #define BIG64 18446744073709551615ull
   4071 #define BIG32 4294967295ul
   4072 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4073 #if !BIG_OK
   4074   your preprocessor is broken;
   4075 #endif
   4076 #if BIG_OK
   4077 #else
   4078   your preprocessor is broken;
   4079 #endif
   4080 static long long int bignum = -9223372036854775807LL;
   4081 static unsigned long long int ubignum = BIG64;
   4082 
   4083 struct incomplete_array
   4084 {
   4085   int datasize;
   4086   double data[];
   4087 };
   4088 
   4089 struct named_init {
   4090   int number;
   4091   const wchar_t *name;
   4092   double average;
   4093 };
   4094 
   4095 typedef const char *ccp;
   4096 
   4097 static inline int
   4098 test_restrict (ccp restrict text)
   4099 {
   4100   // See if C++-style comments work.
   4101   // Iterate through items via the restricted pointer.
   4102   // Also check for declarations in for loops.
   4103   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4104     continue;
   4105   return 0;
   4106 }
   4107 
   4108 // Check varargs and va_copy.
   4109 static void
   4110 test_varargs (const char *format, ...)
   4111 {
   4112   va_list args;
   4113   va_start (args, format);
   4114   va_list args_copy;
   4115   va_copy (args_copy, args);
   4116 
   4117   const char *str;
   4118   int number;
   4119   float fnumber;
   4120 
   4121   while (*format)
   4122     {
   4123       switch (*format++)
   4124 	{
   4125 	case 's': // string
   4126 	  str = va_arg (args_copy, const char *);
   4127 	  break;
   4128 	case 'd': // int
   4129 	  number = va_arg (args_copy, int);
   4130 	  break;
   4131 	case 'f': // float
   4132 	  fnumber = va_arg (args_copy, double);
   4133 	  break;
   4134 	default:
   4135 	  break;
   4136 	}
   4137     }
   4138   va_end (args_copy);
   4139   va_end (args);
   4140 }
   4141 
   4142 int
   4143 main ()
   4144 {
   4145 
   4146   // Check bool.
   4147   _Bool success = false;
   4148 
   4149   // Check restrict.
   4150   if (test_restrict ("String literal") == 0)
   4151     success = true;
   4152   char *restrict newvar = "Another string";
   4153 
   4154   // Check varargs.
   4155   test_varargs ("s, d' f .", "string", 65, 34.234);
   4156   test_varargs_macros ();
   4157 
   4158   // Check flexible array members.
   4159   struct incomplete_array *ia =
   4160     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4161   ia->datasize = 10;
   4162   for (int i = 0; i < ia->datasize; ++i)
   4163     ia->data[i] = i * 1.234;
   4164 
   4165   // Check named initializers.
   4166   struct named_init ni = {
   4167     .number = 34,
   4168     .name = L"Test wide string",
   4169     .average = 543.34343,
   4170   };
   4171 
   4172   ni.number = 58;
   4173 
   4174   int dynamic_array[ni.number];
   4175   dynamic_array[ni.number - 1] = 543;
   4176 
   4177   // work around unused variable warnings
   4178   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4179 	  || dynamic_array[ni.number - 1] != 543);
   4180 
   4181   ;
   4182   return 0;
   4183 }
   4184 _ACEOF
   4185 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4186 do
   4187   CC="$ac_save_CC $ac_arg"
   4188   if ac_fn_c_try_compile "$LINENO"; then :
   4189   ac_cv_prog_cc_c99=$ac_arg
   4190 fi
   4191 rm -f core conftest.err conftest.$ac_objext
   4192   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4193 done
   4194 rm -f conftest.$ac_ext
   4195 CC=$ac_save_CC
   4196 
   4197 fi
   4198 # AC_CACHE_VAL
   4199 case "x$ac_cv_prog_cc_c99" in
   4200   x)
   4201     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4202 $as_echo "none needed" >&6; } ;;
   4203   xno)
   4204     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4205 $as_echo "unsupported" >&6; } ;;
   4206   *)
   4207     CC="$CC $ac_cv_prog_cc_c99"
   4208     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4209 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4210 esac
   4211 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4212 
   4213 fi
   4214 
   4215 
   4216 
   4217 ac_ext=c
   4218 ac_cpp='$CPP $CPPFLAGS'
   4219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4223 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4224 # On Suns, sometimes $CPP names a directory.
   4225 if test -n "$CPP" && test -d "$CPP"; then
   4226   CPP=
   4227 fi
   4228 if test -z "$CPP"; then
   4229   if ${ac_cv_prog_CPP+:} false; then :
   4230   $as_echo_n "(cached) " >&6
   4231 else
   4232       # Double quotes because CPP needs to be expanded
   4233     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4234     do
   4235       ac_preproc_ok=false
   4236 for ac_c_preproc_warn_flag in '' yes
   4237 do
   4238   # Use a header file that comes with gcc, so configuring glibc
   4239   # with a fresh cross-compiler works.
   4240   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4241   # <limits.h> exists even on freestanding compilers.
   4242   # On the NeXT, cc -E runs the code through the compiler's parser,
   4243   # not just through cpp. "Syntax error" is here to catch this case.
   4244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4245 /* end confdefs.h.  */
   4246 #ifdef __STDC__
   4247 # include <limits.h>
   4248 #else
   4249 # include <assert.h>
   4250 #endif
   4251 		     Syntax error
   4252 _ACEOF
   4253 if ac_fn_c_try_cpp "$LINENO"; then :
   4254 
   4255 else
   4256   # Broken: fails on valid input.
   4257 continue
   4258 fi
   4259 rm -f conftest.err conftest.i conftest.$ac_ext
   4260 
   4261   # OK, works on sane cases.  Now check whether nonexistent headers
   4262   # can be detected and how.
   4263   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4264 /* end confdefs.h.  */
   4265 #include <ac_nonexistent.h>
   4266 _ACEOF
   4267 if ac_fn_c_try_cpp "$LINENO"; then :
   4268   # Broken: success on invalid input.
   4269 continue
   4270 else
   4271   # Passes both tests.
   4272 ac_preproc_ok=:
   4273 break
   4274 fi
   4275 rm -f conftest.err conftest.i conftest.$ac_ext
   4276 
   4277 done
   4278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4279 rm -f conftest.i conftest.err conftest.$ac_ext
   4280 if $ac_preproc_ok; then :
   4281   break
   4282 fi
   4283 
   4284     done
   4285     ac_cv_prog_CPP=$CPP
   4286 
   4287 fi
   4288   CPP=$ac_cv_prog_CPP
   4289 else
   4290   ac_cv_prog_CPP=$CPP
   4291 fi
   4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4293 $as_echo "$CPP" >&6; }
   4294 ac_preproc_ok=false
   4295 for ac_c_preproc_warn_flag in '' yes
   4296 do
   4297   # Use a header file that comes with gcc, so configuring glibc
   4298   # with a fresh cross-compiler works.
   4299   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4300   # <limits.h> exists even on freestanding compilers.
   4301   # On the NeXT, cc -E runs the code through the compiler's parser,
   4302   # not just through cpp. "Syntax error" is here to catch this case.
   4303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4304 /* end confdefs.h.  */
   4305 #ifdef __STDC__
   4306 # include <limits.h>
   4307 #else
   4308 # include <assert.h>
   4309 #endif
   4310 		     Syntax error
   4311 _ACEOF
   4312 if ac_fn_c_try_cpp "$LINENO"; then :
   4313 
   4314 else
   4315   # Broken: fails on valid input.
   4316 continue
   4317 fi
   4318 rm -f conftest.err conftest.i conftest.$ac_ext
   4319 
   4320   # OK, works on sane cases.  Now check whether nonexistent headers
   4321   # can be detected and how.
   4322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4323 /* end confdefs.h.  */
   4324 #include <ac_nonexistent.h>
   4325 _ACEOF
   4326 if ac_fn_c_try_cpp "$LINENO"; then :
   4327   # Broken: success on invalid input.
   4328 continue
   4329 else
   4330   # Passes both tests.
   4331 ac_preproc_ok=:
   4332 break
   4333 fi
   4334 rm -f conftest.err conftest.i conftest.$ac_ext
   4335 
   4336 done
   4337 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4338 rm -f conftest.i conftest.err conftest.$ac_ext
   4339 if $ac_preproc_ok; then :
   4340 
   4341 else
   4342   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4344 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4345 See \`config.log' for more details" "$LINENO" 5; }
   4346 fi
   4347 
   4348 ac_ext=c
   4349 ac_cpp='$CPP $CPPFLAGS'
   4350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4353 
   4354 
   4355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4356 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4357 if ${ac_cv_path_GREP+:} false; then :
   4358   $as_echo_n "(cached) " >&6
   4359 else
   4360   if test -z "$GREP"; then
   4361   ac_path_GREP_found=false
   4362   # Loop through the user's path and test for each of PROGNAME-LIST
   4363   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4364 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4365 do
   4366   IFS=$as_save_IFS
   4367   test -z "$as_dir" && as_dir=.
   4368     for ac_prog in grep ggrep; do
   4369     for ac_exec_ext in '' $ac_executable_extensions; do
   4370       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4371       as_fn_executable_p "$ac_path_GREP" || continue
   4372 # Check for GNU ac_path_GREP and select it if it is found.
   4373   # Check for GNU $ac_path_GREP
   4374 case `"$ac_path_GREP" --version 2>&1` in
   4375 *GNU*)
   4376   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4377 *)
   4378   ac_count=0
   4379   $as_echo_n 0123456789 >"conftest.in"
   4380   while :
   4381   do
   4382     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4383     mv "conftest.tmp" "conftest.in"
   4384     cp "conftest.in" "conftest.nl"
   4385     $as_echo 'GREP' >> "conftest.nl"
   4386     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4387     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4388     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4389     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4390       # Best one so far, save it but keep looking for a better one
   4391       ac_cv_path_GREP="$ac_path_GREP"
   4392       ac_path_GREP_max=$ac_count
   4393     fi
   4394     # 10*(2^10) chars as input seems more than enough
   4395     test $ac_count -gt 10 && break
   4396   done
   4397   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4398 esac
   4399 
   4400       $ac_path_GREP_found && break 3
   4401     done
   4402   done
   4403   done
   4404 IFS=$as_save_IFS
   4405   if test -z "$ac_cv_path_GREP"; then
   4406     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4407   fi
   4408 else
   4409   ac_cv_path_GREP=$GREP
   4410 fi
   4411 
   4412 fi
   4413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4414 $as_echo "$ac_cv_path_GREP" >&6; }
   4415  GREP="$ac_cv_path_GREP"
   4416 
   4417 
   4418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4419 $as_echo_n "checking for egrep... " >&6; }
   4420 if ${ac_cv_path_EGREP+:} false; then :
   4421   $as_echo_n "(cached) " >&6
   4422 else
   4423   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4424    then ac_cv_path_EGREP="$GREP -E"
   4425    else
   4426      if test -z "$EGREP"; then
   4427   ac_path_EGREP_found=false
   4428   # Loop through the user's path and test for each of PROGNAME-LIST
   4429   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4430 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4431 do
   4432   IFS=$as_save_IFS
   4433   test -z "$as_dir" && as_dir=.
   4434     for ac_prog in egrep; do
   4435     for ac_exec_ext in '' $ac_executable_extensions; do
   4436       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4437       as_fn_executable_p "$ac_path_EGREP" || continue
   4438 # Check for GNU ac_path_EGREP and select it if it is found.
   4439   # Check for GNU $ac_path_EGREP
   4440 case `"$ac_path_EGREP" --version 2>&1` in
   4441 *GNU*)
   4442   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4443 *)
   4444   ac_count=0
   4445   $as_echo_n 0123456789 >"conftest.in"
   4446   while :
   4447   do
   4448     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4449     mv "conftest.tmp" "conftest.in"
   4450     cp "conftest.in" "conftest.nl"
   4451     $as_echo 'EGREP' >> "conftest.nl"
   4452     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4453     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4454     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4455     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4456       # Best one so far, save it but keep looking for a better one
   4457       ac_cv_path_EGREP="$ac_path_EGREP"
   4458       ac_path_EGREP_max=$ac_count
   4459     fi
   4460     # 10*(2^10) chars as input seems more than enough
   4461     test $ac_count -gt 10 && break
   4462   done
   4463   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4464 esac
   4465 
   4466       $ac_path_EGREP_found && break 3
   4467     done
   4468   done
   4469   done
   4470 IFS=$as_save_IFS
   4471   if test -z "$ac_cv_path_EGREP"; then
   4472     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4473   fi
   4474 else
   4475   ac_cv_path_EGREP=$EGREP
   4476 fi
   4477 
   4478    fi
   4479 fi
   4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4481 $as_echo "$ac_cv_path_EGREP" >&6; }
   4482  EGREP="$ac_cv_path_EGREP"
   4483 
   4484 
   4485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4486 $as_echo_n "checking for ANSI C header files... " >&6; }
   4487 if ${ac_cv_header_stdc+:} false; then :
   4488   $as_echo_n "(cached) " >&6
   4489 else
   4490   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4491 /* end confdefs.h.  */
   4492 #include <stdlib.h>
   4493 #include <stdarg.h>
   4494 #include <string.h>
   4495 #include <float.h>
   4496 
   4497 int
   4498 main ()
   4499 {
   4500 
   4501   ;
   4502   return 0;
   4503 }
   4504 _ACEOF
   4505 if ac_fn_c_try_compile "$LINENO"; then :
   4506   ac_cv_header_stdc=yes
   4507 else
   4508   ac_cv_header_stdc=no
   4509 fi
   4510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4511 
   4512 if test $ac_cv_header_stdc = yes; then
   4513   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4515 /* end confdefs.h.  */
   4516 #include <string.h>
   4517 
   4518 _ACEOF
   4519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4520   $EGREP "memchr" >/dev/null 2>&1; then :
   4521 
   4522 else
   4523   ac_cv_header_stdc=no
   4524 fi
   4525 rm -f conftest*
   4526 
   4527 fi
   4528 
   4529 if test $ac_cv_header_stdc = yes; then
   4530   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4531   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4532 /* end confdefs.h.  */
   4533 #include <stdlib.h>
   4534 
   4535 _ACEOF
   4536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4537   $EGREP "free" >/dev/null 2>&1; then :
   4538 
   4539 else
   4540   ac_cv_header_stdc=no
   4541 fi
   4542 rm -f conftest*
   4543 
   4544 fi
   4545 
   4546 if test $ac_cv_header_stdc = yes; then
   4547   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4548   if test "$cross_compiling" = yes; then :
   4549   :
   4550 else
   4551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4552 /* end confdefs.h.  */
   4553 #include <ctype.h>
   4554 #include <stdlib.h>
   4555 #if ((' ' & 0x0FF) == 0x020)
   4556 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4557 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4558 #else
   4559 # define ISLOWER(c) \
   4560 		   (('a' <= (c) && (c) <= 'i') \
   4561 		     || ('j' <= (c) && (c) <= 'r') \
   4562 		     || ('s' <= (c) && (c) <= 'z'))
   4563 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4564 #endif
   4565 
   4566 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4567 int
   4568 main ()
   4569 {
   4570   int i;
   4571   for (i = 0; i < 256; i++)
   4572     if (XOR (islower (i), ISLOWER (i))
   4573 	|| toupper (i) != TOUPPER (i))
   4574       return 2;
   4575   return 0;
   4576 }
   4577 _ACEOF
   4578 if ac_fn_c_try_run "$LINENO"; then :
   4579 
   4580 else
   4581   ac_cv_header_stdc=no
   4582 fi
   4583 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4584   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4585 fi
   4586 
   4587 fi
   4588 fi
   4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4590 $as_echo "$ac_cv_header_stdc" >&6; }
   4591 if test $ac_cv_header_stdc = yes; then
   4592 
   4593 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4594 
   4595 fi
   4596 
   4597 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4598 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4599 		  inttypes.h stdint.h unistd.h
   4600 do :
   4601   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4602 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4603 "
   4604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4605   cat >>confdefs.h <<_ACEOF
   4606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4607 _ACEOF
   4608 
   4609 fi
   4610 
   4611 done
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4619 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4620   CLANGCC="yes"
   4621 else
   4622   CLANGCC="no"
   4623 fi
   4624 
   4625 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4626 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4627   INTELCC="yes"
   4628 else
   4629   INTELCC="no"
   4630 fi
   4631 
   4632 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4633 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4634   SUNCC="yes"
   4635 else
   4636   SUNCC="no"
   4637 fi
   4638 
   4639 
   4640 
   4641 
   4642 
   4643 
   4644 
   4645 
   4646 
   4647 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4648 	if test -n "$ac_tool_prefix"; then
   4649   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4650 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4652 $as_echo_n "checking for $ac_word... " >&6; }
   4653 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4654   $as_echo_n "(cached) " >&6
   4655 else
   4656   case $PKG_CONFIG in
   4657   [\\/]* | ?:[\\/]*)
   4658   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4659   ;;
   4660   *)
   4661   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4662 for as_dir in $PATH
   4663 do
   4664   IFS=$as_save_IFS
   4665   test -z "$as_dir" && as_dir=.
   4666     for ac_exec_ext in '' $ac_executable_extensions; do
   4667   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4668     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4669     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4670     break 2
   4671   fi
   4672 done
   4673   done
   4674 IFS=$as_save_IFS
   4675 
   4676   ;;
   4677 esac
   4678 fi
   4679 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4680 if test -n "$PKG_CONFIG"; then
   4681   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4682 $as_echo "$PKG_CONFIG" >&6; }
   4683 else
   4684   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4685 $as_echo "no" >&6; }
   4686 fi
   4687 
   4688 
   4689 fi
   4690 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4691   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4692   # Extract the first word of "pkg-config", so it can be a program name with args.
   4693 set dummy pkg-config; ac_word=$2
   4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4695 $as_echo_n "checking for $ac_word... " >&6; }
   4696 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4697   $as_echo_n "(cached) " >&6
   4698 else
   4699   case $ac_pt_PKG_CONFIG in
   4700   [\\/]* | ?:[\\/]*)
   4701   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4702   ;;
   4703   *)
   4704   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4705 for as_dir in $PATH
   4706 do
   4707   IFS=$as_save_IFS
   4708   test -z "$as_dir" && as_dir=.
   4709     for ac_exec_ext in '' $ac_executable_extensions; do
   4710   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4711     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4712     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4713     break 2
   4714   fi
   4715 done
   4716   done
   4717 IFS=$as_save_IFS
   4718 
   4719   ;;
   4720 esac
   4721 fi
   4722 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4723 if test -n "$ac_pt_PKG_CONFIG"; then
   4724   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4725 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4726 else
   4727   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4728 $as_echo "no" >&6; }
   4729 fi
   4730 
   4731   if test "x$ac_pt_PKG_CONFIG" = x; then
   4732     PKG_CONFIG=""
   4733   else
   4734     case $cross_compiling:$ac_tool_warned in
   4735 yes:)
   4736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4737 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4738 ac_tool_warned=yes ;;
   4739 esac
   4740     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4741   fi
   4742 else
   4743   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4744 fi
   4745 
   4746 fi
   4747 if test -n "$PKG_CONFIG"; then
   4748 	_pkg_min_version=0.9.0
   4749 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4750 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4751 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4752 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4753 $as_echo "yes" >&6; }
   4754 	else
   4755 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4756 $as_echo "no" >&6; }
   4757 		PKG_CONFIG=""
   4758 	fi
   4759 fi
   4760 # Make sure we can run config.sub.
   4761 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4762   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4763 
   4764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4765 $as_echo_n "checking build system type... " >&6; }
   4766 if ${ac_cv_build+:} false; then :
   4767   $as_echo_n "(cached) " >&6
   4768 else
   4769   ac_build_alias=$build_alias
   4770 test "x$ac_build_alias" = x &&
   4771   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4772 test "x$ac_build_alias" = x &&
   4773   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4774 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4775   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4776 
   4777 fi
   4778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4779 $as_echo "$ac_cv_build" >&6; }
   4780 case $ac_cv_build in
   4781 *-*-*) ;;
   4782 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4783 esac
   4784 build=$ac_cv_build
   4785 ac_save_IFS=$IFS; IFS='-'
   4786 set x $ac_cv_build
   4787 shift
   4788 build_cpu=$1
   4789 build_vendor=$2
   4790 shift; shift
   4791 # Remember, the first character of IFS is used to create $*,
   4792 # except with old shells:
   4793 build_os=$*
   4794 IFS=$ac_save_IFS
   4795 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4796 
   4797 
   4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4799 $as_echo_n "checking host system type... " >&6; }
   4800 if ${ac_cv_host+:} false; then :
   4801   $as_echo_n "(cached) " >&6
   4802 else
   4803   if test "x$host_alias" = x; then
   4804   ac_cv_host=$ac_cv_build
   4805 else
   4806   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4807     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4808 fi
   4809 
   4810 fi
   4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4812 $as_echo "$ac_cv_host" >&6; }
   4813 case $ac_cv_host in
   4814 *-*-*) ;;
   4815 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4816 esac
   4817 host=$ac_cv_host
   4818 ac_save_IFS=$IFS; IFS='-'
   4819 set x $ac_cv_host
   4820 shift
   4821 host_cpu=$1
   4822 host_vendor=$2
   4823 shift; shift
   4824 # Remember, the first character of IFS is used to create $*,
   4825 # except with old shells:
   4826 host_os=$*
   4827 IFS=$ac_save_IFS
   4828 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4829 
   4830 
   4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4832 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4833 if ${ac_cv_path_SED+:} false; then :
   4834   $as_echo_n "(cached) " >&6
   4835 else
   4836             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4837      for ac_i in 1 2 3 4 5 6 7; do
   4838        ac_script="$ac_script$as_nl$ac_script"
   4839      done
   4840      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4841      { ac_script=; unset ac_script;}
   4842      if test -z "$SED"; then
   4843   ac_path_SED_found=false
   4844   # Loop through the user's path and test for each of PROGNAME-LIST
   4845   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4846 for as_dir in $PATH
   4847 do
   4848   IFS=$as_save_IFS
   4849   test -z "$as_dir" && as_dir=.
   4850     for ac_prog in sed gsed; do
   4851     for ac_exec_ext in '' $ac_executable_extensions; do
   4852       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4853       as_fn_executable_p "$ac_path_SED" || continue
   4854 # Check for GNU ac_path_SED and select it if it is found.
   4855   # Check for GNU $ac_path_SED
   4856 case `"$ac_path_SED" --version 2>&1` in
   4857 *GNU*)
   4858   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4859 *)
   4860   ac_count=0
   4861   $as_echo_n 0123456789 >"conftest.in"
   4862   while :
   4863   do
   4864     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4865     mv "conftest.tmp" "conftest.in"
   4866     cp "conftest.in" "conftest.nl"
   4867     $as_echo '' >> "conftest.nl"
   4868     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4869     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4870     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4871     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4872       # Best one so far, save it but keep looking for a better one
   4873       ac_cv_path_SED="$ac_path_SED"
   4874       ac_path_SED_max=$ac_count
   4875     fi
   4876     # 10*(2^10) chars as input seems more than enough
   4877     test $ac_count -gt 10 && break
   4878   done
   4879   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4880 esac
   4881 
   4882       $ac_path_SED_found && break 3
   4883     done
   4884   done
   4885   done
   4886 IFS=$as_save_IFS
   4887   if test -z "$ac_cv_path_SED"; then
   4888     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4889   fi
   4890 else
   4891   ac_cv_path_SED=$SED
   4892 fi
   4893 
   4894 fi
   4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4896 $as_echo "$ac_cv_path_SED" >&6; }
   4897  SED="$ac_cv_path_SED"
   4898   rm -f conftest.sed
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 # Check whether --enable-selective-werror was given.
   4906 if test "${enable_selective_werror+set}" = set; then :
   4907   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4908 else
   4909   SELECTIVE_WERROR=yes
   4910 fi
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4917 if test "x$SUNCC" = "xyes"; then
   4918     BASE_CFLAGS="-v"
   4919 else
   4920     BASE_CFLAGS=""
   4921 fi
   4922 
   4923 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4924 
   4925 
   4926 
   4927 
   4928 
   4929 
   4930 
   4931 
   4932 
   4933 
   4934 
   4935 
   4936 
   4937 xorg_testset_save_CFLAGS="$CFLAGS"
   4938 
   4939 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4940 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4941 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4942 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4943 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4944   $as_echo_n "(cached) " >&6
   4945 else
   4946   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4947 /* end confdefs.h.  */
   4948 int i;
   4949 _ACEOF
   4950 if ac_fn_c_try_compile "$LINENO"; then :
   4951   xorg_cv_cc_flag_unknown_warning_option=yes
   4952 else
   4953   xorg_cv_cc_flag_unknown_warning_option=no
   4954 fi
   4955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4956 fi
   4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4958 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4959 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4960 	CFLAGS="$xorg_testset_save_CFLAGS"
   4961 fi
   4962 
   4963 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4964 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4965 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4966 	fi
   4967 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4968 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4969 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4970 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4971   $as_echo_n "(cached) " >&6
   4972 else
   4973   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4974 /* end confdefs.h.  */
   4975 int i;
   4976 _ACEOF
   4977 if ac_fn_c_try_compile "$LINENO"; then :
   4978   xorg_cv_cc_flag_unused_command_line_argument=yes
   4979 else
   4980   xorg_cv_cc_flag_unused_command_line_argument=no
   4981 fi
   4982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4983 fi
   4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4985 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4986 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4987 	CFLAGS="$xorg_testset_save_CFLAGS"
   4988 fi
   4989 
   4990 found="no"
   4991 
   4992 	if test $found = "no" ; then
   4993 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4994 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4995 		fi
   4996 
   4997 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4998 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4999 		fi
   5000 
   5001 		CFLAGS="$CFLAGS -Wall"
   5002 
   5003 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   5004 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   5005 		cacheid=xorg_cv_cc_flag__Wall
   5006 		if eval \${$cacheid+:} false; then :
   5007   $as_echo_n "(cached) " >&6
   5008 else
   5009   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5010 /* end confdefs.h.  */
   5011 int i;
   5012 int
   5013 main ()
   5014 {
   5015 
   5016   ;
   5017   return 0;
   5018 }
   5019 _ACEOF
   5020 if ac_fn_c_try_link "$LINENO"; then :
   5021   eval $cacheid=yes
   5022 else
   5023   eval $cacheid=no
   5024 fi
   5025 rm -f core conftest.err conftest.$ac_objext \
   5026     conftest$ac_exeext conftest.$ac_ext
   5027 fi
   5028 
   5029 
   5030 		CFLAGS="$xorg_testset_save_CFLAGS"
   5031 
   5032 		eval supported=\$$cacheid
   5033 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5034 $as_echo "$supported" >&6; }
   5035 		if test "$supported" = "yes" ; then
   5036 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5037 			found="yes"
   5038 		fi
   5039 	fi
   5040 
   5041 
   5042 
   5043 
   5044 
   5045 
   5046 
   5047 
   5048 
   5049 
   5050 
   5051 
   5052 
   5053 
   5054 
   5055 xorg_testset_save_CFLAGS="$CFLAGS"
   5056 
   5057 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5058 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5059 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5060 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5061 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5062   $as_echo_n "(cached) " >&6
   5063 else
   5064   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5065 /* end confdefs.h.  */
   5066 int i;
   5067 _ACEOF
   5068 if ac_fn_c_try_compile "$LINENO"; then :
   5069   xorg_cv_cc_flag_unknown_warning_option=yes
   5070 else
   5071   xorg_cv_cc_flag_unknown_warning_option=no
   5072 fi
   5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5074 fi
   5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5076 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5077 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5078 	CFLAGS="$xorg_testset_save_CFLAGS"
   5079 fi
   5080 
   5081 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5082 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5083 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5084 	fi
   5085 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5086 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5087 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5088 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5089   $as_echo_n "(cached) " >&6
   5090 else
   5091   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5092 /* end confdefs.h.  */
   5093 int i;
   5094 _ACEOF
   5095 if ac_fn_c_try_compile "$LINENO"; then :
   5096   xorg_cv_cc_flag_unused_command_line_argument=yes
   5097 else
   5098   xorg_cv_cc_flag_unused_command_line_argument=no
   5099 fi
   5100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5101 fi
   5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5103 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5104 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5105 	CFLAGS="$xorg_testset_save_CFLAGS"
   5106 fi
   5107 
   5108 found="no"
   5109 
   5110 	if test $found = "no" ; then
   5111 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5112 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5113 		fi
   5114 
   5115 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5116 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5117 		fi
   5118 
   5119 		CFLAGS="$CFLAGS -Wpointer-arith"
   5120 
   5121 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5122 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5123 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5124 		if eval \${$cacheid+:} false; then :
   5125   $as_echo_n "(cached) " >&6
   5126 else
   5127   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5128 /* end confdefs.h.  */
   5129 int i;
   5130 int
   5131 main ()
   5132 {
   5133 
   5134   ;
   5135   return 0;
   5136 }
   5137 _ACEOF
   5138 if ac_fn_c_try_link "$LINENO"; then :
   5139   eval $cacheid=yes
   5140 else
   5141   eval $cacheid=no
   5142 fi
   5143 rm -f core conftest.err conftest.$ac_objext \
   5144     conftest$ac_exeext conftest.$ac_ext
   5145 fi
   5146 
   5147 
   5148 		CFLAGS="$xorg_testset_save_CFLAGS"
   5149 
   5150 		eval supported=\$$cacheid
   5151 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5152 $as_echo "$supported" >&6; }
   5153 		if test "$supported" = "yes" ; then
   5154 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5155 			found="yes"
   5156 		fi
   5157 	fi
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 
   5164 
   5165 
   5166 
   5167 
   5168 
   5169 
   5170 
   5171 
   5172 
   5173 xorg_testset_save_CFLAGS="$CFLAGS"
   5174 
   5175 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5176 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5177 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5178 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5179 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5180   $as_echo_n "(cached) " >&6
   5181 else
   5182   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5183 /* end confdefs.h.  */
   5184 int i;
   5185 _ACEOF
   5186 if ac_fn_c_try_compile "$LINENO"; then :
   5187   xorg_cv_cc_flag_unknown_warning_option=yes
   5188 else
   5189   xorg_cv_cc_flag_unknown_warning_option=no
   5190 fi
   5191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5192 fi
   5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5194 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5195 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5196 	CFLAGS="$xorg_testset_save_CFLAGS"
   5197 fi
   5198 
   5199 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5200 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5201 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5202 	fi
   5203 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5205 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5206 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5207   $as_echo_n "(cached) " >&6
   5208 else
   5209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5210 /* end confdefs.h.  */
   5211 int i;
   5212 _ACEOF
   5213 if ac_fn_c_try_compile "$LINENO"; then :
   5214   xorg_cv_cc_flag_unused_command_line_argument=yes
   5215 else
   5216   xorg_cv_cc_flag_unused_command_line_argument=no
   5217 fi
   5218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5219 fi
   5220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5221 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5222 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5223 	CFLAGS="$xorg_testset_save_CFLAGS"
   5224 fi
   5225 
   5226 found="no"
   5227 
   5228 	if test $found = "no" ; then
   5229 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5230 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5231 		fi
   5232 
   5233 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5234 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5235 		fi
   5236 
   5237 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5238 
   5239 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5240 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5241 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5242 		if eval \${$cacheid+:} false; then :
   5243   $as_echo_n "(cached) " >&6
   5244 else
   5245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5246 /* end confdefs.h.  */
   5247 int i;
   5248 int
   5249 main ()
   5250 {
   5251 
   5252   ;
   5253   return 0;
   5254 }
   5255 _ACEOF
   5256 if ac_fn_c_try_link "$LINENO"; then :
   5257   eval $cacheid=yes
   5258 else
   5259   eval $cacheid=no
   5260 fi
   5261 rm -f core conftest.err conftest.$ac_objext \
   5262     conftest$ac_exeext conftest.$ac_ext
   5263 fi
   5264 
   5265 
   5266 		CFLAGS="$xorg_testset_save_CFLAGS"
   5267 
   5268 		eval supported=\$$cacheid
   5269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5270 $as_echo "$supported" >&6; }
   5271 		if test "$supported" = "yes" ; then
   5272 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5273 			found="yes"
   5274 		fi
   5275 	fi
   5276 
   5277 
   5278 
   5279 
   5280 
   5281 
   5282 
   5283 
   5284 
   5285 
   5286 
   5287 
   5288 
   5289 
   5290 
   5291 xorg_testset_save_CFLAGS="$CFLAGS"
   5292 
   5293 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5294 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5295 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5296 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5297 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5298   $as_echo_n "(cached) " >&6
   5299 else
   5300   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5301 /* end confdefs.h.  */
   5302 int i;
   5303 _ACEOF
   5304 if ac_fn_c_try_compile "$LINENO"; then :
   5305   xorg_cv_cc_flag_unknown_warning_option=yes
   5306 else
   5307   xorg_cv_cc_flag_unknown_warning_option=no
   5308 fi
   5309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5310 fi
   5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5312 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5313 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5314 	CFLAGS="$xorg_testset_save_CFLAGS"
   5315 fi
   5316 
   5317 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5318 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5319 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5320 	fi
   5321 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5323 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5324 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5325   $as_echo_n "(cached) " >&6
   5326 else
   5327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5328 /* end confdefs.h.  */
   5329 int i;
   5330 _ACEOF
   5331 if ac_fn_c_try_compile "$LINENO"; then :
   5332   xorg_cv_cc_flag_unused_command_line_argument=yes
   5333 else
   5334   xorg_cv_cc_flag_unused_command_line_argument=no
   5335 fi
   5336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5337 fi
   5338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5339 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5340 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5341 	CFLAGS="$xorg_testset_save_CFLAGS"
   5342 fi
   5343 
   5344 found="no"
   5345 
   5346 	if test $found = "no" ; then
   5347 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5348 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5349 		fi
   5350 
   5351 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5352 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5353 		fi
   5354 
   5355 		CFLAGS="$CFLAGS -Wformat=2"
   5356 
   5357 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5358 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5359 		cacheid=xorg_cv_cc_flag__Wformat_2
   5360 		if eval \${$cacheid+:} false; then :
   5361   $as_echo_n "(cached) " >&6
   5362 else
   5363   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5364 /* end confdefs.h.  */
   5365 int i;
   5366 int
   5367 main ()
   5368 {
   5369 
   5370   ;
   5371   return 0;
   5372 }
   5373 _ACEOF
   5374 if ac_fn_c_try_link "$LINENO"; then :
   5375   eval $cacheid=yes
   5376 else
   5377   eval $cacheid=no
   5378 fi
   5379 rm -f core conftest.err conftest.$ac_objext \
   5380     conftest$ac_exeext conftest.$ac_ext
   5381 fi
   5382 
   5383 
   5384 		CFLAGS="$xorg_testset_save_CFLAGS"
   5385 
   5386 		eval supported=\$$cacheid
   5387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5388 $as_echo "$supported" >&6; }
   5389 		if test "$supported" = "yes" ; then
   5390 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5391 			found="yes"
   5392 		fi
   5393 	fi
   5394 
   5395 	if test $found = "no" ; then
   5396 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5397 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5398 		fi
   5399 
   5400 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5401 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5402 		fi
   5403 
   5404 		CFLAGS="$CFLAGS -Wformat"
   5405 
   5406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5407 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5408 		cacheid=xorg_cv_cc_flag__Wformat
   5409 		if eval \${$cacheid+:} false; then :
   5410   $as_echo_n "(cached) " >&6
   5411 else
   5412   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5413 /* end confdefs.h.  */
   5414 int i;
   5415 int
   5416 main ()
   5417 {
   5418 
   5419   ;
   5420   return 0;
   5421 }
   5422 _ACEOF
   5423 if ac_fn_c_try_link "$LINENO"; then :
   5424   eval $cacheid=yes
   5425 else
   5426   eval $cacheid=no
   5427 fi
   5428 rm -f core conftest.err conftest.$ac_objext \
   5429     conftest$ac_exeext conftest.$ac_ext
   5430 fi
   5431 
   5432 
   5433 		CFLAGS="$xorg_testset_save_CFLAGS"
   5434 
   5435 		eval supported=\$$cacheid
   5436 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5437 $as_echo "$supported" >&6; }
   5438 		if test "$supported" = "yes" ; then
   5439 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5440 			found="yes"
   5441 		fi
   5442 	fi
   5443 
   5444 
   5445 
   5446 
   5447 
   5448 
   5449 
   5450 
   5451 
   5452 
   5453 
   5454 
   5455 
   5456 
   5457 
   5458 
   5459 
   5460 xorg_testset_save_CFLAGS="$CFLAGS"
   5461 
   5462 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5463 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5464 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5465 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5466 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5467   $as_echo_n "(cached) " >&6
   5468 else
   5469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5470 /* end confdefs.h.  */
   5471 int i;
   5472 _ACEOF
   5473 if ac_fn_c_try_compile "$LINENO"; then :
   5474   xorg_cv_cc_flag_unknown_warning_option=yes
   5475 else
   5476   xorg_cv_cc_flag_unknown_warning_option=no
   5477 fi
   5478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5479 fi
   5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5481 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5482 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5483 	CFLAGS="$xorg_testset_save_CFLAGS"
   5484 fi
   5485 
   5486 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5487 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5488 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5489 	fi
   5490 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5491 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5492 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5493 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5494   $as_echo_n "(cached) " >&6
   5495 else
   5496   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5497 /* end confdefs.h.  */
   5498 int i;
   5499 _ACEOF
   5500 if ac_fn_c_try_compile "$LINENO"; then :
   5501   xorg_cv_cc_flag_unused_command_line_argument=yes
   5502 else
   5503   xorg_cv_cc_flag_unused_command_line_argument=no
   5504 fi
   5505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5506 fi
   5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5508 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5509 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5510 	CFLAGS="$xorg_testset_save_CFLAGS"
   5511 fi
   5512 
   5513 found="no"
   5514 
   5515 	if test $found = "no" ; then
   5516 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5517 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5518 		fi
   5519 
   5520 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5521 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5522 		fi
   5523 
   5524 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5525 
   5526 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5527 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5528 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5529 		if eval \${$cacheid+:} false; then :
   5530   $as_echo_n "(cached) " >&6
   5531 else
   5532   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5533 /* end confdefs.h.  */
   5534 int i;
   5535 int
   5536 main ()
   5537 {
   5538 
   5539   ;
   5540   return 0;
   5541 }
   5542 _ACEOF
   5543 if ac_fn_c_try_link "$LINENO"; then :
   5544   eval $cacheid=yes
   5545 else
   5546   eval $cacheid=no
   5547 fi
   5548 rm -f core conftest.err conftest.$ac_objext \
   5549     conftest$ac_exeext conftest.$ac_ext
   5550 fi
   5551 
   5552 
   5553 		CFLAGS="$xorg_testset_save_CFLAGS"
   5554 
   5555 		eval supported=\$$cacheid
   5556 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5557 $as_echo "$supported" >&6; }
   5558 		if test "$supported" = "yes" ; then
   5559 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5560 			found="yes"
   5561 		fi
   5562 	fi
   5563 
   5564 
   5565 
   5566 
   5567 
   5568 
   5569 
   5570 
   5571 
   5572 
   5573 
   5574 
   5575 
   5576 
   5577 
   5578 xorg_testset_save_CFLAGS="$CFLAGS"
   5579 
   5580 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5581 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5582 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5583 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5584 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5585   $as_echo_n "(cached) " >&6
   5586 else
   5587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5588 /* end confdefs.h.  */
   5589 int i;
   5590 _ACEOF
   5591 if ac_fn_c_try_compile "$LINENO"; then :
   5592   xorg_cv_cc_flag_unknown_warning_option=yes
   5593 else
   5594   xorg_cv_cc_flag_unknown_warning_option=no
   5595 fi
   5596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5597 fi
   5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5599 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5600 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5601 	CFLAGS="$xorg_testset_save_CFLAGS"
   5602 fi
   5603 
   5604 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5605 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5606 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5607 	fi
   5608 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5609 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5610 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5611 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5612   $as_echo_n "(cached) " >&6
   5613 else
   5614   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5615 /* end confdefs.h.  */
   5616 int i;
   5617 _ACEOF
   5618 if ac_fn_c_try_compile "$LINENO"; then :
   5619   xorg_cv_cc_flag_unused_command_line_argument=yes
   5620 else
   5621   xorg_cv_cc_flag_unused_command_line_argument=no
   5622 fi
   5623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5624 fi
   5625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5626 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5627 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5628 	CFLAGS="$xorg_testset_save_CFLAGS"
   5629 fi
   5630 
   5631 found="no"
   5632 
   5633 	if test $found = "no" ; then
   5634 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5635 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5636 		fi
   5637 
   5638 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5639 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5640 		fi
   5641 
   5642 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5643 
   5644 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5645 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5646 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5647 		if eval \${$cacheid+:} false; then :
   5648   $as_echo_n "(cached) " >&6
   5649 else
   5650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5651 /* end confdefs.h.  */
   5652 int i;
   5653 int
   5654 main ()
   5655 {
   5656 
   5657   ;
   5658   return 0;
   5659 }
   5660 _ACEOF
   5661 if ac_fn_c_try_link "$LINENO"; then :
   5662   eval $cacheid=yes
   5663 else
   5664   eval $cacheid=no
   5665 fi
   5666 rm -f core conftest.err conftest.$ac_objext \
   5667     conftest$ac_exeext conftest.$ac_ext
   5668 fi
   5669 
   5670 
   5671 		CFLAGS="$xorg_testset_save_CFLAGS"
   5672 
   5673 		eval supported=\$$cacheid
   5674 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5675 $as_echo "$supported" >&6; }
   5676 		if test "$supported" = "yes" ; then
   5677 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5678 			found="yes"
   5679 		fi
   5680 	fi
   5681 
   5682 
   5683 
   5684 
   5685 
   5686 
   5687 
   5688 
   5689 
   5690 
   5691 
   5692 
   5693 
   5694 
   5695 
   5696 xorg_testset_save_CFLAGS="$CFLAGS"
   5697 
   5698 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5699 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5700 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5701 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5702 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5703   $as_echo_n "(cached) " >&6
   5704 else
   5705   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5706 /* end confdefs.h.  */
   5707 int i;
   5708 _ACEOF
   5709 if ac_fn_c_try_compile "$LINENO"; then :
   5710   xorg_cv_cc_flag_unknown_warning_option=yes
   5711 else
   5712   xorg_cv_cc_flag_unknown_warning_option=no
   5713 fi
   5714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5715 fi
   5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5717 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5718 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5719 	CFLAGS="$xorg_testset_save_CFLAGS"
   5720 fi
   5721 
   5722 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5723 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5724 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5725 	fi
   5726 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5727 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5728 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5729 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5730   $as_echo_n "(cached) " >&6
   5731 else
   5732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5733 /* end confdefs.h.  */
   5734 int i;
   5735 _ACEOF
   5736 if ac_fn_c_try_compile "$LINENO"; then :
   5737   xorg_cv_cc_flag_unused_command_line_argument=yes
   5738 else
   5739   xorg_cv_cc_flag_unused_command_line_argument=no
   5740 fi
   5741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5742 fi
   5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5744 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5745 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5746 	CFLAGS="$xorg_testset_save_CFLAGS"
   5747 fi
   5748 
   5749 found="no"
   5750 
   5751 	if test $found = "no" ; then
   5752 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5753 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5754 		fi
   5755 
   5756 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5757 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5758 		fi
   5759 
   5760 		CFLAGS="$CFLAGS -Wnested-externs"
   5761 
   5762 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5763 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5764 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5765 		if eval \${$cacheid+:} false; then :
   5766   $as_echo_n "(cached) " >&6
   5767 else
   5768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5769 /* end confdefs.h.  */
   5770 int i;
   5771 int
   5772 main ()
   5773 {
   5774 
   5775   ;
   5776   return 0;
   5777 }
   5778 _ACEOF
   5779 if ac_fn_c_try_link "$LINENO"; then :
   5780   eval $cacheid=yes
   5781 else
   5782   eval $cacheid=no
   5783 fi
   5784 rm -f core conftest.err conftest.$ac_objext \
   5785     conftest$ac_exeext conftest.$ac_ext
   5786 fi
   5787 
   5788 
   5789 		CFLAGS="$xorg_testset_save_CFLAGS"
   5790 
   5791 		eval supported=\$$cacheid
   5792 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5793 $as_echo "$supported" >&6; }
   5794 		if test "$supported" = "yes" ; then
   5795 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5796 			found="yes"
   5797 		fi
   5798 	fi
   5799 
   5800 
   5801 
   5802 
   5803 
   5804 
   5805 
   5806 
   5807 
   5808 
   5809 
   5810 
   5811 
   5812 
   5813 
   5814 xorg_testset_save_CFLAGS="$CFLAGS"
   5815 
   5816 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5817 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5818 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5819 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5820 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5821   $as_echo_n "(cached) " >&6
   5822 else
   5823   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5824 /* end confdefs.h.  */
   5825 int i;
   5826 _ACEOF
   5827 if ac_fn_c_try_compile "$LINENO"; then :
   5828   xorg_cv_cc_flag_unknown_warning_option=yes
   5829 else
   5830   xorg_cv_cc_flag_unknown_warning_option=no
   5831 fi
   5832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5833 fi
   5834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5835 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5836 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5837 	CFLAGS="$xorg_testset_save_CFLAGS"
   5838 fi
   5839 
   5840 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5841 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5842 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5843 	fi
   5844 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5845 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5846 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5847 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5848   $as_echo_n "(cached) " >&6
   5849 else
   5850   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5851 /* end confdefs.h.  */
   5852 int i;
   5853 _ACEOF
   5854 if ac_fn_c_try_compile "$LINENO"; then :
   5855   xorg_cv_cc_flag_unused_command_line_argument=yes
   5856 else
   5857   xorg_cv_cc_flag_unused_command_line_argument=no
   5858 fi
   5859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5860 fi
   5861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5862 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5863 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5864 	CFLAGS="$xorg_testset_save_CFLAGS"
   5865 fi
   5866 
   5867 found="no"
   5868 
   5869 	if test $found = "no" ; then
   5870 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5871 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5872 		fi
   5873 
   5874 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5875 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5876 		fi
   5877 
   5878 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5879 
   5880 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5881 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5882 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5883 		if eval \${$cacheid+:} false; then :
   5884   $as_echo_n "(cached) " >&6
   5885 else
   5886   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5887 /* end confdefs.h.  */
   5888 int i;
   5889 int
   5890 main ()
   5891 {
   5892 
   5893   ;
   5894   return 0;
   5895 }
   5896 _ACEOF
   5897 if ac_fn_c_try_link "$LINENO"; then :
   5898   eval $cacheid=yes
   5899 else
   5900   eval $cacheid=no
   5901 fi
   5902 rm -f core conftest.err conftest.$ac_objext \
   5903     conftest$ac_exeext conftest.$ac_ext
   5904 fi
   5905 
   5906 
   5907 		CFLAGS="$xorg_testset_save_CFLAGS"
   5908 
   5909 		eval supported=\$$cacheid
   5910 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5911 $as_echo "$supported" >&6; }
   5912 		if test "$supported" = "yes" ; then
   5913 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5914 			found="yes"
   5915 		fi
   5916 	fi
   5917 
   5918 
   5919 
   5920 
   5921 
   5922 
   5923 
   5924 
   5925 
   5926 
   5927 
   5928 
   5929 
   5930 
   5931 
   5932 xorg_testset_save_CFLAGS="$CFLAGS"
   5933 
   5934 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5935 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5936 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5937 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5938 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5939   $as_echo_n "(cached) " >&6
   5940 else
   5941   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5942 /* end confdefs.h.  */
   5943 int i;
   5944 _ACEOF
   5945 if ac_fn_c_try_compile "$LINENO"; then :
   5946   xorg_cv_cc_flag_unknown_warning_option=yes
   5947 else
   5948   xorg_cv_cc_flag_unknown_warning_option=no
   5949 fi
   5950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5951 fi
   5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5953 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5954 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5955 	CFLAGS="$xorg_testset_save_CFLAGS"
   5956 fi
   5957 
   5958 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5959 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5960 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5961 	fi
   5962 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5963 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5964 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5965 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5966   $as_echo_n "(cached) " >&6
   5967 else
   5968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5969 /* end confdefs.h.  */
   5970 int i;
   5971 _ACEOF
   5972 if ac_fn_c_try_compile "$LINENO"; then :
   5973   xorg_cv_cc_flag_unused_command_line_argument=yes
   5974 else
   5975   xorg_cv_cc_flag_unused_command_line_argument=no
   5976 fi
   5977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5978 fi
   5979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5980 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5981 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5982 	CFLAGS="$xorg_testset_save_CFLAGS"
   5983 fi
   5984 
   5985 found="no"
   5986 
   5987 	if test $found = "no" ; then
   5988 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5989 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5990 		fi
   5991 
   5992 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5993 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5994 		fi
   5995 
   5996 		CFLAGS="$CFLAGS -Wold-style-definition"
   5997 
   5998 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5999 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   6000 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   6001 		if eval \${$cacheid+:} false; then :
   6002   $as_echo_n "(cached) " >&6
   6003 else
   6004   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6005 /* end confdefs.h.  */
   6006 int i;
   6007 int
   6008 main ()
   6009 {
   6010 
   6011   ;
   6012   return 0;
   6013 }
   6014 _ACEOF
   6015 if ac_fn_c_try_link "$LINENO"; then :
   6016   eval $cacheid=yes
   6017 else
   6018   eval $cacheid=no
   6019 fi
   6020 rm -f core conftest.err conftest.$ac_objext \
   6021     conftest$ac_exeext conftest.$ac_ext
   6022 fi
   6023 
   6024 
   6025 		CFLAGS="$xorg_testset_save_CFLAGS"
   6026 
   6027 		eval supported=\$$cacheid
   6028 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6029 $as_echo "$supported" >&6; }
   6030 		if test "$supported" = "yes" ; then
   6031 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6032 			found="yes"
   6033 		fi
   6034 	fi
   6035 
   6036 	if test $found = "no" ; then
   6037 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6038 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6039 		fi
   6040 
   6041 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6042 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6043 		fi
   6044 
   6045 		CFLAGS="$CFLAGS -fd"
   6046 
   6047 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6048 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6049 		cacheid=xorg_cv_cc_flag__fd
   6050 		if eval \${$cacheid+:} false; then :
   6051   $as_echo_n "(cached) " >&6
   6052 else
   6053   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6054 /* end confdefs.h.  */
   6055 int i;
   6056 int
   6057 main ()
   6058 {
   6059 
   6060   ;
   6061   return 0;
   6062 }
   6063 _ACEOF
   6064 if ac_fn_c_try_link "$LINENO"; then :
   6065   eval $cacheid=yes
   6066 else
   6067   eval $cacheid=no
   6068 fi
   6069 rm -f core conftest.err conftest.$ac_objext \
   6070     conftest$ac_exeext conftest.$ac_ext
   6071 fi
   6072 
   6073 
   6074 		CFLAGS="$xorg_testset_save_CFLAGS"
   6075 
   6076 		eval supported=\$$cacheid
   6077 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6078 $as_echo "$supported" >&6; }
   6079 		if test "$supported" = "yes" ; then
   6080 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6081 			found="yes"
   6082 		fi
   6083 	fi
   6084 
   6085 
   6086 
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 
   6099 xorg_testset_save_CFLAGS="$CFLAGS"
   6100 
   6101 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6102 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6103 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6104 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6105 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6106   $as_echo_n "(cached) " >&6
   6107 else
   6108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6109 /* end confdefs.h.  */
   6110 int i;
   6111 _ACEOF
   6112 if ac_fn_c_try_compile "$LINENO"; then :
   6113   xorg_cv_cc_flag_unknown_warning_option=yes
   6114 else
   6115   xorg_cv_cc_flag_unknown_warning_option=no
   6116 fi
   6117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6118 fi
   6119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6120 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6121 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6122 	CFLAGS="$xorg_testset_save_CFLAGS"
   6123 fi
   6124 
   6125 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6126 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6127 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6128 	fi
   6129 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6130 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6131 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6132 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6133   $as_echo_n "(cached) " >&6
   6134 else
   6135   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6136 /* end confdefs.h.  */
   6137 int i;
   6138 _ACEOF
   6139 if ac_fn_c_try_compile "$LINENO"; then :
   6140   xorg_cv_cc_flag_unused_command_line_argument=yes
   6141 else
   6142   xorg_cv_cc_flag_unused_command_line_argument=no
   6143 fi
   6144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6145 fi
   6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6147 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6148 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6149 	CFLAGS="$xorg_testset_save_CFLAGS"
   6150 fi
   6151 
   6152 found="no"
   6153 
   6154 	if test $found = "no" ; then
   6155 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6156 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6157 		fi
   6158 
   6159 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6160 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6161 		fi
   6162 
   6163 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6164 
   6165 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6166 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6167 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6168 		if eval \${$cacheid+:} false; then :
   6169   $as_echo_n "(cached) " >&6
   6170 else
   6171   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6172 /* end confdefs.h.  */
   6173 int i;
   6174 int
   6175 main ()
   6176 {
   6177 
   6178   ;
   6179   return 0;
   6180 }
   6181 _ACEOF
   6182 if ac_fn_c_try_link "$LINENO"; then :
   6183   eval $cacheid=yes
   6184 else
   6185   eval $cacheid=no
   6186 fi
   6187 rm -f core conftest.err conftest.$ac_objext \
   6188     conftest$ac_exeext conftest.$ac_ext
   6189 fi
   6190 
   6191 
   6192 		CFLAGS="$xorg_testset_save_CFLAGS"
   6193 
   6194 		eval supported=\$$cacheid
   6195 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6196 $as_echo "$supported" >&6; }
   6197 		if test "$supported" = "yes" ; then
   6198 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6199 			found="yes"
   6200 		fi
   6201 	fi
   6202 
   6203 
   6204 
   6205 
   6206 
   6207 # This chunk adds additional warnings that could catch undesired effects.
   6208 
   6209 
   6210 
   6211 
   6212 
   6213 
   6214 
   6215 
   6216 
   6217 
   6218 
   6219 
   6220 
   6221 xorg_testset_save_CFLAGS="$CFLAGS"
   6222 
   6223 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6224 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6225 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6226 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6227 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6228   $as_echo_n "(cached) " >&6
   6229 else
   6230   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6231 /* end confdefs.h.  */
   6232 int i;
   6233 _ACEOF
   6234 if ac_fn_c_try_compile "$LINENO"; then :
   6235   xorg_cv_cc_flag_unknown_warning_option=yes
   6236 else
   6237   xorg_cv_cc_flag_unknown_warning_option=no
   6238 fi
   6239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6240 fi
   6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6242 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6243 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6244 	CFLAGS="$xorg_testset_save_CFLAGS"
   6245 fi
   6246 
   6247 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6248 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6249 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6250 	fi
   6251 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6252 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6253 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6254 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6255   $as_echo_n "(cached) " >&6
   6256 else
   6257   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6258 /* end confdefs.h.  */
   6259 int i;
   6260 _ACEOF
   6261 if ac_fn_c_try_compile "$LINENO"; then :
   6262   xorg_cv_cc_flag_unused_command_line_argument=yes
   6263 else
   6264   xorg_cv_cc_flag_unused_command_line_argument=no
   6265 fi
   6266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6267 fi
   6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6269 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6270 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6271 	CFLAGS="$xorg_testset_save_CFLAGS"
   6272 fi
   6273 
   6274 found="no"
   6275 
   6276 	if test $found = "no" ; then
   6277 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6278 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6279 		fi
   6280 
   6281 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6282 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6283 		fi
   6284 
   6285 		CFLAGS="$CFLAGS -Wunused"
   6286 
   6287 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6288 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6289 		cacheid=xorg_cv_cc_flag__Wunused
   6290 		if eval \${$cacheid+:} false; then :
   6291   $as_echo_n "(cached) " >&6
   6292 else
   6293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6294 /* end confdefs.h.  */
   6295 int i;
   6296 int
   6297 main ()
   6298 {
   6299 
   6300   ;
   6301   return 0;
   6302 }
   6303 _ACEOF
   6304 if ac_fn_c_try_link "$LINENO"; then :
   6305   eval $cacheid=yes
   6306 else
   6307   eval $cacheid=no
   6308 fi
   6309 rm -f core conftest.err conftest.$ac_objext \
   6310     conftest$ac_exeext conftest.$ac_ext
   6311 fi
   6312 
   6313 
   6314 		CFLAGS="$xorg_testset_save_CFLAGS"
   6315 
   6316 		eval supported=\$$cacheid
   6317 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6318 $as_echo "$supported" >&6; }
   6319 		if test "$supported" = "yes" ; then
   6320 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6321 			found="yes"
   6322 		fi
   6323 	fi
   6324 
   6325 
   6326 
   6327 
   6328 
   6329 
   6330 
   6331 
   6332 
   6333 
   6334 
   6335 
   6336 
   6337 
   6338 
   6339 xorg_testset_save_CFLAGS="$CFLAGS"
   6340 
   6341 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6342 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6343 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6344 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6345 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6346   $as_echo_n "(cached) " >&6
   6347 else
   6348   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6349 /* end confdefs.h.  */
   6350 int i;
   6351 _ACEOF
   6352 if ac_fn_c_try_compile "$LINENO"; then :
   6353   xorg_cv_cc_flag_unknown_warning_option=yes
   6354 else
   6355   xorg_cv_cc_flag_unknown_warning_option=no
   6356 fi
   6357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6358 fi
   6359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6360 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6361 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6362 	CFLAGS="$xorg_testset_save_CFLAGS"
   6363 fi
   6364 
   6365 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6366 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6367 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6368 	fi
   6369 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6370 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6371 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6372 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6373   $as_echo_n "(cached) " >&6
   6374 else
   6375   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6376 /* end confdefs.h.  */
   6377 int i;
   6378 _ACEOF
   6379 if ac_fn_c_try_compile "$LINENO"; then :
   6380   xorg_cv_cc_flag_unused_command_line_argument=yes
   6381 else
   6382   xorg_cv_cc_flag_unused_command_line_argument=no
   6383 fi
   6384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6385 fi
   6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6387 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6388 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6389 	CFLAGS="$xorg_testset_save_CFLAGS"
   6390 fi
   6391 
   6392 found="no"
   6393 
   6394 	if test $found = "no" ; then
   6395 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6396 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6397 		fi
   6398 
   6399 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6400 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6401 		fi
   6402 
   6403 		CFLAGS="$CFLAGS -Wuninitialized"
   6404 
   6405 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6406 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6407 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6408 		if eval \${$cacheid+:} false; then :
   6409   $as_echo_n "(cached) " >&6
   6410 else
   6411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6412 /* end confdefs.h.  */
   6413 int i;
   6414 int
   6415 main ()
   6416 {
   6417 
   6418   ;
   6419   return 0;
   6420 }
   6421 _ACEOF
   6422 if ac_fn_c_try_link "$LINENO"; then :
   6423   eval $cacheid=yes
   6424 else
   6425   eval $cacheid=no
   6426 fi
   6427 rm -f core conftest.err conftest.$ac_objext \
   6428     conftest$ac_exeext conftest.$ac_ext
   6429 fi
   6430 
   6431 
   6432 		CFLAGS="$xorg_testset_save_CFLAGS"
   6433 
   6434 		eval supported=\$$cacheid
   6435 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6436 $as_echo "$supported" >&6; }
   6437 		if test "$supported" = "yes" ; then
   6438 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6439 			found="yes"
   6440 		fi
   6441 	fi
   6442 
   6443 
   6444 
   6445 
   6446 
   6447 
   6448 
   6449 
   6450 
   6451 
   6452 
   6453 
   6454 
   6455 
   6456 
   6457 xorg_testset_save_CFLAGS="$CFLAGS"
   6458 
   6459 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6460 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6461 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6462 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6463 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6464   $as_echo_n "(cached) " >&6
   6465 else
   6466   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6467 /* end confdefs.h.  */
   6468 int i;
   6469 _ACEOF
   6470 if ac_fn_c_try_compile "$LINENO"; then :
   6471   xorg_cv_cc_flag_unknown_warning_option=yes
   6472 else
   6473   xorg_cv_cc_flag_unknown_warning_option=no
   6474 fi
   6475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6476 fi
   6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6478 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6479 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6480 	CFLAGS="$xorg_testset_save_CFLAGS"
   6481 fi
   6482 
   6483 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6484 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6485 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6486 	fi
   6487 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6488 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6489 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6490 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6491   $as_echo_n "(cached) " >&6
   6492 else
   6493   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6494 /* end confdefs.h.  */
   6495 int i;
   6496 _ACEOF
   6497 if ac_fn_c_try_compile "$LINENO"; then :
   6498   xorg_cv_cc_flag_unused_command_line_argument=yes
   6499 else
   6500   xorg_cv_cc_flag_unused_command_line_argument=no
   6501 fi
   6502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6503 fi
   6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6505 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6506 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6507 	CFLAGS="$xorg_testset_save_CFLAGS"
   6508 fi
   6509 
   6510 found="no"
   6511 
   6512 	if test $found = "no" ; then
   6513 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6514 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6515 		fi
   6516 
   6517 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6518 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6519 		fi
   6520 
   6521 		CFLAGS="$CFLAGS -Wshadow"
   6522 
   6523 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6524 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6525 		cacheid=xorg_cv_cc_flag__Wshadow
   6526 		if eval \${$cacheid+:} false; then :
   6527   $as_echo_n "(cached) " >&6
   6528 else
   6529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6530 /* end confdefs.h.  */
   6531 int i;
   6532 int
   6533 main ()
   6534 {
   6535 
   6536   ;
   6537   return 0;
   6538 }
   6539 _ACEOF
   6540 if ac_fn_c_try_link "$LINENO"; then :
   6541   eval $cacheid=yes
   6542 else
   6543   eval $cacheid=no
   6544 fi
   6545 rm -f core conftest.err conftest.$ac_objext \
   6546     conftest$ac_exeext conftest.$ac_ext
   6547 fi
   6548 
   6549 
   6550 		CFLAGS="$xorg_testset_save_CFLAGS"
   6551 
   6552 		eval supported=\$$cacheid
   6553 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6554 $as_echo "$supported" >&6; }
   6555 		if test "$supported" = "yes" ; then
   6556 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6557 			found="yes"
   6558 		fi
   6559 	fi
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 xorg_testset_save_CFLAGS="$CFLAGS"
   6576 
   6577 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6578 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6580 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6581 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6582   $as_echo_n "(cached) " >&6
   6583 else
   6584   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6585 /* end confdefs.h.  */
   6586 int i;
   6587 _ACEOF
   6588 if ac_fn_c_try_compile "$LINENO"; then :
   6589   xorg_cv_cc_flag_unknown_warning_option=yes
   6590 else
   6591   xorg_cv_cc_flag_unknown_warning_option=no
   6592 fi
   6593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6594 fi
   6595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6596 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6597 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6598 	CFLAGS="$xorg_testset_save_CFLAGS"
   6599 fi
   6600 
   6601 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6602 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6603 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6604 	fi
   6605 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6606 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6607 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6608 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6609   $as_echo_n "(cached) " >&6
   6610 else
   6611   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6612 /* end confdefs.h.  */
   6613 int i;
   6614 _ACEOF
   6615 if ac_fn_c_try_compile "$LINENO"; then :
   6616   xorg_cv_cc_flag_unused_command_line_argument=yes
   6617 else
   6618   xorg_cv_cc_flag_unused_command_line_argument=no
   6619 fi
   6620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6621 fi
   6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6623 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6624 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6625 	CFLAGS="$xorg_testset_save_CFLAGS"
   6626 fi
   6627 
   6628 found="no"
   6629 
   6630 	if test $found = "no" ; then
   6631 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6632 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6633 		fi
   6634 
   6635 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6636 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6637 		fi
   6638 
   6639 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6640 
   6641 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6642 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6643 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6644 		if eval \${$cacheid+:} false; then :
   6645   $as_echo_n "(cached) " >&6
   6646 else
   6647   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6648 /* end confdefs.h.  */
   6649 int i;
   6650 int
   6651 main ()
   6652 {
   6653 
   6654   ;
   6655   return 0;
   6656 }
   6657 _ACEOF
   6658 if ac_fn_c_try_link "$LINENO"; then :
   6659   eval $cacheid=yes
   6660 else
   6661   eval $cacheid=no
   6662 fi
   6663 rm -f core conftest.err conftest.$ac_objext \
   6664     conftest$ac_exeext conftest.$ac_ext
   6665 fi
   6666 
   6667 
   6668 		CFLAGS="$xorg_testset_save_CFLAGS"
   6669 
   6670 		eval supported=\$$cacheid
   6671 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6672 $as_echo "$supported" >&6; }
   6673 		if test "$supported" = "yes" ; then
   6674 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6675 			found="yes"
   6676 		fi
   6677 	fi
   6678 
   6679 
   6680 
   6681 
   6682 
   6683 
   6684 
   6685 
   6686 
   6687 
   6688 
   6689 
   6690 
   6691 
   6692 
   6693 xorg_testset_save_CFLAGS="$CFLAGS"
   6694 
   6695 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6696 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6697 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6698 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6699 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6700   $as_echo_n "(cached) " >&6
   6701 else
   6702   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6703 /* end confdefs.h.  */
   6704 int i;
   6705 _ACEOF
   6706 if ac_fn_c_try_compile "$LINENO"; then :
   6707   xorg_cv_cc_flag_unknown_warning_option=yes
   6708 else
   6709   xorg_cv_cc_flag_unknown_warning_option=no
   6710 fi
   6711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6712 fi
   6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6714 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6715 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6716 	CFLAGS="$xorg_testset_save_CFLAGS"
   6717 fi
   6718 
   6719 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6720 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6721 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6722 	fi
   6723 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6724 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6725 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6726 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6727   $as_echo_n "(cached) " >&6
   6728 else
   6729   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6730 /* end confdefs.h.  */
   6731 int i;
   6732 _ACEOF
   6733 if ac_fn_c_try_compile "$LINENO"; then :
   6734   xorg_cv_cc_flag_unused_command_line_argument=yes
   6735 else
   6736   xorg_cv_cc_flag_unused_command_line_argument=no
   6737 fi
   6738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6739 fi
   6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6741 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6742 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6743 	CFLAGS="$xorg_testset_save_CFLAGS"
   6744 fi
   6745 
   6746 found="no"
   6747 
   6748 	if test $found = "no" ; then
   6749 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6750 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6751 		fi
   6752 
   6753 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6754 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6755 		fi
   6756 
   6757 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6758 
   6759 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6760 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6761 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6762 		if eval \${$cacheid+:} false; then :
   6763   $as_echo_n "(cached) " >&6
   6764 else
   6765   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6766 /* end confdefs.h.  */
   6767 int i;
   6768 int
   6769 main ()
   6770 {
   6771 
   6772   ;
   6773   return 0;
   6774 }
   6775 _ACEOF
   6776 if ac_fn_c_try_link "$LINENO"; then :
   6777   eval $cacheid=yes
   6778 else
   6779   eval $cacheid=no
   6780 fi
   6781 rm -f core conftest.err conftest.$ac_objext \
   6782     conftest$ac_exeext conftest.$ac_ext
   6783 fi
   6784 
   6785 
   6786 		CFLAGS="$xorg_testset_save_CFLAGS"
   6787 
   6788 		eval supported=\$$cacheid
   6789 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6790 $as_echo "$supported" >&6; }
   6791 		if test "$supported" = "yes" ; then
   6792 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6793 			found="yes"
   6794 		fi
   6795 	fi
   6796 
   6797 
   6798 
   6799 
   6800 
   6801 
   6802 
   6803 
   6804 
   6805 
   6806 
   6807 
   6808 
   6809 
   6810 
   6811 xorg_testset_save_CFLAGS="$CFLAGS"
   6812 
   6813 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6814 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6816 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6817 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6818   $as_echo_n "(cached) " >&6
   6819 else
   6820   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6821 /* end confdefs.h.  */
   6822 int i;
   6823 _ACEOF
   6824 if ac_fn_c_try_compile "$LINENO"; then :
   6825   xorg_cv_cc_flag_unknown_warning_option=yes
   6826 else
   6827   xorg_cv_cc_flag_unknown_warning_option=no
   6828 fi
   6829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6830 fi
   6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6832 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6833 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6834 	CFLAGS="$xorg_testset_save_CFLAGS"
   6835 fi
   6836 
   6837 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6838 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6839 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6840 	fi
   6841 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6842 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6843 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6844 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6845   $as_echo_n "(cached) " >&6
   6846 else
   6847   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6848 /* end confdefs.h.  */
   6849 int i;
   6850 _ACEOF
   6851 if ac_fn_c_try_compile "$LINENO"; then :
   6852   xorg_cv_cc_flag_unused_command_line_argument=yes
   6853 else
   6854   xorg_cv_cc_flag_unused_command_line_argument=no
   6855 fi
   6856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6857 fi
   6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6859 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6860 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6861 	CFLAGS="$xorg_testset_save_CFLAGS"
   6862 fi
   6863 
   6864 found="no"
   6865 
   6866 	if test $found = "no" ; then
   6867 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6868 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6869 		fi
   6870 
   6871 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6872 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6873 		fi
   6874 
   6875 		CFLAGS="$CFLAGS -Wredundant-decls"
   6876 
   6877 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6878 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6879 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6880 		if eval \${$cacheid+:} false; then :
   6881   $as_echo_n "(cached) " >&6
   6882 else
   6883   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6884 /* end confdefs.h.  */
   6885 int i;
   6886 int
   6887 main ()
   6888 {
   6889 
   6890   ;
   6891   return 0;
   6892 }
   6893 _ACEOF
   6894 if ac_fn_c_try_link "$LINENO"; then :
   6895   eval $cacheid=yes
   6896 else
   6897   eval $cacheid=no
   6898 fi
   6899 rm -f core conftest.err conftest.$ac_objext \
   6900     conftest$ac_exeext conftest.$ac_ext
   6901 fi
   6902 
   6903 
   6904 		CFLAGS="$xorg_testset_save_CFLAGS"
   6905 
   6906 		eval supported=\$$cacheid
   6907 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6908 $as_echo "$supported" >&6; }
   6909 		if test "$supported" = "yes" ; then
   6910 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6911 			found="yes"
   6912 		fi
   6913 	fi
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 
   6928 
   6929 xorg_testset_save_CFLAGS="$CFLAGS"
   6930 
   6931 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6932 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6933 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6934 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6935 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6936   $as_echo_n "(cached) " >&6
   6937 else
   6938   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6939 /* end confdefs.h.  */
   6940 int i;
   6941 _ACEOF
   6942 if ac_fn_c_try_compile "$LINENO"; then :
   6943   xorg_cv_cc_flag_unknown_warning_option=yes
   6944 else
   6945   xorg_cv_cc_flag_unknown_warning_option=no
   6946 fi
   6947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6948 fi
   6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6950 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6951 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6952 	CFLAGS="$xorg_testset_save_CFLAGS"
   6953 fi
   6954 
   6955 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6956 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6957 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6958 	fi
   6959 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6960 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6961 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6962 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6963   $as_echo_n "(cached) " >&6
   6964 else
   6965   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6966 /* end confdefs.h.  */
   6967 int i;
   6968 _ACEOF
   6969 if ac_fn_c_try_compile "$LINENO"; then :
   6970   xorg_cv_cc_flag_unused_command_line_argument=yes
   6971 else
   6972   xorg_cv_cc_flag_unused_command_line_argument=no
   6973 fi
   6974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6975 fi
   6976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6977 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6978 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6979 	CFLAGS="$xorg_testset_save_CFLAGS"
   6980 fi
   6981 
   6982 found="no"
   6983 
   6984 	if test $found = "no" ; then
   6985 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6986 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6987 		fi
   6988 
   6989 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6990 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6991 		fi
   6992 
   6993 		CFLAGS="$CFLAGS -Wlogical-op"
   6994 
   6995 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6996 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6997 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6998 		if eval \${$cacheid+:} false; then :
   6999   $as_echo_n "(cached) " >&6
   7000 else
   7001   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7002 /* end confdefs.h.  */
   7003 int i;
   7004 int
   7005 main ()
   7006 {
   7007 
   7008   ;
   7009   return 0;
   7010 }
   7011 _ACEOF
   7012 if ac_fn_c_try_link "$LINENO"; then :
   7013   eval $cacheid=yes
   7014 else
   7015   eval $cacheid=no
   7016 fi
   7017 rm -f core conftest.err conftest.$ac_objext \
   7018     conftest$ac_exeext conftest.$ac_ext
   7019 fi
   7020 
   7021 
   7022 		CFLAGS="$xorg_testset_save_CFLAGS"
   7023 
   7024 		eval supported=\$$cacheid
   7025 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7026 $as_echo "$supported" >&6; }
   7027 		if test "$supported" = "yes" ; then
   7028 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7029 			found="yes"
   7030 		fi
   7031 	fi
   7032 
   7033 
   7034 
   7035 # These are currently disabled because they are noisy.  They will be enabled
   7036 # in the future once the codebase is sufficiently modernized to silence
   7037 # them.  For now, I don't want them to drown out the other warnings.
   7038 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7039 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7040 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7041 
   7042 # Turn some warnings into errors, so we don't accidently get successful builds
   7043 # when there are problems that should be fixed.
   7044 
   7045 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7046 
   7047 
   7048 
   7049 
   7050 
   7051 
   7052 
   7053 
   7054 
   7055 
   7056 
   7057 
   7058 
   7059 xorg_testset_save_CFLAGS="$CFLAGS"
   7060 
   7061 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7062 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7064 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7065 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7066   $as_echo_n "(cached) " >&6
   7067 else
   7068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7069 /* end confdefs.h.  */
   7070 int i;
   7071 _ACEOF
   7072 if ac_fn_c_try_compile "$LINENO"; then :
   7073   xorg_cv_cc_flag_unknown_warning_option=yes
   7074 else
   7075   xorg_cv_cc_flag_unknown_warning_option=no
   7076 fi
   7077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7078 fi
   7079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7080 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7081 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7082 	CFLAGS="$xorg_testset_save_CFLAGS"
   7083 fi
   7084 
   7085 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7086 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7087 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7088 	fi
   7089 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7090 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7091 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7092 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7093   $as_echo_n "(cached) " >&6
   7094 else
   7095   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7096 /* end confdefs.h.  */
   7097 int i;
   7098 _ACEOF
   7099 if ac_fn_c_try_compile "$LINENO"; then :
   7100   xorg_cv_cc_flag_unused_command_line_argument=yes
   7101 else
   7102   xorg_cv_cc_flag_unused_command_line_argument=no
   7103 fi
   7104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7105 fi
   7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7107 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7108 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7109 	CFLAGS="$xorg_testset_save_CFLAGS"
   7110 fi
   7111 
   7112 found="no"
   7113 
   7114 	if test $found = "no" ; then
   7115 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7116 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7117 		fi
   7118 
   7119 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7120 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7121 		fi
   7122 
   7123 		CFLAGS="$CFLAGS -Werror=implicit"
   7124 
   7125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7126 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7127 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7128 		if eval \${$cacheid+:} false; then :
   7129   $as_echo_n "(cached) " >&6
   7130 else
   7131   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7132 /* end confdefs.h.  */
   7133 int i;
   7134 int
   7135 main ()
   7136 {
   7137 
   7138   ;
   7139   return 0;
   7140 }
   7141 _ACEOF
   7142 if ac_fn_c_try_link "$LINENO"; then :
   7143   eval $cacheid=yes
   7144 else
   7145   eval $cacheid=no
   7146 fi
   7147 rm -f core conftest.err conftest.$ac_objext \
   7148     conftest$ac_exeext conftest.$ac_ext
   7149 fi
   7150 
   7151 
   7152 		CFLAGS="$xorg_testset_save_CFLAGS"
   7153 
   7154 		eval supported=\$$cacheid
   7155 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7156 $as_echo "$supported" >&6; }
   7157 		if test "$supported" = "yes" ; then
   7158 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7159 			found="yes"
   7160 		fi
   7161 	fi
   7162 
   7163 	if test $found = "no" ; then
   7164 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7165 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7166 		fi
   7167 
   7168 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7169 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7170 		fi
   7171 
   7172 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7173 
   7174 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7175 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7176 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7177 		if eval \${$cacheid+:} false; then :
   7178   $as_echo_n "(cached) " >&6
   7179 else
   7180   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7181 /* end confdefs.h.  */
   7182 int i;
   7183 int
   7184 main ()
   7185 {
   7186 
   7187   ;
   7188   return 0;
   7189 }
   7190 _ACEOF
   7191 if ac_fn_c_try_link "$LINENO"; then :
   7192   eval $cacheid=yes
   7193 else
   7194   eval $cacheid=no
   7195 fi
   7196 rm -f core conftest.err conftest.$ac_objext \
   7197     conftest$ac_exeext conftest.$ac_ext
   7198 fi
   7199 
   7200 
   7201 		CFLAGS="$xorg_testset_save_CFLAGS"
   7202 
   7203 		eval supported=\$$cacheid
   7204 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7205 $as_echo "$supported" >&6; }
   7206 		if test "$supported" = "yes" ; then
   7207 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7208 			found="yes"
   7209 		fi
   7210 	fi
   7211 
   7212 
   7213 
   7214 
   7215 
   7216 
   7217 
   7218 
   7219 
   7220 
   7221 
   7222 
   7223 
   7224 
   7225 
   7226 xorg_testset_save_CFLAGS="$CFLAGS"
   7227 
   7228 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7229 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7230 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7231 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7232 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7233   $as_echo_n "(cached) " >&6
   7234 else
   7235   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7236 /* end confdefs.h.  */
   7237 int i;
   7238 _ACEOF
   7239 if ac_fn_c_try_compile "$LINENO"; then :
   7240   xorg_cv_cc_flag_unknown_warning_option=yes
   7241 else
   7242   xorg_cv_cc_flag_unknown_warning_option=no
   7243 fi
   7244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7245 fi
   7246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7247 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7248 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7249 	CFLAGS="$xorg_testset_save_CFLAGS"
   7250 fi
   7251 
   7252 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7253 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7254 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7255 	fi
   7256 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7257 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7258 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7259 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7260   $as_echo_n "(cached) " >&6
   7261 else
   7262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7263 /* end confdefs.h.  */
   7264 int i;
   7265 _ACEOF
   7266 if ac_fn_c_try_compile "$LINENO"; then :
   7267   xorg_cv_cc_flag_unused_command_line_argument=yes
   7268 else
   7269   xorg_cv_cc_flag_unused_command_line_argument=no
   7270 fi
   7271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7272 fi
   7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7274 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7275 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7276 	CFLAGS="$xorg_testset_save_CFLAGS"
   7277 fi
   7278 
   7279 found="no"
   7280 
   7281 	if test $found = "no" ; then
   7282 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7283 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7284 		fi
   7285 
   7286 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7287 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7288 		fi
   7289 
   7290 		CFLAGS="$CFLAGS -Werror=nonnull"
   7291 
   7292 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7293 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7294 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7295 		if eval \${$cacheid+:} false; then :
   7296   $as_echo_n "(cached) " >&6
   7297 else
   7298   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7299 /* end confdefs.h.  */
   7300 int i;
   7301 int
   7302 main ()
   7303 {
   7304 
   7305   ;
   7306   return 0;
   7307 }
   7308 _ACEOF
   7309 if ac_fn_c_try_link "$LINENO"; then :
   7310   eval $cacheid=yes
   7311 else
   7312   eval $cacheid=no
   7313 fi
   7314 rm -f core conftest.err conftest.$ac_objext \
   7315     conftest$ac_exeext conftest.$ac_ext
   7316 fi
   7317 
   7318 
   7319 		CFLAGS="$xorg_testset_save_CFLAGS"
   7320 
   7321 		eval supported=\$$cacheid
   7322 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7323 $as_echo "$supported" >&6; }
   7324 		if test "$supported" = "yes" ; then
   7325 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7326 			found="yes"
   7327 		fi
   7328 	fi
   7329 
   7330 
   7331 
   7332 
   7333 
   7334 
   7335 
   7336 
   7337 
   7338 
   7339 
   7340 
   7341 
   7342 
   7343 
   7344 xorg_testset_save_CFLAGS="$CFLAGS"
   7345 
   7346 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7347 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7348 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7349 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7350 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7351   $as_echo_n "(cached) " >&6
   7352 else
   7353   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7354 /* end confdefs.h.  */
   7355 int i;
   7356 _ACEOF
   7357 if ac_fn_c_try_compile "$LINENO"; then :
   7358   xorg_cv_cc_flag_unknown_warning_option=yes
   7359 else
   7360   xorg_cv_cc_flag_unknown_warning_option=no
   7361 fi
   7362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7363 fi
   7364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7365 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7366 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7367 	CFLAGS="$xorg_testset_save_CFLAGS"
   7368 fi
   7369 
   7370 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7371 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7372 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7373 	fi
   7374 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7375 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7376 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7377 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7378   $as_echo_n "(cached) " >&6
   7379 else
   7380   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7381 /* end confdefs.h.  */
   7382 int i;
   7383 _ACEOF
   7384 if ac_fn_c_try_compile "$LINENO"; then :
   7385   xorg_cv_cc_flag_unused_command_line_argument=yes
   7386 else
   7387   xorg_cv_cc_flag_unused_command_line_argument=no
   7388 fi
   7389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7390 fi
   7391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7392 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7393 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7394 	CFLAGS="$xorg_testset_save_CFLAGS"
   7395 fi
   7396 
   7397 found="no"
   7398 
   7399 	if test $found = "no" ; then
   7400 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7401 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7402 		fi
   7403 
   7404 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7405 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7406 		fi
   7407 
   7408 		CFLAGS="$CFLAGS -Werror=init-self"
   7409 
   7410 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7411 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7412 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7413 		if eval \${$cacheid+:} false; then :
   7414   $as_echo_n "(cached) " >&6
   7415 else
   7416   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7417 /* end confdefs.h.  */
   7418 int i;
   7419 int
   7420 main ()
   7421 {
   7422 
   7423   ;
   7424   return 0;
   7425 }
   7426 _ACEOF
   7427 if ac_fn_c_try_link "$LINENO"; then :
   7428   eval $cacheid=yes
   7429 else
   7430   eval $cacheid=no
   7431 fi
   7432 rm -f core conftest.err conftest.$ac_objext \
   7433     conftest$ac_exeext conftest.$ac_ext
   7434 fi
   7435 
   7436 
   7437 		CFLAGS="$xorg_testset_save_CFLAGS"
   7438 
   7439 		eval supported=\$$cacheid
   7440 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7441 $as_echo "$supported" >&6; }
   7442 		if test "$supported" = "yes" ; then
   7443 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7444 			found="yes"
   7445 		fi
   7446 	fi
   7447 
   7448 
   7449 
   7450 
   7451 
   7452 
   7453 
   7454 
   7455 
   7456 
   7457 
   7458 
   7459 
   7460 
   7461 
   7462 xorg_testset_save_CFLAGS="$CFLAGS"
   7463 
   7464 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7465 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7466 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7467 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7468 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7469   $as_echo_n "(cached) " >&6
   7470 else
   7471   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7472 /* end confdefs.h.  */
   7473 int i;
   7474 _ACEOF
   7475 if ac_fn_c_try_compile "$LINENO"; then :
   7476   xorg_cv_cc_flag_unknown_warning_option=yes
   7477 else
   7478   xorg_cv_cc_flag_unknown_warning_option=no
   7479 fi
   7480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7481 fi
   7482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7483 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7484 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7485 	CFLAGS="$xorg_testset_save_CFLAGS"
   7486 fi
   7487 
   7488 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7489 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7490 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7491 	fi
   7492 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7493 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7494 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7495 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7496   $as_echo_n "(cached) " >&6
   7497 else
   7498   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7499 /* end confdefs.h.  */
   7500 int i;
   7501 _ACEOF
   7502 if ac_fn_c_try_compile "$LINENO"; then :
   7503   xorg_cv_cc_flag_unused_command_line_argument=yes
   7504 else
   7505   xorg_cv_cc_flag_unused_command_line_argument=no
   7506 fi
   7507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7508 fi
   7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7510 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7511 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7512 	CFLAGS="$xorg_testset_save_CFLAGS"
   7513 fi
   7514 
   7515 found="no"
   7516 
   7517 	if test $found = "no" ; then
   7518 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7519 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7520 		fi
   7521 
   7522 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7523 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7524 		fi
   7525 
   7526 		CFLAGS="$CFLAGS -Werror=main"
   7527 
   7528 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7529 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7530 		cacheid=xorg_cv_cc_flag__Werror_main
   7531 		if eval \${$cacheid+:} false; then :
   7532   $as_echo_n "(cached) " >&6
   7533 else
   7534   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7535 /* end confdefs.h.  */
   7536 int i;
   7537 int
   7538 main ()
   7539 {
   7540 
   7541   ;
   7542   return 0;
   7543 }
   7544 _ACEOF
   7545 if ac_fn_c_try_link "$LINENO"; then :
   7546   eval $cacheid=yes
   7547 else
   7548   eval $cacheid=no
   7549 fi
   7550 rm -f core conftest.err conftest.$ac_objext \
   7551     conftest$ac_exeext conftest.$ac_ext
   7552 fi
   7553 
   7554 
   7555 		CFLAGS="$xorg_testset_save_CFLAGS"
   7556 
   7557 		eval supported=\$$cacheid
   7558 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7559 $as_echo "$supported" >&6; }
   7560 		if test "$supported" = "yes" ; then
   7561 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7562 			found="yes"
   7563 		fi
   7564 	fi
   7565 
   7566 
   7567 
   7568 
   7569 
   7570 
   7571 
   7572 
   7573 
   7574 
   7575 
   7576 
   7577 
   7578 
   7579 
   7580 xorg_testset_save_CFLAGS="$CFLAGS"
   7581 
   7582 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7583 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7584 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7585 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7586 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7587   $as_echo_n "(cached) " >&6
   7588 else
   7589   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7590 /* end confdefs.h.  */
   7591 int i;
   7592 _ACEOF
   7593 if ac_fn_c_try_compile "$LINENO"; then :
   7594   xorg_cv_cc_flag_unknown_warning_option=yes
   7595 else
   7596   xorg_cv_cc_flag_unknown_warning_option=no
   7597 fi
   7598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7599 fi
   7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7601 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7602 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7603 	CFLAGS="$xorg_testset_save_CFLAGS"
   7604 fi
   7605 
   7606 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7607 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7608 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7609 	fi
   7610 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7611 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7612 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7613 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7614   $as_echo_n "(cached) " >&6
   7615 else
   7616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7617 /* end confdefs.h.  */
   7618 int i;
   7619 _ACEOF
   7620 if ac_fn_c_try_compile "$LINENO"; then :
   7621   xorg_cv_cc_flag_unused_command_line_argument=yes
   7622 else
   7623   xorg_cv_cc_flag_unused_command_line_argument=no
   7624 fi
   7625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7626 fi
   7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7628 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7629 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7630 	CFLAGS="$xorg_testset_save_CFLAGS"
   7631 fi
   7632 
   7633 found="no"
   7634 
   7635 	if test $found = "no" ; then
   7636 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7637 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7638 		fi
   7639 
   7640 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7641 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7642 		fi
   7643 
   7644 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7645 
   7646 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7647 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7648 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7649 		if eval \${$cacheid+:} false; then :
   7650   $as_echo_n "(cached) " >&6
   7651 else
   7652   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7653 /* end confdefs.h.  */
   7654 int i;
   7655 int
   7656 main ()
   7657 {
   7658 
   7659   ;
   7660   return 0;
   7661 }
   7662 _ACEOF
   7663 if ac_fn_c_try_link "$LINENO"; then :
   7664   eval $cacheid=yes
   7665 else
   7666   eval $cacheid=no
   7667 fi
   7668 rm -f core conftest.err conftest.$ac_objext \
   7669     conftest$ac_exeext conftest.$ac_ext
   7670 fi
   7671 
   7672 
   7673 		CFLAGS="$xorg_testset_save_CFLAGS"
   7674 
   7675 		eval supported=\$$cacheid
   7676 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7677 $as_echo "$supported" >&6; }
   7678 		if test "$supported" = "yes" ; then
   7679 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7680 			found="yes"
   7681 		fi
   7682 	fi
   7683 
   7684 
   7685 
   7686 
   7687 
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694 
   7695 
   7696 
   7697 
   7698 xorg_testset_save_CFLAGS="$CFLAGS"
   7699 
   7700 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7701 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7702 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7703 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7704 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7705   $as_echo_n "(cached) " >&6
   7706 else
   7707   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7708 /* end confdefs.h.  */
   7709 int i;
   7710 _ACEOF
   7711 if ac_fn_c_try_compile "$LINENO"; then :
   7712   xorg_cv_cc_flag_unknown_warning_option=yes
   7713 else
   7714   xorg_cv_cc_flag_unknown_warning_option=no
   7715 fi
   7716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7717 fi
   7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7719 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7720 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7721 	CFLAGS="$xorg_testset_save_CFLAGS"
   7722 fi
   7723 
   7724 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7725 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7726 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7727 	fi
   7728 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7729 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7730 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7731 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7732   $as_echo_n "(cached) " >&6
   7733 else
   7734   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7735 /* end confdefs.h.  */
   7736 int i;
   7737 _ACEOF
   7738 if ac_fn_c_try_compile "$LINENO"; then :
   7739   xorg_cv_cc_flag_unused_command_line_argument=yes
   7740 else
   7741   xorg_cv_cc_flag_unused_command_line_argument=no
   7742 fi
   7743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7744 fi
   7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7746 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7747 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7748 	CFLAGS="$xorg_testset_save_CFLAGS"
   7749 fi
   7750 
   7751 found="no"
   7752 
   7753 	if test $found = "no" ; then
   7754 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7755 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7756 		fi
   7757 
   7758 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7759 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7760 		fi
   7761 
   7762 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7763 
   7764 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7765 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7766 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7767 		if eval \${$cacheid+:} false; then :
   7768   $as_echo_n "(cached) " >&6
   7769 else
   7770   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7771 /* end confdefs.h.  */
   7772 int i;
   7773 int
   7774 main ()
   7775 {
   7776 
   7777   ;
   7778   return 0;
   7779 }
   7780 _ACEOF
   7781 if ac_fn_c_try_link "$LINENO"; then :
   7782   eval $cacheid=yes
   7783 else
   7784   eval $cacheid=no
   7785 fi
   7786 rm -f core conftest.err conftest.$ac_objext \
   7787     conftest$ac_exeext conftest.$ac_ext
   7788 fi
   7789 
   7790 
   7791 		CFLAGS="$xorg_testset_save_CFLAGS"
   7792 
   7793 		eval supported=\$$cacheid
   7794 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7795 $as_echo "$supported" >&6; }
   7796 		if test "$supported" = "yes" ; then
   7797 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7798 			found="yes"
   7799 		fi
   7800 	fi
   7801 
   7802 
   7803 
   7804 
   7805 
   7806 
   7807 
   7808 
   7809 
   7810 
   7811 
   7812 
   7813 
   7814 
   7815 
   7816 xorg_testset_save_CFLAGS="$CFLAGS"
   7817 
   7818 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7819 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7820 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7821 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7822 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7823   $as_echo_n "(cached) " >&6
   7824 else
   7825   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7826 /* end confdefs.h.  */
   7827 int i;
   7828 _ACEOF
   7829 if ac_fn_c_try_compile "$LINENO"; then :
   7830   xorg_cv_cc_flag_unknown_warning_option=yes
   7831 else
   7832   xorg_cv_cc_flag_unknown_warning_option=no
   7833 fi
   7834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7835 fi
   7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7837 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7838 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7839 	CFLAGS="$xorg_testset_save_CFLAGS"
   7840 fi
   7841 
   7842 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7843 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7844 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7845 	fi
   7846 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7847 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7848 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7849 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7850   $as_echo_n "(cached) " >&6
   7851 else
   7852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7853 /* end confdefs.h.  */
   7854 int i;
   7855 _ACEOF
   7856 if ac_fn_c_try_compile "$LINENO"; then :
   7857   xorg_cv_cc_flag_unused_command_line_argument=yes
   7858 else
   7859   xorg_cv_cc_flag_unused_command_line_argument=no
   7860 fi
   7861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7862 fi
   7863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7864 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7865 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7866 	CFLAGS="$xorg_testset_save_CFLAGS"
   7867 fi
   7868 
   7869 found="no"
   7870 
   7871 	if test $found = "no" ; then
   7872 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7873 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7874 		fi
   7875 
   7876 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7877 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7878 		fi
   7879 
   7880 		CFLAGS="$CFLAGS -Werror=return-type"
   7881 
   7882 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7883 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7884 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7885 		if eval \${$cacheid+:} false; then :
   7886   $as_echo_n "(cached) " >&6
   7887 else
   7888   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7889 /* end confdefs.h.  */
   7890 int i;
   7891 int
   7892 main ()
   7893 {
   7894 
   7895   ;
   7896   return 0;
   7897 }
   7898 _ACEOF
   7899 if ac_fn_c_try_link "$LINENO"; then :
   7900   eval $cacheid=yes
   7901 else
   7902   eval $cacheid=no
   7903 fi
   7904 rm -f core conftest.err conftest.$ac_objext \
   7905     conftest$ac_exeext conftest.$ac_ext
   7906 fi
   7907 
   7908 
   7909 		CFLAGS="$xorg_testset_save_CFLAGS"
   7910 
   7911 		eval supported=\$$cacheid
   7912 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7913 $as_echo "$supported" >&6; }
   7914 		if test "$supported" = "yes" ; then
   7915 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7916 			found="yes"
   7917 		fi
   7918 	fi
   7919 
   7920 	if test $found = "no" ; then
   7921 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7922 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7923 		fi
   7924 
   7925 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7926 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7927 		fi
   7928 
   7929 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7930 
   7931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7932 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7933 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7934 		if eval \${$cacheid+:} false; then :
   7935   $as_echo_n "(cached) " >&6
   7936 else
   7937   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7938 /* end confdefs.h.  */
   7939 int i;
   7940 int
   7941 main ()
   7942 {
   7943 
   7944   ;
   7945   return 0;
   7946 }
   7947 _ACEOF
   7948 if ac_fn_c_try_link "$LINENO"; then :
   7949   eval $cacheid=yes
   7950 else
   7951   eval $cacheid=no
   7952 fi
   7953 rm -f core conftest.err conftest.$ac_objext \
   7954     conftest$ac_exeext conftest.$ac_ext
   7955 fi
   7956 
   7957 
   7958 		CFLAGS="$xorg_testset_save_CFLAGS"
   7959 
   7960 		eval supported=\$$cacheid
   7961 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7962 $as_echo "$supported" >&6; }
   7963 		if test "$supported" = "yes" ; then
   7964 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7965 			found="yes"
   7966 		fi
   7967 	fi
   7968 
   7969 
   7970 
   7971 
   7972 
   7973 
   7974 
   7975 
   7976 
   7977 
   7978 
   7979 
   7980 
   7981 
   7982 
   7983 xorg_testset_save_CFLAGS="$CFLAGS"
   7984 
   7985 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7986 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7987 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7988 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7989 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7990   $as_echo_n "(cached) " >&6
   7991 else
   7992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7993 /* end confdefs.h.  */
   7994 int i;
   7995 _ACEOF
   7996 if ac_fn_c_try_compile "$LINENO"; then :
   7997   xorg_cv_cc_flag_unknown_warning_option=yes
   7998 else
   7999   xorg_cv_cc_flag_unknown_warning_option=no
   8000 fi
   8001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8002 fi
   8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8004 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8005 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8006 	CFLAGS="$xorg_testset_save_CFLAGS"
   8007 fi
   8008 
   8009 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8010 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8011 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8012 	fi
   8013 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8014 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8015 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8016 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8017   $as_echo_n "(cached) " >&6
   8018 else
   8019   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8020 /* end confdefs.h.  */
   8021 int i;
   8022 _ACEOF
   8023 if ac_fn_c_try_compile "$LINENO"; then :
   8024   xorg_cv_cc_flag_unused_command_line_argument=yes
   8025 else
   8026   xorg_cv_cc_flag_unused_command_line_argument=no
   8027 fi
   8028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8029 fi
   8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8031 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8032 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8033 	CFLAGS="$xorg_testset_save_CFLAGS"
   8034 fi
   8035 
   8036 found="no"
   8037 
   8038 	if test $found = "no" ; then
   8039 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8040 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8041 		fi
   8042 
   8043 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8044 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8045 		fi
   8046 
   8047 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8048 
   8049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8050 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8051 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8052 		if eval \${$cacheid+:} false; then :
   8053   $as_echo_n "(cached) " >&6
   8054 else
   8055   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8056 /* end confdefs.h.  */
   8057 int i;
   8058 int
   8059 main ()
   8060 {
   8061 
   8062   ;
   8063   return 0;
   8064 }
   8065 _ACEOF
   8066 if ac_fn_c_try_link "$LINENO"; then :
   8067   eval $cacheid=yes
   8068 else
   8069   eval $cacheid=no
   8070 fi
   8071 rm -f core conftest.err conftest.$ac_objext \
   8072     conftest$ac_exeext conftest.$ac_ext
   8073 fi
   8074 
   8075 
   8076 		CFLAGS="$xorg_testset_save_CFLAGS"
   8077 
   8078 		eval supported=\$$cacheid
   8079 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8080 $as_echo "$supported" >&6; }
   8081 		if test "$supported" = "yes" ; then
   8082 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8083 			found="yes"
   8084 		fi
   8085 	fi
   8086 
   8087 
   8088 
   8089 
   8090 
   8091 
   8092 
   8093 
   8094 
   8095 
   8096 
   8097 
   8098 
   8099 
   8100 
   8101 xorg_testset_save_CFLAGS="$CFLAGS"
   8102 
   8103 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8104 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8105 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8106 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8107 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8108   $as_echo_n "(cached) " >&6
   8109 else
   8110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8111 /* end confdefs.h.  */
   8112 int i;
   8113 _ACEOF
   8114 if ac_fn_c_try_compile "$LINENO"; then :
   8115   xorg_cv_cc_flag_unknown_warning_option=yes
   8116 else
   8117   xorg_cv_cc_flag_unknown_warning_option=no
   8118 fi
   8119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8120 fi
   8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8122 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8123 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8124 	CFLAGS="$xorg_testset_save_CFLAGS"
   8125 fi
   8126 
   8127 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8128 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8129 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8130 	fi
   8131 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8132 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8133 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8134 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8135   $as_echo_n "(cached) " >&6
   8136 else
   8137   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8138 /* end confdefs.h.  */
   8139 int i;
   8140 _ACEOF
   8141 if ac_fn_c_try_compile "$LINENO"; then :
   8142   xorg_cv_cc_flag_unused_command_line_argument=yes
   8143 else
   8144   xorg_cv_cc_flag_unused_command_line_argument=no
   8145 fi
   8146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8147 fi
   8148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8149 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8150 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8151 	CFLAGS="$xorg_testset_save_CFLAGS"
   8152 fi
   8153 
   8154 found="no"
   8155 
   8156 	if test $found = "no" ; then
   8157 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8158 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8159 		fi
   8160 
   8161 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8162 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8163 		fi
   8164 
   8165 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8166 
   8167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8168 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8169 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8170 		if eval \${$cacheid+:} false; then :
   8171   $as_echo_n "(cached) " >&6
   8172 else
   8173   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8174 /* end confdefs.h.  */
   8175 int i;
   8176 int
   8177 main ()
   8178 {
   8179 
   8180   ;
   8181   return 0;
   8182 }
   8183 _ACEOF
   8184 if ac_fn_c_try_link "$LINENO"; then :
   8185   eval $cacheid=yes
   8186 else
   8187   eval $cacheid=no
   8188 fi
   8189 rm -f core conftest.err conftest.$ac_objext \
   8190     conftest$ac_exeext conftest.$ac_ext
   8191 fi
   8192 
   8193 
   8194 		CFLAGS="$xorg_testset_save_CFLAGS"
   8195 
   8196 		eval supported=\$$cacheid
   8197 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8198 $as_echo "$supported" >&6; }
   8199 		if test "$supported" = "yes" ; then
   8200 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8201 			found="yes"
   8202 		fi
   8203 	fi
   8204 
   8205 
   8206 
   8207 
   8208 
   8209 
   8210 
   8211 
   8212 
   8213 
   8214 
   8215 
   8216 
   8217 
   8218 
   8219 xorg_testset_save_CFLAGS="$CFLAGS"
   8220 
   8221 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8222 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8223 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8224 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8225 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8226   $as_echo_n "(cached) " >&6
   8227 else
   8228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8229 /* end confdefs.h.  */
   8230 int i;
   8231 _ACEOF
   8232 if ac_fn_c_try_compile "$LINENO"; then :
   8233   xorg_cv_cc_flag_unknown_warning_option=yes
   8234 else
   8235   xorg_cv_cc_flag_unknown_warning_option=no
   8236 fi
   8237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8238 fi
   8239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8240 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8241 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8242 	CFLAGS="$xorg_testset_save_CFLAGS"
   8243 fi
   8244 
   8245 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8246 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8247 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8248 	fi
   8249 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8250 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8251 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8252 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8253   $as_echo_n "(cached) " >&6
   8254 else
   8255   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8256 /* end confdefs.h.  */
   8257 int i;
   8258 _ACEOF
   8259 if ac_fn_c_try_compile "$LINENO"; then :
   8260   xorg_cv_cc_flag_unused_command_line_argument=yes
   8261 else
   8262   xorg_cv_cc_flag_unused_command_line_argument=no
   8263 fi
   8264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8265 fi
   8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8267 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8268 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8269 	CFLAGS="$xorg_testset_save_CFLAGS"
   8270 fi
   8271 
   8272 found="no"
   8273 
   8274 	if test $found = "no" ; then
   8275 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8276 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8277 		fi
   8278 
   8279 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8280 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8281 		fi
   8282 
   8283 		CFLAGS="$CFLAGS -Werror=write-strings"
   8284 
   8285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8286 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8287 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8288 		if eval \${$cacheid+:} false; then :
   8289   $as_echo_n "(cached) " >&6
   8290 else
   8291   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8292 /* end confdefs.h.  */
   8293 int i;
   8294 int
   8295 main ()
   8296 {
   8297 
   8298   ;
   8299   return 0;
   8300 }
   8301 _ACEOF
   8302 if ac_fn_c_try_link "$LINENO"; then :
   8303   eval $cacheid=yes
   8304 else
   8305   eval $cacheid=no
   8306 fi
   8307 rm -f core conftest.err conftest.$ac_objext \
   8308     conftest$ac_exeext conftest.$ac_ext
   8309 fi
   8310 
   8311 
   8312 		CFLAGS="$xorg_testset_save_CFLAGS"
   8313 
   8314 		eval supported=\$$cacheid
   8315 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8316 $as_echo "$supported" >&6; }
   8317 		if test "$supported" = "yes" ; then
   8318 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8319 			found="yes"
   8320 		fi
   8321 	fi
   8322 
   8323 
   8324 
   8325 
   8326 
   8327 
   8328 
   8329 
   8330 
   8331 
   8332 
   8333 
   8334 
   8335 
   8336 
   8337 xorg_testset_save_CFLAGS="$CFLAGS"
   8338 
   8339 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8340 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8342 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8343 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8344   $as_echo_n "(cached) " >&6
   8345 else
   8346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8347 /* end confdefs.h.  */
   8348 int i;
   8349 _ACEOF
   8350 if ac_fn_c_try_compile "$LINENO"; then :
   8351   xorg_cv_cc_flag_unknown_warning_option=yes
   8352 else
   8353   xorg_cv_cc_flag_unknown_warning_option=no
   8354 fi
   8355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8356 fi
   8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8358 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8359 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8360 	CFLAGS="$xorg_testset_save_CFLAGS"
   8361 fi
   8362 
   8363 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8364 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8365 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8366 	fi
   8367 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8368 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8369 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8370 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8371   $as_echo_n "(cached) " >&6
   8372 else
   8373   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8374 /* end confdefs.h.  */
   8375 int i;
   8376 _ACEOF
   8377 if ac_fn_c_try_compile "$LINENO"; then :
   8378   xorg_cv_cc_flag_unused_command_line_argument=yes
   8379 else
   8380   xorg_cv_cc_flag_unused_command_line_argument=no
   8381 fi
   8382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8383 fi
   8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8385 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8386 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8387 	CFLAGS="$xorg_testset_save_CFLAGS"
   8388 fi
   8389 
   8390 found="no"
   8391 
   8392 	if test $found = "no" ; then
   8393 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8394 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8395 		fi
   8396 
   8397 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8398 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8399 		fi
   8400 
   8401 		CFLAGS="$CFLAGS -Werror=address"
   8402 
   8403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8404 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8405 		cacheid=xorg_cv_cc_flag__Werror_address
   8406 		if eval \${$cacheid+:} false; then :
   8407   $as_echo_n "(cached) " >&6
   8408 else
   8409   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8410 /* end confdefs.h.  */
   8411 int i;
   8412 int
   8413 main ()
   8414 {
   8415 
   8416   ;
   8417   return 0;
   8418 }
   8419 _ACEOF
   8420 if ac_fn_c_try_link "$LINENO"; then :
   8421   eval $cacheid=yes
   8422 else
   8423   eval $cacheid=no
   8424 fi
   8425 rm -f core conftest.err conftest.$ac_objext \
   8426     conftest$ac_exeext conftest.$ac_ext
   8427 fi
   8428 
   8429 
   8430 		CFLAGS="$xorg_testset_save_CFLAGS"
   8431 
   8432 		eval supported=\$$cacheid
   8433 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8434 $as_echo "$supported" >&6; }
   8435 		if test "$supported" = "yes" ; then
   8436 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8437 			found="yes"
   8438 		fi
   8439 	fi
   8440 
   8441 
   8442 
   8443 
   8444 
   8445 
   8446 
   8447 
   8448 
   8449 
   8450 
   8451 
   8452 
   8453 
   8454 
   8455 xorg_testset_save_CFLAGS="$CFLAGS"
   8456 
   8457 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8458 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8460 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8461 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8462   $as_echo_n "(cached) " >&6
   8463 else
   8464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8465 /* end confdefs.h.  */
   8466 int i;
   8467 _ACEOF
   8468 if ac_fn_c_try_compile "$LINENO"; then :
   8469   xorg_cv_cc_flag_unknown_warning_option=yes
   8470 else
   8471   xorg_cv_cc_flag_unknown_warning_option=no
   8472 fi
   8473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8474 fi
   8475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8476 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8477 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8478 	CFLAGS="$xorg_testset_save_CFLAGS"
   8479 fi
   8480 
   8481 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8482 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8483 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8484 	fi
   8485 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8486 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8487 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8488 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8489   $as_echo_n "(cached) " >&6
   8490 else
   8491   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8492 /* end confdefs.h.  */
   8493 int i;
   8494 _ACEOF
   8495 if ac_fn_c_try_compile "$LINENO"; then :
   8496   xorg_cv_cc_flag_unused_command_line_argument=yes
   8497 else
   8498   xorg_cv_cc_flag_unused_command_line_argument=no
   8499 fi
   8500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8501 fi
   8502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8503 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8504 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8505 	CFLAGS="$xorg_testset_save_CFLAGS"
   8506 fi
   8507 
   8508 found="no"
   8509 
   8510 	if test $found = "no" ; then
   8511 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8512 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8513 		fi
   8514 
   8515 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8516 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8517 		fi
   8518 
   8519 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8520 
   8521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8522 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8523 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8524 		if eval \${$cacheid+:} false; then :
   8525   $as_echo_n "(cached) " >&6
   8526 else
   8527   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8528 /* end confdefs.h.  */
   8529 int i;
   8530 int
   8531 main ()
   8532 {
   8533 
   8534   ;
   8535   return 0;
   8536 }
   8537 _ACEOF
   8538 if ac_fn_c_try_link "$LINENO"; then :
   8539   eval $cacheid=yes
   8540 else
   8541   eval $cacheid=no
   8542 fi
   8543 rm -f core conftest.err conftest.$ac_objext \
   8544     conftest$ac_exeext conftest.$ac_ext
   8545 fi
   8546 
   8547 
   8548 		CFLAGS="$xorg_testset_save_CFLAGS"
   8549 
   8550 		eval supported=\$$cacheid
   8551 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8552 $as_echo "$supported" >&6; }
   8553 		if test "$supported" = "yes" ; then
   8554 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8555 			found="yes"
   8556 		fi
   8557 	fi
   8558 
   8559 	if test $found = "no" ; then
   8560 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8562 		fi
   8563 
   8564 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8566 		fi
   8567 
   8568 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8569 
   8570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8571 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8572 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8573 		if eval \${$cacheid+:} false; then :
   8574   $as_echo_n "(cached) " >&6
   8575 else
   8576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8577 /* end confdefs.h.  */
   8578 int i;
   8579 int
   8580 main ()
   8581 {
   8582 
   8583   ;
   8584   return 0;
   8585 }
   8586 _ACEOF
   8587 if ac_fn_c_try_link "$LINENO"; then :
   8588   eval $cacheid=yes
   8589 else
   8590   eval $cacheid=no
   8591 fi
   8592 rm -f core conftest.err conftest.$ac_objext \
   8593     conftest$ac_exeext conftest.$ac_ext
   8594 fi
   8595 
   8596 
   8597 		CFLAGS="$xorg_testset_save_CFLAGS"
   8598 
   8599 		eval supported=\$$cacheid
   8600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8601 $as_echo "$supported" >&6; }
   8602 		if test "$supported" = "yes" ; then
   8603 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8604 			found="yes"
   8605 		fi
   8606 	fi
   8607 
   8608 
   8609 
   8610 
   8611 
   8612 
   8613 
   8614 
   8615 
   8616 
   8617 
   8618 
   8619 
   8620 
   8621 
   8622 xorg_testset_save_CFLAGS="$CFLAGS"
   8623 
   8624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8627 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8628 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8629   $as_echo_n "(cached) " >&6
   8630 else
   8631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8632 /* end confdefs.h.  */
   8633 int i;
   8634 _ACEOF
   8635 if ac_fn_c_try_compile "$LINENO"; then :
   8636   xorg_cv_cc_flag_unknown_warning_option=yes
   8637 else
   8638   xorg_cv_cc_flag_unknown_warning_option=no
   8639 fi
   8640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8641 fi
   8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8643 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8645 	CFLAGS="$xorg_testset_save_CFLAGS"
   8646 fi
   8647 
   8648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8651 	fi
   8652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8654 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8655 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8656   $as_echo_n "(cached) " >&6
   8657 else
   8658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8659 /* end confdefs.h.  */
   8660 int i;
   8661 _ACEOF
   8662 if ac_fn_c_try_compile "$LINENO"; then :
   8663   xorg_cv_cc_flag_unused_command_line_argument=yes
   8664 else
   8665   xorg_cv_cc_flag_unused_command_line_argument=no
   8666 fi
   8667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8668 fi
   8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8670 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8672 	CFLAGS="$xorg_testset_save_CFLAGS"
   8673 fi
   8674 
   8675 found="no"
   8676 
   8677 	if test $found = "no" ; then
   8678 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8680 		fi
   8681 
   8682 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8684 		fi
   8685 
   8686 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8687 
   8688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8689 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8690 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8691 		if eval \${$cacheid+:} false; then :
   8692   $as_echo_n "(cached) " >&6
   8693 else
   8694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8695 /* end confdefs.h.  */
   8696 int i;
   8697 int
   8698 main ()
   8699 {
   8700 
   8701   ;
   8702   return 0;
   8703 }
   8704 _ACEOF
   8705 if ac_fn_c_try_link "$LINENO"; then :
   8706   eval $cacheid=yes
   8707 else
   8708   eval $cacheid=no
   8709 fi
   8710 rm -f core conftest.err conftest.$ac_objext \
   8711     conftest$ac_exeext conftest.$ac_ext
   8712 fi
   8713 
   8714 
   8715 		CFLAGS="$xorg_testset_save_CFLAGS"
   8716 
   8717 		eval supported=\$$cacheid
   8718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8719 $as_echo "$supported" >&6; }
   8720 		if test "$supported" = "yes" ; then
   8721 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8722 			found="yes"
   8723 		fi
   8724 	fi
   8725 
   8726  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8727 else
   8728 { $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
   8729 $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;}
   8730 
   8731 
   8732 
   8733 
   8734 
   8735 
   8736 
   8737 
   8738 
   8739 
   8740 
   8741 
   8742 
   8743 xorg_testset_save_CFLAGS="$CFLAGS"
   8744 
   8745 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8746 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8748 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8749 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8750   $as_echo_n "(cached) " >&6
   8751 else
   8752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8753 /* end confdefs.h.  */
   8754 int i;
   8755 _ACEOF
   8756 if ac_fn_c_try_compile "$LINENO"; then :
   8757   xorg_cv_cc_flag_unknown_warning_option=yes
   8758 else
   8759   xorg_cv_cc_flag_unknown_warning_option=no
   8760 fi
   8761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8762 fi
   8763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8764 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8765 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8766 	CFLAGS="$xorg_testset_save_CFLAGS"
   8767 fi
   8768 
   8769 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8770 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8771 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8772 	fi
   8773 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8774 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8775 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8776 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8777   $as_echo_n "(cached) " >&6
   8778 else
   8779   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8780 /* end confdefs.h.  */
   8781 int i;
   8782 _ACEOF
   8783 if ac_fn_c_try_compile "$LINENO"; then :
   8784   xorg_cv_cc_flag_unused_command_line_argument=yes
   8785 else
   8786   xorg_cv_cc_flag_unused_command_line_argument=no
   8787 fi
   8788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8789 fi
   8790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8791 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8792 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8793 	CFLAGS="$xorg_testset_save_CFLAGS"
   8794 fi
   8795 
   8796 found="no"
   8797 
   8798 	if test $found = "no" ; then
   8799 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8800 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8801 		fi
   8802 
   8803 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8804 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8805 		fi
   8806 
   8807 		CFLAGS="$CFLAGS -Wimplicit"
   8808 
   8809 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8810 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8811 		cacheid=xorg_cv_cc_flag__Wimplicit
   8812 		if eval \${$cacheid+:} false; then :
   8813   $as_echo_n "(cached) " >&6
   8814 else
   8815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8816 /* end confdefs.h.  */
   8817 int i;
   8818 int
   8819 main ()
   8820 {
   8821 
   8822   ;
   8823   return 0;
   8824 }
   8825 _ACEOF
   8826 if ac_fn_c_try_link "$LINENO"; then :
   8827   eval $cacheid=yes
   8828 else
   8829   eval $cacheid=no
   8830 fi
   8831 rm -f core conftest.err conftest.$ac_objext \
   8832     conftest$ac_exeext conftest.$ac_ext
   8833 fi
   8834 
   8835 
   8836 		CFLAGS="$xorg_testset_save_CFLAGS"
   8837 
   8838 		eval supported=\$$cacheid
   8839 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8840 $as_echo "$supported" >&6; }
   8841 		if test "$supported" = "yes" ; then
   8842 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8843 			found="yes"
   8844 		fi
   8845 	fi
   8846 
   8847 
   8848 
   8849 
   8850 
   8851 
   8852 
   8853 
   8854 
   8855 
   8856 
   8857 
   8858 
   8859 
   8860 
   8861 xorg_testset_save_CFLAGS="$CFLAGS"
   8862 
   8863 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8864 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8865 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8866 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8867 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8868   $as_echo_n "(cached) " >&6
   8869 else
   8870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8871 /* end confdefs.h.  */
   8872 int i;
   8873 _ACEOF
   8874 if ac_fn_c_try_compile "$LINENO"; then :
   8875   xorg_cv_cc_flag_unknown_warning_option=yes
   8876 else
   8877   xorg_cv_cc_flag_unknown_warning_option=no
   8878 fi
   8879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8880 fi
   8881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8882 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8883 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8884 	CFLAGS="$xorg_testset_save_CFLAGS"
   8885 fi
   8886 
   8887 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8888 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8889 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8890 	fi
   8891 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8892 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8893 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8894 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8895   $as_echo_n "(cached) " >&6
   8896 else
   8897   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8898 /* end confdefs.h.  */
   8899 int i;
   8900 _ACEOF
   8901 if ac_fn_c_try_compile "$LINENO"; then :
   8902   xorg_cv_cc_flag_unused_command_line_argument=yes
   8903 else
   8904   xorg_cv_cc_flag_unused_command_line_argument=no
   8905 fi
   8906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8907 fi
   8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8909 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8910 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8911 	CFLAGS="$xorg_testset_save_CFLAGS"
   8912 fi
   8913 
   8914 found="no"
   8915 
   8916 	if test $found = "no" ; then
   8917 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8918 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8919 		fi
   8920 
   8921 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8922 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8923 		fi
   8924 
   8925 		CFLAGS="$CFLAGS -Wnonnull"
   8926 
   8927 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8928 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8929 		cacheid=xorg_cv_cc_flag__Wnonnull
   8930 		if eval \${$cacheid+:} false; then :
   8931   $as_echo_n "(cached) " >&6
   8932 else
   8933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8934 /* end confdefs.h.  */
   8935 int i;
   8936 int
   8937 main ()
   8938 {
   8939 
   8940   ;
   8941   return 0;
   8942 }
   8943 _ACEOF
   8944 if ac_fn_c_try_link "$LINENO"; then :
   8945   eval $cacheid=yes
   8946 else
   8947   eval $cacheid=no
   8948 fi
   8949 rm -f core conftest.err conftest.$ac_objext \
   8950     conftest$ac_exeext conftest.$ac_ext
   8951 fi
   8952 
   8953 
   8954 		CFLAGS="$xorg_testset_save_CFLAGS"
   8955 
   8956 		eval supported=\$$cacheid
   8957 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8958 $as_echo "$supported" >&6; }
   8959 		if test "$supported" = "yes" ; then
   8960 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8961 			found="yes"
   8962 		fi
   8963 	fi
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 xorg_testset_save_CFLAGS="$CFLAGS"
   8980 
   8981 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8982 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8983 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8984 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8985 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8986   $as_echo_n "(cached) " >&6
   8987 else
   8988   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8989 /* end confdefs.h.  */
   8990 int i;
   8991 _ACEOF
   8992 if ac_fn_c_try_compile "$LINENO"; then :
   8993   xorg_cv_cc_flag_unknown_warning_option=yes
   8994 else
   8995   xorg_cv_cc_flag_unknown_warning_option=no
   8996 fi
   8997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8998 fi
   8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9000 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9001 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9002 	CFLAGS="$xorg_testset_save_CFLAGS"
   9003 fi
   9004 
   9005 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9006 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9007 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9008 	fi
   9009 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9010 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9011 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9012 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9013   $as_echo_n "(cached) " >&6
   9014 else
   9015   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9016 /* end confdefs.h.  */
   9017 int i;
   9018 _ACEOF
   9019 if ac_fn_c_try_compile "$LINENO"; then :
   9020   xorg_cv_cc_flag_unused_command_line_argument=yes
   9021 else
   9022   xorg_cv_cc_flag_unused_command_line_argument=no
   9023 fi
   9024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9025 fi
   9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9027 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9028 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9029 	CFLAGS="$xorg_testset_save_CFLAGS"
   9030 fi
   9031 
   9032 found="no"
   9033 
   9034 	if test $found = "no" ; then
   9035 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9036 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9037 		fi
   9038 
   9039 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9040 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9041 		fi
   9042 
   9043 		CFLAGS="$CFLAGS -Winit-self"
   9044 
   9045 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9046 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9047 		cacheid=xorg_cv_cc_flag__Winit_self
   9048 		if eval \${$cacheid+:} false; then :
   9049   $as_echo_n "(cached) " >&6
   9050 else
   9051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9052 /* end confdefs.h.  */
   9053 int i;
   9054 int
   9055 main ()
   9056 {
   9057 
   9058   ;
   9059   return 0;
   9060 }
   9061 _ACEOF
   9062 if ac_fn_c_try_link "$LINENO"; then :
   9063   eval $cacheid=yes
   9064 else
   9065   eval $cacheid=no
   9066 fi
   9067 rm -f core conftest.err conftest.$ac_objext \
   9068     conftest$ac_exeext conftest.$ac_ext
   9069 fi
   9070 
   9071 
   9072 		CFLAGS="$xorg_testset_save_CFLAGS"
   9073 
   9074 		eval supported=\$$cacheid
   9075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9076 $as_echo "$supported" >&6; }
   9077 		if test "$supported" = "yes" ; then
   9078 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9079 			found="yes"
   9080 		fi
   9081 	fi
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093 
   9094 
   9095 
   9096 
   9097 xorg_testset_save_CFLAGS="$CFLAGS"
   9098 
   9099 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9100 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9101 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9102 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9103 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9104   $as_echo_n "(cached) " >&6
   9105 else
   9106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9107 /* end confdefs.h.  */
   9108 int i;
   9109 _ACEOF
   9110 if ac_fn_c_try_compile "$LINENO"; then :
   9111   xorg_cv_cc_flag_unknown_warning_option=yes
   9112 else
   9113   xorg_cv_cc_flag_unknown_warning_option=no
   9114 fi
   9115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9116 fi
   9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9118 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9119 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9120 	CFLAGS="$xorg_testset_save_CFLAGS"
   9121 fi
   9122 
   9123 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9124 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9125 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9126 	fi
   9127 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9128 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9129 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9130 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9131   $as_echo_n "(cached) " >&6
   9132 else
   9133   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9134 /* end confdefs.h.  */
   9135 int i;
   9136 _ACEOF
   9137 if ac_fn_c_try_compile "$LINENO"; then :
   9138   xorg_cv_cc_flag_unused_command_line_argument=yes
   9139 else
   9140   xorg_cv_cc_flag_unused_command_line_argument=no
   9141 fi
   9142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9143 fi
   9144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9145 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9146 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9147 	CFLAGS="$xorg_testset_save_CFLAGS"
   9148 fi
   9149 
   9150 found="no"
   9151 
   9152 	if test $found = "no" ; then
   9153 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9154 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9155 		fi
   9156 
   9157 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9158 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9159 		fi
   9160 
   9161 		CFLAGS="$CFLAGS -Wmain"
   9162 
   9163 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9164 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9165 		cacheid=xorg_cv_cc_flag__Wmain
   9166 		if eval \${$cacheid+:} false; then :
   9167   $as_echo_n "(cached) " >&6
   9168 else
   9169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9170 /* end confdefs.h.  */
   9171 int i;
   9172 int
   9173 main ()
   9174 {
   9175 
   9176   ;
   9177   return 0;
   9178 }
   9179 _ACEOF
   9180 if ac_fn_c_try_link "$LINENO"; then :
   9181   eval $cacheid=yes
   9182 else
   9183   eval $cacheid=no
   9184 fi
   9185 rm -f core conftest.err conftest.$ac_objext \
   9186     conftest$ac_exeext conftest.$ac_ext
   9187 fi
   9188 
   9189 
   9190 		CFLAGS="$xorg_testset_save_CFLAGS"
   9191 
   9192 		eval supported=\$$cacheid
   9193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9194 $as_echo "$supported" >&6; }
   9195 		if test "$supported" = "yes" ; then
   9196 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9197 			found="yes"
   9198 		fi
   9199 	fi
   9200 
   9201 
   9202 
   9203 
   9204 
   9205 
   9206 
   9207 
   9208 
   9209 
   9210 
   9211 
   9212 
   9213 
   9214 
   9215 xorg_testset_save_CFLAGS="$CFLAGS"
   9216 
   9217 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9218 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9219 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9220 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9221 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9222   $as_echo_n "(cached) " >&6
   9223 else
   9224   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9225 /* end confdefs.h.  */
   9226 int i;
   9227 _ACEOF
   9228 if ac_fn_c_try_compile "$LINENO"; then :
   9229   xorg_cv_cc_flag_unknown_warning_option=yes
   9230 else
   9231   xorg_cv_cc_flag_unknown_warning_option=no
   9232 fi
   9233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9234 fi
   9235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9236 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9237 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9238 	CFLAGS="$xorg_testset_save_CFLAGS"
   9239 fi
   9240 
   9241 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9242 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9243 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9244 	fi
   9245 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9246 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9247 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9248 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9249   $as_echo_n "(cached) " >&6
   9250 else
   9251   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9252 /* end confdefs.h.  */
   9253 int i;
   9254 _ACEOF
   9255 if ac_fn_c_try_compile "$LINENO"; then :
   9256   xorg_cv_cc_flag_unused_command_line_argument=yes
   9257 else
   9258   xorg_cv_cc_flag_unused_command_line_argument=no
   9259 fi
   9260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9261 fi
   9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9263 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9264 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9265 	CFLAGS="$xorg_testset_save_CFLAGS"
   9266 fi
   9267 
   9268 found="no"
   9269 
   9270 	if test $found = "no" ; then
   9271 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9272 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9273 		fi
   9274 
   9275 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9276 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9277 		fi
   9278 
   9279 		CFLAGS="$CFLAGS -Wmissing-braces"
   9280 
   9281 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9282 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9283 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9284 		if eval \${$cacheid+:} false; then :
   9285   $as_echo_n "(cached) " >&6
   9286 else
   9287   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9288 /* end confdefs.h.  */
   9289 int i;
   9290 int
   9291 main ()
   9292 {
   9293 
   9294   ;
   9295   return 0;
   9296 }
   9297 _ACEOF
   9298 if ac_fn_c_try_link "$LINENO"; then :
   9299   eval $cacheid=yes
   9300 else
   9301   eval $cacheid=no
   9302 fi
   9303 rm -f core conftest.err conftest.$ac_objext \
   9304     conftest$ac_exeext conftest.$ac_ext
   9305 fi
   9306 
   9307 
   9308 		CFLAGS="$xorg_testset_save_CFLAGS"
   9309 
   9310 		eval supported=\$$cacheid
   9311 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9312 $as_echo "$supported" >&6; }
   9313 		if test "$supported" = "yes" ; then
   9314 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9315 			found="yes"
   9316 		fi
   9317 	fi
   9318 
   9319 
   9320 
   9321 
   9322 
   9323 
   9324 
   9325 
   9326 
   9327 
   9328 
   9329 
   9330 
   9331 
   9332 
   9333 xorg_testset_save_CFLAGS="$CFLAGS"
   9334 
   9335 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9336 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9337 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9338 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9339 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9340   $as_echo_n "(cached) " >&6
   9341 else
   9342   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9343 /* end confdefs.h.  */
   9344 int i;
   9345 _ACEOF
   9346 if ac_fn_c_try_compile "$LINENO"; then :
   9347   xorg_cv_cc_flag_unknown_warning_option=yes
   9348 else
   9349   xorg_cv_cc_flag_unknown_warning_option=no
   9350 fi
   9351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9352 fi
   9353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9354 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9355 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9356 	CFLAGS="$xorg_testset_save_CFLAGS"
   9357 fi
   9358 
   9359 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9360 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9361 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9362 	fi
   9363 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9364 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9365 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9366 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9367   $as_echo_n "(cached) " >&6
   9368 else
   9369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9370 /* end confdefs.h.  */
   9371 int i;
   9372 _ACEOF
   9373 if ac_fn_c_try_compile "$LINENO"; then :
   9374   xorg_cv_cc_flag_unused_command_line_argument=yes
   9375 else
   9376   xorg_cv_cc_flag_unused_command_line_argument=no
   9377 fi
   9378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9379 fi
   9380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9381 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9382 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9383 	CFLAGS="$xorg_testset_save_CFLAGS"
   9384 fi
   9385 
   9386 found="no"
   9387 
   9388 	if test $found = "no" ; then
   9389 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9390 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9391 		fi
   9392 
   9393 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9394 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9395 		fi
   9396 
   9397 		CFLAGS="$CFLAGS -Wsequence-point"
   9398 
   9399 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9400 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9401 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9402 		if eval \${$cacheid+:} false; then :
   9403   $as_echo_n "(cached) " >&6
   9404 else
   9405   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9406 /* end confdefs.h.  */
   9407 int i;
   9408 int
   9409 main ()
   9410 {
   9411 
   9412   ;
   9413   return 0;
   9414 }
   9415 _ACEOF
   9416 if ac_fn_c_try_link "$LINENO"; then :
   9417   eval $cacheid=yes
   9418 else
   9419   eval $cacheid=no
   9420 fi
   9421 rm -f core conftest.err conftest.$ac_objext \
   9422     conftest$ac_exeext conftest.$ac_ext
   9423 fi
   9424 
   9425 
   9426 		CFLAGS="$xorg_testset_save_CFLAGS"
   9427 
   9428 		eval supported=\$$cacheid
   9429 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9430 $as_echo "$supported" >&6; }
   9431 		if test "$supported" = "yes" ; then
   9432 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9433 			found="yes"
   9434 		fi
   9435 	fi
   9436 
   9437 
   9438 
   9439 
   9440 
   9441 
   9442 
   9443 
   9444 
   9445 
   9446 
   9447 
   9448 
   9449 
   9450 
   9451 xorg_testset_save_CFLAGS="$CFLAGS"
   9452 
   9453 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9454 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9455 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9456 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9457 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9458   $as_echo_n "(cached) " >&6
   9459 else
   9460   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9461 /* end confdefs.h.  */
   9462 int i;
   9463 _ACEOF
   9464 if ac_fn_c_try_compile "$LINENO"; then :
   9465   xorg_cv_cc_flag_unknown_warning_option=yes
   9466 else
   9467   xorg_cv_cc_flag_unknown_warning_option=no
   9468 fi
   9469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9470 fi
   9471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9472 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9473 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9474 	CFLAGS="$xorg_testset_save_CFLAGS"
   9475 fi
   9476 
   9477 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9478 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9479 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9480 	fi
   9481 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9482 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9483 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9484 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9485   $as_echo_n "(cached) " >&6
   9486 else
   9487   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9488 /* end confdefs.h.  */
   9489 int i;
   9490 _ACEOF
   9491 if ac_fn_c_try_compile "$LINENO"; then :
   9492   xorg_cv_cc_flag_unused_command_line_argument=yes
   9493 else
   9494   xorg_cv_cc_flag_unused_command_line_argument=no
   9495 fi
   9496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9497 fi
   9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9499 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9500 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9501 	CFLAGS="$xorg_testset_save_CFLAGS"
   9502 fi
   9503 
   9504 found="no"
   9505 
   9506 	if test $found = "no" ; then
   9507 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9509 		fi
   9510 
   9511 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9513 		fi
   9514 
   9515 		CFLAGS="$CFLAGS -Wreturn-type"
   9516 
   9517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9518 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9519 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9520 		if eval \${$cacheid+:} false; then :
   9521   $as_echo_n "(cached) " >&6
   9522 else
   9523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9524 /* end confdefs.h.  */
   9525 int i;
   9526 int
   9527 main ()
   9528 {
   9529 
   9530   ;
   9531   return 0;
   9532 }
   9533 _ACEOF
   9534 if ac_fn_c_try_link "$LINENO"; then :
   9535   eval $cacheid=yes
   9536 else
   9537   eval $cacheid=no
   9538 fi
   9539 rm -f core conftest.err conftest.$ac_objext \
   9540     conftest$ac_exeext conftest.$ac_ext
   9541 fi
   9542 
   9543 
   9544 		CFLAGS="$xorg_testset_save_CFLAGS"
   9545 
   9546 		eval supported=\$$cacheid
   9547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9548 $as_echo "$supported" >&6; }
   9549 		if test "$supported" = "yes" ; then
   9550 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9551 			found="yes"
   9552 		fi
   9553 	fi
   9554 
   9555 
   9556 
   9557 
   9558 
   9559 
   9560 
   9561 
   9562 
   9563 
   9564 
   9565 
   9566 
   9567 
   9568 
   9569 xorg_testset_save_CFLAGS="$CFLAGS"
   9570 
   9571 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9572 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9573 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9574 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9575 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9576   $as_echo_n "(cached) " >&6
   9577 else
   9578   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9579 /* end confdefs.h.  */
   9580 int i;
   9581 _ACEOF
   9582 if ac_fn_c_try_compile "$LINENO"; then :
   9583   xorg_cv_cc_flag_unknown_warning_option=yes
   9584 else
   9585   xorg_cv_cc_flag_unknown_warning_option=no
   9586 fi
   9587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9588 fi
   9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9590 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9591 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9592 	CFLAGS="$xorg_testset_save_CFLAGS"
   9593 fi
   9594 
   9595 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9596 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9597 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9598 	fi
   9599 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9601 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9602 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9603   $as_echo_n "(cached) " >&6
   9604 else
   9605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9606 /* end confdefs.h.  */
   9607 int i;
   9608 _ACEOF
   9609 if ac_fn_c_try_compile "$LINENO"; then :
   9610   xorg_cv_cc_flag_unused_command_line_argument=yes
   9611 else
   9612   xorg_cv_cc_flag_unused_command_line_argument=no
   9613 fi
   9614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9615 fi
   9616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9617 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9618 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9619 	CFLAGS="$xorg_testset_save_CFLAGS"
   9620 fi
   9621 
   9622 found="no"
   9623 
   9624 	if test $found = "no" ; then
   9625 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9626 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9627 		fi
   9628 
   9629 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9630 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9631 		fi
   9632 
   9633 		CFLAGS="$CFLAGS -Wtrigraphs"
   9634 
   9635 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9636 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9637 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9638 		if eval \${$cacheid+:} false; then :
   9639   $as_echo_n "(cached) " >&6
   9640 else
   9641   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9642 /* end confdefs.h.  */
   9643 int i;
   9644 int
   9645 main ()
   9646 {
   9647 
   9648   ;
   9649   return 0;
   9650 }
   9651 _ACEOF
   9652 if ac_fn_c_try_link "$LINENO"; then :
   9653   eval $cacheid=yes
   9654 else
   9655   eval $cacheid=no
   9656 fi
   9657 rm -f core conftest.err conftest.$ac_objext \
   9658     conftest$ac_exeext conftest.$ac_ext
   9659 fi
   9660 
   9661 
   9662 		CFLAGS="$xorg_testset_save_CFLAGS"
   9663 
   9664 		eval supported=\$$cacheid
   9665 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9666 $as_echo "$supported" >&6; }
   9667 		if test "$supported" = "yes" ; then
   9668 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9669 			found="yes"
   9670 		fi
   9671 	fi
   9672 
   9673 
   9674 
   9675 
   9676 
   9677 
   9678 
   9679 
   9680 
   9681 
   9682 
   9683 
   9684 
   9685 
   9686 
   9687 xorg_testset_save_CFLAGS="$CFLAGS"
   9688 
   9689 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9690 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9691 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9692 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9693 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9694   $as_echo_n "(cached) " >&6
   9695 else
   9696   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9697 /* end confdefs.h.  */
   9698 int i;
   9699 _ACEOF
   9700 if ac_fn_c_try_compile "$LINENO"; then :
   9701   xorg_cv_cc_flag_unknown_warning_option=yes
   9702 else
   9703   xorg_cv_cc_flag_unknown_warning_option=no
   9704 fi
   9705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9706 fi
   9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9708 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9709 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9710 	CFLAGS="$xorg_testset_save_CFLAGS"
   9711 fi
   9712 
   9713 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9714 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9715 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9716 	fi
   9717 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9718 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9719 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9720 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9721   $as_echo_n "(cached) " >&6
   9722 else
   9723   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9724 /* end confdefs.h.  */
   9725 int i;
   9726 _ACEOF
   9727 if ac_fn_c_try_compile "$LINENO"; then :
   9728   xorg_cv_cc_flag_unused_command_line_argument=yes
   9729 else
   9730   xorg_cv_cc_flag_unused_command_line_argument=no
   9731 fi
   9732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9733 fi
   9734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9735 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9736 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9737 	CFLAGS="$xorg_testset_save_CFLAGS"
   9738 fi
   9739 
   9740 found="no"
   9741 
   9742 	if test $found = "no" ; then
   9743 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9744 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9745 		fi
   9746 
   9747 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9748 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9749 		fi
   9750 
   9751 		CFLAGS="$CFLAGS -Warray-bounds"
   9752 
   9753 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9754 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9755 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9756 		if eval \${$cacheid+:} false; then :
   9757   $as_echo_n "(cached) " >&6
   9758 else
   9759   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9760 /* end confdefs.h.  */
   9761 int i;
   9762 int
   9763 main ()
   9764 {
   9765 
   9766   ;
   9767   return 0;
   9768 }
   9769 _ACEOF
   9770 if ac_fn_c_try_link "$LINENO"; then :
   9771   eval $cacheid=yes
   9772 else
   9773   eval $cacheid=no
   9774 fi
   9775 rm -f core conftest.err conftest.$ac_objext \
   9776     conftest$ac_exeext conftest.$ac_ext
   9777 fi
   9778 
   9779 
   9780 		CFLAGS="$xorg_testset_save_CFLAGS"
   9781 
   9782 		eval supported=\$$cacheid
   9783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9784 $as_echo "$supported" >&6; }
   9785 		if test "$supported" = "yes" ; then
   9786 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9787 			found="yes"
   9788 		fi
   9789 	fi
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 xorg_testset_save_CFLAGS="$CFLAGS"
   9806 
   9807 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9808 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9809 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9810 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9811 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9812   $as_echo_n "(cached) " >&6
   9813 else
   9814   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9815 /* end confdefs.h.  */
   9816 int i;
   9817 _ACEOF
   9818 if ac_fn_c_try_compile "$LINENO"; then :
   9819   xorg_cv_cc_flag_unknown_warning_option=yes
   9820 else
   9821   xorg_cv_cc_flag_unknown_warning_option=no
   9822 fi
   9823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9824 fi
   9825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9826 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9827 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9828 	CFLAGS="$xorg_testset_save_CFLAGS"
   9829 fi
   9830 
   9831 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9832 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9833 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9834 	fi
   9835 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9836 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9837 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9838 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9839   $as_echo_n "(cached) " >&6
   9840 else
   9841   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9842 /* end confdefs.h.  */
   9843 int i;
   9844 _ACEOF
   9845 if ac_fn_c_try_compile "$LINENO"; then :
   9846   xorg_cv_cc_flag_unused_command_line_argument=yes
   9847 else
   9848   xorg_cv_cc_flag_unused_command_line_argument=no
   9849 fi
   9850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9851 fi
   9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9853 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9854 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9855 	CFLAGS="$xorg_testset_save_CFLAGS"
   9856 fi
   9857 
   9858 found="no"
   9859 
   9860 	if test $found = "no" ; then
   9861 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9862 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9863 		fi
   9864 
   9865 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9866 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9867 		fi
   9868 
   9869 		CFLAGS="$CFLAGS -Wwrite-strings"
   9870 
   9871 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9872 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9873 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9874 		if eval \${$cacheid+:} false; then :
   9875   $as_echo_n "(cached) " >&6
   9876 else
   9877   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9878 /* end confdefs.h.  */
   9879 int i;
   9880 int
   9881 main ()
   9882 {
   9883 
   9884   ;
   9885   return 0;
   9886 }
   9887 _ACEOF
   9888 if ac_fn_c_try_link "$LINENO"; then :
   9889   eval $cacheid=yes
   9890 else
   9891   eval $cacheid=no
   9892 fi
   9893 rm -f core conftest.err conftest.$ac_objext \
   9894     conftest$ac_exeext conftest.$ac_ext
   9895 fi
   9896 
   9897 
   9898 		CFLAGS="$xorg_testset_save_CFLAGS"
   9899 
   9900 		eval supported=\$$cacheid
   9901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9902 $as_echo "$supported" >&6; }
   9903 		if test "$supported" = "yes" ; then
   9904 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9905 			found="yes"
   9906 		fi
   9907 	fi
   9908 
   9909 
   9910 
   9911 
   9912 
   9913 
   9914 
   9915 
   9916 
   9917 
   9918 
   9919 
   9920 
   9921 
   9922 
   9923 xorg_testset_save_CFLAGS="$CFLAGS"
   9924 
   9925 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9926 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9927 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9928 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9929 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9930   $as_echo_n "(cached) " >&6
   9931 else
   9932   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9933 /* end confdefs.h.  */
   9934 int i;
   9935 _ACEOF
   9936 if ac_fn_c_try_compile "$LINENO"; then :
   9937   xorg_cv_cc_flag_unknown_warning_option=yes
   9938 else
   9939   xorg_cv_cc_flag_unknown_warning_option=no
   9940 fi
   9941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9942 fi
   9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9944 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9945 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9946 	CFLAGS="$xorg_testset_save_CFLAGS"
   9947 fi
   9948 
   9949 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9950 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9951 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9952 	fi
   9953 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9954 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9955 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9956 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9957   $as_echo_n "(cached) " >&6
   9958 else
   9959   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9960 /* end confdefs.h.  */
   9961 int i;
   9962 _ACEOF
   9963 if ac_fn_c_try_compile "$LINENO"; then :
   9964   xorg_cv_cc_flag_unused_command_line_argument=yes
   9965 else
   9966   xorg_cv_cc_flag_unused_command_line_argument=no
   9967 fi
   9968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9969 fi
   9970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9971 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9972 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9973 	CFLAGS="$xorg_testset_save_CFLAGS"
   9974 fi
   9975 
   9976 found="no"
   9977 
   9978 	if test $found = "no" ; then
   9979 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9980 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9981 		fi
   9982 
   9983 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9984 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9985 		fi
   9986 
   9987 		CFLAGS="$CFLAGS -Waddress"
   9988 
   9989 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9990 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9991 		cacheid=xorg_cv_cc_flag__Waddress
   9992 		if eval \${$cacheid+:} false; then :
   9993   $as_echo_n "(cached) " >&6
   9994 else
   9995   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9996 /* end confdefs.h.  */
   9997 int i;
   9998 int
   9999 main ()
   10000 {
   10001 
   10002   ;
   10003   return 0;
   10004 }
   10005 _ACEOF
   10006 if ac_fn_c_try_link "$LINENO"; then :
   10007   eval $cacheid=yes
   10008 else
   10009   eval $cacheid=no
   10010 fi
   10011 rm -f core conftest.err conftest.$ac_objext \
   10012     conftest$ac_exeext conftest.$ac_ext
   10013 fi
   10014 
   10015 
   10016 		CFLAGS="$xorg_testset_save_CFLAGS"
   10017 
   10018 		eval supported=\$$cacheid
   10019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10020 $as_echo "$supported" >&6; }
   10021 		if test "$supported" = "yes" ; then
   10022 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   10023 			found="yes"
   10024 		fi
   10025 	fi
   10026 
   10027 
   10028 
   10029 
   10030 
   10031 
   10032 
   10033 
   10034 
   10035 
   10036 
   10037 
   10038 
   10039 
   10040 
   10041 xorg_testset_save_CFLAGS="$CFLAGS"
   10042 
   10043 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10044 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10045 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10046 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10047 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10048   $as_echo_n "(cached) " >&6
   10049 else
   10050   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10051 /* end confdefs.h.  */
   10052 int i;
   10053 _ACEOF
   10054 if ac_fn_c_try_compile "$LINENO"; then :
   10055   xorg_cv_cc_flag_unknown_warning_option=yes
   10056 else
   10057   xorg_cv_cc_flag_unknown_warning_option=no
   10058 fi
   10059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10060 fi
   10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10062 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10063 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10064 	CFLAGS="$xorg_testset_save_CFLAGS"
   10065 fi
   10066 
   10067 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10068 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10069 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10070 	fi
   10071 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10072 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10073 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10074 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10075   $as_echo_n "(cached) " >&6
   10076 else
   10077   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10078 /* end confdefs.h.  */
   10079 int i;
   10080 _ACEOF
   10081 if ac_fn_c_try_compile "$LINENO"; then :
   10082   xorg_cv_cc_flag_unused_command_line_argument=yes
   10083 else
   10084   xorg_cv_cc_flag_unused_command_line_argument=no
   10085 fi
   10086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10087 fi
   10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10089 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10090 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10091 	CFLAGS="$xorg_testset_save_CFLAGS"
   10092 fi
   10093 
   10094 found="no"
   10095 
   10096 	if test $found = "no" ; then
   10097 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10098 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10099 		fi
   10100 
   10101 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10102 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10103 		fi
   10104 
   10105 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10106 
   10107 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10108 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10109 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10110 		if eval \${$cacheid+:} false; then :
   10111   $as_echo_n "(cached) " >&6
   10112 else
   10113   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10114 /* end confdefs.h.  */
   10115 int i;
   10116 int
   10117 main ()
   10118 {
   10119 
   10120   ;
   10121   return 0;
   10122 }
   10123 _ACEOF
   10124 if ac_fn_c_try_link "$LINENO"; then :
   10125   eval $cacheid=yes
   10126 else
   10127   eval $cacheid=no
   10128 fi
   10129 rm -f core conftest.err conftest.$ac_objext \
   10130     conftest$ac_exeext conftest.$ac_ext
   10131 fi
   10132 
   10133 
   10134 		CFLAGS="$xorg_testset_save_CFLAGS"
   10135 
   10136 		eval supported=\$$cacheid
   10137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10138 $as_echo "$supported" >&6; }
   10139 		if test "$supported" = "yes" ; then
   10140 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10141 			found="yes"
   10142 		fi
   10143 	fi
   10144 
   10145 
   10146 
   10147 
   10148 
   10149 
   10150 
   10151 
   10152 
   10153 
   10154 
   10155 
   10156 
   10157 
   10158 
   10159 xorg_testset_save_CFLAGS="$CFLAGS"
   10160 
   10161 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10162 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10163 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10164 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10165 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10166   $as_echo_n "(cached) " >&6
   10167 else
   10168   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10169 /* end confdefs.h.  */
   10170 int i;
   10171 _ACEOF
   10172 if ac_fn_c_try_compile "$LINENO"; then :
   10173   xorg_cv_cc_flag_unknown_warning_option=yes
   10174 else
   10175   xorg_cv_cc_flag_unknown_warning_option=no
   10176 fi
   10177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10178 fi
   10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10180 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10181 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10182 	CFLAGS="$xorg_testset_save_CFLAGS"
   10183 fi
   10184 
   10185 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10186 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10187 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10188 	fi
   10189 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10190 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10191 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10192 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10193   $as_echo_n "(cached) " >&6
   10194 else
   10195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10196 /* end confdefs.h.  */
   10197 int i;
   10198 _ACEOF
   10199 if ac_fn_c_try_compile "$LINENO"; then :
   10200   xorg_cv_cc_flag_unused_command_line_argument=yes
   10201 else
   10202   xorg_cv_cc_flag_unused_command_line_argument=no
   10203 fi
   10204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10205 fi
   10206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10207 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10208 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10209 	CFLAGS="$xorg_testset_save_CFLAGS"
   10210 fi
   10211 
   10212 found="no"
   10213 
   10214 	if test $found = "no" ; then
   10215 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10216 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10217 		fi
   10218 
   10219 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10220 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10221 		fi
   10222 
   10223 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10224 
   10225 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10226 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10227 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10228 		if eval \${$cacheid+:} false; then :
   10229   $as_echo_n "(cached) " >&6
   10230 else
   10231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10232 /* end confdefs.h.  */
   10233 int i;
   10234 int
   10235 main ()
   10236 {
   10237 
   10238   ;
   10239   return 0;
   10240 }
   10241 _ACEOF
   10242 if ac_fn_c_try_link "$LINENO"; then :
   10243   eval $cacheid=yes
   10244 else
   10245   eval $cacheid=no
   10246 fi
   10247 rm -f core conftest.err conftest.$ac_objext \
   10248     conftest$ac_exeext conftest.$ac_ext
   10249 fi
   10250 
   10251 
   10252 		CFLAGS="$xorg_testset_save_CFLAGS"
   10253 
   10254 		eval supported=\$$cacheid
   10255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10256 $as_echo "$supported" >&6; }
   10257 		if test "$supported" = "yes" ; then
   10258 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10259 			found="yes"
   10260 		fi
   10261 	fi
   10262 
   10263 
   10264 fi
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 
   10271 
   10272 		CWARNFLAGS="$BASE_CFLAGS"
   10273 		if  test "x$GCC" = xyes ; then
   10274 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10275 		fi
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 # Check whether --enable-strict-compilation was given.
   10285 if test "${enable_strict_compilation+set}" = set; then :
   10286   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10287 else
   10288   STRICT_COMPILE=no
   10289 fi
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 STRICT_CFLAGS=""
   10297 
   10298 
   10299 
   10300 
   10301 
   10302 
   10303 
   10304 
   10305 
   10306 
   10307 
   10308 
   10309 
   10310 xorg_testset_save_CFLAGS="$CFLAGS"
   10311 
   10312 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10313 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10315 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10316 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10317   $as_echo_n "(cached) " >&6
   10318 else
   10319   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10320 /* end confdefs.h.  */
   10321 int i;
   10322 _ACEOF
   10323 if ac_fn_c_try_compile "$LINENO"; then :
   10324   xorg_cv_cc_flag_unknown_warning_option=yes
   10325 else
   10326   xorg_cv_cc_flag_unknown_warning_option=no
   10327 fi
   10328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10329 fi
   10330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10331 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10332 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10333 	CFLAGS="$xorg_testset_save_CFLAGS"
   10334 fi
   10335 
   10336 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10337 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10338 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10339 	fi
   10340 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10341 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10342 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10343 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10344   $as_echo_n "(cached) " >&6
   10345 else
   10346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10347 /* end confdefs.h.  */
   10348 int i;
   10349 _ACEOF
   10350 if ac_fn_c_try_compile "$LINENO"; then :
   10351   xorg_cv_cc_flag_unused_command_line_argument=yes
   10352 else
   10353   xorg_cv_cc_flag_unused_command_line_argument=no
   10354 fi
   10355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10356 fi
   10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10358 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10359 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10360 	CFLAGS="$xorg_testset_save_CFLAGS"
   10361 fi
   10362 
   10363 found="no"
   10364 
   10365 	if test $found = "no" ; then
   10366 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10367 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10368 		fi
   10369 
   10370 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10371 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10372 		fi
   10373 
   10374 		CFLAGS="$CFLAGS -pedantic"
   10375 
   10376 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10377 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10378 		cacheid=xorg_cv_cc_flag__pedantic
   10379 		if eval \${$cacheid+:} false; then :
   10380   $as_echo_n "(cached) " >&6
   10381 else
   10382   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10383 /* end confdefs.h.  */
   10384 int i;
   10385 int
   10386 main ()
   10387 {
   10388 
   10389   ;
   10390   return 0;
   10391 }
   10392 _ACEOF
   10393 if ac_fn_c_try_link "$LINENO"; then :
   10394   eval $cacheid=yes
   10395 else
   10396   eval $cacheid=no
   10397 fi
   10398 rm -f core conftest.err conftest.$ac_objext \
   10399     conftest$ac_exeext conftest.$ac_ext
   10400 fi
   10401 
   10402 
   10403 		CFLAGS="$xorg_testset_save_CFLAGS"
   10404 
   10405 		eval supported=\$$cacheid
   10406 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10407 $as_echo "$supported" >&6; }
   10408 		if test "$supported" = "yes" ; then
   10409 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10410 			found="yes"
   10411 		fi
   10412 	fi
   10413 
   10414 
   10415 
   10416 
   10417 
   10418 
   10419 
   10420 
   10421 
   10422 
   10423 
   10424 
   10425 
   10426 
   10427 
   10428 xorg_testset_save_CFLAGS="$CFLAGS"
   10429 
   10430 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10431 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10432 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10433 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10434 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10435   $as_echo_n "(cached) " >&6
   10436 else
   10437   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10438 /* end confdefs.h.  */
   10439 int i;
   10440 _ACEOF
   10441 if ac_fn_c_try_compile "$LINENO"; then :
   10442   xorg_cv_cc_flag_unknown_warning_option=yes
   10443 else
   10444   xorg_cv_cc_flag_unknown_warning_option=no
   10445 fi
   10446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10447 fi
   10448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10449 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10450 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10451 	CFLAGS="$xorg_testset_save_CFLAGS"
   10452 fi
   10453 
   10454 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10455 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10456 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10457 	fi
   10458 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10459 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10460 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10461 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10462   $as_echo_n "(cached) " >&6
   10463 else
   10464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10465 /* end confdefs.h.  */
   10466 int i;
   10467 _ACEOF
   10468 if ac_fn_c_try_compile "$LINENO"; then :
   10469   xorg_cv_cc_flag_unused_command_line_argument=yes
   10470 else
   10471   xorg_cv_cc_flag_unused_command_line_argument=no
   10472 fi
   10473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10474 fi
   10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10476 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10477 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10478 	CFLAGS="$xorg_testset_save_CFLAGS"
   10479 fi
   10480 
   10481 found="no"
   10482 
   10483 	if test $found = "no" ; then
   10484 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10485 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10486 		fi
   10487 
   10488 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10489 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10490 		fi
   10491 
   10492 		CFLAGS="$CFLAGS -Werror"
   10493 
   10494 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10495 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10496 		cacheid=xorg_cv_cc_flag__Werror
   10497 		if eval \${$cacheid+:} false; then :
   10498   $as_echo_n "(cached) " >&6
   10499 else
   10500   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10501 /* end confdefs.h.  */
   10502 int i;
   10503 int
   10504 main ()
   10505 {
   10506 
   10507   ;
   10508   return 0;
   10509 }
   10510 _ACEOF
   10511 if ac_fn_c_try_link "$LINENO"; then :
   10512   eval $cacheid=yes
   10513 else
   10514   eval $cacheid=no
   10515 fi
   10516 rm -f core conftest.err conftest.$ac_objext \
   10517     conftest$ac_exeext conftest.$ac_ext
   10518 fi
   10519 
   10520 
   10521 		CFLAGS="$xorg_testset_save_CFLAGS"
   10522 
   10523 		eval supported=\$$cacheid
   10524 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10525 $as_echo "$supported" >&6; }
   10526 		if test "$supported" = "yes" ; then
   10527 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10528 			found="yes"
   10529 		fi
   10530 	fi
   10531 
   10532 	if test $found = "no" ; then
   10533 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10534 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10535 		fi
   10536 
   10537 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10538 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10539 		fi
   10540 
   10541 		CFLAGS="$CFLAGS -errwarn"
   10542 
   10543 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10544 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10545 		cacheid=xorg_cv_cc_flag__errwarn
   10546 		if eval \${$cacheid+:} false; then :
   10547   $as_echo_n "(cached) " >&6
   10548 else
   10549   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10550 /* end confdefs.h.  */
   10551 int i;
   10552 int
   10553 main ()
   10554 {
   10555 
   10556   ;
   10557   return 0;
   10558 }
   10559 _ACEOF
   10560 if ac_fn_c_try_link "$LINENO"; then :
   10561   eval $cacheid=yes
   10562 else
   10563   eval $cacheid=no
   10564 fi
   10565 rm -f core conftest.err conftest.$ac_objext \
   10566     conftest$ac_exeext conftest.$ac_ext
   10567 fi
   10568 
   10569 
   10570 		CFLAGS="$xorg_testset_save_CFLAGS"
   10571 
   10572 		eval supported=\$$cacheid
   10573 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10574 $as_echo "$supported" >&6; }
   10575 		if test "$supported" = "yes" ; then
   10576 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10577 			found="yes"
   10578 		fi
   10579 	fi
   10580 
   10581 
   10582 
   10583 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10584 # activate it with -Werror, so we add it here explicitly.
   10585 
   10586 
   10587 
   10588 
   10589 
   10590 
   10591 
   10592 
   10593 
   10594 
   10595 
   10596 
   10597 
   10598 xorg_testset_save_CFLAGS="$CFLAGS"
   10599 
   10600 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10601 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10602 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10603 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10604 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10605   $as_echo_n "(cached) " >&6
   10606 else
   10607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10608 /* end confdefs.h.  */
   10609 int i;
   10610 _ACEOF
   10611 if ac_fn_c_try_compile "$LINENO"; then :
   10612   xorg_cv_cc_flag_unknown_warning_option=yes
   10613 else
   10614   xorg_cv_cc_flag_unknown_warning_option=no
   10615 fi
   10616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10617 fi
   10618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10619 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10620 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10621 	CFLAGS="$xorg_testset_save_CFLAGS"
   10622 fi
   10623 
   10624 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10625 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10626 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10627 	fi
   10628 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10629 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10630 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10631 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10632   $as_echo_n "(cached) " >&6
   10633 else
   10634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10635 /* end confdefs.h.  */
   10636 int i;
   10637 _ACEOF
   10638 if ac_fn_c_try_compile "$LINENO"; then :
   10639   xorg_cv_cc_flag_unused_command_line_argument=yes
   10640 else
   10641   xorg_cv_cc_flag_unused_command_line_argument=no
   10642 fi
   10643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10644 fi
   10645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10646 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10647 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10648 	CFLAGS="$xorg_testset_save_CFLAGS"
   10649 fi
   10650 
   10651 found="no"
   10652 
   10653 	if test $found = "no" ; then
   10654 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10655 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10656 		fi
   10657 
   10658 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10659 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10660 		fi
   10661 
   10662 		CFLAGS="$CFLAGS -Werror=attributes"
   10663 
   10664 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10665 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10666 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10667 		if eval \${$cacheid+:} false; then :
   10668   $as_echo_n "(cached) " >&6
   10669 else
   10670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10671 /* end confdefs.h.  */
   10672 int i;
   10673 int
   10674 main ()
   10675 {
   10676 
   10677   ;
   10678   return 0;
   10679 }
   10680 _ACEOF
   10681 if ac_fn_c_try_link "$LINENO"; then :
   10682   eval $cacheid=yes
   10683 else
   10684   eval $cacheid=no
   10685 fi
   10686 rm -f core conftest.err conftest.$ac_objext \
   10687     conftest$ac_exeext conftest.$ac_ext
   10688 fi
   10689 
   10690 
   10691 		CFLAGS="$xorg_testset_save_CFLAGS"
   10692 
   10693 		eval supported=\$$cacheid
   10694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10695 $as_echo "$supported" >&6; }
   10696 		if test "$supported" = "yes" ; then
   10697 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10698 			found="yes"
   10699 		fi
   10700 	fi
   10701 
   10702 
   10703 
   10704 if test "x$STRICT_COMPILE" = "xyes"; then
   10705     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10706     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10707 fi
   10708 
   10709 
   10710 
   10711 
   10712 
   10713 
   10714 cat >>confdefs.h <<_ACEOF
   10715 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10716 _ACEOF
   10717 
   10718 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10719 	if test "x$PVM" = "x"; then
   10720 		PVM="0"
   10721 	fi
   10722 
   10723 cat >>confdefs.h <<_ACEOF
   10724 #define PACKAGE_VERSION_MINOR $PVM
   10725 _ACEOF
   10726 
   10727 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10728 	if test "x$PVP" = "x"; then
   10729 		PVP="0"
   10730 	fi
   10731 
   10732 cat >>confdefs.h <<_ACEOF
   10733 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10734 _ACEOF
   10735 
   10736 
   10737 
   10738 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10739 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10740 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10741 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10742 
   10743 
   10744 
   10745 
   10746 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10747 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10748 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10749 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10750 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10751 
   10752 
   10753 
   10754 
   10755 
   10756 
   10757 if test x$APP_MAN_SUFFIX = x    ; then
   10758     APP_MAN_SUFFIX=1
   10759 fi
   10760 if test x$APP_MAN_DIR = x    ; then
   10761     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10762 fi
   10763 
   10764 if test x$LIB_MAN_SUFFIX = x    ; then
   10765     LIB_MAN_SUFFIX=3
   10766 fi
   10767 if test x$LIB_MAN_DIR = x    ; then
   10768     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10769 fi
   10770 
   10771 if test x$FILE_MAN_SUFFIX = x    ; then
   10772     case $host_os in
   10773 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10774 	*)		FILE_MAN_SUFFIX=5  ;;
   10775     esac
   10776 fi
   10777 if test x$FILE_MAN_DIR = x    ; then
   10778     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10779 fi
   10780 
   10781 if test x$MISC_MAN_SUFFIX = x    ; then
   10782     case $host_os in
   10783 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10784 	*)		MISC_MAN_SUFFIX=7  ;;
   10785     esac
   10786 fi
   10787 if test x$MISC_MAN_DIR = x    ; then
   10788     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10789 fi
   10790 
   10791 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10792     case $host_os in
   10793 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10794 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10795     esac
   10796 fi
   10797 if test x$DRIVER_MAN_DIR = x    ; then
   10798     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10799 fi
   10800 
   10801 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10802     case $host_os in
   10803 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10804 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10805     esac
   10806 fi
   10807 if test x$ADMIN_MAN_DIR = x    ; then
   10808     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10809 fi
   10810 
   10811 
   10812 
   10813 
   10814 
   10815 
   10816 
   10817 
   10818 
   10819 
   10820 
   10821 
   10822 
   10823 
   10824 
   10825 XORG_MAN_PAGE="X Version 11"
   10826 
   10827 MAN_SUBSTS="\
   10828 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10829 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10830 	-e 's|__xservername__|Xorg|g' \
   10831 	-e 's|__xconfigfile__|xorg.conf|g' \
   10832 	-e 's|__projectroot__|\$(prefix)|g' \
   10833 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10834 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10835 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10836 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10837 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10838 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10839 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10840 
   10841 
   10842 
   10843 # Check whether --enable-silent-rules was given.
   10844 if test "${enable_silent_rules+set}" = set; then :
   10845   enableval=$enable_silent_rules;
   10846 fi
   10847 
   10848 case $enable_silent_rules in # (((
   10849   yes) AM_DEFAULT_VERBOSITY=0;;
   10850    no) AM_DEFAULT_VERBOSITY=1;;
   10851     *) AM_DEFAULT_VERBOSITY=0;;
   10852 esac
   10853 am_make=${MAKE-make}
   10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10855 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10856 if ${am_cv_make_support_nested_variables+:} false; then :
   10857   $as_echo_n "(cached) " >&6
   10858 else
   10859   if $as_echo 'TRUE=$(BAR$(V))
   10860 BAR0=false
   10861 BAR1=true
   10862 V=1
   10863 am__doit:
   10864 	@$(TRUE)
   10865 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10866   am_cv_make_support_nested_variables=yes
   10867 else
   10868   am_cv_make_support_nested_variables=no
   10869 fi
   10870 fi
   10871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10872 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10873 if test $am_cv_make_support_nested_variables = yes; then
   10874     AM_V='$(V)'
   10875   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10876 else
   10877   AM_V=$AM_DEFAULT_VERBOSITY
   10878   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10879 fi
   10880 AM_BACKSLASH='\'
   10881 
   10882 
   10883 
   10884 # Initialize libtool
   10885 # Check whether --enable-static was given.
   10886 if test "${enable_static+set}" = set; then :
   10887   enableval=$enable_static; p=${PACKAGE-default}
   10888     case $enableval in
   10889     yes) enable_static=yes ;;
   10890     no) enable_static=no ;;
   10891     *)
   10892      enable_static=no
   10893       # Look at the argument we got.  We use all the common list separators.
   10894       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   10895       for pkg in $enableval; do
   10896 	IFS=$lt_save_ifs
   10897 	if test "X$pkg" = "X$p"; then
   10898 	  enable_static=yes
   10899 	fi
   10900       done
   10901       IFS=$lt_save_ifs
   10902       ;;
   10903     esac
   10904 else
   10905   enable_static=no
   10906 fi
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 
   10914 
   10915 
   10916 case `pwd` in
   10917   *\ * | *\	*)
   10918     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10919 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10920 esac
   10921 
   10922 
   10923 
   10924 macro_version='2.4.6'
   10925 macro_revision='2.4.6'
   10926 
   10927 
   10928 
   10929 
   10930 
   10931 
   10932 
   10933 
   10934 
   10935 
   10936 
   10937 
   10938 
   10939 ltmain=$ac_aux_dir/ltmain.sh
   10940 
   10941 # Backslashify metacharacters that are still active within
   10942 # double-quoted strings.
   10943 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10944 
   10945 # Same as above, but do not quote variable references.
   10946 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10947 
   10948 # Sed substitution to delay expansion of an escaped shell variable in a
   10949 # double_quote_subst'ed string.
   10950 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10951 
   10952 # Sed substitution to delay expansion of an escaped single quote.
   10953 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10954 
   10955 # Sed substitution to avoid accidental globbing in evaled expressions
   10956 no_glob_subst='s/\*/\\\*/g'
   10957 
   10958 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10959 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10960 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10961 
   10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10963 $as_echo_n "checking how to print strings... " >&6; }
   10964 # Test print first, because it will be a builtin if present.
   10965 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10966    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10967   ECHO='print -r --'
   10968 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10969   ECHO='printf %s\n'
   10970 else
   10971   # Use this function as a fallback that always works.
   10972   func_fallback_echo ()
   10973   {
   10974     eval 'cat <<_LTECHO_EOF
   10975 $1
   10976 _LTECHO_EOF'
   10977   }
   10978   ECHO='func_fallback_echo'
   10979 fi
   10980 
   10981 # func_echo_all arg...
   10982 # Invoke $ECHO with all args, space-separated.
   10983 func_echo_all ()
   10984 {
   10985     $ECHO ""
   10986 }
   10987 
   10988 case $ECHO in
   10989   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10990 $as_echo "printf" >&6; } ;;
   10991   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10992 $as_echo "print -r" >&6; } ;;
   10993   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10994 $as_echo "cat" >&6; } ;;
   10995 esac
   10996 
   10997 
   10998 
   10999 
   11000 
   11001 
   11002 
   11003 
   11004 
   11005 
   11006 
   11007 
   11008 
   11009 
   11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   11011 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   11012 if ${ac_cv_path_SED+:} false; then :
   11013   $as_echo_n "(cached) " >&6
   11014 else
   11015             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   11016      for ac_i in 1 2 3 4 5 6 7; do
   11017        ac_script="$ac_script$as_nl$ac_script"
   11018      done
   11019      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   11020      { ac_script=; unset ac_script;}
   11021      if test -z "$SED"; then
   11022   ac_path_SED_found=false
   11023   # Loop through the user's path and test for each of PROGNAME-LIST
   11024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11025 for as_dir in $PATH
   11026 do
   11027   IFS=$as_save_IFS
   11028   test -z "$as_dir" && as_dir=.
   11029     for ac_prog in sed gsed; do
   11030     for ac_exec_ext in '' $ac_executable_extensions; do
   11031       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11032       as_fn_executable_p "$ac_path_SED" || continue
   11033 # Check for GNU ac_path_SED and select it if it is found.
   11034   # Check for GNU $ac_path_SED
   11035 case `"$ac_path_SED" --version 2>&1` in
   11036 *GNU*)
   11037   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11038 *)
   11039   ac_count=0
   11040   $as_echo_n 0123456789 >"conftest.in"
   11041   while :
   11042   do
   11043     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11044     mv "conftest.tmp" "conftest.in"
   11045     cp "conftest.in" "conftest.nl"
   11046     $as_echo '' >> "conftest.nl"
   11047     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11048     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11049     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11050     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11051       # Best one so far, save it but keep looking for a better one
   11052       ac_cv_path_SED="$ac_path_SED"
   11053       ac_path_SED_max=$ac_count
   11054     fi
   11055     # 10*(2^10) chars as input seems more than enough
   11056     test $ac_count -gt 10 && break
   11057   done
   11058   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11059 esac
   11060 
   11061       $ac_path_SED_found && break 3
   11062     done
   11063   done
   11064   done
   11065 IFS=$as_save_IFS
   11066   if test -z "$ac_cv_path_SED"; then
   11067     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11068   fi
   11069 else
   11070   ac_cv_path_SED=$SED
   11071 fi
   11072 
   11073 fi
   11074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11075 $as_echo "$ac_cv_path_SED" >&6; }
   11076  SED="$ac_cv_path_SED"
   11077   rm -f conftest.sed
   11078 
   11079 test -z "$SED" && SED=sed
   11080 Xsed="$SED -e 1s/^X//"
   11081 
   11082 
   11083 
   11084 
   11085 
   11086 
   11087 
   11088 
   11089 
   11090 
   11091 
   11092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11093 $as_echo_n "checking for fgrep... " >&6; }
   11094 if ${ac_cv_path_FGREP+:} false; then :
   11095   $as_echo_n "(cached) " >&6
   11096 else
   11097   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11098    then ac_cv_path_FGREP="$GREP -F"
   11099    else
   11100      if test -z "$FGREP"; then
   11101   ac_path_FGREP_found=false
   11102   # Loop through the user's path and test for each of PROGNAME-LIST
   11103   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11104 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11105 do
   11106   IFS=$as_save_IFS
   11107   test -z "$as_dir" && as_dir=.
   11108     for ac_prog in fgrep; do
   11109     for ac_exec_ext in '' $ac_executable_extensions; do
   11110       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11111       as_fn_executable_p "$ac_path_FGREP" || continue
   11112 # Check for GNU ac_path_FGREP and select it if it is found.
   11113   # Check for GNU $ac_path_FGREP
   11114 case `"$ac_path_FGREP" --version 2>&1` in
   11115 *GNU*)
   11116   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11117 *)
   11118   ac_count=0
   11119   $as_echo_n 0123456789 >"conftest.in"
   11120   while :
   11121   do
   11122     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11123     mv "conftest.tmp" "conftest.in"
   11124     cp "conftest.in" "conftest.nl"
   11125     $as_echo 'FGREP' >> "conftest.nl"
   11126     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11127     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11128     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11129     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11130       # Best one so far, save it but keep looking for a better one
   11131       ac_cv_path_FGREP="$ac_path_FGREP"
   11132       ac_path_FGREP_max=$ac_count
   11133     fi
   11134     # 10*(2^10) chars as input seems more than enough
   11135     test $ac_count -gt 10 && break
   11136   done
   11137   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11138 esac
   11139 
   11140       $ac_path_FGREP_found && break 3
   11141     done
   11142   done
   11143   done
   11144 IFS=$as_save_IFS
   11145   if test -z "$ac_cv_path_FGREP"; then
   11146     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11147   fi
   11148 else
   11149   ac_cv_path_FGREP=$FGREP
   11150 fi
   11151 
   11152    fi
   11153 fi
   11154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11155 $as_echo "$ac_cv_path_FGREP" >&6; }
   11156  FGREP="$ac_cv_path_FGREP"
   11157 
   11158 
   11159 test -z "$GREP" && GREP=grep
   11160 
   11161 
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 
   11169 
   11170 
   11171 
   11172 
   11173 
   11174 
   11175 
   11176 
   11177 
   11178 
   11179 # Check whether --with-gnu-ld was given.
   11180 if test "${with_gnu_ld+set}" = set; then :
   11181   withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
   11182 else
   11183   with_gnu_ld=no
   11184 fi
   11185 
   11186 ac_prog=ld
   11187 if test yes = "$GCC"; then
   11188   # Check if gcc -print-prog-name=ld gives a path.
   11189   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11190 $as_echo_n "checking for ld used by $CC... " >&6; }
   11191   case $host in
   11192   *-*-mingw*)
   11193     # gcc leaves a trailing carriage return, which upsets mingw
   11194     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11195   *)
   11196     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11197   esac
   11198   case $ac_prog in
   11199     # Accept absolute paths.
   11200     [\\/]* | ?:[\\/]*)
   11201       re_direlt='/[^/][^/]*/\.\./'
   11202       # Canonicalize the pathname of ld
   11203       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11204       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11205 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11206       done
   11207       test -z "$LD" && LD=$ac_prog
   11208       ;;
   11209   "")
   11210     # If it fails, then pretend we aren't using GCC.
   11211     ac_prog=ld
   11212     ;;
   11213   *)
   11214     # If it is relative, then search for the first ld in PATH.
   11215     with_gnu_ld=unknown
   11216     ;;
   11217   esac
   11218 elif test yes = "$with_gnu_ld"; then
   11219   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11220 $as_echo_n "checking for GNU ld... " >&6; }
   11221 else
   11222   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11223 $as_echo_n "checking for non-GNU ld... " >&6; }
   11224 fi
   11225 if ${lt_cv_path_LD+:} false; then :
   11226   $as_echo_n "(cached) " >&6
   11227 else
   11228   if test -z "$LD"; then
   11229   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11230   for ac_dir in $PATH; do
   11231     IFS=$lt_save_ifs
   11232     test -z "$ac_dir" && ac_dir=.
   11233     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11234       lt_cv_path_LD=$ac_dir/$ac_prog
   11235       # Check to see if the program is GNU ld.  I'd rather use --version,
   11236       # but apparently some variants of GNU ld only accept -v.
   11237       # Break only if it was the GNU/non-GNU ld that we prefer.
   11238       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11239       *GNU* | *'with BFD'*)
   11240 	test no != "$with_gnu_ld" && break
   11241 	;;
   11242       *)
   11243 	test yes != "$with_gnu_ld" && break
   11244 	;;
   11245       esac
   11246     fi
   11247   done
   11248   IFS=$lt_save_ifs
   11249 else
   11250   lt_cv_path_LD=$LD # Let the user override the test with a path.
   11251 fi
   11252 fi
   11253 
   11254 LD=$lt_cv_path_LD
   11255 if test -n "$LD"; then
   11256   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11257 $as_echo "$LD" >&6; }
   11258 else
   11259   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11260 $as_echo "no" >&6; }
   11261 fi
   11262 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11264 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11265 if ${lt_cv_prog_gnu_ld+:} false; then :
   11266   $as_echo_n "(cached) " >&6
   11267 else
   11268   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11269 case `$LD -v 2>&1 </dev/null` in
   11270 *GNU* | *'with BFD'*)
   11271   lt_cv_prog_gnu_ld=yes
   11272   ;;
   11273 *)
   11274   lt_cv_prog_gnu_ld=no
   11275   ;;
   11276 esac
   11277 fi
   11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11279 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11280 with_gnu_ld=$lt_cv_prog_gnu_ld
   11281 
   11282 
   11283 
   11284 
   11285 
   11286 
   11287 
   11288 
   11289 
   11290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11291 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11292 if ${lt_cv_path_NM+:} false; then :
   11293   $as_echo_n "(cached) " >&6
   11294 else
   11295   if test -n "$NM"; then
   11296   # Let the user override the test.
   11297   lt_cv_path_NM=$NM
   11298 else
   11299   lt_nm_to_check=${ac_tool_prefix}nm
   11300   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11301     lt_nm_to_check="$lt_nm_to_check nm"
   11302   fi
   11303   for lt_tmp_nm in $lt_nm_to_check; do
   11304     lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   11305     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11306       IFS=$lt_save_ifs
   11307       test -z "$ac_dir" && ac_dir=.
   11308       tmp_nm=$ac_dir/$lt_tmp_nm
   11309       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
   11310 	# Check to see if the nm accepts a BSD-compat flag.
   11311 	# Adding the 'sed 1q' prevents false positives on HP-UX, which says:
   11312 	#   nm: unknown option "B" ignored
   11313 	# Tru64's nm complains that /dev/null is an invalid object file
   11314 	# MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
   11315 	case $build_os in
   11316 	mingw*) lt_bad_file=conftest.nm/nofile ;;
   11317 	*) lt_bad_file=/dev/null ;;
   11318 	esac
   11319 	case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
   11320 	*$lt_bad_file* | *'Invalid file or object type'*)
   11321 	  lt_cv_path_NM="$tmp_nm -B"
   11322 	  break 2
   11323 	  ;;
   11324 	*)
   11325 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11326 	  */dev/null*)
   11327 	    lt_cv_path_NM="$tmp_nm -p"
   11328 	    break 2
   11329 	    ;;
   11330 	  *)
   11331 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11332 	    continue # so that we can try to find one that supports BSD flags
   11333 	    ;;
   11334 	  esac
   11335 	  ;;
   11336 	esac
   11337       fi
   11338     done
   11339     IFS=$lt_save_ifs
   11340   done
   11341   : ${lt_cv_path_NM=no}
   11342 fi
   11343 fi
   11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11345 $as_echo "$lt_cv_path_NM" >&6; }
   11346 if test no != "$lt_cv_path_NM"; then
   11347   NM=$lt_cv_path_NM
   11348 else
   11349   # Didn't find any BSD compatible name lister, look for dumpbin.
   11350   if test -n "$DUMPBIN"; then :
   11351     # Let the user override the test.
   11352   else
   11353     if test -n "$ac_tool_prefix"; then
   11354   for ac_prog in dumpbin "link -dump"
   11355   do
   11356     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11357 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11359 $as_echo_n "checking for $ac_word... " >&6; }
   11360 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11361   $as_echo_n "(cached) " >&6
   11362 else
   11363   if test -n "$DUMPBIN"; then
   11364   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11365 else
   11366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11367 for as_dir in $PATH
   11368 do
   11369   IFS=$as_save_IFS
   11370   test -z "$as_dir" && as_dir=.
   11371     for ac_exec_ext in '' $ac_executable_extensions; do
   11372   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11373     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11374     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11375     break 2
   11376   fi
   11377 done
   11378   done
   11379 IFS=$as_save_IFS
   11380 
   11381 fi
   11382 fi
   11383 DUMPBIN=$ac_cv_prog_DUMPBIN
   11384 if test -n "$DUMPBIN"; then
   11385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11386 $as_echo "$DUMPBIN" >&6; }
   11387 else
   11388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11389 $as_echo "no" >&6; }
   11390 fi
   11391 
   11392 
   11393     test -n "$DUMPBIN" && break
   11394   done
   11395 fi
   11396 if test -z "$DUMPBIN"; then
   11397   ac_ct_DUMPBIN=$DUMPBIN
   11398   for ac_prog in dumpbin "link -dump"
   11399 do
   11400   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11401 set dummy $ac_prog; ac_word=$2
   11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11403 $as_echo_n "checking for $ac_word... " >&6; }
   11404 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11405   $as_echo_n "(cached) " >&6
   11406 else
   11407   if test -n "$ac_ct_DUMPBIN"; then
   11408   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11409 else
   11410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11411 for as_dir in $PATH
   11412 do
   11413   IFS=$as_save_IFS
   11414   test -z "$as_dir" && as_dir=.
   11415     for ac_exec_ext in '' $ac_executable_extensions; do
   11416   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11417     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11418     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11419     break 2
   11420   fi
   11421 done
   11422   done
   11423 IFS=$as_save_IFS
   11424 
   11425 fi
   11426 fi
   11427 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11428 if test -n "$ac_ct_DUMPBIN"; then
   11429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11430 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11431 else
   11432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11433 $as_echo "no" >&6; }
   11434 fi
   11435 
   11436 
   11437   test -n "$ac_ct_DUMPBIN" && break
   11438 done
   11439 
   11440   if test "x$ac_ct_DUMPBIN" = x; then
   11441     DUMPBIN=":"
   11442   else
   11443     case $cross_compiling:$ac_tool_warned in
   11444 yes:)
   11445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11447 ac_tool_warned=yes ;;
   11448 esac
   11449     DUMPBIN=$ac_ct_DUMPBIN
   11450   fi
   11451 fi
   11452 
   11453     case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
   11454     *COFF*)
   11455       DUMPBIN="$DUMPBIN -symbols -headers"
   11456       ;;
   11457     *)
   11458       DUMPBIN=:
   11459       ;;
   11460     esac
   11461   fi
   11462 
   11463   if test : != "$DUMPBIN"; then
   11464     NM=$DUMPBIN
   11465   fi
   11466 fi
   11467 test -z "$NM" && NM=nm
   11468 
   11469 
   11470 
   11471 
   11472 
   11473 
   11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11475 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11476 if ${lt_cv_nm_interface+:} false; then :
   11477   $as_echo_n "(cached) " >&6
   11478 else
   11479   lt_cv_nm_interface="BSD nm"
   11480   echo "int some_variable = 0;" > conftest.$ac_ext
   11481   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11482   (eval "$ac_compile" 2>conftest.err)
   11483   cat conftest.err >&5
   11484   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11485   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11486   cat conftest.err >&5
   11487   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11488   cat conftest.out >&5
   11489   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11490     lt_cv_nm_interface="MS dumpbin"
   11491   fi
   11492   rm -f conftest*
   11493 fi
   11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11495 $as_echo "$lt_cv_nm_interface" >&6; }
   11496 
   11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11498 $as_echo_n "checking whether ln -s works... " >&6; }
   11499 LN_S=$as_ln_s
   11500 if test "$LN_S" = "ln -s"; then
   11501   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11502 $as_echo "yes" >&6; }
   11503 else
   11504   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11505 $as_echo "no, using $LN_S" >&6; }
   11506 fi
   11507 
   11508 # find the maximum length of command line arguments
   11509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11510 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11511 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11512   $as_echo_n "(cached) " >&6
   11513 else
   11514     i=0
   11515   teststring=ABCD
   11516 
   11517   case $build_os in
   11518   msdosdjgpp*)
   11519     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11520     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11521     # during glob expansion).  Even if it were fixed, the result of this
   11522     # check would be larger than it should be.
   11523     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11524     ;;
   11525 
   11526   gnu*)
   11527     # Under GNU Hurd, this test is not required because there is
   11528     # no limit to the length of command line arguments.
   11529     # Libtool will interpret -1 as no limit whatsoever
   11530     lt_cv_sys_max_cmd_len=-1;
   11531     ;;
   11532 
   11533   cygwin* | mingw* | cegcc*)
   11534     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11535     # about 5 minutes as the teststring grows exponentially.
   11536     # Worse, since 9x/ME are not pre-emptively multitasking,
   11537     # you end up with a "frozen" computer, even though with patience
   11538     # the test eventually succeeds (with a max line length of 256k).
   11539     # Instead, let's just punt: use the minimum linelength reported by
   11540     # all of the supported platforms: 8192 (on NT/2K/XP).
   11541     lt_cv_sys_max_cmd_len=8192;
   11542     ;;
   11543 
   11544   mint*)
   11545     # On MiNT this can take a long time and run out of memory.
   11546     lt_cv_sys_max_cmd_len=8192;
   11547     ;;
   11548 
   11549   amigaos*)
   11550     # On AmigaOS with pdksh, this test takes hours, literally.
   11551     # So we just punt and use a minimum line length of 8192.
   11552     lt_cv_sys_max_cmd_len=8192;
   11553     ;;
   11554 
   11555   bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
   11556     # This has been around since 386BSD, at least.  Likely further.
   11557     if test -x /sbin/sysctl; then
   11558       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11559     elif test -x /usr/sbin/sysctl; then
   11560       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11561     else
   11562       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11563     fi
   11564     # And add a safety zone
   11565     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11566     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11567     ;;
   11568 
   11569   interix*)
   11570     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11571     lt_cv_sys_max_cmd_len=196608
   11572     ;;
   11573 
   11574   os2*)
   11575     # The test takes a long time on OS/2.
   11576     lt_cv_sys_max_cmd_len=8192
   11577     ;;
   11578 
   11579   osf*)
   11580     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11581     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11582     # nice to cause kernel panics so lets avoid the loop below.
   11583     # First set a reasonable default.
   11584     lt_cv_sys_max_cmd_len=16384
   11585     #
   11586     if test -x /sbin/sysconfig; then
   11587       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11588         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11589       esac
   11590     fi
   11591     ;;
   11592   sco3.2v5*)
   11593     lt_cv_sys_max_cmd_len=102400
   11594     ;;
   11595   sysv5* | sco5v6* | sysv4.2uw2*)
   11596     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11597     if test -n "$kargmax"; then
   11598       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11599     else
   11600       lt_cv_sys_max_cmd_len=32768
   11601     fi
   11602     ;;
   11603   *)
   11604     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11605     if test -n "$lt_cv_sys_max_cmd_len" && \
   11606        test undefined != "$lt_cv_sys_max_cmd_len"; then
   11607       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11608       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11609     else
   11610       # Make teststring a little bigger before we do anything with it.
   11611       # a 1K string should be a reasonable start.
   11612       for i in 1 2 3 4 5 6 7 8; do
   11613         teststring=$teststring$teststring
   11614       done
   11615       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11616       # If test is not a shell built-in, we'll probably end up computing a
   11617       # maximum length that is only half of the actual maximum length, but
   11618       # we can't tell.
   11619       while { test X`env echo "$teststring$teststring" 2>/dev/null` \
   11620 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11621 	      test 17 != "$i" # 1/2 MB should be enough
   11622       do
   11623         i=`expr $i + 1`
   11624         teststring=$teststring$teststring
   11625       done
   11626       # Only check the string length outside the loop.
   11627       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11628       teststring=
   11629       # Add a significant safety factor because C++ compilers can tack on
   11630       # massive amounts of additional arguments before passing them to the
   11631       # linker.  It appears as though 1/2 is a usable value.
   11632       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11633     fi
   11634     ;;
   11635   esac
   11636 
   11637 fi
   11638 
   11639 if test -n "$lt_cv_sys_max_cmd_len"; then
   11640   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11641 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11642 else
   11643   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11644 $as_echo "none" >&6; }
   11645 fi
   11646 max_cmd_len=$lt_cv_sys_max_cmd_len
   11647 
   11648 
   11649 
   11650 
   11651 
   11652 
   11653 : ${CP="cp -f"}
   11654 : ${MV="mv -f"}
   11655 : ${RM="rm -f"}
   11656 
   11657 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11658   lt_unset=unset
   11659 else
   11660   lt_unset=false
   11661 fi
   11662 
   11663 
   11664 
   11665 
   11666 
   11667 # test EBCDIC or ASCII
   11668 case `echo X|tr X '\101'` in
   11669  A) # ASCII based system
   11670     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11671   lt_SP2NL='tr \040 \012'
   11672   lt_NL2SP='tr \015\012 \040\040'
   11673   ;;
   11674  *) # EBCDIC based system
   11675   lt_SP2NL='tr \100 \n'
   11676   lt_NL2SP='tr \r\n \100\100'
   11677   ;;
   11678 esac
   11679 
   11680 
   11681 
   11682 
   11683 
   11684 
   11685 
   11686 
   11687 
   11688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11689 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11690 if ${lt_cv_to_host_file_cmd+:} false; then :
   11691   $as_echo_n "(cached) " >&6
   11692 else
   11693   case $host in
   11694   *-*-mingw* )
   11695     case $build in
   11696       *-*-mingw* ) # actually msys
   11697         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11698         ;;
   11699       *-*-cygwin* )
   11700         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11701         ;;
   11702       * ) # otherwise, assume *nix
   11703         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11704         ;;
   11705     esac
   11706     ;;
   11707   *-*-cygwin* )
   11708     case $build in
   11709       *-*-mingw* ) # actually msys
   11710         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11711         ;;
   11712       *-*-cygwin* )
   11713         lt_cv_to_host_file_cmd=func_convert_file_noop
   11714         ;;
   11715       * ) # otherwise, assume *nix
   11716         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11717         ;;
   11718     esac
   11719     ;;
   11720   * ) # unhandled hosts (and "normal" native builds)
   11721     lt_cv_to_host_file_cmd=func_convert_file_noop
   11722     ;;
   11723 esac
   11724 
   11725 fi
   11726 
   11727 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11729 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11730 
   11731 
   11732 
   11733 
   11734 
   11735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11736 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11737 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11738   $as_echo_n "(cached) " >&6
   11739 else
   11740   #assume ordinary cross tools, or native build.
   11741 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11742 case $host in
   11743   *-*-mingw* )
   11744     case $build in
   11745       *-*-mingw* ) # actually msys
   11746         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11747         ;;
   11748     esac
   11749     ;;
   11750 esac
   11751 
   11752 fi
   11753 
   11754 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11756 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11757 
   11758 
   11759 
   11760 
   11761 
   11762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11763 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11764 if ${lt_cv_ld_reload_flag+:} false; then :
   11765   $as_echo_n "(cached) " >&6
   11766 else
   11767   lt_cv_ld_reload_flag='-r'
   11768 fi
   11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11770 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11771 reload_flag=$lt_cv_ld_reload_flag
   11772 case $reload_flag in
   11773 "" | " "*) ;;
   11774 *) reload_flag=" $reload_flag" ;;
   11775 esac
   11776 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11777 case $host_os in
   11778   cygwin* | mingw* | pw32* | cegcc*)
   11779     if test yes != "$GCC"; then
   11780       reload_cmds=false
   11781     fi
   11782     ;;
   11783   darwin*)
   11784     if test yes = "$GCC"; then
   11785       reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
   11786     else
   11787       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11788     fi
   11789     ;;
   11790 esac
   11791 
   11792 
   11793 
   11794 
   11795 
   11796 
   11797 
   11798 
   11799 
   11800 if test -n "$ac_tool_prefix"; then
   11801   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11802 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11804 $as_echo_n "checking for $ac_word... " >&6; }
   11805 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11806   $as_echo_n "(cached) " >&6
   11807 else
   11808   if test -n "$OBJDUMP"; then
   11809   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11810 else
   11811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11812 for as_dir in $PATH
   11813 do
   11814   IFS=$as_save_IFS
   11815   test -z "$as_dir" && as_dir=.
   11816     for ac_exec_ext in '' $ac_executable_extensions; do
   11817   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11818     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11819     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11820     break 2
   11821   fi
   11822 done
   11823   done
   11824 IFS=$as_save_IFS
   11825 
   11826 fi
   11827 fi
   11828 OBJDUMP=$ac_cv_prog_OBJDUMP
   11829 if test -n "$OBJDUMP"; then
   11830   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11831 $as_echo "$OBJDUMP" >&6; }
   11832 else
   11833   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11834 $as_echo "no" >&6; }
   11835 fi
   11836 
   11837 
   11838 fi
   11839 if test -z "$ac_cv_prog_OBJDUMP"; then
   11840   ac_ct_OBJDUMP=$OBJDUMP
   11841   # Extract the first word of "objdump", so it can be a program name with args.
   11842 set dummy objdump; ac_word=$2
   11843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11844 $as_echo_n "checking for $ac_word... " >&6; }
   11845 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11846   $as_echo_n "(cached) " >&6
   11847 else
   11848   if test -n "$ac_ct_OBJDUMP"; then
   11849   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11850 else
   11851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11852 for as_dir in $PATH
   11853 do
   11854   IFS=$as_save_IFS
   11855   test -z "$as_dir" && as_dir=.
   11856     for ac_exec_ext in '' $ac_executable_extensions; do
   11857   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11858     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11859     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11860     break 2
   11861   fi
   11862 done
   11863   done
   11864 IFS=$as_save_IFS
   11865 
   11866 fi
   11867 fi
   11868 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11869 if test -n "$ac_ct_OBJDUMP"; then
   11870   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11871 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11872 else
   11873   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11874 $as_echo "no" >&6; }
   11875 fi
   11876 
   11877   if test "x$ac_ct_OBJDUMP" = x; then
   11878     OBJDUMP="false"
   11879   else
   11880     case $cross_compiling:$ac_tool_warned in
   11881 yes:)
   11882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11884 ac_tool_warned=yes ;;
   11885 esac
   11886     OBJDUMP=$ac_ct_OBJDUMP
   11887   fi
   11888 else
   11889   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11890 fi
   11891 
   11892 test -z "$OBJDUMP" && OBJDUMP=objdump
   11893 
   11894 
   11895 
   11896 
   11897 
   11898 
   11899 
   11900 
   11901 
   11902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11903 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11904 if ${lt_cv_deplibs_check_method+:} false; then :
   11905   $as_echo_n "(cached) " >&6
   11906 else
   11907   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11908 lt_cv_file_magic_test_file=
   11909 lt_cv_deplibs_check_method='unknown'
   11910 # Need to set the preceding variable on all platforms that support
   11911 # interlibrary dependencies.
   11912 # 'none' -- dependencies not supported.
   11913 # 'unknown' -- same as none, but documents that we really don't know.
   11914 # 'pass_all' -- all dependencies passed with no checks.
   11915 # 'test_compile' -- check by making test program.
   11916 # 'file_magic [[regex]]' -- check by looking for files in library path
   11917 # that responds to the $file_magic_cmd with a given extended regex.
   11918 # If you have 'file' or equivalent on your system and you're not sure
   11919 # whether 'pass_all' will *always* work, you probably want this one.
   11920 
   11921 case $host_os in
   11922 aix[4-9]*)
   11923   lt_cv_deplibs_check_method=pass_all
   11924   ;;
   11925 
   11926 beos*)
   11927   lt_cv_deplibs_check_method=pass_all
   11928   ;;
   11929 
   11930 bsdi[45]*)
   11931   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11932   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11933   lt_cv_file_magic_test_file=/shlib/libc.so
   11934   ;;
   11935 
   11936 cygwin*)
   11937   # func_win32_libid is a shell function defined in ltmain.sh
   11938   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11939   lt_cv_file_magic_cmd='func_win32_libid'
   11940   ;;
   11941 
   11942 mingw* | pw32*)
   11943   # Base MSYS/MinGW do not provide the 'file' command needed by
   11944   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11945   # unless we find 'file', for example because we are cross-compiling.
   11946   if ( file / ) >/dev/null 2>&1; then
   11947     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11948     lt_cv_file_magic_cmd='func_win32_libid'
   11949   else
   11950     # Keep this pattern in sync with the one in func_win32_libid.
   11951     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11952     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11953   fi
   11954   ;;
   11955 
   11956 cegcc*)
   11957   # use the weaker test based on 'objdump'. See mingw*.
   11958   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11959   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11960   ;;
   11961 
   11962 darwin* | rhapsody*)
   11963   lt_cv_deplibs_check_method=pass_all
   11964   ;;
   11965 
   11966 freebsd* | dragonfly*)
   11967   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11968     case $host_cpu in
   11969     i*86 )
   11970       # Not sure whether the presence of OpenBSD here was a mistake.
   11971       # Let's accept both of them until this is cleared up.
   11972       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11973       lt_cv_file_magic_cmd=/usr/bin/file
   11974       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11975       ;;
   11976     esac
   11977   else
   11978     lt_cv_deplibs_check_method=pass_all
   11979   fi
   11980   ;;
   11981 
   11982 haiku*)
   11983   lt_cv_deplibs_check_method=pass_all
   11984   ;;
   11985 
   11986 hpux10.20* | hpux11*)
   11987   lt_cv_file_magic_cmd=/usr/bin/file
   11988   case $host_cpu in
   11989   ia64*)
   11990     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11991     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11992     ;;
   11993   hppa*64*)
   11994     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]'
   11995     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11996     ;;
   11997   *)
   11998     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11999     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   12000     ;;
   12001   esac
   12002   ;;
   12003 
   12004 interix[3-9]*)
   12005   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12006   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12007   ;;
   12008 
   12009 irix5* | irix6* | nonstopux*)
   12010   case $LD in
   12011   *-32|*"-32 ") libmagic=32-bit;;
   12012   *-n32|*"-n32 ") libmagic=N32;;
   12013   *-64|*"-64 ") libmagic=64-bit;;
   12014   *) libmagic=never-match;;
   12015   esac
   12016   lt_cv_deplibs_check_method=pass_all
   12017   ;;
   12018 
   12019 # This must be glibc/ELF.
   12020 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12021   lt_cv_deplibs_check_method=pass_all
   12022   ;;
   12023 
   12024 netbsd*)
   12025   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12026     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12027   else
   12028     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12029   fi
   12030   ;;
   12031 
   12032 newos6*)
   12033   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12034   lt_cv_file_magic_cmd=/usr/bin/file
   12035   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12036   ;;
   12037 
   12038 *nto* | *qnx*)
   12039   lt_cv_deplibs_check_method=pass_all
   12040   ;;
   12041 
   12042 openbsd* | bitrig*)
   12043   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   12044     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12045   else
   12046     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12047   fi
   12048   ;;
   12049 
   12050 osf3* | osf4* | osf5*)
   12051   lt_cv_deplibs_check_method=pass_all
   12052   ;;
   12053 
   12054 rdos*)
   12055   lt_cv_deplibs_check_method=pass_all
   12056   ;;
   12057 
   12058 solaris*)
   12059   lt_cv_deplibs_check_method=pass_all
   12060   ;;
   12061 
   12062 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12063   lt_cv_deplibs_check_method=pass_all
   12064   ;;
   12065 
   12066 sysv4 | sysv4.3*)
   12067   case $host_vendor in
   12068   motorola)
   12069     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]'
   12070     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12071     ;;
   12072   ncr)
   12073     lt_cv_deplibs_check_method=pass_all
   12074     ;;
   12075   sequent)
   12076     lt_cv_file_magic_cmd='/bin/file'
   12077     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12078     ;;
   12079   sni)
   12080     lt_cv_file_magic_cmd='/bin/file'
   12081     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12082     lt_cv_file_magic_test_file=/lib/libc.so
   12083     ;;
   12084   siemens)
   12085     lt_cv_deplibs_check_method=pass_all
   12086     ;;
   12087   pc)
   12088     lt_cv_deplibs_check_method=pass_all
   12089     ;;
   12090   esac
   12091   ;;
   12092 
   12093 tpf*)
   12094   lt_cv_deplibs_check_method=pass_all
   12095   ;;
   12096 os2*)
   12097   lt_cv_deplibs_check_method=pass_all
   12098   ;;
   12099 esac
   12100 
   12101 fi
   12102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12103 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12104 
   12105 file_magic_glob=
   12106 want_nocaseglob=no
   12107 if test "$build" = "$host"; then
   12108   case $host_os in
   12109   mingw* | pw32*)
   12110     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12111       want_nocaseglob=yes
   12112     else
   12113       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12114     fi
   12115     ;;
   12116   esac
   12117 fi
   12118 
   12119 file_magic_cmd=$lt_cv_file_magic_cmd
   12120 deplibs_check_method=$lt_cv_deplibs_check_method
   12121 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 
   12136 
   12137 
   12138 
   12139 
   12140 
   12141 
   12142 
   12143 
   12144 if test -n "$ac_tool_prefix"; then
   12145   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12146 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12148 $as_echo_n "checking for $ac_word... " >&6; }
   12149 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12150   $as_echo_n "(cached) " >&6
   12151 else
   12152   if test -n "$DLLTOOL"; then
   12153   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12154 else
   12155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12156 for as_dir in $PATH
   12157 do
   12158   IFS=$as_save_IFS
   12159   test -z "$as_dir" && as_dir=.
   12160     for ac_exec_ext in '' $ac_executable_extensions; do
   12161   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12162     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12163     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12164     break 2
   12165   fi
   12166 done
   12167   done
   12168 IFS=$as_save_IFS
   12169 
   12170 fi
   12171 fi
   12172 DLLTOOL=$ac_cv_prog_DLLTOOL
   12173 if test -n "$DLLTOOL"; then
   12174   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12175 $as_echo "$DLLTOOL" >&6; }
   12176 else
   12177   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12178 $as_echo "no" >&6; }
   12179 fi
   12180 
   12181 
   12182 fi
   12183 if test -z "$ac_cv_prog_DLLTOOL"; then
   12184   ac_ct_DLLTOOL=$DLLTOOL
   12185   # Extract the first word of "dlltool", so it can be a program name with args.
   12186 set dummy dlltool; ac_word=$2
   12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12188 $as_echo_n "checking for $ac_word... " >&6; }
   12189 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12190   $as_echo_n "(cached) " >&6
   12191 else
   12192   if test -n "$ac_ct_DLLTOOL"; then
   12193   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12194 else
   12195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12196 for as_dir in $PATH
   12197 do
   12198   IFS=$as_save_IFS
   12199   test -z "$as_dir" && as_dir=.
   12200     for ac_exec_ext in '' $ac_executable_extensions; do
   12201   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12202     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12203     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12204     break 2
   12205   fi
   12206 done
   12207   done
   12208 IFS=$as_save_IFS
   12209 
   12210 fi
   12211 fi
   12212 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12213 if test -n "$ac_ct_DLLTOOL"; then
   12214   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12215 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12216 else
   12217   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12218 $as_echo "no" >&6; }
   12219 fi
   12220 
   12221   if test "x$ac_ct_DLLTOOL" = x; then
   12222     DLLTOOL="false"
   12223   else
   12224     case $cross_compiling:$ac_tool_warned in
   12225 yes:)
   12226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12228 ac_tool_warned=yes ;;
   12229 esac
   12230     DLLTOOL=$ac_ct_DLLTOOL
   12231   fi
   12232 else
   12233   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12234 fi
   12235 
   12236 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12237 
   12238 
   12239 
   12240 
   12241 
   12242 
   12243 
   12244 
   12245 
   12246 
   12247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12248 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12249 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12250   $as_echo_n "(cached) " >&6
   12251 else
   12252   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12253 
   12254 case $host_os in
   12255 cygwin* | mingw* | pw32* | cegcc*)
   12256   # two different shell functions defined in ltmain.sh;
   12257   # decide which one to use based on capabilities of $DLLTOOL
   12258   case `$DLLTOOL --help 2>&1` in
   12259   *--identify-strict*)
   12260     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12261     ;;
   12262   *)
   12263     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12264     ;;
   12265   esac
   12266   ;;
   12267 *)
   12268   # fallback: assume linklib IS sharedlib
   12269   lt_cv_sharedlib_from_linklib_cmd=$ECHO
   12270   ;;
   12271 esac
   12272 
   12273 fi
   12274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12275 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12276 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12277 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12278 
   12279 
   12280 
   12281 
   12282 
   12283 
   12284 
   12285 if test -n "$ac_tool_prefix"; then
   12286   for ac_prog in ar
   12287   do
   12288     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12289 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12291 $as_echo_n "checking for $ac_word... " >&6; }
   12292 if ${ac_cv_prog_AR+:} false; then :
   12293   $as_echo_n "(cached) " >&6
   12294 else
   12295   if test -n "$AR"; then
   12296   ac_cv_prog_AR="$AR" # Let the user override the test.
   12297 else
   12298 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12299 for as_dir in $PATH
   12300 do
   12301   IFS=$as_save_IFS
   12302   test -z "$as_dir" && as_dir=.
   12303     for ac_exec_ext in '' $ac_executable_extensions; do
   12304   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12305     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12306     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12307     break 2
   12308   fi
   12309 done
   12310   done
   12311 IFS=$as_save_IFS
   12312 
   12313 fi
   12314 fi
   12315 AR=$ac_cv_prog_AR
   12316 if test -n "$AR"; then
   12317   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12318 $as_echo "$AR" >&6; }
   12319 else
   12320   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12321 $as_echo "no" >&6; }
   12322 fi
   12323 
   12324 
   12325     test -n "$AR" && break
   12326   done
   12327 fi
   12328 if test -z "$AR"; then
   12329   ac_ct_AR=$AR
   12330   for ac_prog in ar
   12331 do
   12332   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12333 set dummy $ac_prog; ac_word=$2
   12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12335 $as_echo_n "checking for $ac_word... " >&6; }
   12336 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12337   $as_echo_n "(cached) " >&6
   12338 else
   12339   if test -n "$ac_ct_AR"; then
   12340   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12341 else
   12342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12343 for as_dir in $PATH
   12344 do
   12345   IFS=$as_save_IFS
   12346   test -z "$as_dir" && as_dir=.
   12347     for ac_exec_ext in '' $ac_executable_extensions; do
   12348   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12349     ac_cv_prog_ac_ct_AR="$ac_prog"
   12350     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12351     break 2
   12352   fi
   12353 done
   12354   done
   12355 IFS=$as_save_IFS
   12356 
   12357 fi
   12358 fi
   12359 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12360 if test -n "$ac_ct_AR"; then
   12361   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12362 $as_echo "$ac_ct_AR" >&6; }
   12363 else
   12364   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12365 $as_echo "no" >&6; }
   12366 fi
   12367 
   12368 
   12369   test -n "$ac_ct_AR" && break
   12370 done
   12371 
   12372   if test "x$ac_ct_AR" = x; then
   12373     AR="false"
   12374   else
   12375     case $cross_compiling:$ac_tool_warned in
   12376 yes:)
   12377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12379 ac_tool_warned=yes ;;
   12380 esac
   12381     AR=$ac_ct_AR
   12382   fi
   12383 fi
   12384 
   12385 : ${AR=ar}
   12386 : ${AR_FLAGS=cru}
   12387 
   12388 
   12389 
   12390 
   12391 
   12392 
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12399 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12400 if ${lt_cv_ar_at_file+:} false; then :
   12401   $as_echo_n "(cached) " >&6
   12402 else
   12403   lt_cv_ar_at_file=no
   12404    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12405 /* end confdefs.h.  */
   12406 
   12407 int
   12408 main ()
   12409 {
   12410 
   12411   ;
   12412   return 0;
   12413 }
   12414 _ACEOF
   12415 if ac_fn_c_try_compile "$LINENO"; then :
   12416   echo conftest.$ac_objext > conftest.lst
   12417       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12418       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12419   (eval $lt_ar_try) 2>&5
   12420   ac_status=$?
   12421   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12422   test $ac_status = 0; }
   12423       if test 0 -eq "$ac_status"; then
   12424 	# Ensure the archiver fails upon bogus file names.
   12425 	rm -f conftest.$ac_objext libconftest.a
   12426 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12427   (eval $lt_ar_try) 2>&5
   12428   ac_status=$?
   12429   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12430   test $ac_status = 0; }
   12431 	if test 0 -ne "$ac_status"; then
   12432           lt_cv_ar_at_file=@
   12433         fi
   12434       fi
   12435       rm -f conftest.* libconftest.a
   12436 
   12437 fi
   12438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12439 
   12440 fi
   12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12442 $as_echo "$lt_cv_ar_at_file" >&6; }
   12443 
   12444 if test no = "$lt_cv_ar_at_file"; then
   12445   archiver_list_spec=
   12446 else
   12447   archiver_list_spec=$lt_cv_ar_at_file
   12448 fi
   12449 
   12450 
   12451 
   12452 
   12453 
   12454 
   12455 
   12456 if test -n "$ac_tool_prefix"; then
   12457   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12458 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12460 $as_echo_n "checking for $ac_word... " >&6; }
   12461 if ${ac_cv_prog_STRIP+:} false; then :
   12462   $as_echo_n "(cached) " >&6
   12463 else
   12464   if test -n "$STRIP"; then
   12465   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12466 else
   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_prog_STRIP="${ac_tool_prefix}strip"
   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 fi
   12483 fi
   12484 STRIP=$ac_cv_prog_STRIP
   12485 if test -n "$STRIP"; then
   12486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12487 $as_echo "$STRIP" >&6; }
   12488 else
   12489   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12490 $as_echo "no" >&6; }
   12491 fi
   12492 
   12493 
   12494 fi
   12495 if test -z "$ac_cv_prog_STRIP"; then
   12496   ac_ct_STRIP=$STRIP
   12497   # Extract the first word of "strip", so it can be a program name with args.
   12498 set dummy strip; ac_word=$2
   12499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12500 $as_echo_n "checking for $ac_word... " >&6; }
   12501 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12502   $as_echo_n "(cached) " >&6
   12503 else
   12504   if test -n "$ac_ct_STRIP"; then
   12505   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12506 else
   12507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12508 for as_dir in $PATH
   12509 do
   12510   IFS=$as_save_IFS
   12511   test -z "$as_dir" && as_dir=.
   12512     for ac_exec_ext in '' $ac_executable_extensions; do
   12513   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12514     ac_cv_prog_ac_ct_STRIP="strip"
   12515     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12516     break 2
   12517   fi
   12518 done
   12519   done
   12520 IFS=$as_save_IFS
   12521 
   12522 fi
   12523 fi
   12524 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12525 if test -n "$ac_ct_STRIP"; then
   12526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12527 $as_echo "$ac_ct_STRIP" >&6; }
   12528 else
   12529   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12530 $as_echo "no" >&6; }
   12531 fi
   12532 
   12533   if test "x$ac_ct_STRIP" = x; then
   12534     STRIP=":"
   12535   else
   12536     case $cross_compiling:$ac_tool_warned in
   12537 yes:)
   12538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12540 ac_tool_warned=yes ;;
   12541 esac
   12542     STRIP=$ac_ct_STRIP
   12543   fi
   12544 else
   12545   STRIP="$ac_cv_prog_STRIP"
   12546 fi
   12547 
   12548 test -z "$STRIP" && STRIP=:
   12549 
   12550 
   12551 
   12552 
   12553 
   12554 
   12555 if test -n "$ac_tool_prefix"; then
   12556   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12557 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12559 $as_echo_n "checking for $ac_word... " >&6; }
   12560 if ${ac_cv_prog_RANLIB+:} false; then :
   12561   $as_echo_n "(cached) " >&6
   12562 else
   12563   if test -n "$RANLIB"; then
   12564   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12565 else
   12566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12567 for as_dir in $PATH
   12568 do
   12569   IFS=$as_save_IFS
   12570   test -z "$as_dir" && as_dir=.
   12571     for ac_exec_ext in '' $ac_executable_extensions; do
   12572   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12573     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12574     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12575     break 2
   12576   fi
   12577 done
   12578   done
   12579 IFS=$as_save_IFS
   12580 
   12581 fi
   12582 fi
   12583 RANLIB=$ac_cv_prog_RANLIB
   12584 if test -n "$RANLIB"; then
   12585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12586 $as_echo "$RANLIB" >&6; }
   12587 else
   12588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12589 $as_echo "no" >&6; }
   12590 fi
   12591 
   12592 
   12593 fi
   12594 if test -z "$ac_cv_prog_RANLIB"; then
   12595   ac_ct_RANLIB=$RANLIB
   12596   # Extract the first word of "ranlib", so it can be a program name with args.
   12597 set dummy ranlib; ac_word=$2
   12598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12599 $as_echo_n "checking for $ac_word... " >&6; }
   12600 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12601   $as_echo_n "(cached) " >&6
   12602 else
   12603   if test -n "$ac_ct_RANLIB"; then
   12604   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12605 else
   12606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12607 for as_dir in $PATH
   12608 do
   12609   IFS=$as_save_IFS
   12610   test -z "$as_dir" && as_dir=.
   12611     for ac_exec_ext in '' $ac_executable_extensions; do
   12612   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12613     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12614     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12615     break 2
   12616   fi
   12617 done
   12618   done
   12619 IFS=$as_save_IFS
   12620 
   12621 fi
   12622 fi
   12623 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12624 if test -n "$ac_ct_RANLIB"; then
   12625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12626 $as_echo "$ac_ct_RANLIB" >&6; }
   12627 else
   12628   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12629 $as_echo "no" >&6; }
   12630 fi
   12631 
   12632   if test "x$ac_ct_RANLIB" = x; then
   12633     RANLIB=":"
   12634   else
   12635     case $cross_compiling:$ac_tool_warned in
   12636 yes:)
   12637 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12638 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12639 ac_tool_warned=yes ;;
   12640 esac
   12641     RANLIB=$ac_ct_RANLIB
   12642   fi
   12643 else
   12644   RANLIB="$ac_cv_prog_RANLIB"
   12645 fi
   12646 
   12647 test -z "$RANLIB" && RANLIB=:
   12648 
   12649 
   12650 
   12651 
   12652 
   12653 
   12654 # Determine commands to create old-style static archives.
   12655 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12656 old_postinstall_cmds='chmod 644 $oldlib'
   12657 old_postuninstall_cmds=
   12658 
   12659 if test -n "$RANLIB"; then
   12660   case $host_os in
   12661   bitrig* | openbsd*)
   12662     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12663     ;;
   12664   *)
   12665     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12666     ;;
   12667   esac
   12668   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12669 fi
   12670 
   12671 case $host_os in
   12672   darwin*)
   12673     lock_old_archive_extraction=yes ;;
   12674   *)
   12675     lock_old_archive_extraction=no ;;
   12676 esac
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 
   12708 
   12709 
   12710 
   12711 
   12712 
   12713 
   12714 
   12715 
   12716 # If no C compiler was specified, use CC.
   12717 LTCC=${LTCC-"$CC"}
   12718 
   12719 # If no C compiler flags were specified, use CFLAGS.
   12720 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12721 
   12722 # Allow CC to be a program name with arguments.
   12723 compiler=$CC
   12724 
   12725 
   12726 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12728 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12729 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12730   $as_echo_n "(cached) " >&6
   12731 else
   12732 
   12733 # These are sane defaults that work on at least a few old systems.
   12734 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12735 
   12736 # Character class describing NM global symbol codes.
   12737 symcode='[BCDEGRST]'
   12738 
   12739 # Regexp to match symbols that can be accessed directly from C.
   12740 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12741 
   12742 # Define system-specific variables.
   12743 case $host_os in
   12744 aix*)
   12745   symcode='[BCDT]'
   12746   ;;
   12747 cygwin* | mingw* | pw32* | cegcc*)
   12748   symcode='[ABCDGISTW]'
   12749   ;;
   12750 hpux*)
   12751   if test ia64 = "$host_cpu"; then
   12752     symcode='[ABCDEGRST]'
   12753   fi
   12754   ;;
   12755 irix* | nonstopux*)
   12756   symcode='[BCDEGRST]'
   12757   ;;
   12758 osf*)
   12759   symcode='[BCDEGQRST]'
   12760   ;;
   12761 solaris*)
   12762   symcode='[BDRT]'
   12763   ;;
   12764 sco3.2v5*)
   12765   symcode='[DT]'
   12766   ;;
   12767 sysv4.2uw2*)
   12768   symcode='[DT]'
   12769   ;;
   12770 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12771   symcode='[ABDT]'
   12772   ;;
   12773 sysv4)
   12774   symcode='[DFNSTU]'
   12775   ;;
   12776 esac
   12777 
   12778 # If we're using GNU nm, then use its standard symbol codes.
   12779 case `$NM -V 2>&1` in
   12780 *GNU* | *'with BFD'*)
   12781   symcode='[ABCDGIRSTW]' ;;
   12782 esac
   12783 
   12784 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12785   # Gets list of data symbols to import.
   12786   lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
   12787   # Adjust the below global symbol transforms to fixup imported variables.
   12788   lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
   12789   lt_c_name_hook=" -e 's/^I .* \(.*\)$/  {\"\1\", (void *) 0},/p'"
   12790   lt_c_name_lib_hook="\
   12791   -e 's/^I .* \(lib.*\)$/  {\"\1\", (void *) 0},/p'\
   12792   -e 's/^I .* \(.*\)$/  {\"lib\1\", (void *) 0},/p'"
   12793 else
   12794   # Disable hooks by default.
   12795   lt_cv_sys_global_symbol_to_import=
   12796   lt_cdecl_hook=
   12797   lt_c_name_hook=
   12798   lt_c_name_lib_hook=
   12799 fi
   12800 
   12801 # Transform an extracted symbol line into a proper C declaration.
   12802 # Some systems (esp. on ia64) link data and code symbols differently,
   12803 # so use this general approach.
   12804 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
   12805 $lt_cdecl_hook\
   12806 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
   12807 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
   12808 
   12809 # Transform an extracted symbol line into symbol name and symbol address
   12810 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
   12811 $lt_c_name_hook\
   12812 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12813 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/p'"
   12814 
   12815 # Transform an extracted symbol line into symbol name with lib prefix and
   12816 # symbol address.
   12817 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
   12818 $lt_c_name_lib_hook\
   12819 " -e 's/^: \(.*\) .*$/  {\"\1\", (void *) 0},/p'"\
   12820 " -e 's/^$symcode$symcode* .* \(lib.*\)$/  {\"\1\", (void *) \&\1},/p'"\
   12821 " -e 's/^$symcode$symcode* .* \(.*\)$/  {\"lib\1\", (void *) \&\1},/p'"
   12822 
   12823 # Handle CRLF in mingw tool chain
   12824 opt_cr=
   12825 case $build_os in
   12826 mingw*)
   12827   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12828   ;;
   12829 esac
   12830 
   12831 # Try without a prefix underscore, then with it.
   12832 for ac_symprfx in "" "_"; do
   12833 
   12834   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12835   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12836 
   12837   # Write the raw and C identifiers.
   12838   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12839     # Fake it for dumpbin and say T for any non-static function,
   12840     # D for any global variable and I for any imported variable.
   12841     # Also find C++ and __fastcall symbols from MSVC++,
   12842     # which start with @ or ?.
   12843     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12844 "     {last_section=section; section=\$ 3};"\
   12845 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12846 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12847 "     /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
   12848 "     /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
   12849 "     /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
   12850 "     \$ 0!~/External *\|/{next};"\
   12851 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12852 "     {if(hide[section]) next};"\
   12853 "     {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
   12854 "     {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
   12855 "     s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
   12856 "     s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
   12857 "     ' prfx=^$ac_symprfx"
   12858   else
   12859     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12860   fi
   12861   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12862 
   12863   # Check to see that the pipe works correctly.
   12864   pipe_works=no
   12865 
   12866   rm -f conftest*
   12867   cat > conftest.$ac_ext <<_LT_EOF
   12868 #ifdef __cplusplus
   12869 extern "C" {
   12870 #endif
   12871 char nm_test_var;
   12872 void nm_test_func(void);
   12873 void nm_test_func(void){}
   12874 #ifdef __cplusplus
   12875 }
   12876 #endif
   12877 int main(){nm_test_var='a';nm_test_func();return(0);}
   12878 _LT_EOF
   12879 
   12880   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12881   (eval $ac_compile) 2>&5
   12882   ac_status=$?
   12883   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12884   test $ac_status = 0; }; then
   12885     # Now try to grab the symbols.
   12886     nlist=conftest.nm
   12887     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12888   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12889   ac_status=$?
   12890   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12891   test $ac_status = 0; } && test -s "$nlist"; then
   12892       # Try sorting and uniquifying the output.
   12893       if sort "$nlist" | uniq > "$nlist"T; then
   12894 	mv -f "$nlist"T "$nlist"
   12895       else
   12896 	rm -f "$nlist"T
   12897       fi
   12898 
   12899       # Make sure that we snagged all the symbols we need.
   12900       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12901 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12902 	  cat <<_LT_EOF > conftest.$ac_ext
   12903 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12904 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
   12905 /* DATA imports from DLLs on WIN32 can't be const, because runtime
   12906    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12907 # define LT_DLSYM_CONST
   12908 #elif defined __osf__
   12909 /* This system does not cope well with relocations in const data.  */
   12910 # define LT_DLSYM_CONST
   12911 #else
   12912 # define LT_DLSYM_CONST const
   12913 #endif
   12914 
   12915 #ifdef __cplusplus
   12916 extern "C" {
   12917 #endif
   12918 
   12919 _LT_EOF
   12920 	  # Now generate the symbol file.
   12921 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12922 
   12923 	  cat <<_LT_EOF >> conftest.$ac_ext
   12924 
   12925 /* The mapping between symbol names and symbols.  */
   12926 LT_DLSYM_CONST struct {
   12927   const char *name;
   12928   void       *address;
   12929 }
   12930 lt__PROGRAM__LTX_preloaded_symbols[] =
   12931 {
   12932   { "@PROGRAM@", (void *) 0 },
   12933 _LT_EOF
   12934 	  $SED "s/^$symcode$symcode* .* \(.*\)$/  {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12935 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12936   {0, (void *) 0}
   12937 };
   12938 
   12939 /* This works around a problem in FreeBSD linker */
   12940 #ifdef FREEBSD_WORKAROUND
   12941 static const void *lt_preloaded_setup() {
   12942   return lt__PROGRAM__LTX_preloaded_symbols;
   12943 }
   12944 #endif
   12945 
   12946 #ifdef __cplusplus
   12947 }
   12948 #endif
   12949 _LT_EOF
   12950 	  # Now try linking the two files.
   12951 	  mv conftest.$ac_objext conftstm.$ac_objext
   12952 	  lt_globsym_save_LIBS=$LIBS
   12953 	  lt_globsym_save_CFLAGS=$CFLAGS
   12954 	  LIBS=conftstm.$ac_objext
   12955 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12956 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12957   (eval $ac_link) 2>&5
   12958   ac_status=$?
   12959   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12960   test $ac_status = 0; } && test -s conftest$ac_exeext; then
   12961 	    pipe_works=yes
   12962 	  fi
   12963 	  LIBS=$lt_globsym_save_LIBS
   12964 	  CFLAGS=$lt_globsym_save_CFLAGS
   12965 	else
   12966 	  echo "cannot find nm_test_func in $nlist" >&5
   12967 	fi
   12968       else
   12969 	echo "cannot find nm_test_var in $nlist" >&5
   12970       fi
   12971     else
   12972       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12973     fi
   12974   else
   12975     echo "$progname: failed program was:" >&5
   12976     cat conftest.$ac_ext >&5
   12977   fi
   12978   rm -rf conftest* conftst*
   12979 
   12980   # Do not use the global_symbol_pipe unless it works.
   12981   if test yes = "$pipe_works"; then
   12982     break
   12983   else
   12984     lt_cv_sys_global_symbol_pipe=
   12985   fi
   12986 done
   12987 
   12988 fi
   12989 
   12990 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12991   lt_cv_sys_global_symbol_to_cdecl=
   12992 fi
   12993 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12994   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12995 $as_echo "failed" >&6; }
   12996 else
   12997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12998 $as_echo "ok" >&6; }
   12999 fi
   13000 
   13001 # Response file support.
   13002 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   13003   nm_file_list_spec='@'
   13004 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   13005   nm_file_list_spec='@'
   13006 fi
   13007 
   13008 
   13009 
   13010 
   13011 
   13012 
   13013 
   13014 
   13015 
   13016 
   13017 
   13018 
   13019 
   13020 
   13021 
   13022 
   13023 
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 
   13030 
   13031 
   13032 
   13033 
   13034 
   13035 
   13036 
   13037 
   13038 
   13039 
   13040 
   13041 
   13042 
   13043 
   13044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   13045 $as_echo_n "checking for sysroot... " >&6; }
   13046 
   13047 # Check whether --with-sysroot was given.
   13048 if test "${with_sysroot+set}" = set; then :
   13049   withval=$with_sysroot;
   13050 else
   13051   with_sysroot=no
   13052 fi
   13053 
   13054 
   13055 lt_sysroot=
   13056 case $with_sysroot in #(
   13057  yes)
   13058    if test yes = "$GCC"; then
   13059      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13060    fi
   13061    ;; #(
   13062  /*)
   13063    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13064    ;; #(
   13065  no|'')
   13066    ;; #(
   13067  *)
   13068    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
   13069 $as_echo "$with_sysroot" >&6; }
   13070    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13071    ;;
   13072 esac
   13073 
   13074  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13075 $as_echo "${lt_sysroot:-no}" >&6; }
   13076 
   13077 
   13078 
   13079 
   13080 
   13081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
   13082 $as_echo_n "checking for a working dd... " >&6; }
   13083 if ${ac_cv_path_lt_DD+:} false; then :
   13084   $as_echo_n "(cached) " >&6
   13085 else
   13086   printf 0123456789abcdef0123456789abcdef >conftest.i
   13087 cat conftest.i conftest.i >conftest2.i
   13088 : ${lt_DD:=$DD}
   13089 if test -z "$lt_DD"; then
   13090   ac_path_lt_DD_found=false
   13091   # Loop through the user's path and test for each of PROGNAME-LIST
   13092   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13093 for as_dir in $PATH
   13094 do
   13095   IFS=$as_save_IFS
   13096   test -z "$as_dir" && as_dir=.
   13097     for ac_prog in dd; do
   13098     for ac_exec_ext in '' $ac_executable_extensions; do
   13099       ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
   13100       as_fn_executable_p "$ac_path_lt_DD" || continue
   13101 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13102   cmp -s conftest.i conftest.out \
   13103   && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
   13104 fi
   13105       $ac_path_lt_DD_found && break 3
   13106     done
   13107   done
   13108   done
   13109 IFS=$as_save_IFS
   13110   if test -z "$ac_cv_path_lt_DD"; then
   13111     :
   13112   fi
   13113 else
   13114   ac_cv_path_lt_DD=$lt_DD
   13115 fi
   13116 
   13117 rm -f conftest.i conftest2.i conftest.out
   13118 fi
   13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
   13120 $as_echo "$ac_cv_path_lt_DD" >&6; }
   13121 
   13122 
   13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
   13124 $as_echo_n "checking how to truncate binary pipes... " >&6; }
   13125 if ${lt_cv_truncate_bin+:} false; then :
   13126   $as_echo_n "(cached) " >&6
   13127 else
   13128   printf 0123456789abcdef0123456789abcdef >conftest.i
   13129 cat conftest.i conftest.i >conftest2.i
   13130 lt_cv_truncate_bin=
   13131 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
   13132   cmp -s conftest.i conftest.out \
   13133   && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
   13134 fi
   13135 rm -f conftest.i conftest2.i conftest.out
   13136 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
   13137 fi
   13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
   13139 $as_echo "$lt_cv_truncate_bin" >&6; }
   13140 
   13141 
   13142 
   13143 
   13144 
   13145 
   13146 
   13147 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   13148 func_cc_basename ()
   13149 {
   13150     for cc_temp in $*""; do
   13151       case $cc_temp in
   13152         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13153         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13154         \-*) ;;
   13155         *) break;;
   13156       esac
   13157     done
   13158     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13159 }
   13160 
   13161 # Check whether --enable-libtool-lock was given.
   13162 if test "${enable_libtool_lock+set}" = set; then :
   13163   enableval=$enable_libtool_lock;
   13164 fi
   13165 
   13166 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
   13167 
   13168 # Some flags need to be propagated to the compiler or linker for good
   13169 # libtool support.
   13170 case $host in
   13171 ia64-*-hpux*)
   13172   # Find out what ABI is being produced by ac_compile, and set mode
   13173   # options accordingly.
   13174   echo 'int i;' > conftest.$ac_ext
   13175   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13176   (eval $ac_compile) 2>&5
   13177   ac_status=$?
   13178   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13179   test $ac_status = 0; }; then
   13180     case `/usr/bin/file conftest.$ac_objext` in
   13181       *ELF-32*)
   13182 	HPUX_IA64_MODE=32
   13183 	;;
   13184       *ELF-64*)
   13185 	HPUX_IA64_MODE=64
   13186 	;;
   13187     esac
   13188   fi
   13189   rm -rf conftest*
   13190   ;;
   13191 *-*-irix6*)
   13192   # Find out what ABI is being produced by ac_compile, and set linker
   13193   # options accordingly.
   13194   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13195   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13196   (eval $ac_compile) 2>&5
   13197   ac_status=$?
   13198   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13199   test $ac_status = 0; }; then
   13200     if test yes = "$lt_cv_prog_gnu_ld"; then
   13201       case `/usr/bin/file conftest.$ac_objext` in
   13202 	*32-bit*)
   13203 	  LD="${LD-ld} -melf32bsmip"
   13204 	  ;;
   13205 	*N32*)
   13206 	  LD="${LD-ld} -melf32bmipn32"
   13207 	  ;;
   13208 	*64-bit*)
   13209 	  LD="${LD-ld} -melf64bmip"
   13210 	;;
   13211       esac
   13212     else
   13213       case `/usr/bin/file conftest.$ac_objext` in
   13214 	*32-bit*)
   13215 	  LD="${LD-ld} -32"
   13216 	  ;;
   13217 	*N32*)
   13218 	  LD="${LD-ld} -n32"
   13219 	  ;;
   13220 	*64-bit*)
   13221 	  LD="${LD-ld} -64"
   13222 	  ;;
   13223       esac
   13224     fi
   13225   fi
   13226   rm -rf conftest*
   13227   ;;
   13228 
   13229 mips64*-*linux*)
   13230   # Find out what ABI is being produced by ac_compile, and set linker
   13231   # options accordingly.
   13232   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13233   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13234   (eval $ac_compile) 2>&5
   13235   ac_status=$?
   13236   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13237   test $ac_status = 0; }; then
   13238     emul=elf
   13239     case `/usr/bin/file conftest.$ac_objext` in
   13240       *32-bit*)
   13241 	emul="${emul}32"
   13242 	;;
   13243       *64-bit*)
   13244 	emul="${emul}64"
   13245 	;;
   13246     esac
   13247     case `/usr/bin/file conftest.$ac_objext` in
   13248       *MSB*)
   13249 	emul="${emul}btsmip"
   13250 	;;
   13251       *LSB*)
   13252 	emul="${emul}ltsmip"
   13253 	;;
   13254     esac
   13255     case `/usr/bin/file conftest.$ac_objext` in
   13256       *N32*)
   13257 	emul="${emul}n32"
   13258 	;;
   13259     esac
   13260     LD="${LD-ld} -m $emul"
   13261   fi
   13262   rm -rf conftest*
   13263   ;;
   13264 
   13265 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13266 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13267   # Find out what ABI is being produced by ac_compile, and set linker
   13268   # options accordingly.  Note that the listed cases only cover the
   13269   # situations where additional linker options are needed (such as when
   13270   # doing 32-bit compilation for a host where ld defaults to 64-bit, or
   13271   # vice versa); the common cases where no linker options are needed do
   13272   # not appear in the list.
   13273   echo 'int i;' > conftest.$ac_ext
   13274   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13275   (eval $ac_compile) 2>&5
   13276   ac_status=$?
   13277   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13278   test $ac_status = 0; }; then
   13279     case `/usr/bin/file conftest.o` in
   13280       *32-bit*)
   13281 	case $host in
   13282 	  x86_64-*kfreebsd*-gnu)
   13283 	    LD="${LD-ld} -m elf_i386_fbsd"
   13284 	    ;;
   13285 	  x86_64-*linux*)
   13286 	    case `/usr/bin/file conftest.o` in
   13287 	      *x86-64*)
   13288 		LD="${LD-ld} -m elf32_x86_64"
   13289 		;;
   13290 	      *)
   13291 		LD="${LD-ld} -m elf_i386"
   13292 		;;
   13293 	    esac
   13294 	    ;;
   13295 	  powerpc64le-*linux*)
   13296 	    LD="${LD-ld} -m elf32lppclinux"
   13297 	    ;;
   13298 	  powerpc64-*linux*)
   13299 	    LD="${LD-ld} -m elf32ppclinux"
   13300 	    ;;
   13301 	  s390x-*linux*)
   13302 	    LD="${LD-ld} -m elf_s390"
   13303 	    ;;
   13304 	  sparc64-*linux*)
   13305 	    LD="${LD-ld} -m elf32_sparc"
   13306 	    ;;
   13307 	esac
   13308 	;;
   13309       *64-bit*)
   13310 	case $host in
   13311 	  x86_64-*kfreebsd*-gnu)
   13312 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13313 	    ;;
   13314 	  x86_64-*linux*)
   13315 	    LD="${LD-ld} -m elf_x86_64"
   13316 	    ;;
   13317 	  powerpcle-*linux*)
   13318 	    LD="${LD-ld} -m elf64lppc"
   13319 	    ;;
   13320 	  powerpc-*linux*)
   13321 	    LD="${LD-ld} -m elf64ppc"
   13322 	    ;;
   13323 	  s390*-*linux*|s390*-*tpf*)
   13324 	    LD="${LD-ld} -m elf64_s390"
   13325 	    ;;
   13326 	  sparc*-*linux*)
   13327 	    LD="${LD-ld} -m elf64_sparc"
   13328 	    ;;
   13329 	esac
   13330 	;;
   13331     esac
   13332   fi
   13333   rm -rf conftest*
   13334   ;;
   13335 
   13336 *-*-sco3.2v5*)
   13337   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13338   SAVE_CFLAGS=$CFLAGS
   13339   CFLAGS="$CFLAGS -belf"
   13340   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13341 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13342 if ${lt_cv_cc_needs_belf+:} false; then :
   13343   $as_echo_n "(cached) " >&6
   13344 else
   13345   ac_ext=c
   13346 ac_cpp='$CPP $CPPFLAGS'
   13347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13350 
   13351      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13352 /* end confdefs.h.  */
   13353 
   13354 int
   13355 main ()
   13356 {
   13357 
   13358   ;
   13359   return 0;
   13360 }
   13361 _ACEOF
   13362 if ac_fn_c_try_link "$LINENO"; then :
   13363   lt_cv_cc_needs_belf=yes
   13364 else
   13365   lt_cv_cc_needs_belf=no
   13366 fi
   13367 rm -f core conftest.err conftest.$ac_objext \
   13368     conftest$ac_exeext conftest.$ac_ext
   13369      ac_ext=c
   13370 ac_cpp='$CPP $CPPFLAGS'
   13371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13374 
   13375 fi
   13376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13377 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13378   if test yes != "$lt_cv_cc_needs_belf"; then
   13379     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13380     CFLAGS=$SAVE_CFLAGS
   13381   fi
   13382   ;;
   13383 *-*solaris*)
   13384   # Find out what ABI is being produced by ac_compile, and set linker
   13385   # options accordingly.
   13386   echo 'int i;' > conftest.$ac_ext
   13387   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13388   (eval $ac_compile) 2>&5
   13389   ac_status=$?
   13390   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13391   test $ac_status = 0; }; then
   13392     case `/usr/bin/file conftest.o` in
   13393     *64-bit*)
   13394       case $lt_cv_prog_gnu_ld in
   13395       yes*)
   13396         case $host in
   13397         i?86-*-solaris*|x86_64-*-solaris*)
   13398           LD="${LD-ld} -m elf_x86_64"
   13399           ;;
   13400         sparc*-*-solaris*)
   13401           LD="${LD-ld} -m elf64_sparc"
   13402           ;;
   13403         esac
   13404         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13405         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13406           LD=${LD-ld}_sol2
   13407         fi
   13408         ;;
   13409       *)
   13410 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13411 	  LD="${LD-ld} -64"
   13412 	fi
   13413 	;;
   13414       esac
   13415       ;;
   13416     esac
   13417   fi
   13418   rm -rf conftest*
   13419   ;;
   13420 esac
   13421 
   13422 need_locks=$enable_libtool_lock
   13423 
   13424 if test -n "$ac_tool_prefix"; then
   13425   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13426 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13428 $as_echo_n "checking for $ac_word... " >&6; }
   13429 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13430   $as_echo_n "(cached) " >&6
   13431 else
   13432   if test -n "$MANIFEST_TOOL"; then
   13433   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13434 else
   13435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13436 for as_dir in $PATH
   13437 do
   13438   IFS=$as_save_IFS
   13439   test -z "$as_dir" && as_dir=.
   13440     for ac_exec_ext in '' $ac_executable_extensions; do
   13441   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13442     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13443     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13444     break 2
   13445   fi
   13446 done
   13447   done
   13448 IFS=$as_save_IFS
   13449 
   13450 fi
   13451 fi
   13452 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13453 if test -n "$MANIFEST_TOOL"; then
   13454   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13455 $as_echo "$MANIFEST_TOOL" >&6; }
   13456 else
   13457   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13458 $as_echo "no" >&6; }
   13459 fi
   13460 
   13461 
   13462 fi
   13463 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13464   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13465   # Extract the first word of "mt", so it can be a program name with args.
   13466 set dummy mt; ac_word=$2
   13467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13468 $as_echo_n "checking for $ac_word... " >&6; }
   13469 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13470   $as_echo_n "(cached) " >&6
   13471 else
   13472   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13473   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13474 else
   13475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13476 for as_dir in $PATH
   13477 do
   13478   IFS=$as_save_IFS
   13479   test -z "$as_dir" && as_dir=.
   13480     for ac_exec_ext in '' $ac_executable_extensions; do
   13481   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13482     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13483     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13484     break 2
   13485   fi
   13486 done
   13487   done
   13488 IFS=$as_save_IFS
   13489 
   13490 fi
   13491 fi
   13492 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13493 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13494   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13495 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13496 else
   13497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13498 $as_echo "no" >&6; }
   13499 fi
   13500 
   13501   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13502     MANIFEST_TOOL=":"
   13503   else
   13504     case $cross_compiling:$ac_tool_warned in
   13505 yes:)
   13506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13508 ac_tool_warned=yes ;;
   13509 esac
   13510     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13511   fi
   13512 else
   13513   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13514 fi
   13515 
   13516 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13518 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13519 if ${lt_cv_path_mainfest_tool+:} false; then :
   13520   $as_echo_n "(cached) " >&6
   13521 else
   13522   lt_cv_path_mainfest_tool=no
   13523   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13524   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13525   cat conftest.err >&5
   13526   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13527     lt_cv_path_mainfest_tool=yes
   13528   fi
   13529   rm -f conftest*
   13530 fi
   13531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13532 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13533 if test yes != "$lt_cv_path_mainfest_tool"; then
   13534   MANIFEST_TOOL=:
   13535 fi
   13536 
   13537 
   13538 
   13539 
   13540 
   13541 
   13542   case $host_os in
   13543     rhapsody* | darwin*)
   13544     if test -n "$ac_tool_prefix"; then
   13545   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13546 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13548 $as_echo_n "checking for $ac_word... " >&6; }
   13549 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13550   $as_echo_n "(cached) " >&6
   13551 else
   13552   if test -n "$DSYMUTIL"; then
   13553   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13554 else
   13555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13556 for as_dir in $PATH
   13557 do
   13558   IFS=$as_save_IFS
   13559   test -z "$as_dir" && as_dir=.
   13560     for ac_exec_ext in '' $ac_executable_extensions; do
   13561   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13562     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13563     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13564     break 2
   13565   fi
   13566 done
   13567   done
   13568 IFS=$as_save_IFS
   13569 
   13570 fi
   13571 fi
   13572 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13573 if test -n "$DSYMUTIL"; then
   13574   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13575 $as_echo "$DSYMUTIL" >&6; }
   13576 else
   13577   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13578 $as_echo "no" >&6; }
   13579 fi
   13580 
   13581 
   13582 fi
   13583 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13584   ac_ct_DSYMUTIL=$DSYMUTIL
   13585   # Extract the first word of "dsymutil", so it can be a program name with args.
   13586 set dummy dsymutil; ac_word=$2
   13587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13588 $as_echo_n "checking for $ac_word... " >&6; }
   13589 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13590   $as_echo_n "(cached) " >&6
   13591 else
   13592   if test -n "$ac_ct_DSYMUTIL"; then
   13593   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13594 else
   13595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13596 for as_dir in $PATH
   13597 do
   13598   IFS=$as_save_IFS
   13599   test -z "$as_dir" && as_dir=.
   13600     for ac_exec_ext in '' $ac_executable_extensions; do
   13601   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13602     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13603     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13604     break 2
   13605   fi
   13606 done
   13607   done
   13608 IFS=$as_save_IFS
   13609 
   13610 fi
   13611 fi
   13612 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13613 if test -n "$ac_ct_DSYMUTIL"; then
   13614   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13615 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13616 else
   13617   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13618 $as_echo "no" >&6; }
   13619 fi
   13620 
   13621   if test "x$ac_ct_DSYMUTIL" = x; then
   13622     DSYMUTIL=":"
   13623   else
   13624     case $cross_compiling:$ac_tool_warned in
   13625 yes:)
   13626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13627 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13628 ac_tool_warned=yes ;;
   13629 esac
   13630     DSYMUTIL=$ac_ct_DSYMUTIL
   13631   fi
   13632 else
   13633   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13634 fi
   13635 
   13636     if test -n "$ac_tool_prefix"; then
   13637   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13638 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13640 $as_echo_n "checking for $ac_word... " >&6; }
   13641 if ${ac_cv_prog_NMEDIT+:} false; then :
   13642   $as_echo_n "(cached) " >&6
   13643 else
   13644   if test -n "$NMEDIT"; then
   13645   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13646 else
   13647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13648 for as_dir in $PATH
   13649 do
   13650   IFS=$as_save_IFS
   13651   test -z "$as_dir" && as_dir=.
   13652     for ac_exec_ext in '' $ac_executable_extensions; do
   13653   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13654     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13655     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13656     break 2
   13657   fi
   13658 done
   13659   done
   13660 IFS=$as_save_IFS
   13661 
   13662 fi
   13663 fi
   13664 NMEDIT=$ac_cv_prog_NMEDIT
   13665 if test -n "$NMEDIT"; then
   13666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13667 $as_echo "$NMEDIT" >&6; }
   13668 else
   13669   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13670 $as_echo "no" >&6; }
   13671 fi
   13672 
   13673 
   13674 fi
   13675 if test -z "$ac_cv_prog_NMEDIT"; then
   13676   ac_ct_NMEDIT=$NMEDIT
   13677   # Extract the first word of "nmedit", so it can be a program name with args.
   13678 set dummy nmedit; ac_word=$2
   13679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13680 $as_echo_n "checking for $ac_word... " >&6; }
   13681 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13682   $as_echo_n "(cached) " >&6
   13683 else
   13684   if test -n "$ac_ct_NMEDIT"; then
   13685   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13686 else
   13687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13688 for as_dir in $PATH
   13689 do
   13690   IFS=$as_save_IFS
   13691   test -z "$as_dir" && as_dir=.
   13692     for ac_exec_ext in '' $ac_executable_extensions; do
   13693   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13694     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13696     break 2
   13697   fi
   13698 done
   13699   done
   13700 IFS=$as_save_IFS
   13701 
   13702 fi
   13703 fi
   13704 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13705 if test -n "$ac_ct_NMEDIT"; then
   13706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13707 $as_echo "$ac_ct_NMEDIT" >&6; }
   13708 else
   13709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13710 $as_echo "no" >&6; }
   13711 fi
   13712 
   13713   if test "x$ac_ct_NMEDIT" = x; then
   13714     NMEDIT=":"
   13715   else
   13716     case $cross_compiling:$ac_tool_warned in
   13717 yes:)
   13718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13719 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13720 ac_tool_warned=yes ;;
   13721 esac
   13722     NMEDIT=$ac_ct_NMEDIT
   13723   fi
   13724 else
   13725   NMEDIT="$ac_cv_prog_NMEDIT"
   13726 fi
   13727 
   13728     if test -n "$ac_tool_prefix"; then
   13729   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13730 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13732 $as_echo_n "checking for $ac_word... " >&6; }
   13733 if ${ac_cv_prog_LIPO+:} false; then :
   13734   $as_echo_n "(cached) " >&6
   13735 else
   13736   if test -n "$LIPO"; then
   13737   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13738 else
   13739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13740 for as_dir in $PATH
   13741 do
   13742   IFS=$as_save_IFS
   13743   test -z "$as_dir" && as_dir=.
   13744     for ac_exec_ext in '' $ac_executable_extensions; do
   13745   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13746     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13747     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13748     break 2
   13749   fi
   13750 done
   13751   done
   13752 IFS=$as_save_IFS
   13753 
   13754 fi
   13755 fi
   13756 LIPO=$ac_cv_prog_LIPO
   13757 if test -n "$LIPO"; then
   13758   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13759 $as_echo "$LIPO" >&6; }
   13760 else
   13761   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13762 $as_echo "no" >&6; }
   13763 fi
   13764 
   13765 
   13766 fi
   13767 if test -z "$ac_cv_prog_LIPO"; then
   13768   ac_ct_LIPO=$LIPO
   13769   # Extract the first word of "lipo", so it can be a program name with args.
   13770 set dummy lipo; ac_word=$2
   13771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13772 $as_echo_n "checking for $ac_word... " >&6; }
   13773 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13774   $as_echo_n "(cached) " >&6
   13775 else
   13776   if test -n "$ac_ct_LIPO"; then
   13777   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13778 else
   13779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13780 for as_dir in $PATH
   13781 do
   13782   IFS=$as_save_IFS
   13783   test -z "$as_dir" && as_dir=.
   13784     for ac_exec_ext in '' $ac_executable_extensions; do
   13785   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13786     ac_cv_prog_ac_ct_LIPO="lipo"
   13787     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13788     break 2
   13789   fi
   13790 done
   13791   done
   13792 IFS=$as_save_IFS
   13793 
   13794 fi
   13795 fi
   13796 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13797 if test -n "$ac_ct_LIPO"; then
   13798   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13799 $as_echo "$ac_ct_LIPO" >&6; }
   13800 else
   13801   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13802 $as_echo "no" >&6; }
   13803 fi
   13804 
   13805   if test "x$ac_ct_LIPO" = x; then
   13806     LIPO=":"
   13807   else
   13808     case $cross_compiling:$ac_tool_warned in
   13809 yes:)
   13810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13812 ac_tool_warned=yes ;;
   13813 esac
   13814     LIPO=$ac_ct_LIPO
   13815   fi
   13816 else
   13817   LIPO="$ac_cv_prog_LIPO"
   13818 fi
   13819 
   13820     if test -n "$ac_tool_prefix"; then
   13821   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13822 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13824 $as_echo_n "checking for $ac_word... " >&6; }
   13825 if ${ac_cv_prog_OTOOL+:} false; then :
   13826   $as_echo_n "(cached) " >&6
   13827 else
   13828   if test -n "$OTOOL"; then
   13829   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13830 else
   13831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13832 for as_dir in $PATH
   13833 do
   13834   IFS=$as_save_IFS
   13835   test -z "$as_dir" && as_dir=.
   13836     for ac_exec_ext in '' $ac_executable_extensions; do
   13837   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13838     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13839     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13840     break 2
   13841   fi
   13842 done
   13843   done
   13844 IFS=$as_save_IFS
   13845 
   13846 fi
   13847 fi
   13848 OTOOL=$ac_cv_prog_OTOOL
   13849 if test -n "$OTOOL"; then
   13850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13851 $as_echo "$OTOOL" >&6; }
   13852 else
   13853   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13854 $as_echo "no" >&6; }
   13855 fi
   13856 
   13857 
   13858 fi
   13859 if test -z "$ac_cv_prog_OTOOL"; then
   13860   ac_ct_OTOOL=$OTOOL
   13861   # Extract the first word of "otool", so it can be a program name with args.
   13862 set dummy otool; ac_word=$2
   13863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13864 $as_echo_n "checking for $ac_word... " >&6; }
   13865 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13866   $as_echo_n "(cached) " >&6
   13867 else
   13868   if test -n "$ac_ct_OTOOL"; then
   13869   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13870 else
   13871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13872 for as_dir in $PATH
   13873 do
   13874   IFS=$as_save_IFS
   13875   test -z "$as_dir" && as_dir=.
   13876     for ac_exec_ext in '' $ac_executable_extensions; do
   13877   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13878     ac_cv_prog_ac_ct_OTOOL="otool"
   13879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13880     break 2
   13881   fi
   13882 done
   13883   done
   13884 IFS=$as_save_IFS
   13885 
   13886 fi
   13887 fi
   13888 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13889 if test -n "$ac_ct_OTOOL"; then
   13890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13891 $as_echo "$ac_ct_OTOOL" >&6; }
   13892 else
   13893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13894 $as_echo "no" >&6; }
   13895 fi
   13896 
   13897   if test "x$ac_ct_OTOOL" = x; then
   13898     OTOOL=":"
   13899   else
   13900     case $cross_compiling:$ac_tool_warned in
   13901 yes:)
   13902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13903 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13904 ac_tool_warned=yes ;;
   13905 esac
   13906     OTOOL=$ac_ct_OTOOL
   13907   fi
   13908 else
   13909   OTOOL="$ac_cv_prog_OTOOL"
   13910 fi
   13911 
   13912     if test -n "$ac_tool_prefix"; then
   13913   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13914 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13916 $as_echo_n "checking for $ac_word... " >&6; }
   13917 if ${ac_cv_prog_OTOOL64+:} false; then :
   13918   $as_echo_n "(cached) " >&6
   13919 else
   13920   if test -n "$OTOOL64"; then
   13921   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13922 else
   13923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13924 for as_dir in $PATH
   13925 do
   13926   IFS=$as_save_IFS
   13927   test -z "$as_dir" && as_dir=.
   13928     for ac_exec_ext in '' $ac_executable_extensions; do
   13929   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13930     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13931     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13932     break 2
   13933   fi
   13934 done
   13935   done
   13936 IFS=$as_save_IFS
   13937 
   13938 fi
   13939 fi
   13940 OTOOL64=$ac_cv_prog_OTOOL64
   13941 if test -n "$OTOOL64"; then
   13942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13943 $as_echo "$OTOOL64" >&6; }
   13944 else
   13945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13946 $as_echo "no" >&6; }
   13947 fi
   13948 
   13949 
   13950 fi
   13951 if test -z "$ac_cv_prog_OTOOL64"; then
   13952   ac_ct_OTOOL64=$OTOOL64
   13953   # Extract the first word of "otool64", so it can be a program name with args.
   13954 set dummy otool64; ac_word=$2
   13955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13956 $as_echo_n "checking for $ac_word... " >&6; }
   13957 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13958   $as_echo_n "(cached) " >&6
   13959 else
   13960   if test -n "$ac_ct_OTOOL64"; then
   13961   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13962 else
   13963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13964 for as_dir in $PATH
   13965 do
   13966   IFS=$as_save_IFS
   13967   test -z "$as_dir" && as_dir=.
   13968     for ac_exec_ext in '' $ac_executable_extensions; do
   13969   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13970     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13972     break 2
   13973   fi
   13974 done
   13975   done
   13976 IFS=$as_save_IFS
   13977 
   13978 fi
   13979 fi
   13980 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13981 if test -n "$ac_ct_OTOOL64"; then
   13982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13983 $as_echo "$ac_ct_OTOOL64" >&6; }
   13984 else
   13985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13986 $as_echo "no" >&6; }
   13987 fi
   13988 
   13989   if test "x$ac_ct_OTOOL64" = x; then
   13990     OTOOL64=":"
   13991   else
   13992     case $cross_compiling:$ac_tool_warned in
   13993 yes:)
   13994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13996 ac_tool_warned=yes ;;
   13997 esac
   13998     OTOOL64=$ac_ct_OTOOL64
   13999   fi
   14000 else
   14001   OTOOL64="$ac_cv_prog_OTOOL64"
   14002 fi
   14003 
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 
   14010 
   14011 
   14012 
   14013 
   14014 
   14015 
   14016 
   14017 
   14018 
   14019 
   14020 
   14021 
   14022 
   14023 
   14024 
   14025 
   14026 
   14027 
   14028 
   14029 
   14030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   14031 $as_echo_n "checking for -single_module linker flag... " >&6; }
   14032 if ${lt_cv_apple_cc_single_mod+:} false; then :
   14033   $as_echo_n "(cached) " >&6
   14034 else
   14035   lt_cv_apple_cc_single_mod=no
   14036       if test -z "$LT_MULTI_MODULE"; then
   14037 	# By default we will add the -single_module flag. You can override
   14038 	# by either setting the environment variable LT_MULTI_MODULE
   14039 	# non-empty at configure time, or by adding -multi_module to the
   14040 	# link flags.
   14041 	rm -rf libconftest.dylib*
   14042 	echo "int foo(void){return 1;}" > conftest.c
   14043 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14044 -dynamiclib -Wl,-single_module conftest.c" >&5
   14045 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   14046 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   14047         _lt_result=$?
   14048 	# If there is a non-empty error log, and "single_module"
   14049 	# appears in it, assume the flag caused a linker warning
   14050         if test -s conftest.err && $GREP single_module conftest.err; then
   14051 	  cat conftest.err >&5
   14052 	# Otherwise, if the output was created with a 0 exit code from
   14053 	# the compiler, it worked.
   14054 	elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
   14055 	  lt_cv_apple_cc_single_mod=yes
   14056 	else
   14057 	  cat conftest.err >&5
   14058 	fi
   14059 	rm -rf libconftest.dylib*
   14060 	rm -f conftest.*
   14061       fi
   14062 fi
   14063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   14064 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   14065 
   14066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   14067 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   14068 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   14069   $as_echo_n "(cached) " >&6
   14070 else
   14071   lt_cv_ld_exported_symbols_list=no
   14072       save_LDFLAGS=$LDFLAGS
   14073       echo "_main" > conftest.sym
   14074       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   14075       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   14076 /* end confdefs.h.  */
   14077 
   14078 int
   14079 main ()
   14080 {
   14081 
   14082   ;
   14083   return 0;
   14084 }
   14085 _ACEOF
   14086 if ac_fn_c_try_link "$LINENO"; then :
   14087   lt_cv_ld_exported_symbols_list=yes
   14088 else
   14089   lt_cv_ld_exported_symbols_list=no
   14090 fi
   14091 rm -f core conftest.err conftest.$ac_objext \
   14092     conftest$ac_exeext conftest.$ac_ext
   14093 	LDFLAGS=$save_LDFLAGS
   14094 
   14095 fi
   14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   14097 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   14098 
   14099     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   14100 $as_echo_n "checking for -force_load linker flag... " >&6; }
   14101 if ${lt_cv_ld_force_load+:} false; then :
   14102   $as_echo_n "(cached) " >&6
   14103 else
   14104   lt_cv_ld_force_load=no
   14105       cat > conftest.c << _LT_EOF
   14106 int forced_loaded() { return 2;}
   14107 _LT_EOF
   14108       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   14109       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   14110       echo "$AR cru libconftest.a conftest.o" >&5
   14111       $AR cru libconftest.a conftest.o 2>&5
   14112       echo "$RANLIB libconftest.a" >&5
   14113       $RANLIB libconftest.a 2>&5
   14114       cat > conftest.c << _LT_EOF
   14115 int main() { return 0;}
   14116 _LT_EOF
   14117       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   14118       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   14119       _lt_result=$?
   14120       if test -s conftest.err && $GREP force_load conftest.err; then
   14121 	cat conftest.err >&5
   14122       elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
   14123 	lt_cv_ld_force_load=yes
   14124       else
   14125 	cat conftest.err >&5
   14126       fi
   14127         rm -f conftest.err libconftest.a conftest conftest.c
   14128         rm -rf conftest.dSYM
   14129 
   14130 fi
   14131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   14132 $as_echo "$lt_cv_ld_force_load" >&6; }
   14133     case $host_os in
   14134     rhapsody* | darwin1.[012])
   14135       _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
   14136     darwin1.*)
   14137       _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14138     darwin*) # darwin 5.x on
   14139       # if running on 10.5 or later, the deployment target defaults
   14140       # to the OS version, if on x86, and 10.4, the deployment
   14141       # target defaults to 10.4. Don't you love it?
   14142       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   14143 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   14144 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14145 	10.[012][,.]*)
   14146 	  _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
   14147 	10.*)
   14148 	  _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
   14149       esac
   14150     ;;
   14151   esac
   14152     if test yes = "$lt_cv_apple_cc_single_mod"; then
   14153       _lt_dar_single_mod='$single_module'
   14154     fi
   14155     if test yes = "$lt_cv_ld_exported_symbols_list"; then
   14156       _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
   14157     else
   14158       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
   14159     fi
   14160     if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
   14161       _lt_dsymutil='~$DSYMUTIL $lib || :'
   14162     else
   14163       _lt_dsymutil=
   14164     fi
   14165     ;;
   14166   esac
   14167 
   14168 # func_munge_path_list VARIABLE PATH
   14169 # -----------------------------------
   14170 # VARIABLE is name of variable containing _space_ separated list of
   14171 # directories to be munged by the contents of PATH, which is string
   14172 # having a format:
   14173 # "DIR[:DIR]:"
   14174 #       string "DIR[ DIR]" will be prepended to VARIABLE
   14175 # ":DIR[:DIR]"
   14176 #       string "DIR[ DIR]" will be appended to VARIABLE
   14177 # "DIRP[:DIRP]::[DIRA:]DIRA"
   14178 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   14179 #       "DIRA[ DIRA]" will be appended to VARIABLE
   14180 # "DIR[:DIR]"
   14181 #       VARIABLE will be replaced by "DIR[ DIR]"
   14182 func_munge_path_list ()
   14183 {
   14184     case x$2 in
   14185     x)
   14186         ;;
   14187     *:)
   14188         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   14189         ;;
   14190     x:*)
   14191         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   14192         ;;
   14193     *::*)
   14194         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   14195         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   14196         ;;
   14197     *)
   14198         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   14199         ;;
   14200     esac
   14201 }
   14202 
   14203 for ac_header in dlfcn.h
   14204 do :
   14205   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   14206 "
   14207 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   14208   cat >>confdefs.h <<_ACEOF
   14209 #define HAVE_DLFCN_H 1
   14210 _ACEOF
   14211 
   14212 fi
   14213 
   14214 done
   14215 
   14216 
   14217 
   14218 
   14219 
   14220 # Set options
   14221 
   14222 
   14223 
   14224         enable_dlopen=no
   14225 
   14226 
   14227   enable_win32_dll=no
   14228 
   14229 
   14230             # Check whether --enable-shared was given.
   14231 if test "${enable_shared+set}" = set; then :
   14232   enableval=$enable_shared; p=${PACKAGE-default}
   14233     case $enableval in
   14234     yes) enable_shared=yes ;;
   14235     no) enable_shared=no ;;
   14236     *)
   14237       enable_shared=no
   14238       # Look at the argument we got.  We use all the common list separators.
   14239       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14240       for pkg in $enableval; do
   14241 	IFS=$lt_save_ifs
   14242 	if test "X$pkg" = "X$p"; then
   14243 	  enable_shared=yes
   14244 	fi
   14245       done
   14246       IFS=$lt_save_ifs
   14247       ;;
   14248     esac
   14249 else
   14250   enable_shared=yes
   14251 fi
   14252 
   14253 
   14254 
   14255 
   14256 
   14257 
   14258 
   14259 
   14260 
   14261 
   14262 
   14263 # Check whether --with-pic was given.
   14264 if test "${with_pic+set}" = set; then :
   14265   withval=$with_pic; lt_p=${PACKAGE-default}
   14266     case $withval in
   14267     yes|no) pic_mode=$withval ;;
   14268     *)
   14269       pic_mode=default
   14270       # Look at the argument we got.  We use all the common list separators.
   14271       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14272       for lt_pkg in $withval; do
   14273 	IFS=$lt_save_ifs
   14274 	if test "X$lt_pkg" = "X$lt_p"; then
   14275 	  pic_mode=yes
   14276 	fi
   14277       done
   14278       IFS=$lt_save_ifs
   14279       ;;
   14280     esac
   14281 else
   14282   pic_mode=default
   14283 fi
   14284 
   14285 
   14286 
   14287 
   14288 
   14289 
   14290 
   14291 
   14292   # Check whether --enable-fast-install was given.
   14293 if test "${enable_fast_install+set}" = set; then :
   14294   enableval=$enable_fast_install; p=${PACKAGE-default}
   14295     case $enableval in
   14296     yes) enable_fast_install=yes ;;
   14297     no) enable_fast_install=no ;;
   14298     *)
   14299       enable_fast_install=no
   14300       # Look at the argument we got.  We use all the common list separators.
   14301       lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
   14302       for pkg in $enableval; do
   14303 	IFS=$lt_save_ifs
   14304 	if test "X$pkg" = "X$p"; then
   14305 	  enable_fast_install=yes
   14306 	fi
   14307       done
   14308       IFS=$lt_save_ifs
   14309       ;;
   14310     esac
   14311 else
   14312   enable_fast_install=yes
   14313 fi
   14314 
   14315 
   14316 
   14317 
   14318 
   14319 
   14320 
   14321 
   14322   shared_archive_member_spec=
   14323 case $host,$enable_shared in
   14324 power*-*-aix[5-9]*,yes)
   14325   { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
   14326 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
   14327 
   14328 # Check whether --with-aix-soname was given.
   14329 if test "${with_aix_soname+set}" = set; then :
   14330   withval=$with_aix_soname; case $withval in
   14331     aix|svr4|both)
   14332       ;;
   14333     *)
   14334       as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
   14335       ;;
   14336     esac
   14337     lt_cv_with_aix_soname=$with_aix_soname
   14338 else
   14339   if ${lt_cv_with_aix_soname+:} false; then :
   14340   $as_echo_n "(cached) " >&6
   14341 else
   14342   lt_cv_with_aix_soname=aix
   14343 fi
   14344 
   14345     with_aix_soname=$lt_cv_with_aix_soname
   14346 fi
   14347 
   14348   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
   14349 $as_echo "$with_aix_soname" >&6; }
   14350   if test aix != "$with_aix_soname"; then
   14351     # For the AIX way of multilib, we name the shared archive member
   14352     # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
   14353     # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
   14354     # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
   14355     # the AIX toolchain works better with OBJECT_MODE set (default 32).
   14356     if test 64 = "${OBJECT_MODE-32}"; then
   14357       shared_archive_member_spec=shr_64
   14358     else
   14359       shared_archive_member_spec=shr
   14360     fi
   14361   fi
   14362   ;;
   14363 *)
   14364   with_aix_soname=aix
   14365   ;;
   14366 esac
   14367 
   14368 
   14369 
   14370 
   14371 
   14372 
   14373 
   14374 
   14375 
   14376 
   14377 # This can be used to rebuild libtool when needed
   14378 LIBTOOL_DEPS=$ltmain
   14379 
   14380 # Always use our own libtool.
   14381 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14382 
   14383 
   14384 
   14385 
   14386 
   14387 
   14388 
   14389 
   14390 
   14391 
   14392 
   14393 
   14394 
   14395 
   14396 
   14397 
   14398 
   14399 
   14400 
   14401 
   14402 
   14403 
   14404 
   14405 
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 test -z "$LN_S" && LN_S="ln -s"
   14413 
   14414 
   14415 
   14416 
   14417 
   14418 
   14419 
   14420 
   14421 
   14422 
   14423 
   14424 
   14425 
   14426 
   14427 if test -n "${ZSH_VERSION+set}"; then
   14428    setopt NO_GLOB_SUBST
   14429 fi
   14430 
   14431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14432 $as_echo_n "checking for objdir... " >&6; }
   14433 if ${lt_cv_objdir+:} false; then :
   14434   $as_echo_n "(cached) " >&6
   14435 else
   14436   rm -f .libs 2>/dev/null
   14437 mkdir .libs 2>/dev/null
   14438 if test -d .libs; then
   14439   lt_cv_objdir=.libs
   14440 else
   14441   # MS-DOS does not allow filenames that begin with a dot.
   14442   lt_cv_objdir=_libs
   14443 fi
   14444 rmdir .libs 2>/dev/null
   14445 fi
   14446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14447 $as_echo "$lt_cv_objdir" >&6; }
   14448 objdir=$lt_cv_objdir
   14449 
   14450 
   14451 
   14452 
   14453 
   14454 cat >>confdefs.h <<_ACEOF
   14455 #define LT_OBJDIR "$lt_cv_objdir/"
   14456 _ACEOF
   14457 
   14458 
   14459 
   14460 
   14461 case $host_os in
   14462 aix3*)
   14463   # AIX sometimes has problems with the GCC collect2 program.  For some
   14464   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14465   # vanish in a puff of smoke.
   14466   if test set != "${COLLECT_NAMES+set}"; then
   14467     COLLECT_NAMES=
   14468     export COLLECT_NAMES
   14469   fi
   14470   ;;
   14471 esac
   14472 
   14473 # Global variables:
   14474 ofile=libtool
   14475 can_build_shared=yes
   14476 
   14477 # All known linkers require a '.a' archive for static linking (except MSVC,
   14478 # which needs '.lib').
   14479 libext=a
   14480 
   14481 with_gnu_ld=$lt_cv_prog_gnu_ld
   14482 
   14483 old_CC=$CC
   14484 old_CFLAGS=$CFLAGS
   14485 
   14486 # Set sane defaults for various variables
   14487 test -z "$CC" && CC=cc
   14488 test -z "$LTCC" && LTCC=$CC
   14489 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14490 test -z "$LD" && LD=ld
   14491 test -z "$ac_objext" && ac_objext=o
   14492 
   14493 func_cc_basename $compiler
   14494 cc_basename=$func_cc_basename_result
   14495 
   14496 
   14497 # Only perform the check for file, if the check method requires it
   14498 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14499 case $deplibs_check_method in
   14500 file_magic*)
   14501   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14502     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14503 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14504 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14505   $as_echo_n "(cached) " >&6
   14506 else
   14507   case $MAGIC_CMD in
   14508 [\\/*] |  ?:[\\/]*)
   14509   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14510   ;;
   14511 *)
   14512   lt_save_MAGIC_CMD=$MAGIC_CMD
   14513   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14514   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14515   for ac_dir in $ac_dummy; do
   14516     IFS=$lt_save_ifs
   14517     test -z "$ac_dir" && ac_dir=.
   14518     if test -f "$ac_dir/${ac_tool_prefix}file"; then
   14519       lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
   14520       if test -n "$file_magic_test_file"; then
   14521 	case $deplibs_check_method in
   14522 	"file_magic "*)
   14523 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14524 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14525 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14526 	    $EGREP "$file_magic_regex" > /dev/null; then
   14527 	    :
   14528 	  else
   14529 	    cat <<_LT_EOF 1>&2
   14530 
   14531 *** Warning: the command libtool uses to detect shared libraries,
   14532 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14533 *** The result is that libtool may fail to recognize shared libraries
   14534 *** as such.  This will affect the creation of libtool libraries that
   14535 *** depend on shared libraries, but programs linked with such libtool
   14536 *** libraries will work regardless of this problem.  Nevertheless, you
   14537 *** may want to report the problem to your system manager and/or to
   14538 *** bug-libtool (at] gnu.org
   14539 
   14540 _LT_EOF
   14541 	  fi ;;
   14542 	esac
   14543       fi
   14544       break
   14545     fi
   14546   done
   14547   IFS=$lt_save_ifs
   14548   MAGIC_CMD=$lt_save_MAGIC_CMD
   14549   ;;
   14550 esac
   14551 fi
   14552 
   14553 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14554 if test -n "$MAGIC_CMD"; then
   14555   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14556 $as_echo "$MAGIC_CMD" >&6; }
   14557 else
   14558   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14559 $as_echo "no" >&6; }
   14560 fi
   14561 
   14562 
   14563 
   14564 
   14565 
   14566 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14567   if test -n "$ac_tool_prefix"; then
   14568     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14569 $as_echo_n "checking for file... " >&6; }
   14570 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14571   $as_echo_n "(cached) " >&6
   14572 else
   14573   case $MAGIC_CMD in
   14574 [\\/*] |  ?:[\\/]*)
   14575   lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
   14576   ;;
   14577 *)
   14578   lt_save_MAGIC_CMD=$MAGIC_CMD
   14579   lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
   14580   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14581   for ac_dir in $ac_dummy; do
   14582     IFS=$lt_save_ifs
   14583     test -z "$ac_dir" && ac_dir=.
   14584     if test -f "$ac_dir/file"; then
   14585       lt_cv_path_MAGIC_CMD=$ac_dir/"file"
   14586       if test -n "$file_magic_test_file"; then
   14587 	case $deplibs_check_method in
   14588 	"file_magic "*)
   14589 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14590 	  MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14591 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14592 	    $EGREP "$file_magic_regex" > /dev/null; then
   14593 	    :
   14594 	  else
   14595 	    cat <<_LT_EOF 1>&2
   14596 
   14597 *** Warning: the command libtool uses to detect shared libraries,
   14598 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14599 *** The result is that libtool may fail to recognize shared libraries
   14600 *** as such.  This will affect the creation of libtool libraries that
   14601 *** depend on shared libraries, but programs linked with such libtool
   14602 *** libraries will work regardless of this problem.  Nevertheless, you
   14603 *** may want to report the problem to your system manager and/or to
   14604 *** bug-libtool (at] gnu.org
   14605 
   14606 _LT_EOF
   14607 	  fi ;;
   14608 	esac
   14609       fi
   14610       break
   14611     fi
   14612   done
   14613   IFS=$lt_save_ifs
   14614   MAGIC_CMD=$lt_save_MAGIC_CMD
   14615   ;;
   14616 esac
   14617 fi
   14618 
   14619 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
   14620 if test -n "$MAGIC_CMD"; then
   14621   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14622 $as_echo "$MAGIC_CMD" >&6; }
   14623 else
   14624   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14625 $as_echo "no" >&6; }
   14626 fi
   14627 
   14628 
   14629   else
   14630     MAGIC_CMD=:
   14631   fi
   14632 fi
   14633 
   14634   fi
   14635   ;;
   14636 esac
   14637 
   14638 # Use C for the default configuration in the libtool script
   14639 
   14640 lt_save_CC=$CC
   14641 ac_ext=c
   14642 ac_cpp='$CPP $CPPFLAGS'
   14643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14646 
   14647 
   14648 # Source file extension for C test sources.
   14649 ac_ext=c
   14650 
   14651 # Object file extension for compiled C test sources.
   14652 objext=o
   14653 objext=$objext
   14654 
   14655 # Code to be used in simple compile tests
   14656 lt_simple_compile_test_code="int some_variable = 0;"
   14657 
   14658 # Code to be used in simple link tests
   14659 lt_simple_link_test_code='int main(){return(0);}'
   14660 
   14661 
   14662 
   14663 
   14664 
   14665 
   14666 
   14667 # If no C compiler was specified, use CC.
   14668 LTCC=${LTCC-"$CC"}
   14669 
   14670 # If no C compiler flags were specified, use CFLAGS.
   14671 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14672 
   14673 # Allow CC to be a program name with arguments.
   14674 compiler=$CC
   14675 
   14676 # Save the default compiler, since it gets overwritten when the other
   14677 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14678 compiler_DEFAULT=$CC
   14679 
   14680 # save warnings/boilerplate of simple test code
   14681 ac_outfile=conftest.$ac_objext
   14682 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14683 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14684 _lt_compiler_boilerplate=`cat conftest.err`
   14685 $RM conftest*
   14686 
   14687 ac_outfile=conftest.$ac_objext
   14688 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14689 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14690 _lt_linker_boilerplate=`cat conftest.err`
   14691 $RM -r conftest*
   14692 
   14693 
   14694 if test -n "$compiler"; then
   14695 
   14696 lt_prog_compiler_no_builtin_flag=
   14697 
   14698 if test yes = "$GCC"; then
   14699   case $cc_basename in
   14700   nvcc*)
   14701     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14702   *)
   14703     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14704   esac
   14705 
   14706   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14707 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14708 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14709   $as_echo_n "(cached) " >&6
   14710 else
   14711   lt_cv_prog_compiler_rtti_exceptions=no
   14712    ac_outfile=conftest.$ac_objext
   14713    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14714    lt_compiler_flag="-fno-rtti -fno-exceptions"  ## exclude from sc_useless_quotes_in_assignment
   14715    # Insert the option either (1) after the last *FLAGS variable, or
   14716    # (2) before a word containing "conftest.", or (3) at the end.
   14717    # Note that $ac_compile itself does not contain backslashes and begins
   14718    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14719    # The option is referenced via a variable to avoid confusing sed.
   14720    lt_compile=`echo "$ac_compile" | $SED \
   14721    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14722    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14723    -e 's:$: $lt_compiler_flag:'`
   14724    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14725    (eval "$lt_compile" 2>conftest.err)
   14726    ac_status=$?
   14727    cat conftest.err >&5
   14728    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14729    if (exit $ac_status) && test -s "$ac_outfile"; then
   14730      # The compiler can only warn and ignore the option if not recognized
   14731      # So say no if there are warnings other than the usual output.
   14732      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14733      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14734      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14735        lt_cv_prog_compiler_rtti_exceptions=yes
   14736      fi
   14737    fi
   14738    $RM conftest*
   14739 
   14740 fi
   14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14742 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14743 
   14744 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
   14745     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14746 else
   14747     :
   14748 fi
   14749 
   14750 fi
   14751 
   14752 
   14753 
   14754 
   14755 
   14756 
   14757   lt_prog_compiler_wl=
   14758 lt_prog_compiler_pic=
   14759 lt_prog_compiler_static=
   14760 
   14761 
   14762   if test yes = "$GCC"; then
   14763     lt_prog_compiler_wl='-Wl,'
   14764     lt_prog_compiler_static='-static'
   14765 
   14766     case $host_os in
   14767       aix*)
   14768       # All AIX code is PIC.
   14769       if test ia64 = "$host_cpu"; then
   14770 	# AIX 5 now supports IA64 processor
   14771 	lt_prog_compiler_static='-Bstatic'
   14772       fi
   14773       lt_prog_compiler_pic='-fPIC'
   14774       ;;
   14775 
   14776     amigaos*)
   14777       case $host_cpu in
   14778       powerpc)
   14779             # see comment about AmigaOS4 .so support
   14780             lt_prog_compiler_pic='-fPIC'
   14781         ;;
   14782       m68k)
   14783             # FIXME: we need at least 68020 code to build shared libraries, but
   14784             # adding the '-m68020' flag to GCC prevents building anything better,
   14785             # like '-m68040'.
   14786             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14787         ;;
   14788       esac
   14789       ;;
   14790 
   14791     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14792       # PIC is the default for these OSes.
   14793       ;;
   14794 
   14795     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14796       # This hack is so that the source file can tell whether it is being
   14797       # built for inclusion in a dll (and should export symbols for example).
   14798       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14799       # (--disable-auto-import) libraries
   14800       lt_prog_compiler_pic='-DDLL_EXPORT'
   14801       case $host_os in
   14802       os2*)
   14803 	lt_prog_compiler_static='$wl-static'
   14804 	;;
   14805       esac
   14806       ;;
   14807 
   14808     darwin* | rhapsody*)
   14809       # PIC is the default on this platform
   14810       # Common symbols not allowed in MH_DYLIB files
   14811       lt_prog_compiler_pic='-fno-common'
   14812       ;;
   14813 
   14814     haiku*)
   14815       # PIC is the default for Haiku.
   14816       # The "-static" flag exists, but is broken.
   14817       lt_prog_compiler_static=
   14818       ;;
   14819 
   14820     hpux*)
   14821       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14822       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14823       # sets the default TLS model and affects inlining.
   14824       case $host_cpu in
   14825       hppa*64*)
   14826 	# +Z the default
   14827 	;;
   14828       *)
   14829 	lt_prog_compiler_pic='-fPIC'
   14830 	;;
   14831       esac
   14832       ;;
   14833 
   14834     interix[3-9]*)
   14835       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14836       # Instead, we relocate shared libraries at runtime.
   14837       ;;
   14838 
   14839     msdosdjgpp*)
   14840       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14841       # on systems that don't support them.
   14842       lt_prog_compiler_can_build_shared=no
   14843       enable_shared=no
   14844       ;;
   14845 
   14846     *nto* | *qnx*)
   14847       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14848       # it will coredump.
   14849       lt_prog_compiler_pic='-fPIC -shared'
   14850       ;;
   14851 
   14852     sysv4*MP*)
   14853       if test -d /usr/nec; then
   14854 	lt_prog_compiler_pic=-Kconform_pic
   14855       fi
   14856       ;;
   14857 
   14858     *)
   14859       lt_prog_compiler_pic='-fPIC'
   14860       ;;
   14861     esac
   14862 
   14863     case $cc_basename in
   14864     nvcc*) # Cuda Compiler Driver 2.2
   14865       lt_prog_compiler_wl='-Xlinker '
   14866       if test -n "$lt_prog_compiler_pic"; then
   14867         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14868       fi
   14869       ;;
   14870     esac
   14871   else
   14872     # PORTME Check for flag to pass linker flags through the system compiler.
   14873     case $host_os in
   14874     aix*)
   14875       lt_prog_compiler_wl='-Wl,'
   14876       if test ia64 = "$host_cpu"; then
   14877 	# AIX 5 now supports IA64 processor
   14878 	lt_prog_compiler_static='-Bstatic'
   14879       else
   14880 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14881       fi
   14882       ;;
   14883 
   14884     darwin* | rhapsody*)
   14885       # PIC is the default on this platform
   14886       # Common symbols not allowed in MH_DYLIB files
   14887       lt_prog_compiler_pic='-fno-common'
   14888       case $cc_basename in
   14889       nagfor*)
   14890         # NAG Fortran compiler
   14891         lt_prog_compiler_wl='-Wl,-Wl,,'
   14892         lt_prog_compiler_pic='-PIC'
   14893         lt_prog_compiler_static='-Bstatic'
   14894         ;;
   14895       esac
   14896       ;;
   14897 
   14898     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14899       # This hack is so that the source file can tell whether it is being
   14900       # built for inclusion in a dll (and should export symbols for example).
   14901       lt_prog_compiler_pic='-DDLL_EXPORT'
   14902       case $host_os in
   14903       os2*)
   14904 	lt_prog_compiler_static='$wl-static'
   14905 	;;
   14906       esac
   14907       ;;
   14908 
   14909     hpux9* | hpux10* | hpux11*)
   14910       lt_prog_compiler_wl='-Wl,'
   14911       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14912       # not for PA HP-UX.
   14913       case $host_cpu in
   14914       hppa*64*|ia64*)
   14915 	# +Z the default
   14916 	;;
   14917       *)
   14918 	lt_prog_compiler_pic='+Z'
   14919 	;;
   14920       esac
   14921       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14922       lt_prog_compiler_static='$wl-a ${wl}archive'
   14923       ;;
   14924 
   14925     irix5* | irix6* | nonstopux*)
   14926       lt_prog_compiler_wl='-Wl,'
   14927       # PIC (with -KPIC) is the default.
   14928       lt_prog_compiler_static='-non_shared'
   14929       ;;
   14930 
   14931     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14932       case $cc_basename in
   14933       # old Intel for x86_64, which still supported -KPIC.
   14934       ecc*)
   14935 	lt_prog_compiler_wl='-Wl,'
   14936 	lt_prog_compiler_pic='-KPIC'
   14937 	lt_prog_compiler_static='-static'
   14938         ;;
   14939       # icc used to be incompatible with GCC.
   14940       # ICC 10 doesn't accept -KPIC any more.
   14941       icc* | ifort*)
   14942 	lt_prog_compiler_wl='-Wl,'
   14943 	lt_prog_compiler_pic='-fPIC'
   14944 	lt_prog_compiler_static='-static'
   14945         ;;
   14946       # Lahey Fortran 8.1.
   14947       lf95*)
   14948 	lt_prog_compiler_wl='-Wl,'
   14949 	lt_prog_compiler_pic='--shared'
   14950 	lt_prog_compiler_static='--static'
   14951 	;;
   14952       nagfor*)
   14953 	# NAG Fortran compiler
   14954 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14955 	lt_prog_compiler_pic='-PIC'
   14956 	lt_prog_compiler_static='-Bstatic'
   14957 	;;
   14958       tcc*)
   14959 	# Fabrice Bellard et al's Tiny C Compiler
   14960 	lt_prog_compiler_wl='-Wl,'
   14961 	lt_prog_compiler_pic='-fPIC'
   14962 	lt_prog_compiler_static='-static'
   14963 	;;
   14964       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14965         # Portland Group compilers (*not* the Pentium gcc compiler,
   14966 	# which looks to be a dead project)
   14967 	lt_prog_compiler_wl='-Wl,'
   14968 	lt_prog_compiler_pic='-fpic'
   14969 	lt_prog_compiler_static='-Bstatic'
   14970         ;;
   14971       ccc*)
   14972         lt_prog_compiler_wl='-Wl,'
   14973         # All Alpha code is PIC.
   14974         lt_prog_compiler_static='-non_shared'
   14975         ;;
   14976       xl* | bgxl* | bgf* | mpixl*)
   14977 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14978 	lt_prog_compiler_wl='-Wl,'
   14979 	lt_prog_compiler_pic='-qpic'
   14980 	lt_prog_compiler_static='-qstaticlink'
   14981 	;;
   14982       *)
   14983 	case `$CC -V 2>&1 | sed 5q` in
   14984 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14985 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14986 	  lt_prog_compiler_pic='-KPIC'
   14987 	  lt_prog_compiler_static='-Bstatic'
   14988 	  lt_prog_compiler_wl=''
   14989 	  ;;
   14990 	*Sun\ F* | *Sun*Fortran*)
   14991 	  lt_prog_compiler_pic='-KPIC'
   14992 	  lt_prog_compiler_static='-Bstatic'
   14993 	  lt_prog_compiler_wl='-Qoption ld '
   14994 	  ;;
   14995 	*Sun\ C*)
   14996 	  # Sun C 5.9
   14997 	  lt_prog_compiler_pic='-KPIC'
   14998 	  lt_prog_compiler_static='-Bstatic'
   14999 	  lt_prog_compiler_wl='-Wl,'
   15000 	  ;;
   15001         *Intel*\ [CF]*Compiler*)
   15002 	  lt_prog_compiler_wl='-Wl,'
   15003 	  lt_prog_compiler_pic='-fPIC'
   15004 	  lt_prog_compiler_static='-static'
   15005 	  ;;
   15006 	*Portland\ Group*)
   15007 	  lt_prog_compiler_wl='-Wl,'
   15008 	  lt_prog_compiler_pic='-fpic'
   15009 	  lt_prog_compiler_static='-Bstatic'
   15010 	  ;;
   15011 	esac
   15012 	;;
   15013       esac
   15014       ;;
   15015 
   15016     newsos6)
   15017       lt_prog_compiler_pic='-KPIC'
   15018       lt_prog_compiler_static='-Bstatic'
   15019       ;;
   15020 
   15021     *nto* | *qnx*)
   15022       # QNX uses GNU C++, but need to define -shared option too, otherwise
   15023       # it will coredump.
   15024       lt_prog_compiler_pic='-fPIC -shared'
   15025       ;;
   15026 
   15027     osf3* | osf4* | osf5*)
   15028       lt_prog_compiler_wl='-Wl,'
   15029       # All OSF/1 code is PIC.
   15030       lt_prog_compiler_static='-non_shared'
   15031       ;;
   15032 
   15033     rdos*)
   15034       lt_prog_compiler_static='-non_shared'
   15035       ;;
   15036 
   15037     solaris*)
   15038       lt_prog_compiler_pic='-KPIC'
   15039       lt_prog_compiler_static='-Bstatic'
   15040       case $cc_basename in
   15041       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   15042 	lt_prog_compiler_wl='-Qoption ld ';;
   15043       *)
   15044 	lt_prog_compiler_wl='-Wl,';;
   15045       esac
   15046       ;;
   15047 
   15048     sunos4*)
   15049       lt_prog_compiler_wl='-Qoption ld '
   15050       lt_prog_compiler_pic='-PIC'
   15051       lt_prog_compiler_static='-Bstatic'
   15052       ;;
   15053 
   15054     sysv4 | sysv4.2uw2* | sysv4.3*)
   15055       lt_prog_compiler_wl='-Wl,'
   15056       lt_prog_compiler_pic='-KPIC'
   15057       lt_prog_compiler_static='-Bstatic'
   15058       ;;
   15059 
   15060     sysv4*MP*)
   15061       if test -d /usr/nec; then
   15062 	lt_prog_compiler_pic='-Kconform_pic'
   15063 	lt_prog_compiler_static='-Bstatic'
   15064       fi
   15065       ;;
   15066 
   15067     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   15068       lt_prog_compiler_wl='-Wl,'
   15069       lt_prog_compiler_pic='-KPIC'
   15070       lt_prog_compiler_static='-Bstatic'
   15071       ;;
   15072 
   15073     unicos*)
   15074       lt_prog_compiler_wl='-Wl,'
   15075       lt_prog_compiler_can_build_shared=no
   15076       ;;
   15077 
   15078     uts4*)
   15079       lt_prog_compiler_pic='-pic'
   15080       lt_prog_compiler_static='-Bstatic'
   15081       ;;
   15082 
   15083     *)
   15084       lt_prog_compiler_can_build_shared=no
   15085       ;;
   15086     esac
   15087   fi
   15088 
   15089 case $host_os in
   15090   # For platforms that do not support PIC, -DPIC is meaningless:
   15091   *djgpp*)
   15092     lt_prog_compiler_pic=
   15093     ;;
   15094   *)
   15095     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   15096     ;;
   15097 esac
   15098 
   15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   15100 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   15101 if ${lt_cv_prog_compiler_pic+:} false; then :
   15102   $as_echo_n "(cached) " >&6
   15103 else
   15104   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   15105 fi
   15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   15107 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   15108 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   15109 
   15110 #
   15111 # Check to make sure the PIC flag actually works.
   15112 #
   15113 if test -n "$lt_prog_compiler_pic"; then
   15114   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   15115 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   15116 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   15117   $as_echo_n "(cached) " >&6
   15118 else
   15119   lt_cv_prog_compiler_pic_works=no
   15120    ac_outfile=conftest.$ac_objext
   15121    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15122    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"  ## exclude from sc_useless_quotes_in_assignment
   15123    # Insert the option either (1) after the last *FLAGS variable, or
   15124    # (2) before a word containing "conftest.", or (3) at the end.
   15125    # Note that $ac_compile itself does not contain backslashes and begins
   15126    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15127    # The option is referenced via a variable to avoid confusing sed.
   15128    lt_compile=`echo "$ac_compile" | $SED \
   15129    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15130    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15131    -e 's:$: $lt_compiler_flag:'`
   15132    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15133    (eval "$lt_compile" 2>conftest.err)
   15134    ac_status=$?
   15135    cat conftest.err >&5
   15136    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15137    if (exit $ac_status) && test -s "$ac_outfile"; then
   15138      # The compiler can only warn and ignore the option if not recognized
   15139      # So say no if there are warnings other than the usual output.
   15140      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   15141      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15142      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   15143        lt_cv_prog_compiler_pic_works=yes
   15144      fi
   15145    fi
   15146    $RM conftest*
   15147 
   15148 fi
   15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   15150 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   15151 
   15152 if test yes = "$lt_cv_prog_compiler_pic_works"; then
   15153     case $lt_prog_compiler_pic in
   15154      "" | " "*) ;;
   15155      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   15156      esac
   15157 else
   15158     lt_prog_compiler_pic=
   15159      lt_prog_compiler_can_build_shared=no
   15160 fi
   15161 
   15162 fi
   15163 
   15164 
   15165 
   15166 
   15167 
   15168 
   15169 
   15170 
   15171 
   15172 
   15173 
   15174 #
   15175 # Check to make sure the static flag actually works.
   15176 #
   15177 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   15178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   15179 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   15180 if ${lt_cv_prog_compiler_static_works+:} false; then :
   15181   $as_echo_n "(cached) " >&6
   15182 else
   15183   lt_cv_prog_compiler_static_works=no
   15184    save_LDFLAGS=$LDFLAGS
   15185    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   15186    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15187    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15188      # The linker can only warn and ignore the option if not recognized
   15189      # So say no if there are warnings
   15190      if test -s conftest.err; then
   15191        # Append any errors to the config.log.
   15192        cat conftest.err 1>&5
   15193        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15194        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15195        if diff conftest.exp conftest.er2 >/dev/null; then
   15196          lt_cv_prog_compiler_static_works=yes
   15197        fi
   15198      else
   15199        lt_cv_prog_compiler_static_works=yes
   15200      fi
   15201    fi
   15202    $RM -r conftest*
   15203    LDFLAGS=$save_LDFLAGS
   15204 
   15205 fi
   15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   15207 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   15208 
   15209 if test yes = "$lt_cv_prog_compiler_static_works"; then
   15210     :
   15211 else
   15212     lt_prog_compiler_static=
   15213 fi
   15214 
   15215 
   15216 
   15217 
   15218 
   15219 
   15220 
   15221   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15222 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15223 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15224   $as_echo_n "(cached) " >&6
   15225 else
   15226   lt_cv_prog_compiler_c_o=no
   15227    $RM -r conftest 2>/dev/null
   15228    mkdir conftest
   15229    cd conftest
   15230    mkdir out
   15231    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15232 
   15233    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15234    # Insert the option either (1) after the last *FLAGS variable, or
   15235    # (2) before a word containing "conftest.", or (3) at the end.
   15236    # Note that $ac_compile itself does not contain backslashes and begins
   15237    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15238    lt_compile=`echo "$ac_compile" | $SED \
   15239    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15240    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15241    -e 's:$: $lt_compiler_flag:'`
   15242    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15243    (eval "$lt_compile" 2>out/conftest.err)
   15244    ac_status=$?
   15245    cat out/conftest.err >&5
   15246    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15247    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15248    then
   15249      # The compiler can only warn and ignore the option if not recognized
   15250      # So say no if there are warnings
   15251      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15252      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15253      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15254        lt_cv_prog_compiler_c_o=yes
   15255      fi
   15256    fi
   15257    chmod u+w . 2>&5
   15258    $RM conftest*
   15259    # SGI C++ compiler will create directory out/ii_files/ for
   15260    # template instantiation
   15261    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15262    $RM out/* && rmdir out
   15263    cd ..
   15264    $RM -r conftest
   15265    $RM conftest*
   15266 
   15267 fi
   15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15269 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15270 
   15271 
   15272 
   15273 
   15274 
   15275 
   15276   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   15277 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   15278 if ${lt_cv_prog_compiler_c_o+:} false; then :
   15279   $as_echo_n "(cached) " >&6
   15280 else
   15281   lt_cv_prog_compiler_c_o=no
   15282    $RM -r conftest 2>/dev/null
   15283    mkdir conftest
   15284    cd conftest
   15285    mkdir out
   15286    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15287 
   15288    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15289    # Insert the option either (1) after the last *FLAGS variable, or
   15290    # (2) before a word containing "conftest.", or (3) at the end.
   15291    # Note that $ac_compile itself does not contain backslashes and begins
   15292    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15293    lt_compile=`echo "$ac_compile" | $SED \
   15294    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15295    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15296    -e 's:$: $lt_compiler_flag:'`
   15297    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15298    (eval "$lt_compile" 2>out/conftest.err)
   15299    ac_status=$?
   15300    cat out/conftest.err >&5
   15301    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15302    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15303    then
   15304      # The compiler can only warn and ignore the option if not recognized
   15305      # So say no if there are warnings
   15306      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15307      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15308      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15309        lt_cv_prog_compiler_c_o=yes
   15310      fi
   15311    fi
   15312    chmod u+w . 2>&5
   15313    $RM conftest*
   15314    # SGI C++ compiler will create directory out/ii_files/ for
   15315    # template instantiation
   15316    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15317    $RM out/* && rmdir out
   15318    cd ..
   15319    $RM -r conftest
   15320    $RM conftest*
   15321 
   15322 fi
   15323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15324 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15325 
   15326 
   15327 
   15328 
   15329 hard_links=nottested
   15330 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
   15331   # do not overwrite the value of need_locks provided by the user
   15332   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15333 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15334   hard_links=yes
   15335   $RM conftest*
   15336   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15337   touch conftest.a
   15338   ln conftest.a conftest.b 2>&5 || hard_links=no
   15339   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15340   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15341 $as_echo "$hard_links" >&6; }
   15342   if test no = "$hard_links"; then
   15343     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
   15344 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
   15345     need_locks=warn
   15346   fi
   15347 else
   15348   need_locks=no
   15349 fi
   15350 
   15351 
   15352 
   15353 
   15354 
   15355 
   15356   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15357 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15358 
   15359   runpath_var=
   15360   allow_undefined_flag=
   15361   always_export_symbols=no
   15362   archive_cmds=
   15363   archive_expsym_cmds=
   15364   compiler_needs_object=no
   15365   enable_shared_with_static_runtimes=no
   15366   export_dynamic_flag_spec=
   15367   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15368   hardcode_automatic=no
   15369   hardcode_direct=no
   15370   hardcode_direct_absolute=no
   15371   hardcode_libdir_flag_spec=
   15372   hardcode_libdir_separator=
   15373   hardcode_minus_L=no
   15374   hardcode_shlibpath_var=unsupported
   15375   inherit_rpath=no
   15376   link_all_deplibs=unknown
   15377   module_cmds=
   15378   module_expsym_cmds=
   15379   old_archive_from_new_cmds=
   15380   old_archive_from_expsyms_cmds=
   15381   thread_safe_flag_spec=
   15382   whole_archive_flag_spec=
   15383   # include_expsyms should be a list of space-separated symbols to be *always*
   15384   # included in the symbol list
   15385   include_expsyms=
   15386   # exclude_expsyms can be an extended regexp of symbols to exclude
   15387   # it will be wrapped by ' (' and ')$', so one must not match beginning or
   15388   # end of line.  Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
   15389   # as well as any symbol that contains 'd'.
   15390   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15391   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15392   # platforms (ab)use it in PIC code, but their linkers get confused if
   15393   # the symbol is explicitly referenced.  Since portable code cannot
   15394   # rely on this symbol name, it's probably fine to never include it in
   15395   # preloaded symbol tables.
   15396   # Exclude shared library initialization/finalization symbols.
   15397   extract_expsyms_cmds=
   15398 
   15399   case $host_os in
   15400   cygwin* | mingw* | pw32* | cegcc*)
   15401     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15402     # When not using gcc, we currently assume that we are using
   15403     # Microsoft Visual C++.
   15404     if test yes != "$GCC"; then
   15405       with_gnu_ld=no
   15406     fi
   15407     ;;
   15408   interix*)
   15409     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15410     with_gnu_ld=yes
   15411     ;;
   15412   openbsd* | bitrig*)
   15413     with_gnu_ld=no
   15414     ;;
   15415   esac
   15416 
   15417   ld_shlibs=yes
   15418 
   15419   # On some targets, GNU ld is compatible enough with the native linker
   15420   # that we're better off using the native interface for both.
   15421   lt_use_gnu_ld_interface=no
   15422   if test yes = "$with_gnu_ld"; then
   15423     case $host_os in
   15424       aix*)
   15425 	# The AIX port of GNU ld has always aspired to compatibility
   15426 	# with the native linker.  However, as the warning in the GNU ld
   15427 	# block says, versions before 2.19.5* couldn't really create working
   15428 	# shared libraries, regardless of the interface used.
   15429 	case `$LD -v 2>&1` in
   15430 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15431 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15432 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15433 	  *)
   15434 	    lt_use_gnu_ld_interface=yes
   15435 	    ;;
   15436 	esac
   15437 	;;
   15438       *)
   15439 	lt_use_gnu_ld_interface=yes
   15440 	;;
   15441     esac
   15442   fi
   15443 
   15444   if test yes = "$lt_use_gnu_ld_interface"; then
   15445     # If archive_cmds runs LD, not CC, wlarc should be empty
   15446     wlarc='$wl'
   15447 
   15448     # Set some defaults for GNU ld with shared library support. These
   15449     # are reset later if shared libraries are not supported. Putting them
   15450     # here allows them to be overridden if necessary.
   15451     runpath_var=LD_RUN_PATH
   15452     hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15453     export_dynamic_flag_spec='$wl--export-dynamic'
   15454     # ancient GNU ld didn't support --whole-archive et. al.
   15455     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15456       whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
   15457     else
   15458       whole_archive_flag_spec=
   15459     fi
   15460     supports_anon_versioning=no
   15461     case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
   15462       *GNU\ gold*) supports_anon_versioning=yes ;;
   15463       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15464       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15465       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15466       *\ 2.11.*) ;; # other 2.11 versions
   15467       *) supports_anon_versioning=yes ;;
   15468     esac
   15469 
   15470     # See if GNU ld supports shared libraries.
   15471     case $host_os in
   15472     aix[3-9]*)
   15473       # On AIX/PPC, the GNU linker is very broken
   15474       if test ia64 != "$host_cpu"; then
   15475 	ld_shlibs=no
   15476 	cat <<_LT_EOF 1>&2
   15477 
   15478 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15479 *** to be unable to reliably create shared libraries on AIX.
   15480 *** Therefore, libtool is disabling shared libraries support.  If you
   15481 *** really care for shared libraries, you may want to install binutils
   15482 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15483 *** You will then need to restart the configuration process.
   15484 
   15485 _LT_EOF
   15486       fi
   15487       ;;
   15488 
   15489     amigaos*)
   15490       case $host_cpu in
   15491       powerpc)
   15492             # see comment about AmigaOS4 .so support
   15493             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15494             archive_expsym_cmds=''
   15495         ;;
   15496       m68k)
   15497             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)'
   15498             hardcode_libdir_flag_spec='-L$libdir'
   15499             hardcode_minus_L=yes
   15500         ;;
   15501       esac
   15502       ;;
   15503 
   15504     beos*)
   15505       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15506 	allow_undefined_flag=unsupported
   15507 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15508 	# support --undefined.  This deserves some investigation.  FIXME
   15509 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15510       else
   15511 	ld_shlibs=no
   15512       fi
   15513       ;;
   15514 
   15515     cygwin* | mingw* | pw32* | cegcc*)
   15516       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15517       # as there is no search path for DLLs.
   15518       hardcode_libdir_flag_spec='-L$libdir'
   15519       export_dynamic_flag_spec='$wl--export-all-symbols'
   15520       allow_undefined_flag=unsupported
   15521       always_export_symbols=no
   15522       enable_shared_with_static_runtimes=yes
   15523       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'
   15524       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15525 
   15526       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15527         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15528 	# If the export-symbols file already is a .def file, use it as
   15529 	# is; otherwise, prepend EXPORTS...
   15530 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   15531           cp $export_symbols $output_objdir/$soname.def;
   15532         else
   15533           echo EXPORTS > $output_objdir/$soname.def;
   15534           cat $export_symbols >> $output_objdir/$soname.def;
   15535         fi~
   15536         $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15537       else
   15538 	ld_shlibs=no
   15539       fi
   15540       ;;
   15541 
   15542     haiku*)
   15543       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15544       link_all_deplibs=yes
   15545       ;;
   15546 
   15547     os2*)
   15548       hardcode_libdir_flag_spec='-L$libdir'
   15549       hardcode_minus_L=yes
   15550       allow_undefined_flag=unsupported
   15551       shrext_cmds=.dll
   15552       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15553 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15554 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15555 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15556 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   15557 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15558 	emximp -o $lib $output_objdir/$libname.def'
   15559       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   15560 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   15561 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   15562 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   15563 	prefix_cmds="$SED"~
   15564 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   15565 	  prefix_cmds="$prefix_cmds -e 1d";
   15566 	fi~
   15567 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   15568 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   15569 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   15570 	emximp -o $lib $output_objdir/$libname.def'
   15571       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   15572       enable_shared_with_static_runtimes=yes
   15573       ;;
   15574 
   15575     interix[3-9]*)
   15576       hardcode_direct=no
   15577       hardcode_shlibpath_var=no
   15578       hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   15579       export_dynamic_flag_spec='$wl-E'
   15580       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15581       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15582       # default) and relocated if they conflict, which is a slow very memory
   15583       # consuming and fragmenting process.  To avoid this, we pick a random,
   15584       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15585       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15586       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15587       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'
   15588       ;;
   15589 
   15590     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15591       tmp_diet=no
   15592       if test linux-dietlibc = "$host_os"; then
   15593 	case $cc_basename in
   15594 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15595 	esac
   15596       fi
   15597       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15598 	 && test no = "$tmp_diet"
   15599       then
   15600 	tmp_addflag=' $pic_flag'
   15601 	tmp_sharedflag='-shared'
   15602 	case $cc_basename,$host_cpu in
   15603         pgcc*)				# Portland Group C compiler
   15604 	  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'
   15605 	  tmp_addflag=' $pic_flag'
   15606 	  ;;
   15607 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15608 					# Portland Group f77 and f90 compilers
   15609 	  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'
   15610 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15611 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15612 	  tmp_addflag=' -i_dynamic' ;;
   15613 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15614 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15615 	ifc* | ifort*)			# Intel Fortran compiler
   15616 	  tmp_addflag=' -nofor_main' ;;
   15617 	lf95*)				# Lahey Fortran 8.1
   15618 	  whole_archive_flag_spec=
   15619 	  tmp_sharedflag='--shared' ;;
   15620         nagfor*)                        # NAGFOR 5.3
   15621           tmp_sharedflag='-Wl,-shared' ;;
   15622 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15623 	  tmp_sharedflag='-qmkshrobj'
   15624 	  tmp_addflag= ;;
   15625 	nvcc*)	# Cuda Compiler Driver 2.2
   15626 	  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'
   15627 	  compiler_needs_object=yes
   15628 	  ;;
   15629 	esac
   15630 	case `$CC -V 2>&1 | sed 5q` in
   15631 	*Sun\ C*)			# Sun C 5.9
   15632 	  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'
   15633 	  compiler_needs_object=yes
   15634 	  tmp_sharedflag='-G' ;;
   15635 	*Sun\ F*)			# Sun Fortran 8.3
   15636 	  tmp_sharedflag='-G' ;;
   15637 	esac
   15638 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15639 
   15640         if test yes = "$supports_anon_versioning"; then
   15641           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15642             cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15643             echo "local: *; };" >> $output_objdir/$libname.ver~
   15644             $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
   15645         fi
   15646 
   15647 	case $cc_basename in
   15648 	tcc*)
   15649 	  export_dynamic_flag_spec='-rdynamic'
   15650 	  ;;
   15651 	xlf* | bgf* | bgxlf* | mpixlf*)
   15652 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15653 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15654 	  hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15655 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15656 	  if test yes = "$supports_anon_versioning"; then
   15657 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15658               cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15659               echo "local: *; };" >> $output_objdir/$libname.ver~
   15660               $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15661 	  fi
   15662 	  ;;
   15663 	esac
   15664       else
   15665         ld_shlibs=no
   15666       fi
   15667       ;;
   15668 
   15669     netbsd*)
   15670       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15671 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15672 	wlarc=
   15673       else
   15674 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15675 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15676       fi
   15677       ;;
   15678 
   15679     solaris*)
   15680       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15681 	ld_shlibs=no
   15682 	cat <<_LT_EOF 1>&2
   15683 
   15684 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15685 *** create shared libraries on Solaris systems.  Therefore, libtool
   15686 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15687 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15688 *** your PATH or compiler configuration so that the native linker is
   15689 *** used, and then restart.
   15690 
   15691 _LT_EOF
   15692       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15693 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15694 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15695       else
   15696 	ld_shlibs=no
   15697       fi
   15698       ;;
   15699 
   15700     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15701       case `$LD -v 2>&1` in
   15702         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15703 	ld_shlibs=no
   15704 	cat <<_LT_EOF 1>&2
   15705 
   15706 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
   15707 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15708 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15709 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15710 *** your PATH or compiler configuration so that the native linker is
   15711 *** used, and then restart.
   15712 
   15713 _LT_EOF
   15714 	;;
   15715 	*)
   15716 	  # For security reasons, it is highly recommended that you always
   15717 	  # use absolute paths for naming shared libraries, and exclude the
   15718 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15719 	  # requires that you compile everything twice, which is a pain.
   15720 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15721 	    hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   15722 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15723 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15724 	  else
   15725 	    ld_shlibs=no
   15726 	  fi
   15727 	;;
   15728       esac
   15729       ;;
   15730 
   15731     sunos4*)
   15732       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15733       wlarc=
   15734       hardcode_direct=yes
   15735       hardcode_shlibpath_var=no
   15736       ;;
   15737 
   15738     *)
   15739       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15740 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   15741 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
   15742       else
   15743 	ld_shlibs=no
   15744       fi
   15745       ;;
   15746     esac
   15747 
   15748     if test no = "$ld_shlibs"; then
   15749       runpath_var=
   15750       hardcode_libdir_flag_spec=
   15751       export_dynamic_flag_spec=
   15752       whole_archive_flag_spec=
   15753     fi
   15754   else
   15755     # PORTME fill in a description of your system's linker (not GNU ld)
   15756     case $host_os in
   15757     aix3*)
   15758       allow_undefined_flag=unsupported
   15759       always_export_symbols=yes
   15760       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'
   15761       # Note: this linker hardcodes the directories in LIBPATH if there
   15762       # are no directories specified by -L.
   15763       hardcode_minus_L=yes
   15764       if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
   15765 	# Neither direct hardcoding nor static linking is supported with a
   15766 	# broken collect2.
   15767 	hardcode_direct=unsupported
   15768       fi
   15769       ;;
   15770 
   15771     aix[4-9]*)
   15772       if test ia64 = "$host_cpu"; then
   15773 	# On IA64, the linker does run time linking by default, so we don't
   15774 	# have to do anything special.
   15775 	aix_use_runtimelinking=no
   15776 	exp_sym_flag='-Bexport'
   15777 	no_entry_flag=
   15778       else
   15779 	# If we're using GNU nm, then we don't want the "-C" option.
   15780 	# -C means demangle to GNU nm, but means don't demangle to AIX nm.
   15781 	# Without the "-l" option, or with the "-B" option, AIX nm treats
   15782 	# weak defined symbols like other global defined symbols, whereas
   15783 	# GNU nm marks them as "W".
   15784 	# While the 'weak' keyword is ignored in the Export File, we need
   15785 	# it in the Import File for the 'aix-soname' feature, so we have
   15786 	# to replace the "-B" option with "-P" for AIX nm.
   15787 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15788 	  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'
   15789 	else
   15790 	  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'
   15791 	fi
   15792 	aix_use_runtimelinking=no
   15793 
   15794 	# Test if we are trying to use run time linking or normal
   15795 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15796 	# have runtime linking enabled, and use it for executables.
   15797 	# For shared libraries, we enable/disable runtime linking
   15798 	# depending on the kind of the shared library created -
   15799 	# when "with_aix_soname,aix_use_runtimelinking" is:
   15800 	# "aix,no"   lib.a(lib.so.V) shared, rtl:no,  for executables
   15801 	# "aix,yes"  lib.so          shared, rtl:yes, for executables
   15802 	#            lib.a           static archive
   15803 	# "both,no"  lib.so.V(shr.o) shared, rtl:yes
   15804 	#            lib.a(lib.so.V) shared, rtl:no,  for executables
   15805 	# "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
   15806 	#            lib.a(lib.so.V) shared, rtl:no
   15807 	# "svr4,*"   lib.so.V(shr.o) shared, rtl:yes, for executables
   15808 	#            lib.a           static archive
   15809 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15810 	  for ld_flag in $LDFLAGS; do
   15811 	  if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
   15812 	    aix_use_runtimelinking=yes
   15813 	    break
   15814 	  fi
   15815 	  done
   15816 	  if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
   15817 	    # With aix-soname=svr4, we create the lib.so.V shared archives only,
   15818 	    # so we don't have lib.a shared libs to link our executables.
   15819 	    # We have to force runtime linking in this case.
   15820 	    aix_use_runtimelinking=yes
   15821 	    LDFLAGS="$LDFLAGS -Wl,-brtl"
   15822 	  fi
   15823 	  ;;
   15824 	esac
   15825 
   15826 	exp_sym_flag='-bexport'
   15827 	no_entry_flag='-bnoentry'
   15828       fi
   15829 
   15830       # When large executables or shared objects are built, AIX ld can
   15831       # have problems creating the table of contents.  If linking a library
   15832       # or program results in "error TOC overflow" add -mminimal-toc to
   15833       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15834       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15835 
   15836       archive_cmds=''
   15837       hardcode_direct=yes
   15838       hardcode_direct_absolute=yes
   15839       hardcode_libdir_separator=':'
   15840       link_all_deplibs=yes
   15841       file_list_spec='$wl-f,'
   15842       case $with_aix_soname,$aix_use_runtimelinking in
   15843       aix,*) ;; # traditional, no import file
   15844       svr4,* | *,yes) # use import file
   15845 	# The Import File defines what to hardcode.
   15846 	hardcode_direct=no
   15847 	hardcode_direct_absolute=no
   15848 	;;
   15849       esac
   15850 
   15851       if test yes = "$GCC"; then
   15852 	case $host_os in aix4.[012]|aix4.[012].*)
   15853 	# We only want to do this on AIX 4.2 and lower, the check
   15854 	# below for broken collect2 doesn't work under 4.3+
   15855 	  collect2name=`$CC -print-prog-name=collect2`
   15856 	  if test -f "$collect2name" &&
   15857 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15858 	  then
   15859 	  # We have reworked collect2
   15860 	  :
   15861 	  else
   15862 	  # We have old collect2
   15863 	  hardcode_direct=unsupported
   15864 	  # It fails to find uninstalled libraries when the uninstalled
   15865 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15866 	  # to unsupported forces relinking
   15867 	  hardcode_minus_L=yes
   15868 	  hardcode_libdir_flag_spec='-L$libdir'
   15869 	  hardcode_libdir_separator=
   15870 	  fi
   15871 	  ;;
   15872 	esac
   15873 	shared_flag='-shared'
   15874 	if test yes = "$aix_use_runtimelinking"; then
   15875 	  shared_flag="$shared_flag "'$wl-G'
   15876 	fi
   15877 	# Need to ensure runtime linking is disabled for the traditional
   15878 	# shared library, or the linker may eventually find shared libraries
   15879 	# /with/ Import File - we do not want to mix them.
   15880 	shared_flag_aix='-shared'
   15881 	shared_flag_svr4='-shared $wl-G'
   15882       else
   15883 	# not using gcc
   15884 	if test ia64 = "$host_cpu"; then
   15885 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15886 	# chokes on -Wl,-G. The following line is correct:
   15887 	  shared_flag='-G'
   15888 	else
   15889 	  if test yes = "$aix_use_runtimelinking"; then
   15890 	    shared_flag='$wl-G'
   15891 	  else
   15892 	    shared_flag='$wl-bM:SRE'
   15893 	  fi
   15894 	  shared_flag_aix='$wl-bM:SRE'
   15895 	  shared_flag_svr4='$wl-G'
   15896 	fi
   15897       fi
   15898 
   15899       export_dynamic_flag_spec='$wl-bexpall'
   15900       # It seems that -bexpall does not export symbols beginning with
   15901       # underscore (_), so it is better to generate a list of symbols to export.
   15902       always_export_symbols=yes
   15903       if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
   15904 	# Warning - without using the other runtime loading flags (-brtl),
   15905 	# -berok will link without error, but may produce a broken library.
   15906 	allow_undefined_flag='-berok'
   15907         # Determine the default libpath from the value encoded in an
   15908         # empty executable.
   15909         if test set = "${lt_cv_aix_libpath+set}"; then
   15910   aix_libpath=$lt_cv_aix_libpath
   15911 else
   15912   if ${lt_cv_aix_libpath_+:} false; then :
   15913   $as_echo_n "(cached) " >&6
   15914 else
   15915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15916 /* end confdefs.h.  */
   15917 
   15918 int
   15919 main ()
   15920 {
   15921 
   15922   ;
   15923   return 0;
   15924 }
   15925 _ACEOF
   15926 if ac_fn_c_try_link "$LINENO"; then :
   15927 
   15928   lt_aix_libpath_sed='
   15929       /Import File Strings/,/^$/ {
   15930 	  /^0/ {
   15931 	      s/^0  *\([^ ]*\) *$/\1/
   15932 	      p
   15933 	  }
   15934       }'
   15935   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15936   # Check for a 64-bit object if we didn't find anything.
   15937   if test -z "$lt_cv_aix_libpath_"; then
   15938     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15939   fi
   15940 fi
   15941 rm -f core conftest.err conftest.$ac_objext \
   15942     conftest$ac_exeext conftest.$ac_ext
   15943   if test -z "$lt_cv_aix_libpath_"; then
   15944     lt_cv_aix_libpath_=/usr/lib:/lib
   15945   fi
   15946 
   15947 fi
   15948 
   15949   aix_libpath=$lt_cv_aix_libpath_
   15950 fi
   15951 
   15952         hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   15953         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
   15954       else
   15955 	if test ia64 = "$host_cpu"; then
   15956 	  hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
   15957 	  allow_undefined_flag="-z nodefs"
   15958 	  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"
   15959 	else
   15960 	 # Determine the default libpath from the value encoded in an
   15961 	 # empty executable.
   15962 	 if test set = "${lt_cv_aix_libpath+set}"; then
   15963   aix_libpath=$lt_cv_aix_libpath
   15964 else
   15965   if ${lt_cv_aix_libpath_+:} false; then :
   15966   $as_echo_n "(cached) " >&6
   15967 else
   15968   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15969 /* end confdefs.h.  */
   15970 
   15971 int
   15972 main ()
   15973 {
   15974 
   15975   ;
   15976   return 0;
   15977 }
   15978 _ACEOF
   15979 if ac_fn_c_try_link "$LINENO"; then :
   15980 
   15981   lt_aix_libpath_sed='
   15982       /Import File Strings/,/^$/ {
   15983 	  /^0/ {
   15984 	      s/^0  *\([^ ]*\) *$/\1/
   15985 	      p
   15986 	  }
   15987       }'
   15988   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15989   # Check for a 64-bit object if we didn't find anything.
   15990   if test -z "$lt_cv_aix_libpath_"; then
   15991     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15992   fi
   15993 fi
   15994 rm -f core conftest.err conftest.$ac_objext \
   15995     conftest$ac_exeext conftest.$ac_ext
   15996   if test -z "$lt_cv_aix_libpath_"; then
   15997     lt_cv_aix_libpath_=/usr/lib:/lib
   15998   fi
   15999 
   16000 fi
   16001 
   16002   aix_libpath=$lt_cv_aix_libpath_
   16003 fi
   16004 
   16005 	 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
   16006 	  # Warning - without using the other run time loading flags,
   16007 	  # -berok will link without error, but may produce a broken library.
   16008 	  no_undefined_flag=' $wl-bernotok'
   16009 	  allow_undefined_flag=' $wl-berok'
   16010 	  if test yes = "$with_gnu_ld"; then
   16011 	    # We only use this code for GNU lds that support --whole-archive.
   16012 	    whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
   16013 	  else
   16014 	    # Exported symbols can be pulled into shared objects from archives
   16015 	    whole_archive_flag_spec='$convenience'
   16016 	  fi
   16017 	  archive_cmds_need_lc=yes
   16018 	  archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
   16019 	  # -brtl affects multiple linker settings, -berok does not and is overridden later
   16020 	  compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
   16021 	  if test svr4 != "$with_aix_soname"; then
   16022 	    # This is similar to how AIX traditionally builds its shared libraries.
   16023 	    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'
   16024 	  fi
   16025 	  if test aix != "$with_aix_soname"; then
   16026 	    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'
   16027 	  else
   16028 	    # used by -dlpreopen to get the symbols
   16029 	    archive_expsym_cmds="$archive_expsym_cmds"'~$MV  $output_objdir/$realname.d/$soname $output_objdir'
   16030 	  fi
   16031 	  archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
   16032 	fi
   16033       fi
   16034       ;;
   16035 
   16036     amigaos*)
   16037       case $host_cpu in
   16038       powerpc)
   16039             # see comment about AmigaOS4 .so support
   16040             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
   16041             archive_expsym_cmds=''
   16042         ;;
   16043       m68k)
   16044             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)'
   16045             hardcode_libdir_flag_spec='-L$libdir'
   16046             hardcode_minus_L=yes
   16047         ;;
   16048       esac
   16049       ;;
   16050 
   16051     bsdi[45]*)
   16052       export_dynamic_flag_spec=-rdynamic
   16053       ;;
   16054 
   16055     cygwin* | mingw* | pw32* | cegcc*)
   16056       # When not using gcc, we currently assume that we are using
   16057       # Microsoft Visual C++.
   16058       # hardcode_libdir_flag_spec is actually meaningless, as there is
   16059       # no search path for DLLs.
   16060       case $cc_basename in
   16061       cl*)
   16062 	# Native MSVC
   16063 	hardcode_libdir_flag_spec=' '
   16064 	allow_undefined_flag=unsupported
   16065 	always_export_symbols=yes
   16066 	file_list_spec='@'
   16067 	# Tell ltmain to make .lib files, not .a files.
   16068 	libext=lib
   16069 	# Tell ltmain to make .dll files, not .so files.
   16070 	shrext_cmds=.dll
   16071 	# FIXME: Setting linknames here is a bad hack.
   16072 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
   16073 	archive_expsym_cmds='if   test DEF = "`$SED -n     -e '\''s/^[	 ]*//'\''     -e '\''/^\(;.*\)*$/d'\''     -e '\''s/^\(EXPORTS\|LIBRARY\)\([	 ].*\)*$/DEF/p'\''     -e q     $export_symbols`" ; then
   16074             cp "$export_symbols" "$output_objdir/$soname.def";
   16075             echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
   16076           else
   16077             $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
   16078           fi~
   16079           $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   16080           linknames='
   16081 	# The linker will not automatically build a static lib if we build a DLL.
   16082 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   16083 	enable_shared_with_static_runtimes=yes
   16084 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   16085 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   16086 	# Don't use ranlib
   16087 	old_postinstall_cmds='chmod 644 $oldlib'
   16088 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   16089           lt_tool_outputfile="@TOOL_OUTPUT@"~
   16090           case $lt_outputfile in
   16091             *.exe|*.EXE) ;;
   16092             *)
   16093               lt_outputfile=$lt_outputfile.exe
   16094               lt_tool_outputfile=$lt_tool_outputfile.exe
   16095               ;;
   16096           esac~
   16097           if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
   16098             $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   16099             $RM "$lt_outputfile.manifest";
   16100           fi'
   16101 	;;
   16102       *)
   16103 	# Assume MSVC wrapper
   16104 	hardcode_libdir_flag_spec=' '
   16105 	allow_undefined_flag=unsupported
   16106 	# Tell ltmain to make .lib files, not .a files.
   16107 	libext=lib
   16108 	# Tell ltmain to make .dll files, not .so files.
   16109 	shrext_cmds=.dll
   16110 	# FIXME: Setting linknames here is a bad hack.
   16111 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   16112 	# The linker will automatically build a .lib file if we build a DLL.
   16113 	old_archive_from_new_cmds='true'
   16114 	# FIXME: Should let the user specify the lib program.
   16115 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   16116 	enable_shared_with_static_runtimes=yes
   16117 	;;
   16118       esac
   16119       ;;
   16120 
   16121     darwin* | rhapsody*)
   16122 
   16123 
   16124   archive_cmds_need_lc=no
   16125   hardcode_direct=no
   16126   hardcode_automatic=yes
   16127   hardcode_shlibpath_var=unsupported
   16128   if test yes = "$lt_cv_ld_force_load"; then
   16129     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\"`'
   16130 
   16131   else
   16132     whole_archive_flag_spec=''
   16133   fi
   16134   link_all_deplibs=yes
   16135   allow_undefined_flag=$_lt_dar_allow_undefined
   16136   case $cc_basename in
   16137      ifort*|nagfor*) _lt_dar_can_shared=yes ;;
   16138      *) _lt_dar_can_shared=$GCC ;;
   16139   esac
   16140   if test yes = "$_lt_dar_can_shared"; then
   16141     output_verbose_link_cmd=func_echo_all
   16142     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
   16143     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
   16144     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"
   16145     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"
   16146 
   16147   else
   16148   ld_shlibs=no
   16149   fi
   16150 
   16151       ;;
   16152 
   16153     dgux*)
   16154       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16155       hardcode_libdir_flag_spec='-L$libdir'
   16156       hardcode_shlibpath_var=no
   16157       ;;
   16158 
   16159     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   16160     # support.  Future versions do this automatically, but an explicit c++rt0.o
   16161     # does not break anything, and helps significantly (at the cost of a little
   16162     # extra space).
   16163     freebsd2.2*)
   16164       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   16165       hardcode_libdir_flag_spec='-R$libdir'
   16166       hardcode_direct=yes
   16167       hardcode_shlibpath_var=no
   16168       ;;
   16169 
   16170     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   16171     freebsd2.*)
   16172       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16173       hardcode_direct=yes
   16174       hardcode_minus_L=yes
   16175       hardcode_shlibpath_var=no
   16176       ;;
   16177 
   16178     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   16179     freebsd* | dragonfly*)
   16180       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16181       hardcode_libdir_flag_spec='-R$libdir'
   16182       hardcode_direct=yes
   16183       hardcode_shlibpath_var=no
   16184       ;;
   16185 
   16186     hpux9*)
   16187       if test yes = "$GCC"; then
   16188 	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'
   16189       else
   16190 	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'
   16191       fi
   16192       hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16193       hardcode_libdir_separator=:
   16194       hardcode_direct=yes
   16195 
   16196       # hardcode_minus_L: Not really in the search PATH,
   16197       # but as the default location of the library.
   16198       hardcode_minus_L=yes
   16199       export_dynamic_flag_spec='$wl-E'
   16200       ;;
   16201 
   16202     hpux10*)
   16203       if test yes,no = "$GCC,$with_gnu_ld"; then
   16204 	archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16205       else
   16206 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16207       fi
   16208       if test no = "$with_gnu_ld"; then
   16209 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16210 	hardcode_libdir_separator=:
   16211 	hardcode_direct=yes
   16212 	hardcode_direct_absolute=yes
   16213 	export_dynamic_flag_spec='$wl-E'
   16214 	# hardcode_minus_L: Not really in the search PATH,
   16215 	# but as the default location of the library.
   16216 	hardcode_minus_L=yes
   16217       fi
   16218       ;;
   16219 
   16220     hpux11*)
   16221       if test yes,no = "$GCC,$with_gnu_ld"; then
   16222 	case $host_cpu in
   16223 	hppa*64*)
   16224 	  archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16225 	  ;;
   16226 	ia64*)
   16227 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16228 	  ;;
   16229 	*)
   16230 	  archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16231 	  ;;
   16232 	esac
   16233       else
   16234 	case $host_cpu in
   16235 	hppa*64*)
   16236 	  archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16237 	  ;;
   16238 	ia64*)
   16239 	  archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   16240 	  ;;
   16241 	*)
   16242 
   16243 	  # Older versions of the 11.00 compiler do not understand -b yet
   16244 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   16245 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   16246 $as_echo_n "checking if $CC understands -b... " >&6; }
   16247 if ${lt_cv_prog_compiler__b+:} false; then :
   16248   $as_echo_n "(cached) " >&6
   16249 else
   16250   lt_cv_prog_compiler__b=no
   16251    save_LDFLAGS=$LDFLAGS
   16252    LDFLAGS="$LDFLAGS -b"
   16253    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   16254    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   16255      # The linker can only warn and ignore the option if not recognized
   16256      # So say no if there are warnings
   16257      if test -s conftest.err; then
   16258        # Append any errors to the config.log.
   16259        cat conftest.err 1>&5
   16260        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   16261        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   16262        if diff conftest.exp conftest.er2 >/dev/null; then
   16263          lt_cv_prog_compiler__b=yes
   16264        fi
   16265      else
   16266        lt_cv_prog_compiler__b=yes
   16267      fi
   16268    fi
   16269    $RM -r conftest*
   16270    LDFLAGS=$save_LDFLAGS
   16271 
   16272 fi
   16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   16274 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   16275 
   16276 if test yes = "$lt_cv_prog_compiler__b"; then
   16277     archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   16278 else
   16279     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   16280 fi
   16281 
   16282 	  ;;
   16283 	esac
   16284       fi
   16285       if test no = "$with_gnu_ld"; then
   16286 	hardcode_libdir_flag_spec='$wl+b $wl$libdir'
   16287 	hardcode_libdir_separator=:
   16288 
   16289 	case $host_cpu in
   16290 	hppa*64*|ia64*)
   16291 	  hardcode_direct=no
   16292 	  hardcode_shlibpath_var=no
   16293 	  ;;
   16294 	*)
   16295 	  hardcode_direct=yes
   16296 	  hardcode_direct_absolute=yes
   16297 	  export_dynamic_flag_spec='$wl-E'
   16298 
   16299 	  # hardcode_minus_L: Not really in the search PATH,
   16300 	  # but as the default location of the library.
   16301 	  hardcode_minus_L=yes
   16302 	  ;;
   16303 	esac
   16304       fi
   16305       ;;
   16306 
   16307     irix5* | irix6* | nonstopux*)
   16308       if test yes = "$GCC"; then
   16309 	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'
   16310 	# Try to use the -exported_symbol ld option, if it does not
   16311 	# work, assume that -exports_file does not work either and
   16312 	# implicitly export all symbols.
   16313 	# This should be the same for all languages, so no per-tag cache variable.
   16314 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   16315 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   16316 if ${lt_cv_irix_exported_symbol+:} false; then :
   16317   $as_echo_n "(cached) " >&6
   16318 else
   16319   save_LDFLAGS=$LDFLAGS
   16320 	   LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
   16321 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16322 /* end confdefs.h.  */
   16323 int foo (void) { return 0; }
   16324 _ACEOF
   16325 if ac_fn_c_try_link "$LINENO"; then :
   16326   lt_cv_irix_exported_symbol=yes
   16327 else
   16328   lt_cv_irix_exported_symbol=no
   16329 fi
   16330 rm -f core conftest.err conftest.$ac_objext \
   16331     conftest$ac_exeext conftest.$ac_ext
   16332            LDFLAGS=$save_LDFLAGS
   16333 fi
   16334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   16335 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   16336 	if test yes = "$lt_cv_irix_exported_symbol"; then
   16337           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'
   16338 	fi
   16339       else
   16340 	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'
   16341 	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'
   16342       fi
   16343       archive_cmds_need_lc='no'
   16344       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16345       hardcode_libdir_separator=:
   16346       inherit_rpath=yes
   16347       link_all_deplibs=yes
   16348       ;;
   16349 
   16350     linux*)
   16351       case $cc_basename in
   16352       tcc*)
   16353 	# Fabrice Bellard et al's Tiny C Compiler
   16354 	ld_shlibs=yes
   16355 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16356 	;;
   16357       esac
   16358       ;;
   16359 
   16360     netbsd*)
   16361       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16362 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   16363       else
   16364 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   16365       fi
   16366       hardcode_libdir_flag_spec='-R$libdir'
   16367       hardcode_direct=yes
   16368       hardcode_shlibpath_var=no
   16369       ;;
   16370 
   16371     newsos6)
   16372       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16373       hardcode_direct=yes
   16374       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16375       hardcode_libdir_separator=:
   16376       hardcode_shlibpath_var=no
   16377       ;;
   16378 
   16379     *nto* | *qnx*)
   16380       ;;
   16381 
   16382     openbsd* | bitrig*)
   16383       if test -f /usr/libexec/ld.so; then
   16384 	hardcode_direct=yes
   16385 	hardcode_shlibpath_var=no
   16386 	hardcode_direct_absolute=yes
   16387 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   16388 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16389 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
   16390 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16391 	  export_dynamic_flag_spec='$wl-E'
   16392 	else
   16393 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16394 	  hardcode_libdir_flag_spec='$wl-rpath,$libdir'
   16395 	fi
   16396       else
   16397 	ld_shlibs=no
   16398       fi
   16399       ;;
   16400 
   16401     os2*)
   16402       hardcode_libdir_flag_spec='-L$libdir'
   16403       hardcode_minus_L=yes
   16404       allow_undefined_flag=unsupported
   16405       shrext_cmds=.dll
   16406       archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16407 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16408 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16409 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16410 	emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
   16411 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16412 	emximp -o $lib $output_objdir/$libname.def'
   16413       archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
   16414 	$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
   16415 	$ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
   16416 	$ECHO EXPORTS >> $output_objdir/$libname.def~
   16417 	prefix_cmds="$SED"~
   16418 	if test EXPORTS = "`$SED 1q $export_symbols`"; then
   16419 	  prefix_cmds="$prefix_cmds -e 1d";
   16420 	fi~
   16421 	prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
   16422 	cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
   16423 	$CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
   16424 	emximp -o $lib $output_objdir/$libname.def'
   16425       old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
   16426       enable_shared_with_static_runtimes=yes
   16427       ;;
   16428 
   16429     osf3*)
   16430       if test yes = "$GCC"; then
   16431 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16432 	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'
   16433       else
   16434 	allow_undefined_flag=' -expect_unresolved \*'
   16435 	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'
   16436       fi
   16437       archive_cmds_need_lc='no'
   16438       hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16439       hardcode_libdir_separator=:
   16440       ;;
   16441 
   16442     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16443       if test yes = "$GCC"; then
   16444 	allow_undefined_flag=' $wl-expect_unresolved $wl\*'
   16445 	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'
   16446 	hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
   16447       else
   16448 	allow_undefined_flag=' -expect_unresolved \*'
   16449 	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'
   16450 	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~
   16451           $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'
   16452 
   16453 	# Both c and cxx compiler support -rpath directly
   16454 	hardcode_libdir_flag_spec='-rpath $libdir'
   16455       fi
   16456       archive_cmds_need_lc='no'
   16457       hardcode_libdir_separator=:
   16458       ;;
   16459 
   16460     solaris*)
   16461       no_undefined_flag=' -z defs'
   16462       if test yes = "$GCC"; then
   16463 	wlarc='$wl'
   16464 	archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
   16465 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16466           $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'
   16467       else
   16468 	case `$CC -V 2>&1` in
   16469 	*"Compilers 5.0"*)
   16470 	  wlarc=''
   16471 	  archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16472 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16473             $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16474 	  ;;
   16475 	*)
   16476 	  wlarc='$wl'
   16477 	  archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16478 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16479             $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16480 	  ;;
   16481 	esac
   16482       fi
   16483       hardcode_libdir_flag_spec='-R$libdir'
   16484       hardcode_shlibpath_var=no
   16485       case $host_os in
   16486       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16487       *)
   16488 	# The compiler driver will combine and reorder linker options,
   16489 	# but understands '-z linker_flag'.  GCC discards it without '$wl',
   16490 	# but is careful enough not to reorder.
   16491 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16492 	if test yes = "$GCC"; then
   16493 	  whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
   16494 	else
   16495 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16496 	fi
   16497 	;;
   16498       esac
   16499       link_all_deplibs=yes
   16500       ;;
   16501 
   16502     sunos4*)
   16503       if test sequent = "$host_vendor"; then
   16504 	# Use $CC to link under sequent, because it throws in some extra .o
   16505 	# files that make .init and .fini sections work.
   16506 	archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16507       else
   16508 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16509       fi
   16510       hardcode_libdir_flag_spec='-L$libdir'
   16511       hardcode_direct=yes
   16512       hardcode_minus_L=yes
   16513       hardcode_shlibpath_var=no
   16514       ;;
   16515 
   16516     sysv4)
   16517       case $host_vendor in
   16518 	sni)
   16519 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16520 	  hardcode_direct=yes # is this really true???
   16521 	;;
   16522 	siemens)
   16523 	  ## LD is ld it makes a PLAMLIB
   16524 	  ## CC just makes a GrossModule.
   16525 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16526 	  reload_cmds='$CC -r -o $output$reload_objs'
   16527 	  hardcode_direct=no
   16528         ;;
   16529 	motorola)
   16530 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16531 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16532 	;;
   16533       esac
   16534       runpath_var='LD_RUN_PATH'
   16535       hardcode_shlibpath_var=no
   16536       ;;
   16537 
   16538     sysv4.3*)
   16539       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16540       hardcode_shlibpath_var=no
   16541       export_dynamic_flag_spec='-Bexport'
   16542       ;;
   16543 
   16544     sysv4*MP*)
   16545       if test -d /usr/nec; then
   16546 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16547 	hardcode_shlibpath_var=no
   16548 	runpath_var=LD_RUN_PATH
   16549 	hardcode_runpath_var=yes
   16550 	ld_shlibs=yes
   16551       fi
   16552       ;;
   16553 
   16554     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16555       no_undefined_flag='$wl-z,text'
   16556       archive_cmds_need_lc=no
   16557       hardcode_shlibpath_var=no
   16558       runpath_var='LD_RUN_PATH'
   16559 
   16560       if test yes = "$GCC"; then
   16561 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16562 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16563       else
   16564 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16565 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16566       fi
   16567       ;;
   16568 
   16569     sysv5* | sco3.2v5* | sco5v6*)
   16570       # Note: We CANNOT use -z defs as we might desire, because we do not
   16571       # link with -lc, and that would cause any symbols used from libc to
   16572       # always be unresolved, which means just about no library would
   16573       # ever link correctly.  If we're not using GNU ld we use -z text
   16574       # though, which does catch some bad symbols but isn't as heavy-handed
   16575       # as -z defs.
   16576       no_undefined_flag='$wl-z,text'
   16577       allow_undefined_flag='$wl-z,nodefs'
   16578       archive_cmds_need_lc=no
   16579       hardcode_shlibpath_var=no
   16580       hardcode_libdir_flag_spec='$wl-R,$libdir'
   16581       hardcode_libdir_separator=':'
   16582       link_all_deplibs=yes
   16583       export_dynamic_flag_spec='$wl-Bexport'
   16584       runpath_var='LD_RUN_PATH'
   16585 
   16586       if test yes = "$GCC"; then
   16587 	archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16588 	archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16589       else
   16590 	archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16591 	archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16592       fi
   16593       ;;
   16594 
   16595     uts4*)
   16596       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16597       hardcode_libdir_flag_spec='-L$libdir'
   16598       hardcode_shlibpath_var=no
   16599       ;;
   16600 
   16601     *)
   16602       ld_shlibs=no
   16603       ;;
   16604     esac
   16605 
   16606     if test sni = "$host_vendor"; then
   16607       case $host in
   16608       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16609 	export_dynamic_flag_spec='$wl-Blargedynsym'
   16610 	;;
   16611       esac
   16612     fi
   16613   fi
   16614 
   16615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16616 $as_echo "$ld_shlibs" >&6; }
   16617 test no = "$ld_shlibs" && can_build_shared=no
   16618 
   16619 with_gnu_ld=$with_gnu_ld
   16620 
   16621 
   16622 
   16623 
   16624 
   16625 
   16626 
   16627 
   16628 
   16629 
   16630 
   16631 
   16632 
   16633 
   16634 
   16635 #
   16636 # Do we need to explicitly link libc?
   16637 #
   16638 case "x$archive_cmds_need_lc" in
   16639 x|xyes)
   16640   # Assume -lc should be added
   16641   archive_cmds_need_lc=yes
   16642 
   16643   if test yes,yes = "$GCC,$enable_shared"; then
   16644     case $archive_cmds in
   16645     *'~'*)
   16646       # FIXME: we may have to deal with multi-command sequences.
   16647       ;;
   16648     '$CC '*)
   16649       # Test whether the compiler implicitly links with -lc since on some
   16650       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16651       # to ld, don't add -lc before -lgcc.
   16652       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16653 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16654 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16655   $as_echo_n "(cached) " >&6
   16656 else
   16657   $RM conftest*
   16658 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16659 
   16660 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16661   (eval $ac_compile) 2>&5
   16662   ac_status=$?
   16663   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16664   test $ac_status = 0; } 2>conftest.err; then
   16665 	  soname=conftest
   16666 	  lib=conftest
   16667 	  libobjs=conftest.$ac_objext
   16668 	  deplibs=
   16669 	  wl=$lt_prog_compiler_wl
   16670 	  pic_flag=$lt_prog_compiler_pic
   16671 	  compiler_flags=-v
   16672 	  linker_flags=-v
   16673 	  verstring=
   16674 	  output_objdir=.
   16675 	  libname=conftest
   16676 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16677 	  allow_undefined_flag=
   16678 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16679   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16680   ac_status=$?
   16681   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16682   test $ac_status = 0; }
   16683 	  then
   16684 	    lt_cv_archive_cmds_need_lc=no
   16685 	  else
   16686 	    lt_cv_archive_cmds_need_lc=yes
   16687 	  fi
   16688 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16689 	else
   16690 	  cat conftest.err 1>&5
   16691 	fi
   16692 	$RM conftest*
   16693 
   16694 fi
   16695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16696 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16697       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16698       ;;
   16699     esac
   16700   fi
   16701   ;;
   16702 esac
   16703 
   16704 
   16705 
   16706 
   16707 
   16708 
   16709 
   16710 
   16711 
   16712 
   16713 
   16714 
   16715 
   16716 
   16717 
   16718 
   16719 
   16720 
   16721 
   16722 
   16723 
   16724 
   16725 
   16726 
   16727 
   16728 
   16729 
   16730 
   16731 
   16732 
   16733 
   16734 
   16735 
   16736 
   16737 
   16738 
   16739 
   16740 
   16741 
   16742 
   16743 
   16744 
   16745 
   16746 
   16747 
   16748 
   16749 
   16750 
   16751 
   16752 
   16753 
   16754 
   16755 
   16756 
   16757 
   16758 
   16759 
   16760 
   16761 
   16762 
   16763 
   16764 
   16765 
   16766 
   16767 
   16768 
   16769 
   16770 
   16771 
   16772 
   16773 
   16774 
   16775 
   16776 
   16777 
   16778 
   16779 
   16780 
   16781 
   16782 
   16783 
   16784 
   16785 
   16786 
   16787 
   16788 
   16789 
   16790 
   16791 
   16792 
   16793 
   16794 
   16795 
   16796 
   16797 
   16798 
   16799 
   16800 
   16801 
   16802 
   16803 
   16804 
   16805 
   16806 
   16807 
   16808 
   16809 
   16810 
   16811 
   16812 
   16813 
   16814 
   16815 
   16816 
   16817 
   16818 
   16819 
   16820 
   16821 
   16822 
   16823 
   16824 
   16825 
   16826 
   16827 
   16828 
   16829 
   16830 
   16831 
   16832 
   16833 
   16834 
   16835 
   16836 
   16837 
   16838 
   16839 
   16840 
   16841 
   16842 
   16843 
   16844 
   16845 
   16846 
   16847 
   16848 
   16849 
   16850 
   16851 
   16852 
   16853 
   16854 
   16855   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16856 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16857 
   16858 if test yes = "$GCC"; then
   16859   case $host_os in
   16860     darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
   16861     *) lt_awk_arg='/^libraries:/' ;;
   16862   esac
   16863   case $host_os in
   16864     mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
   16865     *) lt_sed_strip_eq='s|=/|/|g' ;;
   16866   esac
   16867   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16868   case $lt_search_path_spec in
   16869   *\;*)
   16870     # if the path contains ";" then we assume it to be the separator
   16871     # otherwise default to the standard path separator (i.e. ":") - it is
   16872     # assumed that no part of a normal pathname contains ";" but that should
   16873     # okay in the real world where ";" in dirpaths is itself problematic.
   16874     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16875     ;;
   16876   *)
   16877     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16878     ;;
   16879   esac
   16880   # Ok, now we have the path, separated by spaces, we can step through it
   16881   # and add multilib dir if necessary...
   16882   lt_tmp_lt_search_path_spec=
   16883   lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16884   # ...but if some path component already ends with the multilib dir we assume
   16885   # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
   16886   case "$lt_multi_os_dir; $lt_search_path_spec " in
   16887   "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
   16888     lt_multi_os_dir=
   16889     ;;
   16890   esac
   16891   for lt_sys_path in $lt_search_path_spec; do
   16892     if test -d "$lt_sys_path$lt_multi_os_dir"; then
   16893       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
   16894     elif test -n "$lt_multi_os_dir"; then
   16895       test -d "$lt_sys_path" && \
   16896 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16897     fi
   16898   done
   16899   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16900 BEGIN {RS = " "; FS = "/|\n";} {
   16901   lt_foo = "";
   16902   lt_count = 0;
   16903   for (lt_i = NF; lt_i > 0; lt_i--) {
   16904     if ($lt_i != "" && $lt_i != ".") {
   16905       if ($lt_i == "..") {
   16906         lt_count++;
   16907       } else {
   16908         if (lt_count == 0) {
   16909           lt_foo = "/" $lt_i lt_foo;
   16910         } else {
   16911           lt_count--;
   16912         }
   16913       }
   16914     }
   16915   }
   16916   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16917   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16918 }'`
   16919   # AWK program above erroneously prepends '/' to C:/dos/paths
   16920   # for these hosts.
   16921   case $host_os in
   16922     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16923       $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
   16924   esac
   16925   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16926 else
   16927   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16928 fi
   16929 library_names_spec=
   16930 libname_spec='lib$name'
   16931 soname_spec=
   16932 shrext_cmds=.so
   16933 postinstall_cmds=
   16934 postuninstall_cmds=
   16935 finish_cmds=
   16936 finish_eval=
   16937 shlibpath_var=
   16938 shlibpath_overrides_runpath=unknown
   16939 version_type=none
   16940 dynamic_linker="$host_os ld.so"
   16941 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16942 need_lib_prefix=unknown
   16943 hardcode_into_libs=no
   16944 
   16945 # when you set need_version to no, make sure it does not cause -set_version
   16946 # flags to be left without arguments
   16947 need_version=unknown
   16948 
   16949 
   16950 
   16951 case $host_os in
   16952 aix3*)
   16953   version_type=linux # correct to gnu/linux during the next big refactor
   16954   library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
   16955   shlibpath_var=LIBPATH
   16956 
   16957   # AIX 3 has no versioning support, so we append a major version to the name.
   16958   soname_spec='$libname$release$shared_ext$major'
   16959   ;;
   16960 
   16961 aix[4-9]*)
   16962   version_type=linux # correct to gnu/linux during the next big refactor
   16963   need_lib_prefix=no
   16964   need_version=no
   16965   hardcode_into_libs=yes
   16966   if test ia64 = "$host_cpu"; then
   16967     # AIX 5 supports IA64
   16968     library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
   16969     shlibpath_var=LD_LIBRARY_PATH
   16970   else
   16971     # With GCC up to 2.95.x, collect2 would create an import file
   16972     # for dependence libraries.  The import file would start with
   16973     # the line '#! .'.  This would cause the generated library to
   16974     # depend on '.', always an invalid library.  This was fixed in
   16975     # development snapshots of GCC prior to 3.0.
   16976     case $host_os in
   16977       aix4 | aix4.[01] | aix4.[01].*)
   16978       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16979 	   echo ' yes '
   16980 	   echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
   16981 	:
   16982       else
   16983 	can_build_shared=no
   16984       fi
   16985       ;;
   16986     esac
   16987     # Using Import Files as archive members, it is possible to support
   16988     # filename-based versioning of shared library archives on AIX. While
   16989     # this would work for both with and without runtime linking, it will
   16990     # prevent static linking of such archives. So we do filename-based
   16991     # shared library versioning with .so extension only, which is used
   16992     # when both runtime linking and shared linking is enabled.
   16993     # Unfortunately, runtime linking may impact performance, so we do
   16994     # not want this to be the default eventually. Also, we use the
   16995     # versioned .so libs for executables only if there is the -brtl
   16996     # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
   16997     # To allow for filename-based versioning support, we need to create
   16998     # libNAME.so.V as an archive file, containing:
   16999     # *) an Import File, referring to the versioned filename of the
   17000     #    archive as well as the shared archive member, telling the
   17001     #    bitwidth (32 or 64) of that shared object, and providing the
   17002     #    list of exported symbols of that shared object, eventually
   17003     #    decorated with the 'weak' keyword
   17004     # *) the shared object with the F_LOADONLY flag set, to really avoid
   17005     #    it being seen by the linker.
   17006     # At run time we better use the real file rather than another symlink,
   17007     # but for link time we create the symlink libNAME.so -> libNAME.so.V
   17008 
   17009     case $with_aix_soname,$aix_use_runtimelinking in
   17010     # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
   17011     # soname into executable. Probably we can add versioning support to
   17012     # collect2, so additional links can be useful in future.
   17013     aix,yes) # traditional libtool
   17014       dynamic_linker='AIX unversionable lib.so'
   17015       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   17016       # instead of lib<name>.a to let people know that these are not
   17017       # typical AIX shared libraries.
   17018       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17019       ;;
   17020     aix,no) # traditional AIX only
   17021       dynamic_linker='AIX lib.a(lib.so.V)'
   17022       # We preserve .a as extension for shared libraries through AIX4.2
   17023       # and later when we are not doing run time linking.
   17024       library_names_spec='$libname$release.a $libname.a'
   17025       soname_spec='$libname$release$shared_ext$major'
   17026       ;;
   17027     svr4,*) # full svr4 only
   17028       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
   17029       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17030       # We do not specify a path in Import Files, so LIBPATH fires.
   17031       shlibpath_overrides_runpath=yes
   17032       ;;
   17033     *,yes) # both, prefer svr4
   17034       dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
   17035       library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
   17036       # unpreferred sharedlib libNAME.a needs extra handling
   17037       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"'
   17038       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"'
   17039       # We do not specify a path in Import Files, so LIBPATH fires.
   17040       shlibpath_overrides_runpath=yes
   17041       ;;
   17042     *,no) # both, prefer aix
   17043       dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
   17044       library_names_spec='$libname$release.a $libname.a'
   17045       soname_spec='$libname$release$shared_ext$major'
   17046       # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
   17047       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)'
   17048       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"'
   17049       ;;
   17050     esac
   17051     shlibpath_var=LIBPATH
   17052   fi
   17053   ;;
   17054 
   17055 amigaos*)
   17056   case $host_cpu in
   17057   powerpc)
   17058     # Since July 2007 AmigaOS4 officially supports .so libraries.
   17059     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   17060     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17061     ;;
   17062   m68k)
   17063     library_names_spec='$libname.ixlibrary $libname.a'
   17064     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   17065     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'
   17066     ;;
   17067   esac
   17068   ;;
   17069 
   17070 beos*)
   17071   library_names_spec='$libname$shared_ext'
   17072   dynamic_linker="$host_os ld.so"
   17073   shlibpath_var=LIBRARY_PATH
   17074   ;;
   17075 
   17076 bsdi[45]*)
   17077   version_type=linux # correct to gnu/linux during the next big refactor
   17078   need_version=no
   17079   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17080   soname_spec='$libname$release$shared_ext$major'
   17081   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   17082   shlibpath_var=LD_LIBRARY_PATH
   17083   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   17084   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   17085   # the default ld.so.conf also contains /usr/contrib/lib and
   17086   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   17087   # libtool to hard-code these into programs
   17088   ;;
   17089 
   17090 cygwin* | mingw* | pw32* | cegcc*)
   17091   version_type=windows
   17092   shrext_cmds=.dll
   17093   need_version=no
   17094   need_lib_prefix=no
   17095 
   17096   case $GCC,$cc_basename in
   17097   yes,*)
   17098     # gcc
   17099     library_names_spec='$libname.dll.a'
   17100     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17101     postinstall_cmds='base_file=`basename \$file`~
   17102       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17103       dldir=$destdir/`dirname \$dlpath`~
   17104       test -d \$dldir || mkdir -p \$dldir~
   17105       $install_prog $dir/$dlname \$dldir/$dlname~
   17106       chmod a+x \$dldir/$dlname~
   17107       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17108         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17109       fi'
   17110     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17111       dlpath=$dir/\$dldll~
   17112        $RM \$dlpath'
   17113     shlibpath_overrides_runpath=yes
   17114 
   17115     case $host_os in
   17116     cygwin*)
   17117       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   17118       soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17119 
   17120       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   17121       ;;
   17122     mingw* | cegcc*)
   17123       # MinGW DLLs use traditional 'lib' prefix
   17124       soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17125       ;;
   17126     pw32*)
   17127       # pw32 DLLs use 'pw' prefix rather than 'lib'
   17128       library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17129       ;;
   17130     esac
   17131     dynamic_linker='Win32 ld.exe'
   17132     ;;
   17133 
   17134   *,cl*)
   17135     # Native MSVC
   17136     libname_spec='$name'
   17137     soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
   17138     library_names_spec='$libname.dll.lib'
   17139 
   17140     case $build_os in
   17141     mingw*)
   17142       sys_lib_search_path_spec=
   17143       lt_save_ifs=$IFS
   17144       IFS=';'
   17145       for lt_path in $LIB
   17146       do
   17147         IFS=$lt_save_ifs
   17148         # Let DOS variable expansion print the short 8.3 style file name.
   17149         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   17150         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   17151       done
   17152       IFS=$lt_save_ifs
   17153       # Convert to MSYS style.
   17154       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   17155       ;;
   17156     cygwin*)
   17157       # Convert to unix form, then to dos form, then back to unix form
   17158       # but this time dos style (no spaces!) so that the unix form looks
   17159       # like /cygdrive/c/PROGRA~1:/cygdr...
   17160       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   17161       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   17162       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17163       ;;
   17164     *)
   17165       sys_lib_search_path_spec=$LIB
   17166       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   17167         # It is most probably a Windows format PATH.
   17168         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   17169       else
   17170         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   17171       fi
   17172       # FIXME: find the short name or the path components, as spaces are
   17173       # common. (e.g. "Program Files" -> "PROGRA~1")
   17174       ;;
   17175     esac
   17176 
   17177     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   17178     postinstall_cmds='base_file=`basename \$file`~
   17179       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
   17180       dldir=$destdir/`dirname \$dlpath`~
   17181       test -d \$dldir || mkdir -p \$dldir~
   17182       $install_prog $dir/$dlname \$dldir/$dlname'
   17183     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   17184       dlpath=$dir/\$dldll~
   17185        $RM \$dlpath'
   17186     shlibpath_overrides_runpath=yes
   17187     dynamic_linker='Win32 link.exe'
   17188     ;;
   17189 
   17190   *)
   17191     # Assume MSVC wrapper
   17192     library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
   17193     dynamic_linker='Win32 ld.exe'
   17194     ;;
   17195   esac
   17196   # FIXME: first we should search . and the directory the executable is in
   17197   shlibpath_var=PATH
   17198   ;;
   17199 
   17200 darwin* | rhapsody*)
   17201   dynamic_linker="$host_os dyld"
   17202   version_type=darwin
   17203   need_lib_prefix=no
   17204   need_version=no
   17205   library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
   17206   soname_spec='$libname$release$major$shared_ext'
   17207   shlibpath_overrides_runpath=yes
   17208   shlibpath_var=DYLD_LIBRARY_PATH
   17209   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   17210 
   17211   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   17212   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   17213   ;;
   17214 
   17215 dgux*)
   17216   version_type=linux # correct to gnu/linux during the next big refactor
   17217   need_lib_prefix=no
   17218   need_version=no
   17219   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17220   soname_spec='$libname$release$shared_ext$major'
   17221   shlibpath_var=LD_LIBRARY_PATH
   17222   ;;
   17223 
   17224 freebsd* | dragonfly*)
   17225   # DragonFly does not have aout.  When/if they implement a new
   17226   # versioning mechanism, adjust this.
   17227   if test -x /usr/bin/objformat; then
   17228     objformat=`/usr/bin/objformat`
   17229   else
   17230     case $host_os in
   17231     freebsd[23].*) objformat=aout ;;
   17232     *) objformat=elf ;;
   17233     esac
   17234   fi
   17235   # Handle Gentoo/FreeBSD as it was Linux
   17236   case $host_vendor in
   17237     gentoo)
   17238       version_type=linux ;;
   17239     *)
   17240       version_type=freebsd-$objformat ;;
   17241   esac
   17242 
   17243   case $version_type in
   17244     freebsd-elf*)
   17245       library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17246       soname_spec='$libname$release$shared_ext$major'
   17247       need_version=no
   17248       need_lib_prefix=no
   17249       ;;
   17250     freebsd-*)
   17251       library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17252       need_version=yes
   17253       ;;
   17254     linux)
   17255       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17256       soname_spec='${libname}${release}${shared_ext}$major'
   17257       need_lib_prefix=no
   17258       need_version=no
   17259       ;;
   17260   esac
   17261   shlibpath_var=LD_LIBRARY_PATH
   17262   case $host_os in
   17263   freebsd2.*)
   17264     shlibpath_overrides_runpath=yes
   17265     ;;
   17266   freebsd3.[01]* | freebsdelf3.[01]*)
   17267     shlibpath_overrides_runpath=yes
   17268     hardcode_into_libs=yes
   17269     ;;
   17270   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   17271   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   17272     shlibpath_overrides_runpath=no
   17273     hardcode_into_libs=yes
   17274     ;;
   17275   *) # from 4.6 on, and DragonFly
   17276     shlibpath_overrides_runpath=yes
   17277     hardcode_into_libs=yes
   17278     ;;
   17279   esac
   17280   ;;
   17281 
   17282 haiku*)
   17283   version_type=linux # correct to gnu/linux during the next big refactor
   17284   need_lib_prefix=no
   17285   need_version=no
   17286   dynamic_linker="$host_os runtime_loader"
   17287   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17288   soname_spec='$libname$release$shared_ext$major'
   17289   shlibpath_var=LIBRARY_PATH
   17290   shlibpath_overrides_runpath=no
   17291   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   17292   hardcode_into_libs=yes
   17293   ;;
   17294 
   17295 hpux9* | hpux10* | hpux11*)
   17296   # Give a soname corresponding to the major version so that dld.sl refuses to
   17297   # link against other versions.
   17298   version_type=sunos
   17299   need_lib_prefix=no
   17300   need_version=no
   17301   case $host_cpu in
   17302   ia64*)
   17303     shrext_cmds='.so'
   17304     hardcode_into_libs=yes
   17305     dynamic_linker="$host_os dld.so"
   17306     shlibpath_var=LD_LIBRARY_PATH
   17307     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17308     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17309     soname_spec='$libname$release$shared_ext$major'
   17310     if test 32 = "$HPUX_IA64_MODE"; then
   17311       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   17312       sys_lib_dlsearch_path_spec=/usr/lib/hpux32
   17313     else
   17314       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   17315       sys_lib_dlsearch_path_spec=/usr/lib/hpux64
   17316     fi
   17317     ;;
   17318   hppa*64*)
   17319     shrext_cmds='.sl'
   17320     hardcode_into_libs=yes
   17321     dynamic_linker="$host_os dld.sl"
   17322     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   17323     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   17324     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17325     soname_spec='$libname$release$shared_ext$major'
   17326     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   17327     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17328     ;;
   17329   *)
   17330     shrext_cmds='.sl'
   17331     dynamic_linker="$host_os dld.sl"
   17332     shlibpath_var=SHLIB_PATH
   17333     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   17334     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17335     soname_spec='$libname$release$shared_ext$major'
   17336     ;;
   17337   esac
   17338   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   17339   postinstall_cmds='chmod 555 $lib'
   17340   # or fails outright, so override atomically:
   17341   install_override_mode=555
   17342   ;;
   17343 
   17344 interix[3-9]*)
   17345   version_type=linux # correct to gnu/linux during the next big refactor
   17346   need_lib_prefix=no
   17347   need_version=no
   17348   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17349   soname_spec='$libname$release$shared_ext$major'
   17350   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   17351   shlibpath_var=LD_LIBRARY_PATH
   17352   shlibpath_overrides_runpath=no
   17353   hardcode_into_libs=yes
   17354   ;;
   17355 
   17356 irix5* | irix6* | nonstopux*)
   17357   case $host_os in
   17358     nonstopux*) version_type=nonstopux ;;
   17359     *)
   17360 	if test yes = "$lt_cv_prog_gnu_ld"; then
   17361 		version_type=linux # correct to gnu/linux during the next big refactor
   17362 	else
   17363 		version_type=irix
   17364 	fi ;;
   17365   esac
   17366   need_lib_prefix=no
   17367   need_version=no
   17368   soname_spec='$libname$release$shared_ext$major'
   17369   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
   17370   case $host_os in
   17371   irix5* | nonstopux*)
   17372     libsuff= shlibsuff=
   17373     ;;
   17374   *)
   17375     case $LD in # libtool.m4 will add one of these switches to LD
   17376     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   17377       libsuff= shlibsuff= libmagic=32-bit;;
   17378     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   17379       libsuff=32 shlibsuff=N32 libmagic=N32;;
   17380     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   17381       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   17382     *) libsuff= shlibsuff= libmagic=never-match;;
   17383     esac
   17384     ;;
   17385   esac
   17386   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   17387   shlibpath_overrides_runpath=no
   17388   sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
   17389   sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
   17390   hardcode_into_libs=yes
   17391   ;;
   17392 
   17393 # No shared lib support for Linux oldld, aout, or coff.
   17394 linux*oldld* | linux*aout* | linux*coff*)
   17395   dynamic_linker=no
   17396   ;;
   17397 
   17398 linux*android*)
   17399   version_type=none # Android doesn't support versioned libraries.
   17400   need_lib_prefix=no
   17401   need_version=no
   17402   library_names_spec='$libname$release$shared_ext'
   17403   soname_spec='$libname$release$shared_ext'
   17404   finish_cmds=
   17405   shlibpath_var=LD_LIBRARY_PATH
   17406   shlibpath_overrides_runpath=yes
   17407 
   17408   # This implies no fast_install, which is unacceptable.
   17409   # Some rework will be needed to allow for fast_install
   17410   # before this can be enabled.
   17411   hardcode_into_libs=yes
   17412 
   17413   dynamic_linker='Android linker'
   17414   # Don't embed -rpath directories since the linker doesn't support them.
   17415   hardcode_libdir_flag_spec='-L$libdir'
   17416   ;;
   17417 
   17418 # This must be glibc/ELF.
   17419 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   17420   version_type=linux # correct to gnu/linux during the next big refactor
   17421   need_lib_prefix=no
   17422   need_version=no
   17423   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17424   soname_spec='$libname$release$shared_ext$major'
   17425   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   17426   shlibpath_var=LD_LIBRARY_PATH
   17427   shlibpath_overrides_runpath=no
   17428 
   17429   # Some binutils ld are patched to set DT_RUNPATH
   17430   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   17431   $as_echo_n "(cached) " >&6
   17432 else
   17433   lt_cv_shlibpath_overrides_runpath=no
   17434     save_LDFLAGS=$LDFLAGS
   17435     save_libdir=$libdir
   17436     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   17437 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   17438     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17439 /* end confdefs.h.  */
   17440 
   17441 int
   17442 main ()
   17443 {
   17444 
   17445   ;
   17446   return 0;
   17447 }
   17448 _ACEOF
   17449 if ac_fn_c_try_link "$LINENO"; then :
   17450   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   17451   lt_cv_shlibpath_overrides_runpath=yes
   17452 fi
   17453 fi
   17454 rm -f core conftest.err conftest.$ac_objext \
   17455     conftest$ac_exeext conftest.$ac_ext
   17456     LDFLAGS=$save_LDFLAGS
   17457     libdir=$save_libdir
   17458 
   17459 fi
   17460 
   17461   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   17462 
   17463   # This implies no fast_install, which is unacceptable.
   17464   # Some rework will be needed to allow for fast_install
   17465   # before this can be enabled.
   17466   hardcode_into_libs=yes
   17467 
   17468   # Ideally, we could use ldconfig to report *all* directores which are
   17469   # searched for libraries, however this is still not possible.  Aside from not
   17470   # being certain /sbin/ldconfig is available, command
   17471   # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
   17472   # even though it is searched at run-time.  Try to do the best guess by
   17473   # appending ld.so.conf contents (and includes) to the search path.
   17474   if test -f /etc/ld.so.conf; then
   17475     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' ' '`
   17476     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   17477   fi
   17478 
   17479   # We used to test for /lib/ld.so.1 and disable shared libraries on
   17480   # powerpc, because MkLinux only supported shared libraries with the
   17481   # GNU dynamic linker.  Since this was broken with cross compilers,
   17482   # most powerpc-linux boxes support dynamic linking these days and
   17483   # people can always --disable-shared, the test was removed, and we
   17484   # assume the GNU/Linux dynamic linker is in use.
   17485   dynamic_linker='GNU/Linux ld.so'
   17486   ;;
   17487 
   17488 netbsd*)
   17489   version_type=sunos
   17490   need_lib_prefix=no
   17491   need_version=no
   17492   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17493     library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17494     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17495     dynamic_linker='NetBSD (a.out) ld.so'
   17496   else
   17497     library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17498     soname_spec='$libname$release$shared_ext$major'
   17499     dynamic_linker='NetBSD ld.elf_so'
   17500   fi
   17501   shlibpath_var=LD_LIBRARY_PATH
   17502   shlibpath_overrides_runpath=yes
   17503   hardcode_into_libs=yes
   17504   ;;
   17505 
   17506 newsos6)
   17507   version_type=linux # correct to gnu/linux during the next big refactor
   17508   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17509   shlibpath_var=LD_LIBRARY_PATH
   17510   shlibpath_overrides_runpath=yes
   17511   ;;
   17512 
   17513 *nto* | *qnx*)
   17514   version_type=qnx
   17515   need_lib_prefix=no
   17516   need_version=no
   17517   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17518   soname_spec='$libname$release$shared_ext$major'
   17519   shlibpath_var=LD_LIBRARY_PATH
   17520   shlibpath_overrides_runpath=no
   17521   hardcode_into_libs=yes
   17522   dynamic_linker='ldqnx.so'
   17523   ;;
   17524 
   17525 openbsd* | bitrig*)
   17526   version_type=sunos
   17527   sys_lib_dlsearch_path_spec=/usr/lib
   17528   need_lib_prefix=no
   17529   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
   17530     need_version=no
   17531   else
   17532     need_version=yes
   17533   fi
   17534   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17535   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17536   shlibpath_var=LD_LIBRARY_PATH
   17537   shlibpath_overrides_runpath=yes
   17538   ;;
   17539 
   17540 os2*)
   17541   libname_spec='$name'
   17542   version_type=windows
   17543   shrext_cmds=.dll
   17544   need_version=no
   17545   need_lib_prefix=no
   17546   # OS/2 can only load a DLL with a base name of 8 characters or less.
   17547   soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
   17548     v=$($ECHO $release$versuffix | tr -d .-);
   17549     n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
   17550     $ECHO $n$v`$shared_ext'
   17551   library_names_spec='${libname}_dll.$libext'
   17552   dynamic_linker='OS/2 ld.exe'
   17553   shlibpath_var=BEGINLIBPATH
   17554   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   17555   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17556   postinstall_cmds='base_file=`basename \$file`~
   17557     dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
   17558     dldir=$destdir/`dirname \$dlpath`~
   17559     test -d \$dldir || mkdir -p \$dldir~
   17560     $install_prog $dir/$dlname \$dldir/$dlname~
   17561     chmod a+x \$dldir/$dlname~
   17562     if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   17563       eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   17564     fi'
   17565   postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
   17566     dlpath=$dir/\$dldll~
   17567     $RM \$dlpath'
   17568   ;;
   17569 
   17570 osf3* | osf4* | osf5*)
   17571   version_type=osf
   17572   need_lib_prefix=no
   17573   need_version=no
   17574   soname_spec='$libname$release$shared_ext$major'
   17575   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17576   shlibpath_var=LD_LIBRARY_PATH
   17577   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17578   sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   17579   ;;
   17580 
   17581 rdos*)
   17582   dynamic_linker=no
   17583   ;;
   17584 
   17585 solaris*)
   17586   version_type=linux # correct to gnu/linux during the next big refactor
   17587   need_lib_prefix=no
   17588   need_version=no
   17589   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17590   soname_spec='$libname$release$shared_ext$major'
   17591   shlibpath_var=LD_LIBRARY_PATH
   17592   shlibpath_overrides_runpath=yes
   17593   hardcode_into_libs=yes
   17594   # ldd complains unless libraries are executable
   17595   postinstall_cmds='chmod +x $lib'
   17596   ;;
   17597 
   17598 sunos4*)
   17599   version_type=sunos
   17600   library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
   17601   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17602   shlibpath_var=LD_LIBRARY_PATH
   17603   shlibpath_overrides_runpath=yes
   17604   if test yes = "$with_gnu_ld"; then
   17605     need_lib_prefix=no
   17606   fi
   17607   need_version=yes
   17608   ;;
   17609 
   17610 sysv4 | sysv4.3*)
   17611   version_type=linux # correct to gnu/linux during the next big refactor
   17612   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17613   soname_spec='$libname$release$shared_ext$major'
   17614   shlibpath_var=LD_LIBRARY_PATH
   17615   case $host_vendor in
   17616     sni)
   17617       shlibpath_overrides_runpath=no
   17618       need_lib_prefix=no
   17619       runpath_var=LD_RUN_PATH
   17620       ;;
   17621     siemens)
   17622       need_lib_prefix=no
   17623       ;;
   17624     motorola)
   17625       need_lib_prefix=no
   17626       need_version=no
   17627       shlibpath_overrides_runpath=no
   17628       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17629       ;;
   17630   esac
   17631   ;;
   17632 
   17633 sysv4*MP*)
   17634   if test -d /usr/nec; then
   17635     version_type=linux # correct to gnu/linux during the next big refactor
   17636     library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
   17637     soname_spec='$libname$shared_ext.$major'
   17638     shlibpath_var=LD_LIBRARY_PATH
   17639   fi
   17640   ;;
   17641 
   17642 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17643   version_type=sco
   17644   need_lib_prefix=no
   17645   need_version=no
   17646   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
   17647   soname_spec='$libname$release$shared_ext$major'
   17648   shlibpath_var=LD_LIBRARY_PATH
   17649   shlibpath_overrides_runpath=yes
   17650   hardcode_into_libs=yes
   17651   if test yes = "$with_gnu_ld"; then
   17652     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17653   else
   17654     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17655     case $host_os in
   17656       sco3.2v5*)
   17657         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17658 	;;
   17659     esac
   17660   fi
   17661   sys_lib_dlsearch_path_spec='/usr/lib'
   17662   ;;
   17663 
   17664 tpf*)
   17665   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17666   version_type=linux # correct to gnu/linux during the next big refactor
   17667   need_lib_prefix=no
   17668   need_version=no
   17669   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17670   shlibpath_var=LD_LIBRARY_PATH
   17671   shlibpath_overrides_runpath=no
   17672   hardcode_into_libs=yes
   17673   ;;
   17674 
   17675 uts4*)
   17676   version_type=linux # correct to gnu/linux during the next big refactor
   17677   library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
   17678   soname_spec='$libname$release$shared_ext$major'
   17679   shlibpath_var=LD_LIBRARY_PATH
   17680   ;;
   17681 
   17682 *)
   17683   dynamic_linker=no
   17684   ;;
   17685 esac
   17686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17687 $as_echo "$dynamic_linker" >&6; }
   17688 test no = "$dynamic_linker" && can_build_shared=no
   17689 
   17690 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17691 if test yes = "$GCC"; then
   17692   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17693 fi
   17694 
   17695 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
   17696   sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
   17697 fi
   17698 
   17699 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
   17700   sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
   17701 fi
   17702 
   17703 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
   17704 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
   17705 
   17706 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
   17707 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
   17708 
   17709 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
   17710 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
   17711 
   17712 
   17713 
   17714 
   17715 
   17716 
   17717 
   17718 
   17719 
   17720 
   17721 
   17722 
   17723 
   17724 
   17725 
   17726 
   17727 
   17728 
   17729 
   17730 
   17731 
   17732 
   17733 
   17734 
   17735 
   17736 
   17737 
   17738 
   17739 
   17740 
   17741 
   17742 
   17743 
   17744 
   17745 
   17746 
   17747 
   17748 
   17749 
   17750 
   17751 
   17752 
   17753 
   17754 
   17755 
   17756 
   17757 
   17758 
   17759 
   17760 
   17761 
   17762 
   17763 
   17764 
   17765 
   17766 
   17767 
   17768 
   17769 
   17770 
   17771 
   17772 
   17773 
   17774 
   17775 
   17776 
   17777 
   17778 
   17779 
   17780 
   17781 
   17782 
   17783 
   17784 
   17785 
   17786 
   17787 
   17788 
   17789 
   17790 
   17791 
   17792 
   17793 
   17794 
   17795 
   17796 
   17797 
   17798 
   17799 
   17800 
   17801 
   17802 
   17803 
   17804 
   17805 
   17806 
   17807 
   17808   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17809 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17810 hardcode_action=
   17811 if test -n "$hardcode_libdir_flag_spec" ||
   17812    test -n "$runpath_var" ||
   17813    test yes = "$hardcode_automatic"; then
   17814 
   17815   # We can hardcode non-existent directories.
   17816   if test no != "$hardcode_direct" &&
   17817      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17818      # have to relink, otherwise we might link with an installed library
   17819      # when we should be linking with a yet-to-be-installed one
   17820      ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
   17821      test no != "$hardcode_minus_L"; then
   17822     # Linking always hardcodes the temporary library directory.
   17823     hardcode_action=relink
   17824   else
   17825     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17826     hardcode_action=immediate
   17827   fi
   17828 else
   17829   # We cannot hardcode anything, or else we can only hardcode existing
   17830   # directories.
   17831   hardcode_action=unsupported
   17832 fi
   17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17834 $as_echo "$hardcode_action" >&6; }
   17835 
   17836 if test relink = "$hardcode_action" ||
   17837    test yes = "$inherit_rpath"; then
   17838   # Fast installation is not supported
   17839   enable_fast_install=no
   17840 elif test yes = "$shlibpath_overrides_runpath" ||
   17841      test no = "$enable_shared"; then
   17842   # Fast installation is not necessary
   17843   enable_fast_install=needless
   17844 fi
   17845 
   17846 
   17847 
   17848 
   17849 
   17850 
   17851   if test yes != "$enable_dlopen"; then
   17852   enable_dlopen=unknown
   17853   enable_dlopen_self=unknown
   17854   enable_dlopen_self_static=unknown
   17855 else
   17856   lt_cv_dlopen=no
   17857   lt_cv_dlopen_libs=
   17858 
   17859   case $host_os in
   17860   beos*)
   17861     lt_cv_dlopen=load_add_on
   17862     lt_cv_dlopen_libs=
   17863     lt_cv_dlopen_self=yes
   17864     ;;
   17865 
   17866   mingw* | pw32* | cegcc*)
   17867     lt_cv_dlopen=LoadLibrary
   17868     lt_cv_dlopen_libs=
   17869     ;;
   17870 
   17871   cygwin*)
   17872     lt_cv_dlopen=dlopen
   17873     lt_cv_dlopen_libs=
   17874     ;;
   17875 
   17876   darwin*)
   17877     # if libdl is installed we need to link against it
   17878     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17879 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17880 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17881   $as_echo_n "(cached) " >&6
   17882 else
   17883   ac_check_lib_save_LIBS=$LIBS
   17884 LIBS="-ldl  $LIBS"
   17885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17886 /* end confdefs.h.  */
   17887 
   17888 /* Override any GCC internal prototype to avoid an error.
   17889    Use char because int might match the return type of a GCC
   17890    builtin and then its argument prototype would still apply.  */
   17891 #ifdef __cplusplus
   17892 extern "C"
   17893 #endif
   17894 char dlopen ();
   17895 int
   17896 main ()
   17897 {
   17898 return dlopen ();
   17899   ;
   17900   return 0;
   17901 }
   17902 _ACEOF
   17903 if ac_fn_c_try_link "$LINENO"; then :
   17904   ac_cv_lib_dl_dlopen=yes
   17905 else
   17906   ac_cv_lib_dl_dlopen=no
   17907 fi
   17908 rm -f core conftest.err conftest.$ac_objext \
   17909     conftest$ac_exeext conftest.$ac_ext
   17910 LIBS=$ac_check_lib_save_LIBS
   17911 fi
   17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17913 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17914 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17915   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   17916 else
   17917 
   17918     lt_cv_dlopen=dyld
   17919     lt_cv_dlopen_libs=
   17920     lt_cv_dlopen_self=yes
   17921 
   17922 fi
   17923 
   17924     ;;
   17925 
   17926   tpf*)
   17927     # Don't try to run any link tests for TPF.  We know it's impossible
   17928     # because TPF is a cross-compiler, and we know how we open DSOs.
   17929     lt_cv_dlopen=dlopen
   17930     lt_cv_dlopen_libs=
   17931     lt_cv_dlopen_self=no
   17932     ;;
   17933 
   17934   *)
   17935     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17936 if test "x$ac_cv_func_shl_load" = xyes; then :
   17937   lt_cv_dlopen=shl_load
   17938 else
   17939   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17940 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17941 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17942   $as_echo_n "(cached) " >&6
   17943 else
   17944   ac_check_lib_save_LIBS=$LIBS
   17945 LIBS="-ldld  $LIBS"
   17946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17947 /* end confdefs.h.  */
   17948 
   17949 /* Override any GCC internal prototype to avoid an error.
   17950    Use char because int might match the return type of a GCC
   17951    builtin and then its argument prototype would still apply.  */
   17952 #ifdef __cplusplus
   17953 extern "C"
   17954 #endif
   17955 char shl_load ();
   17956 int
   17957 main ()
   17958 {
   17959 return shl_load ();
   17960   ;
   17961   return 0;
   17962 }
   17963 _ACEOF
   17964 if ac_fn_c_try_link "$LINENO"; then :
   17965   ac_cv_lib_dld_shl_load=yes
   17966 else
   17967   ac_cv_lib_dld_shl_load=no
   17968 fi
   17969 rm -f core conftest.err conftest.$ac_objext \
   17970     conftest$ac_exeext conftest.$ac_ext
   17971 LIBS=$ac_check_lib_save_LIBS
   17972 fi
   17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17974 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17975 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17976   lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
   17977 else
   17978   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17979 if test "x$ac_cv_func_dlopen" = xyes; then :
   17980   lt_cv_dlopen=dlopen
   17981 else
   17982   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17983 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17984 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17985   $as_echo_n "(cached) " >&6
   17986 else
   17987   ac_check_lib_save_LIBS=$LIBS
   17988 LIBS="-ldl  $LIBS"
   17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17990 /* end confdefs.h.  */
   17991 
   17992 /* Override any GCC internal prototype to avoid an error.
   17993    Use char because int might match the return type of a GCC
   17994    builtin and then its argument prototype would still apply.  */
   17995 #ifdef __cplusplus
   17996 extern "C"
   17997 #endif
   17998 char dlopen ();
   17999 int
   18000 main ()
   18001 {
   18002 return dlopen ();
   18003   ;
   18004   return 0;
   18005 }
   18006 _ACEOF
   18007 if ac_fn_c_try_link "$LINENO"; then :
   18008   ac_cv_lib_dl_dlopen=yes
   18009 else
   18010   ac_cv_lib_dl_dlopen=no
   18011 fi
   18012 rm -f core conftest.err conftest.$ac_objext \
   18013     conftest$ac_exeext conftest.$ac_ext
   18014 LIBS=$ac_check_lib_save_LIBS
   18015 fi
   18016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   18017 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   18018 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   18019   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
   18020 else
   18021   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   18022 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   18023 if ${ac_cv_lib_svld_dlopen+:} false; then :
   18024   $as_echo_n "(cached) " >&6
   18025 else
   18026   ac_check_lib_save_LIBS=$LIBS
   18027 LIBS="-lsvld  $LIBS"
   18028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18029 /* end confdefs.h.  */
   18030 
   18031 /* Override any GCC internal prototype to avoid an error.
   18032    Use char because int might match the return type of a GCC
   18033    builtin and then its argument prototype would still apply.  */
   18034 #ifdef __cplusplus
   18035 extern "C"
   18036 #endif
   18037 char dlopen ();
   18038 int
   18039 main ()
   18040 {
   18041 return dlopen ();
   18042   ;
   18043   return 0;
   18044 }
   18045 _ACEOF
   18046 if ac_fn_c_try_link "$LINENO"; then :
   18047   ac_cv_lib_svld_dlopen=yes
   18048 else
   18049   ac_cv_lib_svld_dlopen=no
   18050 fi
   18051 rm -f core conftest.err conftest.$ac_objext \
   18052     conftest$ac_exeext conftest.$ac_ext
   18053 LIBS=$ac_check_lib_save_LIBS
   18054 fi
   18055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   18056 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   18057 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   18058   lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
   18059 else
   18060   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   18061 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   18062 if ${ac_cv_lib_dld_dld_link+:} false; then :
   18063   $as_echo_n "(cached) " >&6
   18064 else
   18065   ac_check_lib_save_LIBS=$LIBS
   18066 LIBS="-ldld  $LIBS"
   18067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18068 /* end confdefs.h.  */
   18069 
   18070 /* Override any GCC internal prototype to avoid an error.
   18071    Use char because int might match the return type of a GCC
   18072    builtin and then its argument prototype would still apply.  */
   18073 #ifdef __cplusplus
   18074 extern "C"
   18075 #endif
   18076 char dld_link ();
   18077 int
   18078 main ()
   18079 {
   18080 return dld_link ();
   18081   ;
   18082   return 0;
   18083 }
   18084 _ACEOF
   18085 if ac_fn_c_try_link "$LINENO"; then :
   18086   ac_cv_lib_dld_dld_link=yes
   18087 else
   18088   ac_cv_lib_dld_dld_link=no
   18089 fi
   18090 rm -f core conftest.err conftest.$ac_objext \
   18091     conftest$ac_exeext conftest.$ac_ext
   18092 LIBS=$ac_check_lib_save_LIBS
   18093 fi
   18094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   18095 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   18096 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   18097   lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
   18098 fi
   18099 
   18100 
   18101 fi
   18102 
   18103 
   18104 fi
   18105 
   18106 
   18107 fi
   18108 
   18109 
   18110 fi
   18111 
   18112 
   18113 fi
   18114 
   18115     ;;
   18116   esac
   18117 
   18118   if test no = "$lt_cv_dlopen"; then
   18119     enable_dlopen=no
   18120   else
   18121     enable_dlopen=yes
   18122   fi
   18123 
   18124   case $lt_cv_dlopen in
   18125   dlopen)
   18126     save_CPPFLAGS=$CPPFLAGS
   18127     test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   18128 
   18129     save_LDFLAGS=$LDFLAGS
   18130     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   18131 
   18132     save_LIBS=$LIBS
   18133     LIBS="$lt_cv_dlopen_libs $LIBS"
   18134 
   18135     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   18136 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   18137 if ${lt_cv_dlopen_self+:} false; then :
   18138   $as_echo_n "(cached) " >&6
   18139 else
   18140   	  if test yes = "$cross_compiling"; then :
   18141   lt_cv_dlopen_self=cross
   18142 else
   18143   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18144   lt_status=$lt_dlunknown
   18145   cat > conftest.$ac_ext <<_LT_EOF
   18146 #line $LINENO "configure"
   18147 #include "confdefs.h"
   18148 
   18149 #if HAVE_DLFCN_H
   18150 #include <dlfcn.h>
   18151 #endif
   18152 
   18153 #include <stdio.h>
   18154 
   18155 #ifdef RTLD_GLOBAL
   18156 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18157 #else
   18158 #  ifdef DL_GLOBAL
   18159 #    define LT_DLGLOBAL		DL_GLOBAL
   18160 #  else
   18161 #    define LT_DLGLOBAL		0
   18162 #  endif
   18163 #endif
   18164 
   18165 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18166    find out it does not work in some platform. */
   18167 #ifndef LT_DLLAZY_OR_NOW
   18168 #  ifdef RTLD_LAZY
   18169 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18170 #  else
   18171 #    ifdef DL_LAZY
   18172 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18173 #    else
   18174 #      ifdef RTLD_NOW
   18175 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18176 #      else
   18177 #        ifdef DL_NOW
   18178 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18179 #        else
   18180 #          define LT_DLLAZY_OR_NOW	0
   18181 #        endif
   18182 #      endif
   18183 #    endif
   18184 #  endif
   18185 #endif
   18186 
   18187 /* When -fvisibility=hidden is used, assume the code has been annotated
   18188    correspondingly for the symbols needed.  */
   18189 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18190 int fnord () __attribute__((visibility("default")));
   18191 #endif
   18192 
   18193 int fnord () { return 42; }
   18194 int main ()
   18195 {
   18196   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18197   int status = $lt_dlunknown;
   18198 
   18199   if (self)
   18200     {
   18201       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18202       else
   18203         {
   18204 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18205           else puts (dlerror ());
   18206 	}
   18207       /* dlclose (self); */
   18208     }
   18209   else
   18210     puts (dlerror ());
   18211 
   18212   return status;
   18213 }
   18214 _LT_EOF
   18215   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18216   (eval $ac_link) 2>&5
   18217   ac_status=$?
   18218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18219   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18220     (./conftest; exit; ) >&5 2>/dev/null
   18221     lt_status=$?
   18222     case x$lt_status in
   18223       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   18224       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   18225       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   18226     esac
   18227   else :
   18228     # compilation failed
   18229     lt_cv_dlopen_self=no
   18230   fi
   18231 fi
   18232 rm -fr conftest*
   18233 
   18234 
   18235 fi
   18236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   18237 $as_echo "$lt_cv_dlopen_self" >&6; }
   18238 
   18239     if test yes = "$lt_cv_dlopen_self"; then
   18240       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   18241       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   18242 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   18243 if ${lt_cv_dlopen_self_static+:} false; then :
   18244   $as_echo_n "(cached) " >&6
   18245 else
   18246   	  if test yes = "$cross_compiling"; then :
   18247   lt_cv_dlopen_self_static=cross
   18248 else
   18249   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   18250   lt_status=$lt_dlunknown
   18251   cat > conftest.$ac_ext <<_LT_EOF
   18252 #line $LINENO "configure"
   18253 #include "confdefs.h"
   18254 
   18255 #if HAVE_DLFCN_H
   18256 #include <dlfcn.h>
   18257 #endif
   18258 
   18259 #include <stdio.h>
   18260 
   18261 #ifdef RTLD_GLOBAL
   18262 #  define LT_DLGLOBAL		RTLD_GLOBAL
   18263 #else
   18264 #  ifdef DL_GLOBAL
   18265 #    define LT_DLGLOBAL		DL_GLOBAL
   18266 #  else
   18267 #    define LT_DLGLOBAL		0
   18268 #  endif
   18269 #endif
   18270 
   18271 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   18272    find out it does not work in some platform. */
   18273 #ifndef LT_DLLAZY_OR_NOW
   18274 #  ifdef RTLD_LAZY
   18275 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   18276 #  else
   18277 #    ifdef DL_LAZY
   18278 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   18279 #    else
   18280 #      ifdef RTLD_NOW
   18281 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   18282 #      else
   18283 #        ifdef DL_NOW
   18284 #          define LT_DLLAZY_OR_NOW	DL_NOW
   18285 #        else
   18286 #          define LT_DLLAZY_OR_NOW	0
   18287 #        endif
   18288 #      endif
   18289 #    endif
   18290 #  endif
   18291 #endif
   18292 
   18293 /* When -fvisibility=hidden is used, assume the code has been annotated
   18294    correspondingly for the symbols needed.  */
   18295 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   18296 int fnord () __attribute__((visibility("default")));
   18297 #endif
   18298 
   18299 int fnord () { return 42; }
   18300 int main ()
   18301 {
   18302   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   18303   int status = $lt_dlunknown;
   18304 
   18305   if (self)
   18306     {
   18307       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   18308       else
   18309         {
   18310 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   18311           else puts (dlerror ());
   18312 	}
   18313       /* dlclose (self); */
   18314     }
   18315   else
   18316     puts (dlerror ());
   18317 
   18318   return status;
   18319 }
   18320 _LT_EOF
   18321   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   18322   (eval $ac_link) 2>&5
   18323   ac_status=$?
   18324   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18325   test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
   18326     (./conftest; exit; ) >&5 2>/dev/null
   18327     lt_status=$?
   18328     case x$lt_status in
   18329       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   18330       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   18331       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   18332     esac
   18333   else :
   18334     # compilation failed
   18335     lt_cv_dlopen_self_static=no
   18336   fi
   18337 fi
   18338 rm -fr conftest*
   18339 
   18340 
   18341 fi
   18342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   18343 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   18344     fi
   18345 
   18346     CPPFLAGS=$save_CPPFLAGS
   18347     LDFLAGS=$save_LDFLAGS
   18348     LIBS=$save_LIBS
   18349     ;;
   18350   esac
   18351 
   18352   case $lt_cv_dlopen_self in
   18353   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   18354   *) enable_dlopen_self=unknown ;;
   18355   esac
   18356 
   18357   case $lt_cv_dlopen_self_static in
   18358   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   18359   *) enable_dlopen_self_static=unknown ;;
   18360   esac
   18361 fi
   18362 
   18363 
   18364 
   18365 
   18366 
   18367 
   18368 
   18369 
   18370 
   18371 
   18372 
   18373 
   18374 
   18375 
   18376 
   18377 
   18378 
   18379 striplib=
   18380 old_striplib=
   18381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   18382 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   18383 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   18384   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   18385   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   18386   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18387 $as_echo "yes" >&6; }
   18388 else
   18389 # FIXME - insert some real tests, host_os isn't really good enough
   18390   case $host_os in
   18391   darwin*)
   18392     if test -n "$STRIP"; then
   18393       striplib="$STRIP -x"
   18394       old_striplib="$STRIP -S"
   18395       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18396 $as_echo "yes" >&6; }
   18397     else
   18398       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18399 $as_echo "no" >&6; }
   18400     fi
   18401     ;;
   18402   *)
   18403     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18404 $as_echo "no" >&6; }
   18405     ;;
   18406   esac
   18407 fi
   18408 
   18409 
   18410 
   18411 
   18412 
   18413 
   18414 
   18415 
   18416 
   18417 
   18418 
   18419 
   18420   # Report what library types will actually be built
   18421   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   18422 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   18423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   18424 $as_echo "$can_build_shared" >&6; }
   18425 
   18426   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   18427 $as_echo_n "checking whether to build shared libraries... " >&6; }
   18428   test no = "$can_build_shared" && enable_shared=no
   18429 
   18430   # On AIX, shared libraries and static libraries use the same namespace, and
   18431   # are all built from PIC.
   18432   case $host_os in
   18433   aix3*)
   18434     test yes = "$enable_shared" && enable_static=no
   18435     if test -n "$RANLIB"; then
   18436       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   18437       postinstall_cmds='$RANLIB $lib'
   18438     fi
   18439     ;;
   18440 
   18441   aix[4-9]*)
   18442     if test ia64 != "$host_cpu"; then
   18443       case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
   18444       yes,aix,yes) ;;			# shared object as lib.so file only
   18445       yes,svr4,*) ;;			# shared object as lib.so archive member only
   18446       yes,*) enable_static=no ;;	# shared object in lib.a archive as well
   18447       esac
   18448     fi
   18449     ;;
   18450   esac
   18451   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   18452 $as_echo "$enable_shared" >&6; }
   18453 
   18454   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   18455 $as_echo_n "checking whether to build static libraries... " >&6; }
   18456   # Make sure either enable_shared or enable_static is yes.
   18457   test yes = "$enable_shared" || enable_static=yes
   18458   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   18459 $as_echo "$enable_static" >&6; }
   18460 
   18461 
   18462 
   18463 
   18464 fi
   18465 ac_ext=c
   18466 ac_cpp='$CPP $CPPFLAGS'
   18467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   18468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   18469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   18470 
   18471 CC=$lt_save_CC
   18472 
   18473 
   18474 
   18475 
   18476 
   18477 
   18478 
   18479 
   18480 
   18481 
   18482 
   18483 
   18484 
   18485 
   18486 
   18487         ac_config_commands="$ac_config_commands libtool"
   18488 
   18489 
   18490 
   18491 
   18492 # Only expand once:
   18493 
   18494 
   18495 
   18496 
   18497 
   18498 # Define a configure option for an alternate module directory
   18499 
   18500 # Check whether --with-xorg-module-dir was given.
   18501 if test "${with_xorg_module_dir+set}" = set; then :
   18502   withval=$with_xorg_module_dir; moduledir="$withval"
   18503 else
   18504   moduledir="$libdir/xorg/modules"
   18505 fi
   18506 
   18507 
   18508 # Check whether --enable-dri was given.
   18509 if test "${enable_dri+set}" = set; then :
   18510   enableval=$enable_dri; DRI="$enableval"
   18511 else
   18512   DRI=auto
   18513 fi
   18514 
   18515 
   18516 # Store the list of server defined optional extensions in REQUIRED_MODULES
   18517 
   18518 
   18519 	SAVE_CFLAGS="$CFLAGS"
   18520 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18521 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18522 /* end confdefs.h.  */
   18523 
   18524 #include "xorg-server.h"
   18525 #if !defined RANDR
   18526 #error RANDR not defined
   18527 #endif
   18528 
   18529 int
   18530 main ()
   18531 {
   18532 
   18533   ;
   18534   return 0;
   18535 }
   18536 _ACEOF
   18537 if ac_fn_c_try_compile "$LINENO"; then :
   18538   _EXT_CHECK=yes
   18539 else
   18540   _EXT_CHECK=no
   18541 fi
   18542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18543 	CFLAGS="$SAVE_CFLAGS"
   18544 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   18545 $as_echo_n "checking if RANDR is defined... " >&6; }
   18546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18547 $as_echo "$_EXT_CHECK" >&6; }
   18548 	if test "$_EXT_CHECK" != no; then
   18549 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   18550 	fi
   18551 
   18552 
   18553 
   18554 	SAVE_CFLAGS="$CFLAGS"
   18555 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18556 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18557 /* end confdefs.h.  */
   18558 
   18559 #include "xorg-server.h"
   18560 #if !defined RENDER
   18561 #error RENDER not defined
   18562 #endif
   18563 
   18564 int
   18565 main ()
   18566 {
   18567 
   18568   ;
   18569   return 0;
   18570 }
   18571 _ACEOF
   18572 if ac_fn_c_try_compile "$LINENO"; then :
   18573   _EXT_CHECK=yes
   18574 else
   18575   _EXT_CHECK=no
   18576 fi
   18577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18578 	CFLAGS="$SAVE_CFLAGS"
   18579 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   18580 $as_echo_n "checking if RENDER is defined... " >&6; }
   18581 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18582 $as_echo "$_EXT_CHECK" >&6; }
   18583 	if test "$_EXT_CHECK" != no; then
   18584 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   18585 	fi
   18586 
   18587 
   18588 
   18589 	SAVE_CFLAGS="$CFLAGS"
   18590 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18591 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18592 /* end confdefs.h.  */
   18593 
   18594 #include "xorg-server.h"
   18595 #if !defined XV
   18596 #error XV not defined
   18597 #endif
   18598 
   18599 int
   18600 main ()
   18601 {
   18602 
   18603   ;
   18604   return 0;
   18605 }
   18606 _ACEOF
   18607 if ac_fn_c_try_compile "$LINENO"; then :
   18608   _EXT_CHECK=yes
   18609 else
   18610   _EXT_CHECK=no
   18611 fi
   18612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18613 	CFLAGS="$SAVE_CFLAGS"
   18614 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if XV is defined" >&5
   18615 $as_echo_n "checking if XV is defined... " >&6; }
   18616 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18617 $as_echo "$_EXT_CHECK" >&6; }
   18618 	if test "$_EXT_CHECK" != no; then
   18619 		REQUIRED_MODULES="$REQUIRED_MODULES videoproto"
   18620 	fi
   18621 
   18622 
   18623 
   18624 	SAVE_CFLAGS="$CFLAGS"
   18625 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   18626 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   18627 /* end confdefs.h.  */
   18628 
   18629 #include "xorg-server.h"
   18630 #if !defined DPMSExtension
   18631 #error DPMSExtension not defined
   18632 #endif
   18633 
   18634 int
   18635 main ()
   18636 {
   18637 
   18638   ;
   18639   return 0;
   18640 }
   18641 _ACEOF
   18642 if ac_fn_c_try_compile "$LINENO"; then :
   18643   _EXT_CHECK=yes
   18644 else
   18645   _EXT_CHECK=no
   18646 fi
   18647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   18648 	CFLAGS="$SAVE_CFLAGS"
   18649 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   18650 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   18651 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   18652 $as_echo "$_EXT_CHECK" >&6; }
   18653 	if test "$_EXT_CHECK" != no; then
   18654 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   18655 	fi
   18656 
   18657 
   18658 # Obtain compiler/linker options for the driver dependencies
   18659 
   18660 pkg_failed=no
   18661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18662 $as_echo_n "checking for XORG... " >&6; }
   18663 
   18664 if test -n "$XORG_CFLAGS"; then
   18665     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18666  elif test -n "$PKG_CONFIG"; then
   18667     if test -n "$PKG_CONFIG" && \
   18668     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18669   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18670   ac_status=$?
   18671   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18672   test $ac_status = 0; }; then
   18673   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18674 		      test "x$?" != "x0" && pkg_failed=yes
   18675 else
   18676   pkg_failed=yes
   18677 fi
   18678  else
   18679     pkg_failed=untried
   18680 fi
   18681 if test -n "$XORG_LIBS"; then
   18682     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18683  elif test -n "$PKG_CONFIG"; then
   18684     if test -n "$PKG_CONFIG" && \
   18685     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.1.0 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18686   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18687   ac_status=$?
   18688   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18689   test $ac_status = 0; }; then
   18690   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18691 		      test "x$?" != "x0" && pkg_failed=yes
   18692 else
   18693   pkg_failed=yes
   18694 fi
   18695  else
   18696     pkg_failed=untried
   18697 fi
   18698 
   18699 
   18700 
   18701 if test $pkg_failed = yes; then
   18702    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18703 $as_echo "no" >&6; }
   18704 
   18705 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18706         _pkg_short_errors_supported=yes
   18707 else
   18708         _pkg_short_errors_supported=no
   18709 fi
   18710         if test $_pkg_short_errors_supported = yes; then
   18711 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18712         else
   18713 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18714         fi
   18715 	# Put the nasty error message in config.log where it belongs
   18716 	echo "$XORG_PKG_ERRORS" >&5
   18717 
   18718 	as_fn_error $? "Package requirements (xorg-server >= 1.1.0 xproto fontsproto $REQUIRED_MODULES) were not met:
   18719 
   18720 $XORG_PKG_ERRORS
   18721 
   18722 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18723 installed software in a non-standard prefix.
   18724 
   18725 Alternatively, you may set the environment variables XORG_CFLAGS
   18726 and XORG_LIBS to avoid the need to call pkg-config.
   18727 See the pkg-config man page for more details." "$LINENO" 5
   18728 elif test $pkg_failed = untried; then
   18729      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18730 $as_echo "no" >&6; }
   18731 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18732 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18733 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18734 is in your PATH or set the PKG_CONFIG environment variable to the full
   18735 path to pkg-config.
   18736 
   18737 Alternatively, you may set the environment variables XORG_CFLAGS
   18738 and XORG_LIBS to avoid the need to call pkg-config.
   18739 See the pkg-config man page for more details.
   18740 
   18741 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18742 See \`config.log' for more details" "$LINENO" 5; }
   18743 else
   18744 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18745 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18746         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18747 $as_echo "yes" >&6; }
   18748 
   18749 fi
   18750 
   18751 pkg_failed=no
   18752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   18753 $as_echo_n "checking for XEXT... " >&6; }
   18754 
   18755 if test -n "$XEXT_CFLAGS"; then
   18756     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   18757  elif test -n "$PKG_CONFIG"; then
   18758     if test -n "$PKG_CONFIG" && \
   18759     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18760   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18761   ac_status=$?
   18762   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18763   test $ac_status = 0; }; then
   18764   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   18765 		      test "x$?" != "x0" && pkg_failed=yes
   18766 else
   18767   pkg_failed=yes
   18768 fi
   18769  else
   18770     pkg_failed=untried
   18771 fi
   18772 if test -n "$XEXT_LIBS"; then
   18773     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   18774  elif test -n "$PKG_CONFIG"; then
   18775     if test -n "$PKG_CONFIG" && \
   18776     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   18777   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   18778   ac_status=$?
   18779   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18780   test $ac_status = 0; }; then
   18781   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   18782 		      test "x$?" != "x0" && pkg_failed=yes
   18783 else
   18784   pkg_failed=yes
   18785 fi
   18786  else
   18787     pkg_failed=untried
   18788 fi
   18789 
   18790 
   18791 
   18792 if test $pkg_failed = yes; then
   18793    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18794 $as_echo "no" >&6; }
   18795 
   18796 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18797         _pkg_short_errors_supported=yes
   18798 else
   18799         _pkg_short_errors_supported=no
   18800 fi
   18801         if test $_pkg_short_errors_supported = yes; then
   18802 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18803         else
   18804 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   18805         fi
   18806 	# Put the nasty error message in config.log where it belongs
   18807 	echo "$XEXT_PKG_ERRORS" >&5
   18808 
   18809 	HAVE_XEXTPROTO_71="no"
   18810 elif test $pkg_failed = untried; then
   18811      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18812 $as_echo "no" >&6; }
   18813 	HAVE_XEXTPROTO_71="no"
   18814 else
   18815 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   18816 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   18817         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18818 $as_echo "yes" >&6; }
   18819 	HAVE_XEXTPROTO_71="yes";
   18820 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   18821 
   18822 fi
   18823  if  test "$HAVE_XEXTPROTO_71" = "yes" ; then
   18824   HAVE_XEXTPROTO_71_TRUE=
   18825   HAVE_XEXTPROTO_71_FALSE='#'
   18826 else
   18827   HAVE_XEXTPROTO_71_TRUE='#'
   18828   HAVE_XEXTPROTO_71_FALSE=
   18829 fi
   18830 
   18831 sdkdir=`$PKG_CONFIG --variable=sdkdir xorg-server`
   18832 
   18833 # Checks for libraries.
   18834 
   18835 
   18836 if test "$DRI" != no; then
   18837         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dri.h" | $as_tr_sh`
   18838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dri.h" >&5
   18839 $as_echo_n "checking for ${sdkdir}/dri.h... " >&6; }
   18840 if eval \${$as_ac_File+:} false; then :
   18841   $as_echo_n "(cached) " >&6
   18842 else
   18843   test "$cross_compiling" = yes &&
   18844   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18845 if test -r "${sdkdir}/dri.h"; then
   18846   eval "$as_ac_File=yes"
   18847 else
   18848   eval "$as_ac_File=no"
   18849 fi
   18850 fi
   18851 eval ac_res=\$$as_ac_File
   18852 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18853 $as_echo "$ac_res" >&6; }
   18854 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18855   have_dri_h="yes"
   18856 else
   18857   have_dri_h="no"
   18858 fi
   18859 
   18860         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/sarea.h" | $as_tr_sh`
   18861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/sarea.h" >&5
   18862 $as_echo_n "checking for ${sdkdir}/sarea.h... " >&6; }
   18863 if eval \${$as_ac_File+:} false; then :
   18864   $as_echo_n "(cached) " >&6
   18865 else
   18866   test "$cross_compiling" = yes &&
   18867   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18868 if test -r "${sdkdir}/sarea.h"; then
   18869   eval "$as_ac_File=yes"
   18870 else
   18871   eval "$as_ac_File=no"
   18872 fi
   18873 fi
   18874 eval ac_res=\$$as_ac_File
   18875 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18876 $as_echo "$ac_res" >&6; }
   18877 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18878   have_sarea_h="yes"
   18879 else
   18880   have_sarea_h="no"
   18881 fi
   18882 
   18883         as_ac_File=`$as_echo "ac_cv_file_${sdkdir}/dristruct.h" | $as_tr_sh`
   18884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${sdkdir}/dristruct.h" >&5
   18885 $as_echo_n "checking for ${sdkdir}/dristruct.h... " >&6; }
   18886 if eval \${$as_ac_File+:} false; then :
   18887   $as_echo_n "(cached) " >&6
   18888 else
   18889   test "$cross_compiling" = yes &&
   18890   as_fn_error $? "cannot check for file existence when cross compiling" "$LINENO" 5
   18891 if test -r "${sdkdir}/dristruct.h"; then
   18892   eval "$as_ac_File=yes"
   18893 else
   18894   eval "$as_ac_File=no"
   18895 fi
   18896 fi
   18897 eval ac_res=\$$as_ac_File
   18898 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   18899 $as_echo "$ac_res" >&6; }
   18900 if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
   18901   have_dristruct_h="yes"
   18902 else
   18903   have_dristruct_h="no"
   18904 fi
   18905 
   18906 fi
   18907 
   18908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include DRI support" >&5
   18909 $as_echo_n "checking whether to include DRI support... " >&6; }
   18910 if test x$DRI = xauto; then
   18911         if test "$have_dri_h" = yes -a \
   18912                 "$have_sarea_h" = yes -a \
   18913                 "$have_dristruct_h" = yes; then
   18914                 DRI="yes"
   18915         else
   18916                 DRI="no"
   18917         fi
   18918 fi
   18919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DRI" >&5
   18920 $as_echo "$DRI" >&6; }
   18921 
   18922  if test x$DRI = xyes; then
   18923   DRI_TRUE=
   18924   DRI_FALSE='#'
   18925 else
   18926   DRI_TRUE='#'
   18927   DRI_FALSE=
   18928 fi
   18929 
   18930 if test "$DRI" = yes; then
   18931 
   18932 pkg_failed=no
   18933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DRI" >&5
   18934 $as_echo_n "checking for DRI... " >&6; }
   18935 
   18936 if test -n "$DRI_CFLAGS"; then
   18937     pkg_cv_DRI_CFLAGS="$DRI_CFLAGS"
   18938  elif test -n "$PKG_CONFIG"; then
   18939     if test -n "$PKG_CONFIG" && \
   18940     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18941   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18942   ac_status=$?
   18943   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18944   test $ac_status = 0; }; then
   18945   pkg_cv_DRI_CFLAGS=`$PKG_CONFIG --cflags "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18946 		      test "x$?" != "x0" && pkg_failed=yes
   18947 else
   18948   pkg_failed=yes
   18949 fi
   18950  else
   18951     pkg_failed=untried
   18952 fi
   18953 if test -n "$DRI_LIBS"; then
   18954     pkg_cv_DRI_LIBS="$DRI_LIBS"
   18955  elif test -n "$PKG_CONFIG"; then
   18956     if test -n "$PKG_CONFIG" && \
   18957     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdrm >= 2.0 xf86driproto\""; } >&5
   18958   ($PKG_CONFIG --exists --print-errors "libdrm >= 2.0 xf86driproto") 2>&5
   18959   ac_status=$?
   18960   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18961   test $ac_status = 0; }; then
   18962   pkg_cv_DRI_LIBS=`$PKG_CONFIG --libs "libdrm >= 2.0 xf86driproto" 2>/dev/null`
   18963 		      test "x$?" != "x0" && pkg_failed=yes
   18964 else
   18965   pkg_failed=yes
   18966 fi
   18967  else
   18968     pkg_failed=untried
   18969 fi
   18970 
   18971 
   18972 
   18973 if test $pkg_failed = yes; then
   18974    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18975 $as_echo "no" >&6; }
   18976 
   18977 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18978         _pkg_short_errors_supported=yes
   18979 else
   18980         _pkg_short_errors_supported=no
   18981 fi
   18982         if test $_pkg_short_errors_supported = yes; then
   18983 	        DRI_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   18984         else
   18985 	        DRI_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libdrm >= 2.0 xf86driproto" 2>&1`
   18986         fi
   18987 	# Put the nasty error message in config.log where it belongs
   18988 	echo "$DRI_PKG_ERRORS" >&5
   18989 
   18990 	as_fn_error $? "Package requirements (libdrm >= 2.0 xf86driproto) were not met:
   18991 
   18992 $DRI_PKG_ERRORS
   18993 
   18994 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18995 installed software in a non-standard prefix.
   18996 
   18997 Alternatively, you may set the environment variables DRI_CFLAGS
   18998 and DRI_LIBS to avoid the need to call pkg-config.
   18999 See the pkg-config man page for more details." "$LINENO" 5
   19000 elif test $pkg_failed = untried; then
   19001      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19002 $as_echo "no" >&6; }
   19003 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19004 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19005 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19006 is in your PATH or set the PKG_CONFIG environment variable to the full
   19007 path to pkg-config.
   19008 
   19009 Alternatively, you may set the environment variables DRI_CFLAGS
   19010 and DRI_LIBS to avoid the need to call pkg-config.
   19011 See the pkg-config man page for more details.
   19012 
   19013 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19014 See \`config.log' for more details" "$LINENO" 5; }
   19015 else
   19016 	DRI_CFLAGS=$pkg_cv_DRI_CFLAGS
   19017 	DRI_LIBS=$pkg_cv_DRI_LIBS
   19018         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19019 $as_echo "yes" >&6; }
   19020 
   19021 fi
   19022 
   19023 $as_echo "#define SAVAGEDRI 1" >>confdefs.h
   19024 
   19025 
   19026 $as_echo "#define SAVAGEDRI_DEVEL 1" >>confdefs.h
   19027 
   19028 fi
   19029 
   19030 # Check whether --enable-xaa was given.
   19031 if test "${enable_xaa+set}" = set; then :
   19032   enableval=$enable_xaa; XAA="$enableval"
   19033 else
   19034   XAA=auto
   19035 fi
   19036 
   19037 if test "x$XAA" != xno; then
   19038         save_CFLAGS=$CFLAGS
   19039         save_CPPFLAGS=$CPPFLAGS
   19040         CFLAGS=$XORG_CFLAGS
   19041         CPPFLAGS="$XORG_CFLAGS"
   19042         for ac_header in xaa.h
   19043 do :
   19044   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   19045 if test "x$ac_cv_header_xaa_h" = xyes; then :
   19046   cat >>confdefs.h <<_ACEOF
   19047 #define HAVE_XAA_H 1
   19048 _ACEOF
   19049  XAA=yes
   19050 else
   19051   XAA=no
   19052 fi
   19053 
   19054 done
   19055 
   19056         CFLAGS=$save_CFLAGS
   19057         CPPFLAGS=$save_CPPFLAGS
   19058 fi
   19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   19060 $as_echo_n "checking whether to include XAA support... " >&6; }
   19061  if test "x$XAA" = xyes; then
   19062   XAA_TRUE=
   19063   XAA_FALSE='#'
   19064 else
   19065   XAA_TRUE='#'
   19066   XAA_FALSE=
   19067 fi
   19068 
   19069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   19070 $as_echo "$XAA" >&6; }
   19071 
   19072 save_CFLAGS="$CFLAGS"
   19073 CFLAGS="$XORG_CFLAGS"
   19074 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   19075 "
   19076 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   19077   XSERVER_LIBPCIACCESS=yes
   19078 else
   19079   XSERVER_LIBPCIACCESS=no
   19080 fi
   19081 
   19082 ac_fn_c_check_decl "$LINENO" "xf86XVFillKeyHelperDrawable" "ac_cv_have_decl_xf86XVFillKeyHelperDrawable" "#include \"xf86xv.h\"
   19083 "
   19084 if test "x$ac_cv_have_decl_xf86XVFillKeyHelperDrawable" = xyes; then :
   19085 
   19086 $as_echo "#define HAVE_XV_DRAWABLE_HELPER 1" >>confdefs.h
   19087 
   19088 fi
   19089 
   19090 CFLAGS="$save_CFLAGS"
   19091 
   19092 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19093 
   19094 pkg_failed=no
   19095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   19096 $as_echo_n "checking for PCIACCESS... " >&6; }
   19097 
   19098 if test -n "$PCIACCESS_CFLAGS"; then
   19099     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   19100  elif test -n "$PKG_CONFIG"; then
   19101     if test -n "$PKG_CONFIG" && \
   19102     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   19103   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   19104   ac_status=$?
   19105   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19106   test $ac_status = 0; }; then
   19107   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.10" 2>/dev/null`
   19108 		      test "x$?" != "x0" && pkg_failed=yes
   19109 else
   19110   pkg_failed=yes
   19111 fi
   19112  else
   19113     pkg_failed=untried
   19114 fi
   19115 if test -n "$PCIACCESS_LIBS"; then
   19116     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   19117  elif test -n "$PKG_CONFIG"; then
   19118     if test -n "$PKG_CONFIG" && \
   19119     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.10\""; } >&5
   19120   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.10") 2>&5
   19121   ac_status=$?
   19122   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   19123   test $ac_status = 0; }; then
   19124   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.10" 2>/dev/null`
   19125 		      test "x$?" != "x0" && pkg_failed=yes
   19126 else
   19127   pkg_failed=yes
   19128 fi
   19129  else
   19130     pkg_failed=untried
   19131 fi
   19132 
   19133 
   19134 
   19135 if test $pkg_failed = yes; then
   19136    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19137 $as_echo "no" >&6; }
   19138 
   19139 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   19140         _pkg_short_errors_supported=yes
   19141 else
   19142         _pkg_short_errors_supported=no
   19143 fi
   19144         if test $_pkg_short_errors_supported = yes; then
   19145 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   19146         else
   19147 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.10" 2>&1`
   19148         fi
   19149 	# Put the nasty error message in config.log where it belongs
   19150 	echo "$PCIACCESS_PKG_ERRORS" >&5
   19151 
   19152 	as_fn_error $? "Package requirements (pciaccess >= 0.10) were not met:
   19153 
   19154 $PCIACCESS_PKG_ERRORS
   19155 
   19156 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   19157 installed software in a non-standard prefix.
   19158 
   19159 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19160 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19161 See the pkg-config man page for more details." "$LINENO" 5
   19162 elif test $pkg_failed = untried; then
   19163      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   19164 $as_echo "no" >&6; }
   19165 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   19166 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   19167 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   19168 is in your PATH or set the PKG_CONFIG environment variable to the full
   19169 path to pkg-config.
   19170 
   19171 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   19172 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   19173 See the pkg-config man page for more details.
   19174 
   19175 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   19176 See \`config.log' for more details" "$LINENO" 5; }
   19177 else
   19178 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   19179 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   19180         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   19181 $as_echo "yes" >&6; }
   19182 
   19183 fi
   19184 fi
   19185  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   19186   XSERVER_LIBPCIACCESS_TRUE=
   19187   XSERVER_LIBPCIACCESS_FALSE='#'
   19188 else
   19189   XSERVER_LIBPCIACCESS_TRUE='#'
   19190   XSERVER_LIBPCIACCESS_FALSE=
   19191 fi
   19192 
   19193 
   19194 
   19195 
   19196 DRIVER_NAME=savage
   19197 
   19198 
   19199 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   19200 
   19201 cat >confcache <<\_ACEOF
   19202 # This file is a shell script that caches the results of configure
   19203 # tests run on this system so they can be shared between configure
   19204 # scripts and configure runs, see configure's option --config-cache.
   19205 # It is not useful on other systems.  If it contains results you don't
   19206 # want to keep, you may remove or edit it.
   19207 #
   19208 # config.status only pays attention to the cache file if you give it
   19209 # the --recheck option to rerun configure.
   19210 #
   19211 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   19212 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   19213 # following values.
   19214 
   19215 _ACEOF
   19216 
   19217 # The following way of writing the cache mishandles newlines in values,
   19218 # but we know of no workaround that is simple, portable, and efficient.
   19219 # So, we kill variables containing newlines.
   19220 # Ultrix sh set writes to stderr and can't be redirected directly,
   19221 # and sets the high bit in the cache file unless we assign to the vars.
   19222 (
   19223   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   19224     eval ac_val=\$$ac_var
   19225     case $ac_val in #(
   19226     *${as_nl}*)
   19227       case $ac_var in #(
   19228       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   19229 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   19230       esac
   19231       case $ac_var in #(
   19232       _ | IFS | as_nl) ;; #(
   19233       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   19234       *) { eval $ac_var=; unset $ac_var;} ;;
   19235       esac ;;
   19236     esac
   19237   done
   19238 
   19239   (set) 2>&1 |
   19240     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   19241     *${as_nl}ac_space=\ *)
   19242       # `set' does not quote correctly, so add quotes: double-quote
   19243       # substitution turns \\\\ into \\, and sed turns \\ into \.
   19244       sed -n \
   19245 	"s/'/'\\\\''/g;
   19246 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   19247       ;; #(
   19248     *)
   19249       # `set' quotes correctly as required by POSIX, so do not add quotes.
   19250       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   19251       ;;
   19252     esac |
   19253     sort
   19254 ) |
   19255   sed '
   19256      /^ac_cv_env_/b end
   19257      t clear
   19258      :clear
   19259      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   19260      t end
   19261      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   19262      :end' >>confcache
   19263 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   19264   if test -w "$cache_file"; then
   19265     if test "x$cache_file" != "x/dev/null"; then
   19266       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   19267 $as_echo "$as_me: updating cache $cache_file" >&6;}
   19268       if test ! -f "$cache_file" || test -h "$cache_file"; then
   19269 	cat confcache >"$cache_file"
   19270       else
   19271         case $cache_file in #(
   19272         */* | ?:*)
   19273 	  mv -f confcache "$cache_file"$$ &&
   19274 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   19275         *)
   19276 	  mv -f confcache "$cache_file" ;;
   19277 	esac
   19278       fi
   19279     fi
   19280   else
   19281     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   19282 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   19283   fi
   19284 fi
   19285 rm -f confcache
   19286 
   19287 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   19288 # Let make expand exec_prefix.
   19289 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   19290 
   19291 DEFS=-DHAVE_CONFIG_H
   19292 
   19293 ac_libobjs=
   19294 ac_ltlibobjs=
   19295 U=
   19296 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   19297   # 1. Remove the extension, and $U if already installed.
   19298   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   19299   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   19300   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   19301   #    will be set to the directory where LIBOBJS objects are built.
   19302   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   19303   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   19304 done
   19305 LIBOBJS=$ac_libobjs
   19306 
   19307 LTLIBOBJS=$ac_ltlibobjs
   19308 
   19309 
   19310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   19311 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   19312    if test -n "$am_sleep_pid"; then
   19313      # Hide warnings about reused PIDs.
   19314      wait $am_sleep_pid 2>/dev/null
   19315    fi
   19316    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   19317 $as_echo "done" >&6; }
   19318  if test -n "$EXEEXT"; then
   19319   am__EXEEXT_TRUE=
   19320   am__EXEEXT_FALSE='#'
   19321 else
   19322   am__EXEEXT_TRUE='#'
   19323   am__EXEEXT_FALSE=
   19324 fi
   19325 
   19326 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   19327   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   19328 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19329 fi
   19330 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   19331   as_fn_error $? "conditional \"AMDEP\" was never defined.
   19332 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19333 fi
   19334 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   19335   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   19336 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19337 fi
   19338 if test -z "${HAVE_XEXTPROTO_71_TRUE}" && test -z "${HAVE_XEXTPROTO_71_FALSE}"; then
   19339   as_fn_error $? "conditional \"HAVE_XEXTPROTO_71\" was never defined.
   19340 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19341 fi
   19342 if test -z "${DRI_TRUE}" && test -z "${DRI_FALSE}"; then
   19343   as_fn_error $? "conditional \"DRI\" was never defined.
   19344 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19345 fi
   19346 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   19347   as_fn_error $? "conditional \"XAA\" was never defined.
   19348 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19349 fi
   19350 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   19351   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   19352 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   19353 fi
   19354 
   19355 : "${CONFIG_STATUS=./config.status}"
   19356 ac_write_fail=0
   19357 ac_clean_files_save=$ac_clean_files
   19358 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   19359 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   19360 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   19361 as_write_fail=0
   19362 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   19363 #! $SHELL
   19364 # Generated by $as_me.
   19365 # Run this file to recreate the current configuration.
   19366 # Compiler output produced by configure, useful for debugging
   19367 # configure, is in config.log if it exists.
   19368 
   19369 debug=false
   19370 ac_cs_recheck=false
   19371 ac_cs_silent=false
   19372 
   19373 SHELL=\${CONFIG_SHELL-$SHELL}
   19374 export SHELL
   19375 _ASEOF
   19376 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   19377 ## -------------------- ##
   19378 ## M4sh Initialization. ##
   19379 ## -------------------- ##
   19380 
   19381 # Be more Bourne compatible
   19382 DUALCASE=1; export DUALCASE # for MKS sh
   19383 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   19384   emulate sh
   19385   NULLCMD=:
   19386   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   19387   # is contrary to our usage.  Disable this feature.
   19388   alias -g '${1+"$@"}'='"$@"'
   19389   setopt NO_GLOB_SUBST
   19390 else
   19391   case `(set -o) 2>/dev/null` in #(
   19392   *posix*) :
   19393     set -o posix ;; #(
   19394   *) :
   19395      ;;
   19396 esac
   19397 fi
   19398 
   19399 
   19400 as_nl='
   19401 '
   19402 export as_nl
   19403 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   19404 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   19405 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   19406 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   19407 # Prefer a ksh shell builtin over an external printf program on Solaris,
   19408 # but without wasting forks for bash or zsh.
   19409 if test -z "$BASH_VERSION$ZSH_VERSION" \
   19410     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   19411   as_echo='print -r --'
   19412   as_echo_n='print -rn --'
   19413 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   19414   as_echo='printf %s\n'
   19415   as_echo_n='printf %s'
   19416 else
   19417   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   19418     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   19419     as_echo_n='/usr/ucb/echo -n'
   19420   else
   19421     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   19422     as_echo_n_body='eval
   19423       arg=$1;
   19424       case $arg in #(
   19425       *"$as_nl"*)
   19426 	expr "X$arg" : "X\\(.*\\)$as_nl";
   19427 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   19428       esac;
   19429       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   19430     '
   19431     export as_echo_n_body
   19432     as_echo_n='sh -c $as_echo_n_body as_echo'
   19433   fi
   19434   export as_echo_body
   19435   as_echo='sh -c $as_echo_body as_echo'
   19436 fi
   19437 
   19438 # The user is always right.
   19439 if test "${PATH_SEPARATOR+set}" != set; then
   19440   PATH_SEPARATOR=:
   19441   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   19442     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   19443       PATH_SEPARATOR=';'
   19444   }
   19445 fi
   19446 
   19447 
   19448 # IFS
   19449 # We need space, tab and new line, in precisely that order.  Quoting is
   19450 # there to prevent editors from complaining about space-tab.
   19451 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   19452 # splitting by setting IFS to empty value.)
   19453 IFS=" ""	$as_nl"
   19454 
   19455 # Find who we are.  Look in the path if we contain no directory separator.
   19456 as_myself=
   19457 case $0 in #((
   19458   *[\\/]* ) as_myself=$0 ;;
   19459   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   19460 for as_dir in $PATH
   19461 do
   19462   IFS=$as_save_IFS
   19463   test -z "$as_dir" && as_dir=.
   19464     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   19465   done
   19466 IFS=$as_save_IFS
   19467 
   19468      ;;
   19469 esac
   19470 # We did not find ourselves, most probably we were run as `sh COMMAND'
   19471 # in which case we are not to be found in the path.
   19472 if test "x$as_myself" = x; then
   19473   as_myself=$0
   19474 fi
   19475 if test ! -f "$as_myself"; then
   19476   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   19477   exit 1
   19478 fi
   19479 
   19480 # Unset variables that we do not need and which cause bugs (e.g. in
   19481 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   19482 # suppresses any "Segmentation fault" message there.  '((' could
   19483 # trigger a bug in pdksh 5.2.14.
   19484 for as_var in BASH_ENV ENV MAIL MAILPATH
   19485 do eval test x\${$as_var+set} = xset \
   19486   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   19487 done
   19488 PS1='$ '
   19489 PS2='> '
   19490 PS4='+ '
   19491 
   19492 # NLS nuisances.
   19493 LC_ALL=C
   19494 export LC_ALL
   19495 LANGUAGE=C
   19496 export LANGUAGE
   19497 
   19498 # CDPATH.
   19499 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19500 
   19501 
   19502 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   19503 # ----------------------------------------
   19504 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   19505 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   19506 # script with STATUS, using 1 if that was 0.
   19507 as_fn_error ()
   19508 {
   19509   as_status=$1; test $as_status -eq 0 && as_status=1
   19510   if test "$4"; then
   19511     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   19512     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   19513   fi
   19514   $as_echo "$as_me: error: $2" >&2
   19515   as_fn_exit $as_status
   19516 } # as_fn_error
   19517 
   19518 
   19519 # as_fn_set_status STATUS
   19520 # -----------------------
   19521 # Set $? to STATUS, without forking.
   19522 as_fn_set_status ()
   19523 {
   19524   return $1
   19525 } # as_fn_set_status
   19526 
   19527 # as_fn_exit STATUS
   19528 # -----------------
   19529 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   19530 as_fn_exit ()
   19531 {
   19532   set +e
   19533   as_fn_set_status $1
   19534   exit $1
   19535 } # as_fn_exit
   19536 
   19537 # as_fn_unset VAR
   19538 # ---------------
   19539 # Portably unset VAR.
   19540 as_fn_unset ()
   19541 {
   19542   { eval $1=; unset $1;}
   19543 }
   19544 as_unset=as_fn_unset
   19545 # as_fn_append VAR VALUE
   19546 # ----------------------
   19547 # Append the text in VALUE to the end of the definition contained in VAR. Take
   19548 # advantage of any shell optimizations that allow amortized linear growth over
   19549 # repeated appends, instead of the typical quadratic growth present in naive
   19550 # implementations.
   19551 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   19552   eval 'as_fn_append ()
   19553   {
   19554     eval $1+=\$2
   19555   }'
   19556 else
   19557   as_fn_append ()
   19558   {
   19559     eval $1=\$$1\$2
   19560   }
   19561 fi # as_fn_append
   19562 
   19563 # as_fn_arith ARG...
   19564 # ------------------
   19565 # Perform arithmetic evaluation on the ARGs, and store the result in the
   19566 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   19567 # must be portable across $(()) and expr.
   19568 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   19569   eval 'as_fn_arith ()
   19570   {
   19571     as_val=$(( $* ))
   19572   }'
   19573 else
   19574   as_fn_arith ()
   19575   {
   19576     as_val=`expr "$@" || test $? -eq 1`
   19577   }
   19578 fi # as_fn_arith
   19579 
   19580 
   19581 if expr a : '\(a\)' >/dev/null 2>&1 &&
   19582    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   19583   as_expr=expr
   19584 else
   19585   as_expr=false
   19586 fi
   19587 
   19588 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   19589   as_basename=basename
   19590 else
   19591   as_basename=false
   19592 fi
   19593 
   19594 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   19595   as_dirname=dirname
   19596 else
   19597   as_dirname=false
   19598 fi
   19599 
   19600 as_me=`$as_basename -- "$0" ||
   19601 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   19602 	 X"$0" : 'X\(//\)$' \| \
   19603 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   19604 $as_echo X/"$0" |
   19605     sed '/^.*\/\([^/][^/]*\)\/*$/{
   19606 	    s//\1/
   19607 	    q
   19608 	  }
   19609 	  /^X\/\(\/\/\)$/{
   19610 	    s//\1/
   19611 	    q
   19612 	  }
   19613 	  /^X\/\(\/\).*/{
   19614 	    s//\1/
   19615 	    q
   19616 	  }
   19617 	  s/.*/./; q'`
   19618 
   19619 # Avoid depending upon Character Ranges.
   19620 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   19621 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   19622 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   19623 as_cr_digits='0123456789'
   19624 as_cr_alnum=$as_cr_Letters$as_cr_digits
   19625 
   19626 ECHO_C= ECHO_N= ECHO_T=
   19627 case `echo -n x` in #(((((
   19628 -n*)
   19629   case `echo 'xy\c'` in
   19630   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   19631   xy)  ECHO_C='\c';;
   19632   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   19633        ECHO_T='	';;
   19634   esac;;
   19635 *)
   19636   ECHO_N='-n';;
   19637 esac
   19638 
   19639 rm -f conf$$ conf$$.exe conf$$.file
   19640 if test -d conf$$.dir; then
   19641   rm -f conf$$.dir/conf$$.file
   19642 else
   19643   rm -f conf$$.dir
   19644   mkdir conf$$.dir 2>/dev/null
   19645 fi
   19646 if (echo >conf$$.file) 2>/dev/null; then
   19647   if ln -s conf$$.file conf$$ 2>/dev/null; then
   19648     as_ln_s='ln -s'
   19649     # ... but there are two gotchas:
   19650     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   19651     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   19652     # In both cases, we have to default to `cp -pR'.
   19653     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   19654       as_ln_s='cp -pR'
   19655   elif ln conf$$.file conf$$ 2>/dev/null; then
   19656     as_ln_s=ln
   19657   else
   19658     as_ln_s='cp -pR'
   19659   fi
   19660 else
   19661   as_ln_s='cp -pR'
   19662 fi
   19663 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   19664 rmdir conf$$.dir 2>/dev/null
   19665 
   19666 
   19667 # as_fn_mkdir_p
   19668 # -------------
   19669 # Create "$as_dir" as a directory, including parents if necessary.
   19670 as_fn_mkdir_p ()
   19671 {
   19672 
   19673   case $as_dir in #(
   19674   -*) as_dir=./$as_dir;;
   19675   esac
   19676   test -d "$as_dir" || eval $as_mkdir_p || {
   19677     as_dirs=
   19678     while :; do
   19679       case $as_dir in #(
   19680       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   19681       *) as_qdir=$as_dir;;
   19682       esac
   19683       as_dirs="'$as_qdir' $as_dirs"
   19684       as_dir=`$as_dirname -- "$as_dir" ||
   19685 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19686 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   19687 	 X"$as_dir" : 'X\(//\)$' \| \
   19688 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   19689 $as_echo X"$as_dir" |
   19690     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19691 	    s//\1/
   19692 	    q
   19693 	  }
   19694 	  /^X\(\/\/\)[^/].*/{
   19695 	    s//\1/
   19696 	    q
   19697 	  }
   19698 	  /^X\(\/\/\)$/{
   19699 	    s//\1/
   19700 	    q
   19701 	  }
   19702 	  /^X\(\/\).*/{
   19703 	    s//\1/
   19704 	    q
   19705 	  }
   19706 	  s/.*/./; q'`
   19707       test -d "$as_dir" && break
   19708     done
   19709     test -z "$as_dirs" || eval "mkdir $as_dirs"
   19710   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   19711 
   19712 
   19713 } # as_fn_mkdir_p
   19714 if mkdir -p . 2>/dev/null; then
   19715   as_mkdir_p='mkdir -p "$as_dir"'
   19716 else
   19717   test -d ./-p && rmdir ./-p
   19718   as_mkdir_p=false
   19719 fi
   19720 
   19721 
   19722 # as_fn_executable_p FILE
   19723 # -----------------------
   19724 # Test if FILE is an executable regular file.
   19725 as_fn_executable_p ()
   19726 {
   19727   test -f "$1" && test -x "$1"
   19728 } # as_fn_executable_p
   19729 as_test_x='test -x'
   19730 as_executable_p=as_fn_executable_p
   19731 
   19732 # Sed expression to map a string onto a valid CPP name.
   19733 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   19734 
   19735 # Sed expression to map a string onto a valid variable name.
   19736 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   19737 
   19738 
   19739 exec 6>&1
   19740 ## ----------------------------------- ##
   19741 ## Main body of $CONFIG_STATUS script. ##
   19742 ## ----------------------------------- ##
   19743 _ASEOF
   19744 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   19745 
   19746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19747 # Save the log message, to keep $0 and so on meaningful, and to
   19748 # report actual input values of CONFIG_FILES etc. instead of their
   19749 # values after options handling.
   19750 ac_log="
   19751 This file was extended by xf86-video-savage $as_me 2.3.9, which was
   19752 generated by GNU Autoconf 2.69.  Invocation command line was
   19753 
   19754   CONFIG_FILES    = $CONFIG_FILES
   19755   CONFIG_HEADERS  = $CONFIG_HEADERS
   19756   CONFIG_LINKS    = $CONFIG_LINKS
   19757   CONFIG_COMMANDS = $CONFIG_COMMANDS
   19758   $ $0 $@
   19759 
   19760 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   19761 "
   19762 
   19763 _ACEOF
   19764 
   19765 case $ac_config_files in *"
   19766 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   19767 esac
   19768 
   19769 case $ac_config_headers in *"
   19770 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   19771 esac
   19772 
   19773 
   19774 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19775 # Files that config.status was made for.
   19776 config_files="$ac_config_files"
   19777 config_headers="$ac_config_headers"
   19778 config_commands="$ac_config_commands"
   19779 
   19780 _ACEOF
   19781 
   19782 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19783 ac_cs_usage="\
   19784 \`$as_me' instantiates files and other configuration actions
   19785 from templates according to the current configuration.  Unless the files
   19786 and actions are specified as TAGs, all are instantiated by default.
   19787 
   19788 Usage: $0 [OPTION]... [TAG]...
   19789 
   19790   -h, --help       print this help, then exit
   19791   -V, --version    print version number and configuration settings, then exit
   19792       --config     print configuration, then exit
   19793   -q, --quiet, --silent
   19794                    do not print progress messages
   19795   -d, --debug      don't remove temporary files
   19796       --recheck    update $as_me by reconfiguring in the same conditions
   19797       --file=FILE[:TEMPLATE]
   19798                    instantiate the configuration file FILE
   19799       --header=FILE[:TEMPLATE]
   19800                    instantiate the configuration header FILE
   19801 
   19802 Configuration files:
   19803 $config_files
   19804 
   19805 Configuration headers:
   19806 $config_headers
   19807 
   19808 Configuration commands:
   19809 $config_commands
   19810 
   19811 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   19812 
   19813 _ACEOF
   19814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19815 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   19816 ac_cs_version="\\
   19817 xf86-video-savage config.status 2.3.9
   19818 configured by $0, generated by GNU Autoconf 2.69,
   19819   with options \\"\$ac_cs_config\\"
   19820 
   19821 Copyright (C) 2012 Free Software Foundation, Inc.
   19822 This config.status script is free software; the Free Software Foundation
   19823 gives unlimited permission to copy, distribute and modify it."
   19824 
   19825 ac_pwd='$ac_pwd'
   19826 srcdir='$srcdir'
   19827 INSTALL='$INSTALL'
   19828 MKDIR_P='$MKDIR_P'
   19829 AWK='$AWK'
   19830 test -n "\$AWK" || AWK=awk
   19831 _ACEOF
   19832 
   19833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19834 # The default lists apply if the user does not specify any file.
   19835 ac_need_defaults=:
   19836 while test $# != 0
   19837 do
   19838   case $1 in
   19839   --*=?*)
   19840     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19841     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   19842     ac_shift=:
   19843     ;;
   19844   --*=)
   19845     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   19846     ac_optarg=
   19847     ac_shift=:
   19848     ;;
   19849   *)
   19850     ac_option=$1
   19851     ac_optarg=$2
   19852     ac_shift=shift
   19853     ;;
   19854   esac
   19855 
   19856   case $ac_option in
   19857   # Handling of the options.
   19858   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   19859     ac_cs_recheck=: ;;
   19860   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   19861     $as_echo "$ac_cs_version"; exit ;;
   19862   --config | --confi | --conf | --con | --co | --c )
   19863     $as_echo "$ac_cs_config"; exit ;;
   19864   --debug | --debu | --deb | --de | --d | -d )
   19865     debug=: ;;
   19866   --file | --fil | --fi | --f )
   19867     $ac_shift
   19868     case $ac_optarg in
   19869     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19870     '') as_fn_error $? "missing file argument" ;;
   19871     esac
   19872     as_fn_append CONFIG_FILES " '$ac_optarg'"
   19873     ac_need_defaults=false;;
   19874   --header | --heade | --head | --hea )
   19875     $ac_shift
   19876     case $ac_optarg in
   19877     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   19878     esac
   19879     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   19880     ac_need_defaults=false;;
   19881   --he | --h)
   19882     # Conflict between --help and --header
   19883     as_fn_error $? "ambiguous option: \`$1'
   19884 Try \`$0 --help' for more information.";;
   19885   --help | --hel | -h )
   19886     $as_echo "$ac_cs_usage"; exit ;;
   19887   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   19888   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   19889     ac_cs_silent=: ;;
   19890 
   19891   # This is an error.
   19892   -*) as_fn_error $? "unrecognized option: \`$1'
   19893 Try \`$0 --help' for more information." ;;
   19894 
   19895   *) as_fn_append ac_config_targets " $1"
   19896      ac_need_defaults=false ;;
   19897 
   19898   esac
   19899   shift
   19900 done
   19901 
   19902 ac_configure_extra_args=
   19903 
   19904 if $ac_cs_silent; then
   19905   exec 6>/dev/null
   19906   ac_configure_extra_args="$ac_configure_extra_args --silent"
   19907 fi
   19908 
   19909 _ACEOF
   19910 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19911 if \$ac_cs_recheck; then
   19912   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   19913   shift
   19914   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   19915   CONFIG_SHELL='$SHELL'
   19916   export CONFIG_SHELL
   19917   exec "\$@"
   19918 fi
   19919 
   19920 _ACEOF
   19921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19922 exec 5>>config.log
   19923 {
   19924   echo
   19925   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   19926 ## Running $as_me. ##
   19927 _ASBOX
   19928   $as_echo "$ac_log"
   19929 } >&5
   19930 
   19931 _ACEOF
   19932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19933 #
   19934 # INIT-COMMANDS
   19935 #
   19936 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   19937 
   19938 
   19939 # The HP-UX ksh and POSIX shell print the target directory to stdout
   19940 # if CDPATH is set.
   19941 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19942 
   19943 sed_quote_subst='$sed_quote_subst'
   19944 double_quote_subst='$double_quote_subst'
   19945 delay_variable_subst='$delay_variable_subst'
   19946 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19947 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19948 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19949 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19950 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19951 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19952 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
   19953 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19954 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19955 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19956 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19957 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19958 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19959 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19960 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19961 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19962 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19963 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19964 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19965 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19966 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19967 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19968 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19969 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19970 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19971 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19972 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19973 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19974 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19975 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19976 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19977 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19978 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19979 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19980 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19981 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19982 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19983 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19984 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19985 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19986 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19987 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19988 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19989 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19990 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19991 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19992 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19993 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19994 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19995 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19996 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19997 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19998 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19999 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   20000 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   20001 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   20002 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
   20003 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   20004 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"`'
   20005 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
   20006 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   20007 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   20008 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
   20009 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   20010 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   20011 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   20012 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   20013 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   20014 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   20015 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   20016 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   20017 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   20018 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   20019 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   20020 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   20021 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   20022 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   20023 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   20024 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   20025 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20026 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   20027 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   20028 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   20029 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   20030 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   20031 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   20032 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   20033 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   20034 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20035 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   20036 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   20037 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   20038 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20039 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   20040 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   20041 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   20042 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   20043 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   20044 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   20045 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20046 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   20047 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   20048 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   20049 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   20050 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   20051 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   20052 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   20053 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   20054 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   20055 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   20056 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   20057 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   20058 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   20059 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   20060 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   20061 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   20062 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   20063 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   20064 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   20065 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   20066 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   20067 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   20068 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   20069 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   20070 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   20071 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   20072 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   20073 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
   20074 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
   20075 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   20076 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   20077 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   20078 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   20079 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   20080 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   20081 
   20082 LTCC='$LTCC'
   20083 LTCFLAGS='$LTCFLAGS'
   20084 compiler='$compiler_DEFAULT'
   20085 
   20086 # A function that is used when there is no print builtin or printf.
   20087 func_fallback_echo ()
   20088 {
   20089   eval 'cat <<_LTECHO_EOF
   20090 \$1
   20091 _LTECHO_EOF'
   20092 }
   20093 
   20094 # Quote evaled strings.
   20095 for var in SHELL \
   20096 ECHO \
   20097 PATH_SEPARATOR \
   20098 SED \
   20099 GREP \
   20100 EGREP \
   20101 FGREP \
   20102 LD \
   20103 NM \
   20104 LN_S \
   20105 lt_SP2NL \
   20106 lt_NL2SP \
   20107 reload_flag \
   20108 OBJDUMP \
   20109 deplibs_check_method \
   20110 file_magic_cmd \
   20111 file_magic_glob \
   20112 want_nocaseglob \
   20113 DLLTOOL \
   20114 sharedlib_from_linklib_cmd \
   20115 AR \
   20116 AR_FLAGS \
   20117 archiver_list_spec \
   20118 STRIP \
   20119 RANLIB \
   20120 CC \
   20121 CFLAGS \
   20122 compiler \
   20123 lt_cv_sys_global_symbol_pipe \
   20124 lt_cv_sys_global_symbol_to_cdecl \
   20125 lt_cv_sys_global_symbol_to_import \
   20126 lt_cv_sys_global_symbol_to_c_name_address \
   20127 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   20128 lt_cv_nm_interface \
   20129 nm_file_list_spec \
   20130 lt_cv_truncate_bin \
   20131 lt_prog_compiler_no_builtin_flag \
   20132 lt_prog_compiler_pic \
   20133 lt_prog_compiler_wl \
   20134 lt_prog_compiler_static \
   20135 lt_cv_prog_compiler_c_o \
   20136 need_locks \
   20137 MANIFEST_TOOL \
   20138 DSYMUTIL \
   20139 NMEDIT \
   20140 LIPO \
   20141 OTOOL \
   20142 OTOOL64 \
   20143 shrext_cmds \
   20144 export_dynamic_flag_spec \
   20145 whole_archive_flag_spec \
   20146 compiler_needs_object \
   20147 with_gnu_ld \
   20148 allow_undefined_flag \
   20149 no_undefined_flag \
   20150 hardcode_libdir_flag_spec \
   20151 hardcode_libdir_separator \
   20152 exclude_expsyms \
   20153 include_expsyms \
   20154 file_list_spec \
   20155 variables_saved_for_relink \
   20156 libname_spec \
   20157 library_names_spec \
   20158 soname_spec \
   20159 install_override_mode \
   20160 finish_eval \
   20161 old_striplib \
   20162 striplib; do
   20163     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20164     *[\\\\\\\`\\"\\\$]*)
   20165       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20166       ;;
   20167     *)
   20168       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20169       ;;
   20170     esac
   20171 done
   20172 
   20173 # Double-quote double-evaled strings.
   20174 for var in reload_cmds \
   20175 old_postinstall_cmds \
   20176 old_postuninstall_cmds \
   20177 old_archive_cmds \
   20178 extract_expsyms_cmds \
   20179 old_archive_from_new_cmds \
   20180 old_archive_from_expsyms_cmds \
   20181 archive_cmds \
   20182 archive_expsym_cmds \
   20183 module_cmds \
   20184 module_expsym_cmds \
   20185 export_symbols_cmds \
   20186 prelink_cmds \
   20187 postlink_cmds \
   20188 postinstall_cmds \
   20189 postuninstall_cmds \
   20190 finish_cmds \
   20191 sys_lib_search_path_spec \
   20192 configure_time_dlsearch_path \
   20193 configure_time_lt_sys_library_path; do
   20194     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   20195     *[\\\\\\\`\\"\\\$]*)
   20196       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
   20197       ;;
   20198     *)
   20199       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   20200       ;;
   20201     esac
   20202 done
   20203 
   20204 ac_aux_dir='$ac_aux_dir'
   20205 
   20206 # See if we are running on zsh, and set the options that allow our
   20207 # commands through without removal of \ escapes INIT.
   20208 if test -n "\${ZSH_VERSION+set}"; then
   20209    setopt NO_GLOB_SUBST
   20210 fi
   20211 
   20212 
   20213     PACKAGE='$PACKAGE'
   20214     VERSION='$VERSION'
   20215     RM='$RM'
   20216     ofile='$ofile'
   20217 
   20218 
   20219 
   20220 
   20221 _ACEOF
   20222 
   20223 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20224 
   20225 # Handling of arguments.
   20226 for ac_config_target in $ac_config_targets
   20227 do
   20228   case $ac_config_target in
   20229     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   20230     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   20231     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   20232     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   20233     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   20234     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   20235 
   20236   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   20237   esac
   20238 done
   20239 
   20240 
   20241 # If the user did not use the arguments to specify the items to instantiate,
   20242 # then the envvar interface is used.  Set only those that are not.
   20243 # We use the long form for the default assignment because of an extremely
   20244 # bizarre bug on SunOS 4.1.3.
   20245 if $ac_need_defaults; then
   20246   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   20247   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   20248   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   20249 fi
   20250 
   20251 # Have a temporary directory for convenience.  Make it in the build tree
   20252 # simply because there is no reason against having it here, and in addition,
   20253 # creating and moving files from /tmp can sometimes cause problems.
   20254 # Hook for its removal unless debugging.
   20255 # Note that there is a small window in which the directory will not be cleaned:
   20256 # after its creation but before its name has been assigned to `$tmp'.
   20257 $debug ||
   20258 {
   20259   tmp= ac_tmp=
   20260   trap 'exit_status=$?
   20261   : "${ac_tmp:=$tmp}"
   20262   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   20263 ' 0
   20264   trap 'as_fn_exit 1' 1 2 13 15
   20265 }
   20266 # Create a (secure) tmp directory for tmp files.
   20267 
   20268 {
   20269   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   20270   test -d "$tmp"
   20271 }  ||
   20272 {
   20273   tmp=./conf$$-$RANDOM
   20274   (umask 077 && mkdir "$tmp")
   20275 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   20276 ac_tmp=$tmp
   20277 
   20278 # Set up the scripts for CONFIG_FILES section.
   20279 # No need to generate them if there are no CONFIG_FILES.
   20280 # This happens for instance with `./config.status config.h'.
   20281 if test -n "$CONFIG_FILES"; then
   20282 
   20283 
   20284 ac_cr=`echo X | tr X '\015'`
   20285 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   20286 # But we know of no other shell where ac_cr would be empty at this
   20287 # point, so we can use a bashism as a fallback.
   20288 if test "x$ac_cr" = x; then
   20289   eval ac_cr=\$\'\\r\'
   20290 fi
   20291 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   20292 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   20293   ac_cs_awk_cr='\\r'
   20294 else
   20295   ac_cs_awk_cr=$ac_cr
   20296 fi
   20297 
   20298 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   20299 _ACEOF
   20300 
   20301 
   20302 {
   20303   echo "cat >conf$$subs.awk <<_ACEOF" &&
   20304   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   20305   echo "_ACEOF"
   20306 } >conf$$subs.sh ||
   20307   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20308 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   20309 ac_delim='%!_!# '
   20310 for ac_last_try in false false false false false :; do
   20311   . ./conf$$subs.sh ||
   20312     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20313 
   20314   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   20315   if test $ac_delim_n = $ac_delim_num; then
   20316     break
   20317   elif $ac_last_try; then
   20318     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   20319   else
   20320     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20321   fi
   20322 done
   20323 rm -f conf$$subs.sh
   20324 
   20325 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20326 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   20327 _ACEOF
   20328 sed -n '
   20329 h
   20330 s/^/S["/; s/!.*/"]=/
   20331 p
   20332 g
   20333 s/^[^!]*!//
   20334 :repl
   20335 t repl
   20336 s/'"$ac_delim"'$//
   20337 t delim
   20338 :nl
   20339 h
   20340 s/\(.\{148\}\)..*/\1/
   20341 t more1
   20342 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   20343 p
   20344 n
   20345 b repl
   20346 :more1
   20347 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20348 p
   20349 g
   20350 s/.\{148\}//
   20351 t nl
   20352 :delim
   20353 h
   20354 s/\(.\{148\}\)..*/\1/
   20355 t more2
   20356 s/["\\]/\\&/g; s/^/"/; s/$/"/
   20357 p
   20358 b
   20359 :more2
   20360 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   20361 p
   20362 g
   20363 s/.\{148\}//
   20364 t delim
   20365 ' <conf$$subs.awk | sed '
   20366 /^[^""]/{
   20367   N
   20368   s/\n//
   20369 }
   20370 ' >>$CONFIG_STATUS || ac_write_fail=1
   20371 rm -f conf$$subs.awk
   20372 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20373 _ACAWK
   20374 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   20375   for (key in S) S_is_set[key] = 1
   20376   FS = ""
   20377 
   20378 }
   20379 {
   20380   line = $ 0
   20381   nfields = split(line, field, "@")
   20382   substed = 0
   20383   len = length(field[1])
   20384   for (i = 2; i < nfields; i++) {
   20385     key = field[i]
   20386     keylen = length(key)
   20387     if (S_is_set[key]) {
   20388       value = S[key]
   20389       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   20390       len += length(value) + length(field[++i])
   20391       substed = 1
   20392     } else
   20393       len += 1 + keylen
   20394   }
   20395 
   20396   print line
   20397 }
   20398 
   20399 _ACAWK
   20400 _ACEOF
   20401 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20402 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   20403   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   20404 else
   20405   cat
   20406 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   20407   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   20408 _ACEOF
   20409 
   20410 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   20411 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   20412 # trailing colons and then remove the whole line if VPATH becomes empty
   20413 # (actually we leave an empty line to preserve line numbers).
   20414 if test "x$srcdir" = x.; then
   20415   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   20416 h
   20417 s///
   20418 s/^/:/
   20419 s/[	 ]*$/:/
   20420 s/:\$(srcdir):/:/g
   20421 s/:\${srcdir}:/:/g
   20422 s/:@srcdir@:/:/g
   20423 s/^:*//
   20424 s/:*$//
   20425 x
   20426 s/\(=[	 ]*\).*/\1/
   20427 G
   20428 s/\n//
   20429 s/^[^=]*=[	 ]*$//
   20430 }'
   20431 fi
   20432 
   20433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20434 fi # test -n "$CONFIG_FILES"
   20435 
   20436 # Set up the scripts for CONFIG_HEADERS section.
   20437 # No need to generate them if there are no CONFIG_HEADERS.
   20438 # This happens for instance with `./config.status Makefile'.
   20439 if test -n "$CONFIG_HEADERS"; then
   20440 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   20441 BEGIN {
   20442 _ACEOF
   20443 
   20444 # Transform confdefs.h into an awk script `defines.awk', embedded as
   20445 # here-document in config.status, that substitutes the proper values into
   20446 # config.h.in to produce config.h.
   20447 
   20448 # Create a delimiter string that does not exist in confdefs.h, to ease
   20449 # handling of long lines.
   20450 ac_delim='%!_!# '
   20451 for ac_last_try in false false :; do
   20452   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   20453   if test -z "$ac_tt"; then
   20454     break
   20455   elif $ac_last_try; then
   20456     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   20457   else
   20458     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   20459   fi
   20460 done
   20461 
   20462 # For the awk script, D is an array of macro values keyed by name,
   20463 # likewise P contains macro parameters if any.  Preserve backslash
   20464 # newline sequences.
   20465 
   20466 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   20467 sed -n '
   20468 s/.\{148\}/&'"$ac_delim"'/g
   20469 t rset
   20470 :rset
   20471 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   20472 t def
   20473 d
   20474 :def
   20475 s/\\$//
   20476 t bsnl
   20477 s/["\\]/\\&/g
   20478 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20479 D["\1"]=" \3"/p
   20480 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   20481 d
   20482 :bsnl
   20483 s/["\\]/\\&/g
   20484 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   20485 D["\1"]=" \3\\\\\\n"\\/p
   20486 t cont
   20487 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   20488 t cont
   20489 d
   20490 :cont
   20491 n
   20492 s/.\{148\}/&'"$ac_delim"'/g
   20493 t clear
   20494 :clear
   20495 s/\\$//
   20496 t bsnlc
   20497 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   20498 d
   20499 :bsnlc
   20500 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   20501 b cont
   20502 ' <confdefs.h | sed '
   20503 s/'"$ac_delim"'/"\\\
   20504 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   20505 
   20506 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20507   for (key in D) D_is_set[key] = 1
   20508   FS = ""
   20509 }
   20510 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   20511   line = \$ 0
   20512   split(line, arg, " ")
   20513   if (arg[1] == "#") {
   20514     defundef = arg[2]
   20515     mac1 = arg[3]
   20516   } else {
   20517     defundef = substr(arg[1], 2)
   20518     mac1 = arg[2]
   20519   }
   20520   split(mac1, mac2, "(") #)
   20521   macro = mac2[1]
   20522   prefix = substr(line, 1, index(line, defundef) - 1)
   20523   if (D_is_set[macro]) {
   20524     # Preserve the white space surrounding the "#".
   20525     print prefix "define", macro P[macro] D[macro]
   20526     next
   20527   } else {
   20528     # Replace #undef with comments.  This is necessary, for example,
   20529     # in the case of _POSIX_SOURCE, which is predefined and required
   20530     # on some systems where configure will not decide to define it.
   20531     if (defundef == "undef") {
   20532       print "/*", prefix defundef, macro, "*/"
   20533       next
   20534     }
   20535   }
   20536 }
   20537 { print }
   20538 _ACAWK
   20539 _ACEOF
   20540 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20541   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   20542 fi # test -n "$CONFIG_HEADERS"
   20543 
   20544 
   20545 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   20546 shift
   20547 for ac_tag
   20548 do
   20549   case $ac_tag in
   20550   :[FHLC]) ac_mode=$ac_tag; continue;;
   20551   esac
   20552   case $ac_mode$ac_tag in
   20553   :[FHL]*:*);;
   20554   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   20555   :[FH]-) ac_tag=-:-;;
   20556   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   20557   esac
   20558   ac_save_IFS=$IFS
   20559   IFS=:
   20560   set x $ac_tag
   20561   IFS=$ac_save_IFS
   20562   shift
   20563   ac_file=$1
   20564   shift
   20565 
   20566   case $ac_mode in
   20567   :L) ac_source=$1;;
   20568   :[FH])
   20569     ac_file_inputs=
   20570     for ac_f
   20571     do
   20572       case $ac_f in
   20573       -) ac_f="$ac_tmp/stdin";;
   20574       *) # Look for the file first in the build tree, then in the source tree
   20575 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   20576 	 # because $ac_f cannot contain `:'.
   20577 	 test -f "$ac_f" ||
   20578 	   case $ac_f in
   20579 	   [\\/$]*) false;;
   20580 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   20581 	   esac ||
   20582 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   20583       esac
   20584       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   20585       as_fn_append ac_file_inputs " '$ac_f'"
   20586     done
   20587 
   20588     # Let's still pretend it is `configure' which instantiates (i.e., don't
   20589     # use $as_me), people would be surprised to read:
   20590     #    /* config.h.  Generated by config.status.  */
   20591     configure_input='Generated from '`
   20592 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   20593 	`' by configure.'
   20594     if test x"$ac_file" != x-; then
   20595       configure_input="$ac_file.  $configure_input"
   20596       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   20597 $as_echo "$as_me: creating $ac_file" >&6;}
   20598     fi
   20599     # Neutralize special characters interpreted by sed in replacement strings.
   20600     case $configure_input in #(
   20601     *\&* | *\|* | *\\* )
   20602        ac_sed_conf_input=`$as_echo "$configure_input" |
   20603        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   20604     *) ac_sed_conf_input=$configure_input;;
   20605     esac
   20606 
   20607     case $ac_tag in
   20608     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   20609       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   20610     esac
   20611     ;;
   20612   esac
   20613 
   20614   ac_dir=`$as_dirname -- "$ac_file" ||
   20615 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20616 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   20617 	 X"$ac_file" : 'X\(//\)$' \| \
   20618 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   20619 $as_echo X"$ac_file" |
   20620     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20621 	    s//\1/
   20622 	    q
   20623 	  }
   20624 	  /^X\(\/\/\)[^/].*/{
   20625 	    s//\1/
   20626 	    q
   20627 	  }
   20628 	  /^X\(\/\/\)$/{
   20629 	    s//\1/
   20630 	    q
   20631 	  }
   20632 	  /^X\(\/\).*/{
   20633 	    s//\1/
   20634 	    q
   20635 	  }
   20636 	  s/.*/./; q'`
   20637   as_dir="$ac_dir"; as_fn_mkdir_p
   20638   ac_builddir=.
   20639 
   20640 case "$ac_dir" in
   20641 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20642 *)
   20643   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   20644   # A ".." for each directory in $ac_dir_suffix.
   20645   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   20646   case $ac_top_builddir_sub in
   20647   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   20648   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   20649   esac ;;
   20650 esac
   20651 ac_abs_top_builddir=$ac_pwd
   20652 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   20653 # for backward compatibility:
   20654 ac_top_builddir=$ac_top_build_prefix
   20655 
   20656 case $srcdir in
   20657   .)  # We are building in place.
   20658     ac_srcdir=.
   20659     ac_top_srcdir=$ac_top_builddir_sub
   20660     ac_abs_top_srcdir=$ac_pwd ;;
   20661   [\\/]* | ?:[\\/]* )  # Absolute name.
   20662     ac_srcdir=$srcdir$ac_dir_suffix;
   20663     ac_top_srcdir=$srcdir
   20664     ac_abs_top_srcdir=$srcdir ;;
   20665   *) # Relative name.
   20666     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   20667     ac_top_srcdir=$ac_top_build_prefix$srcdir
   20668     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   20669 esac
   20670 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   20671 
   20672 
   20673   case $ac_mode in
   20674   :F)
   20675   #
   20676   # CONFIG_FILE
   20677   #
   20678 
   20679   case $INSTALL in
   20680   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   20681   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   20682   esac
   20683   ac_MKDIR_P=$MKDIR_P
   20684   case $MKDIR_P in
   20685   [\\/$]* | ?:[\\/]* ) ;;
   20686   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   20687   esac
   20688 _ACEOF
   20689 
   20690 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20691 # If the template does not know about datarootdir, expand it.
   20692 # FIXME: This hack should be removed a few years after 2.60.
   20693 ac_datarootdir_hack=; ac_datarootdir_seen=
   20694 ac_sed_dataroot='
   20695 /datarootdir/ {
   20696   p
   20697   q
   20698 }
   20699 /@datadir@/p
   20700 /@docdir@/p
   20701 /@infodir@/p
   20702 /@localedir@/p
   20703 /@mandir@/p'
   20704 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   20705 *datarootdir*) ac_datarootdir_seen=yes;;
   20706 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   20707   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   20708 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   20709 _ACEOF
   20710 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20711   ac_datarootdir_hack='
   20712   s&@datadir@&$datadir&g
   20713   s&@docdir@&$docdir&g
   20714   s&@infodir@&$infodir&g
   20715   s&@localedir@&$localedir&g
   20716   s&@mandir@&$mandir&g
   20717   s&\\\${datarootdir}&$datarootdir&g' ;;
   20718 esac
   20719 _ACEOF
   20720 
   20721 # Neutralize VPATH when `$srcdir' = `.'.
   20722 # Shell code in configure.ac might set extrasub.
   20723 # FIXME: do we really want to maintain this feature?
   20724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   20725 ac_sed_extra="$ac_vpsub
   20726 $extrasub
   20727 _ACEOF
   20728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   20729 :t
   20730 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   20731 s|@configure_input@|$ac_sed_conf_input|;t t
   20732 s&@top_builddir@&$ac_top_builddir_sub&;t t
   20733 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   20734 s&@srcdir@&$ac_srcdir&;t t
   20735 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   20736 s&@top_srcdir@&$ac_top_srcdir&;t t
   20737 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   20738 s&@builddir@&$ac_builddir&;t t
   20739 s&@abs_builddir@&$ac_abs_builddir&;t t
   20740 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   20741 s&@INSTALL@&$ac_INSTALL&;t t
   20742 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   20743 $ac_datarootdir_hack
   20744 "
   20745 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   20746   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20747 
   20748 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   20749   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   20750   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   20751       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   20752   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20753 which seems to be undefined.  Please make sure it is defined" >&5
   20754 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   20755 which seems to be undefined.  Please make sure it is defined" >&2;}
   20756 
   20757   rm -f "$ac_tmp/stdin"
   20758   case $ac_file in
   20759   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   20760   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   20761   esac \
   20762   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20763  ;;
   20764   :H)
   20765   #
   20766   # CONFIG_HEADER
   20767   #
   20768   if test x"$ac_file" != x-; then
   20769     {
   20770       $as_echo "/* $configure_input  */" \
   20771       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   20772     } >"$ac_tmp/config.h" \
   20773       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20774     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   20775       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   20776 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   20777     else
   20778       rm -f "$ac_file"
   20779       mv "$ac_tmp/config.h" "$ac_file" \
   20780 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   20781     fi
   20782   else
   20783     $as_echo "/* $configure_input  */" \
   20784       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   20785       || as_fn_error $? "could not create -" "$LINENO" 5
   20786   fi
   20787 # Compute "$ac_file"'s index in $config_headers.
   20788 _am_arg="$ac_file"
   20789 _am_stamp_count=1
   20790 for _am_header in $config_headers :; do
   20791   case $_am_header in
   20792     $_am_arg | $_am_arg:* )
   20793       break ;;
   20794     * )
   20795       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   20796   esac
   20797 done
   20798 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   20799 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20800 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   20801 	 X"$_am_arg" : 'X\(//\)$' \| \
   20802 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   20803 $as_echo X"$_am_arg" |
   20804     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20805 	    s//\1/
   20806 	    q
   20807 	  }
   20808 	  /^X\(\/\/\)[^/].*/{
   20809 	    s//\1/
   20810 	    q
   20811 	  }
   20812 	  /^X\(\/\/\)$/{
   20813 	    s//\1/
   20814 	    q
   20815 	  }
   20816 	  /^X\(\/\).*/{
   20817 	    s//\1/
   20818 	    q
   20819 	  }
   20820 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   20821  ;;
   20822 
   20823   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   20824 $as_echo "$as_me: executing $ac_file commands" >&6;}
   20825  ;;
   20826   esac
   20827 
   20828 
   20829   case $ac_file$ac_mode in
   20830     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   20831   # Older Autoconf quotes --file arguments for eval, but not when files
   20832   # are listed without --file.  Let's play safe and only enable the eval
   20833   # if we detect the quoting.
   20834   case $CONFIG_FILES in
   20835   *\'*) eval set x "$CONFIG_FILES" ;;
   20836   *)   set x $CONFIG_FILES ;;
   20837   esac
   20838   shift
   20839   for mf
   20840   do
   20841     # Strip MF so we end up with the name of the file.
   20842     mf=`echo "$mf" | sed -e 's/:.*$//'`
   20843     # Check whether this is an Automake generated Makefile or not.
   20844     # We used to match only the files named 'Makefile.in', but
   20845     # some people rename them; so instead we look at the file content.
   20846     # Grep'ing the first line is not enough: some people post-process
   20847     # each Makefile.in and add a new line on top of each file to say so.
   20848     # Grep'ing the whole file is not good either: AIX grep has a line
   20849     # limit of 2048, but all sed's we know have understand at least 4000.
   20850     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   20851       dirpart=`$as_dirname -- "$mf" ||
   20852 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20853 	 X"$mf" : 'X\(//\)[^/]' \| \
   20854 	 X"$mf" : 'X\(//\)$' \| \
   20855 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   20856 $as_echo X"$mf" |
   20857     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20858 	    s//\1/
   20859 	    q
   20860 	  }
   20861 	  /^X\(\/\/\)[^/].*/{
   20862 	    s//\1/
   20863 	    q
   20864 	  }
   20865 	  /^X\(\/\/\)$/{
   20866 	    s//\1/
   20867 	    q
   20868 	  }
   20869 	  /^X\(\/\).*/{
   20870 	    s//\1/
   20871 	    q
   20872 	  }
   20873 	  s/.*/./; q'`
   20874     else
   20875       continue
   20876     fi
   20877     # Extract the definition of DEPDIR, am__include, and am__quote
   20878     # from the Makefile without running 'make'.
   20879     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   20880     test -z "$DEPDIR" && continue
   20881     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   20882     test -z "$am__include" && continue
   20883     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   20884     # Find all dependency output files, they are included files with
   20885     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   20886     # simplest approach to changing $(DEPDIR) to its actual value in the
   20887     # expansion.
   20888     for file in `sed -n "
   20889       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   20890 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   20891       # Make sure the directory exists.
   20892       test -f "$dirpart/$file" && continue
   20893       fdir=`$as_dirname -- "$file" ||
   20894 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   20895 	 X"$file" : 'X\(//\)[^/]' \| \
   20896 	 X"$file" : 'X\(//\)$' \| \
   20897 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   20898 $as_echo X"$file" |
   20899     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   20900 	    s//\1/
   20901 	    q
   20902 	  }
   20903 	  /^X\(\/\/\)[^/].*/{
   20904 	    s//\1/
   20905 	    q
   20906 	  }
   20907 	  /^X\(\/\/\)$/{
   20908 	    s//\1/
   20909 	    q
   20910 	  }
   20911 	  /^X\(\/\).*/{
   20912 	    s//\1/
   20913 	    q
   20914 	  }
   20915 	  s/.*/./; q'`
   20916       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   20917       # echo "creating $dirpart/$file"
   20918       echo '# dummy' > "$dirpart/$file"
   20919     done
   20920   done
   20921 }
   20922  ;;
   20923     "libtool":C)
   20924 
   20925     # See if we are running on zsh, and set the options that allow our
   20926     # commands through without removal of \ escapes.
   20927     if test -n "${ZSH_VERSION+set}"; then
   20928       setopt NO_GLOB_SUBST
   20929     fi
   20930 
   20931     cfgfile=${ofile}T
   20932     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   20933     $RM "$cfgfile"
   20934 
   20935     cat <<_LT_EOF >> "$cfgfile"
   20936 #! $SHELL
   20937 # Generated automatically by $as_me ($PACKAGE) $VERSION
   20938 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   20939 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   20940 
   20941 # Provide generalized library-building support services.
   20942 # Written by Gordon Matzigkeit, 1996
   20943 
   20944 # Copyright (C) 2014 Free Software Foundation, Inc.
   20945 # This is free software; see the source for copying conditions.  There is NO
   20946 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   20947 
   20948 # GNU Libtool is free software; you can redistribute it and/or modify
   20949 # it under the terms of the GNU General Public License as published by
   20950 # the Free Software Foundation; either version 2 of of the License, or
   20951 # (at your option) any later version.
   20952 #
   20953 # As a special exception to the GNU General Public License, if you
   20954 # distribute this file as part of a program or library that is built
   20955 # using GNU Libtool, you may include this file under the  same
   20956 # distribution terms that you use for the rest of that program.
   20957 #
   20958 # GNU Libtool is distributed in the hope that it will be useful, but
   20959 # WITHOUT ANY WARRANTY; without even the implied warranty of
   20960 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20961 # GNU General Public License for more details.
   20962 #
   20963 # You should have received a copy of the GNU General Public License
   20964 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
   20965 
   20966 
   20967 # The names of the tagged configurations supported by this script.
   20968 available_tags=''
   20969 
   20970 # Configured defaults for sys_lib_dlsearch_path munging.
   20971 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
   20972 
   20973 # ### BEGIN LIBTOOL CONFIG
   20974 
   20975 # Whether or not to build static libraries.
   20976 build_old_libs=$enable_static
   20977 
   20978 # Which release of libtool.m4 was used?
   20979 macro_version=$macro_version
   20980 macro_revision=$macro_revision
   20981 
   20982 # Whether or not to build shared libraries.
   20983 build_libtool_libs=$enable_shared
   20984 
   20985 # What type of objects to build.
   20986 pic_mode=$pic_mode
   20987 
   20988 # Whether or not to optimize for fast installation.
   20989 fast_install=$enable_fast_install
   20990 
   20991 # Shared archive member basename,for filename based shared library versioning on AIX.
   20992 shared_archive_member_spec=$shared_archive_member_spec
   20993 
   20994 # Shell to use when invoking shell scripts.
   20995 SHELL=$lt_SHELL
   20996 
   20997 # An echo program that protects backslashes.
   20998 ECHO=$lt_ECHO
   20999 
   21000 # The PATH separator for the build system.
   21001 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   21002 
   21003 # The host system.
   21004 host_alias=$host_alias
   21005 host=$host
   21006 host_os=$host_os
   21007 
   21008 # The build system.
   21009 build_alias=$build_alias
   21010 build=$build
   21011 build_os=$build_os
   21012 
   21013 # A sed program that does not truncate output.
   21014 SED=$lt_SED
   21015 
   21016 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   21017 Xsed="\$SED -e 1s/^X//"
   21018 
   21019 # A grep program that handles long lines.
   21020 GREP=$lt_GREP
   21021 
   21022 # An ERE matcher.
   21023 EGREP=$lt_EGREP
   21024 
   21025 # A literal string matcher.
   21026 FGREP=$lt_FGREP
   21027 
   21028 # A BSD- or MS-compatible name lister.
   21029 NM=$lt_NM
   21030 
   21031 # Whether we need soft or hard links.
   21032 LN_S=$lt_LN_S
   21033 
   21034 # What is the maximum length of a command?
   21035 max_cmd_len=$max_cmd_len
   21036 
   21037 # Object file suffix (normally "o").
   21038 objext=$ac_objext
   21039 
   21040 # Executable file suffix (normally "").
   21041 exeext=$exeext
   21042 
   21043 # whether the shell understands "unset".
   21044 lt_unset=$lt_unset
   21045 
   21046 # turn spaces into newlines.
   21047 SP2NL=$lt_lt_SP2NL
   21048 
   21049 # turn newlines into spaces.
   21050 NL2SP=$lt_lt_NL2SP
   21051 
   21052 # convert \$build file names to \$host format.
   21053 to_host_file_cmd=$lt_cv_to_host_file_cmd
   21054 
   21055 # convert \$build files to toolchain format.
   21056 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   21057 
   21058 # An object symbol dumper.
   21059 OBJDUMP=$lt_OBJDUMP
   21060 
   21061 # Method to check whether dependent libraries are shared objects.
   21062 deplibs_check_method=$lt_deplibs_check_method
   21063 
   21064 # Command to use when deplibs_check_method = "file_magic".
   21065 file_magic_cmd=$lt_file_magic_cmd
   21066 
   21067 # How to find potential files when deplibs_check_method = "file_magic".
   21068 file_magic_glob=$lt_file_magic_glob
   21069 
   21070 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   21071 want_nocaseglob=$lt_want_nocaseglob
   21072 
   21073 # DLL creation program.
   21074 DLLTOOL=$lt_DLLTOOL
   21075 
   21076 # Command to associate shared and link libraries.
   21077 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   21078 
   21079 # The archiver.
   21080 AR=$lt_AR
   21081 
   21082 # Flags to create an archive.
   21083 AR_FLAGS=$lt_AR_FLAGS
   21084 
   21085 # How to feed a file listing to the archiver.
   21086 archiver_list_spec=$lt_archiver_list_spec
   21087 
   21088 # A symbol stripping program.
   21089 STRIP=$lt_STRIP
   21090 
   21091 # Commands used to install an old-style archive.
   21092 RANLIB=$lt_RANLIB
   21093 old_postinstall_cmds=$lt_old_postinstall_cmds
   21094 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   21095 
   21096 # Whether to use a lock for old archive extraction.
   21097 lock_old_archive_extraction=$lock_old_archive_extraction
   21098 
   21099 # A C compiler.
   21100 LTCC=$lt_CC
   21101 
   21102 # LTCC compiler flags.
   21103 LTCFLAGS=$lt_CFLAGS
   21104 
   21105 # Take the output of nm and produce a listing of raw symbols and C names.
   21106 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   21107 
   21108 # Transform the output of nm in a proper C declaration.
   21109 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   21110 
   21111 # Transform the output of nm into a list of symbols to manually relocate.
   21112 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
   21113 
   21114 # Transform the output of nm in a C name address pair.
   21115 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   21116 
   21117 # Transform the output of nm in a C name address pair when lib prefix is needed.
   21118 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   21119 
   21120 # The name lister interface.
   21121 nm_interface=$lt_lt_cv_nm_interface
   21122 
   21123 # Specify filename containing input files for \$NM.
   21124 nm_file_list_spec=$lt_nm_file_list_spec
   21125 
   21126 # The root where to search for dependent libraries,and where our libraries should be installed.
   21127 lt_sysroot=$lt_sysroot
   21128 
   21129 # Command to truncate a binary pipe.
   21130 lt_truncate_bin=$lt_lt_cv_truncate_bin
   21131 
   21132 # The name of the directory that contains temporary libtool files.
   21133 objdir=$objdir
   21134 
   21135 # Used to examine libraries when file_magic_cmd begins with "file".
   21136 MAGIC_CMD=$MAGIC_CMD
   21137 
   21138 # Must we lock files when doing compilation?
   21139 need_locks=$lt_need_locks
   21140 
   21141 # Manifest tool.
   21142 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   21143 
   21144 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   21145 DSYMUTIL=$lt_DSYMUTIL
   21146 
   21147 # Tool to change global to local symbols on Mac OS X.
   21148 NMEDIT=$lt_NMEDIT
   21149 
   21150 # Tool to manipulate fat objects and archives on Mac OS X.
   21151 LIPO=$lt_LIPO
   21152 
   21153 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   21154 OTOOL=$lt_OTOOL
   21155 
   21156 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   21157 OTOOL64=$lt_OTOOL64
   21158 
   21159 # Old archive suffix (normally "a").
   21160 libext=$libext
   21161 
   21162 # Shared library suffix (normally ".so").
   21163 shrext_cmds=$lt_shrext_cmds
   21164 
   21165 # The commands to extract the exported symbol list from a shared archive.
   21166 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   21167 
   21168 # Variables whose values should be saved in libtool wrapper scripts and
   21169 # restored at link time.
   21170 variables_saved_for_relink=$lt_variables_saved_for_relink
   21171 
   21172 # Do we need the "lib" prefix for modules?
   21173 need_lib_prefix=$need_lib_prefix
   21174 
   21175 # Do we need a version for libraries?
   21176 need_version=$need_version
   21177 
   21178 # Library versioning type.
   21179 version_type=$version_type
   21180 
   21181 # Shared library runtime path variable.
   21182 runpath_var=$runpath_var
   21183 
   21184 # Shared library path variable.
   21185 shlibpath_var=$shlibpath_var
   21186 
   21187 # Is shlibpath searched before the hard-coded library search path?
   21188 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   21189 
   21190 # Format of library name prefix.
   21191 libname_spec=$lt_libname_spec
   21192 
   21193 # List of archive names.  First name is the real one, the rest are links.
   21194 # The last name is the one that the linker finds with -lNAME
   21195 library_names_spec=$lt_library_names_spec
   21196 
   21197 # The coded name of the library, if different from the real name.
   21198 soname_spec=$lt_soname_spec
   21199 
   21200 # Permission mode override for installation of shared libraries.
   21201 install_override_mode=$lt_install_override_mode
   21202 
   21203 # Command to use after installation of a shared archive.
   21204 postinstall_cmds=$lt_postinstall_cmds
   21205 
   21206 # Command to use after uninstallation of a shared archive.
   21207 postuninstall_cmds=$lt_postuninstall_cmds
   21208 
   21209 # Commands used to finish a libtool library installation in a directory.
   21210 finish_cmds=$lt_finish_cmds
   21211 
   21212 # As "finish_cmds", except a single script fragment to be evaled but
   21213 # not shown.
   21214 finish_eval=$lt_finish_eval
   21215 
   21216 # Whether we should hardcode library paths into libraries.
   21217 hardcode_into_libs=$hardcode_into_libs
   21218 
   21219 # Compile-time system search path for libraries.
   21220 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   21221 
   21222 # Detected run-time system search path for libraries.
   21223 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
   21224 
   21225 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
   21226 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
   21227 
   21228 # Whether dlopen is supported.
   21229 dlopen_support=$enable_dlopen
   21230 
   21231 # Whether dlopen of programs is supported.
   21232 dlopen_self=$enable_dlopen_self
   21233 
   21234 # Whether dlopen of statically linked programs is supported.
   21235 dlopen_self_static=$enable_dlopen_self_static
   21236 
   21237 # Commands to strip libraries.
   21238 old_striplib=$lt_old_striplib
   21239 striplib=$lt_striplib
   21240 
   21241 
   21242 # The linker used to build libraries.
   21243 LD=$lt_LD
   21244 
   21245 # How to create reloadable object files.
   21246 reload_flag=$lt_reload_flag
   21247 reload_cmds=$lt_reload_cmds
   21248 
   21249 # Commands used to build an old-style archive.
   21250 old_archive_cmds=$lt_old_archive_cmds
   21251 
   21252 # A language specific compiler.
   21253 CC=$lt_compiler
   21254 
   21255 # Is the compiler the GNU compiler?
   21256 with_gcc=$GCC
   21257 
   21258 # Compiler flag to turn off builtin functions.
   21259 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   21260 
   21261 # Additional compiler flags for building library objects.
   21262 pic_flag=$lt_lt_prog_compiler_pic
   21263 
   21264 # How to pass a linker flag through the compiler.
   21265 wl=$lt_lt_prog_compiler_wl
   21266 
   21267 # Compiler flag to prevent dynamic linking.
   21268 link_static_flag=$lt_lt_prog_compiler_static
   21269 
   21270 # Does compiler simultaneously support -c and -o options?
   21271 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   21272 
   21273 # Whether or not to add -lc for building shared libraries.
   21274 build_libtool_need_lc=$archive_cmds_need_lc
   21275 
   21276 # Whether or not to disallow shared libs when runtime libs are static.
   21277 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   21278 
   21279 # Compiler flag to allow reflexive dlopens.
   21280 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   21281 
   21282 # Compiler flag to generate shared objects directly from archives.
   21283 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   21284 
   21285 # Whether the compiler copes with passing no objects directly.
   21286 compiler_needs_object=$lt_compiler_needs_object
   21287 
   21288 # Create an old-style archive from a shared archive.
   21289 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   21290 
   21291 # Create a temporary old-style archive to link instead of a shared archive.
   21292 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   21293 
   21294 # Commands used to build a shared archive.
   21295 archive_cmds=$lt_archive_cmds
   21296 archive_expsym_cmds=$lt_archive_expsym_cmds
   21297 
   21298 # Commands used to build a loadable module if different from building
   21299 # a shared archive.
   21300 module_cmds=$lt_module_cmds
   21301 module_expsym_cmds=$lt_module_expsym_cmds
   21302 
   21303 # Whether we are building with GNU ld or not.
   21304 with_gnu_ld=$lt_with_gnu_ld
   21305 
   21306 # Flag that allows shared libraries with undefined symbols to be built.
   21307 allow_undefined_flag=$lt_allow_undefined_flag
   21308 
   21309 # Flag that enforces no undefined symbols.
   21310 no_undefined_flag=$lt_no_undefined_flag
   21311 
   21312 # Flag to hardcode \$libdir into a binary during linking.
   21313 # This must work even if \$libdir does not exist
   21314 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   21315 
   21316 # Whether we need a single "-rpath" flag with a separated argument.
   21317 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   21318 
   21319 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21320 # DIR into the resulting binary.
   21321 hardcode_direct=$hardcode_direct
   21322 
   21323 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
   21324 # DIR into the resulting binary and the resulting library dependency is
   21325 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
   21326 # library is relocated.
   21327 hardcode_direct_absolute=$hardcode_direct_absolute
   21328 
   21329 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   21330 # into the resulting binary.
   21331 hardcode_minus_L=$hardcode_minus_L
   21332 
   21333 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   21334 # into the resulting binary.
   21335 hardcode_shlibpath_var=$hardcode_shlibpath_var
   21336 
   21337 # Set to "yes" if building a shared library automatically hardcodes DIR
   21338 # into the library and all subsequent libraries and executables linked
   21339 # against it.
   21340 hardcode_automatic=$hardcode_automatic
   21341 
   21342 # Set to yes if linker adds runtime paths of dependent libraries
   21343 # to runtime path list.
   21344 inherit_rpath=$inherit_rpath
   21345 
   21346 # Whether libtool must link a program against all its dependency libraries.
   21347 link_all_deplibs=$link_all_deplibs
   21348 
   21349 # Set to "yes" if exported symbols are required.
   21350 always_export_symbols=$always_export_symbols
   21351 
   21352 # The commands to list exported symbols.
   21353 export_symbols_cmds=$lt_export_symbols_cmds
   21354 
   21355 # Symbols that should not be listed in the preloaded symbols.
   21356 exclude_expsyms=$lt_exclude_expsyms
   21357 
   21358 # Symbols that must always be exported.
   21359 include_expsyms=$lt_include_expsyms
   21360 
   21361 # Commands necessary for linking programs (against libraries) with templates.
   21362 prelink_cmds=$lt_prelink_cmds
   21363 
   21364 # Commands necessary for finishing linking programs.
   21365 postlink_cmds=$lt_postlink_cmds
   21366 
   21367 # Specify filename containing input files.
   21368 file_list_spec=$lt_file_list_spec
   21369 
   21370 # How to hardcode a shared library path into an executable.
   21371 hardcode_action=$hardcode_action
   21372 
   21373 # ### END LIBTOOL CONFIG
   21374 
   21375 _LT_EOF
   21376 
   21377     cat <<'_LT_EOF' >> "$cfgfile"
   21378 
   21379 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
   21380 
   21381 # func_munge_path_list VARIABLE PATH
   21382 # -----------------------------------
   21383 # VARIABLE is name of variable containing _space_ separated list of
   21384 # directories to be munged by the contents of PATH, which is string
   21385 # having a format:
   21386 # "DIR[:DIR]:"
   21387 #       string "DIR[ DIR]" will be prepended to VARIABLE
   21388 # ":DIR[:DIR]"
   21389 #       string "DIR[ DIR]" will be appended to VARIABLE
   21390 # "DIRP[:DIRP]::[DIRA:]DIRA"
   21391 #       string "DIRP[ DIRP]" will be prepended to VARIABLE and string
   21392 #       "DIRA[ DIRA]" will be appended to VARIABLE
   21393 # "DIR[:DIR]"
   21394 #       VARIABLE will be replaced by "DIR[ DIR]"
   21395 func_munge_path_list ()
   21396 {
   21397     case x$2 in
   21398     x)
   21399         ;;
   21400     *:)
   21401         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
   21402         ;;
   21403     x:*)
   21404         eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
   21405         ;;
   21406     *::*)
   21407         eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
   21408         eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
   21409         ;;
   21410     *)
   21411         eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
   21412         ;;
   21413     esac
   21414 }
   21415 
   21416 
   21417 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
   21418 func_cc_basename ()
   21419 {
   21420     for cc_temp in $*""; do
   21421       case $cc_temp in
   21422         compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   21423         distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   21424         \-*) ;;
   21425         *) break;;
   21426       esac
   21427     done
   21428     func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   21429 }
   21430 
   21431 
   21432 # ### END FUNCTIONS SHARED WITH CONFIGURE
   21433 
   21434 _LT_EOF
   21435 
   21436   case $host_os in
   21437   aix3*)
   21438     cat <<\_LT_EOF >> "$cfgfile"
   21439 # AIX sometimes has problems with the GCC collect2 program.  For some
   21440 # reason, if we set the COLLECT_NAMES environment variable, the problems
   21441 # vanish in a puff of smoke.
   21442 if test set != "${COLLECT_NAMES+set}"; then
   21443   COLLECT_NAMES=
   21444   export COLLECT_NAMES
   21445 fi
   21446 _LT_EOF
   21447     ;;
   21448   esac
   21449 
   21450 
   21451 ltmain=$ac_aux_dir/ltmain.sh
   21452 
   21453 
   21454   # We use sed instead of cat because bash on DJGPP gets confused if
   21455   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   21456   # text mode, it properly converts lines to CR/LF.  This bash problem
   21457   # is reportedly fixed, but why not run on old versions too?
   21458   sed '$q' "$ltmain" >> "$cfgfile" \
   21459      || (rm -f "$cfgfile"; exit 1)
   21460 
   21461    mv -f "$cfgfile" "$ofile" ||
   21462     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   21463   chmod +x "$ofile"
   21464 
   21465  ;;
   21466 
   21467   esac
   21468 done # for ac_tag
   21469 
   21470 
   21471 as_fn_exit 0
   21472 _ACEOF
   21473 ac_clean_files=$ac_clean_files_save
   21474 
   21475 test $ac_write_fail = 0 ||
   21476   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   21477 
   21478 
   21479 # configure is writing to config.log, and then calls config.status.
   21480 # config.status does its own redirection, appending to config.log.
   21481 # Unfortunately, on DOS this fails, as config.log is still kept open
   21482 # by configure, so config.status won't be able to write to it; its
   21483 # output is simply discarded.  So we exec the FD to /dev/null,
   21484 # effectively closing config.log, so it can be properly (re)opened and
   21485 # appended to by config.status.  When coming back to configure, we
   21486 # need to make the FD available again.
   21487 if test "$no_create" != yes; then
   21488   ac_cs_success=:
   21489   ac_config_status_args=
   21490   test "$silent" = yes &&
   21491     ac_config_status_args="$ac_config_status_args --quiet"
   21492   exec 5>/dev/null
   21493   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   21494   exec 5>>config.log
   21495   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   21496   # would make configure fail if this is the last instruction.
   21497   $ac_cs_success || as_fn_exit 1
   21498 fi
   21499 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   21500   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   21501 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   21502 fi
   21503 
   21504