Home | History | Annotate | Line # | Download | only in dist
configure revision 1.7
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-vesa 2.3.3.
      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-vesa'
    593 PACKAGE_TARNAME='xf86-video-vesa'
    594 PACKAGE_VERSION='2.3.3'
    595 PACKAGE_STRING='xf86-video-vesa 2.3.3'
    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 PCIACCESS_LIBS
    642 PCIACCESS_CFLAGS
    643 XEXT_LIBS
    644 XEXT_CFLAGS
    645 XORG_LIBS
    646 XORG_CFLAGS
    647 moduledir
    648 OTOOL64
    649 OTOOL
    650 LIPO
    651 NMEDIT
    652 DSYMUTIL
    653 MANIFEST_TOOL
    654 RANLIB
    655 ac_ct_AR
    656 AR
    657 DLLTOOL
    658 OBJDUMP
    659 LN_S
    660 NM
    661 ac_ct_DUMPBIN
    662 DUMPBIN
    663 LD
    664 FGREP
    665 LIBTOOL
    666 MAN_SUBSTS
    667 XORG_MAN_PAGE
    668 ADMIN_MAN_DIR
    669 DRIVER_MAN_DIR
    670 MISC_MAN_DIR
    671 FILE_MAN_DIR
    672 LIB_MAN_DIR
    673 APP_MAN_DIR
    674 ADMIN_MAN_SUFFIX
    675 DRIVER_MAN_SUFFIX
    676 MISC_MAN_SUFFIX
    677 FILE_MAN_SUFFIX
    678 LIB_MAN_SUFFIX
    679 APP_MAN_SUFFIX
    680 SED
    681 host_os
    682 host_vendor
    683 host_cpu
    684 host
    685 build_os
    686 build_vendor
    687 build_cpu
    688 build
    689 INSTALL_CMD
    690 PKG_CONFIG_LIBDIR
    691 PKG_CONFIG_PATH
    692 PKG_CONFIG
    693 CHANGELOG_CMD
    694 STRICT_CFLAGS
    695 CWARNFLAGS
    696 BASE_CFLAGS
    697 EGREP
    698 GREP
    699 CPP
    700 am__fastdepCC_FALSE
    701 am__fastdepCC_TRUE
    702 CCDEPMODE
    703 am__nodep
    704 AMDEPBACKSLASH
    705 AMDEP_FALSE
    706 AMDEP_TRUE
    707 am__quote
    708 am__include
    709 DEPDIR
    710 OBJEXT
    711 EXEEXT
    712 ac_ct_CC
    713 CPPFLAGS
    714 LDFLAGS
    715 CFLAGS
    716 CC
    717 AM_BACKSLASH
    718 AM_DEFAULT_VERBOSITY
    719 AM_DEFAULT_V
    720 AM_V
    721 am__untar
    722 am__tar
    723 AMTAR
    724 am__leading_dot
    725 SET_MAKE
    726 AWK
    727 mkdir_p
    728 MKDIR_P
    729 INSTALL_STRIP_PROGRAM
    730 STRIP
    731 install_sh
    732 MAKEINFO
    733 AUTOHEADER
    734 AUTOMAKE
    735 AUTOCONF
    736 ACLOCAL
    737 VERSION
    738 PACKAGE
    739 CYGPATH_W
    740 am__isrc
    741 INSTALL_DATA
    742 INSTALL_SCRIPT
    743 INSTALL_PROGRAM
    744 target_alias
    745 host_alias
    746 build_alias
    747 LIBS
    748 ECHO_T
    749 ECHO_N
    750 ECHO_C
    751 DEFS
    752 mandir
    753 localedir
    754 libdir
    755 psdir
    756 pdfdir
    757 dvidir
    758 htmldir
    759 infodir
    760 docdir
    761 oldincludedir
    762 includedir
    763 localstatedir
    764 sharedstatedir
    765 sysconfdir
    766 datadir
    767 datarootdir
    768 libexecdir
    769 sbindir
    770 bindir
    771 program_transform_name
    772 prefix
    773 exec_prefix
    774 PACKAGE_URL
    775 PACKAGE_BUGREPORT
    776 PACKAGE_STRING
    777 PACKAGE_VERSION
    778 PACKAGE_TARNAME
    779 PACKAGE_NAME
    780 PATH_SEPARATOR
    781 SHELL'
    782 ac_subst_files=''
    783 ac_user_opts='
    784 enable_option_checking
    785 enable_silent_rules
    786 enable_dependency_tracking
    787 enable_selective_werror
    788 enable_strict_compilation
    789 enable_static
    790 enable_shared
    791 with_pic
    792 enable_fast_install
    793 with_gnu_ld
    794 with_sysroot
    795 enable_libtool_lock
    796 with_xorg_module_dir
    797 '
    798       ac_precious_vars='build_alias
    799 host_alias
    800 target_alias
    801 CC
    802 CFLAGS
    803 LDFLAGS
    804 LIBS
    805 CPPFLAGS
    806 CPP
    807 PKG_CONFIG
    808 PKG_CONFIG_PATH
    809 PKG_CONFIG_LIBDIR
    810 XORG_CFLAGS
    811 XORG_LIBS
    812 XEXT_CFLAGS
    813 XEXT_LIBS
    814 PCIACCESS_CFLAGS
    815 PCIACCESS_LIBS'
    816 
    817 
    818 # Initialize some variables set by options.
    819 ac_init_help=
    820 ac_init_version=false
    821 ac_unrecognized_opts=
    822 ac_unrecognized_sep=
    823 # The variables have the same names as the options, with
    824 # dashes changed to underlines.
    825 cache_file=/dev/null
    826 exec_prefix=NONE
    827 no_create=
    828 no_recursion=
    829 prefix=NONE
    830 program_prefix=NONE
    831 program_suffix=NONE
    832 program_transform_name=s,x,x,
    833 silent=
    834 site=
    835 srcdir=
    836 verbose=
    837 x_includes=NONE
    838 x_libraries=NONE
    839 
    840 # Installation directory options.
    841 # These are left unexpanded so users can "make install exec_prefix=/foo"
    842 # and all the variables that are supposed to be based on exec_prefix
    843 # by default will actually change.
    844 # Use braces instead of parens because sh, perl, etc. also accept them.
    845 # (The list follows the same order as the GNU Coding Standards.)
    846 bindir='${exec_prefix}/bin'
    847 sbindir='${exec_prefix}/sbin'
    848 libexecdir='${exec_prefix}/libexec'
    849 datarootdir='${prefix}/share'
    850 datadir='${datarootdir}'
    851 sysconfdir='${prefix}/etc'
    852 sharedstatedir='${prefix}/com'
    853 localstatedir='${prefix}/var'
    854 includedir='${prefix}/include'
    855 oldincludedir='/usr/include'
    856 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    857 infodir='${datarootdir}/info'
    858 htmldir='${docdir}'
    859 dvidir='${docdir}'
    860 pdfdir='${docdir}'
    861 psdir='${docdir}'
    862 libdir='${exec_prefix}/lib'
    863 localedir='${datarootdir}/locale'
    864 mandir='${datarootdir}/man'
    865 
    866 ac_prev=
    867 ac_dashdash=
    868 for ac_option
    869 do
    870   # If the previous option needs an argument, assign it.
    871   if test -n "$ac_prev"; then
    872     eval $ac_prev=\$ac_option
    873     ac_prev=
    874     continue
    875   fi
    876 
    877   case $ac_option in
    878   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    879   *=)   ac_optarg= ;;
    880   *)    ac_optarg=yes ;;
    881   esac
    882 
    883   # Accept the important Cygnus configure options, so we can diagnose typos.
    884 
    885   case $ac_dashdash$ac_option in
    886   --)
    887     ac_dashdash=yes ;;
    888 
    889   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    890     ac_prev=bindir ;;
    891   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    892     bindir=$ac_optarg ;;
    893 
    894   -build | --build | --buil | --bui | --bu)
    895     ac_prev=build_alias ;;
    896   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    897     build_alias=$ac_optarg ;;
    898 
    899   -cache-file | --cache-file | --cache-fil | --cache-fi \
    900   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    901     ac_prev=cache_file ;;
    902   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    903   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    904     cache_file=$ac_optarg ;;
    905 
    906   --config-cache | -C)
    907     cache_file=config.cache ;;
    908 
    909   -datadir | --datadir | --datadi | --datad)
    910     ac_prev=datadir ;;
    911   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    912     datadir=$ac_optarg ;;
    913 
    914   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    915   | --dataroo | --dataro | --datar)
    916     ac_prev=datarootdir ;;
    917   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    918   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    919     datarootdir=$ac_optarg ;;
    920 
    921   -disable-* | --disable-*)
    922     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    923     # Reject names that are not valid shell variable names.
    924     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    925       as_fn_error $? "invalid feature name: $ac_useropt"
    926     ac_useropt_orig=$ac_useropt
    927     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    928     case $ac_user_opts in
    929       *"
    930 "enable_$ac_useropt"
    931 "*) ;;
    932       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    933 	 ac_unrecognized_sep=', ';;
    934     esac
    935     eval enable_$ac_useropt=no ;;
    936 
    937   -docdir | --docdir | --docdi | --doc | --do)
    938     ac_prev=docdir ;;
    939   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    940     docdir=$ac_optarg ;;
    941 
    942   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    943     ac_prev=dvidir ;;
    944   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    945     dvidir=$ac_optarg ;;
    946 
    947   -enable-* | --enable-*)
    948     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    949     # Reject names that are not valid shell variable names.
    950     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    951       as_fn_error $? "invalid feature name: $ac_useropt"
    952     ac_useropt_orig=$ac_useropt
    953     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    954     case $ac_user_opts in
    955       *"
    956 "enable_$ac_useropt"
    957 "*) ;;
    958       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    959 	 ac_unrecognized_sep=', ';;
    960     esac
    961     eval enable_$ac_useropt=\$ac_optarg ;;
    962 
    963   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    964   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    965   | --exec | --exe | --ex)
    966     ac_prev=exec_prefix ;;
    967   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    968   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    969   | --exec=* | --exe=* | --ex=*)
    970     exec_prefix=$ac_optarg ;;
    971 
    972   -gas | --gas | --ga | --g)
    973     # Obsolete; use --with-gas.
    974     with_gas=yes ;;
    975 
    976   -help | --help | --hel | --he | -h)
    977     ac_init_help=long ;;
    978   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    979     ac_init_help=recursive ;;
    980   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    981     ac_init_help=short ;;
    982 
    983   -host | --host | --hos | --ho)
    984     ac_prev=host_alias ;;
    985   -host=* | --host=* | --hos=* | --ho=*)
    986     host_alias=$ac_optarg ;;
    987 
    988   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    989     ac_prev=htmldir ;;
    990   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    991   | --ht=*)
    992     htmldir=$ac_optarg ;;
    993 
    994   -includedir | --includedir | --includedi | --included | --include \
    995   | --includ | --inclu | --incl | --inc)
    996     ac_prev=includedir ;;
    997   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    998   | --includ=* | --inclu=* | --incl=* | --inc=*)
    999     includedir=$ac_optarg ;;
   1000 
   1001   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1002     ac_prev=infodir ;;
   1003   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1004     infodir=$ac_optarg ;;
   1005 
   1006   -libdir | --libdir | --libdi | --libd)
   1007     ac_prev=libdir ;;
   1008   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1009     libdir=$ac_optarg ;;
   1010 
   1011   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1012   | --libexe | --libex | --libe)
   1013     ac_prev=libexecdir ;;
   1014   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1015   | --libexe=* | --libex=* | --libe=*)
   1016     libexecdir=$ac_optarg ;;
   1017 
   1018   -localedir | --localedir | --localedi | --localed | --locale)
   1019     ac_prev=localedir ;;
   1020   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1021     localedir=$ac_optarg ;;
   1022 
   1023   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1024   | --localstate | --localstat | --localsta | --localst | --locals)
   1025     ac_prev=localstatedir ;;
   1026   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1027   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1028     localstatedir=$ac_optarg ;;
   1029 
   1030   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1031     ac_prev=mandir ;;
   1032   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1033     mandir=$ac_optarg ;;
   1034 
   1035   -nfp | --nfp | --nf)
   1036     # Obsolete; use --without-fp.
   1037     with_fp=no ;;
   1038 
   1039   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1040   | --no-cr | --no-c | -n)
   1041     no_create=yes ;;
   1042 
   1043   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1044   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1045     no_recursion=yes ;;
   1046 
   1047   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1048   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1049   | --oldin | --oldi | --old | --ol | --o)
   1050     ac_prev=oldincludedir ;;
   1051   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1052   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1053   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1054     oldincludedir=$ac_optarg ;;
   1055 
   1056   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1057     ac_prev=prefix ;;
   1058   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1059     prefix=$ac_optarg ;;
   1060 
   1061   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1062   | --program-pre | --program-pr | --program-p)
   1063     ac_prev=program_prefix ;;
   1064   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1065   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1066     program_prefix=$ac_optarg ;;
   1067 
   1068   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1069   | --program-suf | --program-su | --program-s)
   1070     ac_prev=program_suffix ;;
   1071   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1072   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1073     program_suffix=$ac_optarg ;;
   1074 
   1075   -program-transform-name | --program-transform-name \
   1076   | --program-transform-nam | --program-transform-na \
   1077   | --program-transform-n | --program-transform- \
   1078   | --program-transform | --program-transfor \
   1079   | --program-transfo | --program-transf \
   1080   | --program-trans | --program-tran \
   1081   | --progr-tra | --program-tr | --program-t)
   1082     ac_prev=program_transform_name ;;
   1083   -program-transform-name=* | --program-transform-name=* \
   1084   | --program-transform-nam=* | --program-transform-na=* \
   1085   | --program-transform-n=* | --program-transform-=* \
   1086   | --program-transform=* | --program-transfor=* \
   1087   | --program-transfo=* | --program-transf=* \
   1088   | --program-trans=* | --program-tran=* \
   1089   | --progr-tra=* | --program-tr=* | --program-t=*)
   1090     program_transform_name=$ac_optarg ;;
   1091 
   1092   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1093     ac_prev=pdfdir ;;
   1094   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1095     pdfdir=$ac_optarg ;;
   1096 
   1097   -psdir | --psdir | --psdi | --psd | --ps)
   1098     ac_prev=psdir ;;
   1099   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1100     psdir=$ac_optarg ;;
   1101 
   1102   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1103   | -silent | --silent | --silen | --sile | --sil)
   1104     silent=yes ;;
   1105 
   1106   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1107     ac_prev=sbindir ;;
   1108   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1109   | --sbi=* | --sb=*)
   1110     sbindir=$ac_optarg ;;
   1111 
   1112   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1113   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1114   | --sharedst | --shareds | --shared | --share | --shar \
   1115   | --sha | --sh)
   1116     ac_prev=sharedstatedir ;;
   1117   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1118   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1119   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1120   | --sha=* | --sh=*)
   1121     sharedstatedir=$ac_optarg ;;
   1122 
   1123   -site | --site | --sit)
   1124     ac_prev=site ;;
   1125   -site=* | --site=* | --sit=*)
   1126     site=$ac_optarg ;;
   1127 
   1128   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1129     ac_prev=srcdir ;;
   1130   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1131     srcdir=$ac_optarg ;;
   1132 
   1133   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1134   | --syscon | --sysco | --sysc | --sys | --sy)
   1135     ac_prev=sysconfdir ;;
   1136   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1137   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1138     sysconfdir=$ac_optarg ;;
   1139 
   1140   -target | --target | --targe | --targ | --tar | --ta | --t)
   1141     ac_prev=target_alias ;;
   1142   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1143     target_alias=$ac_optarg ;;
   1144 
   1145   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1146     verbose=yes ;;
   1147 
   1148   -version | --version | --versio | --versi | --vers | -V)
   1149     ac_init_version=: ;;
   1150 
   1151   -with-* | --with-*)
   1152     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1153     # Reject names that are not valid shell variable names.
   1154     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1155       as_fn_error $? "invalid package name: $ac_useropt"
   1156     ac_useropt_orig=$ac_useropt
   1157     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1158     case $ac_user_opts in
   1159       *"
   1160 "with_$ac_useropt"
   1161 "*) ;;
   1162       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1163 	 ac_unrecognized_sep=', ';;
   1164     esac
   1165     eval with_$ac_useropt=\$ac_optarg ;;
   1166 
   1167   -without-* | --without-*)
   1168     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1169     # Reject names that are not valid shell variable names.
   1170     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1171       as_fn_error $? "invalid package name: $ac_useropt"
   1172     ac_useropt_orig=$ac_useropt
   1173     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1174     case $ac_user_opts in
   1175       *"
   1176 "with_$ac_useropt"
   1177 "*) ;;
   1178       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1179 	 ac_unrecognized_sep=', ';;
   1180     esac
   1181     eval with_$ac_useropt=no ;;
   1182 
   1183   --x)
   1184     # Obsolete; use --with-x.
   1185     with_x=yes ;;
   1186 
   1187   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1188   | --x-incl | --x-inc | --x-in | --x-i)
   1189     ac_prev=x_includes ;;
   1190   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1191   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1192     x_includes=$ac_optarg ;;
   1193 
   1194   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1195   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1196     ac_prev=x_libraries ;;
   1197   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1198   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1199     x_libraries=$ac_optarg ;;
   1200 
   1201   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1202 Try \`$0 --help' for more information"
   1203     ;;
   1204 
   1205   *=*)
   1206     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1207     # Reject names that are not valid shell variable names.
   1208     case $ac_envvar in #(
   1209       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1210       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1211     esac
   1212     eval $ac_envvar=\$ac_optarg
   1213     export $ac_envvar ;;
   1214 
   1215   *)
   1216     # FIXME: should be removed in autoconf 3.0.
   1217     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1218     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1219       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1220     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1221     ;;
   1222 
   1223   esac
   1224 done
   1225 
   1226 if test -n "$ac_prev"; then
   1227   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1228   as_fn_error $? "missing argument to $ac_option"
   1229 fi
   1230 
   1231 if test -n "$ac_unrecognized_opts"; then
   1232   case $enable_option_checking in
   1233     no) ;;
   1234     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1235     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1236   esac
   1237 fi
   1238 
   1239 # Check all directory arguments for consistency.
   1240 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1241 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1242 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1243 		libdir localedir mandir
   1244 do
   1245   eval ac_val=\$$ac_var
   1246   # Remove trailing slashes.
   1247   case $ac_val in
   1248     */ )
   1249       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1250       eval $ac_var=\$ac_val;;
   1251   esac
   1252   # Be sure to have absolute directory names.
   1253   case $ac_val in
   1254     [\\/$]* | ?:[\\/]* )  continue;;
   1255     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1256   esac
   1257   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1258 done
   1259 
   1260 # There might be people who depend on the old broken behavior: `$host'
   1261 # used to hold the argument of --host etc.
   1262 # FIXME: To remove some day.
   1263 build=$build_alias
   1264 host=$host_alias
   1265 target=$target_alias
   1266 
   1267 # FIXME: To remove some day.
   1268 if test "x$host_alias" != x; then
   1269   if test "x$build_alias" = x; then
   1270     cross_compiling=maybe
   1271   elif test "x$build_alias" != "x$host_alias"; then
   1272     cross_compiling=yes
   1273   fi
   1274 fi
   1275 
   1276 ac_tool_prefix=
   1277 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1278 
   1279 test "$silent" = yes && exec 6>/dev/null
   1280 
   1281 
   1282 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1283 ac_ls_di=`ls -di .` &&
   1284 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1285   as_fn_error $? "working directory cannot be determined"
   1286 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1287   as_fn_error $? "pwd does not report name of working directory"
   1288 
   1289 
   1290 # Find the source files, if location was not specified.
   1291 if test -z "$srcdir"; then
   1292   ac_srcdir_defaulted=yes
   1293   # Try the directory containing this script, then the parent directory.
   1294   ac_confdir=`$as_dirname -- "$as_myself" ||
   1295 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1296 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1297 	 X"$as_myself" : 'X\(//\)$' \| \
   1298 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1299 $as_echo X"$as_myself" |
   1300     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1301 	    s//\1/
   1302 	    q
   1303 	  }
   1304 	  /^X\(\/\/\)[^/].*/{
   1305 	    s//\1/
   1306 	    q
   1307 	  }
   1308 	  /^X\(\/\/\)$/{
   1309 	    s//\1/
   1310 	    q
   1311 	  }
   1312 	  /^X\(\/\).*/{
   1313 	    s//\1/
   1314 	    q
   1315 	  }
   1316 	  s/.*/./; q'`
   1317   srcdir=$ac_confdir
   1318   if test ! -r "$srcdir/$ac_unique_file"; then
   1319     srcdir=..
   1320   fi
   1321 else
   1322   ac_srcdir_defaulted=no
   1323 fi
   1324 if test ! -r "$srcdir/$ac_unique_file"; then
   1325   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1326   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1327 fi
   1328 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1329 ac_abs_confdir=`(
   1330 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1331 	pwd)`
   1332 # When building in place, set srcdir=.
   1333 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1334   srcdir=.
   1335 fi
   1336 # Remove unnecessary trailing slashes from srcdir.
   1337 # Double slashes in file names in object file debugging info
   1338 # mess up M-x gdb in Emacs.
   1339 case $srcdir in
   1340 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1341 esac
   1342 for ac_var in $ac_precious_vars; do
   1343   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1344   eval ac_env_${ac_var}_value=\$${ac_var}
   1345   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1346   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1347 done
   1348 
   1349 #
   1350 # Report the --help message.
   1351 #
   1352 if test "$ac_init_help" = "long"; then
   1353   # Omit some internal or obsolete options to make the list less imposing.
   1354   # This message is too long to be a string in the A/UX 3.1 sh.
   1355   cat <<_ACEOF
   1356 \`configure' configures xf86-video-vesa 2.3.3 to adapt to many kinds of systems.
   1357 
   1358 Usage: $0 [OPTION]... [VAR=VALUE]...
   1359 
   1360 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1361 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1362 
   1363 Defaults for the options are specified in brackets.
   1364 
   1365 Configuration:
   1366   -h, --help              display this help and exit
   1367       --help=short        display options specific to this package
   1368       --help=recursive    display the short help of all the included packages
   1369   -V, --version           display version information and exit
   1370   -q, --quiet, --silent   do not print \`checking ...' messages
   1371       --cache-file=FILE   cache test results in FILE [disabled]
   1372   -C, --config-cache      alias for \`--cache-file=config.cache'
   1373   -n, --no-create         do not create output files
   1374       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1375 
   1376 Installation directories:
   1377   --prefix=PREFIX         install architecture-independent files in PREFIX
   1378                           [$ac_default_prefix]
   1379   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1380                           [PREFIX]
   1381 
   1382 By default, \`make install' will install all the files in
   1383 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1384 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1385 for instance \`--prefix=\$HOME'.
   1386 
   1387 For better control, use the options below.
   1388 
   1389 Fine tuning of the installation directories:
   1390   --bindir=DIR            user executables [EPREFIX/bin]
   1391   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1392   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1393   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1394   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1395   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1396   --libdir=DIR            object code libraries [EPREFIX/lib]
   1397   --includedir=DIR        C header files [PREFIX/include]
   1398   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1399   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1400   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1401   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1402   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1403   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1404   --docdir=DIR            documentation root [DATAROOTDIR/doc/xf86-video-vesa]
   1405   --htmldir=DIR           html documentation [DOCDIR]
   1406   --dvidir=DIR            dvi documentation [DOCDIR]
   1407   --pdfdir=DIR            pdf documentation [DOCDIR]
   1408   --psdir=DIR             ps documentation [DOCDIR]
   1409 _ACEOF
   1410 
   1411   cat <<\_ACEOF
   1412 
   1413 Program names:
   1414   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1415   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1416   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1417 
   1418 System types:
   1419   --build=BUILD     configure for building on BUILD [guessed]
   1420   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1421 _ACEOF
   1422 fi
   1423 
   1424 if test -n "$ac_init_help"; then
   1425   case $ac_init_help in
   1426      short | recursive ) echo "Configuration of xf86-video-vesa 2.3.3:";;
   1427    esac
   1428   cat <<\_ACEOF
   1429 
   1430 Optional Features:
   1431   --disable-option-checking  ignore unrecognized --enable/--with options
   1432   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1433   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1434   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1435   --disable-silent-rules  verbose build output (undo: "make V=0")
   1436   --enable-dependency-tracking
   1437                           do not reject slow dependency extractors
   1438   --disable-dependency-tracking
   1439                           speeds up one-time build
   1440   --disable-selective-werror
   1441                           Turn off selective compiler errors. (default:
   1442                           enabled)
   1443   --enable-strict-compilation
   1444                           Enable all warnings from compiler and make them
   1445                           errors (default: disabled)
   1446   --enable-static[=PKGS]  build static libraries [default=no]
   1447   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1448   --enable-fast-install[=PKGS]
   1449                           optimize for fast installation [default=yes]
   1450   --disable-libtool-lock  avoid locking (might break parallel builds)
   1451 
   1452 Optional Packages:
   1453   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1454   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1455   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1456                           both]
   1457   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1458   --with-sysroot=DIR Search for dependent libraries within DIR
   1459                         (or the compiler's sysroot if not specified).
   1460   --with-xorg-module-dir=DIR
   1461 
   1462 Some influential environment variables:
   1463   CC          C compiler command
   1464   CFLAGS      C compiler flags
   1465   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1466               nonstandard directory <lib dir>
   1467   LIBS        libraries to pass to the linker, e.g. -l<library>
   1468   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1469               you have headers in a nonstandard directory <include dir>
   1470   CPP         C preprocessor
   1471   PKG_CONFIG  path to pkg-config utility
   1472   PKG_CONFIG_PATH
   1473               directories to add to pkg-config's search path
   1474   PKG_CONFIG_LIBDIR
   1475               path overriding pkg-config's built-in search path
   1476   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1477   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1478   XEXT_CFLAGS C compiler flags for XEXT, overriding pkg-config
   1479   XEXT_LIBS   linker flags for XEXT, overriding pkg-config
   1480   PCIACCESS_CFLAGS
   1481               C compiler flags for PCIACCESS, overriding pkg-config
   1482   PCIACCESS_LIBS
   1483               linker flags for PCIACCESS, overriding pkg-config
   1484 
   1485 Use these variables to override the choices made by `configure' or to help
   1486 it to find libraries and programs with nonstandard names/locations.
   1487 
   1488 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>.
   1489 _ACEOF
   1490 ac_status=$?
   1491 fi
   1492 
   1493 if test "$ac_init_help" = "recursive"; then
   1494   # If there are subdirs, report their specific --help.
   1495   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1496     test -d "$ac_dir" ||
   1497       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1498       continue
   1499     ac_builddir=.
   1500 
   1501 case "$ac_dir" in
   1502 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1503 *)
   1504   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1505   # A ".." for each directory in $ac_dir_suffix.
   1506   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1507   case $ac_top_builddir_sub in
   1508   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1509   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1510   esac ;;
   1511 esac
   1512 ac_abs_top_builddir=$ac_pwd
   1513 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1514 # for backward compatibility:
   1515 ac_top_builddir=$ac_top_build_prefix
   1516 
   1517 case $srcdir in
   1518   .)  # We are building in place.
   1519     ac_srcdir=.
   1520     ac_top_srcdir=$ac_top_builddir_sub
   1521     ac_abs_top_srcdir=$ac_pwd ;;
   1522   [\\/]* | ?:[\\/]* )  # Absolute name.
   1523     ac_srcdir=$srcdir$ac_dir_suffix;
   1524     ac_top_srcdir=$srcdir
   1525     ac_abs_top_srcdir=$srcdir ;;
   1526   *) # Relative name.
   1527     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1528     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1529     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1530 esac
   1531 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1532 
   1533     cd "$ac_dir" || { ac_status=$?; continue; }
   1534     # Check for guested configure.
   1535     if test -f "$ac_srcdir/configure.gnu"; then
   1536       echo &&
   1537       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1538     elif test -f "$ac_srcdir/configure"; then
   1539       echo &&
   1540       $SHELL "$ac_srcdir/configure" --help=recursive
   1541     else
   1542       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1543     fi || ac_status=$?
   1544     cd "$ac_pwd" || { ac_status=$?; break; }
   1545   done
   1546 fi
   1547 
   1548 test -n "$ac_init_help" && exit $ac_status
   1549 if $ac_init_version; then
   1550   cat <<\_ACEOF
   1551 xf86-video-vesa configure 2.3.3
   1552 generated by GNU Autoconf 2.69
   1553 
   1554 Copyright (C) 2012 Free Software Foundation, Inc.
   1555 This configure script is free software; the Free Software Foundation
   1556 gives unlimited permission to copy, distribute and modify it.
   1557 _ACEOF
   1558   exit
   1559 fi
   1560 
   1561 ## ------------------------ ##
   1562 ## Autoconf initialization. ##
   1563 ## ------------------------ ##
   1564 
   1565 # ac_fn_c_try_compile LINENO
   1566 # --------------------------
   1567 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1568 ac_fn_c_try_compile ()
   1569 {
   1570   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1571   rm -f conftest.$ac_objext
   1572   if { { ac_try="$ac_compile"
   1573 case "(($ac_try" in
   1574   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1575   *) ac_try_echo=$ac_try;;
   1576 esac
   1577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1578 $as_echo "$ac_try_echo"; } >&5
   1579   (eval "$ac_compile") 2>conftest.err
   1580   ac_status=$?
   1581   if test -s conftest.err; then
   1582     grep -v '^ *+' conftest.err >conftest.er1
   1583     cat conftest.er1 >&5
   1584     mv -f conftest.er1 conftest.err
   1585   fi
   1586   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1587   test $ac_status = 0; } && {
   1588 	 test -z "$ac_c_werror_flag" ||
   1589 	 test ! -s conftest.err
   1590        } && test -s conftest.$ac_objext; then :
   1591   ac_retval=0
   1592 else
   1593   $as_echo "$as_me: failed program was:" >&5
   1594 sed 's/^/| /' conftest.$ac_ext >&5
   1595 
   1596 	ac_retval=1
   1597 fi
   1598   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1599   as_fn_set_status $ac_retval
   1600 
   1601 } # ac_fn_c_try_compile
   1602 
   1603 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1604 # ---------------------------------------------
   1605 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1606 # accordingly.
   1607 ac_fn_c_check_decl ()
   1608 {
   1609   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1610   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1611   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1612   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1613 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1614 if eval \${$3+:} false; then :
   1615   $as_echo_n "(cached) " >&6
   1616 else
   1617   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1618 /* end confdefs.h.  */
   1619 $4
   1620 int
   1621 main ()
   1622 {
   1623 #ifndef $as_decl_name
   1624 #ifdef __cplusplus
   1625   (void) $as_decl_use;
   1626 #else
   1627   (void) $as_decl_name;
   1628 #endif
   1629 #endif
   1630 
   1631   ;
   1632   return 0;
   1633 }
   1634 _ACEOF
   1635 if ac_fn_c_try_compile "$LINENO"; then :
   1636   eval "$3=yes"
   1637 else
   1638   eval "$3=no"
   1639 fi
   1640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1641 fi
   1642 eval ac_res=\$$3
   1643 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1644 $as_echo "$ac_res" >&6; }
   1645   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1646 
   1647 } # ac_fn_c_check_decl
   1648 
   1649 # ac_fn_c_try_cpp LINENO
   1650 # ----------------------
   1651 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1652 ac_fn_c_try_cpp ()
   1653 {
   1654   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1655   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1656 case "(($ac_try" in
   1657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1658   *) ac_try_echo=$ac_try;;
   1659 esac
   1660 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1661 $as_echo "$ac_try_echo"; } >&5
   1662   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1663   ac_status=$?
   1664   if test -s conftest.err; then
   1665     grep -v '^ *+' conftest.err >conftest.er1
   1666     cat conftest.er1 >&5
   1667     mv -f conftest.er1 conftest.err
   1668   fi
   1669   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1670   test $ac_status = 0; } > conftest.i && {
   1671 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1672 	 test ! -s conftest.err
   1673        }; then :
   1674   ac_retval=0
   1675 else
   1676   $as_echo "$as_me: failed program was:" >&5
   1677 sed 's/^/| /' conftest.$ac_ext >&5
   1678 
   1679     ac_retval=1
   1680 fi
   1681   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1682   as_fn_set_status $ac_retval
   1683 
   1684 } # ac_fn_c_try_cpp
   1685 
   1686 # ac_fn_c_try_run LINENO
   1687 # ----------------------
   1688 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1689 # that executables *can* be run.
   1690 ac_fn_c_try_run ()
   1691 {
   1692   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1693   if { { ac_try="$ac_link"
   1694 case "(($ac_try" in
   1695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1696   *) ac_try_echo=$ac_try;;
   1697 esac
   1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1699 $as_echo "$ac_try_echo"; } >&5
   1700   (eval "$ac_link") 2>&5
   1701   ac_status=$?
   1702   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1703   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1704   { { case "(($ac_try" in
   1705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1706   *) ac_try_echo=$ac_try;;
   1707 esac
   1708 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1709 $as_echo "$ac_try_echo"; } >&5
   1710   (eval "$ac_try") 2>&5
   1711   ac_status=$?
   1712   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1713   test $ac_status = 0; }; }; then :
   1714   ac_retval=0
   1715 else
   1716   $as_echo "$as_me: program exited with status $ac_status" >&5
   1717        $as_echo "$as_me: failed program was:" >&5
   1718 sed 's/^/| /' conftest.$ac_ext >&5
   1719 
   1720        ac_retval=$ac_status
   1721 fi
   1722   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1723   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1724   as_fn_set_status $ac_retval
   1725 
   1726 } # ac_fn_c_try_run
   1727 
   1728 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1729 # -------------------------------------------------------
   1730 # Tests whether HEADER exists and can be compiled using the include files in
   1731 # INCLUDES, setting the cache variable VAR accordingly.
   1732 ac_fn_c_check_header_compile ()
   1733 {
   1734   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1735   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1736 $as_echo_n "checking for $2... " >&6; }
   1737 if eval \${$3+:} false; then :
   1738   $as_echo_n "(cached) " >&6
   1739 else
   1740   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1741 /* end confdefs.h.  */
   1742 $4
   1743 #include <$2>
   1744 _ACEOF
   1745 if ac_fn_c_try_compile "$LINENO"; then :
   1746   eval "$3=yes"
   1747 else
   1748   eval "$3=no"
   1749 fi
   1750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1751 fi
   1752 eval ac_res=\$$3
   1753 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1754 $as_echo "$ac_res" >&6; }
   1755   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1756 
   1757 } # ac_fn_c_check_header_compile
   1758 
   1759 # ac_fn_c_try_link LINENO
   1760 # -----------------------
   1761 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1762 ac_fn_c_try_link ()
   1763 {
   1764   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1765   rm -f conftest.$ac_objext conftest$ac_exeext
   1766   if { { ac_try="$ac_link"
   1767 case "(($ac_try" in
   1768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1769   *) ac_try_echo=$ac_try;;
   1770 esac
   1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1772 $as_echo "$ac_try_echo"; } >&5
   1773   (eval "$ac_link") 2>conftest.err
   1774   ac_status=$?
   1775   if test -s conftest.err; then
   1776     grep -v '^ *+' conftest.err >conftest.er1
   1777     cat conftest.er1 >&5
   1778     mv -f conftest.er1 conftest.err
   1779   fi
   1780   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1781   test $ac_status = 0; } && {
   1782 	 test -z "$ac_c_werror_flag" ||
   1783 	 test ! -s conftest.err
   1784        } && test -s conftest$ac_exeext && {
   1785 	 test "$cross_compiling" = yes ||
   1786 	 test -x conftest$ac_exeext
   1787        }; then :
   1788   ac_retval=0
   1789 else
   1790   $as_echo "$as_me: failed program was:" >&5
   1791 sed 's/^/| /' conftest.$ac_ext >&5
   1792 
   1793 	ac_retval=1
   1794 fi
   1795   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1796   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1797   # interfere with the next link command; also delete a directory that is
   1798   # left behind by Apple's compiler.  We do this before executing the actions.
   1799   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1800   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1801   as_fn_set_status $ac_retval
   1802 
   1803 } # ac_fn_c_try_link
   1804 
   1805 # ac_fn_c_check_func LINENO FUNC VAR
   1806 # ----------------------------------
   1807 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1808 ac_fn_c_check_func ()
   1809 {
   1810   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1811   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1812 $as_echo_n "checking for $2... " >&6; }
   1813 if eval \${$3+:} false; then :
   1814   $as_echo_n "(cached) " >&6
   1815 else
   1816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1817 /* end confdefs.h.  */
   1818 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1819    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1820 #define $2 innocuous_$2
   1821 
   1822 /* System header to define __stub macros and hopefully few prototypes,
   1823     which can conflict with char $2 (); below.
   1824     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1825     <limits.h> exists even on freestanding compilers.  */
   1826 
   1827 #ifdef __STDC__
   1828 # include <limits.h>
   1829 #else
   1830 # include <assert.h>
   1831 #endif
   1832 
   1833 #undef $2
   1834 
   1835 /* Override any GCC internal prototype to avoid an error.
   1836    Use char because int might match the return type of a GCC
   1837    builtin and then its argument prototype would still apply.  */
   1838 #ifdef __cplusplus
   1839 extern "C"
   1840 #endif
   1841 char $2 ();
   1842 /* The GNU C library defines this for functions which it implements
   1843     to always fail with ENOSYS.  Some functions are actually named
   1844     something starting with __ and the normal name is an alias.  */
   1845 #if defined __stub_$2 || defined __stub___$2
   1846 choke me
   1847 #endif
   1848 
   1849 int
   1850 main ()
   1851 {
   1852 return $2 ();
   1853   ;
   1854   return 0;
   1855 }
   1856 _ACEOF
   1857 if ac_fn_c_try_link "$LINENO"; then :
   1858   eval "$3=yes"
   1859 else
   1860   eval "$3=no"
   1861 fi
   1862 rm -f core conftest.err conftest.$ac_objext \
   1863     conftest$ac_exeext conftest.$ac_ext
   1864 fi
   1865 eval ac_res=\$$3
   1866 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1867 $as_echo "$ac_res" >&6; }
   1868   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1869 
   1870 } # ac_fn_c_check_func
   1871 cat >config.log <<_ACEOF
   1872 This file contains any messages produced by compilers while
   1873 running configure, to aid debugging if configure makes a mistake.
   1874 
   1875 It was created by xf86-video-vesa $as_me 2.3.3, which was
   1876 generated by GNU Autoconf 2.69.  Invocation command line was
   1877 
   1878   $ $0 $@
   1879 
   1880 _ACEOF
   1881 exec 5>>config.log
   1882 {
   1883 cat <<_ASUNAME
   1884 ## --------- ##
   1885 ## Platform. ##
   1886 ## --------- ##
   1887 
   1888 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1889 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1890 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1891 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1892 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1893 
   1894 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1895 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1896 
   1897 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1898 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1899 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1900 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   1901 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1902 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1903 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1904 
   1905 _ASUNAME
   1906 
   1907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1908 for as_dir in $PATH
   1909 do
   1910   IFS=$as_save_IFS
   1911   test -z "$as_dir" && as_dir=.
   1912     $as_echo "PATH: $as_dir"
   1913   done
   1914 IFS=$as_save_IFS
   1915 
   1916 } >&5
   1917 
   1918 cat >&5 <<_ACEOF
   1919 
   1920 
   1921 ## ----------- ##
   1922 ## Core tests. ##
   1923 ## ----------- ##
   1924 
   1925 _ACEOF
   1926 
   1927 
   1928 # Keep a trace of the command line.
   1929 # Strip out --no-create and --no-recursion so they do not pile up.
   1930 # Strip out --silent because we don't want to record it for future runs.
   1931 # Also quote any args containing shell meta-characters.
   1932 # Make two passes to allow for proper duplicate-argument suppression.
   1933 ac_configure_args=
   1934 ac_configure_args0=
   1935 ac_configure_args1=
   1936 ac_must_keep_next=false
   1937 for ac_pass in 1 2
   1938 do
   1939   for ac_arg
   1940   do
   1941     case $ac_arg in
   1942     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1943     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1944     | -silent | --silent | --silen | --sile | --sil)
   1945       continue ;;
   1946     *\'*)
   1947       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1948     esac
   1949     case $ac_pass in
   1950     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   1951     2)
   1952       as_fn_append ac_configure_args1 " '$ac_arg'"
   1953       if test $ac_must_keep_next = true; then
   1954 	ac_must_keep_next=false # Got value, back to normal.
   1955       else
   1956 	case $ac_arg in
   1957 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1958 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1959 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1960 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1961 	    case "$ac_configure_args0 " in
   1962 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1963 	    esac
   1964 	    ;;
   1965 	  -* ) ac_must_keep_next=true ;;
   1966 	esac
   1967       fi
   1968       as_fn_append ac_configure_args " '$ac_arg'"
   1969       ;;
   1970     esac
   1971   done
   1972 done
   1973 { ac_configure_args0=; unset ac_configure_args0;}
   1974 { ac_configure_args1=; unset ac_configure_args1;}
   1975 
   1976 # When interrupted or exit'd, cleanup temporary files, and complete
   1977 # config.log.  We remove comments because anyway the quotes in there
   1978 # would cause problems or look ugly.
   1979 # WARNING: Use '\'' to represent an apostrophe within the trap.
   1980 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   1981 trap 'exit_status=$?
   1982   # Save into config.log some information that might help in debugging.
   1983   {
   1984     echo
   1985 
   1986     $as_echo "## ---------------- ##
   1987 ## Cache variables. ##
   1988 ## ---------------- ##"
   1989     echo
   1990     # The following way of writing the cache mishandles newlines in values,
   1991 (
   1992   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   1993     eval ac_val=\$$ac_var
   1994     case $ac_val in #(
   1995     *${as_nl}*)
   1996       case $ac_var in #(
   1997       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   1998 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   1999       esac
   2000       case $ac_var in #(
   2001       _ | IFS | as_nl) ;; #(
   2002       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2003       *) { eval $ac_var=; unset $ac_var;} ;;
   2004       esac ;;
   2005     esac
   2006   done
   2007   (set) 2>&1 |
   2008     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2009     *${as_nl}ac_space=\ *)
   2010       sed -n \
   2011 	"s/'\''/'\''\\\\'\'''\''/g;
   2012 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2013       ;; #(
   2014     *)
   2015       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2016       ;;
   2017     esac |
   2018     sort
   2019 )
   2020     echo
   2021 
   2022     $as_echo "## ----------------- ##
   2023 ## Output variables. ##
   2024 ## ----------------- ##"
   2025     echo
   2026     for ac_var in $ac_subst_vars
   2027     do
   2028       eval ac_val=\$$ac_var
   2029       case $ac_val in
   2030       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2031       esac
   2032       $as_echo "$ac_var='\''$ac_val'\''"
   2033     done | sort
   2034     echo
   2035 
   2036     if test -n "$ac_subst_files"; then
   2037       $as_echo "## ------------------- ##
   2038 ## File substitutions. ##
   2039 ## ------------------- ##"
   2040       echo
   2041       for ac_var in $ac_subst_files
   2042       do
   2043 	eval ac_val=\$$ac_var
   2044 	case $ac_val in
   2045 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2046 	esac
   2047 	$as_echo "$ac_var='\''$ac_val'\''"
   2048       done | sort
   2049       echo
   2050     fi
   2051 
   2052     if test -s confdefs.h; then
   2053       $as_echo "## ----------- ##
   2054 ## confdefs.h. ##
   2055 ## ----------- ##"
   2056       echo
   2057       cat confdefs.h
   2058       echo
   2059     fi
   2060     test "$ac_signal" != 0 &&
   2061       $as_echo "$as_me: caught signal $ac_signal"
   2062     $as_echo "$as_me: exit $exit_status"
   2063   } >&5
   2064   rm -f core *.core core.conftest.* &&
   2065     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2066     exit $exit_status
   2067 ' 0
   2068 for ac_signal in 1 2 13 15; do
   2069   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2070 done
   2071 ac_signal=0
   2072 
   2073 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2074 rm -f -r conftest* confdefs.h
   2075 
   2076 $as_echo "/* confdefs.h */" > confdefs.h
   2077 
   2078 # Predefined preprocessor variables.
   2079 
   2080 cat >>confdefs.h <<_ACEOF
   2081 #define PACKAGE_NAME "$PACKAGE_NAME"
   2082 _ACEOF
   2083 
   2084 cat >>confdefs.h <<_ACEOF
   2085 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2086 _ACEOF
   2087 
   2088 cat >>confdefs.h <<_ACEOF
   2089 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2090 _ACEOF
   2091 
   2092 cat >>confdefs.h <<_ACEOF
   2093 #define PACKAGE_STRING "$PACKAGE_STRING"
   2094 _ACEOF
   2095 
   2096 cat >>confdefs.h <<_ACEOF
   2097 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2098 _ACEOF
   2099 
   2100 cat >>confdefs.h <<_ACEOF
   2101 #define PACKAGE_URL "$PACKAGE_URL"
   2102 _ACEOF
   2103 
   2104 
   2105 # Let the site file select an alternate cache file if it wants to.
   2106 # Prefer an explicitly selected file to automatically selected ones.
   2107 ac_site_file1=NONE
   2108 ac_site_file2=NONE
   2109 if test -n "$CONFIG_SITE"; then
   2110   # We do not want a PATH search for config.site.
   2111   case $CONFIG_SITE in #((
   2112     -*)  ac_site_file1=./$CONFIG_SITE;;
   2113     */*) ac_site_file1=$CONFIG_SITE;;
   2114     *)   ac_site_file1=./$CONFIG_SITE;;
   2115   esac
   2116 elif test "x$prefix" != xNONE; then
   2117   ac_site_file1=$prefix/share/config.site
   2118   ac_site_file2=$prefix/etc/config.site
   2119 else
   2120   ac_site_file1=$ac_default_prefix/share/config.site
   2121   ac_site_file2=$ac_default_prefix/etc/config.site
   2122 fi
   2123 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2124 do
   2125   test "x$ac_site_file" = xNONE && continue
   2126   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2127     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2128 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2129     sed 's/^/| /' "$ac_site_file" >&5
   2130     . "$ac_site_file" \
   2131       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2132 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2133 as_fn_error $? "failed to load site script $ac_site_file
   2134 See \`config.log' for more details" "$LINENO" 5; }
   2135   fi
   2136 done
   2137 
   2138 if test -r "$cache_file"; then
   2139   # Some versions of bash will fail to source /dev/null (special files
   2140   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2141   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2142     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2143 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2144     case $cache_file in
   2145       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2146       *)                      . "./$cache_file";;
   2147     esac
   2148   fi
   2149 else
   2150   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2151 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2152   >$cache_file
   2153 fi
   2154 
   2155 # Check that the precious variables saved in the cache have kept the same
   2156 # value.
   2157 ac_cache_corrupted=false
   2158 for ac_var in $ac_precious_vars; do
   2159   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2160   eval ac_new_set=\$ac_env_${ac_var}_set
   2161   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2162   eval ac_new_val=\$ac_env_${ac_var}_value
   2163   case $ac_old_set,$ac_new_set in
   2164     set,)
   2165       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2166 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2167       ac_cache_corrupted=: ;;
   2168     ,set)
   2169       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2170 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2171       ac_cache_corrupted=: ;;
   2172     ,);;
   2173     *)
   2174       if test "x$ac_old_val" != "x$ac_new_val"; then
   2175 	# differences in whitespace do not lead to failure.
   2176 	ac_old_val_w=`echo x $ac_old_val`
   2177 	ac_new_val_w=`echo x $ac_new_val`
   2178 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2179 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2180 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2181 	  ac_cache_corrupted=:
   2182 	else
   2183 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2184 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2185 	  eval $ac_var=\$ac_old_val
   2186 	fi
   2187 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2188 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2189 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2190 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2191       fi;;
   2192   esac
   2193   # Pass precious variables to config.status.
   2194   if test "$ac_new_set" = set; then
   2195     case $ac_new_val in
   2196     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2197     *) ac_arg=$ac_var=$ac_new_val ;;
   2198     esac
   2199     case " $ac_configure_args " in
   2200       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2201       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2202     esac
   2203   fi
   2204 done
   2205 if $ac_cache_corrupted; then
   2206   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2207 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2208   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2209 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2210   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2211 fi
   2212 ## -------------------- ##
   2213 ## Main body of script. ##
   2214 ## -------------------- ##
   2215 
   2216 ac_ext=c
   2217 ac_cpp='$CPP $CPPFLAGS'
   2218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2221 
   2222 
   2223 
   2224 ac_config_headers="$ac_config_headers config.h"
   2225 
   2226 ac_aux_dir=
   2227 for ac_dir in . "$srcdir"/.; do
   2228   if test -f "$ac_dir/install-sh"; then
   2229     ac_aux_dir=$ac_dir
   2230     ac_install_sh="$ac_aux_dir/install-sh -c"
   2231     break
   2232   elif test -f "$ac_dir/install.sh"; then
   2233     ac_aux_dir=$ac_dir
   2234     ac_install_sh="$ac_aux_dir/install.sh -c"
   2235     break
   2236   elif test -f "$ac_dir/shtool"; then
   2237     ac_aux_dir=$ac_dir
   2238     ac_install_sh="$ac_aux_dir/shtool install -c"
   2239     break
   2240   fi
   2241 done
   2242 if test -z "$ac_aux_dir"; then
   2243   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2244 fi
   2245 
   2246 # These three variables are undocumented and unsupported,
   2247 # and are intended to be withdrawn in a future Autoconf release.
   2248 # They can cause serious problems if a builder's source tree is in a directory
   2249 # whose full name contains unusual characters.
   2250 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2251 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2252 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2253 
   2254 
   2255 
   2256 # Initialize Automake
   2257 am__api_version='1.13'
   2258 
   2259 # Find a good install program.  We prefer a C program (faster),
   2260 # so one script is as good as another.  But avoid the broken or
   2261 # incompatible versions:
   2262 # SysV /etc/install, /usr/sbin/install
   2263 # SunOS /usr/etc/install
   2264 # IRIX /sbin/install
   2265 # AIX /bin/install
   2266 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2267 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2268 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2269 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2270 # OS/2's system install, which has a completely different semantic
   2271 # ./install, which can be erroneously created by make from ./install.sh.
   2272 # Reject install programs that cannot install multiple files.
   2273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2274 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2275 if test -z "$INSTALL"; then
   2276 if ${ac_cv_path_install+:} false; then :
   2277   $as_echo_n "(cached) " >&6
   2278 else
   2279   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2280 for as_dir in $PATH
   2281 do
   2282   IFS=$as_save_IFS
   2283   test -z "$as_dir" && as_dir=.
   2284     # Account for people who put trailing slashes in PATH elements.
   2285 case $as_dir/ in #((
   2286   ./ | .// | /[cC]/* | \
   2287   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2288   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2289   /usr/ucb/* ) ;;
   2290   *)
   2291     # OSF1 and SCO ODT 3.0 have their own names for install.
   2292     # Don't use installbsd from OSF since it installs stuff as root
   2293     # by default.
   2294     for ac_prog in ginstall scoinst install; do
   2295       for ac_exec_ext in '' $ac_executable_extensions; do
   2296 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2297 	  if test $ac_prog = install &&
   2298 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2299 	    # AIX install.  It has an incompatible calling convention.
   2300 	    :
   2301 	  elif test $ac_prog = install &&
   2302 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2303 	    # program-specific install script used by HP pwplus--don't use.
   2304 	    :
   2305 	  else
   2306 	    rm -rf conftest.one conftest.two conftest.dir
   2307 	    echo one > conftest.one
   2308 	    echo two > conftest.two
   2309 	    mkdir conftest.dir
   2310 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2311 	      test -s conftest.one && test -s conftest.two &&
   2312 	      test -s conftest.dir/conftest.one &&
   2313 	      test -s conftest.dir/conftest.two
   2314 	    then
   2315 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2316 	      break 3
   2317 	    fi
   2318 	  fi
   2319 	fi
   2320       done
   2321     done
   2322     ;;
   2323 esac
   2324 
   2325   done
   2326 IFS=$as_save_IFS
   2327 
   2328 rm -rf conftest.one conftest.two conftest.dir
   2329 
   2330 fi
   2331   if test "${ac_cv_path_install+set}" = set; then
   2332     INSTALL=$ac_cv_path_install
   2333   else
   2334     # As a last resort, use the slow shell script.  Don't cache a
   2335     # value for INSTALL within a source directory, because that will
   2336     # break other packages using the cache if that directory is
   2337     # removed, or if the value is a relative name.
   2338     INSTALL=$ac_install_sh
   2339   fi
   2340 fi
   2341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2342 $as_echo "$INSTALL" >&6; }
   2343 
   2344 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2345 # It thinks the first close brace ends the variable substitution.
   2346 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2347 
   2348 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2349 
   2350 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2351 
   2352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2353 $as_echo_n "checking whether build environment is sane... " >&6; }
   2354 # Reject unsafe characters in $srcdir or the absolute working directory
   2355 # name.  Accept space and tab only in the latter.
   2356 am_lf='
   2357 '
   2358 case `pwd` in
   2359   *[\\\"\#\$\&\'\`$am_lf]*)
   2360     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2361 esac
   2362 case $srcdir in
   2363   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2364     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2365 esac
   2366 
   2367 # Do 'set' in a subshell so we don't clobber the current shell's
   2368 # arguments.  Must try -L first in case configure is actually a
   2369 # symlink; some systems play weird games with the mod time of symlinks
   2370 # (eg FreeBSD returns the mod time of the symlink's containing
   2371 # directory).
   2372 if (
   2373    am_has_slept=no
   2374    for am_try in 1 2; do
   2375      echo "timestamp, slept: $am_has_slept" > conftest.file
   2376      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2377      if test "$*" = "X"; then
   2378 	# -L didn't work.
   2379 	set X `ls -t "$srcdir/configure" conftest.file`
   2380      fi
   2381      if test "$*" != "X $srcdir/configure conftest.file" \
   2382 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2383 
   2384 	# If neither matched, then we have a broken ls.  This can happen
   2385 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2386 	# broken ls alias from the environment.  This has actually
   2387 	# happened.  Such a system could not be considered "sane".
   2388 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2389   alias in your environment" "$LINENO" 5
   2390      fi
   2391      if test "$2" = conftest.file || test $am_try -eq 2; then
   2392        break
   2393      fi
   2394      # Just in case.
   2395      sleep 1
   2396      am_has_slept=yes
   2397    done
   2398    test "$2" = conftest.file
   2399    )
   2400 then
   2401    # Ok.
   2402    :
   2403 else
   2404    as_fn_error $? "newly created file is older than distributed files!
   2405 Check your system clock" "$LINENO" 5
   2406 fi
   2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2408 $as_echo "yes" >&6; }
   2409 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2410 # generated files are strictly newer.
   2411 am_sleep_pid=
   2412 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2413   ( sleep 1 ) &
   2414   am_sleep_pid=$!
   2415 fi
   2416 
   2417 rm -f conftest.file
   2418 
   2419 test "$program_prefix" != NONE &&
   2420   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2421 # Use a double $ so make ignores it.
   2422 test "$program_suffix" != NONE &&
   2423   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2424 # Double any \ or $.
   2425 # By default was `s,x,x', remove it if useless.
   2426 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2427 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2428 
   2429 # expand $ac_aux_dir to an absolute path
   2430 am_aux_dir=`cd $ac_aux_dir && pwd`
   2431 
   2432 if test x"${MISSING+set}" != xset; then
   2433   case $am_aux_dir in
   2434   *\ * | *\	*)
   2435     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2436   *)
   2437     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2438   esac
   2439 fi
   2440 # Use eval to expand $SHELL
   2441 if eval "$MISSING --is-lightweight"; then
   2442   am_missing_run="$MISSING "
   2443 else
   2444   am_missing_run=
   2445   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2446 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2447 fi
   2448 
   2449 if test x"${install_sh}" != xset; then
   2450   case $am_aux_dir in
   2451   *\ * | *\	*)
   2452     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2453   *)
   2454     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2455   esac
   2456 fi
   2457 
   2458 # Installed binaries are usually stripped using 'strip' when the user
   2459 # run "make install-strip".  However 'strip' might not be the right
   2460 # tool to use in cross-compilation environments, therefore Automake
   2461 # will honor the 'STRIP' environment variable to overrule this program.
   2462 if test "$cross_compiling" != no; then
   2463   if test -n "$ac_tool_prefix"; then
   2464   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2465 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2467 $as_echo_n "checking for $ac_word... " >&6; }
   2468 if ${ac_cv_prog_STRIP+:} false; then :
   2469   $as_echo_n "(cached) " >&6
   2470 else
   2471   if test -n "$STRIP"; then
   2472   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2473 else
   2474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2475 for as_dir in $PATH
   2476 do
   2477   IFS=$as_save_IFS
   2478   test -z "$as_dir" && as_dir=.
   2479     for ac_exec_ext in '' $ac_executable_extensions; do
   2480   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2481     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2482     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2483     break 2
   2484   fi
   2485 done
   2486   done
   2487 IFS=$as_save_IFS
   2488 
   2489 fi
   2490 fi
   2491 STRIP=$ac_cv_prog_STRIP
   2492 if test -n "$STRIP"; then
   2493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2494 $as_echo "$STRIP" >&6; }
   2495 else
   2496   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2497 $as_echo "no" >&6; }
   2498 fi
   2499 
   2500 
   2501 fi
   2502 if test -z "$ac_cv_prog_STRIP"; then
   2503   ac_ct_STRIP=$STRIP
   2504   # Extract the first word of "strip", so it can be a program name with args.
   2505 set dummy strip; ac_word=$2
   2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2507 $as_echo_n "checking for $ac_word... " >&6; }
   2508 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2509   $as_echo_n "(cached) " >&6
   2510 else
   2511   if test -n "$ac_ct_STRIP"; then
   2512   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2513 else
   2514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2515 for as_dir in $PATH
   2516 do
   2517   IFS=$as_save_IFS
   2518   test -z "$as_dir" && as_dir=.
   2519     for ac_exec_ext in '' $ac_executable_extensions; do
   2520   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2521     ac_cv_prog_ac_ct_STRIP="strip"
   2522     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2523     break 2
   2524   fi
   2525 done
   2526   done
   2527 IFS=$as_save_IFS
   2528 
   2529 fi
   2530 fi
   2531 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2532 if test -n "$ac_ct_STRIP"; then
   2533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2534 $as_echo "$ac_ct_STRIP" >&6; }
   2535 else
   2536   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2537 $as_echo "no" >&6; }
   2538 fi
   2539 
   2540   if test "x$ac_ct_STRIP" = x; then
   2541     STRIP=":"
   2542   else
   2543     case $cross_compiling:$ac_tool_warned in
   2544 yes:)
   2545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2546 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2547 ac_tool_warned=yes ;;
   2548 esac
   2549     STRIP=$ac_ct_STRIP
   2550   fi
   2551 else
   2552   STRIP="$ac_cv_prog_STRIP"
   2553 fi
   2554 
   2555 fi
   2556 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2557 
   2558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2559 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2560 if test -z "$MKDIR_P"; then
   2561   if ${ac_cv_path_mkdir+:} false; then :
   2562   $as_echo_n "(cached) " >&6
   2563 else
   2564   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2565 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2566 do
   2567   IFS=$as_save_IFS
   2568   test -z "$as_dir" && as_dir=.
   2569     for ac_prog in mkdir gmkdir; do
   2570 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2571 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2572 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2573 	     'mkdir (GNU coreutils) '* | \
   2574 	     'mkdir (coreutils) '* | \
   2575 	     'mkdir (fileutils) '4.1*)
   2576 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2577 	       break 3;;
   2578 	   esac
   2579 	 done
   2580        done
   2581   done
   2582 IFS=$as_save_IFS
   2583 
   2584 fi
   2585 
   2586   test -d ./--version && rmdir ./--version
   2587   if test "${ac_cv_path_mkdir+set}" = set; then
   2588     MKDIR_P="$ac_cv_path_mkdir -p"
   2589   else
   2590     # As a last resort, use the slow shell script.  Don't cache a
   2591     # value for MKDIR_P within a source directory, because that will
   2592     # break other packages using the cache if that directory is
   2593     # removed, or if the value is a relative name.
   2594     MKDIR_P="$ac_install_sh -d"
   2595   fi
   2596 fi
   2597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2598 $as_echo "$MKDIR_P" >&6; }
   2599 
   2600 for ac_prog in gawk mawk nawk awk
   2601 do
   2602   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2603 set dummy $ac_prog; ac_word=$2
   2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2605 $as_echo_n "checking for $ac_word... " >&6; }
   2606 if ${ac_cv_prog_AWK+:} false; then :
   2607   $as_echo_n "(cached) " >&6
   2608 else
   2609   if test -n "$AWK"; then
   2610   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2611 else
   2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2613 for as_dir in $PATH
   2614 do
   2615   IFS=$as_save_IFS
   2616   test -z "$as_dir" && as_dir=.
   2617     for ac_exec_ext in '' $ac_executable_extensions; do
   2618   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2619     ac_cv_prog_AWK="$ac_prog"
   2620     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2621     break 2
   2622   fi
   2623 done
   2624   done
   2625 IFS=$as_save_IFS
   2626 
   2627 fi
   2628 fi
   2629 AWK=$ac_cv_prog_AWK
   2630 if test -n "$AWK"; then
   2631   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2632 $as_echo "$AWK" >&6; }
   2633 else
   2634   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2635 $as_echo "no" >&6; }
   2636 fi
   2637 
   2638 
   2639   test -n "$AWK" && break
   2640 done
   2641 
   2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2643 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2644 set x ${MAKE-make}
   2645 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2646 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2647   $as_echo_n "(cached) " >&6
   2648 else
   2649   cat >conftest.make <<\_ACEOF
   2650 SHELL = /bin/sh
   2651 all:
   2652 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2653 _ACEOF
   2654 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2655 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2656   *@@@%%%=?*=@@@%%%*)
   2657     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2658   *)
   2659     eval ac_cv_prog_make_${ac_make}_set=no;;
   2660 esac
   2661 rm -f conftest.make
   2662 fi
   2663 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2664   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2665 $as_echo "yes" >&6; }
   2666   SET_MAKE=
   2667 else
   2668   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2669 $as_echo "no" >&6; }
   2670   SET_MAKE="MAKE=${MAKE-make}"
   2671 fi
   2672 
   2673 rm -rf .tst 2>/dev/null
   2674 mkdir .tst 2>/dev/null
   2675 if test -d .tst; then
   2676   am__leading_dot=.
   2677 else
   2678   am__leading_dot=_
   2679 fi
   2680 rmdir .tst 2>/dev/null
   2681 
   2682 # Check whether --enable-silent-rules was given.
   2683 if test "${enable_silent_rules+set}" = set; then :
   2684   enableval=$enable_silent_rules;
   2685 fi
   2686 
   2687 case $enable_silent_rules in # (((
   2688   yes) AM_DEFAULT_VERBOSITY=0;;
   2689    no) AM_DEFAULT_VERBOSITY=1;;
   2690     *) AM_DEFAULT_VERBOSITY=1;;
   2691 esac
   2692 am_make=${MAKE-make}
   2693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2694 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2695 if ${am_cv_make_support_nested_variables+:} false; then :
   2696   $as_echo_n "(cached) " >&6
   2697 else
   2698   if $as_echo 'TRUE=$(BAR$(V))
   2699 BAR0=false
   2700 BAR1=true
   2701 V=1
   2702 am__doit:
   2703 	@$(TRUE)
   2704 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2705   am_cv_make_support_nested_variables=yes
   2706 else
   2707   am_cv_make_support_nested_variables=no
   2708 fi
   2709 fi
   2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2711 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2712 if test $am_cv_make_support_nested_variables = yes; then
   2713     AM_V='$(V)'
   2714   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2715 else
   2716   AM_V=$AM_DEFAULT_VERBOSITY
   2717   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2718 fi
   2719 AM_BACKSLASH='\'
   2720 
   2721 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2722   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2723   # is not polluted with repeated "-I."
   2724   am__isrc=' -I$(srcdir)'
   2725   # test to see if srcdir already configured
   2726   if test -f $srcdir/config.status; then
   2727     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2728   fi
   2729 fi
   2730 
   2731 # test whether we have cygpath
   2732 if test -z "$CYGPATH_W"; then
   2733   if (cygpath --version) >/dev/null 2>/dev/null; then
   2734     CYGPATH_W='cygpath -w'
   2735   else
   2736     CYGPATH_W=echo
   2737   fi
   2738 fi
   2739 
   2740 
   2741 # Define the identity of the package.
   2742  PACKAGE='xf86-video-vesa'
   2743  VERSION='2.3.3'
   2744 
   2745 
   2746 cat >>confdefs.h <<_ACEOF
   2747 #define PACKAGE "$PACKAGE"
   2748 _ACEOF
   2749 
   2750 
   2751 cat >>confdefs.h <<_ACEOF
   2752 #define VERSION "$VERSION"
   2753 _ACEOF
   2754 
   2755 # Some tools Automake needs.
   2756 
   2757 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2758 
   2759 
   2760 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2761 
   2762 
   2763 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2764 
   2765 
   2766 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2767 
   2768 
   2769 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2770 
   2771 # For better backward compatibility.  To be removed once Automake 1.9.x
   2772 # dies out for good.  For more background, see:
   2773 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2774 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2775 mkdir_p='$(MKDIR_P)'
   2776 
   2777 # We need awk for the "check" target.  The system "awk" is bad on
   2778 # some platforms.
   2779 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2780 # in the wild :-(  We should find a proper way to deprecate it ...
   2781 AMTAR='$${TAR-tar}'
   2782 
   2783 
   2784 # We'll loop over all known methods to create a tar archive until one works.
   2785 _am_tools='gnutar  pax cpio none'
   2786 
   2787 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2788 
   2789 
   2790 
   2791 
   2792 
   2793 
   2794 
   2795 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2796 
   2797 
   2798 
   2799 
   2800 
   2801 
   2802 
   2803 
   2804 
   2805 
   2806 
   2807 DEPDIR="${am__leading_dot}deps"
   2808 
   2809 ac_config_commands="$ac_config_commands depfiles"
   2810 
   2811 
   2812 am_make=${MAKE-make}
   2813 cat > confinc << 'END'
   2814 am__doit:
   2815 	@echo this is the am__doit target
   2816 .PHONY: am__doit
   2817 END
   2818 # If we don't find an include directive, just comment out the code.
   2819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2820 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2821 am__include="#"
   2822 am__quote=
   2823 _am_result=none
   2824 # First try GNU make style include.
   2825 echo "include confinc" > confmf
   2826 # Ignore all kinds of additional output from 'make'.
   2827 case `$am_make -s -f confmf 2> /dev/null` in #(
   2828 *the\ am__doit\ target*)
   2829   am__include=include
   2830   am__quote=
   2831   _am_result=GNU
   2832   ;;
   2833 esac
   2834 # Now try BSD make style include.
   2835 if test "$am__include" = "#"; then
   2836    echo '.include "confinc"' > confmf
   2837    case `$am_make -s -f confmf 2> /dev/null` in #(
   2838    *the\ am__doit\ target*)
   2839      am__include=.include
   2840      am__quote="\""
   2841      _am_result=BSD
   2842      ;;
   2843    esac
   2844 fi
   2845 
   2846 
   2847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   2848 $as_echo "$_am_result" >&6; }
   2849 rm -f confinc confmf
   2850 
   2851 # Check whether --enable-dependency-tracking was given.
   2852 if test "${enable_dependency_tracking+set}" = set; then :
   2853   enableval=$enable_dependency_tracking;
   2854 fi
   2855 
   2856 if test "x$enable_dependency_tracking" != xno; then
   2857   am_depcomp="$ac_aux_dir/depcomp"
   2858   AMDEPBACKSLASH='\'
   2859   am__nodep='_no'
   2860 fi
   2861  if test "x$enable_dependency_tracking" != xno; then
   2862   AMDEP_TRUE=
   2863   AMDEP_FALSE='#'
   2864 else
   2865   AMDEP_TRUE='#'
   2866   AMDEP_FALSE=
   2867 fi
   2868 
   2869 
   2870 ac_ext=c
   2871 ac_cpp='$CPP $CPPFLAGS'
   2872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2875 if test -n "$ac_tool_prefix"; then
   2876   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   2877 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   2878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2879 $as_echo_n "checking for $ac_word... " >&6; }
   2880 if ${ac_cv_prog_CC+:} false; then :
   2881   $as_echo_n "(cached) " >&6
   2882 else
   2883   if test -n "$CC"; then
   2884   ac_cv_prog_CC="$CC" # Let the user override the test.
   2885 else
   2886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2887 for as_dir in $PATH
   2888 do
   2889   IFS=$as_save_IFS
   2890   test -z "$as_dir" && as_dir=.
   2891     for ac_exec_ext in '' $ac_executable_extensions; do
   2892   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2893     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   2894     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2895     break 2
   2896   fi
   2897 done
   2898   done
   2899 IFS=$as_save_IFS
   2900 
   2901 fi
   2902 fi
   2903 CC=$ac_cv_prog_CC
   2904 if test -n "$CC"; then
   2905   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2906 $as_echo "$CC" >&6; }
   2907 else
   2908   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2909 $as_echo "no" >&6; }
   2910 fi
   2911 
   2912 
   2913 fi
   2914 if test -z "$ac_cv_prog_CC"; then
   2915   ac_ct_CC=$CC
   2916   # Extract the first word of "gcc", so it can be a program name with args.
   2917 set dummy gcc; ac_word=$2
   2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2919 $as_echo_n "checking for $ac_word... " >&6; }
   2920 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   2921   $as_echo_n "(cached) " >&6
   2922 else
   2923   if test -n "$ac_ct_CC"; then
   2924   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   2925 else
   2926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2927 for as_dir in $PATH
   2928 do
   2929   IFS=$as_save_IFS
   2930   test -z "$as_dir" && as_dir=.
   2931     for ac_exec_ext in '' $ac_executable_extensions; do
   2932   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2933     ac_cv_prog_ac_ct_CC="gcc"
   2934     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2935     break 2
   2936   fi
   2937 done
   2938   done
   2939 IFS=$as_save_IFS
   2940 
   2941 fi
   2942 fi
   2943 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   2944 if test -n "$ac_ct_CC"; then
   2945   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   2946 $as_echo "$ac_ct_CC" >&6; }
   2947 else
   2948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2949 $as_echo "no" >&6; }
   2950 fi
   2951 
   2952   if test "x$ac_ct_CC" = x; then
   2953     CC=""
   2954   else
   2955     case $cross_compiling:$ac_tool_warned in
   2956 yes:)
   2957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2959 ac_tool_warned=yes ;;
   2960 esac
   2961     CC=$ac_ct_CC
   2962   fi
   2963 else
   2964   CC="$ac_cv_prog_CC"
   2965 fi
   2966 
   2967 if test -z "$CC"; then
   2968           if test -n "$ac_tool_prefix"; then
   2969     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   2970 set dummy ${ac_tool_prefix}cc; ac_word=$2
   2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2972 $as_echo_n "checking for $ac_word... " >&6; }
   2973 if ${ac_cv_prog_CC+:} false; then :
   2974   $as_echo_n "(cached) " >&6
   2975 else
   2976   if test -n "$CC"; then
   2977   ac_cv_prog_CC="$CC" # Let the user override the test.
   2978 else
   2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2980 for as_dir in $PATH
   2981 do
   2982   IFS=$as_save_IFS
   2983   test -z "$as_dir" && as_dir=.
   2984     for ac_exec_ext in '' $ac_executable_extensions; do
   2985   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2986     ac_cv_prog_CC="${ac_tool_prefix}cc"
   2987     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2988     break 2
   2989   fi
   2990 done
   2991   done
   2992 IFS=$as_save_IFS
   2993 
   2994 fi
   2995 fi
   2996 CC=$ac_cv_prog_CC
   2997 if test -n "$CC"; then
   2998   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   2999 $as_echo "$CC" >&6; }
   3000 else
   3001   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3002 $as_echo "no" >&6; }
   3003 fi
   3004 
   3005 
   3006   fi
   3007 fi
   3008 if test -z "$CC"; then
   3009   # Extract the first word of "cc", so it can be a program name with args.
   3010 set dummy cc; ac_word=$2
   3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3012 $as_echo_n "checking for $ac_word... " >&6; }
   3013 if ${ac_cv_prog_CC+:} false; then :
   3014   $as_echo_n "(cached) " >&6
   3015 else
   3016   if test -n "$CC"; then
   3017   ac_cv_prog_CC="$CC" # Let the user override the test.
   3018 else
   3019   ac_prog_rejected=no
   3020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3021 for as_dir in $PATH
   3022 do
   3023   IFS=$as_save_IFS
   3024   test -z "$as_dir" && as_dir=.
   3025     for ac_exec_ext in '' $ac_executable_extensions; do
   3026   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3027     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3028        ac_prog_rejected=yes
   3029        continue
   3030      fi
   3031     ac_cv_prog_CC="cc"
   3032     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3033     break 2
   3034   fi
   3035 done
   3036   done
   3037 IFS=$as_save_IFS
   3038 
   3039 if test $ac_prog_rejected = yes; then
   3040   # We found a bogon in the path, so make sure we never use it.
   3041   set dummy $ac_cv_prog_CC
   3042   shift
   3043   if test $# != 0; then
   3044     # We chose a different compiler from the bogus one.
   3045     # However, it has the same basename, so the bogon will be chosen
   3046     # first if we set CC to just the basename; use the full file name.
   3047     shift
   3048     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3049   fi
   3050 fi
   3051 fi
   3052 fi
   3053 CC=$ac_cv_prog_CC
   3054 if test -n "$CC"; then
   3055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3056 $as_echo "$CC" >&6; }
   3057 else
   3058   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3059 $as_echo "no" >&6; }
   3060 fi
   3061 
   3062 
   3063 fi
   3064 if test -z "$CC"; then
   3065   if test -n "$ac_tool_prefix"; then
   3066   for ac_prog in cl.exe
   3067   do
   3068     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3069 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3071 $as_echo_n "checking for $ac_word... " >&6; }
   3072 if ${ac_cv_prog_CC+:} false; then :
   3073   $as_echo_n "(cached) " >&6
   3074 else
   3075   if test -n "$CC"; then
   3076   ac_cv_prog_CC="$CC" # Let the user override the test.
   3077 else
   3078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3079 for as_dir in $PATH
   3080 do
   3081   IFS=$as_save_IFS
   3082   test -z "$as_dir" && as_dir=.
   3083     for ac_exec_ext in '' $ac_executable_extensions; do
   3084   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3085     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3086     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3087     break 2
   3088   fi
   3089 done
   3090   done
   3091 IFS=$as_save_IFS
   3092 
   3093 fi
   3094 fi
   3095 CC=$ac_cv_prog_CC
   3096 if test -n "$CC"; then
   3097   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3098 $as_echo "$CC" >&6; }
   3099 else
   3100   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3101 $as_echo "no" >&6; }
   3102 fi
   3103 
   3104 
   3105     test -n "$CC" && break
   3106   done
   3107 fi
   3108 if test -z "$CC"; then
   3109   ac_ct_CC=$CC
   3110   for ac_prog in cl.exe
   3111 do
   3112   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3113 set dummy $ac_prog; ac_word=$2
   3114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3115 $as_echo_n "checking for $ac_word... " >&6; }
   3116 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3117   $as_echo_n "(cached) " >&6
   3118 else
   3119   if test -n "$ac_ct_CC"; then
   3120   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3121 else
   3122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3123 for as_dir in $PATH
   3124 do
   3125   IFS=$as_save_IFS
   3126   test -z "$as_dir" && as_dir=.
   3127     for ac_exec_ext in '' $ac_executable_extensions; do
   3128   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3129     ac_cv_prog_ac_ct_CC="$ac_prog"
   3130     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3131     break 2
   3132   fi
   3133 done
   3134   done
   3135 IFS=$as_save_IFS
   3136 
   3137 fi
   3138 fi
   3139 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3140 if test -n "$ac_ct_CC"; then
   3141   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3142 $as_echo "$ac_ct_CC" >&6; }
   3143 else
   3144   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3145 $as_echo "no" >&6; }
   3146 fi
   3147 
   3148 
   3149   test -n "$ac_ct_CC" && break
   3150 done
   3151 
   3152   if test "x$ac_ct_CC" = x; then
   3153     CC=""
   3154   else
   3155     case $cross_compiling:$ac_tool_warned in
   3156 yes:)
   3157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3158 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3159 ac_tool_warned=yes ;;
   3160 esac
   3161     CC=$ac_ct_CC
   3162   fi
   3163 fi
   3164 
   3165 fi
   3166 
   3167 
   3168 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3169 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3170 as_fn_error $? "no acceptable C compiler found in \$PATH
   3171 See \`config.log' for more details" "$LINENO" 5; }
   3172 
   3173 # Provide some information about the compiler.
   3174 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3175 set X $ac_compile
   3176 ac_compiler=$2
   3177 for ac_option in --version -v -V -qversion; do
   3178   { { ac_try="$ac_compiler $ac_option >&5"
   3179 case "(($ac_try" in
   3180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3181   *) ac_try_echo=$ac_try;;
   3182 esac
   3183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3184 $as_echo "$ac_try_echo"; } >&5
   3185   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3186   ac_status=$?
   3187   if test -s conftest.err; then
   3188     sed '10a\
   3189 ... rest of stderr output deleted ...
   3190          10q' conftest.err >conftest.er1
   3191     cat conftest.er1 >&5
   3192   fi
   3193   rm -f conftest.er1 conftest.err
   3194   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3195   test $ac_status = 0; }
   3196 done
   3197 
   3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3199 /* end confdefs.h.  */
   3200 
   3201 int
   3202 main ()
   3203 {
   3204 
   3205   ;
   3206   return 0;
   3207 }
   3208 _ACEOF
   3209 ac_clean_files_save=$ac_clean_files
   3210 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3211 # Try to create an executable without -o first, disregard a.out.
   3212 # It will help us diagnose broken compilers, and finding out an intuition
   3213 # of exeext.
   3214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3215 $as_echo_n "checking whether the C compiler works... " >&6; }
   3216 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3217 
   3218 # The possible output files:
   3219 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3220 
   3221 ac_rmfiles=
   3222 for ac_file in $ac_files
   3223 do
   3224   case $ac_file in
   3225     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3226     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3227   esac
   3228 done
   3229 rm -f $ac_rmfiles
   3230 
   3231 if { { ac_try="$ac_link_default"
   3232 case "(($ac_try" in
   3233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3234   *) ac_try_echo=$ac_try;;
   3235 esac
   3236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3237 $as_echo "$ac_try_echo"; } >&5
   3238   (eval "$ac_link_default") 2>&5
   3239   ac_status=$?
   3240   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3241   test $ac_status = 0; }; then :
   3242   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3243 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3244 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3245 # so that the user can short-circuit this test for compilers unknown to
   3246 # Autoconf.
   3247 for ac_file in $ac_files ''
   3248 do
   3249   test -f "$ac_file" || continue
   3250   case $ac_file in
   3251     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3252 	;;
   3253     [ab].out )
   3254 	# We found the default executable, but exeext='' is most
   3255 	# certainly right.
   3256 	break;;
   3257     *.* )
   3258 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3259 	then :; else
   3260 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3261 	fi
   3262 	# We set ac_cv_exeext here because the later test for it is not
   3263 	# safe: cross compilers may not add the suffix if given an `-o'
   3264 	# argument, so we may need to know it at that point already.
   3265 	# Even if this section looks crufty: it has the advantage of
   3266 	# actually working.
   3267 	break;;
   3268     * )
   3269 	break;;
   3270   esac
   3271 done
   3272 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3273 
   3274 else
   3275   ac_file=''
   3276 fi
   3277 if test -z "$ac_file"; then :
   3278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3279 $as_echo "no" >&6; }
   3280 $as_echo "$as_me: failed program was:" >&5
   3281 sed 's/^/| /' conftest.$ac_ext >&5
   3282 
   3283 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3284 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3285 as_fn_error 77 "C compiler cannot create executables
   3286 See \`config.log' for more details" "$LINENO" 5; }
   3287 else
   3288   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3289 $as_echo "yes" >&6; }
   3290 fi
   3291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3292 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3294 $as_echo "$ac_file" >&6; }
   3295 ac_exeext=$ac_cv_exeext
   3296 
   3297 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3298 ac_clean_files=$ac_clean_files_save
   3299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3300 $as_echo_n "checking for suffix of executables... " >&6; }
   3301 if { { ac_try="$ac_link"
   3302 case "(($ac_try" in
   3303   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3304   *) ac_try_echo=$ac_try;;
   3305 esac
   3306 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3307 $as_echo "$ac_try_echo"; } >&5
   3308   (eval "$ac_link") 2>&5
   3309   ac_status=$?
   3310   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3311   test $ac_status = 0; }; then :
   3312   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3313 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3314 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3315 # `rm'.
   3316 for ac_file in conftest.exe conftest conftest.*; do
   3317   test -f "$ac_file" || continue
   3318   case $ac_file in
   3319     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3320     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3321 	  break;;
   3322     * ) break;;
   3323   esac
   3324 done
   3325 else
   3326   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3327 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3328 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3329 See \`config.log' for more details" "$LINENO" 5; }
   3330 fi
   3331 rm -f conftest conftest$ac_cv_exeext
   3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3333 $as_echo "$ac_cv_exeext" >&6; }
   3334 
   3335 rm -f conftest.$ac_ext
   3336 EXEEXT=$ac_cv_exeext
   3337 ac_exeext=$EXEEXT
   3338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3339 /* end confdefs.h.  */
   3340 #include <stdio.h>
   3341 int
   3342 main ()
   3343 {
   3344 FILE *f = fopen ("conftest.out", "w");
   3345  return ferror (f) || fclose (f) != 0;
   3346 
   3347   ;
   3348   return 0;
   3349 }
   3350 _ACEOF
   3351 ac_clean_files="$ac_clean_files conftest.out"
   3352 # Check that the compiler produces executables we can run.  If not, either
   3353 # the compiler is broken, or we cross compile.
   3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3355 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3356 if test "$cross_compiling" != yes; then
   3357   { { ac_try="$ac_link"
   3358 case "(($ac_try" in
   3359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3360   *) ac_try_echo=$ac_try;;
   3361 esac
   3362 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3363 $as_echo "$ac_try_echo"; } >&5
   3364   (eval "$ac_link") 2>&5
   3365   ac_status=$?
   3366   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3367   test $ac_status = 0; }
   3368   if { ac_try='./conftest$ac_cv_exeext'
   3369   { { case "(($ac_try" in
   3370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3371   *) ac_try_echo=$ac_try;;
   3372 esac
   3373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3374 $as_echo "$ac_try_echo"; } >&5
   3375   (eval "$ac_try") 2>&5
   3376   ac_status=$?
   3377   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3378   test $ac_status = 0; }; }; then
   3379     cross_compiling=no
   3380   else
   3381     if test "$cross_compiling" = maybe; then
   3382 	cross_compiling=yes
   3383     else
   3384 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3386 as_fn_error $? "cannot run C compiled programs.
   3387 If you meant to cross compile, use \`--host'.
   3388 See \`config.log' for more details" "$LINENO" 5; }
   3389     fi
   3390   fi
   3391 fi
   3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3393 $as_echo "$cross_compiling" >&6; }
   3394 
   3395 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3396 ac_clean_files=$ac_clean_files_save
   3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3398 $as_echo_n "checking for suffix of object files... " >&6; }
   3399 if ${ac_cv_objext+:} false; then :
   3400   $as_echo_n "(cached) " >&6
   3401 else
   3402   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3403 /* end confdefs.h.  */
   3404 
   3405 int
   3406 main ()
   3407 {
   3408 
   3409   ;
   3410   return 0;
   3411 }
   3412 _ACEOF
   3413 rm -f conftest.o conftest.obj
   3414 if { { ac_try="$ac_compile"
   3415 case "(($ac_try" in
   3416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3417   *) ac_try_echo=$ac_try;;
   3418 esac
   3419 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3420 $as_echo "$ac_try_echo"; } >&5
   3421   (eval "$ac_compile") 2>&5
   3422   ac_status=$?
   3423   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3424   test $ac_status = 0; }; then :
   3425   for ac_file in conftest.o conftest.obj conftest.*; do
   3426   test -f "$ac_file" || continue;
   3427   case $ac_file in
   3428     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3429     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3430        break;;
   3431   esac
   3432 done
   3433 else
   3434   $as_echo "$as_me: failed program was:" >&5
   3435 sed 's/^/| /' conftest.$ac_ext >&5
   3436 
   3437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3439 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3440 See \`config.log' for more details" "$LINENO" 5; }
   3441 fi
   3442 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3443 fi
   3444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3445 $as_echo "$ac_cv_objext" >&6; }
   3446 OBJEXT=$ac_cv_objext
   3447 ac_objext=$OBJEXT
   3448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3449 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3450 if ${ac_cv_c_compiler_gnu+:} false; then :
   3451   $as_echo_n "(cached) " >&6
   3452 else
   3453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3454 /* end confdefs.h.  */
   3455 
   3456 int
   3457 main ()
   3458 {
   3459 #ifndef __GNUC__
   3460        choke me
   3461 #endif
   3462 
   3463   ;
   3464   return 0;
   3465 }
   3466 _ACEOF
   3467 if ac_fn_c_try_compile "$LINENO"; then :
   3468   ac_compiler_gnu=yes
   3469 else
   3470   ac_compiler_gnu=no
   3471 fi
   3472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3473 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3474 
   3475 fi
   3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3477 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3478 if test $ac_compiler_gnu = yes; then
   3479   GCC=yes
   3480 else
   3481   GCC=
   3482 fi
   3483 ac_test_CFLAGS=${CFLAGS+set}
   3484 ac_save_CFLAGS=$CFLAGS
   3485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3486 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3487 if ${ac_cv_prog_cc_g+:} false; then :
   3488   $as_echo_n "(cached) " >&6
   3489 else
   3490   ac_save_c_werror_flag=$ac_c_werror_flag
   3491    ac_c_werror_flag=yes
   3492    ac_cv_prog_cc_g=no
   3493    CFLAGS="-g"
   3494    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3495 /* end confdefs.h.  */
   3496 
   3497 int
   3498 main ()
   3499 {
   3500 
   3501   ;
   3502   return 0;
   3503 }
   3504 _ACEOF
   3505 if ac_fn_c_try_compile "$LINENO"; then :
   3506   ac_cv_prog_cc_g=yes
   3507 else
   3508   CFLAGS=""
   3509       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3510 /* end confdefs.h.  */
   3511 
   3512 int
   3513 main ()
   3514 {
   3515 
   3516   ;
   3517   return 0;
   3518 }
   3519 _ACEOF
   3520 if ac_fn_c_try_compile "$LINENO"; then :
   3521 
   3522 else
   3523   ac_c_werror_flag=$ac_save_c_werror_flag
   3524 	 CFLAGS="-g"
   3525 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3526 /* end confdefs.h.  */
   3527 
   3528 int
   3529 main ()
   3530 {
   3531 
   3532   ;
   3533   return 0;
   3534 }
   3535 _ACEOF
   3536 if ac_fn_c_try_compile "$LINENO"; then :
   3537   ac_cv_prog_cc_g=yes
   3538 fi
   3539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3540 fi
   3541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3542 fi
   3543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3544    ac_c_werror_flag=$ac_save_c_werror_flag
   3545 fi
   3546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3547 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3548 if test "$ac_test_CFLAGS" = set; then
   3549   CFLAGS=$ac_save_CFLAGS
   3550 elif test $ac_cv_prog_cc_g = yes; then
   3551   if test "$GCC" = yes; then
   3552     CFLAGS="-g -O2"
   3553   else
   3554     CFLAGS="-g"
   3555   fi
   3556 else
   3557   if test "$GCC" = yes; then
   3558     CFLAGS="-O2"
   3559   else
   3560     CFLAGS=
   3561   fi
   3562 fi
   3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3564 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3565 if ${ac_cv_prog_cc_c89+:} false; then :
   3566   $as_echo_n "(cached) " >&6
   3567 else
   3568   ac_cv_prog_cc_c89=no
   3569 ac_save_CC=$CC
   3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3571 /* end confdefs.h.  */
   3572 #include <stdarg.h>
   3573 #include <stdio.h>
   3574 struct stat;
   3575 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3576 struct buf { int x; };
   3577 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3578 static char *e (p, i)
   3579      char **p;
   3580      int i;
   3581 {
   3582   return p[i];
   3583 }
   3584 static char *f (char * (*g) (char **, int), char **p, ...)
   3585 {
   3586   char *s;
   3587   va_list v;
   3588   va_start (v,p);
   3589   s = g (p, va_arg (v,int));
   3590   va_end (v);
   3591   return s;
   3592 }
   3593 
   3594 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3595    function prototypes and stuff, but not '\xHH' hex character constants.
   3596    These don't provoke an error unfortunately, instead are silently treated
   3597    as 'x'.  The following induces an error, until -std is added to get
   3598    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3599    array size at least.  It's necessary to write '\x00'==0 to get something
   3600    that's true only with -std.  */
   3601 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3602 
   3603 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3604    inside strings and character constants.  */
   3605 #define FOO(x) 'x'
   3606 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3607 
   3608 int test (int i, double x);
   3609 struct s1 {int (*f) (int a);};
   3610 struct s2 {int (*f) (double a);};
   3611 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3612 int argc;
   3613 char **argv;
   3614 int
   3615 main ()
   3616 {
   3617 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3618   ;
   3619   return 0;
   3620 }
   3621 _ACEOF
   3622 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3623 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3624 do
   3625   CC="$ac_save_CC $ac_arg"
   3626   if ac_fn_c_try_compile "$LINENO"; then :
   3627   ac_cv_prog_cc_c89=$ac_arg
   3628 fi
   3629 rm -f core conftest.err conftest.$ac_objext
   3630   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3631 done
   3632 rm -f conftest.$ac_ext
   3633 CC=$ac_save_CC
   3634 
   3635 fi
   3636 # AC_CACHE_VAL
   3637 case "x$ac_cv_prog_cc_c89" in
   3638   x)
   3639     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3640 $as_echo "none needed" >&6; } ;;
   3641   xno)
   3642     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3643 $as_echo "unsupported" >&6; } ;;
   3644   *)
   3645     CC="$CC $ac_cv_prog_cc_c89"
   3646     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3647 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3648 esac
   3649 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3650 
   3651 fi
   3652 
   3653 ac_ext=c
   3654 ac_cpp='$CPP $CPPFLAGS'
   3655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3658 
   3659 depcc="$CC"   am_compiler_list=
   3660 
   3661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3662 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3663 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3664   $as_echo_n "(cached) " >&6
   3665 else
   3666   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3667   # We make a subdir and do the tests there.  Otherwise we can end up
   3668   # making bogus files that we don't know about and never remove.  For
   3669   # instance it was reported that on HP-UX the gcc test will end up
   3670   # making a dummy file named 'D' -- because '-MD' means "put the output
   3671   # in D".
   3672   rm -rf conftest.dir
   3673   mkdir conftest.dir
   3674   # Copy depcomp to subdir because otherwise we won't find it if we're
   3675   # using a relative directory.
   3676   cp "$am_depcomp" conftest.dir
   3677   cd conftest.dir
   3678   # We will build objects and dependencies in a subdirectory because
   3679   # it helps to detect inapplicable dependency modes.  For instance
   3680   # both Tru64's cc and ICC support -MD to output dependencies as a
   3681   # side effect of compilation, but ICC will put the dependencies in
   3682   # the current directory while Tru64 will put them in the object
   3683   # directory.
   3684   mkdir sub
   3685 
   3686   am_cv_CC_dependencies_compiler_type=none
   3687   if test "$am_compiler_list" = ""; then
   3688      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3689   fi
   3690   am__universal=false
   3691   case " $depcc " in #(
   3692      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3693      esac
   3694 
   3695   for depmode in $am_compiler_list; do
   3696     # Setup a source with many dependencies, because some compilers
   3697     # like to wrap large dependency lists on column 80 (with \), and
   3698     # we should not choose a depcomp mode which is confused by this.
   3699     #
   3700     # We need to recreate these files for each test, as the compiler may
   3701     # overwrite some of them when testing with obscure command lines.
   3702     # This happens at least with the AIX C compiler.
   3703     : > sub/conftest.c
   3704     for i in 1 2 3 4 5 6; do
   3705       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3706       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3707       # Solaris 10 /bin/sh.
   3708       echo '/* dummy */' > sub/conftst$i.h
   3709     done
   3710     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3711 
   3712     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3713     # mode.  It turns out that the SunPro C++ compiler does not properly
   3714     # handle '-M -o', and we need to detect this.  Also, some Intel
   3715     # versions had trouble with output in subdirs.
   3716     am__obj=sub/conftest.${OBJEXT-o}
   3717     am__minus_obj="-o $am__obj"
   3718     case $depmode in
   3719     gcc)
   3720       # This depmode causes a compiler race in universal mode.
   3721       test "$am__universal" = false || continue
   3722       ;;
   3723     nosideeffect)
   3724       # After this tag, mechanisms are not by side-effect, so they'll
   3725       # only be used when explicitly requested.
   3726       if test "x$enable_dependency_tracking" = xyes; then
   3727 	continue
   3728       else
   3729 	break
   3730       fi
   3731       ;;
   3732     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3733       # This compiler won't grok '-c -o', but also, the minuso test has
   3734       # not run yet.  These depmodes are late enough in the game, and
   3735       # so weak that their functioning should not be impacted.
   3736       am__obj=conftest.${OBJEXT-o}
   3737       am__minus_obj=
   3738       ;;
   3739     none) break ;;
   3740     esac
   3741     if depmode=$depmode \
   3742        source=sub/conftest.c object=$am__obj \
   3743        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3744        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3745          >/dev/null 2>conftest.err &&
   3746        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3747        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3748        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3749        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3750       # icc doesn't choke on unknown options, it will just issue warnings
   3751       # or remarks (even with -Werror).  So we grep stderr for any message
   3752       # that says an option was ignored or not supported.
   3753       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3754       #   icc: Command line warning: ignoring option '-M'; no argument required
   3755       # The diagnosis changed in icc 8.0:
   3756       #   icc: Command line remark: option '-MP' not supported
   3757       if (grep 'ignoring option' conftest.err ||
   3758           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3759         am_cv_CC_dependencies_compiler_type=$depmode
   3760         break
   3761       fi
   3762     fi
   3763   done
   3764 
   3765   cd ..
   3766   rm -rf conftest.dir
   3767 else
   3768   am_cv_CC_dependencies_compiler_type=none
   3769 fi
   3770 
   3771 fi
   3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3773 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   3774 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3775 
   3776  if
   3777   test "x$enable_dependency_tracking" != xno \
   3778   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3779   am__fastdepCC_TRUE=
   3780   am__fastdepCC_FALSE='#'
   3781 else
   3782   am__fastdepCC_TRUE='#'
   3783   am__fastdepCC_FALSE=
   3784 fi
   3785 
   3786 
   3787    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   3788 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   3789 if ${ac_cv_prog_cc_c99+:} false; then :
   3790   $as_echo_n "(cached) " >&6
   3791 else
   3792   ac_cv_prog_cc_c99=no
   3793 ac_save_CC=$CC
   3794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3795 /* end confdefs.h.  */
   3796 #include <stdarg.h>
   3797 #include <stdbool.h>
   3798 #include <stdlib.h>
   3799 #include <wchar.h>
   3800 #include <stdio.h>
   3801 
   3802 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   3803 #define debug(...) fprintf (stderr, __VA_ARGS__)
   3804 #define showlist(...) puts (#__VA_ARGS__)
   3805 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   3806 static void
   3807 test_varargs_macros (void)
   3808 {
   3809   int x = 1234;
   3810   int y = 5678;
   3811   debug ("Flag");
   3812   debug ("X = %d\n", x);
   3813   showlist (The first, second, and third items.);
   3814   report (x>y, "x is %d but y is %d", x, y);
   3815 }
   3816 
   3817 // Check long long types.
   3818 #define BIG64 18446744073709551615ull
   3819 #define BIG32 4294967295ul
   3820 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   3821 #if !BIG_OK
   3822   your preprocessor is broken;
   3823 #endif
   3824 #if BIG_OK
   3825 #else
   3826   your preprocessor is broken;
   3827 #endif
   3828 static long long int bignum = -9223372036854775807LL;
   3829 static unsigned long long int ubignum = BIG64;
   3830 
   3831 struct incomplete_array
   3832 {
   3833   int datasize;
   3834   double data[];
   3835 };
   3836 
   3837 struct named_init {
   3838   int number;
   3839   const wchar_t *name;
   3840   double average;
   3841 };
   3842 
   3843 typedef const char *ccp;
   3844 
   3845 static inline int
   3846 test_restrict (ccp restrict text)
   3847 {
   3848   // See if C++-style comments work.
   3849   // Iterate through items via the restricted pointer.
   3850   // Also check for declarations in for loops.
   3851   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   3852     continue;
   3853   return 0;
   3854 }
   3855 
   3856 // Check varargs and va_copy.
   3857 static void
   3858 test_varargs (const char *format, ...)
   3859 {
   3860   va_list args;
   3861   va_start (args, format);
   3862   va_list args_copy;
   3863   va_copy (args_copy, args);
   3864 
   3865   const char *str;
   3866   int number;
   3867   float fnumber;
   3868 
   3869   while (*format)
   3870     {
   3871       switch (*format++)
   3872 	{
   3873 	case 's': // string
   3874 	  str = va_arg (args_copy, const char *);
   3875 	  break;
   3876 	case 'd': // int
   3877 	  number = va_arg (args_copy, int);
   3878 	  break;
   3879 	case 'f': // float
   3880 	  fnumber = va_arg (args_copy, double);
   3881 	  break;
   3882 	default:
   3883 	  break;
   3884 	}
   3885     }
   3886   va_end (args_copy);
   3887   va_end (args);
   3888 }
   3889 
   3890 int
   3891 main ()
   3892 {
   3893 
   3894   // Check bool.
   3895   _Bool success = false;
   3896 
   3897   // Check restrict.
   3898   if (test_restrict ("String literal") == 0)
   3899     success = true;
   3900   char *restrict newvar = "Another string";
   3901 
   3902   // Check varargs.
   3903   test_varargs ("s, d' f .", "string", 65, 34.234);
   3904   test_varargs_macros ();
   3905 
   3906   // Check flexible array members.
   3907   struct incomplete_array *ia =
   3908     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   3909   ia->datasize = 10;
   3910   for (int i = 0; i < ia->datasize; ++i)
   3911     ia->data[i] = i * 1.234;
   3912 
   3913   // Check named initializers.
   3914   struct named_init ni = {
   3915     .number = 34,
   3916     .name = L"Test wide string",
   3917     .average = 543.34343,
   3918   };
   3919 
   3920   ni.number = 58;
   3921 
   3922   int dynamic_array[ni.number];
   3923   dynamic_array[ni.number - 1] = 543;
   3924 
   3925   // work around unused variable warnings
   3926   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   3927 	  || dynamic_array[ni.number - 1] != 543);
   3928 
   3929   ;
   3930   return 0;
   3931 }
   3932 _ACEOF
   3933 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   3934 do
   3935   CC="$ac_save_CC $ac_arg"
   3936   if ac_fn_c_try_compile "$LINENO"; then :
   3937   ac_cv_prog_cc_c99=$ac_arg
   3938 fi
   3939 rm -f core conftest.err conftest.$ac_objext
   3940   test "x$ac_cv_prog_cc_c99" != "xno" && break
   3941 done
   3942 rm -f conftest.$ac_ext
   3943 CC=$ac_save_CC
   3944 
   3945 fi
   3946 # AC_CACHE_VAL
   3947 case "x$ac_cv_prog_cc_c99" in
   3948   x)
   3949     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3950 $as_echo "none needed" >&6; } ;;
   3951   xno)
   3952     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3953 $as_echo "unsupported" >&6; } ;;
   3954   *)
   3955     CC="$CC $ac_cv_prog_cc_c99"
   3956     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   3957 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   3958 esac
   3959 if test "x$ac_cv_prog_cc_c99" != xno; then :
   3960 
   3961 fi
   3962 
   3963 
   3964 
   3965 ac_ext=c
   3966 ac_cpp='$CPP $CPPFLAGS'
   3967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   3971 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   3972 # On Suns, sometimes $CPP names a directory.
   3973 if test -n "$CPP" && test -d "$CPP"; then
   3974   CPP=
   3975 fi
   3976 if test -z "$CPP"; then
   3977   if ${ac_cv_prog_CPP+:} false; then :
   3978   $as_echo_n "(cached) " >&6
   3979 else
   3980       # Double quotes because CPP needs to be expanded
   3981     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   3982     do
   3983       ac_preproc_ok=false
   3984 for ac_c_preproc_warn_flag in '' yes
   3985 do
   3986   # Use a header file that comes with gcc, so configuring glibc
   3987   # with a fresh cross-compiler works.
   3988   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   3989   # <limits.h> exists even on freestanding compilers.
   3990   # On the NeXT, cc -E runs the code through the compiler's parser,
   3991   # not just through cpp. "Syntax error" is here to catch this case.
   3992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3993 /* end confdefs.h.  */
   3994 #ifdef __STDC__
   3995 # include <limits.h>
   3996 #else
   3997 # include <assert.h>
   3998 #endif
   3999 		     Syntax error
   4000 _ACEOF
   4001 if ac_fn_c_try_cpp "$LINENO"; then :
   4002 
   4003 else
   4004   # Broken: fails on valid input.
   4005 continue
   4006 fi
   4007 rm -f conftest.err conftest.i conftest.$ac_ext
   4008 
   4009   # OK, works on sane cases.  Now check whether nonexistent headers
   4010   # can be detected and how.
   4011   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4012 /* end confdefs.h.  */
   4013 #include <ac_nonexistent.h>
   4014 _ACEOF
   4015 if ac_fn_c_try_cpp "$LINENO"; then :
   4016   # Broken: success on invalid input.
   4017 continue
   4018 else
   4019   # Passes both tests.
   4020 ac_preproc_ok=:
   4021 break
   4022 fi
   4023 rm -f conftest.err conftest.i conftest.$ac_ext
   4024 
   4025 done
   4026 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4027 rm -f conftest.i conftest.err conftest.$ac_ext
   4028 if $ac_preproc_ok; then :
   4029   break
   4030 fi
   4031 
   4032     done
   4033     ac_cv_prog_CPP=$CPP
   4034 
   4035 fi
   4036   CPP=$ac_cv_prog_CPP
   4037 else
   4038   ac_cv_prog_CPP=$CPP
   4039 fi
   4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4041 $as_echo "$CPP" >&6; }
   4042 ac_preproc_ok=false
   4043 for ac_c_preproc_warn_flag in '' yes
   4044 do
   4045   # Use a header file that comes with gcc, so configuring glibc
   4046   # with a fresh cross-compiler works.
   4047   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4048   # <limits.h> exists even on freestanding compilers.
   4049   # On the NeXT, cc -E runs the code through the compiler's parser,
   4050   # not just through cpp. "Syntax error" is here to catch this case.
   4051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4052 /* end confdefs.h.  */
   4053 #ifdef __STDC__
   4054 # include <limits.h>
   4055 #else
   4056 # include <assert.h>
   4057 #endif
   4058 		     Syntax error
   4059 _ACEOF
   4060 if ac_fn_c_try_cpp "$LINENO"; then :
   4061 
   4062 else
   4063   # Broken: fails on valid input.
   4064 continue
   4065 fi
   4066 rm -f conftest.err conftest.i conftest.$ac_ext
   4067 
   4068   # OK, works on sane cases.  Now check whether nonexistent headers
   4069   # can be detected and how.
   4070   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4071 /* end confdefs.h.  */
   4072 #include <ac_nonexistent.h>
   4073 _ACEOF
   4074 if ac_fn_c_try_cpp "$LINENO"; then :
   4075   # Broken: success on invalid input.
   4076 continue
   4077 else
   4078   # Passes both tests.
   4079 ac_preproc_ok=:
   4080 break
   4081 fi
   4082 rm -f conftest.err conftest.i conftest.$ac_ext
   4083 
   4084 done
   4085 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4086 rm -f conftest.i conftest.err conftest.$ac_ext
   4087 if $ac_preproc_ok; then :
   4088 
   4089 else
   4090   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4091 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4092 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4093 See \`config.log' for more details" "$LINENO" 5; }
   4094 fi
   4095 
   4096 ac_ext=c
   4097 ac_cpp='$CPP $CPPFLAGS'
   4098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4101 
   4102 
   4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4104 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4105 if ${ac_cv_path_GREP+:} false; then :
   4106   $as_echo_n "(cached) " >&6
   4107 else
   4108   if test -z "$GREP"; then
   4109   ac_path_GREP_found=false
   4110   # Loop through the user's path and test for each of PROGNAME-LIST
   4111   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4112 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4113 do
   4114   IFS=$as_save_IFS
   4115   test -z "$as_dir" && as_dir=.
   4116     for ac_prog in grep ggrep; do
   4117     for ac_exec_ext in '' $ac_executable_extensions; do
   4118       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4119       as_fn_executable_p "$ac_path_GREP" || continue
   4120 # Check for GNU ac_path_GREP and select it if it is found.
   4121   # Check for GNU $ac_path_GREP
   4122 case `"$ac_path_GREP" --version 2>&1` in
   4123 *GNU*)
   4124   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4125 *)
   4126   ac_count=0
   4127   $as_echo_n 0123456789 >"conftest.in"
   4128   while :
   4129   do
   4130     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4131     mv "conftest.tmp" "conftest.in"
   4132     cp "conftest.in" "conftest.nl"
   4133     $as_echo 'GREP' >> "conftest.nl"
   4134     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4135     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4136     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4137     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4138       # Best one so far, save it but keep looking for a better one
   4139       ac_cv_path_GREP="$ac_path_GREP"
   4140       ac_path_GREP_max=$ac_count
   4141     fi
   4142     # 10*(2^10) chars as input seems more than enough
   4143     test $ac_count -gt 10 && break
   4144   done
   4145   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4146 esac
   4147 
   4148       $ac_path_GREP_found && break 3
   4149     done
   4150   done
   4151   done
   4152 IFS=$as_save_IFS
   4153   if test -z "$ac_cv_path_GREP"; then
   4154     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4155   fi
   4156 else
   4157   ac_cv_path_GREP=$GREP
   4158 fi
   4159 
   4160 fi
   4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4162 $as_echo "$ac_cv_path_GREP" >&6; }
   4163  GREP="$ac_cv_path_GREP"
   4164 
   4165 
   4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4167 $as_echo_n "checking for egrep... " >&6; }
   4168 if ${ac_cv_path_EGREP+:} false; then :
   4169   $as_echo_n "(cached) " >&6
   4170 else
   4171   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4172    then ac_cv_path_EGREP="$GREP -E"
   4173    else
   4174      if test -z "$EGREP"; then
   4175   ac_path_EGREP_found=false
   4176   # Loop through the user's path and test for each of PROGNAME-LIST
   4177   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4178 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4179 do
   4180   IFS=$as_save_IFS
   4181   test -z "$as_dir" && as_dir=.
   4182     for ac_prog in egrep; do
   4183     for ac_exec_ext in '' $ac_executable_extensions; do
   4184       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4185       as_fn_executable_p "$ac_path_EGREP" || continue
   4186 # Check for GNU ac_path_EGREP and select it if it is found.
   4187   # Check for GNU $ac_path_EGREP
   4188 case `"$ac_path_EGREP" --version 2>&1` in
   4189 *GNU*)
   4190   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4191 *)
   4192   ac_count=0
   4193   $as_echo_n 0123456789 >"conftest.in"
   4194   while :
   4195   do
   4196     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4197     mv "conftest.tmp" "conftest.in"
   4198     cp "conftest.in" "conftest.nl"
   4199     $as_echo 'EGREP' >> "conftest.nl"
   4200     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4201     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4202     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4203     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4204       # Best one so far, save it but keep looking for a better one
   4205       ac_cv_path_EGREP="$ac_path_EGREP"
   4206       ac_path_EGREP_max=$ac_count
   4207     fi
   4208     # 10*(2^10) chars as input seems more than enough
   4209     test $ac_count -gt 10 && break
   4210   done
   4211   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4212 esac
   4213 
   4214       $ac_path_EGREP_found && break 3
   4215     done
   4216   done
   4217   done
   4218 IFS=$as_save_IFS
   4219   if test -z "$ac_cv_path_EGREP"; then
   4220     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4221   fi
   4222 else
   4223   ac_cv_path_EGREP=$EGREP
   4224 fi
   4225 
   4226    fi
   4227 fi
   4228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4229 $as_echo "$ac_cv_path_EGREP" >&6; }
   4230  EGREP="$ac_cv_path_EGREP"
   4231 
   4232 
   4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4234 $as_echo_n "checking for ANSI C header files... " >&6; }
   4235 if ${ac_cv_header_stdc+:} false; then :
   4236   $as_echo_n "(cached) " >&6
   4237 else
   4238   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4239 /* end confdefs.h.  */
   4240 #include <stdlib.h>
   4241 #include <stdarg.h>
   4242 #include <string.h>
   4243 #include <float.h>
   4244 
   4245 int
   4246 main ()
   4247 {
   4248 
   4249   ;
   4250   return 0;
   4251 }
   4252 _ACEOF
   4253 if ac_fn_c_try_compile "$LINENO"; then :
   4254   ac_cv_header_stdc=yes
   4255 else
   4256   ac_cv_header_stdc=no
   4257 fi
   4258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4259 
   4260 if test $ac_cv_header_stdc = yes; then
   4261   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4262   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4263 /* end confdefs.h.  */
   4264 #include <string.h>
   4265 
   4266 _ACEOF
   4267 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4268   $EGREP "memchr" >/dev/null 2>&1; then :
   4269 
   4270 else
   4271   ac_cv_header_stdc=no
   4272 fi
   4273 rm -f conftest*
   4274 
   4275 fi
   4276 
   4277 if test $ac_cv_header_stdc = yes; then
   4278   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4279   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4280 /* end confdefs.h.  */
   4281 #include <stdlib.h>
   4282 
   4283 _ACEOF
   4284 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4285   $EGREP "free" >/dev/null 2>&1; then :
   4286 
   4287 else
   4288   ac_cv_header_stdc=no
   4289 fi
   4290 rm -f conftest*
   4291 
   4292 fi
   4293 
   4294 if test $ac_cv_header_stdc = yes; then
   4295   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4296   if test "$cross_compiling" = yes; then :
   4297   :
   4298 else
   4299   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4300 /* end confdefs.h.  */
   4301 #include <ctype.h>
   4302 #include <stdlib.h>
   4303 #if ((' ' & 0x0FF) == 0x020)
   4304 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4305 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4306 #else
   4307 # define ISLOWER(c) \
   4308 		   (('a' <= (c) && (c) <= 'i') \
   4309 		     || ('j' <= (c) && (c) <= 'r') \
   4310 		     || ('s' <= (c) && (c) <= 'z'))
   4311 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4312 #endif
   4313 
   4314 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4315 int
   4316 main ()
   4317 {
   4318   int i;
   4319   for (i = 0; i < 256; i++)
   4320     if (XOR (islower (i), ISLOWER (i))
   4321 	|| toupper (i) != TOUPPER (i))
   4322       return 2;
   4323   return 0;
   4324 }
   4325 _ACEOF
   4326 if ac_fn_c_try_run "$LINENO"; then :
   4327 
   4328 else
   4329   ac_cv_header_stdc=no
   4330 fi
   4331 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4332   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4333 fi
   4334 
   4335 fi
   4336 fi
   4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4338 $as_echo "$ac_cv_header_stdc" >&6; }
   4339 if test $ac_cv_header_stdc = yes; then
   4340 
   4341 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4342 
   4343 fi
   4344 
   4345 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4346 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4347 		  inttypes.h stdint.h unistd.h
   4348 do :
   4349   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4350 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4351 "
   4352 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4353   cat >>confdefs.h <<_ACEOF
   4354 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4355 _ACEOF
   4356 
   4357 fi
   4358 
   4359 done
   4360 
   4361 
   4362 
   4363 
   4364 
   4365 
   4366 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4367 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4368   CLANGCC="yes"
   4369 else
   4370   CLANGCC="no"
   4371 fi
   4372 
   4373 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4374 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4375   INTELCC="yes"
   4376 else
   4377   INTELCC="no"
   4378 fi
   4379 
   4380 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4381 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4382   SUNCC="yes"
   4383 else
   4384   SUNCC="no"
   4385 fi
   4386 
   4387 
   4388 
   4389 
   4390 
   4391 
   4392 
   4393 
   4394 
   4395 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4396 	if test -n "$ac_tool_prefix"; then
   4397   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4398 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4400 $as_echo_n "checking for $ac_word... " >&6; }
   4401 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4402   $as_echo_n "(cached) " >&6
   4403 else
   4404   case $PKG_CONFIG in
   4405   [\\/]* | ?:[\\/]*)
   4406   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4407   ;;
   4408   *)
   4409   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4410 for as_dir in $PATH
   4411 do
   4412   IFS=$as_save_IFS
   4413   test -z "$as_dir" && as_dir=.
   4414     for ac_exec_ext in '' $ac_executable_extensions; do
   4415   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4416     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4417     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4418     break 2
   4419   fi
   4420 done
   4421   done
   4422 IFS=$as_save_IFS
   4423 
   4424   ;;
   4425 esac
   4426 fi
   4427 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4428 if test -n "$PKG_CONFIG"; then
   4429   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4430 $as_echo "$PKG_CONFIG" >&6; }
   4431 else
   4432   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4433 $as_echo "no" >&6; }
   4434 fi
   4435 
   4436 
   4437 fi
   4438 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4439   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4440   # Extract the first word of "pkg-config", so it can be a program name with args.
   4441 set dummy pkg-config; ac_word=$2
   4442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4443 $as_echo_n "checking for $ac_word... " >&6; }
   4444 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4445   $as_echo_n "(cached) " >&6
   4446 else
   4447   case $ac_pt_PKG_CONFIG in
   4448   [\\/]* | ?:[\\/]*)
   4449   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4450   ;;
   4451   *)
   4452   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4453 for as_dir in $PATH
   4454 do
   4455   IFS=$as_save_IFS
   4456   test -z "$as_dir" && as_dir=.
   4457     for ac_exec_ext in '' $ac_executable_extensions; do
   4458   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4459     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4460     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4461     break 2
   4462   fi
   4463 done
   4464   done
   4465 IFS=$as_save_IFS
   4466 
   4467   ;;
   4468 esac
   4469 fi
   4470 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4471 if test -n "$ac_pt_PKG_CONFIG"; then
   4472   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4473 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4474 else
   4475   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4476 $as_echo "no" >&6; }
   4477 fi
   4478 
   4479   if test "x$ac_pt_PKG_CONFIG" = x; then
   4480     PKG_CONFIG=""
   4481   else
   4482     case $cross_compiling:$ac_tool_warned in
   4483 yes:)
   4484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4485 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4486 ac_tool_warned=yes ;;
   4487 esac
   4488     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4489   fi
   4490 else
   4491   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4492 fi
   4493 
   4494 fi
   4495 if test -n "$PKG_CONFIG"; then
   4496 	_pkg_min_version=0.9.0
   4497 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4498 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4499 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4501 $as_echo "yes" >&6; }
   4502 	else
   4503 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4504 $as_echo "no" >&6; }
   4505 		PKG_CONFIG=""
   4506 	fi
   4507 fi
   4508 # Make sure we can run config.sub.
   4509 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4510   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4511 
   4512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4513 $as_echo_n "checking build system type... " >&6; }
   4514 if ${ac_cv_build+:} false; then :
   4515   $as_echo_n "(cached) " >&6
   4516 else
   4517   ac_build_alias=$build_alias
   4518 test "x$ac_build_alias" = x &&
   4519   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4520 test "x$ac_build_alias" = x &&
   4521   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4522 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4523   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4524 
   4525 fi
   4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4527 $as_echo "$ac_cv_build" >&6; }
   4528 case $ac_cv_build in
   4529 *-*-*) ;;
   4530 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4531 esac
   4532 build=$ac_cv_build
   4533 ac_save_IFS=$IFS; IFS='-'
   4534 set x $ac_cv_build
   4535 shift
   4536 build_cpu=$1
   4537 build_vendor=$2
   4538 shift; shift
   4539 # Remember, the first character of IFS is used to create $*,
   4540 # except with old shells:
   4541 build_os=$*
   4542 IFS=$ac_save_IFS
   4543 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4544 
   4545 
   4546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4547 $as_echo_n "checking host system type... " >&6; }
   4548 if ${ac_cv_host+:} false; then :
   4549   $as_echo_n "(cached) " >&6
   4550 else
   4551   if test "x$host_alias" = x; then
   4552   ac_cv_host=$ac_cv_build
   4553 else
   4554   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4555     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4556 fi
   4557 
   4558 fi
   4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4560 $as_echo "$ac_cv_host" >&6; }
   4561 case $ac_cv_host in
   4562 *-*-*) ;;
   4563 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4564 esac
   4565 host=$ac_cv_host
   4566 ac_save_IFS=$IFS; IFS='-'
   4567 set x $ac_cv_host
   4568 shift
   4569 host_cpu=$1
   4570 host_vendor=$2
   4571 shift; shift
   4572 # Remember, the first character of IFS is used to create $*,
   4573 # except with old shells:
   4574 host_os=$*
   4575 IFS=$ac_save_IFS
   4576 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4577 
   4578 
   4579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4580 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4581 if ${ac_cv_path_SED+:} false; then :
   4582   $as_echo_n "(cached) " >&6
   4583 else
   4584             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4585      for ac_i in 1 2 3 4 5 6 7; do
   4586        ac_script="$ac_script$as_nl$ac_script"
   4587      done
   4588      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4589      { ac_script=; unset ac_script;}
   4590      if test -z "$SED"; then
   4591   ac_path_SED_found=false
   4592   # Loop through the user's path and test for each of PROGNAME-LIST
   4593   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4594 for as_dir in $PATH
   4595 do
   4596   IFS=$as_save_IFS
   4597   test -z "$as_dir" && as_dir=.
   4598     for ac_prog in sed gsed; do
   4599     for ac_exec_ext in '' $ac_executable_extensions; do
   4600       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4601       as_fn_executable_p "$ac_path_SED" || continue
   4602 # Check for GNU ac_path_SED and select it if it is found.
   4603   # Check for GNU $ac_path_SED
   4604 case `"$ac_path_SED" --version 2>&1` in
   4605 *GNU*)
   4606   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4607 *)
   4608   ac_count=0
   4609   $as_echo_n 0123456789 >"conftest.in"
   4610   while :
   4611   do
   4612     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4613     mv "conftest.tmp" "conftest.in"
   4614     cp "conftest.in" "conftest.nl"
   4615     $as_echo '' >> "conftest.nl"
   4616     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4617     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4618     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4619     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4620       # Best one so far, save it but keep looking for a better one
   4621       ac_cv_path_SED="$ac_path_SED"
   4622       ac_path_SED_max=$ac_count
   4623     fi
   4624     # 10*(2^10) chars as input seems more than enough
   4625     test $ac_count -gt 10 && break
   4626   done
   4627   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4628 esac
   4629 
   4630       $ac_path_SED_found && break 3
   4631     done
   4632   done
   4633   done
   4634 IFS=$as_save_IFS
   4635   if test -z "$ac_cv_path_SED"; then
   4636     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4637   fi
   4638 else
   4639   ac_cv_path_SED=$SED
   4640 fi
   4641 
   4642 fi
   4643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4644 $as_echo "$ac_cv_path_SED" >&6; }
   4645  SED="$ac_cv_path_SED"
   4646   rm -f conftest.sed
   4647 
   4648 
   4649 
   4650 
   4651 
   4652 
   4653 # Check whether --enable-selective-werror was given.
   4654 if test "${enable_selective_werror+set}" = set; then :
   4655   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4656 else
   4657   SELECTIVE_WERROR=yes
   4658 fi
   4659 
   4660 
   4661 
   4662 
   4663 
   4664 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4665 if test "x$SUNCC" = "xyes"; then
   4666     BASE_CFLAGS="-v"
   4667 else
   4668     BASE_CFLAGS=""
   4669 fi
   4670 
   4671 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4672 
   4673 
   4674 
   4675 
   4676 
   4677 
   4678 
   4679 
   4680 
   4681 
   4682 
   4683 
   4684 
   4685 xorg_testset_save_CFLAGS="$CFLAGS"
   4686 
   4687 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4688 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4689 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4690 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4691 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4692   $as_echo_n "(cached) " >&6
   4693 else
   4694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4695 /* end confdefs.h.  */
   4696 int i;
   4697 _ACEOF
   4698 if ac_fn_c_try_compile "$LINENO"; then :
   4699   xorg_cv_cc_flag_unknown_warning_option=yes
   4700 else
   4701   xorg_cv_cc_flag_unknown_warning_option=no
   4702 fi
   4703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4704 fi
   4705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4706 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4707 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4708 	CFLAGS="$xorg_testset_save_CFLAGS"
   4709 fi
   4710 
   4711 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4712 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4713 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4714 	fi
   4715 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4716 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4717 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4718 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4719   $as_echo_n "(cached) " >&6
   4720 else
   4721   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4722 /* end confdefs.h.  */
   4723 int i;
   4724 _ACEOF
   4725 if ac_fn_c_try_compile "$LINENO"; then :
   4726   xorg_cv_cc_flag_unused_command_line_argument=yes
   4727 else
   4728   xorg_cv_cc_flag_unused_command_line_argument=no
   4729 fi
   4730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4731 fi
   4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4733 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4734 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4735 	CFLAGS="$xorg_testset_save_CFLAGS"
   4736 fi
   4737 
   4738 found="no"
   4739 
   4740 	if test $found = "no" ; then
   4741 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4742 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4743 		fi
   4744 
   4745 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4746 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4747 		fi
   4748 
   4749 		CFLAGS="$CFLAGS -Wall"
   4750 
   4751 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4752 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4753 		cacheid=xorg_cv_cc_flag__Wall
   4754 		if eval \${$cacheid+:} false; then :
   4755   $as_echo_n "(cached) " >&6
   4756 else
   4757   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4758 /* end confdefs.h.  */
   4759 int i;
   4760 int
   4761 main ()
   4762 {
   4763 
   4764   ;
   4765   return 0;
   4766 }
   4767 _ACEOF
   4768 if ac_fn_c_try_link "$LINENO"; then :
   4769   eval $cacheid=yes
   4770 else
   4771   eval $cacheid=no
   4772 fi
   4773 rm -f core conftest.err conftest.$ac_objext \
   4774     conftest$ac_exeext conftest.$ac_ext
   4775 fi
   4776 
   4777 
   4778 		CFLAGS="$xorg_testset_save_CFLAGS"
   4779 
   4780 		eval supported=\$$cacheid
   4781 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4782 $as_echo "$supported" >&6; }
   4783 		if test "$supported" = "yes" ; then
   4784 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   4785 			found="yes"
   4786 		fi
   4787 	fi
   4788 
   4789 
   4790 
   4791 
   4792 
   4793 
   4794 
   4795 
   4796 
   4797 
   4798 
   4799 
   4800 
   4801 
   4802 
   4803 xorg_testset_save_CFLAGS="$CFLAGS"
   4804 
   4805 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4806 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4807 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4808 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4809 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4810   $as_echo_n "(cached) " >&6
   4811 else
   4812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4813 /* end confdefs.h.  */
   4814 int i;
   4815 _ACEOF
   4816 if ac_fn_c_try_compile "$LINENO"; then :
   4817   xorg_cv_cc_flag_unknown_warning_option=yes
   4818 else
   4819   xorg_cv_cc_flag_unknown_warning_option=no
   4820 fi
   4821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4822 fi
   4823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4824 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4825 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4826 	CFLAGS="$xorg_testset_save_CFLAGS"
   4827 fi
   4828 
   4829 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4830 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4831 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4832 	fi
   4833 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4834 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4835 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4836 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4837   $as_echo_n "(cached) " >&6
   4838 else
   4839   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4840 /* end confdefs.h.  */
   4841 int i;
   4842 _ACEOF
   4843 if ac_fn_c_try_compile "$LINENO"; then :
   4844   xorg_cv_cc_flag_unused_command_line_argument=yes
   4845 else
   4846   xorg_cv_cc_flag_unused_command_line_argument=no
   4847 fi
   4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4849 fi
   4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4851 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4852 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4853 	CFLAGS="$xorg_testset_save_CFLAGS"
   4854 fi
   4855 
   4856 found="no"
   4857 
   4858 	if test $found = "no" ; then
   4859 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4860 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4861 		fi
   4862 
   4863 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4864 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4865 		fi
   4866 
   4867 		CFLAGS="$CFLAGS -Wpointer-arith"
   4868 
   4869 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   4870 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   4871 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   4872 		if eval \${$cacheid+:} false; then :
   4873   $as_echo_n "(cached) " >&6
   4874 else
   4875   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4876 /* end confdefs.h.  */
   4877 int i;
   4878 int
   4879 main ()
   4880 {
   4881 
   4882   ;
   4883   return 0;
   4884 }
   4885 _ACEOF
   4886 if ac_fn_c_try_link "$LINENO"; then :
   4887   eval $cacheid=yes
   4888 else
   4889   eval $cacheid=no
   4890 fi
   4891 rm -f core conftest.err conftest.$ac_objext \
   4892     conftest$ac_exeext conftest.$ac_ext
   4893 fi
   4894 
   4895 
   4896 		CFLAGS="$xorg_testset_save_CFLAGS"
   4897 
   4898 		eval supported=\$$cacheid
   4899 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   4900 $as_echo "$supported" >&6; }
   4901 		if test "$supported" = "yes" ; then
   4902 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   4903 			found="yes"
   4904 		fi
   4905 	fi
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 
   4912 
   4913 
   4914 
   4915 
   4916 
   4917 
   4918 
   4919 
   4920 
   4921 xorg_testset_save_CFLAGS="$CFLAGS"
   4922 
   4923 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4924 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4925 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4926 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4927 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4928   $as_echo_n "(cached) " >&6
   4929 else
   4930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4931 /* end confdefs.h.  */
   4932 int i;
   4933 _ACEOF
   4934 if ac_fn_c_try_compile "$LINENO"; then :
   4935   xorg_cv_cc_flag_unknown_warning_option=yes
   4936 else
   4937   xorg_cv_cc_flag_unknown_warning_option=no
   4938 fi
   4939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4940 fi
   4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4942 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4943 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4944 	CFLAGS="$xorg_testset_save_CFLAGS"
   4945 fi
   4946 
   4947 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4948 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4949 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4950 	fi
   4951 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4952 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4953 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4954 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4955   $as_echo_n "(cached) " >&6
   4956 else
   4957   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4958 /* end confdefs.h.  */
   4959 int i;
   4960 _ACEOF
   4961 if ac_fn_c_try_compile "$LINENO"; then :
   4962   xorg_cv_cc_flag_unused_command_line_argument=yes
   4963 else
   4964   xorg_cv_cc_flag_unused_command_line_argument=no
   4965 fi
   4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4967 fi
   4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4969 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4970 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4971 	CFLAGS="$xorg_testset_save_CFLAGS"
   4972 fi
   4973 
   4974 found="no"
   4975 
   4976 	if test $found = "no" ; then
   4977 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4978 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4979 		fi
   4980 
   4981 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4982 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4983 		fi
   4984 
   4985 		CFLAGS="$CFLAGS -Wmissing-declarations"
   4986 
   4987 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   4988 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   4989 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   4990 		if eval \${$cacheid+:} false; then :
   4991   $as_echo_n "(cached) " >&6
   4992 else
   4993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4994 /* end confdefs.h.  */
   4995 int i;
   4996 int
   4997 main ()
   4998 {
   4999 
   5000   ;
   5001   return 0;
   5002 }
   5003 _ACEOF
   5004 if ac_fn_c_try_link "$LINENO"; then :
   5005   eval $cacheid=yes
   5006 else
   5007   eval $cacheid=no
   5008 fi
   5009 rm -f core conftest.err conftest.$ac_objext \
   5010     conftest$ac_exeext conftest.$ac_ext
   5011 fi
   5012 
   5013 
   5014 		CFLAGS="$xorg_testset_save_CFLAGS"
   5015 
   5016 		eval supported=\$$cacheid
   5017 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5018 $as_echo "$supported" >&6; }
   5019 		if test "$supported" = "yes" ; then
   5020 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5021 			found="yes"
   5022 		fi
   5023 	fi
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 
   5030 
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 xorg_testset_save_CFLAGS="$CFLAGS"
   5040 
   5041 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5042 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5043 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5044 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5045 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5046   $as_echo_n "(cached) " >&6
   5047 else
   5048   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5049 /* end confdefs.h.  */
   5050 int i;
   5051 _ACEOF
   5052 if ac_fn_c_try_compile "$LINENO"; then :
   5053   xorg_cv_cc_flag_unknown_warning_option=yes
   5054 else
   5055   xorg_cv_cc_flag_unknown_warning_option=no
   5056 fi
   5057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5058 fi
   5059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5060 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5061 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5062 	CFLAGS="$xorg_testset_save_CFLAGS"
   5063 fi
   5064 
   5065 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5066 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5067 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5068 	fi
   5069 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5070 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5071 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5072 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5073   $as_echo_n "(cached) " >&6
   5074 else
   5075   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5076 /* end confdefs.h.  */
   5077 int i;
   5078 _ACEOF
   5079 if ac_fn_c_try_compile "$LINENO"; then :
   5080   xorg_cv_cc_flag_unused_command_line_argument=yes
   5081 else
   5082   xorg_cv_cc_flag_unused_command_line_argument=no
   5083 fi
   5084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5085 fi
   5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5087 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5088 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5089 	CFLAGS="$xorg_testset_save_CFLAGS"
   5090 fi
   5091 
   5092 found="no"
   5093 
   5094 	if test $found = "no" ; then
   5095 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5096 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5097 		fi
   5098 
   5099 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5100 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5101 		fi
   5102 
   5103 		CFLAGS="$CFLAGS -Wformat=2"
   5104 
   5105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5106 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5107 		cacheid=xorg_cv_cc_flag__Wformat_2
   5108 		if eval \${$cacheid+:} false; then :
   5109   $as_echo_n "(cached) " >&6
   5110 else
   5111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5112 /* end confdefs.h.  */
   5113 int i;
   5114 int
   5115 main ()
   5116 {
   5117 
   5118   ;
   5119   return 0;
   5120 }
   5121 _ACEOF
   5122 if ac_fn_c_try_link "$LINENO"; then :
   5123   eval $cacheid=yes
   5124 else
   5125   eval $cacheid=no
   5126 fi
   5127 rm -f core conftest.err conftest.$ac_objext \
   5128     conftest$ac_exeext conftest.$ac_ext
   5129 fi
   5130 
   5131 
   5132 		CFLAGS="$xorg_testset_save_CFLAGS"
   5133 
   5134 		eval supported=\$$cacheid
   5135 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5136 $as_echo "$supported" >&6; }
   5137 		if test "$supported" = "yes" ; then
   5138 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5139 			found="yes"
   5140 		fi
   5141 	fi
   5142 
   5143 	if test $found = "no" ; then
   5144 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5145 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5146 		fi
   5147 
   5148 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5149 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5150 		fi
   5151 
   5152 		CFLAGS="$CFLAGS -Wformat"
   5153 
   5154 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5155 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5156 		cacheid=xorg_cv_cc_flag__Wformat
   5157 		if eval \${$cacheid+:} false; then :
   5158   $as_echo_n "(cached) " >&6
   5159 else
   5160   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5161 /* end confdefs.h.  */
   5162 int i;
   5163 int
   5164 main ()
   5165 {
   5166 
   5167   ;
   5168   return 0;
   5169 }
   5170 _ACEOF
   5171 if ac_fn_c_try_link "$LINENO"; then :
   5172   eval $cacheid=yes
   5173 else
   5174   eval $cacheid=no
   5175 fi
   5176 rm -f core conftest.err conftest.$ac_objext \
   5177     conftest$ac_exeext conftest.$ac_ext
   5178 fi
   5179 
   5180 
   5181 		CFLAGS="$xorg_testset_save_CFLAGS"
   5182 
   5183 		eval supported=\$$cacheid
   5184 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5185 $as_echo "$supported" >&6; }
   5186 		if test "$supported" = "yes" ; then
   5187 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5188 			found="yes"
   5189 		fi
   5190 	fi
   5191 
   5192 
   5193 
   5194 
   5195 
   5196 
   5197 
   5198 
   5199 
   5200 
   5201 
   5202 
   5203 
   5204 
   5205 
   5206 
   5207 
   5208 xorg_testset_save_CFLAGS="$CFLAGS"
   5209 
   5210 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5211 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5212 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5213 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5214 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5215   $as_echo_n "(cached) " >&6
   5216 else
   5217   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5218 /* end confdefs.h.  */
   5219 int i;
   5220 _ACEOF
   5221 if ac_fn_c_try_compile "$LINENO"; then :
   5222   xorg_cv_cc_flag_unknown_warning_option=yes
   5223 else
   5224   xorg_cv_cc_flag_unknown_warning_option=no
   5225 fi
   5226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5227 fi
   5228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5229 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5230 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5231 	CFLAGS="$xorg_testset_save_CFLAGS"
   5232 fi
   5233 
   5234 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5235 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5236 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5237 	fi
   5238 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5239 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5240 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5241 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5242   $as_echo_n "(cached) " >&6
   5243 else
   5244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5245 /* end confdefs.h.  */
   5246 int i;
   5247 _ACEOF
   5248 if ac_fn_c_try_compile "$LINENO"; then :
   5249   xorg_cv_cc_flag_unused_command_line_argument=yes
   5250 else
   5251   xorg_cv_cc_flag_unused_command_line_argument=no
   5252 fi
   5253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5254 fi
   5255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5256 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5257 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5258 	CFLAGS="$xorg_testset_save_CFLAGS"
   5259 fi
   5260 
   5261 found="no"
   5262 
   5263 	if test $found = "no" ; then
   5264 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5265 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5266 		fi
   5267 
   5268 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5269 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5270 		fi
   5271 
   5272 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5273 
   5274 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5275 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5276 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5277 		if eval \${$cacheid+:} false; then :
   5278   $as_echo_n "(cached) " >&6
   5279 else
   5280   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5281 /* end confdefs.h.  */
   5282 int i;
   5283 int
   5284 main ()
   5285 {
   5286 
   5287   ;
   5288   return 0;
   5289 }
   5290 _ACEOF
   5291 if ac_fn_c_try_link "$LINENO"; then :
   5292   eval $cacheid=yes
   5293 else
   5294   eval $cacheid=no
   5295 fi
   5296 rm -f core conftest.err conftest.$ac_objext \
   5297     conftest$ac_exeext conftest.$ac_ext
   5298 fi
   5299 
   5300 
   5301 		CFLAGS="$xorg_testset_save_CFLAGS"
   5302 
   5303 		eval supported=\$$cacheid
   5304 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5305 $as_echo "$supported" >&6; }
   5306 		if test "$supported" = "yes" ; then
   5307 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5308 			found="yes"
   5309 		fi
   5310 	fi
   5311 
   5312 
   5313 
   5314 
   5315 
   5316 
   5317 
   5318 
   5319 
   5320 
   5321 
   5322 
   5323 
   5324 
   5325 
   5326 xorg_testset_save_CFLAGS="$CFLAGS"
   5327 
   5328 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5329 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5330 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5331 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5332 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5333   $as_echo_n "(cached) " >&6
   5334 else
   5335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5336 /* end confdefs.h.  */
   5337 int i;
   5338 _ACEOF
   5339 if ac_fn_c_try_compile "$LINENO"; then :
   5340   xorg_cv_cc_flag_unknown_warning_option=yes
   5341 else
   5342   xorg_cv_cc_flag_unknown_warning_option=no
   5343 fi
   5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5345 fi
   5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5347 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5348 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5349 	CFLAGS="$xorg_testset_save_CFLAGS"
   5350 fi
   5351 
   5352 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5353 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5354 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5355 	fi
   5356 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5357 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5358 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5359 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5360   $as_echo_n "(cached) " >&6
   5361 else
   5362   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5363 /* end confdefs.h.  */
   5364 int i;
   5365 _ACEOF
   5366 if ac_fn_c_try_compile "$LINENO"; then :
   5367   xorg_cv_cc_flag_unused_command_line_argument=yes
   5368 else
   5369   xorg_cv_cc_flag_unused_command_line_argument=no
   5370 fi
   5371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5372 fi
   5373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5374 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5375 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5376 	CFLAGS="$xorg_testset_save_CFLAGS"
   5377 fi
   5378 
   5379 found="no"
   5380 
   5381 	if test $found = "no" ; then
   5382 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5383 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5384 		fi
   5385 
   5386 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5387 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5388 		fi
   5389 
   5390 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5391 
   5392 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5393 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5394 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5395 		if eval \${$cacheid+:} false; then :
   5396   $as_echo_n "(cached) " >&6
   5397 else
   5398   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5399 /* end confdefs.h.  */
   5400 int i;
   5401 int
   5402 main ()
   5403 {
   5404 
   5405   ;
   5406   return 0;
   5407 }
   5408 _ACEOF
   5409 if ac_fn_c_try_link "$LINENO"; then :
   5410   eval $cacheid=yes
   5411 else
   5412   eval $cacheid=no
   5413 fi
   5414 rm -f core conftest.err conftest.$ac_objext \
   5415     conftest$ac_exeext conftest.$ac_ext
   5416 fi
   5417 
   5418 
   5419 		CFLAGS="$xorg_testset_save_CFLAGS"
   5420 
   5421 		eval supported=\$$cacheid
   5422 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5423 $as_echo "$supported" >&6; }
   5424 		if test "$supported" = "yes" ; then
   5425 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5426 			found="yes"
   5427 		fi
   5428 	fi
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 
   5435 
   5436 
   5437 
   5438 
   5439 
   5440 
   5441 
   5442 
   5443 
   5444 xorg_testset_save_CFLAGS="$CFLAGS"
   5445 
   5446 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5447 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5448 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5449 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5450 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5451   $as_echo_n "(cached) " >&6
   5452 else
   5453   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5454 /* end confdefs.h.  */
   5455 int i;
   5456 _ACEOF
   5457 if ac_fn_c_try_compile "$LINENO"; then :
   5458   xorg_cv_cc_flag_unknown_warning_option=yes
   5459 else
   5460   xorg_cv_cc_flag_unknown_warning_option=no
   5461 fi
   5462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5463 fi
   5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5465 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5466 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5467 	CFLAGS="$xorg_testset_save_CFLAGS"
   5468 fi
   5469 
   5470 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5471 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5472 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5473 	fi
   5474 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5475 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5476 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5477 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5478   $as_echo_n "(cached) " >&6
   5479 else
   5480   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5481 /* end confdefs.h.  */
   5482 int i;
   5483 _ACEOF
   5484 if ac_fn_c_try_compile "$LINENO"; then :
   5485   xorg_cv_cc_flag_unused_command_line_argument=yes
   5486 else
   5487   xorg_cv_cc_flag_unused_command_line_argument=no
   5488 fi
   5489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5490 fi
   5491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5492 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5493 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5494 	CFLAGS="$xorg_testset_save_CFLAGS"
   5495 fi
   5496 
   5497 found="no"
   5498 
   5499 	if test $found = "no" ; then
   5500 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5501 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5502 		fi
   5503 
   5504 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5505 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5506 		fi
   5507 
   5508 		CFLAGS="$CFLAGS -Wnested-externs"
   5509 
   5510 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5511 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5512 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5513 		if eval \${$cacheid+:} false; then :
   5514   $as_echo_n "(cached) " >&6
   5515 else
   5516   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5517 /* end confdefs.h.  */
   5518 int i;
   5519 int
   5520 main ()
   5521 {
   5522 
   5523   ;
   5524   return 0;
   5525 }
   5526 _ACEOF
   5527 if ac_fn_c_try_link "$LINENO"; then :
   5528   eval $cacheid=yes
   5529 else
   5530   eval $cacheid=no
   5531 fi
   5532 rm -f core conftest.err conftest.$ac_objext \
   5533     conftest$ac_exeext conftest.$ac_ext
   5534 fi
   5535 
   5536 
   5537 		CFLAGS="$xorg_testset_save_CFLAGS"
   5538 
   5539 		eval supported=\$$cacheid
   5540 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5541 $as_echo "$supported" >&6; }
   5542 		if test "$supported" = "yes" ; then
   5543 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5544 			found="yes"
   5545 		fi
   5546 	fi
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 
   5553 
   5554 
   5555 
   5556 
   5557 
   5558 
   5559 
   5560 
   5561 
   5562 xorg_testset_save_CFLAGS="$CFLAGS"
   5563 
   5564 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5565 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5566 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5567 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5568 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5569   $as_echo_n "(cached) " >&6
   5570 else
   5571   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5572 /* end confdefs.h.  */
   5573 int i;
   5574 _ACEOF
   5575 if ac_fn_c_try_compile "$LINENO"; then :
   5576   xorg_cv_cc_flag_unknown_warning_option=yes
   5577 else
   5578   xorg_cv_cc_flag_unknown_warning_option=no
   5579 fi
   5580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5581 fi
   5582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5583 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5584 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5585 	CFLAGS="$xorg_testset_save_CFLAGS"
   5586 fi
   5587 
   5588 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5589 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5590 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5591 	fi
   5592 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5593 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5594 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5595 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5596   $as_echo_n "(cached) " >&6
   5597 else
   5598   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5599 /* end confdefs.h.  */
   5600 int i;
   5601 _ACEOF
   5602 if ac_fn_c_try_compile "$LINENO"; then :
   5603   xorg_cv_cc_flag_unused_command_line_argument=yes
   5604 else
   5605   xorg_cv_cc_flag_unused_command_line_argument=no
   5606 fi
   5607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5608 fi
   5609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5610 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5611 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5612 	CFLAGS="$xorg_testset_save_CFLAGS"
   5613 fi
   5614 
   5615 found="no"
   5616 
   5617 	if test $found = "no" ; then
   5618 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5619 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5620 		fi
   5621 
   5622 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5623 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5624 		fi
   5625 
   5626 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5627 
   5628 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5629 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5630 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5631 		if eval \${$cacheid+:} false; then :
   5632   $as_echo_n "(cached) " >&6
   5633 else
   5634   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5635 /* end confdefs.h.  */
   5636 int i;
   5637 int
   5638 main ()
   5639 {
   5640 
   5641   ;
   5642   return 0;
   5643 }
   5644 _ACEOF
   5645 if ac_fn_c_try_link "$LINENO"; then :
   5646   eval $cacheid=yes
   5647 else
   5648   eval $cacheid=no
   5649 fi
   5650 rm -f core conftest.err conftest.$ac_objext \
   5651     conftest$ac_exeext conftest.$ac_ext
   5652 fi
   5653 
   5654 
   5655 		CFLAGS="$xorg_testset_save_CFLAGS"
   5656 
   5657 		eval supported=\$$cacheid
   5658 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5659 $as_echo "$supported" >&6; }
   5660 		if test "$supported" = "yes" ; then
   5661 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5662 			found="yes"
   5663 		fi
   5664 	fi
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 
   5671 
   5672 
   5673 
   5674 
   5675 
   5676 
   5677 
   5678 
   5679 
   5680 xorg_testset_save_CFLAGS="$CFLAGS"
   5681 
   5682 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5683 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5684 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5685 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5686 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5687   $as_echo_n "(cached) " >&6
   5688 else
   5689   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5690 /* end confdefs.h.  */
   5691 int i;
   5692 _ACEOF
   5693 if ac_fn_c_try_compile "$LINENO"; then :
   5694   xorg_cv_cc_flag_unknown_warning_option=yes
   5695 else
   5696   xorg_cv_cc_flag_unknown_warning_option=no
   5697 fi
   5698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5699 fi
   5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5701 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5702 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5703 	CFLAGS="$xorg_testset_save_CFLAGS"
   5704 fi
   5705 
   5706 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5707 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5708 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5709 	fi
   5710 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5711 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5712 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5713 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5714   $as_echo_n "(cached) " >&6
   5715 else
   5716   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5717 /* end confdefs.h.  */
   5718 int i;
   5719 _ACEOF
   5720 if ac_fn_c_try_compile "$LINENO"; then :
   5721   xorg_cv_cc_flag_unused_command_line_argument=yes
   5722 else
   5723   xorg_cv_cc_flag_unused_command_line_argument=no
   5724 fi
   5725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5726 fi
   5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5728 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5729 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5730 	CFLAGS="$xorg_testset_save_CFLAGS"
   5731 fi
   5732 
   5733 found="no"
   5734 
   5735 	if test $found = "no" ; then
   5736 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5737 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5738 		fi
   5739 
   5740 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5741 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5742 		fi
   5743 
   5744 		CFLAGS="$CFLAGS -Wold-style-definition"
   5745 
   5746 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5747 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5748 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5749 		if eval \${$cacheid+:} false; then :
   5750   $as_echo_n "(cached) " >&6
   5751 else
   5752   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5753 /* end confdefs.h.  */
   5754 int i;
   5755 int
   5756 main ()
   5757 {
   5758 
   5759   ;
   5760   return 0;
   5761 }
   5762 _ACEOF
   5763 if ac_fn_c_try_link "$LINENO"; then :
   5764   eval $cacheid=yes
   5765 else
   5766   eval $cacheid=no
   5767 fi
   5768 rm -f core conftest.err conftest.$ac_objext \
   5769     conftest$ac_exeext conftest.$ac_ext
   5770 fi
   5771 
   5772 
   5773 		CFLAGS="$xorg_testset_save_CFLAGS"
   5774 
   5775 		eval supported=\$$cacheid
   5776 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5777 $as_echo "$supported" >&6; }
   5778 		if test "$supported" = "yes" ; then
   5779 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   5780 			found="yes"
   5781 		fi
   5782 	fi
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 xorg_testset_save_CFLAGS="$CFLAGS"
   5799 
   5800 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5801 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5802 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5803 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5804 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5805   $as_echo_n "(cached) " >&6
   5806 else
   5807   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5808 /* end confdefs.h.  */
   5809 int i;
   5810 _ACEOF
   5811 if ac_fn_c_try_compile "$LINENO"; then :
   5812   xorg_cv_cc_flag_unknown_warning_option=yes
   5813 else
   5814   xorg_cv_cc_flag_unknown_warning_option=no
   5815 fi
   5816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5817 fi
   5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5819 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5820 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5821 	CFLAGS="$xorg_testset_save_CFLAGS"
   5822 fi
   5823 
   5824 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5825 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5826 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5827 	fi
   5828 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5829 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5830 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5831 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5832   $as_echo_n "(cached) " >&6
   5833 else
   5834   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5835 /* end confdefs.h.  */
   5836 int i;
   5837 _ACEOF
   5838 if ac_fn_c_try_compile "$LINENO"; then :
   5839   xorg_cv_cc_flag_unused_command_line_argument=yes
   5840 else
   5841   xorg_cv_cc_flag_unused_command_line_argument=no
   5842 fi
   5843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5844 fi
   5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5846 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5847 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5848 	CFLAGS="$xorg_testset_save_CFLAGS"
   5849 fi
   5850 
   5851 found="no"
   5852 
   5853 	if test $found = "no" ; then
   5854 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5855 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5856 		fi
   5857 
   5858 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5859 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5860 		fi
   5861 
   5862 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   5863 
   5864 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   5865 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   5866 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   5867 		if eval \${$cacheid+:} false; then :
   5868   $as_echo_n "(cached) " >&6
   5869 else
   5870   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5871 /* end confdefs.h.  */
   5872 int i;
   5873 int
   5874 main ()
   5875 {
   5876 
   5877   ;
   5878   return 0;
   5879 }
   5880 _ACEOF
   5881 if ac_fn_c_try_link "$LINENO"; then :
   5882   eval $cacheid=yes
   5883 else
   5884   eval $cacheid=no
   5885 fi
   5886 rm -f core conftest.err conftest.$ac_objext \
   5887     conftest$ac_exeext conftest.$ac_ext
   5888 fi
   5889 
   5890 
   5891 		CFLAGS="$xorg_testset_save_CFLAGS"
   5892 
   5893 		eval supported=\$$cacheid
   5894 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5895 $as_echo "$supported" >&6; }
   5896 		if test "$supported" = "yes" ; then
   5897 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   5898 			found="yes"
   5899 		fi
   5900 	fi
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 # This chunk adds additional warnings that could catch undesired effects.
   5907 
   5908 
   5909 
   5910 
   5911 
   5912 
   5913 
   5914 
   5915 
   5916 
   5917 
   5918 
   5919 
   5920 xorg_testset_save_CFLAGS="$CFLAGS"
   5921 
   5922 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5923 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5924 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5925 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5926 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5927   $as_echo_n "(cached) " >&6
   5928 else
   5929   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5930 /* end confdefs.h.  */
   5931 int i;
   5932 _ACEOF
   5933 if ac_fn_c_try_compile "$LINENO"; then :
   5934   xorg_cv_cc_flag_unknown_warning_option=yes
   5935 else
   5936   xorg_cv_cc_flag_unknown_warning_option=no
   5937 fi
   5938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5939 fi
   5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5941 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5942 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5943 	CFLAGS="$xorg_testset_save_CFLAGS"
   5944 fi
   5945 
   5946 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5947 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5948 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5949 	fi
   5950 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5951 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5952 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5953 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5954   $as_echo_n "(cached) " >&6
   5955 else
   5956   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5957 /* end confdefs.h.  */
   5958 int i;
   5959 _ACEOF
   5960 if ac_fn_c_try_compile "$LINENO"; then :
   5961   xorg_cv_cc_flag_unused_command_line_argument=yes
   5962 else
   5963   xorg_cv_cc_flag_unused_command_line_argument=no
   5964 fi
   5965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5966 fi
   5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5968 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5969 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5970 	CFLAGS="$xorg_testset_save_CFLAGS"
   5971 fi
   5972 
   5973 found="no"
   5974 
   5975 	if test $found = "no" ; then
   5976 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5977 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5978 		fi
   5979 
   5980 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5981 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5982 		fi
   5983 
   5984 		CFLAGS="$CFLAGS -Wunused"
   5985 
   5986 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   5987 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   5988 		cacheid=xorg_cv_cc_flag__Wunused
   5989 		if eval \${$cacheid+:} false; then :
   5990   $as_echo_n "(cached) " >&6
   5991 else
   5992   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5993 /* end confdefs.h.  */
   5994 int i;
   5995 int
   5996 main ()
   5997 {
   5998 
   5999   ;
   6000   return 0;
   6001 }
   6002 _ACEOF
   6003 if ac_fn_c_try_link "$LINENO"; then :
   6004   eval $cacheid=yes
   6005 else
   6006   eval $cacheid=no
   6007 fi
   6008 rm -f core conftest.err conftest.$ac_objext \
   6009     conftest$ac_exeext conftest.$ac_ext
   6010 fi
   6011 
   6012 
   6013 		CFLAGS="$xorg_testset_save_CFLAGS"
   6014 
   6015 		eval supported=\$$cacheid
   6016 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6017 $as_echo "$supported" >&6; }
   6018 		if test "$supported" = "yes" ; then
   6019 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6020 			found="yes"
   6021 		fi
   6022 	fi
   6023 
   6024 
   6025 
   6026 
   6027 
   6028 
   6029 
   6030 
   6031 
   6032 
   6033 
   6034 
   6035 
   6036 
   6037 
   6038 xorg_testset_save_CFLAGS="$CFLAGS"
   6039 
   6040 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6041 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6042 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6043 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6044 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6045   $as_echo_n "(cached) " >&6
   6046 else
   6047   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6048 /* end confdefs.h.  */
   6049 int i;
   6050 _ACEOF
   6051 if ac_fn_c_try_compile "$LINENO"; then :
   6052   xorg_cv_cc_flag_unknown_warning_option=yes
   6053 else
   6054   xorg_cv_cc_flag_unknown_warning_option=no
   6055 fi
   6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6057 fi
   6058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6059 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6060 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6061 	CFLAGS="$xorg_testset_save_CFLAGS"
   6062 fi
   6063 
   6064 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6065 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6066 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6067 	fi
   6068 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6069 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6070 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6071 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6072   $as_echo_n "(cached) " >&6
   6073 else
   6074   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6075 /* end confdefs.h.  */
   6076 int i;
   6077 _ACEOF
   6078 if ac_fn_c_try_compile "$LINENO"; then :
   6079   xorg_cv_cc_flag_unused_command_line_argument=yes
   6080 else
   6081   xorg_cv_cc_flag_unused_command_line_argument=no
   6082 fi
   6083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6084 fi
   6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6086 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6087 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6088 	CFLAGS="$xorg_testset_save_CFLAGS"
   6089 fi
   6090 
   6091 found="no"
   6092 
   6093 	if test $found = "no" ; then
   6094 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6095 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6096 		fi
   6097 
   6098 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6099 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6100 		fi
   6101 
   6102 		CFLAGS="$CFLAGS -Wuninitialized"
   6103 
   6104 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6105 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6106 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6107 		if eval \${$cacheid+:} false; then :
   6108   $as_echo_n "(cached) " >&6
   6109 else
   6110   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6111 /* end confdefs.h.  */
   6112 int i;
   6113 int
   6114 main ()
   6115 {
   6116 
   6117   ;
   6118   return 0;
   6119 }
   6120 _ACEOF
   6121 if ac_fn_c_try_link "$LINENO"; then :
   6122   eval $cacheid=yes
   6123 else
   6124   eval $cacheid=no
   6125 fi
   6126 rm -f core conftest.err conftest.$ac_objext \
   6127     conftest$ac_exeext conftest.$ac_ext
   6128 fi
   6129 
   6130 
   6131 		CFLAGS="$xorg_testset_save_CFLAGS"
   6132 
   6133 		eval supported=\$$cacheid
   6134 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6135 $as_echo "$supported" >&6; }
   6136 		if test "$supported" = "yes" ; then
   6137 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6138 			found="yes"
   6139 		fi
   6140 	fi
   6141 
   6142 
   6143 
   6144 
   6145 
   6146 
   6147 
   6148 
   6149 
   6150 
   6151 
   6152 
   6153 
   6154 
   6155 
   6156 xorg_testset_save_CFLAGS="$CFLAGS"
   6157 
   6158 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6159 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6160 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6161 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6162 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6163   $as_echo_n "(cached) " >&6
   6164 else
   6165   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6166 /* end confdefs.h.  */
   6167 int i;
   6168 _ACEOF
   6169 if ac_fn_c_try_compile "$LINENO"; then :
   6170   xorg_cv_cc_flag_unknown_warning_option=yes
   6171 else
   6172   xorg_cv_cc_flag_unknown_warning_option=no
   6173 fi
   6174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6175 fi
   6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6177 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6178 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6179 	CFLAGS="$xorg_testset_save_CFLAGS"
   6180 fi
   6181 
   6182 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6183 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6184 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6185 	fi
   6186 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6187 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6188 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6189 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6190   $as_echo_n "(cached) " >&6
   6191 else
   6192   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6193 /* end confdefs.h.  */
   6194 int i;
   6195 _ACEOF
   6196 if ac_fn_c_try_compile "$LINENO"; then :
   6197   xorg_cv_cc_flag_unused_command_line_argument=yes
   6198 else
   6199   xorg_cv_cc_flag_unused_command_line_argument=no
   6200 fi
   6201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6202 fi
   6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6204 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6205 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6206 	CFLAGS="$xorg_testset_save_CFLAGS"
   6207 fi
   6208 
   6209 found="no"
   6210 
   6211 	if test $found = "no" ; then
   6212 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6213 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6214 		fi
   6215 
   6216 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6217 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6218 		fi
   6219 
   6220 		CFLAGS="$CFLAGS -Wshadow"
   6221 
   6222 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6223 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6224 		cacheid=xorg_cv_cc_flag__Wshadow
   6225 		if eval \${$cacheid+:} false; then :
   6226   $as_echo_n "(cached) " >&6
   6227 else
   6228   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6229 /* end confdefs.h.  */
   6230 int i;
   6231 int
   6232 main ()
   6233 {
   6234 
   6235   ;
   6236   return 0;
   6237 }
   6238 _ACEOF
   6239 if ac_fn_c_try_link "$LINENO"; then :
   6240   eval $cacheid=yes
   6241 else
   6242   eval $cacheid=no
   6243 fi
   6244 rm -f core conftest.err conftest.$ac_objext \
   6245     conftest$ac_exeext conftest.$ac_ext
   6246 fi
   6247 
   6248 
   6249 		CFLAGS="$xorg_testset_save_CFLAGS"
   6250 
   6251 		eval supported=\$$cacheid
   6252 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6253 $as_echo "$supported" >&6; }
   6254 		if test "$supported" = "yes" ; then
   6255 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6256 			found="yes"
   6257 		fi
   6258 	fi
   6259 
   6260 
   6261 
   6262 
   6263 
   6264 
   6265 
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 
   6273 
   6274 xorg_testset_save_CFLAGS="$CFLAGS"
   6275 
   6276 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6277 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6278 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6279 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6280 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6281   $as_echo_n "(cached) " >&6
   6282 else
   6283   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6284 /* end confdefs.h.  */
   6285 int i;
   6286 _ACEOF
   6287 if ac_fn_c_try_compile "$LINENO"; then :
   6288   xorg_cv_cc_flag_unknown_warning_option=yes
   6289 else
   6290   xorg_cv_cc_flag_unknown_warning_option=no
   6291 fi
   6292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6293 fi
   6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6295 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6296 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6297 	CFLAGS="$xorg_testset_save_CFLAGS"
   6298 fi
   6299 
   6300 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6301 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6302 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6303 	fi
   6304 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6305 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6306 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6307 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6308   $as_echo_n "(cached) " >&6
   6309 else
   6310   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6311 /* end confdefs.h.  */
   6312 int i;
   6313 _ACEOF
   6314 if ac_fn_c_try_compile "$LINENO"; then :
   6315   xorg_cv_cc_flag_unused_command_line_argument=yes
   6316 else
   6317   xorg_cv_cc_flag_unused_command_line_argument=no
   6318 fi
   6319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6320 fi
   6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6322 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6323 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6324 	CFLAGS="$xorg_testset_save_CFLAGS"
   6325 fi
   6326 
   6327 found="no"
   6328 
   6329 	if test $found = "no" ; then
   6330 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6331 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6332 		fi
   6333 
   6334 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6335 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6336 		fi
   6337 
   6338 		CFLAGS="$CFLAGS -Wcast-qual"
   6339 
   6340 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-qual" >&5
   6341 $as_echo_n "checking if $CC supports -Wcast-qual... " >&6; }
   6342 		cacheid=xorg_cv_cc_flag__Wcast_qual
   6343 		if eval \${$cacheid+:} false; then :
   6344   $as_echo_n "(cached) " >&6
   6345 else
   6346   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6347 /* end confdefs.h.  */
   6348 int i;
   6349 int
   6350 main ()
   6351 {
   6352 
   6353   ;
   6354   return 0;
   6355 }
   6356 _ACEOF
   6357 if ac_fn_c_try_link "$LINENO"; then :
   6358   eval $cacheid=yes
   6359 else
   6360   eval $cacheid=no
   6361 fi
   6362 rm -f core conftest.err conftest.$ac_objext \
   6363     conftest$ac_exeext conftest.$ac_ext
   6364 fi
   6365 
   6366 
   6367 		CFLAGS="$xorg_testset_save_CFLAGS"
   6368 
   6369 		eval supported=\$$cacheid
   6370 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6371 $as_echo "$supported" >&6; }
   6372 		if test "$supported" = "yes" ; then
   6373 			BASE_CFLAGS="$BASE_CFLAGS -Wcast-qual"
   6374 			found="yes"
   6375 		fi
   6376 	fi
   6377 
   6378 
   6379 
   6380 
   6381 
   6382 
   6383 
   6384 
   6385 
   6386 
   6387 
   6388 
   6389 
   6390 
   6391 
   6392 xorg_testset_save_CFLAGS="$CFLAGS"
   6393 
   6394 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6395 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6396 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6397 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6398 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6399   $as_echo_n "(cached) " >&6
   6400 else
   6401   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6402 /* end confdefs.h.  */
   6403 int i;
   6404 _ACEOF
   6405 if ac_fn_c_try_compile "$LINENO"; then :
   6406   xorg_cv_cc_flag_unknown_warning_option=yes
   6407 else
   6408   xorg_cv_cc_flag_unknown_warning_option=no
   6409 fi
   6410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6411 fi
   6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6413 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6414 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6415 	CFLAGS="$xorg_testset_save_CFLAGS"
   6416 fi
   6417 
   6418 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6419 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6420 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6421 	fi
   6422 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6423 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6424 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6425 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6426   $as_echo_n "(cached) " >&6
   6427 else
   6428   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6429 /* end confdefs.h.  */
   6430 int i;
   6431 _ACEOF
   6432 if ac_fn_c_try_compile "$LINENO"; then :
   6433   xorg_cv_cc_flag_unused_command_line_argument=yes
   6434 else
   6435   xorg_cv_cc_flag_unused_command_line_argument=no
   6436 fi
   6437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6438 fi
   6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6440 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6441 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6442 	CFLAGS="$xorg_testset_save_CFLAGS"
   6443 fi
   6444 
   6445 found="no"
   6446 
   6447 	if test $found = "no" ; then
   6448 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6449 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6450 		fi
   6451 
   6452 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6453 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6454 		fi
   6455 
   6456 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6457 
   6458 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6459 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6460 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6461 		if eval \${$cacheid+:} false; then :
   6462   $as_echo_n "(cached) " >&6
   6463 else
   6464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6465 /* end confdefs.h.  */
   6466 int i;
   6467 int
   6468 main ()
   6469 {
   6470 
   6471   ;
   6472   return 0;
   6473 }
   6474 _ACEOF
   6475 if ac_fn_c_try_link "$LINENO"; then :
   6476   eval $cacheid=yes
   6477 else
   6478   eval $cacheid=no
   6479 fi
   6480 rm -f core conftest.err conftest.$ac_objext \
   6481     conftest$ac_exeext conftest.$ac_ext
   6482 fi
   6483 
   6484 
   6485 		CFLAGS="$xorg_testset_save_CFLAGS"
   6486 
   6487 		eval supported=\$$cacheid
   6488 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6489 $as_echo "$supported" >&6; }
   6490 		if test "$supported" = "yes" ; then
   6491 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6492 			found="yes"
   6493 		fi
   6494 	fi
   6495 
   6496 
   6497 
   6498 
   6499 
   6500 
   6501 
   6502 
   6503 
   6504 
   6505 
   6506 
   6507 
   6508 
   6509 
   6510 xorg_testset_save_CFLAGS="$CFLAGS"
   6511 
   6512 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6513 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6514 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6515 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6516 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6517   $as_echo_n "(cached) " >&6
   6518 else
   6519   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6520 /* end confdefs.h.  */
   6521 int i;
   6522 _ACEOF
   6523 if ac_fn_c_try_compile "$LINENO"; then :
   6524   xorg_cv_cc_flag_unknown_warning_option=yes
   6525 else
   6526   xorg_cv_cc_flag_unknown_warning_option=no
   6527 fi
   6528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6529 fi
   6530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6531 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6532 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6533 	CFLAGS="$xorg_testset_save_CFLAGS"
   6534 fi
   6535 
   6536 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6537 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6538 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6539 	fi
   6540 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6541 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6542 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6543 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6544   $as_echo_n "(cached) " >&6
   6545 else
   6546   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6547 /* end confdefs.h.  */
   6548 int i;
   6549 _ACEOF
   6550 if ac_fn_c_try_compile "$LINENO"; then :
   6551   xorg_cv_cc_flag_unused_command_line_argument=yes
   6552 else
   6553   xorg_cv_cc_flag_unused_command_line_argument=no
   6554 fi
   6555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6556 fi
   6557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6558 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6559 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6560 	CFLAGS="$xorg_testset_save_CFLAGS"
   6561 fi
   6562 
   6563 found="no"
   6564 
   6565 	if test $found = "no" ; then
   6566 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6567 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6568 		fi
   6569 
   6570 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6571 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6572 		fi
   6573 
   6574 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6575 
   6576 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6577 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6578 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6579 		if eval \${$cacheid+:} false; then :
   6580   $as_echo_n "(cached) " >&6
   6581 else
   6582   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6583 /* end confdefs.h.  */
   6584 int i;
   6585 int
   6586 main ()
   6587 {
   6588 
   6589   ;
   6590   return 0;
   6591 }
   6592 _ACEOF
   6593 if ac_fn_c_try_link "$LINENO"; then :
   6594   eval $cacheid=yes
   6595 else
   6596   eval $cacheid=no
   6597 fi
   6598 rm -f core conftest.err conftest.$ac_objext \
   6599     conftest$ac_exeext conftest.$ac_ext
   6600 fi
   6601 
   6602 
   6603 		CFLAGS="$xorg_testset_save_CFLAGS"
   6604 
   6605 		eval supported=\$$cacheid
   6606 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6607 $as_echo "$supported" >&6; }
   6608 		if test "$supported" = "yes" ; then
   6609 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6610 			found="yes"
   6611 		fi
   6612 	fi
   6613 
   6614 
   6615 
   6616 
   6617 
   6618 
   6619 
   6620 
   6621 
   6622 
   6623 
   6624 
   6625 
   6626 
   6627 
   6628 xorg_testset_save_CFLAGS="$CFLAGS"
   6629 
   6630 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6631 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6632 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6633 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6634 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6635   $as_echo_n "(cached) " >&6
   6636 else
   6637   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6638 /* end confdefs.h.  */
   6639 int i;
   6640 _ACEOF
   6641 if ac_fn_c_try_compile "$LINENO"; then :
   6642   xorg_cv_cc_flag_unknown_warning_option=yes
   6643 else
   6644   xorg_cv_cc_flag_unknown_warning_option=no
   6645 fi
   6646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6647 fi
   6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6649 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6650 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6651 	CFLAGS="$xorg_testset_save_CFLAGS"
   6652 fi
   6653 
   6654 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6655 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6656 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6657 	fi
   6658 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6659 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6660 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6661 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6662   $as_echo_n "(cached) " >&6
   6663 else
   6664   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6665 /* end confdefs.h.  */
   6666 int i;
   6667 _ACEOF
   6668 if ac_fn_c_try_compile "$LINENO"; then :
   6669   xorg_cv_cc_flag_unused_command_line_argument=yes
   6670 else
   6671   xorg_cv_cc_flag_unused_command_line_argument=no
   6672 fi
   6673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6674 fi
   6675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6676 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6677 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6678 	CFLAGS="$xorg_testset_save_CFLAGS"
   6679 fi
   6680 
   6681 found="no"
   6682 
   6683 	if test $found = "no" ; then
   6684 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6685 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6686 		fi
   6687 
   6688 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6689 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6690 		fi
   6691 
   6692 		CFLAGS="$CFLAGS -Wredundant-decls"
   6693 
   6694 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6695 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6696 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6697 		if eval \${$cacheid+:} false; then :
   6698   $as_echo_n "(cached) " >&6
   6699 else
   6700   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6701 /* end confdefs.h.  */
   6702 int i;
   6703 int
   6704 main ()
   6705 {
   6706 
   6707   ;
   6708   return 0;
   6709 }
   6710 _ACEOF
   6711 if ac_fn_c_try_link "$LINENO"; then :
   6712   eval $cacheid=yes
   6713 else
   6714   eval $cacheid=no
   6715 fi
   6716 rm -f core conftest.err conftest.$ac_objext \
   6717     conftest$ac_exeext conftest.$ac_ext
   6718 fi
   6719 
   6720 
   6721 		CFLAGS="$xorg_testset_save_CFLAGS"
   6722 
   6723 		eval supported=\$$cacheid
   6724 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6725 $as_echo "$supported" >&6; }
   6726 		if test "$supported" = "yes" ; then
   6727 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6728 			found="yes"
   6729 		fi
   6730 	fi
   6731 
   6732 
   6733 
   6734 # These are currently disabled because they are noisy.  They will be enabled
   6735 # in the future once the codebase is sufficiently modernized to silence
   6736 # them.  For now, I don't want them to drown out the other warnings.
   6737 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wlogical-op])
   6738 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   6739 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   6740 
   6741 # Turn some warnings into errors, so we don't accidently get successful builds
   6742 # when there are problems that should be fixed.
   6743 
   6744 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   6745 
   6746 
   6747 
   6748 
   6749 
   6750 
   6751 
   6752 
   6753 
   6754 
   6755 
   6756 
   6757 
   6758 xorg_testset_save_CFLAGS="$CFLAGS"
   6759 
   6760 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6761 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6762 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6763 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6764 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6765   $as_echo_n "(cached) " >&6
   6766 else
   6767   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6768 /* end confdefs.h.  */
   6769 int i;
   6770 _ACEOF
   6771 if ac_fn_c_try_compile "$LINENO"; then :
   6772   xorg_cv_cc_flag_unknown_warning_option=yes
   6773 else
   6774   xorg_cv_cc_flag_unknown_warning_option=no
   6775 fi
   6776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6777 fi
   6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6779 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6780 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6781 	CFLAGS="$xorg_testset_save_CFLAGS"
   6782 fi
   6783 
   6784 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6785 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6786 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6787 	fi
   6788 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6790 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6791 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6792   $as_echo_n "(cached) " >&6
   6793 else
   6794   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6795 /* end confdefs.h.  */
   6796 int i;
   6797 _ACEOF
   6798 if ac_fn_c_try_compile "$LINENO"; then :
   6799   xorg_cv_cc_flag_unused_command_line_argument=yes
   6800 else
   6801   xorg_cv_cc_flag_unused_command_line_argument=no
   6802 fi
   6803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6804 fi
   6805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6806 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6807 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6808 	CFLAGS="$xorg_testset_save_CFLAGS"
   6809 fi
   6810 
   6811 found="no"
   6812 
   6813 	if test $found = "no" ; then
   6814 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6815 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6816 		fi
   6817 
   6818 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6819 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6820 		fi
   6821 
   6822 		CFLAGS="$CFLAGS -Werror=implicit"
   6823 
   6824 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   6825 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   6826 		cacheid=xorg_cv_cc_flag__Werror_implicit
   6827 		if eval \${$cacheid+:} false; then :
   6828   $as_echo_n "(cached) " >&6
   6829 else
   6830   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6831 /* end confdefs.h.  */
   6832 int i;
   6833 int
   6834 main ()
   6835 {
   6836 
   6837   ;
   6838   return 0;
   6839 }
   6840 _ACEOF
   6841 if ac_fn_c_try_link "$LINENO"; then :
   6842   eval $cacheid=yes
   6843 else
   6844   eval $cacheid=no
   6845 fi
   6846 rm -f core conftest.err conftest.$ac_objext \
   6847     conftest$ac_exeext conftest.$ac_ext
   6848 fi
   6849 
   6850 
   6851 		CFLAGS="$xorg_testset_save_CFLAGS"
   6852 
   6853 		eval supported=\$$cacheid
   6854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6855 $as_echo "$supported" >&6; }
   6856 		if test "$supported" = "yes" ; then
   6857 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   6858 			found="yes"
   6859 		fi
   6860 	fi
   6861 
   6862 	if test $found = "no" ; then
   6863 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6864 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6865 		fi
   6866 
   6867 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6868 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6869 		fi
   6870 
   6871 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6872 
   6873 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   6874 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   6875 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   6876 		if eval \${$cacheid+:} false; then :
   6877   $as_echo_n "(cached) " >&6
   6878 else
   6879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6880 /* end confdefs.h.  */
   6881 int i;
   6882 int
   6883 main ()
   6884 {
   6885 
   6886   ;
   6887   return 0;
   6888 }
   6889 _ACEOF
   6890 if ac_fn_c_try_link "$LINENO"; then :
   6891   eval $cacheid=yes
   6892 else
   6893   eval $cacheid=no
   6894 fi
   6895 rm -f core conftest.err conftest.$ac_objext \
   6896     conftest$ac_exeext conftest.$ac_ext
   6897 fi
   6898 
   6899 
   6900 		CFLAGS="$xorg_testset_save_CFLAGS"
   6901 
   6902 		eval supported=\$$cacheid
   6903 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6904 $as_echo "$supported" >&6; }
   6905 		if test "$supported" = "yes" ; then
   6906 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   6907 			found="yes"
   6908 		fi
   6909 	fi
   6910 
   6911 
   6912 
   6913 
   6914 
   6915 
   6916 
   6917 
   6918 
   6919 
   6920 
   6921 
   6922 
   6923 
   6924 
   6925 xorg_testset_save_CFLAGS="$CFLAGS"
   6926 
   6927 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6928 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6929 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6930 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6931 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6932   $as_echo_n "(cached) " >&6
   6933 else
   6934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6935 /* end confdefs.h.  */
   6936 int i;
   6937 _ACEOF
   6938 if ac_fn_c_try_compile "$LINENO"; then :
   6939   xorg_cv_cc_flag_unknown_warning_option=yes
   6940 else
   6941   xorg_cv_cc_flag_unknown_warning_option=no
   6942 fi
   6943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6944 fi
   6945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6946 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6947 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6948 	CFLAGS="$xorg_testset_save_CFLAGS"
   6949 fi
   6950 
   6951 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6952 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6953 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6954 	fi
   6955 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6956 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6957 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6958 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6959   $as_echo_n "(cached) " >&6
   6960 else
   6961   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6962 /* end confdefs.h.  */
   6963 int i;
   6964 _ACEOF
   6965 if ac_fn_c_try_compile "$LINENO"; then :
   6966   xorg_cv_cc_flag_unused_command_line_argument=yes
   6967 else
   6968   xorg_cv_cc_flag_unused_command_line_argument=no
   6969 fi
   6970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6971 fi
   6972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6973 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6974 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6975 	CFLAGS="$xorg_testset_save_CFLAGS"
   6976 fi
   6977 
   6978 found="no"
   6979 
   6980 	if test $found = "no" ; then
   6981 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6982 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6983 		fi
   6984 
   6985 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6986 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6987 		fi
   6988 
   6989 		CFLAGS="$CFLAGS -Werror=nonnull"
   6990 
   6991 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   6992 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   6993 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   6994 		if eval \${$cacheid+:} false; then :
   6995   $as_echo_n "(cached) " >&6
   6996 else
   6997   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6998 /* end confdefs.h.  */
   6999 int i;
   7000 int
   7001 main ()
   7002 {
   7003 
   7004   ;
   7005   return 0;
   7006 }
   7007 _ACEOF
   7008 if ac_fn_c_try_link "$LINENO"; then :
   7009   eval $cacheid=yes
   7010 else
   7011   eval $cacheid=no
   7012 fi
   7013 rm -f core conftest.err conftest.$ac_objext \
   7014     conftest$ac_exeext conftest.$ac_ext
   7015 fi
   7016 
   7017 
   7018 		CFLAGS="$xorg_testset_save_CFLAGS"
   7019 
   7020 		eval supported=\$$cacheid
   7021 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7022 $as_echo "$supported" >&6; }
   7023 		if test "$supported" = "yes" ; then
   7024 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7025 			found="yes"
   7026 		fi
   7027 	fi
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 
   7034 
   7035 
   7036 
   7037 
   7038 
   7039 
   7040 
   7041 
   7042 
   7043 xorg_testset_save_CFLAGS="$CFLAGS"
   7044 
   7045 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7046 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7047 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7048 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7049 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7050   $as_echo_n "(cached) " >&6
   7051 else
   7052   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7053 /* end confdefs.h.  */
   7054 int i;
   7055 _ACEOF
   7056 if ac_fn_c_try_compile "$LINENO"; then :
   7057   xorg_cv_cc_flag_unknown_warning_option=yes
   7058 else
   7059   xorg_cv_cc_flag_unknown_warning_option=no
   7060 fi
   7061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7062 fi
   7063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7064 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7065 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7066 	CFLAGS="$xorg_testset_save_CFLAGS"
   7067 fi
   7068 
   7069 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7070 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7071 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7072 	fi
   7073 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7074 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7075 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7076 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7077   $as_echo_n "(cached) " >&6
   7078 else
   7079   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7080 /* end confdefs.h.  */
   7081 int i;
   7082 _ACEOF
   7083 if ac_fn_c_try_compile "$LINENO"; then :
   7084   xorg_cv_cc_flag_unused_command_line_argument=yes
   7085 else
   7086   xorg_cv_cc_flag_unused_command_line_argument=no
   7087 fi
   7088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7089 fi
   7090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7091 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7092 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7093 	CFLAGS="$xorg_testset_save_CFLAGS"
   7094 fi
   7095 
   7096 found="no"
   7097 
   7098 	if test $found = "no" ; then
   7099 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7100 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7101 		fi
   7102 
   7103 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7104 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7105 		fi
   7106 
   7107 		CFLAGS="$CFLAGS -Werror=init-self"
   7108 
   7109 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7110 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7111 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7112 		if eval \${$cacheid+:} false; then :
   7113   $as_echo_n "(cached) " >&6
   7114 else
   7115   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7116 /* end confdefs.h.  */
   7117 int i;
   7118 int
   7119 main ()
   7120 {
   7121 
   7122   ;
   7123   return 0;
   7124 }
   7125 _ACEOF
   7126 if ac_fn_c_try_link "$LINENO"; then :
   7127   eval $cacheid=yes
   7128 else
   7129   eval $cacheid=no
   7130 fi
   7131 rm -f core conftest.err conftest.$ac_objext \
   7132     conftest$ac_exeext conftest.$ac_ext
   7133 fi
   7134 
   7135 
   7136 		CFLAGS="$xorg_testset_save_CFLAGS"
   7137 
   7138 		eval supported=\$$cacheid
   7139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7140 $as_echo "$supported" >&6; }
   7141 		if test "$supported" = "yes" ; then
   7142 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7143 			found="yes"
   7144 		fi
   7145 	fi
   7146 
   7147 
   7148 
   7149 
   7150 
   7151 
   7152 
   7153 
   7154 
   7155 
   7156 
   7157 
   7158 
   7159 
   7160 
   7161 xorg_testset_save_CFLAGS="$CFLAGS"
   7162 
   7163 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7164 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7165 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7166 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7167 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7168   $as_echo_n "(cached) " >&6
   7169 else
   7170   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7171 /* end confdefs.h.  */
   7172 int i;
   7173 _ACEOF
   7174 if ac_fn_c_try_compile "$LINENO"; then :
   7175   xorg_cv_cc_flag_unknown_warning_option=yes
   7176 else
   7177   xorg_cv_cc_flag_unknown_warning_option=no
   7178 fi
   7179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7180 fi
   7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7182 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7183 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7184 	CFLAGS="$xorg_testset_save_CFLAGS"
   7185 fi
   7186 
   7187 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7188 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7189 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7190 	fi
   7191 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7192 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7193 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7194 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7195   $as_echo_n "(cached) " >&6
   7196 else
   7197   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7198 /* end confdefs.h.  */
   7199 int i;
   7200 _ACEOF
   7201 if ac_fn_c_try_compile "$LINENO"; then :
   7202   xorg_cv_cc_flag_unused_command_line_argument=yes
   7203 else
   7204   xorg_cv_cc_flag_unused_command_line_argument=no
   7205 fi
   7206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7207 fi
   7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7209 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7210 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7211 	CFLAGS="$xorg_testset_save_CFLAGS"
   7212 fi
   7213 
   7214 found="no"
   7215 
   7216 	if test $found = "no" ; then
   7217 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7218 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7219 		fi
   7220 
   7221 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7222 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7223 		fi
   7224 
   7225 		CFLAGS="$CFLAGS -Werror=main"
   7226 
   7227 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7228 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7229 		cacheid=xorg_cv_cc_flag__Werror_main
   7230 		if eval \${$cacheid+:} false; then :
   7231   $as_echo_n "(cached) " >&6
   7232 else
   7233   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7234 /* end confdefs.h.  */
   7235 int i;
   7236 int
   7237 main ()
   7238 {
   7239 
   7240   ;
   7241   return 0;
   7242 }
   7243 _ACEOF
   7244 if ac_fn_c_try_link "$LINENO"; then :
   7245   eval $cacheid=yes
   7246 else
   7247   eval $cacheid=no
   7248 fi
   7249 rm -f core conftest.err conftest.$ac_objext \
   7250     conftest$ac_exeext conftest.$ac_ext
   7251 fi
   7252 
   7253 
   7254 		CFLAGS="$xorg_testset_save_CFLAGS"
   7255 
   7256 		eval supported=\$$cacheid
   7257 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7258 $as_echo "$supported" >&6; }
   7259 		if test "$supported" = "yes" ; then
   7260 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7261 			found="yes"
   7262 		fi
   7263 	fi
   7264 
   7265 
   7266 
   7267 
   7268 
   7269 
   7270 
   7271 
   7272 
   7273 
   7274 
   7275 
   7276 
   7277 
   7278 
   7279 xorg_testset_save_CFLAGS="$CFLAGS"
   7280 
   7281 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7282 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7283 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7284 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7285 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7286   $as_echo_n "(cached) " >&6
   7287 else
   7288   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7289 /* end confdefs.h.  */
   7290 int i;
   7291 _ACEOF
   7292 if ac_fn_c_try_compile "$LINENO"; then :
   7293   xorg_cv_cc_flag_unknown_warning_option=yes
   7294 else
   7295   xorg_cv_cc_flag_unknown_warning_option=no
   7296 fi
   7297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7298 fi
   7299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7300 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7301 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7302 	CFLAGS="$xorg_testset_save_CFLAGS"
   7303 fi
   7304 
   7305 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7306 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7307 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7308 	fi
   7309 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7310 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7311 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7312 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7313   $as_echo_n "(cached) " >&6
   7314 else
   7315   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7316 /* end confdefs.h.  */
   7317 int i;
   7318 _ACEOF
   7319 if ac_fn_c_try_compile "$LINENO"; then :
   7320   xorg_cv_cc_flag_unused_command_line_argument=yes
   7321 else
   7322   xorg_cv_cc_flag_unused_command_line_argument=no
   7323 fi
   7324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7325 fi
   7326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7327 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7328 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7329 	CFLAGS="$xorg_testset_save_CFLAGS"
   7330 fi
   7331 
   7332 found="no"
   7333 
   7334 	if test $found = "no" ; then
   7335 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7336 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7337 		fi
   7338 
   7339 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7340 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7341 		fi
   7342 
   7343 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7344 
   7345 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7346 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7347 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7348 		if eval \${$cacheid+:} false; then :
   7349   $as_echo_n "(cached) " >&6
   7350 else
   7351   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7352 /* end confdefs.h.  */
   7353 int i;
   7354 int
   7355 main ()
   7356 {
   7357 
   7358   ;
   7359   return 0;
   7360 }
   7361 _ACEOF
   7362 if ac_fn_c_try_link "$LINENO"; then :
   7363   eval $cacheid=yes
   7364 else
   7365   eval $cacheid=no
   7366 fi
   7367 rm -f core conftest.err conftest.$ac_objext \
   7368     conftest$ac_exeext conftest.$ac_ext
   7369 fi
   7370 
   7371 
   7372 		CFLAGS="$xorg_testset_save_CFLAGS"
   7373 
   7374 		eval supported=\$$cacheid
   7375 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7376 $as_echo "$supported" >&6; }
   7377 		if test "$supported" = "yes" ; then
   7378 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7379 			found="yes"
   7380 		fi
   7381 	fi
   7382 
   7383 
   7384 
   7385 
   7386 
   7387 
   7388 
   7389 
   7390 
   7391 
   7392 
   7393 
   7394 
   7395 
   7396 
   7397 xorg_testset_save_CFLAGS="$CFLAGS"
   7398 
   7399 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7400 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7401 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7402 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7403 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7404   $as_echo_n "(cached) " >&6
   7405 else
   7406   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7407 /* end confdefs.h.  */
   7408 int i;
   7409 _ACEOF
   7410 if ac_fn_c_try_compile "$LINENO"; then :
   7411   xorg_cv_cc_flag_unknown_warning_option=yes
   7412 else
   7413   xorg_cv_cc_flag_unknown_warning_option=no
   7414 fi
   7415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7416 fi
   7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7418 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7419 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7420 	CFLAGS="$xorg_testset_save_CFLAGS"
   7421 fi
   7422 
   7423 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7424 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7425 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7426 	fi
   7427 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7428 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7429 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7430 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7431   $as_echo_n "(cached) " >&6
   7432 else
   7433   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7434 /* end confdefs.h.  */
   7435 int i;
   7436 _ACEOF
   7437 if ac_fn_c_try_compile "$LINENO"; then :
   7438   xorg_cv_cc_flag_unused_command_line_argument=yes
   7439 else
   7440   xorg_cv_cc_flag_unused_command_line_argument=no
   7441 fi
   7442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7443 fi
   7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7445 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7446 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7447 	CFLAGS="$xorg_testset_save_CFLAGS"
   7448 fi
   7449 
   7450 found="no"
   7451 
   7452 	if test $found = "no" ; then
   7453 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7454 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7455 		fi
   7456 
   7457 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7458 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7459 		fi
   7460 
   7461 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7462 
   7463 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7464 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7465 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7466 		if eval \${$cacheid+:} false; then :
   7467   $as_echo_n "(cached) " >&6
   7468 else
   7469   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7470 /* end confdefs.h.  */
   7471 int i;
   7472 int
   7473 main ()
   7474 {
   7475 
   7476   ;
   7477   return 0;
   7478 }
   7479 _ACEOF
   7480 if ac_fn_c_try_link "$LINENO"; then :
   7481   eval $cacheid=yes
   7482 else
   7483   eval $cacheid=no
   7484 fi
   7485 rm -f core conftest.err conftest.$ac_objext \
   7486     conftest$ac_exeext conftest.$ac_ext
   7487 fi
   7488 
   7489 
   7490 		CFLAGS="$xorg_testset_save_CFLAGS"
   7491 
   7492 		eval supported=\$$cacheid
   7493 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7494 $as_echo "$supported" >&6; }
   7495 		if test "$supported" = "yes" ; then
   7496 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7497 			found="yes"
   7498 		fi
   7499 	fi
   7500 
   7501 
   7502 
   7503 
   7504 
   7505 
   7506 
   7507 
   7508 
   7509 
   7510 
   7511 
   7512 
   7513 
   7514 
   7515 xorg_testset_save_CFLAGS="$CFLAGS"
   7516 
   7517 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7518 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7519 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7520 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7521 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7522   $as_echo_n "(cached) " >&6
   7523 else
   7524   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7525 /* end confdefs.h.  */
   7526 int i;
   7527 _ACEOF
   7528 if ac_fn_c_try_compile "$LINENO"; then :
   7529   xorg_cv_cc_flag_unknown_warning_option=yes
   7530 else
   7531   xorg_cv_cc_flag_unknown_warning_option=no
   7532 fi
   7533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7534 fi
   7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7536 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7537 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7538 	CFLAGS="$xorg_testset_save_CFLAGS"
   7539 fi
   7540 
   7541 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7542 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7543 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7544 	fi
   7545 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7546 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7547 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7548 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7549   $as_echo_n "(cached) " >&6
   7550 else
   7551   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7552 /* end confdefs.h.  */
   7553 int i;
   7554 _ACEOF
   7555 if ac_fn_c_try_compile "$LINENO"; then :
   7556   xorg_cv_cc_flag_unused_command_line_argument=yes
   7557 else
   7558   xorg_cv_cc_flag_unused_command_line_argument=no
   7559 fi
   7560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7561 fi
   7562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7563 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7564 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7565 	CFLAGS="$xorg_testset_save_CFLAGS"
   7566 fi
   7567 
   7568 found="no"
   7569 
   7570 	if test $found = "no" ; then
   7571 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7572 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7573 		fi
   7574 
   7575 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7576 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7577 		fi
   7578 
   7579 		CFLAGS="$CFLAGS -Werror=return-type"
   7580 
   7581 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7582 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7583 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7584 		if eval \${$cacheid+:} false; then :
   7585   $as_echo_n "(cached) " >&6
   7586 else
   7587   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7588 /* end confdefs.h.  */
   7589 int i;
   7590 int
   7591 main ()
   7592 {
   7593 
   7594   ;
   7595   return 0;
   7596 }
   7597 _ACEOF
   7598 if ac_fn_c_try_link "$LINENO"; then :
   7599   eval $cacheid=yes
   7600 else
   7601   eval $cacheid=no
   7602 fi
   7603 rm -f core conftest.err conftest.$ac_objext \
   7604     conftest$ac_exeext conftest.$ac_ext
   7605 fi
   7606 
   7607 
   7608 		CFLAGS="$xorg_testset_save_CFLAGS"
   7609 
   7610 		eval supported=\$$cacheid
   7611 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7612 $as_echo "$supported" >&6; }
   7613 		if test "$supported" = "yes" ; then
   7614 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7615 			found="yes"
   7616 		fi
   7617 	fi
   7618 
   7619 	if test $found = "no" ; then
   7620 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7621 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7622 		fi
   7623 
   7624 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7625 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7626 		fi
   7627 
   7628 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7629 
   7630 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7631 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7632 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7633 		if eval \${$cacheid+:} false; then :
   7634   $as_echo_n "(cached) " >&6
   7635 else
   7636   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7637 /* end confdefs.h.  */
   7638 int i;
   7639 int
   7640 main ()
   7641 {
   7642 
   7643   ;
   7644   return 0;
   7645 }
   7646 _ACEOF
   7647 if ac_fn_c_try_link "$LINENO"; then :
   7648   eval $cacheid=yes
   7649 else
   7650   eval $cacheid=no
   7651 fi
   7652 rm -f core conftest.err conftest.$ac_objext \
   7653     conftest$ac_exeext conftest.$ac_ext
   7654 fi
   7655 
   7656 
   7657 		CFLAGS="$xorg_testset_save_CFLAGS"
   7658 
   7659 		eval supported=\$$cacheid
   7660 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7661 $as_echo "$supported" >&6; }
   7662 		if test "$supported" = "yes" ; then
   7663 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7664 			found="yes"
   7665 		fi
   7666 	fi
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 
   7673 
   7674 
   7675 
   7676 
   7677 
   7678 
   7679 
   7680 
   7681 
   7682 xorg_testset_save_CFLAGS="$CFLAGS"
   7683 
   7684 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7685 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7686 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7687 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7688 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7689   $as_echo_n "(cached) " >&6
   7690 else
   7691   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7692 /* end confdefs.h.  */
   7693 int i;
   7694 _ACEOF
   7695 if ac_fn_c_try_compile "$LINENO"; then :
   7696   xorg_cv_cc_flag_unknown_warning_option=yes
   7697 else
   7698   xorg_cv_cc_flag_unknown_warning_option=no
   7699 fi
   7700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7701 fi
   7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7703 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7704 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7705 	CFLAGS="$xorg_testset_save_CFLAGS"
   7706 fi
   7707 
   7708 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7709 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7710 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7711 	fi
   7712 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7713 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7714 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7715 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7716   $as_echo_n "(cached) " >&6
   7717 else
   7718   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7719 /* end confdefs.h.  */
   7720 int i;
   7721 _ACEOF
   7722 if ac_fn_c_try_compile "$LINENO"; then :
   7723   xorg_cv_cc_flag_unused_command_line_argument=yes
   7724 else
   7725   xorg_cv_cc_flag_unused_command_line_argument=no
   7726 fi
   7727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7728 fi
   7729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7730 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7731 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7732 	CFLAGS="$xorg_testset_save_CFLAGS"
   7733 fi
   7734 
   7735 found="no"
   7736 
   7737 	if test $found = "no" ; then
   7738 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7739 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7740 		fi
   7741 
   7742 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7743 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7744 		fi
   7745 
   7746 		CFLAGS="$CFLAGS -Werror=trigraphs"
   7747 
   7748 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   7749 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   7750 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   7751 		if eval \${$cacheid+:} false; then :
   7752   $as_echo_n "(cached) " >&6
   7753 else
   7754   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7755 /* end confdefs.h.  */
   7756 int i;
   7757 int
   7758 main ()
   7759 {
   7760 
   7761   ;
   7762   return 0;
   7763 }
   7764 _ACEOF
   7765 if ac_fn_c_try_link "$LINENO"; then :
   7766   eval $cacheid=yes
   7767 else
   7768   eval $cacheid=no
   7769 fi
   7770 rm -f core conftest.err conftest.$ac_objext \
   7771     conftest$ac_exeext conftest.$ac_ext
   7772 fi
   7773 
   7774 
   7775 		CFLAGS="$xorg_testset_save_CFLAGS"
   7776 
   7777 		eval supported=\$$cacheid
   7778 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7779 $as_echo "$supported" >&6; }
   7780 		if test "$supported" = "yes" ; then
   7781 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   7782 			found="yes"
   7783 		fi
   7784 	fi
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 
   7791 
   7792 
   7793 
   7794 
   7795 
   7796 
   7797 
   7798 
   7799 
   7800 xorg_testset_save_CFLAGS="$CFLAGS"
   7801 
   7802 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7803 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7804 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7805 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7806 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7807   $as_echo_n "(cached) " >&6
   7808 else
   7809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7810 /* end confdefs.h.  */
   7811 int i;
   7812 _ACEOF
   7813 if ac_fn_c_try_compile "$LINENO"; then :
   7814   xorg_cv_cc_flag_unknown_warning_option=yes
   7815 else
   7816   xorg_cv_cc_flag_unknown_warning_option=no
   7817 fi
   7818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7819 fi
   7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7821 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7822 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7823 	CFLAGS="$xorg_testset_save_CFLAGS"
   7824 fi
   7825 
   7826 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7827 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7828 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7829 	fi
   7830 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7831 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7832 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7833 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7834   $as_echo_n "(cached) " >&6
   7835 else
   7836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7837 /* end confdefs.h.  */
   7838 int i;
   7839 _ACEOF
   7840 if ac_fn_c_try_compile "$LINENO"; then :
   7841   xorg_cv_cc_flag_unused_command_line_argument=yes
   7842 else
   7843   xorg_cv_cc_flag_unused_command_line_argument=no
   7844 fi
   7845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7846 fi
   7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7848 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7849 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7850 	CFLAGS="$xorg_testset_save_CFLAGS"
   7851 fi
   7852 
   7853 found="no"
   7854 
   7855 	if test $found = "no" ; then
   7856 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7857 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7858 		fi
   7859 
   7860 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7861 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7862 		fi
   7863 
   7864 		CFLAGS="$CFLAGS -Werror=array-bounds"
   7865 
   7866 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   7867 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   7868 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   7869 		if eval \${$cacheid+:} false; then :
   7870   $as_echo_n "(cached) " >&6
   7871 else
   7872   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7873 /* end confdefs.h.  */
   7874 int i;
   7875 int
   7876 main ()
   7877 {
   7878 
   7879   ;
   7880   return 0;
   7881 }
   7882 _ACEOF
   7883 if ac_fn_c_try_link "$LINENO"; then :
   7884   eval $cacheid=yes
   7885 else
   7886   eval $cacheid=no
   7887 fi
   7888 rm -f core conftest.err conftest.$ac_objext \
   7889     conftest$ac_exeext conftest.$ac_ext
   7890 fi
   7891 
   7892 
   7893 		CFLAGS="$xorg_testset_save_CFLAGS"
   7894 
   7895 		eval supported=\$$cacheid
   7896 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7897 $as_echo "$supported" >&6; }
   7898 		if test "$supported" = "yes" ; then
   7899 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   7900 			found="yes"
   7901 		fi
   7902 	fi
   7903 
   7904 
   7905 
   7906 
   7907 
   7908 
   7909 
   7910 
   7911 
   7912 
   7913 
   7914 
   7915 
   7916 
   7917 
   7918 xorg_testset_save_CFLAGS="$CFLAGS"
   7919 
   7920 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7921 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7922 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7923 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7924 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7925   $as_echo_n "(cached) " >&6
   7926 else
   7927   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7928 /* end confdefs.h.  */
   7929 int i;
   7930 _ACEOF
   7931 if ac_fn_c_try_compile "$LINENO"; then :
   7932   xorg_cv_cc_flag_unknown_warning_option=yes
   7933 else
   7934   xorg_cv_cc_flag_unknown_warning_option=no
   7935 fi
   7936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7937 fi
   7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7939 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7940 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7941 	CFLAGS="$xorg_testset_save_CFLAGS"
   7942 fi
   7943 
   7944 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7945 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7946 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7947 	fi
   7948 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7950 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7951 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7952   $as_echo_n "(cached) " >&6
   7953 else
   7954   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7955 /* end confdefs.h.  */
   7956 int i;
   7957 _ACEOF
   7958 if ac_fn_c_try_compile "$LINENO"; then :
   7959   xorg_cv_cc_flag_unused_command_line_argument=yes
   7960 else
   7961   xorg_cv_cc_flag_unused_command_line_argument=no
   7962 fi
   7963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7964 fi
   7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7966 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7967 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7968 	CFLAGS="$xorg_testset_save_CFLAGS"
   7969 fi
   7970 
   7971 found="no"
   7972 
   7973 	if test $found = "no" ; then
   7974 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7975 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7976 		fi
   7977 
   7978 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7979 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7980 		fi
   7981 
   7982 		CFLAGS="$CFLAGS -Werror=write-strings"
   7983 
   7984 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   7985 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   7986 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   7987 		if eval \${$cacheid+:} false; then :
   7988   $as_echo_n "(cached) " >&6
   7989 else
   7990   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7991 /* end confdefs.h.  */
   7992 int i;
   7993 int
   7994 main ()
   7995 {
   7996 
   7997   ;
   7998   return 0;
   7999 }
   8000 _ACEOF
   8001 if ac_fn_c_try_link "$LINENO"; then :
   8002   eval $cacheid=yes
   8003 else
   8004   eval $cacheid=no
   8005 fi
   8006 rm -f core conftest.err conftest.$ac_objext \
   8007     conftest$ac_exeext conftest.$ac_ext
   8008 fi
   8009 
   8010 
   8011 		CFLAGS="$xorg_testset_save_CFLAGS"
   8012 
   8013 		eval supported=\$$cacheid
   8014 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8015 $as_echo "$supported" >&6; }
   8016 		if test "$supported" = "yes" ; then
   8017 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8018 			found="yes"
   8019 		fi
   8020 	fi
   8021 
   8022 
   8023 
   8024 
   8025 
   8026 
   8027 
   8028 
   8029 
   8030 
   8031 
   8032 
   8033 
   8034 
   8035 
   8036 xorg_testset_save_CFLAGS="$CFLAGS"
   8037 
   8038 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8039 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8041 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8042 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8043   $as_echo_n "(cached) " >&6
   8044 else
   8045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8046 /* end confdefs.h.  */
   8047 int i;
   8048 _ACEOF
   8049 if ac_fn_c_try_compile "$LINENO"; then :
   8050   xorg_cv_cc_flag_unknown_warning_option=yes
   8051 else
   8052   xorg_cv_cc_flag_unknown_warning_option=no
   8053 fi
   8054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8055 fi
   8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8057 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8058 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8059 	CFLAGS="$xorg_testset_save_CFLAGS"
   8060 fi
   8061 
   8062 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8063 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8064 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8065 	fi
   8066 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8067 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8068 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8069 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8070   $as_echo_n "(cached) " >&6
   8071 else
   8072   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8073 /* end confdefs.h.  */
   8074 int i;
   8075 _ACEOF
   8076 if ac_fn_c_try_compile "$LINENO"; then :
   8077   xorg_cv_cc_flag_unused_command_line_argument=yes
   8078 else
   8079   xorg_cv_cc_flag_unused_command_line_argument=no
   8080 fi
   8081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8082 fi
   8083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8084 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8085 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8086 	CFLAGS="$xorg_testset_save_CFLAGS"
   8087 fi
   8088 
   8089 found="no"
   8090 
   8091 	if test $found = "no" ; then
   8092 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8093 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8094 		fi
   8095 
   8096 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8097 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8098 		fi
   8099 
   8100 		CFLAGS="$CFLAGS -Werror=address"
   8101 
   8102 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8103 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8104 		cacheid=xorg_cv_cc_flag__Werror_address
   8105 		if eval \${$cacheid+:} false; then :
   8106   $as_echo_n "(cached) " >&6
   8107 else
   8108   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8109 /* end confdefs.h.  */
   8110 int i;
   8111 int
   8112 main ()
   8113 {
   8114 
   8115   ;
   8116   return 0;
   8117 }
   8118 _ACEOF
   8119 if ac_fn_c_try_link "$LINENO"; then :
   8120   eval $cacheid=yes
   8121 else
   8122   eval $cacheid=no
   8123 fi
   8124 rm -f core conftest.err conftest.$ac_objext \
   8125     conftest$ac_exeext conftest.$ac_ext
   8126 fi
   8127 
   8128 
   8129 		CFLAGS="$xorg_testset_save_CFLAGS"
   8130 
   8131 		eval supported=\$$cacheid
   8132 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8133 $as_echo "$supported" >&6; }
   8134 		if test "$supported" = "yes" ; then
   8135 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8136 			found="yes"
   8137 		fi
   8138 	fi
   8139 
   8140 
   8141 
   8142 
   8143 
   8144 
   8145 
   8146 
   8147 
   8148 
   8149 
   8150 
   8151 
   8152 
   8153 
   8154 xorg_testset_save_CFLAGS="$CFLAGS"
   8155 
   8156 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8157 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8158 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8159 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8160 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8161   $as_echo_n "(cached) " >&6
   8162 else
   8163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8164 /* end confdefs.h.  */
   8165 int i;
   8166 _ACEOF
   8167 if ac_fn_c_try_compile "$LINENO"; then :
   8168   xorg_cv_cc_flag_unknown_warning_option=yes
   8169 else
   8170   xorg_cv_cc_flag_unknown_warning_option=no
   8171 fi
   8172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8173 fi
   8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8175 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8176 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8177 	CFLAGS="$xorg_testset_save_CFLAGS"
   8178 fi
   8179 
   8180 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8181 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8182 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8183 	fi
   8184 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8185 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8186 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8187 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8188   $as_echo_n "(cached) " >&6
   8189 else
   8190   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8191 /* end confdefs.h.  */
   8192 int i;
   8193 _ACEOF
   8194 if ac_fn_c_try_compile "$LINENO"; then :
   8195   xorg_cv_cc_flag_unused_command_line_argument=yes
   8196 else
   8197   xorg_cv_cc_flag_unused_command_line_argument=no
   8198 fi
   8199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8200 fi
   8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8202 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8203 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8204 	CFLAGS="$xorg_testset_save_CFLAGS"
   8205 fi
   8206 
   8207 found="no"
   8208 
   8209 	if test $found = "no" ; then
   8210 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8211 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8212 		fi
   8213 
   8214 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8215 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8216 		fi
   8217 
   8218 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8219 
   8220 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8221 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8222 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8223 		if eval \${$cacheid+:} false; then :
   8224   $as_echo_n "(cached) " >&6
   8225 else
   8226   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8227 /* end confdefs.h.  */
   8228 int i;
   8229 int
   8230 main ()
   8231 {
   8232 
   8233   ;
   8234   return 0;
   8235 }
   8236 _ACEOF
   8237 if ac_fn_c_try_link "$LINENO"; then :
   8238   eval $cacheid=yes
   8239 else
   8240   eval $cacheid=no
   8241 fi
   8242 rm -f core conftest.err conftest.$ac_objext \
   8243     conftest$ac_exeext conftest.$ac_ext
   8244 fi
   8245 
   8246 
   8247 		CFLAGS="$xorg_testset_save_CFLAGS"
   8248 
   8249 		eval supported=\$$cacheid
   8250 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8251 $as_echo "$supported" >&6; }
   8252 		if test "$supported" = "yes" ; then
   8253 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8254 			found="yes"
   8255 		fi
   8256 	fi
   8257 
   8258 	if test $found = "no" ; then
   8259 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8260 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8261 		fi
   8262 
   8263 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8264 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8265 		fi
   8266 
   8267 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8268 
   8269 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8270 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8271 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8272 		if eval \${$cacheid+:} false; then :
   8273   $as_echo_n "(cached) " >&6
   8274 else
   8275   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8276 /* end confdefs.h.  */
   8277 int i;
   8278 int
   8279 main ()
   8280 {
   8281 
   8282   ;
   8283   return 0;
   8284 }
   8285 _ACEOF
   8286 if ac_fn_c_try_link "$LINENO"; then :
   8287   eval $cacheid=yes
   8288 else
   8289   eval $cacheid=no
   8290 fi
   8291 rm -f core conftest.err conftest.$ac_objext \
   8292     conftest$ac_exeext conftest.$ac_ext
   8293 fi
   8294 
   8295 
   8296 		CFLAGS="$xorg_testset_save_CFLAGS"
   8297 
   8298 		eval supported=\$$cacheid
   8299 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8300 $as_echo "$supported" >&6; }
   8301 		if test "$supported" = "yes" ; then
   8302 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8303 			found="yes"
   8304 		fi
   8305 	fi
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 
   8312 
   8313 
   8314 
   8315 
   8316 
   8317 
   8318 
   8319 
   8320 
   8321 xorg_testset_save_CFLAGS="$CFLAGS"
   8322 
   8323 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8324 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8325 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8326 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8327 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8328   $as_echo_n "(cached) " >&6
   8329 else
   8330   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8331 /* end confdefs.h.  */
   8332 int i;
   8333 _ACEOF
   8334 if ac_fn_c_try_compile "$LINENO"; then :
   8335   xorg_cv_cc_flag_unknown_warning_option=yes
   8336 else
   8337   xorg_cv_cc_flag_unknown_warning_option=no
   8338 fi
   8339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8340 fi
   8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8342 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8343 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8344 	CFLAGS="$xorg_testset_save_CFLAGS"
   8345 fi
   8346 
   8347 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8348 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8349 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8350 	fi
   8351 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8352 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8353 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8354 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8355   $as_echo_n "(cached) " >&6
   8356 else
   8357   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8358 /* end confdefs.h.  */
   8359 int i;
   8360 _ACEOF
   8361 if ac_fn_c_try_compile "$LINENO"; then :
   8362   xorg_cv_cc_flag_unused_command_line_argument=yes
   8363 else
   8364   xorg_cv_cc_flag_unused_command_line_argument=no
   8365 fi
   8366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8367 fi
   8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8369 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8370 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8371 	CFLAGS="$xorg_testset_save_CFLAGS"
   8372 fi
   8373 
   8374 found="no"
   8375 
   8376 	if test $found = "no" ; then
   8377 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8378 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8379 		fi
   8380 
   8381 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8382 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8383 		fi
   8384 
   8385 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8386 
   8387 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8388 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8389 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8390 		if eval \${$cacheid+:} false; then :
   8391   $as_echo_n "(cached) " >&6
   8392 else
   8393   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8394 /* end confdefs.h.  */
   8395 int i;
   8396 int
   8397 main ()
   8398 {
   8399 
   8400   ;
   8401   return 0;
   8402 }
   8403 _ACEOF
   8404 if ac_fn_c_try_link "$LINENO"; then :
   8405   eval $cacheid=yes
   8406 else
   8407   eval $cacheid=no
   8408 fi
   8409 rm -f core conftest.err conftest.$ac_objext \
   8410     conftest$ac_exeext conftest.$ac_ext
   8411 fi
   8412 
   8413 
   8414 		CFLAGS="$xorg_testset_save_CFLAGS"
   8415 
   8416 		eval supported=\$$cacheid
   8417 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8418 $as_echo "$supported" >&6; }
   8419 		if test "$supported" = "yes" ; then
   8420 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8421 			found="yes"
   8422 		fi
   8423 	fi
   8424 
   8425  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8426 else
   8427 { $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
   8428 $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;}
   8429 
   8430 
   8431 
   8432 
   8433 
   8434 
   8435 
   8436 
   8437 
   8438 
   8439 
   8440 
   8441 
   8442 xorg_testset_save_CFLAGS="$CFLAGS"
   8443 
   8444 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8445 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8446 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8447 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8448 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8449   $as_echo_n "(cached) " >&6
   8450 else
   8451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8452 /* end confdefs.h.  */
   8453 int i;
   8454 _ACEOF
   8455 if ac_fn_c_try_compile "$LINENO"; then :
   8456   xorg_cv_cc_flag_unknown_warning_option=yes
   8457 else
   8458   xorg_cv_cc_flag_unknown_warning_option=no
   8459 fi
   8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8461 fi
   8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8463 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8464 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8465 	CFLAGS="$xorg_testset_save_CFLAGS"
   8466 fi
   8467 
   8468 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8469 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8470 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8471 	fi
   8472 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8473 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8474 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8475 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8476   $as_echo_n "(cached) " >&6
   8477 else
   8478   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8479 /* end confdefs.h.  */
   8480 int i;
   8481 _ACEOF
   8482 if ac_fn_c_try_compile "$LINENO"; then :
   8483   xorg_cv_cc_flag_unused_command_line_argument=yes
   8484 else
   8485   xorg_cv_cc_flag_unused_command_line_argument=no
   8486 fi
   8487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8488 fi
   8489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8490 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8491 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8492 	CFLAGS="$xorg_testset_save_CFLAGS"
   8493 fi
   8494 
   8495 found="no"
   8496 
   8497 	if test $found = "no" ; then
   8498 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8499 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8500 		fi
   8501 
   8502 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8503 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8504 		fi
   8505 
   8506 		CFLAGS="$CFLAGS -Wimplicit"
   8507 
   8508 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8509 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8510 		cacheid=xorg_cv_cc_flag__Wimplicit
   8511 		if eval \${$cacheid+:} false; then :
   8512   $as_echo_n "(cached) " >&6
   8513 else
   8514   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8515 /* end confdefs.h.  */
   8516 int i;
   8517 int
   8518 main ()
   8519 {
   8520 
   8521   ;
   8522   return 0;
   8523 }
   8524 _ACEOF
   8525 if ac_fn_c_try_link "$LINENO"; then :
   8526   eval $cacheid=yes
   8527 else
   8528   eval $cacheid=no
   8529 fi
   8530 rm -f core conftest.err conftest.$ac_objext \
   8531     conftest$ac_exeext conftest.$ac_ext
   8532 fi
   8533 
   8534 
   8535 		CFLAGS="$xorg_testset_save_CFLAGS"
   8536 
   8537 		eval supported=\$$cacheid
   8538 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8539 $as_echo "$supported" >&6; }
   8540 		if test "$supported" = "yes" ; then
   8541 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8542 			found="yes"
   8543 		fi
   8544 	fi
   8545 
   8546 
   8547 
   8548 
   8549 
   8550 
   8551 
   8552 
   8553 
   8554 
   8555 
   8556 
   8557 
   8558 
   8559 
   8560 xorg_testset_save_CFLAGS="$CFLAGS"
   8561 
   8562 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8563 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8564 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8565 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8566 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8567   $as_echo_n "(cached) " >&6
   8568 else
   8569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8570 /* end confdefs.h.  */
   8571 int i;
   8572 _ACEOF
   8573 if ac_fn_c_try_compile "$LINENO"; then :
   8574   xorg_cv_cc_flag_unknown_warning_option=yes
   8575 else
   8576   xorg_cv_cc_flag_unknown_warning_option=no
   8577 fi
   8578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8579 fi
   8580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8581 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8582 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8583 	CFLAGS="$xorg_testset_save_CFLAGS"
   8584 fi
   8585 
   8586 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8587 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8588 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8589 	fi
   8590 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8591 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8592 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8593 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8594   $as_echo_n "(cached) " >&6
   8595 else
   8596   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8597 /* end confdefs.h.  */
   8598 int i;
   8599 _ACEOF
   8600 if ac_fn_c_try_compile "$LINENO"; then :
   8601   xorg_cv_cc_flag_unused_command_line_argument=yes
   8602 else
   8603   xorg_cv_cc_flag_unused_command_line_argument=no
   8604 fi
   8605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8606 fi
   8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8608 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8609 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8610 	CFLAGS="$xorg_testset_save_CFLAGS"
   8611 fi
   8612 
   8613 found="no"
   8614 
   8615 	if test $found = "no" ; then
   8616 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8617 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8618 		fi
   8619 
   8620 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8621 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8622 		fi
   8623 
   8624 		CFLAGS="$CFLAGS -Wnonnull"
   8625 
   8626 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8627 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8628 		cacheid=xorg_cv_cc_flag__Wnonnull
   8629 		if eval \${$cacheid+:} false; then :
   8630   $as_echo_n "(cached) " >&6
   8631 else
   8632   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8633 /* end confdefs.h.  */
   8634 int i;
   8635 int
   8636 main ()
   8637 {
   8638 
   8639   ;
   8640   return 0;
   8641 }
   8642 _ACEOF
   8643 if ac_fn_c_try_link "$LINENO"; then :
   8644   eval $cacheid=yes
   8645 else
   8646   eval $cacheid=no
   8647 fi
   8648 rm -f core conftest.err conftest.$ac_objext \
   8649     conftest$ac_exeext conftest.$ac_ext
   8650 fi
   8651 
   8652 
   8653 		CFLAGS="$xorg_testset_save_CFLAGS"
   8654 
   8655 		eval supported=\$$cacheid
   8656 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8657 $as_echo "$supported" >&6; }
   8658 		if test "$supported" = "yes" ; then
   8659 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8660 			found="yes"
   8661 		fi
   8662 	fi
   8663 
   8664 
   8665 
   8666 
   8667 
   8668 
   8669 
   8670 
   8671 
   8672 
   8673 
   8674 
   8675 
   8676 
   8677 
   8678 xorg_testset_save_CFLAGS="$CFLAGS"
   8679 
   8680 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8681 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8682 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8683 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8684 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8685   $as_echo_n "(cached) " >&6
   8686 else
   8687   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8688 /* end confdefs.h.  */
   8689 int i;
   8690 _ACEOF
   8691 if ac_fn_c_try_compile "$LINENO"; then :
   8692   xorg_cv_cc_flag_unknown_warning_option=yes
   8693 else
   8694   xorg_cv_cc_flag_unknown_warning_option=no
   8695 fi
   8696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8697 fi
   8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8699 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8700 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8701 	CFLAGS="$xorg_testset_save_CFLAGS"
   8702 fi
   8703 
   8704 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8705 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8706 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8707 	fi
   8708 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8709 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8710 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8711 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8712   $as_echo_n "(cached) " >&6
   8713 else
   8714   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8715 /* end confdefs.h.  */
   8716 int i;
   8717 _ACEOF
   8718 if ac_fn_c_try_compile "$LINENO"; then :
   8719   xorg_cv_cc_flag_unused_command_line_argument=yes
   8720 else
   8721   xorg_cv_cc_flag_unused_command_line_argument=no
   8722 fi
   8723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8724 fi
   8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8726 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8727 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8728 	CFLAGS="$xorg_testset_save_CFLAGS"
   8729 fi
   8730 
   8731 found="no"
   8732 
   8733 	if test $found = "no" ; then
   8734 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8735 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8736 		fi
   8737 
   8738 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8739 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8740 		fi
   8741 
   8742 		CFLAGS="$CFLAGS -Winit-self"
   8743 
   8744 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   8745 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   8746 		cacheid=xorg_cv_cc_flag__Winit_self
   8747 		if eval \${$cacheid+:} false; then :
   8748   $as_echo_n "(cached) " >&6
   8749 else
   8750   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8751 /* end confdefs.h.  */
   8752 int i;
   8753 int
   8754 main ()
   8755 {
   8756 
   8757   ;
   8758   return 0;
   8759 }
   8760 _ACEOF
   8761 if ac_fn_c_try_link "$LINENO"; then :
   8762   eval $cacheid=yes
   8763 else
   8764   eval $cacheid=no
   8765 fi
   8766 rm -f core conftest.err conftest.$ac_objext \
   8767     conftest$ac_exeext conftest.$ac_ext
   8768 fi
   8769 
   8770 
   8771 		CFLAGS="$xorg_testset_save_CFLAGS"
   8772 
   8773 		eval supported=\$$cacheid
   8774 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8775 $as_echo "$supported" >&6; }
   8776 		if test "$supported" = "yes" ; then
   8777 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   8778 			found="yes"
   8779 		fi
   8780 	fi
   8781 
   8782 
   8783 
   8784 
   8785 
   8786 
   8787 
   8788 
   8789 
   8790 
   8791 
   8792 
   8793 
   8794 
   8795 
   8796 xorg_testset_save_CFLAGS="$CFLAGS"
   8797 
   8798 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8799 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8800 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8801 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8802 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8803   $as_echo_n "(cached) " >&6
   8804 else
   8805   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8806 /* end confdefs.h.  */
   8807 int i;
   8808 _ACEOF
   8809 if ac_fn_c_try_compile "$LINENO"; then :
   8810   xorg_cv_cc_flag_unknown_warning_option=yes
   8811 else
   8812   xorg_cv_cc_flag_unknown_warning_option=no
   8813 fi
   8814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8815 fi
   8816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8817 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8818 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8819 	CFLAGS="$xorg_testset_save_CFLAGS"
   8820 fi
   8821 
   8822 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8823 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8824 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8825 	fi
   8826 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8827 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8828 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8829 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8830   $as_echo_n "(cached) " >&6
   8831 else
   8832   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8833 /* end confdefs.h.  */
   8834 int i;
   8835 _ACEOF
   8836 if ac_fn_c_try_compile "$LINENO"; then :
   8837   xorg_cv_cc_flag_unused_command_line_argument=yes
   8838 else
   8839   xorg_cv_cc_flag_unused_command_line_argument=no
   8840 fi
   8841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8842 fi
   8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8844 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8845 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8846 	CFLAGS="$xorg_testset_save_CFLAGS"
   8847 fi
   8848 
   8849 found="no"
   8850 
   8851 	if test $found = "no" ; then
   8852 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8853 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8854 		fi
   8855 
   8856 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8857 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8858 		fi
   8859 
   8860 		CFLAGS="$CFLAGS -Wmain"
   8861 
   8862 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   8863 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   8864 		cacheid=xorg_cv_cc_flag__Wmain
   8865 		if eval \${$cacheid+:} false; then :
   8866   $as_echo_n "(cached) " >&6
   8867 else
   8868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8869 /* end confdefs.h.  */
   8870 int i;
   8871 int
   8872 main ()
   8873 {
   8874 
   8875   ;
   8876   return 0;
   8877 }
   8878 _ACEOF
   8879 if ac_fn_c_try_link "$LINENO"; then :
   8880   eval $cacheid=yes
   8881 else
   8882   eval $cacheid=no
   8883 fi
   8884 rm -f core conftest.err conftest.$ac_objext \
   8885     conftest$ac_exeext conftest.$ac_ext
   8886 fi
   8887 
   8888 
   8889 		CFLAGS="$xorg_testset_save_CFLAGS"
   8890 
   8891 		eval supported=\$$cacheid
   8892 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8893 $as_echo "$supported" >&6; }
   8894 		if test "$supported" = "yes" ; then
   8895 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   8896 			found="yes"
   8897 		fi
   8898 	fi
   8899 
   8900 
   8901 
   8902 
   8903 
   8904 
   8905 
   8906 
   8907 
   8908 
   8909 
   8910 
   8911 
   8912 
   8913 
   8914 xorg_testset_save_CFLAGS="$CFLAGS"
   8915 
   8916 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8917 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8918 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8919 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8920 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8921   $as_echo_n "(cached) " >&6
   8922 else
   8923   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8924 /* end confdefs.h.  */
   8925 int i;
   8926 _ACEOF
   8927 if ac_fn_c_try_compile "$LINENO"; then :
   8928   xorg_cv_cc_flag_unknown_warning_option=yes
   8929 else
   8930   xorg_cv_cc_flag_unknown_warning_option=no
   8931 fi
   8932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8933 fi
   8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8935 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8936 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8937 	CFLAGS="$xorg_testset_save_CFLAGS"
   8938 fi
   8939 
   8940 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8941 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8942 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8943 	fi
   8944 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8945 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8946 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8947 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8948   $as_echo_n "(cached) " >&6
   8949 else
   8950   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8951 /* end confdefs.h.  */
   8952 int i;
   8953 _ACEOF
   8954 if ac_fn_c_try_compile "$LINENO"; then :
   8955   xorg_cv_cc_flag_unused_command_line_argument=yes
   8956 else
   8957   xorg_cv_cc_flag_unused_command_line_argument=no
   8958 fi
   8959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8960 fi
   8961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8962 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8963 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8964 	CFLAGS="$xorg_testset_save_CFLAGS"
   8965 fi
   8966 
   8967 found="no"
   8968 
   8969 	if test $found = "no" ; then
   8970 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8971 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8972 		fi
   8973 
   8974 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8975 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8976 		fi
   8977 
   8978 		CFLAGS="$CFLAGS -Wmissing-braces"
   8979 
   8980 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   8981 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   8982 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   8983 		if eval \${$cacheid+:} false; then :
   8984   $as_echo_n "(cached) " >&6
   8985 else
   8986   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8987 /* end confdefs.h.  */
   8988 int i;
   8989 int
   8990 main ()
   8991 {
   8992 
   8993   ;
   8994   return 0;
   8995 }
   8996 _ACEOF
   8997 if ac_fn_c_try_link "$LINENO"; then :
   8998   eval $cacheid=yes
   8999 else
   9000   eval $cacheid=no
   9001 fi
   9002 rm -f core conftest.err conftest.$ac_objext \
   9003     conftest$ac_exeext conftest.$ac_ext
   9004 fi
   9005 
   9006 
   9007 		CFLAGS="$xorg_testset_save_CFLAGS"
   9008 
   9009 		eval supported=\$$cacheid
   9010 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9011 $as_echo "$supported" >&6; }
   9012 		if test "$supported" = "yes" ; then
   9013 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9014 			found="yes"
   9015 		fi
   9016 	fi
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 xorg_testset_save_CFLAGS="$CFLAGS"
   9033 
   9034 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9035 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9036 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9037 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9038 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9039   $as_echo_n "(cached) " >&6
   9040 else
   9041   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9042 /* end confdefs.h.  */
   9043 int i;
   9044 _ACEOF
   9045 if ac_fn_c_try_compile "$LINENO"; then :
   9046   xorg_cv_cc_flag_unknown_warning_option=yes
   9047 else
   9048   xorg_cv_cc_flag_unknown_warning_option=no
   9049 fi
   9050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9051 fi
   9052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9053 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9054 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9055 	CFLAGS="$xorg_testset_save_CFLAGS"
   9056 fi
   9057 
   9058 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9059 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9060 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9061 	fi
   9062 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9063 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9064 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9065 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9066   $as_echo_n "(cached) " >&6
   9067 else
   9068   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9069 /* end confdefs.h.  */
   9070 int i;
   9071 _ACEOF
   9072 if ac_fn_c_try_compile "$LINENO"; then :
   9073   xorg_cv_cc_flag_unused_command_line_argument=yes
   9074 else
   9075   xorg_cv_cc_flag_unused_command_line_argument=no
   9076 fi
   9077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9078 fi
   9079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9080 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9081 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9082 	CFLAGS="$xorg_testset_save_CFLAGS"
   9083 fi
   9084 
   9085 found="no"
   9086 
   9087 	if test $found = "no" ; then
   9088 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9089 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9090 		fi
   9091 
   9092 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9093 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9094 		fi
   9095 
   9096 		CFLAGS="$CFLAGS -Wsequence-point"
   9097 
   9098 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9099 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9100 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9101 		if eval \${$cacheid+:} false; then :
   9102   $as_echo_n "(cached) " >&6
   9103 else
   9104   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9105 /* end confdefs.h.  */
   9106 int i;
   9107 int
   9108 main ()
   9109 {
   9110 
   9111   ;
   9112   return 0;
   9113 }
   9114 _ACEOF
   9115 if ac_fn_c_try_link "$LINENO"; then :
   9116   eval $cacheid=yes
   9117 else
   9118   eval $cacheid=no
   9119 fi
   9120 rm -f core conftest.err conftest.$ac_objext \
   9121     conftest$ac_exeext conftest.$ac_ext
   9122 fi
   9123 
   9124 
   9125 		CFLAGS="$xorg_testset_save_CFLAGS"
   9126 
   9127 		eval supported=\$$cacheid
   9128 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9129 $as_echo "$supported" >&6; }
   9130 		if test "$supported" = "yes" ; then
   9131 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9132 			found="yes"
   9133 		fi
   9134 	fi
   9135 
   9136 
   9137 
   9138 
   9139 
   9140 
   9141 
   9142 
   9143 
   9144 
   9145 
   9146 
   9147 
   9148 
   9149 
   9150 xorg_testset_save_CFLAGS="$CFLAGS"
   9151 
   9152 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9153 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9154 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9155 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9156 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9157   $as_echo_n "(cached) " >&6
   9158 else
   9159   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9160 /* end confdefs.h.  */
   9161 int i;
   9162 _ACEOF
   9163 if ac_fn_c_try_compile "$LINENO"; then :
   9164   xorg_cv_cc_flag_unknown_warning_option=yes
   9165 else
   9166   xorg_cv_cc_flag_unknown_warning_option=no
   9167 fi
   9168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9169 fi
   9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9171 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9172 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9173 	CFLAGS="$xorg_testset_save_CFLAGS"
   9174 fi
   9175 
   9176 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9177 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9178 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9179 	fi
   9180 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9181 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9182 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9183 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9184   $as_echo_n "(cached) " >&6
   9185 else
   9186   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9187 /* end confdefs.h.  */
   9188 int i;
   9189 _ACEOF
   9190 if ac_fn_c_try_compile "$LINENO"; then :
   9191   xorg_cv_cc_flag_unused_command_line_argument=yes
   9192 else
   9193   xorg_cv_cc_flag_unused_command_line_argument=no
   9194 fi
   9195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9196 fi
   9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9198 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9199 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9200 	CFLAGS="$xorg_testset_save_CFLAGS"
   9201 fi
   9202 
   9203 found="no"
   9204 
   9205 	if test $found = "no" ; then
   9206 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9207 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9208 		fi
   9209 
   9210 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9211 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9212 		fi
   9213 
   9214 		CFLAGS="$CFLAGS -Wreturn-type"
   9215 
   9216 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9217 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9218 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9219 		if eval \${$cacheid+:} false; then :
   9220   $as_echo_n "(cached) " >&6
   9221 else
   9222   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9223 /* end confdefs.h.  */
   9224 int i;
   9225 int
   9226 main ()
   9227 {
   9228 
   9229   ;
   9230   return 0;
   9231 }
   9232 _ACEOF
   9233 if ac_fn_c_try_link "$LINENO"; then :
   9234   eval $cacheid=yes
   9235 else
   9236   eval $cacheid=no
   9237 fi
   9238 rm -f core conftest.err conftest.$ac_objext \
   9239     conftest$ac_exeext conftest.$ac_ext
   9240 fi
   9241 
   9242 
   9243 		CFLAGS="$xorg_testset_save_CFLAGS"
   9244 
   9245 		eval supported=\$$cacheid
   9246 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9247 $as_echo "$supported" >&6; }
   9248 		if test "$supported" = "yes" ; then
   9249 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9250 			found="yes"
   9251 		fi
   9252 	fi
   9253 
   9254 
   9255 
   9256 
   9257 
   9258 
   9259 
   9260 
   9261 
   9262 
   9263 
   9264 
   9265 
   9266 
   9267 
   9268 xorg_testset_save_CFLAGS="$CFLAGS"
   9269 
   9270 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9271 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9272 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9273 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9274 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9275   $as_echo_n "(cached) " >&6
   9276 else
   9277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9278 /* end confdefs.h.  */
   9279 int i;
   9280 _ACEOF
   9281 if ac_fn_c_try_compile "$LINENO"; then :
   9282   xorg_cv_cc_flag_unknown_warning_option=yes
   9283 else
   9284   xorg_cv_cc_flag_unknown_warning_option=no
   9285 fi
   9286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9287 fi
   9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9289 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9290 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9291 	CFLAGS="$xorg_testset_save_CFLAGS"
   9292 fi
   9293 
   9294 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9295 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9296 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9297 	fi
   9298 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9299 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9300 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9301 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9302   $as_echo_n "(cached) " >&6
   9303 else
   9304   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9305 /* end confdefs.h.  */
   9306 int i;
   9307 _ACEOF
   9308 if ac_fn_c_try_compile "$LINENO"; then :
   9309   xorg_cv_cc_flag_unused_command_line_argument=yes
   9310 else
   9311   xorg_cv_cc_flag_unused_command_line_argument=no
   9312 fi
   9313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9314 fi
   9315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9316 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9317 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9318 	CFLAGS="$xorg_testset_save_CFLAGS"
   9319 fi
   9320 
   9321 found="no"
   9322 
   9323 	if test $found = "no" ; then
   9324 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9325 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9326 		fi
   9327 
   9328 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9329 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9330 		fi
   9331 
   9332 		CFLAGS="$CFLAGS -Wtrigraphs"
   9333 
   9334 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9335 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9336 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9337 		if eval \${$cacheid+:} false; then :
   9338   $as_echo_n "(cached) " >&6
   9339 else
   9340   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9341 /* end confdefs.h.  */
   9342 int i;
   9343 int
   9344 main ()
   9345 {
   9346 
   9347   ;
   9348   return 0;
   9349 }
   9350 _ACEOF
   9351 if ac_fn_c_try_link "$LINENO"; then :
   9352   eval $cacheid=yes
   9353 else
   9354   eval $cacheid=no
   9355 fi
   9356 rm -f core conftest.err conftest.$ac_objext \
   9357     conftest$ac_exeext conftest.$ac_ext
   9358 fi
   9359 
   9360 
   9361 		CFLAGS="$xorg_testset_save_CFLAGS"
   9362 
   9363 		eval supported=\$$cacheid
   9364 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9365 $as_echo "$supported" >&6; }
   9366 		if test "$supported" = "yes" ; then
   9367 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9368 			found="yes"
   9369 		fi
   9370 	fi
   9371 
   9372 
   9373 
   9374 
   9375 
   9376 
   9377 
   9378 
   9379 
   9380 
   9381 
   9382 
   9383 
   9384 
   9385 
   9386 xorg_testset_save_CFLAGS="$CFLAGS"
   9387 
   9388 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9389 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9390 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9391 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9392 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9393   $as_echo_n "(cached) " >&6
   9394 else
   9395   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9396 /* end confdefs.h.  */
   9397 int i;
   9398 _ACEOF
   9399 if ac_fn_c_try_compile "$LINENO"; then :
   9400   xorg_cv_cc_flag_unknown_warning_option=yes
   9401 else
   9402   xorg_cv_cc_flag_unknown_warning_option=no
   9403 fi
   9404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9405 fi
   9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9407 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9408 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9409 	CFLAGS="$xorg_testset_save_CFLAGS"
   9410 fi
   9411 
   9412 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9413 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9414 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9415 	fi
   9416 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9417 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9418 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9419 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9420   $as_echo_n "(cached) " >&6
   9421 else
   9422   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9423 /* end confdefs.h.  */
   9424 int i;
   9425 _ACEOF
   9426 if ac_fn_c_try_compile "$LINENO"; then :
   9427   xorg_cv_cc_flag_unused_command_line_argument=yes
   9428 else
   9429   xorg_cv_cc_flag_unused_command_line_argument=no
   9430 fi
   9431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9432 fi
   9433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9434 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9435 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9436 	CFLAGS="$xorg_testset_save_CFLAGS"
   9437 fi
   9438 
   9439 found="no"
   9440 
   9441 	if test $found = "no" ; then
   9442 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9443 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9444 		fi
   9445 
   9446 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9447 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9448 		fi
   9449 
   9450 		CFLAGS="$CFLAGS -Warray-bounds"
   9451 
   9452 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9453 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9454 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9455 		if eval \${$cacheid+:} false; then :
   9456   $as_echo_n "(cached) " >&6
   9457 else
   9458   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9459 /* end confdefs.h.  */
   9460 int i;
   9461 int
   9462 main ()
   9463 {
   9464 
   9465   ;
   9466   return 0;
   9467 }
   9468 _ACEOF
   9469 if ac_fn_c_try_link "$LINENO"; then :
   9470   eval $cacheid=yes
   9471 else
   9472   eval $cacheid=no
   9473 fi
   9474 rm -f core conftest.err conftest.$ac_objext \
   9475     conftest$ac_exeext conftest.$ac_ext
   9476 fi
   9477 
   9478 
   9479 		CFLAGS="$xorg_testset_save_CFLAGS"
   9480 
   9481 		eval supported=\$$cacheid
   9482 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9483 $as_echo "$supported" >&6; }
   9484 		if test "$supported" = "yes" ; then
   9485 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9486 			found="yes"
   9487 		fi
   9488 	fi
   9489 
   9490 
   9491 
   9492 
   9493 
   9494 
   9495 
   9496 
   9497 
   9498 
   9499 
   9500 
   9501 
   9502 
   9503 
   9504 xorg_testset_save_CFLAGS="$CFLAGS"
   9505 
   9506 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9507 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9508 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9509 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9510 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9511   $as_echo_n "(cached) " >&6
   9512 else
   9513   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9514 /* end confdefs.h.  */
   9515 int i;
   9516 _ACEOF
   9517 if ac_fn_c_try_compile "$LINENO"; then :
   9518   xorg_cv_cc_flag_unknown_warning_option=yes
   9519 else
   9520   xorg_cv_cc_flag_unknown_warning_option=no
   9521 fi
   9522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9523 fi
   9524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9525 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9526 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9527 	CFLAGS="$xorg_testset_save_CFLAGS"
   9528 fi
   9529 
   9530 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9531 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9532 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9533 	fi
   9534 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9535 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9536 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9537 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9538   $as_echo_n "(cached) " >&6
   9539 else
   9540   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9541 /* end confdefs.h.  */
   9542 int i;
   9543 _ACEOF
   9544 if ac_fn_c_try_compile "$LINENO"; then :
   9545   xorg_cv_cc_flag_unused_command_line_argument=yes
   9546 else
   9547   xorg_cv_cc_flag_unused_command_line_argument=no
   9548 fi
   9549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9550 fi
   9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9552 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9553 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9554 	CFLAGS="$xorg_testset_save_CFLAGS"
   9555 fi
   9556 
   9557 found="no"
   9558 
   9559 	if test $found = "no" ; then
   9560 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9561 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9562 		fi
   9563 
   9564 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9565 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9566 		fi
   9567 
   9568 		CFLAGS="$CFLAGS -Wwrite-strings"
   9569 
   9570 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9571 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9572 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9573 		if eval \${$cacheid+:} false; then :
   9574   $as_echo_n "(cached) " >&6
   9575 else
   9576   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9577 /* end confdefs.h.  */
   9578 int i;
   9579 int
   9580 main ()
   9581 {
   9582 
   9583   ;
   9584   return 0;
   9585 }
   9586 _ACEOF
   9587 if ac_fn_c_try_link "$LINENO"; then :
   9588   eval $cacheid=yes
   9589 else
   9590   eval $cacheid=no
   9591 fi
   9592 rm -f core conftest.err conftest.$ac_objext \
   9593     conftest$ac_exeext conftest.$ac_ext
   9594 fi
   9595 
   9596 
   9597 		CFLAGS="$xorg_testset_save_CFLAGS"
   9598 
   9599 		eval supported=\$$cacheid
   9600 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9601 $as_echo "$supported" >&6; }
   9602 		if test "$supported" = "yes" ; then
   9603 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9604 			found="yes"
   9605 		fi
   9606 	fi
   9607 
   9608 
   9609 
   9610 
   9611 
   9612 
   9613 
   9614 
   9615 
   9616 
   9617 
   9618 
   9619 
   9620 
   9621 
   9622 xorg_testset_save_CFLAGS="$CFLAGS"
   9623 
   9624 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9625 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9626 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9627 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9628 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9629   $as_echo_n "(cached) " >&6
   9630 else
   9631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9632 /* end confdefs.h.  */
   9633 int i;
   9634 _ACEOF
   9635 if ac_fn_c_try_compile "$LINENO"; then :
   9636   xorg_cv_cc_flag_unknown_warning_option=yes
   9637 else
   9638   xorg_cv_cc_flag_unknown_warning_option=no
   9639 fi
   9640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9641 fi
   9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9643 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9644 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9645 	CFLAGS="$xorg_testset_save_CFLAGS"
   9646 fi
   9647 
   9648 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9649 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9650 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9651 	fi
   9652 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9653 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9654 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9655 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9656   $as_echo_n "(cached) " >&6
   9657 else
   9658   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9659 /* end confdefs.h.  */
   9660 int i;
   9661 _ACEOF
   9662 if ac_fn_c_try_compile "$LINENO"; then :
   9663   xorg_cv_cc_flag_unused_command_line_argument=yes
   9664 else
   9665   xorg_cv_cc_flag_unused_command_line_argument=no
   9666 fi
   9667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9668 fi
   9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9670 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9671 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9672 	CFLAGS="$xorg_testset_save_CFLAGS"
   9673 fi
   9674 
   9675 found="no"
   9676 
   9677 	if test $found = "no" ; then
   9678 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9679 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9680 		fi
   9681 
   9682 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9683 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9684 		fi
   9685 
   9686 		CFLAGS="$CFLAGS -Waddress"
   9687 
   9688 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9689 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9690 		cacheid=xorg_cv_cc_flag__Waddress
   9691 		if eval \${$cacheid+:} false; then :
   9692   $as_echo_n "(cached) " >&6
   9693 else
   9694   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9695 /* end confdefs.h.  */
   9696 int i;
   9697 int
   9698 main ()
   9699 {
   9700 
   9701   ;
   9702   return 0;
   9703 }
   9704 _ACEOF
   9705 if ac_fn_c_try_link "$LINENO"; then :
   9706   eval $cacheid=yes
   9707 else
   9708   eval $cacheid=no
   9709 fi
   9710 rm -f core conftest.err conftest.$ac_objext \
   9711     conftest$ac_exeext conftest.$ac_ext
   9712 fi
   9713 
   9714 
   9715 		CFLAGS="$xorg_testset_save_CFLAGS"
   9716 
   9717 		eval supported=\$$cacheid
   9718 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9719 $as_echo "$supported" >&6; }
   9720 		if test "$supported" = "yes" ; then
   9721 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9722 			found="yes"
   9723 		fi
   9724 	fi
   9725 
   9726 
   9727 
   9728 
   9729 
   9730 
   9731 
   9732 
   9733 
   9734 
   9735 
   9736 
   9737 
   9738 
   9739 
   9740 xorg_testset_save_CFLAGS="$CFLAGS"
   9741 
   9742 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9743 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9744 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9745 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9746 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9747   $as_echo_n "(cached) " >&6
   9748 else
   9749   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9750 /* end confdefs.h.  */
   9751 int i;
   9752 _ACEOF
   9753 if ac_fn_c_try_compile "$LINENO"; then :
   9754   xorg_cv_cc_flag_unknown_warning_option=yes
   9755 else
   9756   xorg_cv_cc_flag_unknown_warning_option=no
   9757 fi
   9758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9759 fi
   9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9761 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9762 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9763 	CFLAGS="$xorg_testset_save_CFLAGS"
   9764 fi
   9765 
   9766 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9767 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9768 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9769 	fi
   9770 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9771 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9772 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9773 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9774   $as_echo_n "(cached) " >&6
   9775 else
   9776   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9777 /* end confdefs.h.  */
   9778 int i;
   9779 _ACEOF
   9780 if ac_fn_c_try_compile "$LINENO"; then :
   9781   xorg_cv_cc_flag_unused_command_line_argument=yes
   9782 else
   9783   xorg_cv_cc_flag_unused_command_line_argument=no
   9784 fi
   9785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9786 fi
   9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9788 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9789 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9790 	CFLAGS="$xorg_testset_save_CFLAGS"
   9791 fi
   9792 
   9793 found="no"
   9794 
   9795 	if test $found = "no" ; then
   9796 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9797 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9798 		fi
   9799 
   9800 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9801 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9802 		fi
   9803 
   9804 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   9805 
   9806 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   9807 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   9808 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   9809 		if eval \${$cacheid+:} false; then :
   9810   $as_echo_n "(cached) " >&6
   9811 else
   9812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9813 /* end confdefs.h.  */
   9814 int i;
   9815 int
   9816 main ()
   9817 {
   9818 
   9819   ;
   9820   return 0;
   9821 }
   9822 _ACEOF
   9823 if ac_fn_c_try_link "$LINENO"; then :
   9824   eval $cacheid=yes
   9825 else
   9826   eval $cacheid=no
   9827 fi
   9828 rm -f core conftest.err conftest.$ac_objext \
   9829     conftest$ac_exeext conftest.$ac_ext
   9830 fi
   9831 
   9832 
   9833 		CFLAGS="$xorg_testset_save_CFLAGS"
   9834 
   9835 		eval supported=\$$cacheid
   9836 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9837 $as_echo "$supported" >&6; }
   9838 		if test "$supported" = "yes" ; then
   9839 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   9840 			found="yes"
   9841 		fi
   9842 	fi
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 xorg_testset_save_CFLAGS="$CFLAGS"
   9859 
   9860 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9861 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9862 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9863 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9864 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9865   $as_echo_n "(cached) " >&6
   9866 else
   9867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9868 /* end confdefs.h.  */
   9869 int i;
   9870 _ACEOF
   9871 if ac_fn_c_try_compile "$LINENO"; then :
   9872   xorg_cv_cc_flag_unknown_warning_option=yes
   9873 else
   9874   xorg_cv_cc_flag_unknown_warning_option=no
   9875 fi
   9876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9877 fi
   9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9879 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9880 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9881 	CFLAGS="$xorg_testset_save_CFLAGS"
   9882 fi
   9883 
   9884 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9885 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9886 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9887 	fi
   9888 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9889 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9890 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9891 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9892   $as_echo_n "(cached) " >&6
   9893 else
   9894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9895 /* end confdefs.h.  */
   9896 int i;
   9897 _ACEOF
   9898 if ac_fn_c_try_compile "$LINENO"; then :
   9899   xorg_cv_cc_flag_unused_command_line_argument=yes
   9900 else
   9901   xorg_cv_cc_flag_unused_command_line_argument=no
   9902 fi
   9903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9904 fi
   9905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9906 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9907 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9908 	CFLAGS="$xorg_testset_save_CFLAGS"
   9909 fi
   9910 
   9911 found="no"
   9912 
   9913 	if test $found = "no" ; then
   9914 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9915 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9916 		fi
   9917 
   9918 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9919 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9920 		fi
   9921 
   9922 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   9923 
   9924 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   9925 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   9926 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   9927 		if eval \${$cacheid+:} false; then :
   9928   $as_echo_n "(cached) " >&6
   9929 else
   9930   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9931 /* end confdefs.h.  */
   9932 int i;
   9933 int
   9934 main ()
   9935 {
   9936 
   9937   ;
   9938   return 0;
   9939 }
   9940 _ACEOF
   9941 if ac_fn_c_try_link "$LINENO"; then :
   9942   eval $cacheid=yes
   9943 else
   9944   eval $cacheid=no
   9945 fi
   9946 rm -f core conftest.err conftest.$ac_objext \
   9947     conftest$ac_exeext conftest.$ac_ext
   9948 fi
   9949 
   9950 
   9951 		CFLAGS="$xorg_testset_save_CFLAGS"
   9952 
   9953 		eval supported=\$$cacheid
   9954 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9955 $as_echo "$supported" >&6; }
   9956 		if test "$supported" = "yes" ; then
   9957 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   9958 			found="yes"
   9959 		fi
   9960 	fi
   9961 
   9962 
   9963 fi
   9964 
   9965 
   9966 
   9967 
   9968 
   9969 
   9970 
   9971 		CWARNFLAGS="$BASE_CFLAGS"
   9972 		if  test "x$GCC" = xyes ; then
   9973 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   9974 		fi
   9975 
   9976 
   9977 
   9978 
   9979 
   9980 
   9981 
   9982 
   9983 # Check whether --enable-strict-compilation was given.
   9984 if test "${enable_strict_compilation+set}" = set; then :
   9985   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   9986 else
   9987   STRICT_COMPILE=no
   9988 fi
   9989 
   9990 
   9991 
   9992 
   9993 
   9994 
   9995 STRICT_CFLAGS=""
   9996 
   9997 
   9998 
   9999 
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 xorg_testset_save_CFLAGS="$CFLAGS"
   10010 
   10011 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10012 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10013 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10014 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10015 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10016   $as_echo_n "(cached) " >&6
   10017 else
   10018   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10019 /* end confdefs.h.  */
   10020 int i;
   10021 _ACEOF
   10022 if ac_fn_c_try_compile "$LINENO"; then :
   10023   xorg_cv_cc_flag_unknown_warning_option=yes
   10024 else
   10025   xorg_cv_cc_flag_unknown_warning_option=no
   10026 fi
   10027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10028 fi
   10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10030 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10031 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10032 	CFLAGS="$xorg_testset_save_CFLAGS"
   10033 fi
   10034 
   10035 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10036 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10037 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10038 	fi
   10039 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10040 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10041 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10042 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10043   $as_echo_n "(cached) " >&6
   10044 else
   10045   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10046 /* end confdefs.h.  */
   10047 int i;
   10048 _ACEOF
   10049 if ac_fn_c_try_compile "$LINENO"; then :
   10050   xorg_cv_cc_flag_unused_command_line_argument=yes
   10051 else
   10052   xorg_cv_cc_flag_unused_command_line_argument=no
   10053 fi
   10054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10055 fi
   10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10057 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10058 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10059 	CFLAGS="$xorg_testset_save_CFLAGS"
   10060 fi
   10061 
   10062 found="no"
   10063 
   10064 	if test $found = "no" ; then
   10065 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10066 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10067 		fi
   10068 
   10069 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10070 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10071 		fi
   10072 
   10073 		CFLAGS="$CFLAGS -pedantic"
   10074 
   10075 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10076 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10077 		cacheid=xorg_cv_cc_flag__pedantic
   10078 		if eval \${$cacheid+:} false; then :
   10079   $as_echo_n "(cached) " >&6
   10080 else
   10081   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10082 /* end confdefs.h.  */
   10083 int i;
   10084 int
   10085 main ()
   10086 {
   10087 
   10088   ;
   10089   return 0;
   10090 }
   10091 _ACEOF
   10092 if ac_fn_c_try_link "$LINENO"; then :
   10093   eval $cacheid=yes
   10094 else
   10095   eval $cacheid=no
   10096 fi
   10097 rm -f core conftest.err conftest.$ac_objext \
   10098     conftest$ac_exeext conftest.$ac_ext
   10099 fi
   10100 
   10101 
   10102 		CFLAGS="$xorg_testset_save_CFLAGS"
   10103 
   10104 		eval supported=\$$cacheid
   10105 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10106 $as_echo "$supported" >&6; }
   10107 		if test "$supported" = "yes" ; then
   10108 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10109 			found="yes"
   10110 		fi
   10111 	fi
   10112 
   10113 
   10114 
   10115 
   10116 
   10117 
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 xorg_testset_save_CFLAGS="$CFLAGS"
   10128 
   10129 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10130 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10131 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10132 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10133 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10134   $as_echo_n "(cached) " >&6
   10135 else
   10136   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10137 /* end confdefs.h.  */
   10138 int i;
   10139 _ACEOF
   10140 if ac_fn_c_try_compile "$LINENO"; then :
   10141   xorg_cv_cc_flag_unknown_warning_option=yes
   10142 else
   10143   xorg_cv_cc_flag_unknown_warning_option=no
   10144 fi
   10145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10146 fi
   10147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10148 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10149 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10150 	CFLAGS="$xorg_testset_save_CFLAGS"
   10151 fi
   10152 
   10153 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10154 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10155 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10156 	fi
   10157 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10158 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10159 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10160 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10161   $as_echo_n "(cached) " >&6
   10162 else
   10163   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10164 /* end confdefs.h.  */
   10165 int i;
   10166 _ACEOF
   10167 if ac_fn_c_try_compile "$LINENO"; then :
   10168   xorg_cv_cc_flag_unused_command_line_argument=yes
   10169 else
   10170   xorg_cv_cc_flag_unused_command_line_argument=no
   10171 fi
   10172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10173 fi
   10174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10175 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10176 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10177 	CFLAGS="$xorg_testset_save_CFLAGS"
   10178 fi
   10179 
   10180 found="no"
   10181 
   10182 	if test $found = "no" ; then
   10183 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10184 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10185 		fi
   10186 
   10187 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10188 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10189 		fi
   10190 
   10191 		CFLAGS="$CFLAGS -Werror"
   10192 
   10193 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10194 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10195 		cacheid=xorg_cv_cc_flag__Werror
   10196 		if eval \${$cacheid+:} false; then :
   10197   $as_echo_n "(cached) " >&6
   10198 else
   10199   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10200 /* end confdefs.h.  */
   10201 int i;
   10202 int
   10203 main ()
   10204 {
   10205 
   10206   ;
   10207   return 0;
   10208 }
   10209 _ACEOF
   10210 if ac_fn_c_try_link "$LINENO"; then :
   10211   eval $cacheid=yes
   10212 else
   10213   eval $cacheid=no
   10214 fi
   10215 rm -f core conftest.err conftest.$ac_objext \
   10216     conftest$ac_exeext conftest.$ac_ext
   10217 fi
   10218 
   10219 
   10220 		CFLAGS="$xorg_testset_save_CFLAGS"
   10221 
   10222 		eval supported=\$$cacheid
   10223 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10224 $as_echo "$supported" >&6; }
   10225 		if test "$supported" = "yes" ; then
   10226 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10227 			found="yes"
   10228 		fi
   10229 	fi
   10230 
   10231 	if test $found = "no" ; then
   10232 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10233 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10234 		fi
   10235 
   10236 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10237 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10238 		fi
   10239 
   10240 		CFLAGS="$CFLAGS -errwarn"
   10241 
   10242 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10243 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10244 		cacheid=xorg_cv_cc_flag__errwarn
   10245 		if eval \${$cacheid+:} false; then :
   10246   $as_echo_n "(cached) " >&6
   10247 else
   10248   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10249 /* end confdefs.h.  */
   10250 int i;
   10251 int
   10252 main ()
   10253 {
   10254 
   10255   ;
   10256   return 0;
   10257 }
   10258 _ACEOF
   10259 if ac_fn_c_try_link "$LINENO"; then :
   10260   eval $cacheid=yes
   10261 else
   10262   eval $cacheid=no
   10263 fi
   10264 rm -f core conftest.err conftest.$ac_objext \
   10265     conftest$ac_exeext conftest.$ac_ext
   10266 fi
   10267 
   10268 
   10269 		CFLAGS="$xorg_testset_save_CFLAGS"
   10270 
   10271 		eval supported=\$$cacheid
   10272 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10273 $as_echo "$supported" >&6; }
   10274 		if test "$supported" = "yes" ; then
   10275 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10276 			found="yes"
   10277 		fi
   10278 	fi
   10279 
   10280 
   10281 
   10282 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10283 # activate it with -Werror, so we add it here explicitly.
   10284 
   10285 
   10286 
   10287 
   10288 
   10289 
   10290 
   10291 
   10292 
   10293 
   10294 
   10295 
   10296 
   10297 xorg_testset_save_CFLAGS="$CFLAGS"
   10298 
   10299 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10300 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10301 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10302 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10303 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10304   $as_echo_n "(cached) " >&6
   10305 else
   10306   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10307 /* end confdefs.h.  */
   10308 int i;
   10309 _ACEOF
   10310 if ac_fn_c_try_compile "$LINENO"; then :
   10311   xorg_cv_cc_flag_unknown_warning_option=yes
   10312 else
   10313   xorg_cv_cc_flag_unknown_warning_option=no
   10314 fi
   10315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10316 fi
   10317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10318 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10319 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10320 	CFLAGS="$xorg_testset_save_CFLAGS"
   10321 fi
   10322 
   10323 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10324 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10325 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10326 	fi
   10327 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10328 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10329 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10330 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10331   $as_echo_n "(cached) " >&6
   10332 else
   10333   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10334 /* end confdefs.h.  */
   10335 int i;
   10336 _ACEOF
   10337 if ac_fn_c_try_compile "$LINENO"; then :
   10338   xorg_cv_cc_flag_unused_command_line_argument=yes
   10339 else
   10340   xorg_cv_cc_flag_unused_command_line_argument=no
   10341 fi
   10342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10343 fi
   10344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10345 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10346 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10347 	CFLAGS="$xorg_testset_save_CFLAGS"
   10348 fi
   10349 
   10350 found="no"
   10351 
   10352 	if test $found = "no" ; then
   10353 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10354 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10355 		fi
   10356 
   10357 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10358 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10359 		fi
   10360 
   10361 		CFLAGS="$CFLAGS -Werror=attributes"
   10362 
   10363 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10364 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10365 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10366 		if eval \${$cacheid+:} false; then :
   10367   $as_echo_n "(cached) " >&6
   10368 else
   10369   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10370 /* end confdefs.h.  */
   10371 int i;
   10372 int
   10373 main ()
   10374 {
   10375 
   10376   ;
   10377   return 0;
   10378 }
   10379 _ACEOF
   10380 if ac_fn_c_try_link "$LINENO"; then :
   10381   eval $cacheid=yes
   10382 else
   10383   eval $cacheid=no
   10384 fi
   10385 rm -f core conftest.err conftest.$ac_objext \
   10386     conftest$ac_exeext conftest.$ac_ext
   10387 fi
   10388 
   10389 
   10390 		CFLAGS="$xorg_testset_save_CFLAGS"
   10391 
   10392 		eval supported=\$$cacheid
   10393 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10394 $as_echo "$supported" >&6; }
   10395 		if test "$supported" = "yes" ; then
   10396 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10397 			found="yes"
   10398 		fi
   10399 	fi
   10400 
   10401 
   10402 
   10403 if test "x$STRICT_COMPILE" = "xyes"; then
   10404     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10405     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10406 fi
   10407 
   10408 
   10409 
   10410 
   10411 
   10412 
   10413 cat >>confdefs.h <<_ACEOF
   10414 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10415 _ACEOF
   10416 
   10417 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10418 	if test "x$PVM" = "x"; then
   10419 		PVM="0"
   10420 	fi
   10421 
   10422 cat >>confdefs.h <<_ACEOF
   10423 #define PACKAGE_VERSION_MINOR $PVM
   10424 _ACEOF
   10425 
   10426 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10427 	if test "x$PVP" = "x"; then
   10428 		PVP="0"
   10429 	fi
   10430 
   10431 cat >>confdefs.h <<_ACEOF
   10432 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10433 _ACEOF
   10434 
   10435 
   10436 
   10437 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10438 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10439 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10440 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10441 
   10442 
   10443 
   10444 
   10445 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10446 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10447 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10448 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10449 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10450 
   10451 
   10452 
   10453 
   10454 
   10455 
   10456 if test x$APP_MAN_SUFFIX = x    ; then
   10457     APP_MAN_SUFFIX=1
   10458 fi
   10459 if test x$APP_MAN_DIR = x    ; then
   10460     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10461 fi
   10462 
   10463 if test x$LIB_MAN_SUFFIX = x    ; then
   10464     LIB_MAN_SUFFIX=3
   10465 fi
   10466 if test x$LIB_MAN_DIR = x    ; then
   10467     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10468 fi
   10469 
   10470 if test x$FILE_MAN_SUFFIX = x    ; then
   10471     case $host_os in
   10472 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10473 	*)		FILE_MAN_SUFFIX=5  ;;
   10474     esac
   10475 fi
   10476 if test x$FILE_MAN_DIR = x    ; then
   10477     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10478 fi
   10479 
   10480 if test x$MISC_MAN_SUFFIX = x    ; then
   10481     case $host_os in
   10482 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10483 	*)		MISC_MAN_SUFFIX=7  ;;
   10484     esac
   10485 fi
   10486 if test x$MISC_MAN_DIR = x    ; then
   10487     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10488 fi
   10489 
   10490 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10491     case $host_os in
   10492 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10493 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10494     esac
   10495 fi
   10496 if test x$DRIVER_MAN_DIR = x    ; then
   10497     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10498 fi
   10499 
   10500 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10501     case $host_os in
   10502 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10503 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10504     esac
   10505 fi
   10506 if test x$ADMIN_MAN_DIR = x    ; then
   10507     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10508 fi
   10509 
   10510 
   10511 
   10512 
   10513 
   10514 
   10515 
   10516 
   10517 
   10518 
   10519 
   10520 
   10521 
   10522 
   10523 
   10524 XORG_MAN_PAGE="X Version 11"
   10525 
   10526 MAN_SUBSTS="\
   10527 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10528 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10529 	-e 's|__xservername__|Xorg|g' \
   10530 	-e 's|__xconfigfile__|xorg.conf|g' \
   10531 	-e 's|__projectroot__|\$(prefix)|g' \
   10532 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10533 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10534 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10535 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10536 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10537 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10538 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10539 
   10540 
   10541 
   10542 # Check whether --enable-silent-rules was given.
   10543 if test "${enable_silent_rules+set}" = set; then :
   10544   enableval=$enable_silent_rules;
   10545 fi
   10546 
   10547 case $enable_silent_rules in # (((
   10548   yes) AM_DEFAULT_VERBOSITY=0;;
   10549    no) AM_DEFAULT_VERBOSITY=1;;
   10550     *) AM_DEFAULT_VERBOSITY=0;;
   10551 esac
   10552 am_make=${MAKE-make}
   10553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10554 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10555 if ${am_cv_make_support_nested_variables+:} false; then :
   10556   $as_echo_n "(cached) " >&6
   10557 else
   10558   if $as_echo 'TRUE=$(BAR$(V))
   10559 BAR0=false
   10560 BAR1=true
   10561 V=1
   10562 am__doit:
   10563 	@$(TRUE)
   10564 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10565   am_cv_make_support_nested_variables=yes
   10566 else
   10567   am_cv_make_support_nested_variables=no
   10568 fi
   10569 fi
   10570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10571 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10572 if test $am_cv_make_support_nested_variables = yes; then
   10573     AM_V='$(V)'
   10574   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10575 else
   10576   AM_V=$AM_DEFAULT_VERBOSITY
   10577   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10578 fi
   10579 AM_BACKSLASH='\'
   10580 
   10581 
   10582 
   10583 # Initialize libtool
   10584 # Check whether --enable-static was given.
   10585 if test "${enable_static+set}" = set; then :
   10586   enableval=$enable_static; p=${PACKAGE-default}
   10587     case $enableval in
   10588     yes) enable_static=yes ;;
   10589     no) enable_static=no ;;
   10590     *)
   10591      enable_static=no
   10592       # Look at the argument we got.  We use all the common list separators.
   10593       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10594       for pkg in $enableval; do
   10595 	IFS="$lt_save_ifs"
   10596 	if test "X$pkg" = "X$p"; then
   10597 	  enable_static=yes
   10598 	fi
   10599       done
   10600       IFS="$lt_save_ifs"
   10601       ;;
   10602     esac
   10603 else
   10604   enable_static=no
   10605 fi
   10606 
   10607 
   10608 
   10609 
   10610 
   10611 
   10612 
   10613 
   10614 
   10615 case `pwd` in
   10616   *\ * | *\	*)
   10617     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10618 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10619 esac
   10620 
   10621 
   10622 
   10623 macro_version='2.4.2'
   10624 macro_revision='1.3337'
   10625 
   10626 
   10627 
   10628 
   10629 
   10630 
   10631 
   10632 
   10633 
   10634 
   10635 
   10636 
   10637 
   10638 ltmain="$ac_aux_dir/ltmain.sh"
   10639 
   10640 # Backslashify metacharacters that are still active within
   10641 # double-quoted strings.
   10642 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10643 
   10644 # Same as above, but do not quote variable references.
   10645 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10646 
   10647 # Sed substitution to delay expansion of an escaped shell variable in a
   10648 # double_quote_subst'ed string.
   10649 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10650 
   10651 # Sed substitution to delay expansion of an escaped single quote.
   10652 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10653 
   10654 # Sed substitution to avoid accidental globbing in evaled expressions
   10655 no_glob_subst='s/\*/\\\*/g'
   10656 
   10657 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10658 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10659 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10660 
   10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10662 $as_echo_n "checking how to print strings... " >&6; }
   10663 # Test print first, because it will be a builtin if present.
   10664 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10665    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10666   ECHO='print -r --'
   10667 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10668   ECHO='printf %s\n'
   10669 else
   10670   # Use this function as a fallback that always works.
   10671   func_fallback_echo ()
   10672   {
   10673     eval 'cat <<_LTECHO_EOF
   10674 $1
   10675 _LTECHO_EOF'
   10676   }
   10677   ECHO='func_fallback_echo'
   10678 fi
   10679 
   10680 # func_echo_all arg...
   10681 # Invoke $ECHO with all args, space-separated.
   10682 func_echo_all ()
   10683 {
   10684     $ECHO ""
   10685 }
   10686 
   10687 case "$ECHO" in
   10688   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10689 $as_echo "printf" >&6; } ;;
   10690   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10691 $as_echo "print -r" >&6; } ;;
   10692   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10693 $as_echo "cat" >&6; } ;;
   10694 esac
   10695 
   10696 
   10697 
   10698 
   10699 
   10700 
   10701 
   10702 
   10703 
   10704 
   10705 
   10706 
   10707 
   10708 
   10709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10710 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10711 if ${ac_cv_path_SED+:} false; then :
   10712   $as_echo_n "(cached) " >&6
   10713 else
   10714             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10715      for ac_i in 1 2 3 4 5 6 7; do
   10716        ac_script="$ac_script$as_nl$ac_script"
   10717      done
   10718      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10719      { ac_script=; unset ac_script;}
   10720      if test -z "$SED"; then
   10721   ac_path_SED_found=false
   10722   # Loop through the user's path and test for each of PROGNAME-LIST
   10723   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10724 for as_dir in $PATH
   10725 do
   10726   IFS=$as_save_IFS
   10727   test -z "$as_dir" && as_dir=.
   10728     for ac_prog in sed gsed; do
   10729     for ac_exec_ext in '' $ac_executable_extensions; do
   10730       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   10731       as_fn_executable_p "$ac_path_SED" || continue
   10732 # Check for GNU ac_path_SED and select it if it is found.
   10733   # Check for GNU $ac_path_SED
   10734 case `"$ac_path_SED" --version 2>&1` in
   10735 *GNU*)
   10736   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   10737 *)
   10738   ac_count=0
   10739   $as_echo_n 0123456789 >"conftest.in"
   10740   while :
   10741   do
   10742     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10743     mv "conftest.tmp" "conftest.in"
   10744     cp "conftest.in" "conftest.nl"
   10745     $as_echo '' >> "conftest.nl"
   10746     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10747     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10748     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10749     if test $ac_count -gt ${ac_path_SED_max-0}; then
   10750       # Best one so far, save it but keep looking for a better one
   10751       ac_cv_path_SED="$ac_path_SED"
   10752       ac_path_SED_max=$ac_count
   10753     fi
   10754     # 10*(2^10) chars as input seems more than enough
   10755     test $ac_count -gt 10 && break
   10756   done
   10757   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10758 esac
   10759 
   10760       $ac_path_SED_found && break 3
   10761     done
   10762   done
   10763   done
   10764 IFS=$as_save_IFS
   10765   if test -z "$ac_cv_path_SED"; then
   10766     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   10767   fi
   10768 else
   10769   ac_cv_path_SED=$SED
   10770 fi
   10771 
   10772 fi
   10773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   10774 $as_echo "$ac_cv_path_SED" >&6; }
   10775  SED="$ac_cv_path_SED"
   10776   rm -f conftest.sed
   10777 
   10778 test -z "$SED" && SED=sed
   10779 Xsed="$SED -e 1s/^X//"
   10780 
   10781 
   10782 
   10783 
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   10792 $as_echo_n "checking for fgrep... " >&6; }
   10793 if ${ac_cv_path_FGREP+:} false; then :
   10794   $as_echo_n "(cached) " >&6
   10795 else
   10796   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   10797    then ac_cv_path_FGREP="$GREP -F"
   10798    else
   10799      if test -z "$FGREP"; then
   10800   ac_path_FGREP_found=false
   10801   # Loop through the user's path and test for each of PROGNAME-LIST
   10802   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10803 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   10804 do
   10805   IFS=$as_save_IFS
   10806   test -z "$as_dir" && as_dir=.
   10807     for ac_prog in fgrep; do
   10808     for ac_exec_ext in '' $ac_executable_extensions; do
   10809       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   10810       as_fn_executable_p "$ac_path_FGREP" || continue
   10811 # Check for GNU ac_path_FGREP and select it if it is found.
   10812   # Check for GNU $ac_path_FGREP
   10813 case `"$ac_path_FGREP" --version 2>&1` in
   10814 *GNU*)
   10815   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   10816 *)
   10817   ac_count=0
   10818   $as_echo_n 0123456789 >"conftest.in"
   10819   while :
   10820   do
   10821     cat "conftest.in" "conftest.in" >"conftest.tmp"
   10822     mv "conftest.tmp" "conftest.in"
   10823     cp "conftest.in" "conftest.nl"
   10824     $as_echo 'FGREP' >> "conftest.nl"
   10825     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   10826     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   10827     as_fn_arith $ac_count + 1 && ac_count=$as_val
   10828     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   10829       # Best one so far, save it but keep looking for a better one
   10830       ac_cv_path_FGREP="$ac_path_FGREP"
   10831       ac_path_FGREP_max=$ac_count
   10832     fi
   10833     # 10*(2^10) chars as input seems more than enough
   10834     test $ac_count -gt 10 && break
   10835   done
   10836   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   10837 esac
   10838 
   10839       $ac_path_FGREP_found && break 3
   10840     done
   10841   done
   10842   done
   10843 IFS=$as_save_IFS
   10844   if test -z "$ac_cv_path_FGREP"; then
   10845     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   10846   fi
   10847 else
   10848   ac_cv_path_FGREP=$FGREP
   10849 fi
   10850 
   10851    fi
   10852 fi
   10853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   10854 $as_echo "$ac_cv_path_FGREP" >&6; }
   10855  FGREP="$ac_cv_path_FGREP"
   10856 
   10857 
   10858 test -z "$GREP" && GREP=grep
   10859 
   10860 
   10861 
   10862 
   10863 
   10864 
   10865 
   10866 
   10867 
   10868 
   10869 
   10870 
   10871 
   10872 
   10873 
   10874 
   10875 
   10876 
   10877 
   10878 # Check whether --with-gnu-ld was given.
   10879 if test "${with_gnu_ld+set}" = set; then :
   10880   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   10881 else
   10882   with_gnu_ld=no
   10883 fi
   10884 
   10885 ac_prog=ld
   10886 if test "$GCC" = yes; then
   10887   # Check if gcc -print-prog-name=ld gives a path.
   10888   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   10889 $as_echo_n "checking for ld used by $CC... " >&6; }
   10890   case $host in
   10891   *-*-mingw*)
   10892     # gcc leaves a trailing carriage return which upsets mingw
   10893     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   10894   *)
   10895     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   10896   esac
   10897   case $ac_prog in
   10898     # Accept absolute paths.
   10899     [\\/]* | ?:[\\/]*)
   10900       re_direlt='/[^/][^/]*/\.\./'
   10901       # Canonicalize the pathname of ld
   10902       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   10903       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   10904 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   10905       done
   10906       test -z "$LD" && LD="$ac_prog"
   10907       ;;
   10908   "")
   10909     # If it fails, then pretend we aren't using GCC.
   10910     ac_prog=ld
   10911     ;;
   10912   *)
   10913     # If it is relative, then search for the first ld in PATH.
   10914     with_gnu_ld=unknown
   10915     ;;
   10916   esac
   10917 elif test "$with_gnu_ld" = yes; then
   10918   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   10919 $as_echo_n "checking for GNU ld... " >&6; }
   10920 else
   10921   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   10922 $as_echo_n "checking for non-GNU ld... " >&6; }
   10923 fi
   10924 if ${lt_cv_path_LD+:} false; then :
   10925   $as_echo_n "(cached) " >&6
   10926 else
   10927   if test -z "$LD"; then
   10928   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   10929   for ac_dir in $PATH; do
   10930     IFS="$lt_save_ifs"
   10931     test -z "$ac_dir" && ac_dir=.
   10932     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   10933       lt_cv_path_LD="$ac_dir/$ac_prog"
   10934       # Check to see if the program is GNU ld.  I'd rather use --version,
   10935       # but apparently some variants of GNU ld only accept -v.
   10936       # Break only if it was the GNU/non-GNU ld that we prefer.
   10937       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   10938       *GNU* | *'with BFD'*)
   10939 	test "$with_gnu_ld" != no && break
   10940 	;;
   10941       *)
   10942 	test "$with_gnu_ld" != yes && break
   10943 	;;
   10944       esac
   10945     fi
   10946   done
   10947   IFS="$lt_save_ifs"
   10948 else
   10949   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   10950 fi
   10951 fi
   10952 
   10953 LD="$lt_cv_path_LD"
   10954 if test -n "$LD"; then
   10955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   10956 $as_echo "$LD" >&6; }
   10957 else
   10958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   10959 $as_echo "no" >&6; }
   10960 fi
   10961 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   10963 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   10964 if ${lt_cv_prog_gnu_ld+:} false; then :
   10965   $as_echo_n "(cached) " >&6
   10966 else
   10967   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   10968 case `$LD -v 2>&1 </dev/null` in
   10969 *GNU* | *'with BFD'*)
   10970   lt_cv_prog_gnu_ld=yes
   10971   ;;
   10972 *)
   10973   lt_cv_prog_gnu_ld=no
   10974   ;;
   10975 esac
   10976 fi
   10977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   10978 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   10979 with_gnu_ld=$lt_cv_prog_gnu_ld
   10980 
   10981 
   10982 
   10983 
   10984 
   10985 
   10986 
   10987 
   10988 
   10989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   10990 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   10991 if ${lt_cv_path_NM+:} false; then :
   10992   $as_echo_n "(cached) " >&6
   10993 else
   10994   if test -n "$NM"; then
   10995   # Let the user override the test.
   10996   lt_cv_path_NM="$NM"
   10997 else
   10998   lt_nm_to_check="${ac_tool_prefix}nm"
   10999   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11000     lt_nm_to_check="$lt_nm_to_check nm"
   11001   fi
   11002   for lt_tmp_nm in $lt_nm_to_check; do
   11003     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11004     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11005       IFS="$lt_save_ifs"
   11006       test -z "$ac_dir" && ac_dir=.
   11007       tmp_nm="$ac_dir/$lt_tmp_nm"
   11008       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   11009 	# Check to see if the nm accepts a BSD-compat flag.
   11010 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   11011 	#   nm: unknown option "B" ignored
   11012 	# Tru64's nm complains that /dev/null is an invalid object file
   11013 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   11014 	*/dev/null* | *'Invalid file or object type'*)
   11015 	  lt_cv_path_NM="$tmp_nm -B"
   11016 	  break
   11017 	  ;;
   11018 	*)
   11019 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11020 	  */dev/null*)
   11021 	    lt_cv_path_NM="$tmp_nm -p"
   11022 	    break
   11023 	    ;;
   11024 	  *)
   11025 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11026 	    continue # so that we can try to find one that supports BSD flags
   11027 	    ;;
   11028 	  esac
   11029 	  ;;
   11030 	esac
   11031       fi
   11032     done
   11033     IFS="$lt_save_ifs"
   11034   done
   11035   : ${lt_cv_path_NM=no}
   11036 fi
   11037 fi
   11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11039 $as_echo "$lt_cv_path_NM" >&6; }
   11040 if test "$lt_cv_path_NM" != "no"; then
   11041   NM="$lt_cv_path_NM"
   11042 else
   11043   # Didn't find any BSD compatible name lister, look for dumpbin.
   11044   if test -n "$DUMPBIN"; then :
   11045     # Let the user override the test.
   11046   else
   11047     if test -n "$ac_tool_prefix"; then
   11048   for ac_prog in dumpbin "link -dump"
   11049   do
   11050     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11051 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11053 $as_echo_n "checking for $ac_word... " >&6; }
   11054 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11055   $as_echo_n "(cached) " >&6
   11056 else
   11057   if test -n "$DUMPBIN"; then
   11058   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11059 else
   11060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11061 for as_dir in $PATH
   11062 do
   11063   IFS=$as_save_IFS
   11064   test -z "$as_dir" && as_dir=.
   11065     for ac_exec_ext in '' $ac_executable_extensions; do
   11066   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11067     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11068     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11069     break 2
   11070   fi
   11071 done
   11072   done
   11073 IFS=$as_save_IFS
   11074 
   11075 fi
   11076 fi
   11077 DUMPBIN=$ac_cv_prog_DUMPBIN
   11078 if test -n "$DUMPBIN"; then
   11079   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11080 $as_echo "$DUMPBIN" >&6; }
   11081 else
   11082   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11083 $as_echo "no" >&6; }
   11084 fi
   11085 
   11086 
   11087     test -n "$DUMPBIN" && break
   11088   done
   11089 fi
   11090 if test -z "$DUMPBIN"; then
   11091   ac_ct_DUMPBIN=$DUMPBIN
   11092   for ac_prog in dumpbin "link -dump"
   11093 do
   11094   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11095 set dummy $ac_prog; ac_word=$2
   11096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11097 $as_echo_n "checking for $ac_word... " >&6; }
   11098 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11099   $as_echo_n "(cached) " >&6
   11100 else
   11101   if test -n "$ac_ct_DUMPBIN"; then
   11102   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11103 else
   11104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11105 for as_dir in $PATH
   11106 do
   11107   IFS=$as_save_IFS
   11108   test -z "$as_dir" && as_dir=.
   11109     for ac_exec_ext in '' $ac_executable_extensions; do
   11110   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11111     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11112     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11113     break 2
   11114   fi
   11115 done
   11116   done
   11117 IFS=$as_save_IFS
   11118 
   11119 fi
   11120 fi
   11121 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11122 if test -n "$ac_ct_DUMPBIN"; then
   11123   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11124 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11125 else
   11126   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11127 $as_echo "no" >&6; }
   11128 fi
   11129 
   11130 
   11131   test -n "$ac_ct_DUMPBIN" && break
   11132 done
   11133 
   11134   if test "x$ac_ct_DUMPBIN" = x; then
   11135     DUMPBIN=":"
   11136   else
   11137     case $cross_compiling:$ac_tool_warned in
   11138 yes:)
   11139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11140 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11141 ac_tool_warned=yes ;;
   11142 esac
   11143     DUMPBIN=$ac_ct_DUMPBIN
   11144   fi
   11145 fi
   11146 
   11147     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   11148     *COFF*)
   11149       DUMPBIN="$DUMPBIN -symbols"
   11150       ;;
   11151     *)
   11152       DUMPBIN=:
   11153       ;;
   11154     esac
   11155   fi
   11156 
   11157   if test "$DUMPBIN" != ":"; then
   11158     NM="$DUMPBIN"
   11159   fi
   11160 fi
   11161 test -z "$NM" && NM=nm
   11162 
   11163 
   11164 
   11165 
   11166 
   11167 
   11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11169 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11170 if ${lt_cv_nm_interface+:} false; then :
   11171   $as_echo_n "(cached) " >&6
   11172 else
   11173   lt_cv_nm_interface="BSD nm"
   11174   echo "int some_variable = 0;" > conftest.$ac_ext
   11175   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11176   (eval "$ac_compile" 2>conftest.err)
   11177   cat conftest.err >&5
   11178   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11179   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11180   cat conftest.err >&5
   11181   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11182   cat conftest.out >&5
   11183   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11184     lt_cv_nm_interface="MS dumpbin"
   11185   fi
   11186   rm -f conftest*
   11187 fi
   11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11189 $as_echo "$lt_cv_nm_interface" >&6; }
   11190 
   11191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11192 $as_echo_n "checking whether ln -s works... " >&6; }
   11193 LN_S=$as_ln_s
   11194 if test "$LN_S" = "ln -s"; then
   11195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11196 $as_echo "yes" >&6; }
   11197 else
   11198   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11199 $as_echo "no, using $LN_S" >&6; }
   11200 fi
   11201 
   11202 # find the maximum length of command line arguments
   11203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11204 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11205 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11206   $as_echo_n "(cached) " >&6
   11207 else
   11208     i=0
   11209   teststring="ABCD"
   11210 
   11211   case $build_os in
   11212   msdosdjgpp*)
   11213     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11214     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11215     # during glob expansion).  Even if it were fixed, the result of this
   11216     # check would be larger than it should be.
   11217     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11218     ;;
   11219 
   11220   gnu*)
   11221     # Under GNU Hurd, this test is not required because there is
   11222     # no limit to the length of command line arguments.
   11223     # Libtool will interpret -1 as no limit whatsoever
   11224     lt_cv_sys_max_cmd_len=-1;
   11225     ;;
   11226 
   11227   cygwin* | mingw* | cegcc*)
   11228     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11229     # about 5 minutes as the teststring grows exponentially.
   11230     # Worse, since 9x/ME are not pre-emptively multitasking,
   11231     # you end up with a "frozen" computer, even though with patience
   11232     # the test eventually succeeds (with a max line length of 256k).
   11233     # Instead, let's just punt: use the minimum linelength reported by
   11234     # all of the supported platforms: 8192 (on NT/2K/XP).
   11235     lt_cv_sys_max_cmd_len=8192;
   11236     ;;
   11237 
   11238   mint*)
   11239     # On MiNT this can take a long time and run out of memory.
   11240     lt_cv_sys_max_cmd_len=8192;
   11241     ;;
   11242 
   11243   amigaos*)
   11244     # On AmigaOS with pdksh, this test takes hours, literally.
   11245     # So we just punt and use a minimum line length of 8192.
   11246     lt_cv_sys_max_cmd_len=8192;
   11247     ;;
   11248 
   11249   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   11250     # This has been around since 386BSD, at least.  Likely further.
   11251     if test -x /sbin/sysctl; then
   11252       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11253     elif test -x /usr/sbin/sysctl; then
   11254       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11255     else
   11256       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11257     fi
   11258     # And add a safety zone
   11259     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11260     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11261     ;;
   11262 
   11263   interix*)
   11264     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11265     lt_cv_sys_max_cmd_len=196608
   11266     ;;
   11267 
   11268   os2*)
   11269     # The test takes a long time on OS/2.
   11270     lt_cv_sys_max_cmd_len=8192
   11271     ;;
   11272 
   11273   osf*)
   11274     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11275     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11276     # nice to cause kernel panics so lets avoid the loop below.
   11277     # First set a reasonable default.
   11278     lt_cv_sys_max_cmd_len=16384
   11279     #
   11280     if test -x /sbin/sysconfig; then
   11281       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11282         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11283       esac
   11284     fi
   11285     ;;
   11286   sco3.2v5*)
   11287     lt_cv_sys_max_cmd_len=102400
   11288     ;;
   11289   sysv5* | sco5v6* | sysv4.2uw2*)
   11290     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11291     if test -n "$kargmax"; then
   11292       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11293     else
   11294       lt_cv_sys_max_cmd_len=32768
   11295     fi
   11296     ;;
   11297   *)
   11298     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11299     if test -n "$lt_cv_sys_max_cmd_len" && \
   11300 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   11301       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11302       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11303     else
   11304       # Make teststring a little bigger before we do anything with it.
   11305       # a 1K string should be a reasonable start.
   11306       for i in 1 2 3 4 5 6 7 8 ; do
   11307         teststring=$teststring$teststring
   11308       done
   11309       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11310       # If test is not a shell built-in, we'll probably end up computing a
   11311       # maximum length that is only half of the actual maximum length, but
   11312       # we can't tell.
   11313       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   11314 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11315 	      test $i != 17 # 1/2 MB should be enough
   11316       do
   11317         i=`expr $i + 1`
   11318         teststring=$teststring$teststring
   11319       done
   11320       # Only check the string length outside the loop.
   11321       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11322       teststring=
   11323       # Add a significant safety factor because C++ compilers can tack on
   11324       # massive amounts of additional arguments before passing them to the
   11325       # linker.  It appears as though 1/2 is a usable value.
   11326       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11327     fi
   11328     ;;
   11329   esac
   11330 
   11331 fi
   11332 
   11333 if test -n $lt_cv_sys_max_cmd_len ; then
   11334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11335 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11336 else
   11337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11338 $as_echo "none" >&6; }
   11339 fi
   11340 max_cmd_len=$lt_cv_sys_max_cmd_len
   11341 
   11342 
   11343 
   11344 
   11345 
   11346 
   11347 : ${CP="cp -f"}
   11348 : ${MV="mv -f"}
   11349 : ${RM="rm -f"}
   11350 
   11351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   11352 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   11353 # Try some XSI features
   11354 xsi_shell=no
   11355 ( _lt_dummy="a/b/c"
   11356   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   11357       = c,a/b,b/c, \
   11358     && eval 'test $(( 1 + 1 )) -eq 2 \
   11359     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   11360   && xsi_shell=yes
   11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   11362 $as_echo "$xsi_shell" >&6; }
   11363 
   11364 
   11365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   11366 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   11367 lt_shell_append=no
   11368 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   11369     >/dev/null 2>&1 \
   11370   && lt_shell_append=yes
   11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   11372 $as_echo "$lt_shell_append" >&6; }
   11373 
   11374 
   11375 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11376   lt_unset=unset
   11377 else
   11378   lt_unset=false
   11379 fi
   11380 
   11381 
   11382 
   11383 
   11384 
   11385 # test EBCDIC or ASCII
   11386 case `echo X|tr X '\101'` in
   11387  A) # ASCII based system
   11388     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11389   lt_SP2NL='tr \040 \012'
   11390   lt_NL2SP='tr \015\012 \040\040'
   11391   ;;
   11392  *) # EBCDIC based system
   11393   lt_SP2NL='tr \100 \n'
   11394   lt_NL2SP='tr \r\n \100\100'
   11395   ;;
   11396 esac
   11397 
   11398 
   11399 
   11400 
   11401 
   11402 
   11403 
   11404 
   11405 
   11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11407 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11408 if ${lt_cv_to_host_file_cmd+:} false; then :
   11409   $as_echo_n "(cached) " >&6
   11410 else
   11411   case $host in
   11412   *-*-mingw* )
   11413     case $build in
   11414       *-*-mingw* ) # actually msys
   11415         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11416         ;;
   11417       *-*-cygwin* )
   11418         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11419         ;;
   11420       * ) # otherwise, assume *nix
   11421         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11422         ;;
   11423     esac
   11424     ;;
   11425   *-*-cygwin* )
   11426     case $build in
   11427       *-*-mingw* ) # actually msys
   11428         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11429         ;;
   11430       *-*-cygwin* )
   11431         lt_cv_to_host_file_cmd=func_convert_file_noop
   11432         ;;
   11433       * ) # otherwise, assume *nix
   11434         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11435         ;;
   11436     esac
   11437     ;;
   11438   * ) # unhandled hosts (and "normal" native builds)
   11439     lt_cv_to_host_file_cmd=func_convert_file_noop
   11440     ;;
   11441 esac
   11442 
   11443 fi
   11444 
   11445 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11447 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11448 
   11449 
   11450 
   11451 
   11452 
   11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11454 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11455 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11456   $as_echo_n "(cached) " >&6
   11457 else
   11458   #assume ordinary cross tools, or native build.
   11459 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11460 case $host in
   11461   *-*-mingw* )
   11462     case $build in
   11463       *-*-mingw* ) # actually msys
   11464         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11465         ;;
   11466     esac
   11467     ;;
   11468 esac
   11469 
   11470 fi
   11471 
   11472 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11474 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11475 
   11476 
   11477 
   11478 
   11479 
   11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11481 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11482 if ${lt_cv_ld_reload_flag+:} false; then :
   11483   $as_echo_n "(cached) " >&6
   11484 else
   11485   lt_cv_ld_reload_flag='-r'
   11486 fi
   11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11488 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11489 reload_flag=$lt_cv_ld_reload_flag
   11490 case $reload_flag in
   11491 "" | " "*) ;;
   11492 *) reload_flag=" $reload_flag" ;;
   11493 esac
   11494 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11495 case $host_os in
   11496   cygwin* | mingw* | pw32* | cegcc*)
   11497     if test "$GCC" != yes; then
   11498       reload_cmds=false
   11499     fi
   11500     ;;
   11501   darwin*)
   11502     if test "$GCC" = yes; then
   11503       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   11504     else
   11505       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11506     fi
   11507     ;;
   11508 esac
   11509 
   11510 
   11511 
   11512 
   11513 
   11514 
   11515 
   11516 
   11517 
   11518 if test -n "$ac_tool_prefix"; then
   11519   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11520 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11522 $as_echo_n "checking for $ac_word... " >&6; }
   11523 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11524   $as_echo_n "(cached) " >&6
   11525 else
   11526   if test -n "$OBJDUMP"; then
   11527   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11528 else
   11529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11530 for as_dir in $PATH
   11531 do
   11532   IFS=$as_save_IFS
   11533   test -z "$as_dir" && as_dir=.
   11534     for ac_exec_ext in '' $ac_executable_extensions; do
   11535   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11536     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11537     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11538     break 2
   11539   fi
   11540 done
   11541   done
   11542 IFS=$as_save_IFS
   11543 
   11544 fi
   11545 fi
   11546 OBJDUMP=$ac_cv_prog_OBJDUMP
   11547 if test -n "$OBJDUMP"; then
   11548   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11549 $as_echo "$OBJDUMP" >&6; }
   11550 else
   11551   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11552 $as_echo "no" >&6; }
   11553 fi
   11554 
   11555 
   11556 fi
   11557 if test -z "$ac_cv_prog_OBJDUMP"; then
   11558   ac_ct_OBJDUMP=$OBJDUMP
   11559   # Extract the first word of "objdump", so it can be a program name with args.
   11560 set dummy objdump; ac_word=$2
   11561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11562 $as_echo_n "checking for $ac_word... " >&6; }
   11563 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11564   $as_echo_n "(cached) " >&6
   11565 else
   11566   if test -n "$ac_ct_OBJDUMP"; then
   11567   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11568 else
   11569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11570 for as_dir in $PATH
   11571 do
   11572   IFS=$as_save_IFS
   11573   test -z "$as_dir" && as_dir=.
   11574     for ac_exec_ext in '' $ac_executable_extensions; do
   11575   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11576     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11577     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11578     break 2
   11579   fi
   11580 done
   11581   done
   11582 IFS=$as_save_IFS
   11583 
   11584 fi
   11585 fi
   11586 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11587 if test -n "$ac_ct_OBJDUMP"; then
   11588   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11589 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11590 else
   11591   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11592 $as_echo "no" >&6; }
   11593 fi
   11594 
   11595   if test "x$ac_ct_OBJDUMP" = x; then
   11596     OBJDUMP="false"
   11597   else
   11598     case $cross_compiling:$ac_tool_warned in
   11599 yes:)
   11600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11601 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11602 ac_tool_warned=yes ;;
   11603 esac
   11604     OBJDUMP=$ac_ct_OBJDUMP
   11605   fi
   11606 else
   11607   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11608 fi
   11609 
   11610 test -z "$OBJDUMP" && OBJDUMP=objdump
   11611 
   11612 
   11613 
   11614 
   11615 
   11616 
   11617 
   11618 
   11619 
   11620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11621 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11622 if ${lt_cv_deplibs_check_method+:} false; then :
   11623   $as_echo_n "(cached) " >&6
   11624 else
   11625   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11626 lt_cv_file_magic_test_file=
   11627 lt_cv_deplibs_check_method='unknown'
   11628 # Need to set the preceding variable on all platforms that support
   11629 # interlibrary dependencies.
   11630 # 'none' -- dependencies not supported.
   11631 # `unknown' -- same as none, but documents that we really don't know.
   11632 # 'pass_all' -- all dependencies passed with no checks.
   11633 # 'test_compile' -- check by making test program.
   11634 # 'file_magic [[regex]]' -- check by looking for files in library path
   11635 # which responds to the $file_magic_cmd with a given extended regex.
   11636 # If you have `file' or equivalent on your system and you're not sure
   11637 # whether `pass_all' will *always* work, you probably want this one.
   11638 
   11639 case $host_os in
   11640 aix[4-9]*)
   11641   lt_cv_deplibs_check_method=pass_all
   11642   ;;
   11643 
   11644 beos*)
   11645   lt_cv_deplibs_check_method=pass_all
   11646   ;;
   11647 
   11648 bsdi[45]*)
   11649   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11650   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11651   lt_cv_file_magic_test_file=/shlib/libc.so
   11652   ;;
   11653 
   11654 cygwin*)
   11655   # func_win32_libid is a shell function defined in ltmain.sh
   11656   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11657   lt_cv_file_magic_cmd='func_win32_libid'
   11658   ;;
   11659 
   11660 mingw* | pw32*)
   11661   # Base MSYS/MinGW do not provide the 'file' command needed by
   11662   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11663   # unless we find 'file', for example because we are cross-compiling.
   11664   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   11665   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   11666     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11667     lt_cv_file_magic_cmd='func_win32_libid'
   11668   else
   11669     # Keep this pattern in sync with the one in func_win32_libid.
   11670     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11671     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11672   fi
   11673   ;;
   11674 
   11675 cegcc*)
   11676   # use the weaker test based on 'objdump'. See mingw*.
   11677   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11678   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11679   ;;
   11680 
   11681 darwin* | rhapsody*)
   11682   lt_cv_deplibs_check_method=pass_all
   11683   ;;
   11684 
   11685 freebsd* | dragonfly*)
   11686   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11687     case $host_cpu in
   11688     i*86 )
   11689       # Not sure whether the presence of OpenBSD here was a mistake.
   11690       # Let's accept both of them until this is cleared up.
   11691       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11692       lt_cv_file_magic_cmd=/usr/bin/file
   11693       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11694       ;;
   11695     esac
   11696   else
   11697     lt_cv_deplibs_check_method=pass_all
   11698   fi
   11699   ;;
   11700 
   11701 haiku*)
   11702   lt_cv_deplibs_check_method=pass_all
   11703   ;;
   11704 
   11705 hpux10.20* | hpux11*)
   11706   lt_cv_file_magic_cmd=/usr/bin/file
   11707   case $host_cpu in
   11708   ia64*)
   11709     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11710     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11711     ;;
   11712   hppa*64*)
   11713     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]'
   11714     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11715     ;;
   11716   *)
   11717     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11718     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11719     ;;
   11720   esac
   11721   ;;
   11722 
   11723 interix[3-9]*)
   11724   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   11725   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   11726   ;;
   11727 
   11728 irix5* | irix6* | nonstopux*)
   11729   case $LD in
   11730   *-32|*"-32 ") libmagic=32-bit;;
   11731   *-n32|*"-n32 ") libmagic=N32;;
   11732   *-64|*"-64 ") libmagic=64-bit;;
   11733   *) libmagic=never-match;;
   11734   esac
   11735   lt_cv_deplibs_check_method=pass_all
   11736   ;;
   11737 
   11738 # This must be glibc/ELF.
   11739 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   11740   lt_cv_deplibs_check_method=pass_all
   11741   ;;
   11742 
   11743 netbsd* | netbsdelf*-gnu)
   11744   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11745     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11746   else
   11747     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   11748   fi
   11749   ;;
   11750 
   11751 newos6*)
   11752   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   11753   lt_cv_file_magic_cmd=/usr/bin/file
   11754   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   11755   ;;
   11756 
   11757 *nto* | *qnx*)
   11758   lt_cv_deplibs_check_method=pass_all
   11759   ;;
   11760 
   11761 openbsd*)
   11762   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   11763     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   11764   else
   11765     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   11766   fi
   11767   ;;
   11768 
   11769 osf3* | osf4* | osf5*)
   11770   lt_cv_deplibs_check_method=pass_all
   11771   ;;
   11772 
   11773 rdos*)
   11774   lt_cv_deplibs_check_method=pass_all
   11775   ;;
   11776 
   11777 solaris*)
   11778   lt_cv_deplibs_check_method=pass_all
   11779   ;;
   11780 
   11781 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   11782   lt_cv_deplibs_check_method=pass_all
   11783   ;;
   11784 
   11785 sysv4 | sysv4.3*)
   11786   case $host_vendor in
   11787   motorola)
   11788     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]'
   11789     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   11790     ;;
   11791   ncr)
   11792     lt_cv_deplibs_check_method=pass_all
   11793     ;;
   11794   sequent)
   11795     lt_cv_file_magic_cmd='/bin/file'
   11796     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   11797     ;;
   11798   sni)
   11799     lt_cv_file_magic_cmd='/bin/file'
   11800     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   11801     lt_cv_file_magic_test_file=/lib/libc.so
   11802     ;;
   11803   siemens)
   11804     lt_cv_deplibs_check_method=pass_all
   11805     ;;
   11806   pc)
   11807     lt_cv_deplibs_check_method=pass_all
   11808     ;;
   11809   esac
   11810   ;;
   11811 
   11812 tpf*)
   11813   lt_cv_deplibs_check_method=pass_all
   11814   ;;
   11815 esac
   11816 
   11817 fi
   11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   11819 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   11820 
   11821 file_magic_glob=
   11822 want_nocaseglob=no
   11823 if test "$build" = "$host"; then
   11824   case $host_os in
   11825   mingw* | pw32*)
   11826     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   11827       want_nocaseglob=yes
   11828     else
   11829       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   11830     fi
   11831     ;;
   11832   esac
   11833 fi
   11834 
   11835 file_magic_cmd=$lt_cv_file_magic_cmd
   11836 deplibs_check_method=$lt_cv_deplibs_check_method
   11837 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   11838 
   11839 
   11840 
   11841 
   11842 
   11843 
   11844 
   11845 
   11846 
   11847 
   11848 
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 
   11856 
   11857 
   11858 
   11859 
   11860 if test -n "$ac_tool_prefix"; then
   11861   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   11862 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   11863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11864 $as_echo_n "checking for $ac_word... " >&6; }
   11865 if ${ac_cv_prog_DLLTOOL+:} false; then :
   11866   $as_echo_n "(cached) " >&6
   11867 else
   11868   if test -n "$DLLTOOL"; then
   11869   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   11870 else
   11871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11872 for as_dir in $PATH
   11873 do
   11874   IFS=$as_save_IFS
   11875   test -z "$as_dir" && as_dir=.
   11876     for ac_exec_ext in '' $ac_executable_extensions; do
   11877   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11878     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   11879     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11880     break 2
   11881   fi
   11882 done
   11883   done
   11884 IFS=$as_save_IFS
   11885 
   11886 fi
   11887 fi
   11888 DLLTOOL=$ac_cv_prog_DLLTOOL
   11889 if test -n "$DLLTOOL"; then
   11890   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   11891 $as_echo "$DLLTOOL" >&6; }
   11892 else
   11893   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11894 $as_echo "no" >&6; }
   11895 fi
   11896 
   11897 
   11898 fi
   11899 if test -z "$ac_cv_prog_DLLTOOL"; then
   11900   ac_ct_DLLTOOL=$DLLTOOL
   11901   # Extract the first word of "dlltool", so it can be a program name with args.
   11902 set dummy dlltool; ac_word=$2
   11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11904 $as_echo_n "checking for $ac_word... " >&6; }
   11905 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   11906   $as_echo_n "(cached) " >&6
   11907 else
   11908   if test -n "$ac_ct_DLLTOOL"; then
   11909   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   11910 else
   11911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11912 for as_dir in $PATH
   11913 do
   11914   IFS=$as_save_IFS
   11915   test -z "$as_dir" && as_dir=.
   11916     for ac_exec_ext in '' $ac_executable_extensions; do
   11917   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11918     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   11919     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11920     break 2
   11921   fi
   11922 done
   11923   done
   11924 IFS=$as_save_IFS
   11925 
   11926 fi
   11927 fi
   11928 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   11929 if test -n "$ac_ct_DLLTOOL"; then
   11930   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   11931 $as_echo "$ac_ct_DLLTOOL" >&6; }
   11932 else
   11933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11934 $as_echo "no" >&6; }
   11935 fi
   11936 
   11937   if test "x$ac_ct_DLLTOOL" = x; then
   11938     DLLTOOL="false"
   11939   else
   11940     case $cross_compiling:$ac_tool_warned in
   11941 yes:)
   11942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11943 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11944 ac_tool_warned=yes ;;
   11945 esac
   11946     DLLTOOL=$ac_ct_DLLTOOL
   11947   fi
   11948 else
   11949   DLLTOOL="$ac_cv_prog_DLLTOOL"
   11950 fi
   11951 
   11952 test -z "$DLLTOOL" && DLLTOOL=dlltool
   11953 
   11954 
   11955 
   11956 
   11957 
   11958 
   11959 
   11960 
   11961 
   11962 
   11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   11964 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   11965 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   11966   $as_echo_n "(cached) " >&6
   11967 else
   11968   lt_cv_sharedlib_from_linklib_cmd='unknown'
   11969 
   11970 case $host_os in
   11971 cygwin* | mingw* | pw32* | cegcc*)
   11972   # two different shell functions defined in ltmain.sh
   11973   # decide which to use based on capabilities of $DLLTOOL
   11974   case `$DLLTOOL --help 2>&1` in
   11975   *--identify-strict*)
   11976     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   11977     ;;
   11978   *)
   11979     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   11980     ;;
   11981   esac
   11982   ;;
   11983 *)
   11984   # fallback: assume linklib IS sharedlib
   11985   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   11986   ;;
   11987 esac
   11988 
   11989 fi
   11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   11991 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   11992 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   11993 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   11994 
   11995 
   11996 
   11997 
   11998 
   11999 
   12000 
   12001 if test -n "$ac_tool_prefix"; then
   12002   for ac_prog in ar
   12003   do
   12004     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12007 $as_echo_n "checking for $ac_word... " >&6; }
   12008 if ${ac_cv_prog_AR+:} false; then :
   12009   $as_echo_n "(cached) " >&6
   12010 else
   12011   if test -n "$AR"; then
   12012   ac_cv_prog_AR="$AR" # Let the user override the test.
   12013 else
   12014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12015 for as_dir in $PATH
   12016 do
   12017   IFS=$as_save_IFS
   12018   test -z "$as_dir" && as_dir=.
   12019     for ac_exec_ext in '' $ac_executable_extensions; do
   12020   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12021     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12022     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12023     break 2
   12024   fi
   12025 done
   12026   done
   12027 IFS=$as_save_IFS
   12028 
   12029 fi
   12030 fi
   12031 AR=$ac_cv_prog_AR
   12032 if test -n "$AR"; then
   12033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12034 $as_echo "$AR" >&6; }
   12035 else
   12036   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12037 $as_echo "no" >&6; }
   12038 fi
   12039 
   12040 
   12041     test -n "$AR" && break
   12042   done
   12043 fi
   12044 if test -z "$AR"; then
   12045   ac_ct_AR=$AR
   12046   for ac_prog in ar
   12047 do
   12048   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12049 set dummy $ac_prog; ac_word=$2
   12050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12051 $as_echo_n "checking for $ac_word... " >&6; }
   12052 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12053   $as_echo_n "(cached) " >&6
   12054 else
   12055   if test -n "$ac_ct_AR"; then
   12056   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12057 else
   12058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12059 for as_dir in $PATH
   12060 do
   12061   IFS=$as_save_IFS
   12062   test -z "$as_dir" && as_dir=.
   12063     for ac_exec_ext in '' $ac_executable_extensions; do
   12064   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12065     ac_cv_prog_ac_ct_AR="$ac_prog"
   12066     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12067     break 2
   12068   fi
   12069 done
   12070   done
   12071 IFS=$as_save_IFS
   12072 
   12073 fi
   12074 fi
   12075 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12076 if test -n "$ac_ct_AR"; then
   12077   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12078 $as_echo "$ac_ct_AR" >&6; }
   12079 else
   12080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12081 $as_echo "no" >&6; }
   12082 fi
   12083 
   12084 
   12085   test -n "$ac_ct_AR" && break
   12086 done
   12087 
   12088   if test "x$ac_ct_AR" = x; then
   12089     AR="false"
   12090   else
   12091     case $cross_compiling:$ac_tool_warned in
   12092 yes:)
   12093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12095 ac_tool_warned=yes ;;
   12096 esac
   12097     AR=$ac_ct_AR
   12098   fi
   12099 fi
   12100 
   12101 : ${AR=ar}
   12102 : ${AR_FLAGS=cru}
   12103 
   12104 
   12105 
   12106 
   12107 
   12108 
   12109 
   12110 
   12111 
   12112 
   12113 
   12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12115 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12116 if ${lt_cv_ar_at_file+:} false; then :
   12117   $as_echo_n "(cached) " >&6
   12118 else
   12119   lt_cv_ar_at_file=no
   12120    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12121 /* end confdefs.h.  */
   12122 
   12123 int
   12124 main ()
   12125 {
   12126 
   12127   ;
   12128   return 0;
   12129 }
   12130 _ACEOF
   12131 if ac_fn_c_try_compile "$LINENO"; then :
   12132   echo conftest.$ac_objext > conftest.lst
   12133       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12134       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12135   (eval $lt_ar_try) 2>&5
   12136   ac_status=$?
   12137   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12138   test $ac_status = 0; }
   12139       if test "$ac_status" -eq 0; then
   12140 	# Ensure the archiver fails upon bogus file names.
   12141 	rm -f conftest.$ac_objext libconftest.a
   12142 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12143   (eval $lt_ar_try) 2>&5
   12144   ac_status=$?
   12145   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12146   test $ac_status = 0; }
   12147 	if test "$ac_status" -ne 0; then
   12148           lt_cv_ar_at_file=@
   12149         fi
   12150       fi
   12151       rm -f conftest.* libconftest.a
   12152 
   12153 fi
   12154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12155 
   12156 fi
   12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12158 $as_echo "$lt_cv_ar_at_file" >&6; }
   12159 
   12160 if test "x$lt_cv_ar_at_file" = xno; then
   12161   archiver_list_spec=
   12162 else
   12163   archiver_list_spec=$lt_cv_ar_at_file
   12164 fi
   12165 
   12166 
   12167 
   12168 
   12169 
   12170 
   12171 
   12172 if test -n "$ac_tool_prefix"; then
   12173   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12174 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12176 $as_echo_n "checking for $ac_word... " >&6; }
   12177 if ${ac_cv_prog_STRIP+:} false; then :
   12178   $as_echo_n "(cached) " >&6
   12179 else
   12180   if test -n "$STRIP"; then
   12181   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12182 else
   12183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12184 for as_dir in $PATH
   12185 do
   12186   IFS=$as_save_IFS
   12187   test -z "$as_dir" && as_dir=.
   12188     for ac_exec_ext in '' $ac_executable_extensions; do
   12189   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12190     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12191     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12192     break 2
   12193   fi
   12194 done
   12195   done
   12196 IFS=$as_save_IFS
   12197 
   12198 fi
   12199 fi
   12200 STRIP=$ac_cv_prog_STRIP
   12201 if test -n "$STRIP"; then
   12202   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12203 $as_echo "$STRIP" >&6; }
   12204 else
   12205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12206 $as_echo "no" >&6; }
   12207 fi
   12208 
   12209 
   12210 fi
   12211 if test -z "$ac_cv_prog_STRIP"; then
   12212   ac_ct_STRIP=$STRIP
   12213   # Extract the first word of "strip", so it can be a program name with args.
   12214 set dummy strip; ac_word=$2
   12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12216 $as_echo_n "checking for $ac_word... " >&6; }
   12217 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12218   $as_echo_n "(cached) " >&6
   12219 else
   12220   if test -n "$ac_ct_STRIP"; then
   12221   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12222 else
   12223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12224 for as_dir in $PATH
   12225 do
   12226   IFS=$as_save_IFS
   12227   test -z "$as_dir" && as_dir=.
   12228     for ac_exec_ext in '' $ac_executable_extensions; do
   12229   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12230     ac_cv_prog_ac_ct_STRIP="strip"
   12231     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12232     break 2
   12233   fi
   12234 done
   12235   done
   12236 IFS=$as_save_IFS
   12237 
   12238 fi
   12239 fi
   12240 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12241 if test -n "$ac_ct_STRIP"; then
   12242   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12243 $as_echo "$ac_ct_STRIP" >&6; }
   12244 else
   12245   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12246 $as_echo "no" >&6; }
   12247 fi
   12248 
   12249   if test "x$ac_ct_STRIP" = x; then
   12250     STRIP=":"
   12251   else
   12252     case $cross_compiling:$ac_tool_warned in
   12253 yes:)
   12254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12255 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12256 ac_tool_warned=yes ;;
   12257 esac
   12258     STRIP=$ac_ct_STRIP
   12259   fi
   12260 else
   12261   STRIP="$ac_cv_prog_STRIP"
   12262 fi
   12263 
   12264 test -z "$STRIP" && STRIP=:
   12265 
   12266 
   12267 
   12268 
   12269 
   12270 
   12271 if test -n "$ac_tool_prefix"; then
   12272   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12273 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12275 $as_echo_n "checking for $ac_word... " >&6; }
   12276 if ${ac_cv_prog_RANLIB+:} false; then :
   12277   $as_echo_n "(cached) " >&6
   12278 else
   12279   if test -n "$RANLIB"; then
   12280   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12281 else
   12282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12283 for as_dir in $PATH
   12284 do
   12285   IFS=$as_save_IFS
   12286   test -z "$as_dir" && as_dir=.
   12287     for ac_exec_ext in '' $ac_executable_extensions; do
   12288   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12289     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12291     break 2
   12292   fi
   12293 done
   12294   done
   12295 IFS=$as_save_IFS
   12296 
   12297 fi
   12298 fi
   12299 RANLIB=$ac_cv_prog_RANLIB
   12300 if test -n "$RANLIB"; then
   12301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12302 $as_echo "$RANLIB" >&6; }
   12303 else
   12304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12305 $as_echo "no" >&6; }
   12306 fi
   12307 
   12308 
   12309 fi
   12310 if test -z "$ac_cv_prog_RANLIB"; then
   12311   ac_ct_RANLIB=$RANLIB
   12312   # Extract the first word of "ranlib", so it can be a program name with args.
   12313 set dummy ranlib; ac_word=$2
   12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12315 $as_echo_n "checking for $ac_word... " >&6; }
   12316 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12317   $as_echo_n "(cached) " >&6
   12318 else
   12319   if test -n "$ac_ct_RANLIB"; then
   12320   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12321 else
   12322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12323 for as_dir in $PATH
   12324 do
   12325   IFS=$as_save_IFS
   12326   test -z "$as_dir" && as_dir=.
   12327     for ac_exec_ext in '' $ac_executable_extensions; do
   12328   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12329     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12331     break 2
   12332   fi
   12333 done
   12334   done
   12335 IFS=$as_save_IFS
   12336 
   12337 fi
   12338 fi
   12339 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12340 if test -n "$ac_ct_RANLIB"; then
   12341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12342 $as_echo "$ac_ct_RANLIB" >&6; }
   12343 else
   12344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12345 $as_echo "no" >&6; }
   12346 fi
   12347 
   12348   if test "x$ac_ct_RANLIB" = x; then
   12349     RANLIB=":"
   12350   else
   12351     case $cross_compiling:$ac_tool_warned in
   12352 yes:)
   12353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12355 ac_tool_warned=yes ;;
   12356 esac
   12357     RANLIB=$ac_ct_RANLIB
   12358   fi
   12359 else
   12360   RANLIB="$ac_cv_prog_RANLIB"
   12361 fi
   12362 
   12363 test -z "$RANLIB" && RANLIB=:
   12364 
   12365 
   12366 
   12367 
   12368 
   12369 
   12370 # Determine commands to create old-style static archives.
   12371 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12372 old_postinstall_cmds='chmod 644 $oldlib'
   12373 old_postuninstall_cmds=
   12374 
   12375 if test -n "$RANLIB"; then
   12376   case $host_os in
   12377   openbsd*)
   12378     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12379     ;;
   12380   *)
   12381     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12382     ;;
   12383   esac
   12384   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12385 fi
   12386 
   12387 case $host_os in
   12388   darwin*)
   12389     lock_old_archive_extraction=yes ;;
   12390   *)
   12391     lock_old_archive_extraction=no ;;
   12392 esac
   12393 
   12394 
   12395 
   12396 
   12397 
   12398 
   12399 
   12400 
   12401 
   12402 
   12403 
   12404 
   12405 
   12406 
   12407 
   12408 
   12409 
   12410 
   12411 
   12412 
   12413 
   12414 
   12415 
   12416 
   12417 
   12418 
   12419 
   12420 
   12421 
   12422 
   12423 
   12424 
   12425 
   12426 
   12427 
   12428 
   12429 
   12430 
   12431 
   12432 # If no C compiler was specified, use CC.
   12433 LTCC=${LTCC-"$CC"}
   12434 
   12435 # If no C compiler flags were specified, use CFLAGS.
   12436 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12437 
   12438 # Allow CC to be a program name with arguments.
   12439 compiler=$CC
   12440 
   12441 
   12442 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12444 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12445 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12446   $as_echo_n "(cached) " >&6
   12447 else
   12448 
   12449 # These are sane defaults that work on at least a few old systems.
   12450 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12451 
   12452 # Character class describing NM global symbol codes.
   12453 symcode='[BCDEGRST]'
   12454 
   12455 # Regexp to match symbols that can be accessed directly from C.
   12456 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12457 
   12458 # Define system-specific variables.
   12459 case $host_os in
   12460 aix*)
   12461   symcode='[BCDT]'
   12462   ;;
   12463 cygwin* | mingw* | pw32* | cegcc*)
   12464   symcode='[ABCDGISTW]'
   12465   ;;
   12466 hpux*)
   12467   if test "$host_cpu" = ia64; then
   12468     symcode='[ABCDEGRST]'
   12469   fi
   12470   ;;
   12471 irix* | nonstopux*)
   12472   symcode='[BCDEGRST]'
   12473   ;;
   12474 osf*)
   12475   symcode='[BCDEGQRST]'
   12476   ;;
   12477 solaris*)
   12478   symcode='[BDRT]'
   12479   ;;
   12480 sco3.2v5*)
   12481   symcode='[DT]'
   12482   ;;
   12483 sysv4.2uw2*)
   12484   symcode='[DT]'
   12485   ;;
   12486 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12487   symcode='[ABDT]'
   12488   ;;
   12489 sysv4)
   12490   symcode='[DFNSTU]'
   12491   ;;
   12492 esac
   12493 
   12494 # If we're using GNU nm, then use its standard symbol codes.
   12495 case `$NM -V 2>&1` in
   12496 *GNU* | *'with BFD'*)
   12497   symcode='[ABCDGIRSTW]' ;;
   12498 esac
   12499 
   12500 # Transform an extracted symbol line into a proper C declaration.
   12501 # Some systems (esp. on ia64) link data and code symbols differently,
   12502 # so use this general approach.
   12503 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   12504 
   12505 # Transform an extracted symbol line into symbol name and symbol address
   12506 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   12507 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
   12508 
   12509 # Handle CRLF in mingw tool chain
   12510 opt_cr=
   12511 case $build_os in
   12512 mingw*)
   12513   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12514   ;;
   12515 esac
   12516 
   12517 # Try without a prefix underscore, then with it.
   12518 for ac_symprfx in "" "_"; do
   12519 
   12520   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12521   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12522 
   12523   # Write the raw and C identifiers.
   12524   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12525     # Fake it for dumpbin and say T for any non-static function
   12526     # and D for any global variable.
   12527     # Also find C++ and __fastcall symbols from MSVC++,
   12528     # which start with @ or ?.
   12529     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12530 "     {last_section=section; section=\$ 3};"\
   12531 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12532 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12533 "     \$ 0!~/External *\|/{next};"\
   12534 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12535 "     {if(hide[section]) next};"\
   12536 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   12537 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   12538 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   12539 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   12540 "     ' prfx=^$ac_symprfx"
   12541   else
   12542     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12543   fi
   12544   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12545 
   12546   # Check to see that the pipe works correctly.
   12547   pipe_works=no
   12548 
   12549   rm -f conftest*
   12550   cat > conftest.$ac_ext <<_LT_EOF
   12551 #ifdef __cplusplus
   12552 extern "C" {
   12553 #endif
   12554 char nm_test_var;
   12555 void nm_test_func(void);
   12556 void nm_test_func(void){}
   12557 #ifdef __cplusplus
   12558 }
   12559 #endif
   12560 int main(){nm_test_var='a';nm_test_func();return(0);}
   12561 _LT_EOF
   12562 
   12563   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12564   (eval $ac_compile) 2>&5
   12565   ac_status=$?
   12566   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12567   test $ac_status = 0; }; then
   12568     # Now try to grab the symbols.
   12569     nlist=conftest.nm
   12570     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12571   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12572   ac_status=$?
   12573   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12574   test $ac_status = 0; } && test -s "$nlist"; then
   12575       # Try sorting and uniquifying the output.
   12576       if sort "$nlist" | uniq > "$nlist"T; then
   12577 	mv -f "$nlist"T "$nlist"
   12578       else
   12579 	rm -f "$nlist"T
   12580       fi
   12581 
   12582       # Make sure that we snagged all the symbols we need.
   12583       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12584 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12585 	  cat <<_LT_EOF > conftest.$ac_ext
   12586 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12587 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   12588 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   12589    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12590 # define LT_DLSYM_CONST
   12591 #elif defined(__osf__)
   12592 /* This system does not cope well with relocations in const data.  */
   12593 # define LT_DLSYM_CONST
   12594 #else
   12595 # define LT_DLSYM_CONST const
   12596 #endif
   12597 
   12598 #ifdef __cplusplus
   12599 extern "C" {
   12600 #endif
   12601 
   12602 _LT_EOF
   12603 	  # Now generate the symbol file.
   12604 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12605 
   12606 	  cat <<_LT_EOF >> conftest.$ac_ext
   12607 
   12608 /* The mapping between symbol names and symbols.  */
   12609 LT_DLSYM_CONST struct {
   12610   const char *name;
   12611   void       *address;
   12612 }
   12613 lt__PROGRAM__LTX_preloaded_symbols[] =
   12614 {
   12615   { "@PROGRAM@", (void *) 0 },
   12616 _LT_EOF
   12617 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12618 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12619   {0, (void *) 0}
   12620 };
   12621 
   12622 /* This works around a problem in FreeBSD linker */
   12623 #ifdef FREEBSD_WORKAROUND
   12624 static const void *lt_preloaded_setup() {
   12625   return lt__PROGRAM__LTX_preloaded_symbols;
   12626 }
   12627 #endif
   12628 
   12629 #ifdef __cplusplus
   12630 }
   12631 #endif
   12632 _LT_EOF
   12633 	  # Now try linking the two files.
   12634 	  mv conftest.$ac_objext conftstm.$ac_objext
   12635 	  lt_globsym_save_LIBS=$LIBS
   12636 	  lt_globsym_save_CFLAGS=$CFLAGS
   12637 	  LIBS="conftstm.$ac_objext"
   12638 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12639 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12640   (eval $ac_link) 2>&5
   12641   ac_status=$?
   12642   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12643   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   12644 	    pipe_works=yes
   12645 	  fi
   12646 	  LIBS=$lt_globsym_save_LIBS
   12647 	  CFLAGS=$lt_globsym_save_CFLAGS
   12648 	else
   12649 	  echo "cannot find nm_test_func in $nlist" >&5
   12650 	fi
   12651       else
   12652 	echo "cannot find nm_test_var in $nlist" >&5
   12653       fi
   12654     else
   12655       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12656     fi
   12657   else
   12658     echo "$progname: failed program was:" >&5
   12659     cat conftest.$ac_ext >&5
   12660   fi
   12661   rm -rf conftest* conftst*
   12662 
   12663   # Do not use the global_symbol_pipe unless it works.
   12664   if test "$pipe_works" = yes; then
   12665     break
   12666   else
   12667     lt_cv_sys_global_symbol_pipe=
   12668   fi
   12669 done
   12670 
   12671 fi
   12672 
   12673 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12674   lt_cv_sys_global_symbol_to_cdecl=
   12675 fi
   12676 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12678 $as_echo "failed" >&6; }
   12679 else
   12680   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12681 $as_echo "ok" >&6; }
   12682 fi
   12683 
   12684 # Response file support.
   12685 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12686   nm_file_list_spec='@'
   12687 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12688   nm_file_list_spec='@'
   12689 fi
   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 
   12717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12718 $as_echo_n "checking for sysroot... " >&6; }
   12719 
   12720 # Check whether --with-sysroot was given.
   12721 if test "${with_sysroot+set}" = set; then :
   12722   withval=$with_sysroot;
   12723 else
   12724   with_sysroot=no
   12725 fi
   12726 
   12727 
   12728 lt_sysroot=
   12729 case ${with_sysroot} in #(
   12730  yes)
   12731    if test "$GCC" = yes; then
   12732      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   12733    fi
   12734    ;; #(
   12735  /*)
   12736    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   12737    ;; #(
   12738  no|'')
   12739    ;; #(
   12740  *)
   12741    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   12742 $as_echo "${with_sysroot}" >&6; }
   12743    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   12744    ;;
   12745 esac
   12746 
   12747  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   12748 $as_echo "${lt_sysroot:-no}" >&6; }
   12749 
   12750 
   12751 
   12752 
   12753 
   12754 # Check whether --enable-libtool-lock was given.
   12755 if test "${enable_libtool_lock+set}" = set; then :
   12756   enableval=$enable_libtool_lock;
   12757 fi
   12758 
   12759 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   12760 
   12761 # Some flags need to be propagated to the compiler or linker for good
   12762 # libtool support.
   12763 case $host in
   12764 ia64-*-hpux*)
   12765   # Find out which ABI we are using.
   12766   echo 'int i;' > conftest.$ac_ext
   12767   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12768   (eval $ac_compile) 2>&5
   12769   ac_status=$?
   12770   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12771   test $ac_status = 0; }; then
   12772     case `/usr/bin/file conftest.$ac_objext` in
   12773       *ELF-32*)
   12774 	HPUX_IA64_MODE="32"
   12775 	;;
   12776       *ELF-64*)
   12777 	HPUX_IA64_MODE="64"
   12778 	;;
   12779     esac
   12780   fi
   12781   rm -rf conftest*
   12782   ;;
   12783 *-*-irix6*)
   12784   # Find out which ABI we are using.
   12785   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   12786   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12787   (eval $ac_compile) 2>&5
   12788   ac_status=$?
   12789   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12790   test $ac_status = 0; }; then
   12791     if test "$lt_cv_prog_gnu_ld" = yes; then
   12792       case `/usr/bin/file conftest.$ac_objext` in
   12793 	*32-bit*)
   12794 	  LD="${LD-ld} -melf32bsmip"
   12795 	  ;;
   12796 	*N32*)
   12797 	  LD="${LD-ld} -melf32bmipn32"
   12798 	  ;;
   12799 	*64-bit*)
   12800 	  LD="${LD-ld} -melf64bmip"
   12801 	;;
   12802       esac
   12803     else
   12804       case `/usr/bin/file conftest.$ac_objext` in
   12805 	*32-bit*)
   12806 	  LD="${LD-ld} -32"
   12807 	  ;;
   12808 	*N32*)
   12809 	  LD="${LD-ld} -n32"
   12810 	  ;;
   12811 	*64-bit*)
   12812 	  LD="${LD-ld} -64"
   12813 	  ;;
   12814       esac
   12815     fi
   12816   fi
   12817   rm -rf conftest*
   12818   ;;
   12819 
   12820 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   12821 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   12822   # Find out which ABI we are using.
   12823   echo 'int i;' > conftest.$ac_ext
   12824   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12825   (eval $ac_compile) 2>&5
   12826   ac_status=$?
   12827   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12828   test $ac_status = 0; }; then
   12829     case `/usr/bin/file conftest.o` in
   12830       *32-bit*)
   12831 	case $host in
   12832 	  x86_64-*kfreebsd*-gnu)
   12833 	    LD="${LD-ld} -m elf_i386_fbsd"
   12834 	    ;;
   12835 	  x86_64-*linux*)
   12836 	    case `/usr/bin/file conftest.o` in
   12837 	      *x86-64*)
   12838 		LD="${LD-ld} -m elf32_x86_64"
   12839 		;;
   12840 	      *)
   12841 		LD="${LD-ld} -m elf_i386"
   12842 		;;
   12843 	    esac
   12844 	    ;;
   12845 	  ppc64-*linux*|powerpc64-*linux*)
   12846 	    LD="${LD-ld} -m elf32ppclinux"
   12847 	    ;;
   12848 	  s390x-*linux*)
   12849 	    LD="${LD-ld} -m elf_s390"
   12850 	    ;;
   12851 	  sparc64-*linux*)
   12852 	    LD="${LD-ld} -m elf32_sparc"
   12853 	    ;;
   12854 	esac
   12855 	;;
   12856       *64-bit*)
   12857 	case $host in
   12858 	  x86_64-*kfreebsd*-gnu)
   12859 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   12860 	    ;;
   12861 	  x86_64-*linux*)
   12862 	    LD="${LD-ld} -m elf_x86_64"
   12863 	    ;;
   12864 	  ppc*-*linux*|powerpc*-*linux*)
   12865 	    LD="${LD-ld} -m elf64ppc"
   12866 	    ;;
   12867 	  s390*-*linux*|s390*-*tpf*)
   12868 	    LD="${LD-ld} -m elf64_s390"
   12869 	    ;;
   12870 	  sparc*-*linux*)
   12871 	    LD="${LD-ld} -m elf64_sparc"
   12872 	    ;;
   12873 	esac
   12874 	;;
   12875     esac
   12876   fi
   12877   rm -rf conftest*
   12878   ;;
   12879 
   12880 *-*-sco3.2v5*)
   12881   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   12882   SAVE_CFLAGS="$CFLAGS"
   12883   CFLAGS="$CFLAGS -belf"
   12884   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   12885 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   12886 if ${lt_cv_cc_needs_belf+:} false; then :
   12887   $as_echo_n "(cached) " >&6
   12888 else
   12889   ac_ext=c
   12890 ac_cpp='$CPP $CPPFLAGS'
   12891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12894 
   12895      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12896 /* end confdefs.h.  */
   12897 
   12898 int
   12899 main ()
   12900 {
   12901 
   12902   ;
   12903   return 0;
   12904 }
   12905 _ACEOF
   12906 if ac_fn_c_try_link "$LINENO"; then :
   12907   lt_cv_cc_needs_belf=yes
   12908 else
   12909   lt_cv_cc_needs_belf=no
   12910 fi
   12911 rm -f core conftest.err conftest.$ac_objext \
   12912     conftest$ac_exeext conftest.$ac_ext
   12913      ac_ext=c
   12914 ac_cpp='$CPP $CPPFLAGS'
   12915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   12916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   12917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   12918 
   12919 fi
   12920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   12921 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   12922   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   12923     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   12924     CFLAGS="$SAVE_CFLAGS"
   12925   fi
   12926   ;;
   12927 *-*solaris*)
   12928   # Find out which ABI we are using.
   12929   echo 'int i;' > conftest.$ac_ext
   12930   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12931   (eval $ac_compile) 2>&5
   12932   ac_status=$?
   12933   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12934   test $ac_status = 0; }; then
   12935     case `/usr/bin/file conftest.o` in
   12936     *64-bit*)
   12937       case $lt_cv_prog_gnu_ld in
   12938       yes*)
   12939         case $host in
   12940         i?86-*-solaris*)
   12941           LD="${LD-ld} -m elf_x86_64"
   12942           ;;
   12943         sparc*-*-solaris*)
   12944           LD="${LD-ld} -m elf64_sparc"
   12945           ;;
   12946         esac
   12947         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   12948         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   12949           LD="${LD-ld}_sol2"
   12950         fi
   12951         ;;
   12952       *)
   12953 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   12954 	  LD="${LD-ld} -64"
   12955 	fi
   12956 	;;
   12957       esac
   12958       ;;
   12959     esac
   12960   fi
   12961   rm -rf conftest*
   12962   ;;
   12963 esac
   12964 
   12965 need_locks="$enable_libtool_lock"
   12966 
   12967 if test -n "$ac_tool_prefix"; then
   12968   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   12969 set dummy ${ac_tool_prefix}mt; ac_word=$2
   12970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12971 $as_echo_n "checking for $ac_word... " >&6; }
   12972 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   12973   $as_echo_n "(cached) " >&6
   12974 else
   12975   if test -n "$MANIFEST_TOOL"; then
   12976   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   12977 else
   12978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12979 for as_dir in $PATH
   12980 do
   12981   IFS=$as_save_IFS
   12982   test -z "$as_dir" && as_dir=.
   12983     for ac_exec_ext in '' $ac_executable_extensions; do
   12984   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12985     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   12986     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12987     break 2
   12988   fi
   12989 done
   12990   done
   12991 IFS=$as_save_IFS
   12992 
   12993 fi
   12994 fi
   12995 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   12996 if test -n "$MANIFEST_TOOL"; then
   12997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   12998 $as_echo "$MANIFEST_TOOL" >&6; }
   12999 else
   13000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13001 $as_echo "no" >&6; }
   13002 fi
   13003 
   13004 
   13005 fi
   13006 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13007   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13008   # Extract the first word of "mt", so it can be a program name with args.
   13009 set dummy mt; ac_word=$2
   13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13011 $as_echo_n "checking for $ac_word... " >&6; }
   13012 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13013   $as_echo_n "(cached) " >&6
   13014 else
   13015   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13016   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13017 else
   13018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13019 for as_dir in $PATH
   13020 do
   13021   IFS=$as_save_IFS
   13022   test -z "$as_dir" && as_dir=.
   13023     for ac_exec_ext in '' $ac_executable_extensions; do
   13024   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13025     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13026     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13027     break 2
   13028   fi
   13029 done
   13030   done
   13031 IFS=$as_save_IFS
   13032 
   13033 fi
   13034 fi
   13035 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13036 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13037   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13038 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13039 else
   13040   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13041 $as_echo "no" >&6; }
   13042 fi
   13043 
   13044   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13045     MANIFEST_TOOL=":"
   13046   else
   13047     case $cross_compiling:$ac_tool_warned in
   13048 yes:)
   13049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13051 ac_tool_warned=yes ;;
   13052 esac
   13053     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13054   fi
   13055 else
   13056   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13057 fi
   13058 
   13059 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13061 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13062 if ${lt_cv_path_mainfest_tool+:} false; then :
   13063   $as_echo_n "(cached) " >&6
   13064 else
   13065   lt_cv_path_mainfest_tool=no
   13066   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13067   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13068   cat conftest.err >&5
   13069   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13070     lt_cv_path_mainfest_tool=yes
   13071   fi
   13072   rm -f conftest*
   13073 fi
   13074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13075 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13076 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   13077   MANIFEST_TOOL=:
   13078 fi
   13079 
   13080 
   13081 
   13082 
   13083 
   13084 
   13085   case $host_os in
   13086     rhapsody* | darwin*)
   13087     if test -n "$ac_tool_prefix"; then
   13088   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13089 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13091 $as_echo_n "checking for $ac_word... " >&6; }
   13092 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13093   $as_echo_n "(cached) " >&6
   13094 else
   13095   if test -n "$DSYMUTIL"; then
   13096   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13097 else
   13098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13099 for as_dir in $PATH
   13100 do
   13101   IFS=$as_save_IFS
   13102   test -z "$as_dir" && as_dir=.
   13103     for ac_exec_ext in '' $ac_executable_extensions; do
   13104   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13105     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13106     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13107     break 2
   13108   fi
   13109 done
   13110   done
   13111 IFS=$as_save_IFS
   13112 
   13113 fi
   13114 fi
   13115 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13116 if test -n "$DSYMUTIL"; then
   13117   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13118 $as_echo "$DSYMUTIL" >&6; }
   13119 else
   13120   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13121 $as_echo "no" >&6; }
   13122 fi
   13123 
   13124 
   13125 fi
   13126 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13127   ac_ct_DSYMUTIL=$DSYMUTIL
   13128   # Extract the first word of "dsymutil", so it can be a program name with args.
   13129 set dummy dsymutil; ac_word=$2
   13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13131 $as_echo_n "checking for $ac_word... " >&6; }
   13132 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13133   $as_echo_n "(cached) " >&6
   13134 else
   13135   if test -n "$ac_ct_DSYMUTIL"; then
   13136   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13137 else
   13138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13139 for as_dir in $PATH
   13140 do
   13141   IFS=$as_save_IFS
   13142   test -z "$as_dir" && as_dir=.
   13143     for ac_exec_ext in '' $ac_executable_extensions; do
   13144   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13145     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13146     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13147     break 2
   13148   fi
   13149 done
   13150   done
   13151 IFS=$as_save_IFS
   13152 
   13153 fi
   13154 fi
   13155 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13156 if test -n "$ac_ct_DSYMUTIL"; then
   13157   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13158 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13159 else
   13160   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13161 $as_echo "no" >&6; }
   13162 fi
   13163 
   13164   if test "x$ac_ct_DSYMUTIL" = x; then
   13165     DSYMUTIL=":"
   13166   else
   13167     case $cross_compiling:$ac_tool_warned in
   13168 yes:)
   13169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13171 ac_tool_warned=yes ;;
   13172 esac
   13173     DSYMUTIL=$ac_ct_DSYMUTIL
   13174   fi
   13175 else
   13176   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13177 fi
   13178 
   13179     if test -n "$ac_tool_prefix"; then
   13180   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13181 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13183 $as_echo_n "checking for $ac_word... " >&6; }
   13184 if ${ac_cv_prog_NMEDIT+:} false; then :
   13185   $as_echo_n "(cached) " >&6
   13186 else
   13187   if test -n "$NMEDIT"; then
   13188   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13189 else
   13190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13191 for as_dir in $PATH
   13192 do
   13193   IFS=$as_save_IFS
   13194   test -z "$as_dir" && as_dir=.
   13195     for ac_exec_ext in '' $ac_executable_extensions; do
   13196   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13197     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13198     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13199     break 2
   13200   fi
   13201 done
   13202   done
   13203 IFS=$as_save_IFS
   13204 
   13205 fi
   13206 fi
   13207 NMEDIT=$ac_cv_prog_NMEDIT
   13208 if test -n "$NMEDIT"; then
   13209   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13210 $as_echo "$NMEDIT" >&6; }
   13211 else
   13212   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13213 $as_echo "no" >&6; }
   13214 fi
   13215 
   13216 
   13217 fi
   13218 if test -z "$ac_cv_prog_NMEDIT"; then
   13219   ac_ct_NMEDIT=$NMEDIT
   13220   # Extract the first word of "nmedit", so it can be a program name with args.
   13221 set dummy nmedit; ac_word=$2
   13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13223 $as_echo_n "checking for $ac_word... " >&6; }
   13224 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13225   $as_echo_n "(cached) " >&6
   13226 else
   13227   if test -n "$ac_ct_NMEDIT"; then
   13228   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13229 else
   13230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13231 for as_dir in $PATH
   13232 do
   13233   IFS=$as_save_IFS
   13234   test -z "$as_dir" && as_dir=.
   13235     for ac_exec_ext in '' $ac_executable_extensions; do
   13236   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13237     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13238     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13239     break 2
   13240   fi
   13241 done
   13242   done
   13243 IFS=$as_save_IFS
   13244 
   13245 fi
   13246 fi
   13247 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13248 if test -n "$ac_ct_NMEDIT"; then
   13249   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13250 $as_echo "$ac_ct_NMEDIT" >&6; }
   13251 else
   13252   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13253 $as_echo "no" >&6; }
   13254 fi
   13255 
   13256   if test "x$ac_ct_NMEDIT" = x; then
   13257     NMEDIT=":"
   13258   else
   13259     case $cross_compiling:$ac_tool_warned in
   13260 yes:)
   13261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13263 ac_tool_warned=yes ;;
   13264 esac
   13265     NMEDIT=$ac_ct_NMEDIT
   13266   fi
   13267 else
   13268   NMEDIT="$ac_cv_prog_NMEDIT"
   13269 fi
   13270 
   13271     if test -n "$ac_tool_prefix"; then
   13272   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13273 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13275 $as_echo_n "checking for $ac_word... " >&6; }
   13276 if ${ac_cv_prog_LIPO+:} false; then :
   13277   $as_echo_n "(cached) " >&6
   13278 else
   13279   if test -n "$LIPO"; then
   13280   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13281 else
   13282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13283 for as_dir in $PATH
   13284 do
   13285   IFS=$as_save_IFS
   13286   test -z "$as_dir" && as_dir=.
   13287     for ac_exec_ext in '' $ac_executable_extensions; do
   13288   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13289     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13291     break 2
   13292   fi
   13293 done
   13294   done
   13295 IFS=$as_save_IFS
   13296 
   13297 fi
   13298 fi
   13299 LIPO=$ac_cv_prog_LIPO
   13300 if test -n "$LIPO"; then
   13301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13302 $as_echo "$LIPO" >&6; }
   13303 else
   13304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13305 $as_echo "no" >&6; }
   13306 fi
   13307 
   13308 
   13309 fi
   13310 if test -z "$ac_cv_prog_LIPO"; then
   13311   ac_ct_LIPO=$LIPO
   13312   # Extract the first word of "lipo", so it can be a program name with args.
   13313 set dummy lipo; ac_word=$2
   13314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13315 $as_echo_n "checking for $ac_word... " >&6; }
   13316 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13317   $as_echo_n "(cached) " >&6
   13318 else
   13319   if test -n "$ac_ct_LIPO"; then
   13320   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13321 else
   13322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13323 for as_dir in $PATH
   13324 do
   13325   IFS=$as_save_IFS
   13326   test -z "$as_dir" && as_dir=.
   13327     for ac_exec_ext in '' $ac_executable_extensions; do
   13328   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13329     ac_cv_prog_ac_ct_LIPO="lipo"
   13330     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13331     break 2
   13332   fi
   13333 done
   13334   done
   13335 IFS=$as_save_IFS
   13336 
   13337 fi
   13338 fi
   13339 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13340 if test -n "$ac_ct_LIPO"; then
   13341   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13342 $as_echo "$ac_ct_LIPO" >&6; }
   13343 else
   13344   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13345 $as_echo "no" >&6; }
   13346 fi
   13347 
   13348   if test "x$ac_ct_LIPO" = x; then
   13349     LIPO=":"
   13350   else
   13351     case $cross_compiling:$ac_tool_warned in
   13352 yes:)
   13353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13355 ac_tool_warned=yes ;;
   13356 esac
   13357     LIPO=$ac_ct_LIPO
   13358   fi
   13359 else
   13360   LIPO="$ac_cv_prog_LIPO"
   13361 fi
   13362 
   13363     if test -n "$ac_tool_prefix"; then
   13364   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13365 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13367 $as_echo_n "checking for $ac_word... " >&6; }
   13368 if ${ac_cv_prog_OTOOL+:} false; then :
   13369   $as_echo_n "(cached) " >&6
   13370 else
   13371   if test -n "$OTOOL"; then
   13372   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13373 else
   13374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13375 for as_dir in $PATH
   13376 do
   13377   IFS=$as_save_IFS
   13378   test -z "$as_dir" && as_dir=.
   13379     for ac_exec_ext in '' $ac_executable_extensions; do
   13380   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13381     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13382     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13383     break 2
   13384   fi
   13385 done
   13386   done
   13387 IFS=$as_save_IFS
   13388 
   13389 fi
   13390 fi
   13391 OTOOL=$ac_cv_prog_OTOOL
   13392 if test -n "$OTOOL"; then
   13393   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13394 $as_echo "$OTOOL" >&6; }
   13395 else
   13396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13397 $as_echo "no" >&6; }
   13398 fi
   13399 
   13400 
   13401 fi
   13402 if test -z "$ac_cv_prog_OTOOL"; then
   13403   ac_ct_OTOOL=$OTOOL
   13404   # Extract the first word of "otool", so it can be a program name with args.
   13405 set dummy otool; ac_word=$2
   13406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13407 $as_echo_n "checking for $ac_word... " >&6; }
   13408 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13409   $as_echo_n "(cached) " >&6
   13410 else
   13411   if test -n "$ac_ct_OTOOL"; then
   13412   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13413 else
   13414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13415 for as_dir in $PATH
   13416 do
   13417   IFS=$as_save_IFS
   13418   test -z "$as_dir" && as_dir=.
   13419     for ac_exec_ext in '' $ac_executable_extensions; do
   13420   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13421     ac_cv_prog_ac_ct_OTOOL="otool"
   13422     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13423     break 2
   13424   fi
   13425 done
   13426   done
   13427 IFS=$as_save_IFS
   13428 
   13429 fi
   13430 fi
   13431 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13432 if test -n "$ac_ct_OTOOL"; then
   13433   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13434 $as_echo "$ac_ct_OTOOL" >&6; }
   13435 else
   13436   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13437 $as_echo "no" >&6; }
   13438 fi
   13439 
   13440   if test "x$ac_ct_OTOOL" = x; then
   13441     OTOOL=":"
   13442   else
   13443     case $cross_compiling:$ac_tool_warned in
   13444 yes:)
   13445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13446 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13447 ac_tool_warned=yes ;;
   13448 esac
   13449     OTOOL=$ac_ct_OTOOL
   13450   fi
   13451 else
   13452   OTOOL="$ac_cv_prog_OTOOL"
   13453 fi
   13454 
   13455     if test -n "$ac_tool_prefix"; then
   13456   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13457 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13459 $as_echo_n "checking for $ac_word... " >&6; }
   13460 if ${ac_cv_prog_OTOOL64+:} false; then :
   13461   $as_echo_n "(cached) " >&6
   13462 else
   13463   if test -n "$OTOOL64"; then
   13464   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13465 else
   13466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13467 for as_dir in $PATH
   13468 do
   13469   IFS=$as_save_IFS
   13470   test -z "$as_dir" && as_dir=.
   13471     for ac_exec_ext in '' $ac_executable_extensions; do
   13472   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13473     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13474     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13475     break 2
   13476   fi
   13477 done
   13478   done
   13479 IFS=$as_save_IFS
   13480 
   13481 fi
   13482 fi
   13483 OTOOL64=$ac_cv_prog_OTOOL64
   13484 if test -n "$OTOOL64"; then
   13485   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13486 $as_echo "$OTOOL64" >&6; }
   13487 else
   13488   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13489 $as_echo "no" >&6; }
   13490 fi
   13491 
   13492 
   13493 fi
   13494 if test -z "$ac_cv_prog_OTOOL64"; then
   13495   ac_ct_OTOOL64=$OTOOL64
   13496   # Extract the first word of "otool64", so it can be a program name with args.
   13497 set dummy otool64; ac_word=$2
   13498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13499 $as_echo_n "checking for $ac_word... " >&6; }
   13500 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13501   $as_echo_n "(cached) " >&6
   13502 else
   13503   if test -n "$ac_ct_OTOOL64"; then
   13504   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13505 else
   13506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13507 for as_dir in $PATH
   13508 do
   13509   IFS=$as_save_IFS
   13510   test -z "$as_dir" && as_dir=.
   13511     for ac_exec_ext in '' $ac_executable_extensions; do
   13512   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13513     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13514     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13515     break 2
   13516   fi
   13517 done
   13518   done
   13519 IFS=$as_save_IFS
   13520 
   13521 fi
   13522 fi
   13523 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13524 if test -n "$ac_ct_OTOOL64"; then
   13525   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13526 $as_echo "$ac_ct_OTOOL64" >&6; }
   13527 else
   13528   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13529 $as_echo "no" >&6; }
   13530 fi
   13531 
   13532   if test "x$ac_ct_OTOOL64" = x; then
   13533     OTOOL64=":"
   13534   else
   13535     case $cross_compiling:$ac_tool_warned in
   13536 yes:)
   13537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13539 ac_tool_warned=yes ;;
   13540 esac
   13541     OTOOL64=$ac_ct_OTOOL64
   13542   fi
   13543 else
   13544   OTOOL64="$ac_cv_prog_OTOOL64"
   13545 fi
   13546 
   13547 
   13548 
   13549 
   13550 
   13551 
   13552 
   13553 
   13554 
   13555 
   13556 
   13557 
   13558 
   13559 
   13560 
   13561 
   13562 
   13563 
   13564 
   13565 
   13566 
   13567 
   13568 
   13569 
   13570 
   13571 
   13572 
   13573     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13574 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13575 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13576   $as_echo_n "(cached) " >&6
   13577 else
   13578   lt_cv_apple_cc_single_mod=no
   13579       if test -z "${LT_MULTI_MODULE}"; then
   13580 	# By default we will add the -single_module flag. You can override
   13581 	# by either setting the environment variable LT_MULTI_MODULE
   13582 	# non-empty at configure time, or by adding -multi_module to the
   13583 	# link flags.
   13584 	rm -rf libconftest.dylib*
   13585 	echo "int foo(void){return 1;}" > conftest.c
   13586 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13587 -dynamiclib -Wl,-single_module conftest.c" >&5
   13588 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13589 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13590         _lt_result=$?
   13591 	# If there is a non-empty error log, and "single_module"
   13592 	# appears in it, assume the flag caused a linker warning
   13593         if test -s conftest.err && $GREP single_module conftest.err; then
   13594 	  cat conftest.err >&5
   13595 	# Otherwise, if the output was created with a 0 exit code from
   13596 	# the compiler, it worked.
   13597 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   13598 	  lt_cv_apple_cc_single_mod=yes
   13599 	else
   13600 	  cat conftest.err >&5
   13601 	fi
   13602 	rm -rf libconftest.dylib*
   13603 	rm -f conftest.*
   13604       fi
   13605 fi
   13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   13607 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   13608 
   13609     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   13610 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   13611 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   13612   $as_echo_n "(cached) " >&6
   13613 else
   13614   lt_cv_ld_exported_symbols_list=no
   13615       save_LDFLAGS=$LDFLAGS
   13616       echo "_main" > conftest.sym
   13617       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   13618       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13619 /* end confdefs.h.  */
   13620 
   13621 int
   13622 main ()
   13623 {
   13624 
   13625   ;
   13626   return 0;
   13627 }
   13628 _ACEOF
   13629 if ac_fn_c_try_link "$LINENO"; then :
   13630   lt_cv_ld_exported_symbols_list=yes
   13631 else
   13632   lt_cv_ld_exported_symbols_list=no
   13633 fi
   13634 rm -f core conftest.err conftest.$ac_objext \
   13635     conftest$ac_exeext conftest.$ac_ext
   13636 	LDFLAGS="$save_LDFLAGS"
   13637 
   13638 fi
   13639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   13640 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   13641 
   13642     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   13643 $as_echo_n "checking for -force_load linker flag... " >&6; }
   13644 if ${lt_cv_ld_force_load+:} false; then :
   13645   $as_echo_n "(cached) " >&6
   13646 else
   13647   lt_cv_ld_force_load=no
   13648       cat > conftest.c << _LT_EOF
   13649 int forced_loaded() { return 2;}
   13650 _LT_EOF
   13651       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   13652       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   13653       echo "$AR cru libconftest.a conftest.o" >&5
   13654       $AR cru libconftest.a conftest.o 2>&5
   13655       echo "$RANLIB libconftest.a" >&5
   13656       $RANLIB libconftest.a 2>&5
   13657       cat > conftest.c << _LT_EOF
   13658 int main() { return 0;}
   13659 _LT_EOF
   13660       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   13661       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   13662       _lt_result=$?
   13663       if test -s conftest.err && $GREP force_load conftest.err; then
   13664 	cat conftest.err >&5
   13665       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   13666 	lt_cv_ld_force_load=yes
   13667       else
   13668 	cat conftest.err >&5
   13669       fi
   13670         rm -f conftest.err libconftest.a conftest conftest.c
   13671         rm -rf conftest.dSYM
   13672 
   13673 fi
   13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   13675 $as_echo "$lt_cv_ld_force_load" >&6; }
   13676     case $host_os in
   13677     rhapsody* | darwin1.[012])
   13678       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   13679     darwin1.*)
   13680       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13681     darwin*) # darwin 5.x on
   13682       # if running on 10.5 or later, the deployment target defaults
   13683       # to the OS version, if on x86, and 10.4, the deployment
   13684       # target defaults to 10.4. Don't you love it?
   13685       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   13686 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   13687 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13688 	10.[012]*)
   13689 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13690 	10.*)
   13691 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13692       esac
   13693     ;;
   13694   esac
   13695     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   13696       _lt_dar_single_mod='$single_module'
   13697     fi
   13698     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   13699       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   13700     else
   13701       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   13702     fi
   13703     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   13704       _lt_dsymutil='~$DSYMUTIL $lib || :'
   13705     else
   13706       _lt_dsymutil=
   13707     fi
   13708     ;;
   13709   esac
   13710 
   13711 for ac_header in dlfcn.h
   13712 do :
   13713   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   13714 "
   13715 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13716   cat >>confdefs.h <<_ACEOF
   13717 #define HAVE_DLFCN_H 1
   13718 _ACEOF
   13719 
   13720 fi
   13721 
   13722 done
   13723 
   13724 
   13725 
   13726 
   13727 
   13728 # Set options
   13729 
   13730 
   13731 
   13732         enable_dlopen=no
   13733 
   13734 
   13735   enable_win32_dll=no
   13736 
   13737 
   13738             # Check whether --enable-shared was given.
   13739 if test "${enable_shared+set}" = set; then :
   13740   enableval=$enable_shared; p=${PACKAGE-default}
   13741     case $enableval in
   13742     yes) enable_shared=yes ;;
   13743     no) enable_shared=no ;;
   13744     *)
   13745       enable_shared=no
   13746       # Look at the argument we got.  We use all the common list separators.
   13747       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13748       for pkg in $enableval; do
   13749 	IFS="$lt_save_ifs"
   13750 	if test "X$pkg" = "X$p"; then
   13751 	  enable_shared=yes
   13752 	fi
   13753       done
   13754       IFS="$lt_save_ifs"
   13755       ;;
   13756     esac
   13757 else
   13758   enable_shared=yes
   13759 fi
   13760 
   13761 
   13762 
   13763 
   13764 
   13765 
   13766 
   13767 
   13768 
   13769 
   13770 
   13771 # Check whether --with-pic was given.
   13772 if test "${with_pic+set}" = set; then :
   13773   withval=$with_pic; lt_p=${PACKAGE-default}
   13774     case $withval in
   13775     yes|no) pic_mode=$withval ;;
   13776     *)
   13777       pic_mode=default
   13778       # Look at the argument we got.  We use all the common list separators.
   13779       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13780       for lt_pkg in $withval; do
   13781 	IFS="$lt_save_ifs"
   13782 	if test "X$lt_pkg" = "X$lt_p"; then
   13783 	  pic_mode=yes
   13784 	fi
   13785       done
   13786       IFS="$lt_save_ifs"
   13787       ;;
   13788     esac
   13789 else
   13790   pic_mode=default
   13791 fi
   13792 
   13793 
   13794 test -z "$pic_mode" && pic_mode=default
   13795 
   13796 
   13797 
   13798 
   13799 
   13800 
   13801 
   13802   # Check whether --enable-fast-install was given.
   13803 if test "${enable_fast_install+set}" = set; then :
   13804   enableval=$enable_fast_install; p=${PACKAGE-default}
   13805     case $enableval in
   13806     yes) enable_fast_install=yes ;;
   13807     no) enable_fast_install=no ;;
   13808     *)
   13809       enable_fast_install=no
   13810       # Look at the argument we got.  We use all the common list separators.
   13811       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   13812       for pkg in $enableval; do
   13813 	IFS="$lt_save_ifs"
   13814 	if test "X$pkg" = "X$p"; then
   13815 	  enable_fast_install=yes
   13816 	fi
   13817       done
   13818       IFS="$lt_save_ifs"
   13819       ;;
   13820     esac
   13821 else
   13822   enable_fast_install=yes
   13823 fi
   13824 
   13825 
   13826 
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 
   13833 
   13834 
   13835 # This can be used to rebuild libtool when needed
   13836 LIBTOOL_DEPS="$ltmain"
   13837 
   13838 # Always use our own libtool.
   13839 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 
   13854 
   13855 
   13856 
   13857 
   13858 
   13859 
   13860 
   13861 
   13862 
   13863 
   13864 
   13865 
   13866 
   13867 
   13868 
   13869 
   13870 test -z "$LN_S" && LN_S="ln -s"
   13871 
   13872 
   13873 
   13874 
   13875 
   13876 
   13877 
   13878 
   13879 
   13880 
   13881 
   13882 
   13883 
   13884 
   13885 if test -n "${ZSH_VERSION+set}" ; then
   13886    setopt NO_GLOB_SUBST
   13887 fi
   13888 
   13889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   13890 $as_echo_n "checking for objdir... " >&6; }
   13891 if ${lt_cv_objdir+:} false; then :
   13892   $as_echo_n "(cached) " >&6
   13893 else
   13894   rm -f .libs 2>/dev/null
   13895 mkdir .libs 2>/dev/null
   13896 if test -d .libs; then
   13897   lt_cv_objdir=.libs
   13898 else
   13899   # MS-DOS does not allow filenames that begin with a dot.
   13900   lt_cv_objdir=_libs
   13901 fi
   13902 rmdir .libs 2>/dev/null
   13903 fi
   13904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   13905 $as_echo "$lt_cv_objdir" >&6; }
   13906 objdir=$lt_cv_objdir
   13907 
   13908 
   13909 
   13910 
   13911 
   13912 cat >>confdefs.h <<_ACEOF
   13913 #define LT_OBJDIR "$lt_cv_objdir/"
   13914 _ACEOF
   13915 
   13916 
   13917 
   13918 
   13919 case $host_os in
   13920 aix3*)
   13921   # AIX sometimes has problems with the GCC collect2 program.  For some
   13922   # reason, if we set the COLLECT_NAMES environment variable, the problems
   13923   # vanish in a puff of smoke.
   13924   if test "X${COLLECT_NAMES+set}" != Xset; then
   13925     COLLECT_NAMES=
   13926     export COLLECT_NAMES
   13927   fi
   13928   ;;
   13929 esac
   13930 
   13931 # Global variables:
   13932 ofile=libtool
   13933 can_build_shared=yes
   13934 
   13935 # All known linkers require a `.a' archive for static linking (except MSVC,
   13936 # which needs '.lib').
   13937 libext=a
   13938 
   13939 with_gnu_ld="$lt_cv_prog_gnu_ld"
   13940 
   13941 old_CC="$CC"
   13942 old_CFLAGS="$CFLAGS"
   13943 
   13944 # Set sane defaults for various variables
   13945 test -z "$CC" && CC=cc
   13946 test -z "$LTCC" && LTCC=$CC
   13947 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   13948 test -z "$LD" && LD=ld
   13949 test -z "$ac_objext" && ac_objext=o
   13950 
   13951 for cc_temp in $compiler""; do
   13952   case $cc_temp in
   13953     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   13954     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   13955     \-*) ;;
   13956     *) break;;
   13957   esac
   13958 done
   13959 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   13960 
   13961 
   13962 # Only perform the check for file, if the check method requires it
   13963 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   13964 case $deplibs_check_method in
   13965 file_magic*)
   13966   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   13967     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   13968 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   13969 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   13970   $as_echo_n "(cached) " >&6
   13971 else
   13972   case $MAGIC_CMD in
   13973 [\\/*] |  ?:[\\/]*)
   13974   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   13975   ;;
   13976 *)
   13977   lt_save_MAGIC_CMD="$MAGIC_CMD"
   13978   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   13979   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   13980   for ac_dir in $ac_dummy; do
   13981     IFS="$lt_save_ifs"
   13982     test -z "$ac_dir" && ac_dir=.
   13983     if test -f $ac_dir/${ac_tool_prefix}file; then
   13984       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   13985       if test -n "$file_magic_test_file"; then
   13986 	case $deplibs_check_method in
   13987 	"file_magic "*)
   13988 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   13989 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   13990 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   13991 	    $EGREP "$file_magic_regex" > /dev/null; then
   13992 	    :
   13993 	  else
   13994 	    cat <<_LT_EOF 1>&2
   13995 
   13996 *** Warning: the command libtool uses to detect shared libraries,
   13997 *** $file_magic_cmd, produces output that libtool cannot recognize.
   13998 *** The result is that libtool may fail to recognize shared libraries
   13999 *** as such.  This will affect the creation of libtool libraries that
   14000 *** depend on shared libraries, but programs linked with such libtool
   14001 *** libraries will work regardless of this problem.  Nevertheless, you
   14002 *** may want to report the problem to your system manager and/or to
   14003 *** bug-libtool@gnu.org
   14004 
   14005 _LT_EOF
   14006 	  fi ;;
   14007 	esac
   14008       fi
   14009       break
   14010     fi
   14011   done
   14012   IFS="$lt_save_ifs"
   14013   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14014   ;;
   14015 esac
   14016 fi
   14017 
   14018 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14019 if test -n "$MAGIC_CMD"; then
   14020   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14021 $as_echo "$MAGIC_CMD" >&6; }
   14022 else
   14023   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14024 $as_echo "no" >&6; }
   14025 fi
   14026 
   14027 
   14028 
   14029 
   14030 
   14031 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14032   if test -n "$ac_tool_prefix"; then
   14033     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14034 $as_echo_n "checking for file... " >&6; }
   14035 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14036   $as_echo_n "(cached) " >&6
   14037 else
   14038   case $MAGIC_CMD in
   14039 [\\/*] |  ?:[\\/]*)
   14040   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14041   ;;
   14042 *)
   14043   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14044   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14045   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14046   for ac_dir in $ac_dummy; do
   14047     IFS="$lt_save_ifs"
   14048     test -z "$ac_dir" && ac_dir=.
   14049     if test -f $ac_dir/file; then
   14050       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   14051       if test -n "$file_magic_test_file"; then
   14052 	case $deplibs_check_method in
   14053 	"file_magic "*)
   14054 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14055 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14056 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14057 	    $EGREP "$file_magic_regex" > /dev/null; then
   14058 	    :
   14059 	  else
   14060 	    cat <<_LT_EOF 1>&2
   14061 
   14062 *** Warning: the command libtool uses to detect shared libraries,
   14063 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14064 *** The result is that libtool may fail to recognize shared libraries
   14065 *** as such.  This will affect the creation of libtool libraries that
   14066 *** depend on shared libraries, but programs linked with such libtool
   14067 *** libraries will work regardless of this problem.  Nevertheless, you
   14068 *** may want to report the problem to your system manager and/or to
   14069 *** bug-libtool@gnu.org
   14070 
   14071 _LT_EOF
   14072 	  fi ;;
   14073 	esac
   14074       fi
   14075       break
   14076     fi
   14077   done
   14078   IFS="$lt_save_ifs"
   14079   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14080   ;;
   14081 esac
   14082 fi
   14083 
   14084 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14085 if test -n "$MAGIC_CMD"; then
   14086   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14087 $as_echo "$MAGIC_CMD" >&6; }
   14088 else
   14089   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14090 $as_echo "no" >&6; }
   14091 fi
   14092 
   14093 
   14094   else
   14095     MAGIC_CMD=:
   14096   fi
   14097 fi
   14098 
   14099   fi
   14100   ;;
   14101 esac
   14102 
   14103 # Use C for the default configuration in the libtool script
   14104 
   14105 lt_save_CC="$CC"
   14106 ac_ext=c
   14107 ac_cpp='$CPP $CPPFLAGS'
   14108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14111 
   14112 
   14113 # Source file extension for C test sources.
   14114 ac_ext=c
   14115 
   14116 # Object file extension for compiled C test sources.
   14117 objext=o
   14118 objext=$objext
   14119 
   14120 # Code to be used in simple compile tests
   14121 lt_simple_compile_test_code="int some_variable = 0;"
   14122 
   14123 # Code to be used in simple link tests
   14124 lt_simple_link_test_code='int main(){return(0);}'
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 # If no C compiler was specified, use CC.
   14133 LTCC=${LTCC-"$CC"}
   14134 
   14135 # If no C compiler flags were specified, use CFLAGS.
   14136 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14137 
   14138 # Allow CC to be a program name with arguments.
   14139 compiler=$CC
   14140 
   14141 # Save the default compiler, since it gets overwritten when the other
   14142 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14143 compiler_DEFAULT=$CC
   14144 
   14145 # save warnings/boilerplate of simple test code
   14146 ac_outfile=conftest.$ac_objext
   14147 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14148 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14149 _lt_compiler_boilerplate=`cat conftest.err`
   14150 $RM conftest*
   14151 
   14152 ac_outfile=conftest.$ac_objext
   14153 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14154 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14155 _lt_linker_boilerplate=`cat conftest.err`
   14156 $RM -r conftest*
   14157 
   14158 
   14159 if test -n "$compiler"; then
   14160 
   14161 lt_prog_compiler_no_builtin_flag=
   14162 
   14163 if test "$GCC" = yes; then
   14164   case $cc_basename in
   14165   nvcc*)
   14166     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14167   *)
   14168     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14169   esac
   14170 
   14171   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14172 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14173 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14174   $as_echo_n "(cached) " >&6
   14175 else
   14176   lt_cv_prog_compiler_rtti_exceptions=no
   14177    ac_outfile=conftest.$ac_objext
   14178    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14179    lt_compiler_flag="-fno-rtti -fno-exceptions"
   14180    # Insert the option either (1) after the last *FLAGS variable, or
   14181    # (2) before a word containing "conftest.", or (3) at the end.
   14182    # Note that $ac_compile itself does not contain backslashes and begins
   14183    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14184    # The option is referenced via a variable to avoid confusing sed.
   14185    lt_compile=`echo "$ac_compile" | $SED \
   14186    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14187    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14188    -e 's:$: $lt_compiler_flag:'`
   14189    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14190    (eval "$lt_compile" 2>conftest.err)
   14191    ac_status=$?
   14192    cat conftest.err >&5
   14193    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14194    if (exit $ac_status) && test -s "$ac_outfile"; then
   14195      # The compiler can only warn and ignore the option if not recognized
   14196      # So say no if there are warnings other than the usual output.
   14197      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14198      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14199      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14200        lt_cv_prog_compiler_rtti_exceptions=yes
   14201      fi
   14202    fi
   14203    $RM conftest*
   14204 
   14205 fi
   14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14207 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14208 
   14209 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   14210     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14211 else
   14212     :
   14213 fi
   14214 
   14215 fi
   14216 
   14217 
   14218 
   14219 
   14220 
   14221 
   14222   lt_prog_compiler_wl=
   14223 lt_prog_compiler_pic=
   14224 lt_prog_compiler_static=
   14225 
   14226 
   14227   if test "$GCC" = yes; then
   14228     lt_prog_compiler_wl='-Wl,'
   14229     lt_prog_compiler_static='-static'
   14230 
   14231     case $host_os in
   14232       aix*)
   14233       # All AIX code is PIC.
   14234       if test "$host_cpu" = ia64; then
   14235 	# AIX 5 now supports IA64 processor
   14236 	lt_prog_compiler_static='-Bstatic'
   14237       fi
   14238       ;;
   14239 
   14240     amigaos*)
   14241       case $host_cpu in
   14242       powerpc)
   14243             # see comment about AmigaOS4 .so support
   14244             lt_prog_compiler_pic='-fPIC'
   14245         ;;
   14246       m68k)
   14247             # FIXME: we need at least 68020 code to build shared libraries, but
   14248             # adding the `-m68020' flag to GCC prevents building anything better,
   14249             # like `-m68040'.
   14250             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14251         ;;
   14252       esac
   14253       ;;
   14254 
   14255     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14256       # PIC is the default for these OSes.
   14257       ;;
   14258 
   14259     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14260       # This hack is so that the source file can tell whether it is being
   14261       # built for inclusion in a dll (and should export symbols for example).
   14262       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14263       # (--disable-auto-import) libraries
   14264       lt_prog_compiler_pic='-DDLL_EXPORT'
   14265       ;;
   14266 
   14267     darwin* | rhapsody*)
   14268       # PIC is the default on this platform
   14269       # Common symbols not allowed in MH_DYLIB files
   14270       lt_prog_compiler_pic='-fno-common'
   14271       ;;
   14272 
   14273     haiku*)
   14274       # PIC is the default for Haiku.
   14275       # The "-static" flag exists, but is broken.
   14276       lt_prog_compiler_static=
   14277       ;;
   14278 
   14279     hpux*)
   14280       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14281       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14282       # sets the default TLS model and affects inlining.
   14283       case $host_cpu in
   14284       hppa*64*)
   14285 	# +Z the default
   14286 	;;
   14287       *)
   14288 	lt_prog_compiler_pic='-fPIC'
   14289 	;;
   14290       esac
   14291       ;;
   14292 
   14293     interix[3-9]*)
   14294       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14295       # Instead, we relocate shared libraries at runtime.
   14296       ;;
   14297 
   14298     msdosdjgpp*)
   14299       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14300       # on systems that don't support them.
   14301       lt_prog_compiler_can_build_shared=no
   14302       enable_shared=no
   14303       ;;
   14304 
   14305     *nto* | *qnx*)
   14306       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14307       # it will coredump.
   14308       lt_prog_compiler_pic='-fPIC -shared'
   14309       ;;
   14310 
   14311     sysv4*MP*)
   14312       if test -d /usr/nec; then
   14313 	lt_prog_compiler_pic=-Kconform_pic
   14314       fi
   14315       ;;
   14316 
   14317     *)
   14318       lt_prog_compiler_pic='-fPIC'
   14319       ;;
   14320     esac
   14321 
   14322     case $cc_basename in
   14323     nvcc*) # Cuda Compiler Driver 2.2
   14324       lt_prog_compiler_wl='-Xlinker '
   14325       if test -n "$lt_prog_compiler_pic"; then
   14326         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14327       fi
   14328       ;;
   14329     esac
   14330   else
   14331     # PORTME Check for flag to pass linker flags through the system compiler.
   14332     case $host_os in
   14333     aix*)
   14334       lt_prog_compiler_wl='-Wl,'
   14335       if test "$host_cpu" = ia64; then
   14336 	# AIX 5 now supports IA64 processor
   14337 	lt_prog_compiler_static='-Bstatic'
   14338       else
   14339 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14340       fi
   14341       ;;
   14342 
   14343     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14344       # This hack is so that the source file can tell whether it is being
   14345       # built for inclusion in a dll (and should export symbols for example).
   14346       lt_prog_compiler_pic='-DDLL_EXPORT'
   14347       ;;
   14348 
   14349     hpux9* | hpux10* | hpux11*)
   14350       lt_prog_compiler_wl='-Wl,'
   14351       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14352       # not for PA HP-UX.
   14353       case $host_cpu in
   14354       hppa*64*|ia64*)
   14355 	# +Z the default
   14356 	;;
   14357       *)
   14358 	lt_prog_compiler_pic='+Z'
   14359 	;;
   14360       esac
   14361       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14362       lt_prog_compiler_static='${wl}-a ${wl}archive'
   14363       ;;
   14364 
   14365     irix5* | irix6* | nonstopux*)
   14366       lt_prog_compiler_wl='-Wl,'
   14367       # PIC (with -KPIC) is the default.
   14368       lt_prog_compiler_static='-non_shared'
   14369       ;;
   14370 
   14371     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14372       case $cc_basename in
   14373       # old Intel for x86_64 which still supported -KPIC.
   14374       ecc*)
   14375 	lt_prog_compiler_wl='-Wl,'
   14376 	lt_prog_compiler_pic='-KPIC'
   14377 	lt_prog_compiler_static='-static'
   14378         ;;
   14379       # icc used to be incompatible with GCC.
   14380       # ICC 10 doesn't accept -KPIC any more.
   14381       icc* | ifort*)
   14382 	lt_prog_compiler_wl='-Wl,'
   14383 	lt_prog_compiler_pic='-fPIC'
   14384 	lt_prog_compiler_static='-static'
   14385         ;;
   14386       # Lahey Fortran 8.1.
   14387       lf95*)
   14388 	lt_prog_compiler_wl='-Wl,'
   14389 	lt_prog_compiler_pic='--shared'
   14390 	lt_prog_compiler_static='--static'
   14391 	;;
   14392       nagfor*)
   14393 	# NAG Fortran compiler
   14394 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14395 	lt_prog_compiler_pic='-PIC'
   14396 	lt_prog_compiler_static='-Bstatic'
   14397 	;;
   14398       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14399         # Portland Group compilers (*not* the Pentium gcc compiler,
   14400 	# which looks to be a dead project)
   14401 	lt_prog_compiler_wl='-Wl,'
   14402 	lt_prog_compiler_pic='-fpic'
   14403 	lt_prog_compiler_static='-Bstatic'
   14404         ;;
   14405       ccc*)
   14406         lt_prog_compiler_wl='-Wl,'
   14407         # All Alpha code is PIC.
   14408         lt_prog_compiler_static='-non_shared'
   14409         ;;
   14410       xl* | bgxl* | bgf* | mpixl*)
   14411 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14412 	lt_prog_compiler_wl='-Wl,'
   14413 	lt_prog_compiler_pic='-qpic'
   14414 	lt_prog_compiler_static='-qstaticlink'
   14415 	;;
   14416       *)
   14417 	case `$CC -V 2>&1 | sed 5q` in
   14418 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14419 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14420 	  lt_prog_compiler_pic='-KPIC'
   14421 	  lt_prog_compiler_static='-Bstatic'
   14422 	  lt_prog_compiler_wl=''
   14423 	  ;;
   14424 	*Sun\ F* | *Sun*Fortran*)
   14425 	  lt_prog_compiler_pic='-KPIC'
   14426 	  lt_prog_compiler_static='-Bstatic'
   14427 	  lt_prog_compiler_wl='-Qoption ld '
   14428 	  ;;
   14429 	*Sun\ C*)
   14430 	  # Sun C 5.9
   14431 	  lt_prog_compiler_pic='-KPIC'
   14432 	  lt_prog_compiler_static='-Bstatic'
   14433 	  lt_prog_compiler_wl='-Wl,'
   14434 	  ;;
   14435         *Intel*\ [CF]*Compiler*)
   14436 	  lt_prog_compiler_wl='-Wl,'
   14437 	  lt_prog_compiler_pic='-fPIC'
   14438 	  lt_prog_compiler_static='-static'
   14439 	  ;;
   14440 	*Portland\ Group*)
   14441 	  lt_prog_compiler_wl='-Wl,'
   14442 	  lt_prog_compiler_pic='-fpic'
   14443 	  lt_prog_compiler_static='-Bstatic'
   14444 	  ;;
   14445 	esac
   14446 	;;
   14447       esac
   14448       ;;
   14449 
   14450     newsos6)
   14451       lt_prog_compiler_pic='-KPIC'
   14452       lt_prog_compiler_static='-Bstatic'
   14453       ;;
   14454 
   14455     *nto* | *qnx*)
   14456       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14457       # it will coredump.
   14458       lt_prog_compiler_pic='-fPIC -shared'
   14459       ;;
   14460 
   14461     osf3* | osf4* | osf5*)
   14462       lt_prog_compiler_wl='-Wl,'
   14463       # All OSF/1 code is PIC.
   14464       lt_prog_compiler_static='-non_shared'
   14465       ;;
   14466 
   14467     rdos*)
   14468       lt_prog_compiler_static='-non_shared'
   14469       ;;
   14470 
   14471     solaris*)
   14472       lt_prog_compiler_pic='-KPIC'
   14473       lt_prog_compiler_static='-Bstatic'
   14474       case $cc_basename in
   14475       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14476 	lt_prog_compiler_wl='-Qoption ld ';;
   14477       *)
   14478 	lt_prog_compiler_wl='-Wl,';;
   14479       esac
   14480       ;;
   14481 
   14482     sunos4*)
   14483       lt_prog_compiler_wl='-Qoption ld '
   14484       lt_prog_compiler_pic='-PIC'
   14485       lt_prog_compiler_static='-Bstatic'
   14486       ;;
   14487 
   14488     sysv4 | sysv4.2uw2* | sysv4.3*)
   14489       lt_prog_compiler_wl='-Wl,'
   14490       lt_prog_compiler_pic='-KPIC'
   14491       lt_prog_compiler_static='-Bstatic'
   14492       ;;
   14493 
   14494     sysv4*MP*)
   14495       if test -d /usr/nec ;then
   14496 	lt_prog_compiler_pic='-Kconform_pic'
   14497 	lt_prog_compiler_static='-Bstatic'
   14498       fi
   14499       ;;
   14500 
   14501     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14502       lt_prog_compiler_wl='-Wl,'
   14503       lt_prog_compiler_pic='-KPIC'
   14504       lt_prog_compiler_static='-Bstatic'
   14505       ;;
   14506 
   14507     unicos*)
   14508       lt_prog_compiler_wl='-Wl,'
   14509       lt_prog_compiler_can_build_shared=no
   14510       ;;
   14511 
   14512     uts4*)
   14513       lt_prog_compiler_pic='-pic'
   14514       lt_prog_compiler_static='-Bstatic'
   14515       ;;
   14516 
   14517     *)
   14518       lt_prog_compiler_can_build_shared=no
   14519       ;;
   14520     esac
   14521   fi
   14522 
   14523 case $host_os in
   14524   # For platforms which do not support PIC, -DPIC is meaningless:
   14525   *djgpp*)
   14526     lt_prog_compiler_pic=
   14527     ;;
   14528   *)
   14529     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14530     ;;
   14531 esac
   14532 
   14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14534 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14535 if ${lt_cv_prog_compiler_pic+:} false; then :
   14536   $as_echo_n "(cached) " >&6
   14537 else
   14538   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   14539 fi
   14540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14541 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   14542 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14543 
   14544 #
   14545 # Check to make sure the PIC flag actually works.
   14546 #
   14547 if test -n "$lt_prog_compiler_pic"; then
   14548   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14549 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14550 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   14551   $as_echo_n "(cached) " >&6
   14552 else
   14553   lt_cv_prog_compiler_pic_works=no
   14554    ac_outfile=conftest.$ac_objext
   14555    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14556    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   14557    # Insert the option either (1) after the last *FLAGS variable, or
   14558    # (2) before a word containing "conftest.", or (3) at the end.
   14559    # Note that $ac_compile itself does not contain backslashes and begins
   14560    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14561    # The option is referenced via a variable to avoid confusing sed.
   14562    lt_compile=`echo "$ac_compile" | $SED \
   14563    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14564    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14565    -e 's:$: $lt_compiler_flag:'`
   14566    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14567    (eval "$lt_compile" 2>conftest.err)
   14568    ac_status=$?
   14569    cat conftest.err >&5
   14570    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14571    if (exit $ac_status) && test -s "$ac_outfile"; then
   14572      # The compiler can only warn and ignore the option if not recognized
   14573      # So say no if there are warnings other than the usual output.
   14574      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14575      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14576      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14577        lt_cv_prog_compiler_pic_works=yes
   14578      fi
   14579    fi
   14580    $RM conftest*
   14581 
   14582 fi
   14583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14584 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   14585 
   14586 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   14587     case $lt_prog_compiler_pic in
   14588      "" | " "*) ;;
   14589      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14590      esac
   14591 else
   14592     lt_prog_compiler_pic=
   14593      lt_prog_compiler_can_build_shared=no
   14594 fi
   14595 
   14596 fi
   14597 
   14598 
   14599 
   14600 
   14601 
   14602 
   14603 
   14604 
   14605 
   14606 
   14607 
   14608 #
   14609 # Check to make sure the static flag actually works.
   14610 #
   14611 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14613 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14614 if ${lt_cv_prog_compiler_static_works+:} false; then :
   14615   $as_echo_n "(cached) " >&6
   14616 else
   14617   lt_cv_prog_compiler_static_works=no
   14618    save_LDFLAGS="$LDFLAGS"
   14619    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14620    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14621    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14622      # The linker can only warn and ignore the option if not recognized
   14623      # So say no if there are warnings
   14624      if test -s conftest.err; then
   14625        # Append any errors to the config.log.
   14626        cat conftest.err 1>&5
   14627        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14628        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14629        if diff conftest.exp conftest.er2 >/dev/null; then
   14630          lt_cv_prog_compiler_static_works=yes
   14631        fi
   14632      else
   14633        lt_cv_prog_compiler_static_works=yes
   14634      fi
   14635    fi
   14636    $RM -r conftest*
   14637    LDFLAGS="$save_LDFLAGS"
   14638 
   14639 fi
   14640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14641 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   14642 
   14643 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   14644     :
   14645 else
   14646     lt_prog_compiler_static=
   14647 fi
   14648 
   14649 
   14650 
   14651 
   14652 
   14653 
   14654 
   14655   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14656 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14657 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14658   $as_echo_n "(cached) " >&6
   14659 else
   14660   lt_cv_prog_compiler_c_o=no
   14661    $RM -r conftest 2>/dev/null
   14662    mkdir conftest
   14663    cd conftest
   14664    mkdir out
   14665    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14666 
   14667    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14668    # Insert the option either (1) after the last *FLAGS variable, or
   14669    # (2) before a word containing "conftest.", or (3) at the end.
   14670    # Note that $ac_compile itself does not contain backslashes and begins
   14671    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14672    lt_compile=`echo "$ac_compile" | $SED \
   14673    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14674    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14675    -e 's:$: $lt_compiler_flag:'`
   14676    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14677    (eval "$lt_compile" 2>out/conftest.err)
   14678    ac_status=$?
   14679    cat out/conftest.err >&5
   14680    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14681    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14682    then
   14683      # The compiler can only warn and ignore the option if not recognized
   14684      # So say no if there are warnings
   14685      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14686      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14687      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14688        lt_cv_prog_compiler_c_o=yes
   14689      fi
   14690    fi
   14691    chmod u+w . 2>&5
   14692    $RM conftest*
   14693    # SGI C++ compiler will create directory out/ii_files/ for
   14694    # template instantiation
   14695    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14696    $RM out/* && rmdir out
   14697    cd ..
   14698    $RM -r conftest
   14699    $RM conftest*
   14700 
   14701 fi
   14702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14703 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14704 
   14705 
   14706 
   14707 
   14708 
   14709 
   14710   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14711 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14712 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14713   $as_echo_n "(cached) " >&6
   14714 else
   14715   lt_cv_prog_compiler_c_o=no
   14716    $RM -r conftest 2>/dev/null
   14717    mkdir conftest
   14718    cd conftest
   14719    mkdir out
   14720    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14721 
   14722    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14723    # Insert the option either (1) after the last *FLAGS variable, or
   14724    # (2) before a word containing "conftest.", or (3) at the end.
   14725    # Note that $ac_compile itself does not contain backslashes and begins
   14726    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14727    lt_compile=`echo "$ac_compile" | $SED \
   14728    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14729    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14730    -e 's:$: $lt_compiler_flag:'`
   14731    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14732    (eval "$lt_compile" 2>out/conftest.err)
   14733    ac_status=$?
   14734    cat out/conftest.err >&5
   14735    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14736    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14737    then
   14738      # The compiler can only warn and ignore the option if not recognized
   14739      # So say no if there are warnings
   14740      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14741      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14742      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14743        lt_cv_prog_compiler_c_o=yes
   14744      fi
   14745    fi
   14746    chmod u+w . 2>&5
   14747    $RM conftest*
   14748    # SGI C++ compiler will create directory out/ii_files/ for
   14749    # template instantiation
   14750    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14751    $RM out/* && rmdir out
   14752    cd ..
   14753    $RM -r conftest
   14754    $RM conftest*
   14755 
   14756 fi
   14757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14758 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14759 
   14760 
   14761 
   14762 
   14763 hard_links="nottested"
   14764 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   14765   # do not overwrite the value of need_locks provided by the user
   14766   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   14767 $as_echo_n "checking if we can lock with hard links... " >&6; }
   14768   hard_links=yes
   14769   $RM conftest*
   14770   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14771   touch conftest.a
   14772   ln conftest.a conftest.b 2>&5 || hard_links=no
   14773   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   14774   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   14775 $as_echo "$hard_links" >&6; }
   14776   if test "$hard_links" = no; then
   14777     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   14778 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   14779     need_locks=warn
   14780   fi
   14781 else
   14782   need_locks=no
   14783 fi
   14784 
   14785 
   14786 
   14787 
   14788 
   14789 
   14790   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   14791 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   14792 
   14793   runpath_var=
   14794   allow_undefined_flag=
   14795   always_export_symbols=no
   14796   archive_cmds=
   14797   archive_expsym_cmds=
   14798   compiler_needs_object=no
   14799   enable_shared_with_static_runtimes=no
   14800   export_dynamic_flag_spec=
   14801   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   14802   hardcode_automatic=no
   14803   hardcode_direct=no
   14804   hardcode_direct_absolute=no
   14805   hardcode_libdir_flag_spec=
   14806   hardcode_libdir_separator=
   14807   hardcode_minus_L=no
   14808   hardcode_shlibpath_var=unsupported
   14809   inherit_rpath=no
   14810   link_all_deplibs=unknown
   14811   module_cmds=
   14812   module_expsym_cmds=
   14813   old_archive_from_new_cmds=
   14814   old_archive_from_expsyms_cmds=
   14815   thread_safe_flag_spec=
   14816   whole_archive_flag_spec=
   14817   # include_expsyms should be a list of space-separated symbols to be *always*
   14818   # included in the symbol list
   14819   include_expsyms=
   14820   # exclude_expsyms can be an extended regexp of symbols to exclude
   14821   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   14822   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   14823   # as well as any symbol that contains `d'.
   14824   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   14825   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   14826   # platforms (ab)use it in PIC code, but their linkers get confused if
   14827   # the symbol is explicitly referenced.  Since portable code cannot
   14828   # rely on this symbol name, it's probably fine to never include it in
   14829   # preloaded symbol tables.
   14830   # Exclude shared library initialization/finalization symbols.
   14831   extract_expsyms_cmds=
   14832 
   14833   case $host_os in
   14834   cygwin* | mingw* | pw32* | cegcc*)
   14835     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   14836     # When not using gcc, we currently assume that we are using
   14837     # Microsoft Visual C++.
   14838     if test "$GCC" != yes; then
   14839       with_gnu_ld=no
   14840     fi
   14841     ;;
   14842   interix*)
   14843     # we just hope/assume this is gcc and not c89 (= MSVC++)
   14844     with_gnu_ld=yes
   14845     ;;
   14846   openbsd*)
   14847     with_gnu_ld=no
   14848     ;;
   14849   linux* | k*bsd*-gnu | gnu*)
   14850     link_all_deplibs=no
   14851     ;;
   14852   esac
   14853 
   14854   ld_shlibs=yes
   14855 
   14856   # On some targets, GNU ld is compatible enough with the native linker
   14857   # that we're better off using the native interface for both.
   14858   lt_use_gnu_ld_interface=no
   14859   if test "$with_gnu_ld" = yes; then
   14860     case $host_os in
   14861       aix*)
   14862 	# The AIX port of GNU ld has always aspired to compatibility
   14863 	# with the native linker.  However, as the warning in the GNU ld
   14864 	# block says, versions before 2.19.5* couldn't really create working
   14865 	# shared libraries, regardless of the interface used.
   14866 	case `$LD -v 2>&1` in
   14867 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   14868 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   14869 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   14870 	  *)
   14871 	    lt_use_gnu_ld_interface=yes
   14872 	    ;;
   14873 	esac
   14874 	;;
   14875       *)
   14876 	lt_use_gnu_ld_interface=yes
   14877 	;;
   14878     esac
   14879   fi
   14880 
   14881   if test "$lt_use_gnu_ld_interface" = yes; then
   14882     # If archive_cmds runs LD, not CC, wlarc should be empty
   14883     wlarc='${wl}'
   14884 
   14885     # Set some defaults for GNU ld with shared library support. These
   14886     # are reset later if shared libraries are not supported. Putting them
   14887     # here allows them to be overridden if necessary.
   14888     runpath_var=LD_RUN_PATH
   14889     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   14890     export_dynamic_flag_spec='${wl}--export-dynamic'
   14891     # ancient GNU ld didn't support --whole-archive et. al.
   14892     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   14893       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   14894     else
   14895       whole_archive_flag_spec=
   14896     fi
   14897     supports_anon_versioning=no
   14898     case `$LD -v 2>&1` in
   14899       *GNU\ gold*) supports_anon_versioning=yes ;;
   14900       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   14901       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   14902       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   14903       *\ 2.11.*) ;; # other 2.11 versions
   14904       *) supports_anon_versioning=yes ;;
   14905     esac
   14906 
   14907     # See if GNU ld supports shared libraries.
   14908     case $host_os in
   14909     aix[3-9]*)
   14910       # On AIX/PPC, the GNU linker is very broken
   14911       if test "$host_cpu" != ia64; then
   14912 	ld_shlibs=no
   14913 	cat <<_LT_EOF 1>&2
   14914 
   14915 *** Warning: the GNU linker, at least up to release 2.19, is reported
   14916 *** to be unable to reliably create shared libraries on AIX.
   14917 *** Therefore, libtool is disabling shared libraries support.  If you
   14918 *** really care for shared libraries, you may want to install binutils
   14919 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   14920 *** You will then need to restart the configuration process.
   14921 
   14922 _LT_EOF
   14923       fi
   14924       ;;
   14925 
   14926     amigaos*)
   14927       case $host_cpu in
   14928       powerpc)
   14929             # see comment about AmigaOS4 .so support
   14930             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14931             archive_expsym_cmds=''
   14932         ;;
   14933       m68k)
   14934             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)'
   14935             hardcode_libdir_flag_spec='-L$libdir'
   14936             hardcode_minus_L=yes
   14937         ;;
   14938       esac
   14939       ;;
   14940 
   14941     beos*)
   14942       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   14943 	allow_undefined_flag=unsupported
   14944 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   14945 	# support --undefined.  This deserves some investigation.  FIXME
   14946 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14947       else
   14948 	ld_shlibs=no
   14949       fi
   14950       ;;
   14951 
   14952     cygwin* | mingw* | pw32* | cegcc*)
   14953       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   14954       # as there is no search path for DLLs.
   14955       hardcode_libdir_flag_spec='-L$libdir'
   14956       export_dynamic_flag_spec='${wl}--export-all-symbols'
   14957       allow_undefined_flag=unsupported
   14958       always_export_symbols=no
   14959       enable_shared_with_static_runtimes=yes
   14960       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'
   14961       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   14962 
   14963       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   14964         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14965 	# If the export-symbols file already is a .def file (1st line
   14966 	# is EXPORTS), use it as is; otherwise, prepend...
   14967 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   14968 	  cp $export_symbols $output_objdir/$soname.def;
   14969 	else
   14970 	  echo EXPORTS > $output_objdir/$soname.def;
   14971 	  cat $export_symbols >> $output_objdir/$soname.def;
   14972 	fi~
   14973 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   14974       else
   14975 	ld_shlibs=no
   14976       fi
   14977       ;;
   14978 
   14979     haiku*)
   14980       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   14981       link_all_deplibs=yes
   14982       ;;
   14983 
   14984     interix[3-9]*)
   14985       hardcode_direct=no
   14986       hardcode_shlibpath_var=no
   14987       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   14988       export_dynamic_flag_spec='${wl}-E'
   14989       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   14990       # Instead, shared libraries are loaded at an image base (0x10000000 by
   14991       # default) and relocated if they conflict, which is a slow very memory
   14992       # consuming and fragmenting process.  To avoid this, we pick a random,
   14993       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   14994       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   14995       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   14996       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'
   14997       ;;
   14998 
   14999     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15000       tmp_diet=no
   15001       if test "$host_os" = linux-dietlibc; then
   15002 	case $cc_basename in
   15003 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15004 	esac
   15005       fi
   15006       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15007 	 && test "$tmp_diet" = no
   15008       then
   15009 	tmp_addflag=' $pic_flag'
   15010 	tmp_sharedflag='-shared'
   15011 	case $cc_basename,$host_cpu in
   15012         pgcc*)				# Portland Group C compiler
   15013 	  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'
   15014 	  tmp_addflag=' $pic_flag'
   15015 	  ;;
   15016 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15017 					# Portland Group f77 and f90 compilers
   15018 	  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'
   15019 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15020 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15021 	  tmp_addflag=' -i_dynamic' ;;
   15022 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15023 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15024 	ifc* | ifort*)			# Intel Fortran compiler
   15025 	  tmp_addflag=' -nofor_main' ;;
   15026 	lf95*)				# Lahey Fortran 8.1
   15027 	  whole_archive_flag_spec=
   15028 	  tmp_sharedflag='--shared' ;;
   15029 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15030 	  tmp_sharedflag='-qmkshrobj'
   15031 	  tmp_addflag= ;;
   15032 	nvcc*)	# Cuda Compiler Driver 2.2
   15033 	  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'
   15034 	  compiler_needs_object=yes
   15035 	  ;;
   15036 	esac
   15037 	case `$CC -V 2>&1 | sed 5q` in
   15038 	*Sun\ C*)			# Sun C 5.9
   15039 	  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'
   15040 	  compiler_needs_object=yes
   15041 	  tmp_sharedflag='-G' ;;
   15042 	*Sun\ F*)			# Sun Fortran 8.3
   15043 	  tmp_sharedflag='-G' ;;
   15044 	esac
   15045 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15046 
   15047         if test "x$supports_anon_versioning" = xyes; then
   15048           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15049 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15050 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   15051 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15052         fi
   15053 
   15054 	case $cc_basename in
   15055 	xlf* | bgf* | bgxlf* | mpixlf*)
   15056 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15057 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15058 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15059 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15060 	  if test "x$supports_anon_versioning" = xyes; then
   15061 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15062 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15063 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   15064 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15065 	  fi
   15066 	  ;;
   15067 	esac
   15068       else
   15069         ld_shlibs=no
   15070       fi
   15071       ;;
   15072 
   15073     netbsd* | netbsdelf*-gnu)
   15074       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15075 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15076 	wlarc=
   15077       else
   15078 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15079 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15080       fi
   15081       ;;
   15082 
   15083     solaris*)
   15084       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15085 	ld_shlibs=no
   15086 	cat <<_LT_EOF 1>&2
   15087 
   15088 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15089 *** create shared libraries on Solaris systems.  Therefore, libtool
   15090 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15091 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15092 *** your PATH or compiler configuration so that the native linker is
   15093 *** used, and then restart.
   15094 
   15095 _LT_EOF
   15096       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15097 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15098 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15099       else
   15100 	ld_shlibs=no
   15101       fi
   15102       ;;
   15103 
   15104     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15105       case `$LD -v 2>&1` in
   15106         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15107 	ld_shlibs=no
   15108 	cat <<_LT_EOF 1>&2
   15109 
   15110 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15111 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15112 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15113 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15114 *** your PATH or compiler configuration so that the native linker is
   15115 *** used, and then restart.
   15116 
   15117 _LT_EOF
   15118 	;;
   15119 	*)
   15120 	  # For security reasons, it is highly recommended that you always
   15121 	  # use absolute paths for naming shared libraries, and exclude the
   15122 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15123 	  # requires that you compile everything twice, which is a pain.
   15124 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15125 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15126 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15127 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15128 	  else
   15129 	    ld_shlibs=no
   15130 	  fi
   15131 	;;
   15132       esac
   15133       ;;
   15134 
   15135     sunos4*)
   15136       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15137       wlarc=
   15138       hardcode_direct=yes
   15139       hardcode_shlibpath_var=no
   15140       ;;
   15141 
   15142     *)
   15143       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15144 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15145 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15146       else
   15147 	ld_shlibs=no
   15148       fi
   15149       ;;
   15150     esac
   15151 
   15152     if test "$ld_shlibs" = no; then
   15153       runpath_var=
   15154       hardcode_libdir_flag_spec=
   15155       export_dynamic_flag_spec=
   15156       whole_archive_flag_spec=
   15157     fi
   15158   else
   15159     # PORTME fill in a description of your system's linker (not GNU ld)
   15160     case $host_os in
   15161     aix3*)
   15162       allow_undefined_flag=unsupported
   15163       always_export_symbols=yes
   15164       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'
   15165       # Note: this linker hardcodes the directories in LIBPATH if there
   15166       # are no directories specified by -L.
   15167       hardcode_minus_L=yes
   15168       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15169 	# Neither direct hardcoding nor static linking is supported with a
   15170 	# broken collect2.
   15171 	hardcode_direct=unsupported
   15172       fi
   15173       ;;
   15174 
   15175     aix[4-9]*)
   15176       if test "$host_cpu" = ia64; then
   15177 	# On IA64, the linker does run time linking by default, so we don't
   15178 	# have to do anything special.
   15179 	aix_use_runtimelinking=no
   15180 	exp_sym_flag='-Bexport'
   15181 	no_entry_flag=""
   15182       else
   15183 	# If we're using GNU nm, then we don't want the "-C" option.
   15184 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15185 	# Also, AIX nm treats weak defined symbols like other global
   15186 	# defined symbols, whereas GNU nm marks them as "W".
   15187 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15188 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   15189 	else
   15190 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   15191 	fi
   15192 	aix_use_runtimelinking=no
   15193 
   15194 	# Test if we are trying to use run time linking or normal
   15195 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15196 	# need to do runtime linking.
   15197 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15198 	  for ld_flag in $LDFLAGS; do
   15199 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15200 	    aix_use_runtimelinking=yes
   15201 	    break
   15202 	  fi
   15203 	  done
   15204 	  ;;
   15205 	esac
   15206 
   15207 	exp_sym_flag='-bexport'
   15208 	no_entry_flag='-bnoentry'
   15209       fi
   15210 
   15211       # When large executables or shared objects are built, AIX ld can
   15212       # have problems creating the table of contents.  If linking a library
   15213       # or program results in "error TOC overflow" add -mminimal-toc to
   15214       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15215       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15216 
   15217       archive_cmds=''
   15218       hardcode_direct=yes
   15219       hardcode_direct_absolute=yes
   15220       hardcode_libdir_separator=':'
   15221       link_all_deplibs=yes
   15222       file_list_spec='${wl}-f,'
   15223 
   15224       if test "$GCC" = yes; then
   15225 	case $host_os in aix4.[012]|aix4.[012].*)
   15226 	# We only want to do this on AIX 4.2 and lower, the check
   15227 	# below for broken collect2 doesn't work under 4.3+
   15228 	  collect2name=`${CC} -print-prog-name=collect2`
   15229 	  if test -f "$collect2name" &&
   15230 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15231 	  then
   15232 	  # We have reworked collect2
   15233 	  :
   15234 	  else
   15235 	  # We have old collect2
   15236 	  hardcode_direct=unsupported
   15237 	  # It fails to find uninstalled libraries when the uninstalled
   15238 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15239 	  # to unsupported forces relinking
   15240 	  hardcode_minus_L=yes
   15241 	  hardcode_libdir_flag_spec='-L$libdir'
   15242 	  hardcode_libdir_separator=
   15243 	  fi
   15244 	  ;;
   15245 	esac
   15246 	shared_flag='-shared'
   15247 	if test "$aix_use_runtimelinking" = yes; then
   15248 	  shared_flag="$shared_flag "'${wl}-G'
   15249 	fi
   15250 	link_all_deplibs=no
   15251       else
   15252 	# not using gcc
   15253 	if test "$host_cpu" = ia64; then
   15254 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15255 	# chokes on -Wl,-G. The following line is correct:
   15256 	  shared_flag='-G'
   15257 	else
   15258 	  if test "$aix_use_runtimelinking" = yes; then
   15259 	    shared_flag='${wl}-G'
   15260 	  else
   15261 	    shared_flag='${wl}-bM:SRE'
   15262 	  fi
   15263 	fi
   15264       fi
   15265 
   15266       export_dynamic_flag_spec='${wl}-bexpall'
   15267       # It seems that -bexpall does not export symbols beginning with
   15268       # underscore (_), so it is better to generate a list of symbols to export.
   15269       always_export_symbols=yes
   15270       if test "$aix_use_runtimelinking" = yes; then
   15271 	# Warning - without using the other runtime loading flags (-brtl),
   15272 	# -berok will link without error, but may produce a broken library.
   15273 	allow_undefined_flag='-berok'
   15274         # Determine the default libpath from the value encoded in an
   15275         # empty executable.
   15276         if test "${lt_cv_aix_libpath+set}" = set; then
   15277   aix_libpath=$lt_cv_aix_libpath
   15278 else
   15279   if ${lt_cv_aix_libpath_+:} false; then :
   15280   $as_echo_n "(cached) " >&6
   15281 else
   15282   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15283 /* end confdefs.h.  */
   15284 
   15285 int
   15286 main ()
   15287 {
   15288 
   15289   ;
   15290   return 0;
   15291 }
   15292 _ACEOF
   15293 if ac_fn_c_try_link "$LINENO"; then :
   15294 
   15295   lt_aix_libpath_sed='
   15296       /Import File Strings/,/^$/ {
   15297 	  /^0/ {
   15298 	      s/^0  *\([^ ]*\) *$/\1/
   15299 	      p
   15300 	  }
   15301       }'
   15302   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15303   # Check for a 64-bit object if we didn't find anything.
   15304   if test -z "$lt_cv_aix_libpath_"; then
   15305     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15306   fi
   15307 fi
   15308 rm -f core conftest.err conftest.$ac_objext \
   15309     conftest$ac_exeext conftest.$ac_ext
   15310   if test -z "$lt_cv_aix_libpath_"; then
   15311     lt_cv_aix_libpath_="/usr/lib:/lib"
   15312   fi
   15313 
   15314 fi
   15315 
   15316   aix_libpath=$lt_cv_aix_libpath_
   15317 fi
   15318 
   15319         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15320         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   15321       else
   15322 	if test "$host_cpu" = ia64; then
   15323 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   15324 	  allow_undefined_flag="-z nodefs"
   15325 	  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"
   15326 	else
   15327 	 # Determine the default libpath from the value encoded in an
   15328 	 # empty executable.
   15329 	 if test "${lt_cv_aix_libpath+set}" = set; then
   15330   aix_libpath=$lt_cv_aix_libpath
   15331 else
   15332   if ${lt_cv_aix_libpath_+:} false; then :
   15333   $as_echo_n "(cached) " >&6
   15334 else
   15335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15336 /* end confdefs.h.  */
   15337 
   15338 int
   15339 main ()
   15340 {
   15341 
   15342   ;
   15343   return 0;
   15344 }
   15345 _ACEOF
   15346 if ac_fn_c_try_link "$LINENO"; then :
   15347 
   15348   lt_aix_libpath_sed='
   15349       /Import File Strings/,/^$/ {
   15350 	  /^0/ {
   15351 	      s/^0  *\([^ ]*\) *$/\1/
   15352 	      p
   15353 	  }
   15354       }'
   15355   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15356   # Check for a 64-bit object if we didn't find anything.
   15357   if test -z "$lt_cv_aix_libpath_"; then
   15358     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15359   fi
   15360 fi
   15361 rm -f core conftest.err conftest.$ac_objext \
   15362     conftest$ac_exeext conftest.$ac_ext
   15363   if test -z "$lt_cv_aix_libpath_"; then
   15364     lt_cv_aix_libpath_="/usr/lib:/lib"
   15365   fi
   15366 
   15367 fi
   15368 
   15369   aix_libpath=$lt_cv_aix_libpath_
   15370 fi
   15371 
   15372 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15373 	  # Warning - without using the other run time loading flags,
   15374 	  # -berok will link without error, but may produce a broken library.
   15375 	  no_undefined_flag=' ${wl}-bernotok'
   15376 	  allow_undefined_flag=' ${wl}-berok'
   15377 	  if test "$with_gnu_ld" = yes; then
   15378 	    # We only use this code for GNU lds that support --whole-archive.
   15379 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   15380 	  else
   15381 	    # Exported symbols can be pulled into shared objects from archives
   15382 	    whole_archive_flag_spec='$convenience'
   15383 	  fi
   15384 	  archive_cmds_need_lc=yes
   15385 	  # This is similar to how AIX traditionally builds its shared libraries.
   15386 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   15387 	fi
   15388       fi
   15389       ;;
   15390 
   15391     amigaos*)
   15392       case $host_cpu in
   15393       powerpc)
   15394             # see comment about AmigaOS4 .so support
   15395             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15396             archive_expsym_cmds=''
   15397         ;;
   15398       m68k)
   15399             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)'
   15400             hardcode_libdir_flag_spec='-L$libdir'
   15401             hardcode_minus_L=yes
   15402         ;;
   15403       esac
   15404       ;;
   15405 
   15406     bsdi[45]*)
   15407       export_dynamic_flag_spec=-rdynamic
   15408       ;;
   15409 
   15410     cygwin* | mingw* | pw32* | cegcc*)
   15411       # When not using gcc, we currently assume that we are using
   15412       # Microsoft Visual C++.
   15413       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15414       # no search path for DLLs.
   15415       case $cc_basename in
   15416       cl*)
   15417 	# Native MSVC
   15418 	hardcode_libdir_flag_spec=' '
   15419 	allow_undefined_flag=unsupported
   15420 	always_export_symbols=yes
   15421 	file_list_spec='@'
   15422 	# Tell ltmain to make .lib files, not .a files.
   15423 	libext=lib
   15424 	# Tell ltmain to make .dll files, not .so files.
   15425 	shrext_cmds=".dll"
   15426 	# FIXME: Setting linknames here is a bad hack.
   15427 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   15428 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15429 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   15430 	  else
   15431 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   15432 	  fi~
   15433 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   15434 	  linknames='
   15435 	# The linker will not automatically build a static lib if we build a DLL.
   15436 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15437 	enable_shared_with_static_runtimes=yes
   15438 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15439 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15440 	# Don't use ranlib
   15441 	old_postinstall_cmds='chmod 644 $oldlib'
   15442 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15443 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   15444 	  case $lt_outputfile in
   15445 	    *.exe|*.EXE) ;;
   15446 	    *)
   15447 	      lt_outputfile="$lt_outputfile.exe"
   15448 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   15449 	      ;;
   15450 	  esac~
   15451 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   15452 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15453 	    $RM "$lt_outputfile.manifest";
   15454 	  fi'
   15455 	;;
   15456       *)
   15457 	# Assume MSVC wrapper
   15458 	hardcode_libdir_flag_spec=' '
   15459 	allow_undefined_flag=unsupported
   15460 	# Tell ltmain to make .lib files, not .a files.
   15461 	libext=lib
   15462 	# Tell ltmain to make .dll files, not .so files.
   15463 	shrext_cmds=".dll"
   15464 	# FIXME: Setting linknames here is a bad hack.
   15465 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15466 	# The linker will automatically build a .lib file if we build a DLL.
   15467 	old_archive_from_new_cmds='true'
   15468 	# FIXME: Should let the user specify the lib program.
   15469 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15470 	enable_shared_with_static_runtimes=yes
   15471 	;;
   15472       esac
   15473       ;;
   15474 
   15475     darwin* | rhapsody*)
   15476 
   15477 
   15478   archive_cmds_need_lc=no
   15479   hardcode_direct=no
   15480   hardcode_automatic=yes
   15481   hardcode_shlibpath_var=unsupported
   15482   if test "$lt_cv_ld_force_load" = "yes"; then
   15483     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\"`'
   15484 
   15485   else
   15486     whole_archive_flag_spec=''
   15487   fi
   15488   link_all_deplibs=yes
   15489   allow_undefined_flag="$_lt_dar_allow_undefined"
   15490   case $cc_basename in
   15491      ifort*) _lt_dar_can_shared=yes ;;
   15492      *) _lt_dar_can_shared=$GCC ;;
   15493   esac
   15494   if test "$_lt_dar_can_shared" = "yes"; then
   15495     output_verbose_link_cmd=func_echo_all
   15496     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15497     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15498     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}"
   15499     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}"
   15500 
   15501   else
   15502   ld_shlibs=no
   15503   fi
   15504 
   15505       ;;
   15506 
   15507     dgux*)
   15508       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15509       hardcode_libdir_flag_spec='-L$libdir'
   15510       hardcode_shlibpath_var=no
   15511       ;;
   15512 
   15513     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15514     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15515     # does not break anything, and helps significantly (at the cost of a little
   15516     # extra space).
   15517     freebsd2.2*)
   15518       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15519       hardcode_libdir_flag_spec='-R$libdir'
   15520       hardcode_direct=yes
   15521       hardcode_shlibpath_var=no
   15522       ;;
   15523 
   15524     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15525     freebsd2.*)
   15526       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15527       hardcode_direct=yes
   15528       hardcode_minus_L=yes
   15529       hardcode_shlibpath_var=no
   15530       ;;
   15531 
   15532     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15533     freebsd* | dragonfly*)
   15534       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15535       hardcode_libdir_flag_spec='-R$libdir'
   15536       hardcode_direct=yes
   15537       hardcode_shlibpath_var=no
   15538       ;;
   15539 
   15540     hpux9*)
   15541       if test "$GCC" = yes; then
   15542 	archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15543       else
   15544 	archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   15545       fi
   15546       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15547       hardcode_libdir_separator=:
   15548       hardcode_direct=yes
   15549 
   15550       # hardcode_minus_L: Not really in the search PATH,
   15551       # but as the default location of the library.
   15552       hardcode_minus_L=yes
   15553       export_dynamic_flag_spec='${wl}-E'
   15554       ;;
   15555 
   15556     hpux10*)
   15557       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15558 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15559       else
   15560 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15561       fi
   15562       if test "$with_gnu_ld" = no; then
   15563 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15564 	hardcode_libdir_separator=:
   15565 	hardcode_direct=yes
   15566 	hardcode_direct_absolute=yes
   15567 	export_dynamic_flag_spec='${wl}-E'
   15568 	# hardcode_minus_L: Not really in the search PATH,
   15569 	# but as the default location of the library.
   15570 	hardcode_minus_L=yes
   15571       fi
   15572       ;;
   15573 
   15574     hpux11*)
   15575       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15576 	case $host_cpu in
   15577 	hppa*64*)
   15578 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15579 	  ;;
   15580 	ia64*)
   15581 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15582 	  ;;
   15583 	*)
   15584 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15585 	  ;;
   15586 	esac
   15587       else
   15588 	case $host_cpu in
   15589 	hppa*64*)
   15590 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15591 	  ;;
   15592 	ia64*)
   15593 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15594 	  ;;
   15595 	*)
   15596 
   15597 	  # Older versions of the 11.00 compiler do not understand -b yet
   15598 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   15599 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   15600 $as_echo_n "checking if $CC understands -b... " >&6; }
   15601 if ${lt_cv_prog_compiler__b+:} false; then :
   15602   $as_echo_n "(cached) " >&6
   15603 else
   15604   lt_cv_prog_compiler__b=no
   15605    save_LDFLAGS="$LDFLAGS"
   15606    LDFLAGS="$LDFLAGS -b"
   15607    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15608    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15609      # The linker can only warn and ignore the option if not recognized
   15610      # So say no if there are warnings
   15611      if test -s conftest.err; then
   15612        # Append any errors to the config.log.
   15613        cat conftest.err 1>&5
   15614        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15615        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15616        if diff conftest.exp conftest.er2 >/dev/null; then
   15617          lt_cv_prog_compiler__b=yes
   15618        fi
   15619      else
   15620        lt_cv_prog_compiler__b=yes
   15621      fi
   15622    fi
   15623    $RM -r conftest*
   15624    LDFLAGS="$save_LDFLAGS"
   15625 
   15626 fi
   15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   15628 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   15629 
   15630 if test x"$lt_cv_prog_compiler__b" = xyes; then
   15631     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15632 else
   15633     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15634 fi
   15635 
   15636 	  ;;
   15637 	esac
   15638       fi
   15639       if test "$with_gnu_ld" = no; then
   15640 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15641 	hardcode_libdir_separator=:
   15642 
   15643 	case $host_cpu in
   15644 	hppa*64*|ia64*)
   15645 	  hardcode_direct=no
   15646 	  hardcode_shlibpath_var=no
   15647 	  ;;
   15648 	*)
   15649 	  hardcode_direct=yes
   15650 	  hardcode_direct_absolute=yes
   15651 	  export_dynamic_flag_spec='${wl}-E'
   15652 
   15653 	  # hardcode_minus_L: Not really in the search PATH,
   15654 	  # but as the default location of the library.
   15655 	  hardcode_minus_L=yes
   15656 	  ;;
   15657 	esac
   15658       fi
   15659       ;;
   15660 
   15661     irix5* | irix6* | nonstopux*)
   15662       if test "$GCC" = yes; then
   15663 	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'
   15664 	# Try to use the -exported_symbol ld option, if it does not
   15665 	# work, assume that -exports_file does not work either and
   15666 	# implicitly export all symbols.
   15667 	# This should be the same for all languages, so no per-tag cache variable.
   15668 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   15669 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   15670 if ${lt_cv_irix_exported_symbol+:} false; then :
   15671   $as_echo_n "(cached) " >&6
   15672 else
   15673   save_LDFLAGS="$LDFLAGS"
   15674 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   15675 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15676 /* end confdefs.h.  */
   15677 int foo (void) { return 0; }
   15678 _ACEOF
   15679 if ac_fn_c_try_link "$LINENO"; then :
   15680   lt_cv_irix_exported_symbol=yes
   15681 else
   15682   lt_cv_irix_exported_symbol=no
   15683 fi
   15684 rm -f core conftest.err conftest.$ac_objext \
   15685     conftest$ac_exeext conftest.$ac_ext
   15686            LDFLAGS="$save_LDFLAGS"
   15687 fi
   15688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   15689 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   15690 	if test "$lt_cv_irix_exported_symbol" = yes; then
   15691           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'
   15692 	fi
   15693       else
   15694 	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'
   15695 	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'
   15696       fi
   15697       archive_cmds_need_lc='no'
   15698       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15699       hardcode_libdir_separator=:
   15700       inherit_rpath=yes
   15701       link_all_deplibs=yes
   15702       ;;
   15703 
   15704     netbsd* | netbsdelf*-gnu)
   15705       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15706 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15707       else
   15708 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15709       fi
   15710       hardcode_libdir_flag_spec='-R$libdir'
   15711       hardcode_direct=yes
   15712       hardcode_shlibpath_var=no
   15713       ;;
   15714 
   15715     newsos6)
   15716       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15717       hardcode_direct=yes
   15718       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15719       hardcode_libdir_separator=:
   15720       hardcode_shlibpath_var=no
   15721       ;;
   15722 
   15723     *nto* | *qnx*)
   15724       ;;
   15725 
   15726     openbsd*)
   15727       if test -f /usr/libexec/ld.so; then
   15728 	hardcode_direct=yes
   15729 	hardcode_shlibpath_var=no
   15730 	hardcode_direct_absolute=yes
   15731 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   15732 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15733 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   15734 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15735 	  export_dynamic_flag_spec='${wl}-E'
   15736 	else
   15737 	  case $host_os in
   15738 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   15739 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15740 	     hardcode_libdir_flag_spec='-R$libdir'
   15741 	     ;;
   15742 	   *)
   15743 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15744 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15745 	     ;;
   15746 	  esac
   15747 	fi
   15748       else
   15749 	ld_shlibs=no
   15750       fi
   15751       ;;
   15752 
   15753     os2*)
   15754       hardcode_libdir_flag_spec='-L$libdir'
   15755       hardcode_minus_L=yes
   15756       allow_undefined_flag=unsupported
   15757       archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
   15758       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   15759       ;;
   15760 
   15761     osf3*)
   15762       if test "$GCC" = yes; then
   15763 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15764 	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'
   15765       else
   15766 	allow_undefined_flag=' -expect_unresolved \*'
   15767 	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'
   15768       fi
   15769       archive_cmds_need_lc='no'
   15770       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15771       hardcode_libdir_separator=:
   15772       ;;
   15773 
   15774     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   15775       if test "$GCC" = yes; then
   15776 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   15777 	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'
   15778 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15779       else
   15780 	allow_undefined_flag=' -expect_unresolved \*'
   15781 	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'
   15782 	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~
   15783 	$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'
   15784 
   15785 	# Both c and cxx compiler support -rpath directly
   15786 	hardcode_libdir_flag_spec='-rpath $libdir'
   15787       fi
   15788       archive_cmds_need_lc='no'
   15789       hardcode_libdir_separator=:
   15790       ;;
   15791 
   15792     solaris*)
   15793       no_undefined_flag=' -z defs'
   15794       if test "$GCC" = yes; then
   15795 	wlarc='${wl}'
   15796 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15797 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15798 	  $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'
   15799       else
   15800 	case `$CC -V 2>&1` in
   15801 	*"Compilers 5.0"*)
   15802 	  wlarc=''
   15803 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15804 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15805 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   15806 	  ;;
   15807 	*)
   15808 	  wlarc='${wl}'
   15809 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15810 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   15811 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   15812 	  ;;
   15813 	esac
   15814       fi
   15815       hardcode_libdir_flag_spec='-R$libdir'
   15816       hardcode_shlibpath_var=no
   15817       case $host_os in
   15818       solaris2.[0-5] | solaris2.[0-5].*) ;;
   15819       *)
   15820 	# The compiler driver will combine and reorder linker options,
   15821 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   15822 	# but is careful enough not to reorder.
   15823 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   15824 	if test "$GCC" = yes; then
   15825 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   15826 	else
   15827 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   15828 	fi
   15829 	;;
   15830       esac
   15831       link_all_deplibs=yes
   15832       ;;
   15833 
   15834     sunos4*)
   15835       if test "x$host_vendor" = xsequent; then
   15836 	# Use $CC to link under sequent, because it throws in some extra .o
   15837 	# files that make .init and .fini sections work.
   15838 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   15839       else
   15840 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   15841       fi
   15842       hardcode_libdir_flag_spec='-L$libdir'
   15843       hardcode_direct=yes
   15844       hardcode_minus_L=yes
   15845       hardcode_shlibpath_var=no
   15846       ;;
   15847 
   15848     sysv4)
   15849       case $host_vendor in
   15850 	sni)
   15851 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15852 	  hardcode_direct=yes # is this really true???
   15853 	;;
   15854 	siemens)
   15855 	  ## LD is ld it makes a PLAMLIB
   15856 	  ## CC just makes a GrossModule.
   15857 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   15858 	  reload_cmds='$CC -r -o $output$reload_objs'
   15859 	  hardcode_direct=no
   15860         ;;
   15861 	motorola)
   15862 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15863 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   15864 	;;
   15865       esac
   15866       runpath_var='LD_RUN_PATH'
   15867       hardcode_shlibpath_var=no
   15868       ;;
   15869 
   15870     sysv4.3*)
   15871       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15872       hardcode_shlibpath_var=no
   15873       export_dynamic_flag_spec='-Bexport'
   15874       ;;
   15875 
   15876     sysv4*MP*)
   15877       if test -d /usr/nec; then
   15878 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15879 	hardcode_shlibpath_var=no
   15880 	runpath_var=LD_RUN_PATH
   15881 	hardcode_runpath_var=yes
   15882 	ld_shlibs=yes
   15883       fi
   15884       ;;
   15885 
   15886     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   15887       no_undefined_flag='${wl}-z,text'
   15888       archive_cmds_need_lc=no
   15889       hardcode_shlibpath_var=no
   15890       runpath_var='LD_RUN_PATH'
   15891 
   15892       if test "$GCC" = yes; then
   15893 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15894 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15895       else
   15896 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15897 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15898       fi
   15899       ;;
   15900 
   15901     sysv5* | sco3.2v5* | sco5v6*)
   15902       # Note: We can NOT use -z defs as we might desire, because we do not
   15903       # link with -lc, and that would cause any symbols used from libc to
   15904       # always be unresolved, which means just about no library would
   15905       # ever link correctly.  If we're not using GNU ld we use -z text
   15906       # though, which does catch some bad symbols but isn't as heavy-handed
   15907       # as -z defs.
   15908       no_undefined_flag='${wl}-z,text'
   15909       allow_undefined_flag='${wl}-z,nodefs'
   15910       archive_cmds_need_lc=no
   15911       hardcode_shlibpath_var=no
   15912       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   15913       hardcode_libdir_separator=':'
   15914       link_all_deplibs=yes
   15915       export_dynamic_flag_spec='${wl}-Bexport'
   15916       runpath_var='LD_RUN_PATH'
   15917 
   15918       if test "$GCC" = yes; then
   15919 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15920 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15921       else
   15922 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15923 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   15924       fi
   15925       ;;
   15926 
   15927     uts4*)
   15928       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15929       hardcode_libdir_flag_spec='-L$libdir'
   15930       hardcode_shlibpath_var=no
   15931       ;;
   15932 
   15933     *)
   15934       ld_shlibs=no
   15935       ;;
   15936     esac
   15937 
   15938     if test x$host_vendor = xsni; then
   15939       case $host in
   15940       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   15941 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   15942 	;;
   15943       esac
   15944     fi
   15945   fi
   15946 
   15947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   15948 $as_echo "$ld_shlibs" >&6; }
   15949 test "$ld_shlibs" = no && can_build_shared=no
   15950 
   15951 with_gnu_ld=$with_gnu_ld
   15952 
   15953 
   15954 
   15955 
   15956 
   15957 
   15958 
   15959 
   15960 
   15961 
   15962 
   15963 
   15964 
   15965 
   15966 
   15967 #
   15968 # Do we need to explicitly link libc?
   15969 #
   15970 case "x$archive_cmds_need_lc" in
   15971 x|xyes)
   15972   # Assume -lc should be added
   15973   archive_cmds_need_lc=yes
   15974 
   15975   if test "$enable_shared" = yes && test "$GCC" = yes; then
   15976     case $archive_cmds in
   15977     *'~'*)
   15978       # FIXME: we may have to deal with multi-command sequences.
   15979       ;;
   15980     '$CC '*)
   15981       # Test whether the compiler implicitly links with -lc since on some
   15982       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   15983       # to ld, don't add -lc before -lgcc.
   15984       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   15985 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   15986 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   15987   $as_echo_n "(cached) " >&6
   15988 else
   15989   $RM conftest*
   15990 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15991 
   15992 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   15993   (eval $ac_compile) 2>&5
   15994   ac_status=$?
   15995   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   15996   test $ac_status = 0; } 2>conftest.err; then
   15997 	  soname=conftest
   15998 	  lib=conftest
   15999 	  libobjs=conftest.$ac_objext
   16000 	  deplibs=
   16001 	  wl=$lt_prog_compiler_wl
   16002 	  pic_flag=$lt_prog_compiler_pic
   16003 	  compiler_flags=-v
   16004 	  linker_flags=-v
   16005 	  verstring=
   16006 	  output_objdir=.
   16007 	  libname=conftest
   16008 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16009 	  allow_undefined_flag=
   16010 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16011   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16012   ac_status=$?
   16013   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16014   test $ac_status = 0; }
   16015 	  then
   16016 	    lt_cv_archive_cmds_need_lc=no
   16017 	  else
   16018 	    lt_cv_archive_cmds_need_lc=yes
   16019 	  fi
   16020 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16021 	else
   16022 	  cat conftest.err 1>&5
   16023 	fi
   16024 	$RM conftest*
   16025 
   16026 fi
   16027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16028 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16029       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16030       ;;
   16031     esac
   16032   fi
   16033   ;;
   16034 esac
   16035 
   16036 
   16037 
   16038 
   16039 
   16040 
   16041 
   16042 
   16043 
   16044 
   16045 
   16046 
   16047 
   16048 
   16049 
   16050 
   16051 
   16052 
   16053 
   16054 
   16055 
   16056 
   16057 
   16058 
   16059 
   16060 
   16061 
   16062 
   16063 
   16064 
   16065 
   16066 
   16067 
   16068 
   16069 
   16070 
   16071 
   16072 
   16073 
   16074 
   16075 
   16076 
   16077 
   16078 
   16079 
   16080 
   16081 
   16082 
   16083 
   16084 
   16085 
   16086 
   16087 
   16088 
   16089 
   16090 
   16091 
   16092 
   16093 
   16094 
   16095 
   16096 
   16097 
   16098 
   16099 
   16100 
   16101 
   16102 
   16103 
   16104 
   16105 
   16106 
   16107 
   16108 
   16109 
   16110 
   16111 
   16112 
   16113 
   16114 
   16115 
   16116 
   16117 
   16118 
   16119 
   16120 
   16121 
   16122 
   16123 
   16124 
   16125 
   16126 
   16127 
   16128 
   16129 
   16130 
   16131 
   16132 
   16133 
   16134 
   16135 
   16136 
   16137 
   16138 
   16139 
   16140 
   16141 
   16142 
   16143 
   16144 
   16145 
   16146 
   16147 
   16148 
   16149 
   16150 
   16151 
   16152 
   16153 
   16154 
   16155 
   16156 
   16157 
   16158 
   16159 
   16160 
   16161 
   16162 
   16163 
   16164 
   16165 
   16166 
   16167 
   16168 
   16169 
   16170 
   16171 
   16172 
   16173 
   16174 
   16175 
   16176 
   16177 
   16178 
   16179 
   16180 
   16181 
   16182 
   16183 
   16184 
   16185 
   16186 
   16187   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16188 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16189 
   16190 if test "$GCC" = yes; then
   16191   case $host_os in
   16192     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   16193     *) lt_awk_arg="/^libraries:/" ;;
   16194   esac
   16195   case $host_os in
   16196     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   16197     *) lt_sed_strip_eq="s,=/,/,g" ;;
   16198   esac
   16199   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16200   case $lt_search_path_spec in
   16201   *\;*)
   16202     # if the path contains ";" then we assume it to be the separator
   16203     # otherwise default to the standard path separator (i.e. ":") - it is
   16204     # assumed that no part of a normal pathname contains ";" but that should
   16205     # okay in the real world where ";" in dirpaths is itself problematic.
   16206     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16207     ;;
   16208   *)
   16209     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16210     ;;
   16211   esac
   16212   # Ok, now we have the path, separated by spaces, we can step through it
   16213   # and add multilib dir if necessary.
   16214   lt_tmp_lt_search_path_spec=
   16215   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16216   for lt_sys_path in $lt_search_path_spec; do
   16217     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   16218       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   16219     else
   16220       test -d "$lt_sys_path" && \
   16221 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16222     fi
   16223   done
   16224   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16225 BEGIN {RS=" "; FS="/|\n";} {
   16226   lt_foo="";
   16227   lt_count=0;
   16228   for (lt_i = NF; lt_i > 0; lt_i--) {
   16229     if ($lt_i != "" && $lt_i != ".") {
   16230       if ($lt_i == "..") {
   16231         lt_count++;
   16232       } else {
   16233         if (lt_count == 0) {
   16234           lt_foo="/" $lt_i lt_foo;
   16235         } else {
   16236           lt_count--;
   16237         }
   16238       }
   16239     }
   16240   }
   16241   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16242   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16243 }'`
   16244   # AWK program above erroneously prepends '/' to C:/dos/paths
   16245   # for these hosts.
   16246   case $host_os in
   16247     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16248       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   16249   esac
   16250   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16251 else
   16252   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16253 fi
   16254 library_names_spec=
   16255 libname_spec='lib$name'
   16256 soname_spec=
   16257 shrext_cmds=".so"
   16258 postinstall_cmds=
   16259 postuninstall_cmds=
   16260 finish_cmds=
   16261 finish_eval=
   16262 shlibpath_var=
   16263 shlibpath_overrides_runpath=unknown
   16264 version_type=none
   16265 dynamic_linker="$host_os ld.so"
   16266 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16267 need_lib_prefix=unknown
   16268 hardcode_into_libs=no
   16269 
   16270 # when you set need_version to no, make sure it does not cause -set_version
   16271 # flags to be left without arguments
   16272 need_version=unknown
   16273 
   16274 case $host_os in
   16275 aix3*)
   16276   version_type=linux # correct to gnu/linux during the next big refactor
   16277   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   16278   shlibpath_var=LIBPATH
   16279 
   16280   # AIX 3 has no versioning support, so we append a major version to the name.
   16281   soname_spec='${libname}${release}${shared_ext}$major'
   16282   ;;
   16283 
   16284 aix[4-9]*)
   16285   version_type=linux # correct to gnu/linux during the next big refactor
   16286   need_lib_prefix=no
   16287   need_version=no
   16288   hardcode_into_libs=yes
   16289   if test "$host_cpu" = ia64; then
   16290     # AIX 5 supports IA64
   16291     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16292     shlibpath_var=LD_LIBRARY_PATH
   16293   else
   16294     # With GCC up to 2.95.x, collect2 would create an import file
   16295     # for dependence libraries.  The import file would start with
   16296     # the line `#! .'.  This would cause the generated library to
   16297     # depend on `.', always an invalid library.  This was fixed in
   16298     # development snapshots of GCC prior to 3.0.
   16299     case $host_os in
   16300       aix4 | aix4.[01] | aix4.[01].*)
   16301       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16302 	   echo ' yes '
   16303 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   16304 	:
   16305       else
   16306 	can_build_shared=no
   16307       fi
   16308       ;;
   16309     esac
   16310     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16311     # soname into executable. Probably we can add versioning support to
   16312     # collect2, so additional links can be useful in future.
   16313     if test "$aix_use_runtimelinking" = yes; then
   16314       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16315       # instead of lib<name>.a to let people know that these are not
   16316       # typical AIX shared libraries.
   16317       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16318     else
   16319       # We preserve .a as extension for shared libraries through AIX4.2
   16320       # and later when we are not doing run time linking.
   16321       library_names_spec='${libname}${release}.a $libname.a'
   16322       soname_spec='${libname}${release}${shared_ext}$major'
   16323     fi
   16324     shlibpath_var=LIBPATH
   16325   fi
   16326   ;;
   16327 
   16328 amigaos*)
   16329   case $host_cpu in
   16330   powerpc)
   16331     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16332     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16333     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16334     ;;
   16335   m68k)
   16336     library_names_spec='$libname.ixlibrary $libname.a'
   16337     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16338     finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
   16339     ;;
   16340   esac
   16341   ;;
   16342 
   16343 beos*)
   16344   library_names_spec='${libname}${shared_ext}'
   16345   dynamic_linker="$host_os ld.so"
   16346   shlibpath_var=LIBRARY_PATH
   16347   ;;
   16348 
   16349 bsdi[45]*)
   16350   version_type=linux # correct to gnu/linux during the next big refactor
   16351   need_version=no
   16352   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16353   soname_spec='${libname}${release}${shared_ext}$major'
   16354   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16355   shlibpath_var=LD_LIBRARY_PATH
   16356   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16357   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16358   # the default ld.so.conf also contains /usr/contrib/lib and
   16359   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16360   # libtool to hard-code these into programs
   16361   ;;
   16362 
   16363 cygwin* | mingw* | pw32* | cegcc*)
   16364   version_type=windows
   16365   shrext_cmds=".dll"
   16366   need_version=no
   16367   need_lib_prefix=no
   16368 
   16369   case $GCC,$cc_basename in
   16370   yes,*)
   16371     # gcc
   16372     library_names_spec='$libname.dll.a'
   16373     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16374     postinstall_cmds='base_file=`basename \${file}`~
   16375       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16376       dldir=$destdir/`dirname \$dlpath`~
   16377       test -d \$dldir || mkdir -p \$dldir~
   16378       $install_prog $dir/$dlname \$dldir/$dlname~
   16379       chmod a+x \$dldir/$dlname~
   16380       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16381         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16382       fi'
   16383     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16384       dlpath=$dir/\$dldll~
   16385        $RM \$dlpath'
   16386     shlibpath_overrides_runpath=yes
   16387 
   16388     case $host_os in
   16389     cygwin*)
   16390       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16391       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16392 
   16393       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16394       ;;
   16395     mingw* | cegcc*)
   16396       # MinGW DLLs use traditional 'lib' prefix
   16397       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16398       ;;
   16399     pw32*)
   16400       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16401       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16402       ;;
   16403     esac
   16404     dynamic_linker='Win32 ld.exe'
   16405     ;;
   16406 
   16407   *,cl*)
   16408     # Native MSVC
   16409     libname_spec='$name'
   16410     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16411     library_names_spec='${libname}.dll.lib'
   16412 
   16413     case $build_os in
   16414     mingw*)
   16415       sys_lib_search_path_spec=
   16416       lt_save_ifs=$IFS
   16417       IFS=';'
   16418       for lt_path in $LIB
   16419       do
   16420         IFS=$lt_save_ifs
   16421         # Let DOS variable expansion print the short 8.3 style file name.
   16422         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16423         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16424       done
   16425       IFS=$lt_save_ifs
   16426       # Convert to MSYS style.
   16427       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16428       ;;
   16429     cygwin*)
   16430       # Convert to unix form, then to dos form, then back to unix form
   16431       # but this time dos style (no spaces!) so that the unix form looks
   16432       # like /cygdrive/c/PROGRA~1:/cygdr...
   16433       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16434       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16435       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16436       ;;
   16437     *)
   16438       sys_lib_search_path_spec="$LIB"
   16439       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16440         # It is most probably a Windows format PATH.
   16441         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16442       else
   16443         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16444       fi
   16445       # FIXME: find the short name or the path components, as spaces are
   16446       # common. (e.g. "Program Files" -> "PROGRA~1")
   16447       ;;
   16448     esac
   16449 
   16450     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16451     postinstall_cmds='base_file=`basename \${file}`~
   16452       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16453       dldir=$destdir/`dirname \$dlpath`~
   16454       test -d \$dldir || mkdir -p \$dldir~
   16455       $install_prog $dir/$dlname \$dldir/$dlname'
   16456     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16457       dlpath=$dir/\$dldll~
   16458        $RM \$dlpath'
   16459     shlibpath_overrides_runpath=yes
   16460     dynamic_linker='Win32 link.exe'
   16461     ;;
   16462 
   16463   *)
   16464     # Assume MSVC wrapper
   16465     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16466     dynamic_linker='Win32 ld.exe'
   16467     ;;
   16468   esac
   16469   # FIXME: first we should search . and the directory the executable is in
   16470   shlibpath_var=PATH
   16471   ;;
   16472 
   16473 darwin* | rhapsody*)
   16474   dynamic_linker="$host_os dyld"
   16475   version_type=darwin
   16476   need_lib_prefix=no
   16477   need_version=no
   16478   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16479   soname_spec='${libname}${release}${major}$shared_ext'
   16480   shlibpath_overrides_runpath=yes
   16481   shlibpath_var=DYLD_LIBRARY_PATH
   16482   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16483 
   16484   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   16485   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16486   ;;
   16487 
   16488 dgux*)
   16489   version_type=linux # correct to gnu/linux during the next big refactor
   16490   need_lib_prefix=no
   16491   need_version=no
   16492   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16493   soname_spec='${libname}${release}${shared_ext}$major'
   16494   shlibpath_var=LD_LIBRARY_PATH
   16495   ;;
   16496 
   16497 freebsd* | dragonfly*)
   16498   # DragonFly does not have aout.  When/if they implement a new
   16499   # versioning mechanism, adjust this.
   16500   if test -x /usr/bin/objformat; then
   16501     objformat=`/usr/bin/objformat`
   16502   else
   16503     case $host_os in
   16504     freebsd[23].*) objformat=aout ;;
   16505     *) objformat=elf ;;
   16506     esac
   16507   fi
   16508   version_type=freebsd-$objformat
   16509   case $version_type in
   16510     freebsd-elf*)
   16511       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16512       need_version=no
   16513       need_lib_prefix=no
   16514       ;;
   16515     freebsd-*)
   16516       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16517       need_version=yes
   16518       ;;
   16519   esac
   16520   shlibpath_var=LD_LIBRARY_PATH
   16521   case $host_os in
   16522   freebsd2.*)
   16523     shlibpath_overrides_runpath=yes
   16524     ;;
   16525   freebsd3.[01]* | freebsdelf3.[01]*)
   16526     shlibpath_overrides_runpath=yes
   16527     hardcode_into_libs=yes
   16528     ;;
   16529   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16530   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16531     shlibpath_overrides_runpath=no
   16532     hardcode_into_libs=yes
   16533     ;;
   16534   *) # from 4.6 on, and DragonFly
   16535     shlibpath_overrides_runpath=yes
   16536     hardcode_into_libs=yes
   16537     ;;
   16538   esac
   16539   ;;
   16540 
   16541 haiku*)
   16542   version_type=linux # correct to gnu/linux during the next big refactor
   16543   need_lib_prefix=no
   16544   need_version=no
   16545   dynamic_linker="$host_os runtime_loader"
   16546   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16547   soname_spec='${libname}${release}${shared_ext}$major'
   16548   shlibpath_var=LIBRARY_PATH
   16549   shlibpath_overrides_runpath=yes
   16550   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16551   hardcode_into_libs=yes
   16552   ;;
   16553 
   16554 hpux9* | hpux10* | hpux11*)
   16555   # Give a soname corresponding to the major version so that dld.sl refuses to
   16556   # link against other versions.
   16557   version_type=sunos
   16558   need_lib_prefix=no
   16559   need_version=no
   16560   case $host_cpu in
   16561   ia64*)
   16562     shrext_cmds='.so'
   16563     hardcode_into_libs=yes
   16564     dynamic_linker="$host_os dld.so"
   16565     shlibpath_var=LD_LIBRARY_PATH
   16566     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16567     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16568     soname_spec='${libname}${release}${shared_ext}$major'
   16569     if test "X$HPUX_IA64_MODE" = X32; then
   16570       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16571     else
   16572       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16573     fi
   16574     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16575     ;;
   16576   hppa*64*)
   16577     shrext_cmds='.sl'
   16578     hardcode_into_libs=yes
   16579     dynamic_linker="$host_os dld.sl"
   16580     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16581     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16582     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16583     soname_spec='${libname}${release}${shared_ext}$major'
   16584     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16585     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16586     ;;
   16587   *)
   16588     shrext_cmds='.sl'
   16589     dynamic_linker="$host_os dld.sl"
   16590     shlibpath_var=SHLIB_PATH
   16591     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16592     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16593     soname_spec='${libname}${release}${shared_ext}$major'
   16594     ;;
   16595   esac
   16596   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16597   postinstall_cmds='chmod 555 $lib'
   16598   # or fails outright, so override atomically:
   16599   install_override_mode=555
   16600   ;;
   16601 
   16602 interix[3-9]*)
   16603   version_type=linux # correct to gnu/linux during the next big refactor
   16604   need_lib_prefix=no
   16605   need_version=no
   16606   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16607   soname_spec='${libname}${release}${shared_ext}$major'
   16608   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16609   shlibpath_var=LD_LIBRARY_PATH
   16610   shlibpath_overrides_runpath=no
   16611   hardcode_into_libs=yes
   16612   ;;
   16613 
   16614 irix5* | irix6* | nonstopux*)
   16615   case $host_os in
   16616     nonstopux*) version_type=nonstopux ;;
   16617     *)
   16618 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16619 		version_type=linux # correct to gnu/linux during the next big refactor
   16620 	else
   16621 		version_type=irix
   16622 	fi ;;
   16623   esac
   16624   need_lib_prefix=no
   16625   need_version=no
   16626   soname_spec='${libname}${release}${shared_ext}$major'
   16627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16628   case $host_os in
   16629   irix5* | nonstopux*)
   16630     libsuff= shlibsuff=
   16631     ;;
   16632   *)
   16633     case $LD in # libtool.m4 will add one of these switches to LD
   16634     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16635       libsuff= shlibsuff= libmagic=32-bit;;
   16636     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16637       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16638     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16639       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16640     *) libsuff= shlibsuff= libmagic=never-match;;
   16641     esac
   16642     ;;
   16643   esac
   16644   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16645   shlibpath_overrides_runpath=no
   16646   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16647   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16648   hardcode_into_libs=yes
   16649   ;;
   16650 
   16651 # No shared lib support for Linux oldld, aout, or coff.
   16652 linux*oldld* | linux*aout* | linux*coff*)
   16653   dynamic_linker=no
   16654   ;;
   16655 
   16656 # This must be glibc/ELF.
   16657 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16658   version_type=linux # correct to gnu/linux during the next big refactor
   16659   need_lib_prefix=no
   16660   need_version=no
   16661   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16662   soname_spec='${libname}${release}${shared_ext}$major'
   16663   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16664   shlibpath_var=LD_LIBRARY_PATH
   16665   shlibpath_overrides_runpath=no
   16666 
   16667   # Some binutils ld are patched to set DT_RUNPATH
   16668   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   16669   $as_echo_n "(cached) " >&6
   16670 else
   16671   lt_cv_shlibpath_overrides_runpath=no
   16672     save_LDFLAGS=$LDFLAGS
   16673     save_libdir=$libdir
   16674     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16675 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16676     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16677 /* end confdefs.h.  */
   16678 
   16679 int
   16680 main ()
   16681 {
   16682 
   16683   ;
   16684   return 0;
   16685 }
   16686 _ACEOF
   16687 if ac_fn_c_try_link "$LINENO"; then :
   16688   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   16689   lt_cv_shlibpath_overrides_runpath=yes
   16690 fi
   16691 fi
   16692 rm -f core conftest.err conftest.$ac_objext \
   16693     conftest$ac_exeext conftest.$ac_ext
   16694     LDFLAGS=$save_LDFLAGS
   16695     libdir=$save_libdir
   16696 
   16697 fi
   16698 
   16699   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16700 
   16701   # This implies no fast_install, which is unacceptable.
   16702   # Some rework will be needed to allow for fast_install
   16703   # before this can be enabled.
   16704   hardcode_into_libs=yes
   16705 
   16706   # Append ld.so.conf contents to the search path
   16707   if test -f /etc/ld.so.conf; then
   16708     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' ' '`
   16709     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16710   fi
   16711 
   16712   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16713   # powerpc, because MkLinux only supported shared libraries with the
   16714   # GNU dynamic linker.  Since this was broken with cross compilers,
   16715   # most powerpc-linux boxes support dynamic linking these days and
   16716   # people can always --disable-shared, the test was removed, and we
   16717   # assume the GNU/Linux dynamic linker is in use.
   16718   dynamic_linker='GNU/Linux ld.so'
   16719   ;;
   16720 
   16721 netbsdelf*-gnu)
   16722   version_type=linux
   16723   need_lib_prefix=no
   16724   need_version=no
   16725   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16726   soname_spec='${libname}${release}${shared_ext}$major'
   16727   shlibpath_var=LD_LIBRARY_PATH
   16728   shlibpath_overrides_runpath=no
   16729   hardcode_into_libs=yes
   16730   dynamic_linker='NetBSD ld.elf_so'
   16731   ;;
   16732 
   16733 netbsd*)
   16734   version_type=sunos
   16735   need_lib_prefix=no
   16736   need_version=no
   16737   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   16738     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16739     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16740     dynamic_linker='NetBSD (a.out) ld.so'
   16741   else
   16742     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16743     soname_spec='${libname}${release}${shared_ext}$major'
   16744     dynamic_linker='NetBSD ld.elf_so'
   16745   fi
   16746   shlibpath_var=LD_LIBRARY_PATH
   16747   shlibpath_overrides_runpath=yes
   16748   hardcode_into_libs=yes
   16749   ;;
   16750 
   16751 newsos6)
   16752   version_type=linux # correct to gnu/linux during the next big refactor
   16753   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16754   shlibpath_var=LD_LIBRARY_PATH
   16755   shlibpath_overrides_runpath=yes
   16756   ;;
   16757 
   16758 *nto* | *qnx*)
   16759   version_type=qnx
   16760   need_lib_prefix=no
   16761   need_version=no
   16762   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16763   soname_spec='${libname}${release}${shared_ext}$major'
   16764   shlibpath_var=LD_LIBRARY_PATH
   16765   shlibpath_overrides_runpath=no
   16766   hardcode_into_libs=yes
   16767   dynamic_linker='ldqnx.so'
   16768   ;;
   16769 
   16770 openbsd*)
   16771   version_type=sunos
   16772   sys_lib_dlsearch_path_spec="/usr/lib"
   16773   need_lib_prefix=no
   16774   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   16775   case $host_os in
   16776     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   16777     *)				need_version=no  ;;
   16778   esac
   16779   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16780   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   16781   shlibpath_var=LD_LIBRARY_PATH
   16782   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16783     case $host_os in
   16784       openbsd2.[89] | openbsd2.[89].*)
   16785 	shlibpath_overrides_runpath=no
   16786 	;;
   16787       *)
   16788 	shlibpath_overrides_runpath=yes
   16789 	;;
   16790       esac
   16791   else
   16792     shlibpath_overrides_runpath=yes
   16793   fi
   16794   ;;
   16795 
   16796 os2*)
   16797   libname_spec='$name'
   16798   shrext_cmds=".dll"
   16799   need_lib_prefix=no
   16800   library_names_spec='$libname${shared_ext} $libname.a'
   16801   dynamic_linker='OS/2 ld.exe'
   16802   shlibpath_var=LIBPATH
   16803   ;;
   16804 
   16805 osf3* | osf4* | osf5*)
   16806   version_type=osf
   16807   need_lib_prefix=no
   16808   need_version=no
   16809   soname_spec='${libname}${release}${shared_ext}$major'
   16810   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16811   shlibpath_var=LD_LIBRARY_PATH
   16812   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   16813   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   16814   ;;
   16815 
   16816 rdos*)
   16817   dynamic_linker=no
   16818   ;;
   16819 
   16820 solaris*)
   16821   version_type=linux # correct to gnu/linux during the next big refactor
   16822   need_lib_prefix=no
   16823   need_version=no
   16824   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16825   soname_spec='${libname}${release}${shared_ext}$major'
   16826   shlibpath_var=LD_LIBRARY_PATH
   16827   shlibpath_overrides_runpath=yes
   16828   hardcode_into_libs=yes
   16829   # ldd complains unless libraries are executable
   16830   postinstall_cmds='chmod +x $lib'
   16831   ;;
   16832 
   16833 sunos4*)
   16834   version_type=sunos
   16835   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   16836   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   16837   shlibpath_var=LD_LIBRARY_PATH
   16838   shlibpath_overrides_runpath=yes
   16839   if test "$with_gnu_ld" = yes; then
   16840     need_lib_prefix=no
   16841   fi
   16842   need_version=yes
   16843   ;;
   16844 
   16845 sysv4 | sysv4.3*)
   16846   version_type=linux # correct to gnu/linux during the next big refactor
   16847   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16848   soname_spec='${libname}${release}${shared_ext}$major'
   16849   shlibpath_var=LD_LIBRARY_PATH
   16850   case $host_vendor in
   16851     sni)
   16852       shlibpath_overrides_runpath=no
   16853       need_lib_prefix=no
   16854       runpath_var=LD_RUN_PATH
   16855       ;;
   16856     siemens)
   16857       need_lib_prefix=no
   16858       ;;
   16859     motorola)
   16860       need_lib_prefix=no
   16861       need_version=no
   16862       shlibpath_overrides_runpath=no
   16863       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   16864       ;;
   16865   esac
   16866   ;;
   16867 
   16868 sysv4*MP*)
   16869   if test -d /usr/nec ;then
   16870     version_type=linux # correct to gnu/linux during the next big refactor
   16871     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   16872     soname_spec='$libname${shared_ext}.$major'
   16873     shlibpath_var=LD_LIBRARY_PATH
   16874   fi
   16875   ;;
   16876 
   16877 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   16878   version_type=freebsd-elf
   16879   need_lib_prefix=no
   16880   need_version=no
   16881   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16882   soname_spec='${libname}${release}${shared_ext}$major'
   16883   shlibpath_var=LD_LIBRARY_PATH
   16884   shlibpath_overrides_runpath=yes
   16885   hardcode_into_libs=yes
   16886   if test "$with_gnu_ld" = yes; then
   16887     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   16888   else
   16889     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   16890     case $host_os in
   16891       sco3.2v5*)
   16892         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   16893 	;;
   16894     esac
   16895   fi
   16896   sys_lib_dlsearch_path_spec='/usr/lib'
   16897   ;;
   16898 
   16899 tpf*)
   16900   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   16901   version_type=linux # correct to gnu/linux during the next big refactor
   16902   need_lib_prefix=no
   16903   need_version=no
   16904   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16905   shlibpath_var=LD_LIBRARY_PATH
   16906   shlibpath_overrides_runpath=no
   16907   hardcode_into_libs=yes
   16908   ;;
   16909 
   16910 uts4*)
   16911   version_type=linux # correct to gnu/linux during the next big refactor
   16912   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16913   soname_spec='${libname}${release}${shared_ext}$major'
   16914   shlibpath_var=LD_LIBRARY_PATH
   16915   ;;
   16916 
   16917 *)
   16918   dynamic_linker=no
   16919   ;;
   16920 esac
   16921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   16922 $as_echo "$dynamic_linker" >&6; }
   16923 test "$dynamic_linker" = no && can_build_shared=no
   16924 
   16925 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   16926 if test "$GCC" = yes; then
   16927   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   16928 fi
   16929 
   16930 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   16931   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   16932 fi
   16933 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   16934   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   16935 fi
   16936 
   16937 
   16938 
   16939 
   16940 
   16941 
   16942 
   16943 
   16944 
   16945 
   16946 
   16947 
   16948 
   16949 
   16950 
   16951 
   16952 
   16953 
   16954 
   16955 
   16956 
   16957 
   16958 
   16959 
   16960 
   16961 
   16962 
   16963 
   16964 
   16965 
   16966 
   16967 
   16968 
   16969 
   16970 
   16971 
   16972 
   16973 
   16974 
   16975 
   16976 
   16977 
   16978 
   16979 
   16980 
   16981 
   16982 
   16983 
   16984 
   16985 
   16986 
   16987 
   16988 
   16989 
   16990 
   16991 
   16992 
   16993 
   16994 
   16995 
   16996 
   16997 
   16998 
   16999 
   17000 
   17001 
   17002 
   17003 
   17004 
   17005 
   17006 
   17007 
   17008 
   17009 
   17010 
   17011 
   17012 
   17013 
   17014 
   17015 
   17016 
   17017 
   17018 
   17019 
   17020 
   17021 
   17022 
   17023 
   17024 
   17025 
   17026 
   17027 
   17028   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17029 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17030 hardcode_action=
   17031 if test -n "$hardcode_libdir_flag_spec" ||
   17032    test -n "$runpath_var" ||
   17033    test "X$hardcode_automatic" = "Xyes" ; then
   17034 
   17035   # We can hardcode non-existent directories.
   17036   if test "$hardcode_direct" != no &&
   17037      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17038      # have to relink, otherwise we might link with an installed library
   17039      # when we should be linking with a yet-to-be-installed one
   17040      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   17041      test "$hardcode_minus_L" != no; then
   17042     # Linking always hardcodes the temporary library directory.
   17043     hardcode_action=relink
   17044   else
   17045     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17046     hardcode_action=immediate
   17047   fi
   17048 else
   17049   # We cannot hardcode anything, or else we can only hardcode existing
   17050   # directories.
   17051   hardcode_action=unsupported
   17052 fi
   17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17054 $as_echo "$hardcode_action" >&6; }
   17055 
   17056 if test "$hardcode_action" = relink ||
   17057    test "$inherit_rpath" = yes; then
   17058   # Fast installation is not supported
   17059   enable_fast_install=no
   17060 elif test "$shlibpath_overrides_runpath" = yes ||
   17061      test "$enable_shared" = no; then
   17062   # Fast installation is not necessary
   17063   enable_fast_install=needless
   17064 fi
   17065 
   17066 
   17067 
   17068 
   17069 
   17070 
   17071   if test "x$enable_dlopen" != xyes; then
   17072   enable_dlopen=unknown
   17073   enable_dlopen_self=unknown
   17074   enable_dlopen_self_static=unknown
   17075 else
   17076   lt_cv_dlopen=no
   17077   lt_cv_dlopen_libs=
   17078 
   17079   case $host_os in
   17080   beos*)
   17081     lt_cv_dlopen="load_add_on"
   17082     lt_cv_dlopen_libs=
   17083     lt_cv_dlopen_self=yes
   17084     ;;
   17085 
   17086   mingw* | pw32* | cegcc*)
   17087     lt_cv_dlopen="LoadLibrary"
   17088     lt_cv_dlopen_libs=
   17089     ;;
   17090 
   17091   cygwin*)
   17092     lt_cv_dlopen="dlopen"
   17093     lt_cv_dlopen_libs=
   17094     ;;
   17095 
   17096   darwin*)
   17097   # if libdl is installed we need to link against it
   17098     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17099 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17100 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17101   $as_echo_n "(cached) " >&6
   17102 else
   17103   ac_check_lib_save_LIBS=$LIBS
   17104 LIBS="-ldl  $LIBS"
   17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17106 /* end confdefs.h.  */
   17107 
   17108 /* Override any GCC internal prototype to avoid an error.
   17109    Use char because int might match the return type of a GCC
   17110    builtin and then its argument prototype would still apply.  */
   17111 #ifdef __cplusplus
   17112 extern "C"
   17113 #endif
   17114 char dlopen ();
   17115 int
   17116 main ()
   17117 {
   17118 return dlopen ();
   17119   ;
   17120   return 0;
   17121 }
   17122 _ACEOF
   17123 if ac_fn_c_try_link "$LINENO"; then :
   17124   ac_cv_lib_dl_dlopen=yes
   17125 else
   17126   ac_cv_lib_dl_dlopen=no
   17127 fi
   17128 rm -f core conftest.err conftest.$ac_objext \
   17129     conftest$ac_exeext conftest.$ac_ext
   17130 LIBS=$ac_check_lib_save_LIBS
   17131 fi
   17132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17133 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17134 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17135   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17136 else
   17137 
   17138     lt_cv_dlopen="dyld"
   17139     lt_cv_dlopen_libs=
   17140     lt_cv_dlopen_self=yes
   17141 
   17142 fi
   17143 
   17144     ;;
   17145 
   17146   *)
   17147     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17148 if test "x$ac_cv_func_shl_load" = xyes; then :
   17149   lt_cv_dlopen="shl_load"
   17150 else
   17151   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17152 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17153 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17154   $as_echo_n "(cached) " >&6
   17155 else
   17156   ac_check_lib_save_LIBS=$LIBS
   17157 LIBS="-ldld  $LIBS"
   17158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17159 /* end confdefs.h.  */
   17160 
   17161 /* Override any GCC internal prototype to avoid an error.
   17162    Use char because int might match the return type of a GCC
   17163    builtin and then its argument prototype would still apply.  */
   17164 #ifdef __cplusplus
   17165 extern "C"
   17166 #endif
   17167 char shl_load ();
   17168 int
   17169 main ()
   17170 {
   17171 return shl_load ();
   17172   ;
   17173   return 0;
   17174 }
   17175 _ACEOF
   17176 if ac_fn_c_try_link "$LINENO"; then :
   17177   ac_cv_lib_dld_shl_load=yes
   17178 else
   17179   ac_cv_lib_dld_shl_load=no
   17180 fi
   17181 rm -f core conftest.err conftest.$ac_objext \
   17182     conftest$ac_exeext conftest.$ac_ext
   17183 LIBS=$ac_check_lib_save_LIBS
   17184 fi
   17185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17186 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17187 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17188   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   17189 else
   17190   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17191 if test "x$ac_cv_func_dlopen" = xyes; then :
   17192   lt_cv_dlopen="dlopen"
   17193 else
   17194   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17195 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17196 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17197   $as_echo_n "(cached) " >&6
   17198 else
   17199   ac_check_lib_save_LIBS=$LIBS
   17200 LIBS="-ldl  $LIBS"
   17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17202 /* end confdefs.h.  */
   17203 
   17204 /* Override any GCC internal prototype to avoid an error.
   17205    Use char because int might match the return type of a GCC
   17206    builtin and then its argument prototype would still apply.  */
   17207 #ifdef __cplusplus
   17208 extern "C"
   17209 #endif
   17210 char dlopen ();
   17211 int
   17212 main ()
   17213 {
   17214 return dlopen ();
   17215   ;
   17216   return 0;
   17217 }
   17218 _ACEOF
   17219 if ac_fn_c_try_link "$LINENO"; then :
   17220   ac_cv_lib_dl_dlopen=yes
   17221 else
   17222   ac_cv_lib_dl_dlopen=no
   17223 fi
   17224 rm -f core conftest.err conftest.$ac_objext \
   17225     conftest$ac_exeext conftest.$ac_ext
   17226 LIBS=$ac_check_lib_save_LIBS
   17227 fi
   17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17229 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17230 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17231   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17232 else
   17233   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17234 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17235 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17236   $as_echo_n "(cached) " >&6
   17237 else
   17238   ac_check_lib_save_LIBS=$LIBS
   17239 LIBS="-lsvld  $LIBS"
   17240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17241 /* end confdefs.h.  */
   17242 
   17243 /* Override any GCC internal prototype to avoid an error.
   17244    Use char because int might match the return type of a GCC
   17245    builtin and then its argument prototype would still apply.  */
   17246 #ifdef __cplusplus
   17247 extern "C"
   17248 #endif
   17249 char dlopen ();
   17250 int
   17251 main ()
   17252 {
   17253 return dlopen ();
   17254   ;
   17255   return 0;
   17256 }
   17257 _ACEOF
   17258 if ac_fn_c_try_link "$LINENO"; then :
   17259   ac_cv_lib_svld_dlopen=yes
   17260 else
   17261   ac_cv_lib_svld_dlopen=no
   17262 fi
   17263 rm -f core conftest.err conftest.$ac_objext \
   17264     conftest$ac_exeext conftest.$ac_ext
   17265 LIBS=$ac_check_lib_save_LIBS
   17266 fi
   17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17268 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   17269 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   17270   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   17271 else
   17272   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17273 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   17274 if ${ac_cv_lib_dld_dld_link+:} false; then :
   17275   $as_echo_n "(cached) " >&6
   17276 else
   17277   ac_check_lib_save_LIBS=$LIBS
   17278 LIBS="-ldld  $LIBS"
   17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17280 /* end confdefs.h.  */
   17281 
   17282 /* Override any GCC internal prototype to avoid an error.
   17283    Use char because int might match the return type of a GCC
   17284    builtin and then its argument prototype would still apply.  */
   17285 #ifdef __cplusplus
   17286 extern "C"
   17287 #endif
   17288 char dld_link ();
   17289 int
   17290 main ()
   17291 {
   17292 return dld_link ();
   17293   ;
   17294   return 0;
   17295 }
   17296 _ACEOF
   17297 if ac_fn_c_try_link "$LINENO"; then :
   17298   ac_cv_lib_dld_dld_link=yes
   17299 else
   17300   ac_cv_lib_dld_dld_link=no
   17301 fi
   17302 rm -f core conftest.err conftest.$ac_objext \
   17303     conftest$ac_exeext conftest.$ac_ext
   17304 LIBS=$ac_check_lib_save_LIBS
   17305 fi
   17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17307 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   17308 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   17309   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   17310 fi
   17311 
   17312 
   17313 fi
   17314 
   17315 
   17316 fi
   17317 
   17318 
   17319 fi
   17320 
   17321 
   17322 fi
   17323 
   17324 
   17325 fi
   17326 
   17327     ;;
   17328   esac
   17329 
   17330   if test "x$lt_cv_dlopen" != xno; then
   17331     enable_dlopen=yes
   17332   else
   17333     enable_dlopen=no
   17334   fi
   17335 
   17336   case $lt_cv_dlopen in
   17337   dlopen)
   17338     save_CPPFLAGS="$CPPFLAGS"
   17339     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17340 
   17341     save_LDFLAGS="$LDFLAGS"
   17342     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17343 
   17344     save_LIBS="$LIBS"
   17345     LIBS="$lt_cv_dlopen_libs $LIBS"
   17346 
   17347     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17348 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   17349 if ${lt_cv_dlopen_self+:} false; then :
   17350   $as_echo_n "(cached) " >&6
   17351 else
   17352   	  if test "$cross_compiling" = yes; then :
   17353   lt_cv_dlopen_self=cross
   17354 else
   17355   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17356   lt_status=$lt_dlunknown
   17357   cat > conftest.$ac_ext <<_LT_EOF
   17358 #line $LINENO "configure"
   17359 #include "confdefs.h"
   17360 
   17361 #if HAVE_DLFCN_H
   17362 #include <dlfcn.h>
   17363 #endif
   17364 
   17365 #include <stdio.h>
   17366 
   17367 #ifdef RTLD_GLOBAL
   17368 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17369 #else
   17370 #  ifdef DL_GLOBAL
   17371 #    define LT_DLGLOBAL		DL_GLOBAL
   17372 #  else
   17373 #    define LT_DLGLOBAL		0
   17374 #  endif
   17375 #endif
   17376 
   17377 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17378    find out it does not work in some platform. */
   17379 #ifndef LT_DLLAZY_OR_NOW
   17380 #  ifdef RTLD_LAZY
   17381 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17382 #  else
   17383 #    ifdef DL_LAZY
   17384 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17385 #    else
   17386 #      ifdef RTLD_NOW
   17387 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17388 #      else
   17389 #        ifdef DL_NOW
   17390 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17391 #        else
   17392 #          define LT_DLLAZY_OR_NOW	0
   17393 #        endif
   17394 #      endif
   17395 #    endif
   17396 #  endif
   17397 #endif
   17398 
   17399 /* When -fvisbility=hidden is used, assume the code has been annotated
   17400    correspondingly for the symbols needed.  */
   17401 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17402 int fnord () __attribute__((visibility("default")));
   17403 #endif
   17404 
   17405 int fnord () { return 42; }
   17406 int main ()
   17407 {
   17408   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17409   int status = $lt_dlunknown;
   17410 
   17411   if (self)
   17412     {
   17413       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17414       else
   17415         {
   17416 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17417           else puts (dlerror ());
   17418 	}
   17419       /* dlclose (self); */
   17420     }
   17421   else
   17422     puts (dlerror ());
   17423 
   17424   return status;
   17425 }
   17426 _LT_EOF
   17427   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17428   (eval $ac_link) 2>&5
   17429   ac_status=$?
   17430   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17431   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17432     (./conftest; exit; ) >&5 2>/dev/null
   17433     lt_status=$?
   17434     case x$lt_status in
   17435       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17436       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17437       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17438     esac
   17439   else :
   17440     # compilation failed
   17441     lt_cv_dlopen_self=no
   17442   fi
   17443 fi
   17444 rm -fr conftest*
   17445 
   17446 
   17447 fi
   17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17449 $as_echo "$lt_cv_dlopen_self" >&6; }
   17450 
   17451     if test "x$lt_cv_dlopen_self" = xyes; then
   17452       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17453       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17454 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   17455 if ${lt_cv_dlopen_self_static+:} false; then :
   17456   $as_echo_n "(cached) " >&6
   17457 else
   17458   	  if test "$cross_compiling" = yes; then :
   17459   lt_cv_dlopen_self_static=cross
   17460 else
   17461   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17462   lt_status=$lt_dlunknown
   17463   cat > conftest.$ac_ext <<_LT_EOF
   17464 #line $LINENO "configure"
   17465 #include "confdefs.h"
   17466 
   17467 #if HAVE_DLFCN_H
   17468 #include <dlfcn.h>
   17469 #endif
   17470 
   17471 #include <stdio.h>
   17472 
   17473 #ifdef RTLD_GLOBAL
   17474 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17475 #else
   17476 #  ifdef DL_GLOBAL
   17477 #    define LT_DLGLOBAL		DL_GLOBAL
   17478 #  else
   17479 #    define LT_DLGLOBAL		0
   17480 #  endif
   17481 #endif
   17482 
   17483 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17484    find out it does not work in some platform. */
   17485 #ifndef LT_DLLAZY_OR_NOW
   17486 #  ifdef RTLD_LAZY
   17487 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17488 #  else
   17489 #    ifdef DL_LAZY
   17490 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17491 #    else
   17492 #      ifdef RTLD_NOW
   17493 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17494 #      else
   17495 #        ifdef DL_NOW
   17496 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17497 #        else
   17498 #          define LT_DLLAZY_OR_NOW	0
   17499 #        endif
   17500 #      endif
   17501 #    endif
   17502 #  endif
   17503 #endif
   17504 
   17505 /* When -fvisbility=hidden is used, assume the code has been annotated
   17506    correspondingly for the symbols needed.  */
   17507 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17508 int fnord () __attribute__((visibility("default")));
   17509 #endif
   17510 
   17511 int fnord () { return 42; }
   17512 int main ()
   17513 {
   17514   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17515   int status = $lt_dlunknown;
   17516 
   17517   if (self)
   17518     {
   17519       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17520       else
   17521         {
   17522 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17523           else puts (dlerror ());
   17524 	}
   17525       /* dlclose (self); */
   17526     }
   17527   else
   17528     puts (dlerror ());
   17529 
   17530   return status;
   17531 }
   17532 _LT_EOF
   17533   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17534   (eval $ac_link) 2>&5
   17535   ac_status=$?
   17536   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17537   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17538     (./conftest; exit; ) >&5 2>/dev/null
   17539     lt_status=$?
   17540     case x$lt_status in
   17541       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17542       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17543       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17544     esac
   17545   else :
   17546     # compilation failed
   17547     lt_cv_dlopen_self_static=no
   17548   fi
   17549 fi
   17550 rm -fr conftest*
   17551 
   17552 
   17553 fi
   17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17555 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   17556     fi
   17557 
   17558     CPPFLAGS="$save_CPPFLAGS"
   17559     LDFLAGS="$save_LDFLAGS"
   17560     LIBS="$save_LIBS"
   17561     ;;
   17562   esac
   17563 
   17564   case $lt_cv_dlopen_self in
   17565   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17566   *) enable_dlopen_self=unknown ;;
   17567   esac
   17568 
   17569   case $lt_cv_dlopen_self_static in
   17570   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17571   *) enable_dlopen_self_static=unknown ;;
   17572   esac
   17573 fi
   17574 
   17575 
   17576 
   17577 
   17578 
   17579 
   17580 
   17581 
   17582 
   17583 
   17584 
   17585 
   17586 
   17587 
   17588 
   17589 
   17590 
   17591 striplib=
   17592 old_striplib=
   17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17594 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   17595 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17596   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   17597   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   17598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17599 $as_echo "yes" >&6; }
   17600 else
   17601 # FIXME - insert some real tests, host_os isn't really good enough
   17602   case $host_os in
   17603   darwin*)
   17604     if test -n "$STRIP" ; then
   17605       striplib="$STRIP -x"
   17606       old_striplib="$STRIP -S"
   17607       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17608 $as_echo "yes" >&6; }
   17609     else
   17610       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17611 $as_echo "no" >&6; }
   17612     fi
   17613     ;;
   17614   *)
   17615     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17616 $as_echo "no" >&6; }
   17617     ;;
   17618   esac
   17619 fi
   17620 
   17621 
   17622 
   17623 
   17624 
   17625 
   17626 
   17627 
   17628 
   17629 
   17630 
   17631 
   17632   # Report which library types will actually be built
   17633   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17634 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   17635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17636 $as_echo "$can_build_shared" >&6; }
   17637 
   17638   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17639 $as_echo_n "checking whether to build shared libraries... " >&6; }
   17640   test "$can_build_shared" = "no" && enable_shared=no
   17641 
   17642   # On AIX, shared libraries and static libraries use the same namespace, and
   17643   # are all built from PIC.
   17644   case $host_os in
   17645   aix3*)
   17646     test "$enable_shared" = yes && enable_static=no
   17647     if test -n "$RANLIB"; then
   17648       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17649       postinstall_cmds='$RANLIB $lib'
   17650     fi
   17651     ;;
   17652 
   17653   aix[4-9]*)
   17654     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   17655       test "$enable_shared" = yes && enable_static=no
   17656     fi
   17657     ;;
   17658   esac
   17659   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   17660 $as_echo "$enable_shared" >&6; }
   17661 
   17662   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   17663 $as_echo_n "checking whether to build static libraries... " >&6; }
   17664   # Make sure either enable_shared or enable_static is yes.
   17665   test "$enable_shared" = yes || enable_static=yes
   17666   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   17667 $as_echo "$enable_static" >&6; }
   17668 
   17669 
   17670 
   17671 
   17672 fi
   17673 ac_ext=c
   17674 ac_cpp='$CPP $CPPFLAGS'
   17675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17678 
   17679 CC="$lt_save_CC"
   17680 
   17681 
   17682 
   17683 
   17684 
   17685 
   17686 
   17687 
   17688 
   17689 
   17690 
   17691 
   17692 
   17693 
   17694 
   17695         ac_config_commands="$ac_config_commands libtool"
   17696 
   17697 
   17698 
   17699 
   17700 # Only expand once:
   17701 
   17702 
   17703 
   17704 
   17705 
   17706 # Define a configure option for an alternate module directory
   17707 
   17708 # Check whether --with-xorg-module-dir was given.
   17709 if test "${with_xorg_module_dir+set}" = set; then :
   17710   withval=$with_xorg_module_dir;  moduledir="$withval"
   17711 else
   17712    moduledir="$libdir/xorg/modules"
   17713 fi
   17714 
   17715 
   17716 
   17717 # Store the list of server defined optional extensions in REQUIRED_MODULES
   17718 
   17719 
   17720 	SAVE_CFLAGS="$CFLAGS"
   17721 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17722 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17723 /* end confdefs.h.  */
   17724 
   17725 #include "xorg-server.h"
   17726 #if !defined RANDR
   17727 #error RANDR not defined
   17728 #endif
   17729 
   17730 int
   17731 main ()
   17732 {
   17733 
   17734   ;
   17735   return 0;
   17736 }
   17737 _ACEOF
   17738 if ac_fn_c_try_compile "$LINENO"; then :
   17739   _EXT_CHECK=yes
   17740 else
   17741   _EXT_CHECK=no
   17742 fi
   17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17744 	CFLAGS="$SAVE_CFLAGS"
   17745 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RANDR is defined" >&5
   17746 $as_echo_n "checking if RANDR is defined... " >&6; }
   17747 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17748 $as_echo "$_EXT_CHECK" >&6; }
   17749 	if test "$_EXT_CHECK" != no; then
   17750 		REQUIRED_MODULES="$REQUIRED_MODULES randrproto"
   17751 	fi
   17752 
   17753 
   17754 
   17755 	SAVE_CFLAGS="$CFLAGS"
   17756 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17757 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17758 /* end confdefs.h.  */
   17759 
   17760 #include "xorg-server.h"
   17761 #if !defined RENDER
   17762 #error RENDER not defined
   17763 #endif
   17764 
   17765 int
   17766 main ()
   17767 {
   17768 
   17769   ;
   17770   return 0;
   17771 }
   17772 _ACEOF
   17773 if ac_fn_c_try_compile "$LINENO"; then :
   17774   _EXT_CHECK=yes
   17775 else
   17776   _EXT_CHECK=no
   17777 fi
   17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17779 	CFLAGS="$SAVE_CFLAGS"
   17780 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if RENDER is defined" >&5
   17781 $as_echo_n "checking if RENDER is defined... " >&6; }
   17782 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17783 $as_echo "$_EXT_CHECK" >&6; }
   17784 	if test "$_EXT_CHECK" != no; then
   17785 		REQUIRED_MODULES="$REQUIRED_MODULES renderproto"
   17786 	fi
   17787 
   17788 
   17789 
   17790 	SAVE_CFLAGS="$CFLAGS"
   17791 	CFLAGS="$CFLAGS -I`$PKG_CONFIG --variable=sdkdir xorg-server`"
   17792 	cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17793 /* end confdefs.h.  */
   17794 
   17795 #include "xorg-server.h"
   17796 #if !defined DPMSExtension
   17797 #error DPMSExtension not defined
   17798 #endif
   17799 
   17800 int
   17801 main ()
   17802 {
   17803 
   17804   ;
   17805   return 0;
   17806 }
   17807 _ACEOF
   17808 if ac_fn_c_try_compile "$LINENO"; then :
   17809   _EXT_CHECK=yes
   17810 else
   17811   _EXT_CHECK=no
   17812 fi
   17813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   17814 	CFLAGS="$SAVE_CFLAGS"
   17815 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if DPMSExtension is defined" >&5
   17816 $as_echo_n "checking if DPMSExtension is defined... " >&6; }
   17817 	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_EXT_CHECK" >&5
   17818 $as_echo "$_EXT_CHECK" >&6; }
   17819 	if test "$_EXT_CHECK" != no; then
   17820 		REQUIRED_MODULES="$REQUIRED_MODULES xextproto"
   17821 	fi
   17822 
   17823 
   17824 # Obtain compiler/linker options for the driver dependencies
   17825 
   17826 pkg_failed=no
   17827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   17828 $as_echo_n "checking for XORG... " >&6; }
   17829 
   17830 if test -n "$XORG_CFLAGS"; then
   17831     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   17832  elif test -n "$PKG_CONFIG"; then
   17833     if test -n "$PKG_CONFIG" && \
   17834     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17835   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17836   ac_status=$?
   17837   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17838   test $ac_status = 0; }; then
   17839   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17840 		      test "x$?" != "x0" && pkg_failed=yes
   17841 else
   17842   pkg_failed=yes
   17843 fi
   17844  else
   17845     pkg_failed=untried
   17846 fi
   17847 if test -n "$XORG_LIBS"; then
   17848     pkg_cv_XORG_LIBS="$XORG_LIBS"
   17849  elif test -n "$PKG_CONFIG"; then
   17850     if test -n "$PKG_CONFIG" && \
   17851     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   17852   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   17853   ac_status=$?
   17854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17855   test $ac_status = 0; }; then
   17856   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   17857 		      test "x$?" != "x0" && pkg_failed=yes
   17858 else
   17859   pkg_failed=yes
   17860 fi
   17861  else
   17862     pkg_failed=untried
   17863 fi
   17864 
   17865 
   17866 
   17867 if test $pkg_failed = yes; then
   17868    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17869 $as_echo "no" >&6; }
   17870 
   17871 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17872         _pkg_short_errors_supported=yes
   17873 else
   17874         _pkg_short_errors_supported=no
   17875 fi
   17876         if test $_pkg_short_errors_supported = yes; then
   17877 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   17878         else
   17879 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   17880         fi
   17881 	# Put the nasty error message in config.log where it belongs
   17882 	echo "$XORG_PKG_ERRORS" >&5
   17883 
   17884 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   17885 
   17886 $XORG_PKG_ERRORS
   17887 
   17888 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   17889 installed software in a non-standard prefix.
   17890 
   17891 Alternatively, you may set the environment variables XORG_CFLAGS
   17892 and XORG_LIBS to avoid the need to call pkg-config.
   17893 See the pkg-config man page for more details." "$LINENO" 5
   17894 elif test $pkg_failed = untried; then
   17895      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17896 $as_echo "no" >&6; }
   17897 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   17898 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   17899 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   17900 is in your PATH or set the PKG_CONFIG environment variable to the full
   17901 path to pkg-config.
   17902 
   17903 Alternatively, you may set the environment variables XORG_CFLAGS
   17904 and XORG_LIBS to avoid the need to call pkg-config.
   17905 See the pkg-config man page for more details.
   17906 
   17907 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   17908 See \`config.log' for more details" "$LINENO" 5; }
   17909 else
   17910 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   17911 	XORG_LIBS=$pkg_cv_XORG_LIBS
   17912         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17913 $as_echo "yes" >&6; }
   17914 
   17915 fi
   17916 
   17917 pkg_failed=no
   17918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XEXT" >&5
   17919 $as_echo_n "checking for XEXT... " >&6; }
   17920 
   17921 if test -n "$XEXT_CFLAGS"; then
   17922     pkg_cv_XEXT_CFLAGS="$XEXT_CFLAGS"
   17923  elif test -n "$PKG_CONFIG"; then
   17924     if test -n "$PKG_CONFIG" && \
   17925     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   17926   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   17927   ac_status=$?
   17928   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17929   test $ac_status = 0; }; then
   17930   pkg_cv_XEXT_CFLAGS=`$PKG_CONFIG --cflags "xextproto >= 7.0.99.1" 2>/dev/null`
   17931 		      test "x$?" != "x0" && pkg_failed=yes
   17932 else
   17933   pkg_failed=yes
   17934 fi
   17935  else
   17936     pkg_failed=untried
   17937 fi
   17938 if test -n "$XEXT_LIBS"; then
   17939     pkg_cv_XEXT_LIBS="$XEXT_LIBS"
   17940  elif test -n "$PKG_CONFIG"; then
   17941     if test -n "$PKG_CONFIG" && \
   17942     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xextproto >= 7.0.99.1\""; } >&5
   17943   ($PKG_CONFIG --exists --print-errors "xextproto >= 7.0.99.1") 2>&5
   17944   ac_status=$?
   17945   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17946   test $ac_status = 0; }; then
   17947   pkg_cv_XEXT_LIBS=`$PKG_CONFIG --libs "xextproto >= 7.0.99.1" 2>/dev/null`
   17948 		      test "x$?" != "x0" && pkg_failed=yes
   17949 else
   17950   pkg_failed=yes
   17951 fi
   17952  else
   17953     pkg_failed=untried
   17954 fi
   17955 
   17956 
   17957 
   17958 if test $pkg_failed = yes; then
   17959    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17960 $as_echo "no" >&6; }
   17961 
   17962 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   17963         _pkg_short_errors_supported=yes
   17964 else
   17965         _pkg_short_errors_supported=no
   17966 fi
   17967         if test $_pkg_short_errors_supported = yes; then
   17968 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   17969         else
   17970 	        XEXT_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xextproto >= 7.0.99.1" 2>&1`
   17971         fi
   17972 	# Put the nasty error message in config.log where it belongs
   17973 	echo "$XEXT_PKG_ERRORS" >&5
   17974 
   17975 	HAVE_XEXTPROTO_71="no"
   17976 elif test $pkg_failed = untried; then
   17977      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17978 $as_echo "no" >&6; }
   17979 	HAVE_XEXTPROTO_71="no"
   17980 else
   17981 	XEXT_CFLAGS=$pkg_cv_XEXT_CFLAGS
   17982 	XEXT_LIBS=$pkg_cv_XEXT_LIBS
   17983         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17984 $as_echo "yes" >&6; }
   17985 	HAVE_XEXTPROTO_71="yes"
   17986 fi
   17987 
   17988 if test "x$HAVE_XEXTPROTO_71" = xyes; then
   17989 
   17990 $as_echo "#define HAVE_XEXTPROTO_71 1" >>confdefs.h
   17991 
   17992 fi
   17993 
   17994 save_CFLAGS="$CFLAGS"
   17995 CFLAGS="$XORG_CFLAGS"
   17996 ac_fn_c_check_decl "$LINENO" "xf86ConfigIsaEntity" "ac_cv_have_decl_xf86ConfigIsaEntity" "#include \"xf86.h\"
   17997 "
   17998 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = xyes; then :
   17999 
   18000 $as_echo "#define HAVE_ISA 1" >>confdefs.h
   18001 
   18002 fi
   18003 
   18004 CFLAGS="$save_CFLAGS"
   18005 
   18006 save_CFLAGS="$CFLAGS"
   18007 CFLAGS="$XORG_CFLAGS"
   18008 ac_fn_c_check_decl "$LINENO" "VBEReadPanelID" "ac_cv_have_decl_VBEReadPanelID" "#include \"vbe.h\"
   18009 "
   18010 if test "x$ac_cv_have_decl_VBEReadPanelID" = xyes; then :
   18011 
   18012 $as_echo "#define HAVE_PANELID 1" >>confdefs.h
   18013 
   18014 fi
   18015 
   18016 CFLAGS="$save_CFLAGS"
   18017 
   18018 save_CFLAGS="$CFLAGS"
   18019 CFLAGS="$XORG_CFLAGS"
   18020 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18021 "
   18022 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18023   XSERVER_LIBPCIACCESS=yes
   18024 else
   18025   XSERVER_LIBPCIACCESS=no
   18026 fi
   18027 
   18028 CFLAGS="$save_CFLAGS"
   18029 
   18030 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18031 
   18032 pkg_failed=no
   18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18034 $as_echo_n "checking for PCIACCESS... " >&6; }
   18035 
   18036 if test -n "$PCIACCESS_CFLAGS"; then
   18037     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18038  elif test -n "$PKG_CONFIG"; then
   18039     if test -n "$PKG_CONFIG" && \
   18040     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.12.901\""; } >&5
   18041   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.12.901") 2>&5
   18042   ac_status=$?
   18043   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18044   test $ac_status = 0; }; then
   18045   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.12.901" 2>/dev/null`
   18046 		      test "x$?" != "x0" && pkg_failed=yes
   18047 else
   18048   pkg_failed=yes
   18049 fi
   18050  else
   18051     pkg_failed=untried
   18052 fi
   18053 if test -n "$PCIACCESS_LIBS"; then
   18054     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18055  elif test -n "$PKG_CONFIG"; then
   18056     if test -n "$PKG_CONFIG" && \
   18057     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.12.901\""; } >&5
   18058   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.12.901") 2>&5
   18059   ac_status=$?
   18060   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18061   test $ac_status = 0; }; then
   18062   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.12.901" 2>/dev/null`
   18063 		      test "x$?" != "x0" && pkg_failed=yes
   18064 else
   18065   pkg_failed=yes
   18066 fi
   18067  else
   18068     pkg_failed=untried
   18069 fi
   18070 
   18071 
   18072 
   18073 if test $pkg_failed = yes; then
   18074    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18075 $as_echo "no" >&6; }
   18076 
   18077 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18078         _pkg_short_errors_supported=yes
   18079 else
   18080         _pkg_short_errors_supported=no
   18081 fi
   18082         if test $_pkg_short_errors_supported = yes; then
   18083 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.12.901" 2>&1`
   18084         else
   18085 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.12.901" 2>&1`
   18086         fi
   18087 	# Put the nasty error message in config.log where it belongs
   18088 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18089 
   18090 	as_fn_error $? "Package requirements (pciaccess >= 0.12.901) were not met:
   18091 
   18092 $PCIACCESS_PKG_ERRORS
   18093 
   18094 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18095 installed software in a non-standard prefix.
   18096 
   18097 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18098 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18099 See the pkg-config man page for more details." "$LINENO" 5
   18100 elif test $pkg_failed = untried; then
   18101      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18102 $as_echo "no" >&6; }
   18103 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18104 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18105 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18106 is in your PATH or set the PKG_CONFIG environment variable to the full
   18107 path to pkg-config.
   18108 
   18109 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18110 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18111 See the pkg-config man page for more details.
   18112 
   18113 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18114 See \`config.log' for more details" "$LINENO" 5; }
   18115 else
   18116 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18117 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18118         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18119 $as_echo "yes" >&6; }
   18120 
   18121 fi
   18122 fi
   18123 
   18124 # Checks for libraries.
   18125 
   18126 DRIVER_NAME=vesa
   18127 
   18128 
   18129 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18130 
   18131 cat >confcache <<\_ACEOF
   18132 # This file is a shell script that caches the results of configure
   18133 # tests run on this system so they can be shared between configure
   18134 # scripts and configure runs, see configure's option --config-cache.
   18135 # It is not useful on other systems.  If it contains results you don't
   18136 # want to keep, you may remove or edit it.
   18137 #
   18138 # config.status only pays attention to the cache file if you give it
   18139 # the --recheck option to rerun configure.
   18140 #
   18141 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18142 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18143 # following values.
   18144 
   18145 _ACEOF
   18146 
   18147 # The following way of writing the cache mishandles newlines in values,
   18148 # but we know of no workaround that is simple, portable, and efficient.
   18149 # So, we kill variables containing newlines.
   18150 # Ultrix sh set writes to stderr and can't be redirected directly,
   18151 # and sets the high bit in the cache file unless we assign to the vars.
   18152 (
   18153   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18154     eval ac_val=\$$ac_var
   18155     case $ac_val in #(
   18156     *${as_nl}*)
   18157       case $ac_var in #(
   18158       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18159 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18160       esac
   18161       case $ac_var in #(
   18162       _ | IFS | as_nl) ;; #(
   18163       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18164       *) { eval $ac_var=; unset $ac_var;} ;;
   18165       esac ;;
   18166     esac
   18167   done
   18168 
   18169   (set) 2>&1 |
   18170     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18171     *${as_nl}ac_space=\ *)
   18172       # `set' does not quote correctly, so add quotes: double-quote
   18173       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18174       sed -n \
   18175 	"s/'/'\\\\''/g;
   18176 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18177       ;; #(
   18178     *)
   18179       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18180       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18181       ;;
   18182     esac |
   18183     sort
   18184 ) |
   18185   sed '
   18186      /^ac_cv_env_/b end
   18187      t clear
   18188      :clear
   18189      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18190      t end
   18191      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18192      :end' >>confcache
   18193 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18194   if test -w "$cache_file"; then
   18195     if test "x$cache_file" != "x/dev/null"; then
   18196       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18197 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18198       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18199 	cat confcache >"$cache_file"
   18200       else
   18201         case $cache_file in #(
   18202         */* | ?:*)
   18203 	  mv -f confcache "$cache_file"$$ &&
   18204 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18205         *)
   18206 	  mv -f confcache "$cache_file" ;;
   18207 	esac
   18208       fi
   18209     fi
   18210   else
   18211     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18212 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18213   fi
   18214 fi
   18215 rm -f confcache
   18216 
   18217 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18218 # Let make expand exec_prefix.
   18219 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18220 
   18221 DEFS=-DHAVE_CONFIG_H
   18222 
   18223 ac_libobjs=
   18224 ac_ltlibobjs=
   18225 U=
   18226 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18227   # 1. Remove the extension, and $U if already installed.
   18228   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18229   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18230   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18231   #    will be set to the directory where LIBOBJS objects are built.
   18232   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18233   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18234 done
   18235 LIBOBJS=$ac_libobjs
   18236 
   18237 LTLIBOBJS=$ac_ltlibobjs
   18238 
   18239 
   18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18241 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18242    if test -n "$am_sleep_pid"; then
   18243      # Hide warnings about reused PIDs.
   18244      wait $am_sleep_pid 2>/dev/null
   18245    fi
   18246    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18247 $as_echo "done" >&6; }
   18248  if test -n "$EXEEXT"; then
   18249   am__EXEEXT_TRUE=
   18250   am__EXEEXT_FALSE='#'
   18251 else
   18252   am__EXEEXT_TRUE='#'
   18253   am__EXEEXT_FALSE=
   18254 fi
   18255 
   18256 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18257   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18259 fi
   18260 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18261   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18262 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18263 fi
   18264 
   18265 : "${CONFIG_STATUS=./config.status}"
   18266 ac_write_fail=0
   18267 ac_clean_files_save=$ac_clean_files
   18268 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18269 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18270 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18271 as_write_fail=0
   18272 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18273 #! $SHELL
   18274 # Generated by $as_me.
   18275 # Run this file to recreate the current configuration.
   18276 # Compiler output produced by configure, useful for debugging
   18277 # configure, is in config.log if it exists.
   18278 
   18279 debug=false
   18280 ac_cs_recheck=false
   18281 ac_cs_silent=false
   18282 
   18283 SHELL=\${CONFIG_SHELL-$SHELL}
   18284 export SHELL
   18285 _ASEOF
   18286 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18287 ## -------------------- ##
   18288 ## M4sh Initialization. ##
   18289 ## -------------------- ##
   18290 
   18291 # Be more Bourne compatible
   18292 DUALCASE=1; export DUALCASE # for MKS sh
   18293 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18294   emulate sh
   18295   NULLCMD=:
   18296   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18297   # is contrary to our usage.  Disable this feature.
   18298   alias -g '${1+"$@"}'='"$@"'
   18299   setopt NO_GLOB_SUBST
   18300 else
   18301   case `(set -o) 2>/dev/null` in #(
   18302   *posix*) :
   18303     set -o posix ;; #(
   18304   *) :
   18305      ;;
   18306 esac
   18307 fi
   18308 
   18309 
   18310 as_nl='
   18311 '
   18312 export as_nl
   18313 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18314 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18315 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18316 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18317 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18318 # but without wasting forks for bash or zsh.
   18319 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18320     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18321   as_echo='print -r --'
   18322   as_echo_n='print -rn --'
   18323 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18324   as_echo='printf %s\n'
   18325   as_echo_n='printf %s'
   18326 else
   18327   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18328     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18329     as_echo_n='/usr/ucb/echo -n'
   18330   else
   18331     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18332     as_echo_n_body='eval
   18333       arg=$1;
   18334       case $arg in #(
   18335       *"$as_nl"*)
   18336 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18337 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18338       esac;
   18339       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18340     '
   18341     export as_echo_n_body
   18342     as_echo_n='sh -c $as_echo_n_body as_echo'
   18343   fi
   18344   export as_echo_body
   18345   as_echo='sh -c $as_echo_body as_echo'
   18346 fi
   18347 
   18348 # The user is always right.
   18349 if test "${PATH_SEPARATOR+set}" != set; then
   18350   PATH_SEPARATOR=:
   18351   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18352     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18353       PATH_SEPARATOR=';'
   18354   }
   18355 fi
   18356 
   18357 
   18358 # IFS
   18359 # We need space, tab and new line, in precisely that order.  Quoting is
   18360 # there to prevent editors from complaining about space-tab.
   18361 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18362 # splitting by setting IFS to empty value.)
   18363 IFS=" ""	$as_nl"
   18364 
   18365 # Find who we are.  Look in the path if we contain no directory separator.
   18366 as_myself=
   18367 case $0 in #((
   18368   *[\\/]* ) as_myself=$0 ;;
   18369   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18370 for as_dir in $PATH
   18371 do
   18372   IFS=$as_save_IFS
   18373   test -z "$as_dir" && as_dir=.
   18374     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18375   done
   18376 IFS=$as_save_IFS
   18377 
   18378      ;;
   18379 esac
   18380 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18381 # in which case we are not to be found in the path.
   18382 if test "x$as_myself" = x; then
   18383   as_myself=$0
   18384 fi
   18385 if test ! -f "$as_myself"; then
   18386   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18387   exit 1
   18388 fi
   18389 
   18390 # Unset variables that we do not need and which cause bugs (e.g. in
   18391 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18392 # suppresses any "Segmentation fault" message there.  '((' could
   18393 # trigger a bug in pdksh 5.2.14.
   18394 for as_var in BASH_ENV ENV MAIL MAILPATH
   18395 do eval test x\${$as_var+set} = xset \
   18396   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18397 done
   18398 PS1='$ '
   18399 PS2='> '
   18400 PS4='+ '
   18401 
   18402 # NLS nuisances.
   18403 LC_ALL=C
   18404 export LC_ALL
   18405 LANGUAGE=C
   18406 export LANGUAGE
   18407 
   18408 # CDPATH.
   18409 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18410 
   18411 
   18412 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18413 # ----------------------------------------
   18414 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18415 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18416 # script with STATUS, using 1 if that was 0.
   18417 as_fn_error ()
   18418 {
   18419   as_status=$1; test $as_status -eq 0 && as_status=1
   18420   if test "$4"; then
   18421     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18422     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18423   fi
   18424   $as_echo "$as_me: error: $2" >&2
   18425   as_fn_exit $as_status
   18426 } # as_fn_error
   18427 
   18428 
   18429 # as_fn_set_status STATUS
   18430 # -----------------------
   18431 # Set $? to STATUS, without forking.
   18432 as_fn_set_status ()
   18433 {
   18434   return $1
   18435 } # as_fn_set_status
   18436 
   18437 # as_fn_exit STATUS
   18438 # -----------------
   18439 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18440 as_fn_exit ()
   18441 {
   18442   set +e
   18443   as_fn_set_status $1
   18444   exit $1
   18445 } # as_fn_exit
   18446 
   18447 # as_fn_unset VAR
   18448 # ---------------
   18449 # Portably unset VAR.
   18450 as_fn_unset ()
   18451 {
   18452   { eval $1=; unset $1;}
   18453 }
   18454 as_unset=as_fn_unset
   18455 # as_fn_append VAR VALUE
   18456 # ----------------------
   18457 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18458 # advantage of any shell optimizations that allow amortized linear growth over
   18459 # repeated appends, instead of the typical quadratic growth present in naive
   18460 # implementations.
   18461 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18462   eval 'as_fn_append ()
   18463   {
   18464     eval $1+=\$2
   18465   }'
   18466 else
   18467   as_fn_append ()
   18468   {
   18469     eval $1=\$$1\$2
   18470   }
   18471 fi # as_fn_append
   18472 
   18473 # as_fn_arith ARG...
   18474 # ------------------
   18475 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18476 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18477 # must be portable across $(()) and expr.
   18478 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18479   eval 'as_fn_arith ()
   18480   {
   18481     as_val=$(( $* ))
   18482   }'
   18483 else
   18484   as_fn_arith ()
   18485   {
   18486     as_val=`expr "$@" || test $? -eq 1`
   18487   }
   18488 fi # as_fn_arith
   18489 
   18490 
   18491 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18492    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18493   as_expr=expr
   18494 else
   18495   as_expr=false
   18496 fi
   18497 
   18498 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18499   as_basename=basename
   18500 else
   18501   as_basename=false
   18502 fi
   18503 
   18504 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18505   as_dirname=dirname
   18506 else
   18507   as_dirname=false
   18508 fi
   18509 
   18510 as_me=`$as_basename -- "$0" ||
   18511 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18512 	 X"$0" : 'X\(//\)$' \| \
   18513 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18514 $as_echo X/"$0" |
   18515     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18516 	    s//\1/
   18517 	    q
   18518 	  }
   18519 	  /^X\/\(\/\/\)$/{
   18520 	    s//\1/
   18521 	    q
   18522 	  }
   18523 	  /^X\/\(\/\).*/{
   18524 	    s//\1/
   18525 	    q
   18526 	  }
   18527 	  s/.*/./; q'`
   18528 
   18529 # Avoid depending upon Character Ranges.
   18530 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18531 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18532 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18533 as_cr_digits='0123456789'
   18534 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18535 
   18536 ECHO_C= ECHO_N= ECHO_T=
   18537 case `echo -n x` in #(((((
   18538 -n*)
   18539   case `echo 'xy\c'` in
   18540   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18541   xy)  ECHO_C='\c';;
   18542   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18543        ECHO_T='	';;
   18544   esac;;
   18545 *)
   18546   ECHO_N='-n';;
   18547 esac
   18548 
   18549 rm -f conf$$ conf$$.exe conf$$.file
   18550 if test -d conf$$.dir; then
   18551   rm -f conf$$.dir/conf$$.file
   18552 else
   18553   rm -f conf$$.dir
   18554   mkdir conf$$.dir 2>/dev/null
   18555 fi
   18556 if (echo >conf$$.file) 2>/dev/null; then
   18557   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18558     as_ln_s='ln -s'
   18559     # ... but there are two gotchas:
   18560     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18561     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18562     # In both cases, we have to default to `cp -pR'.
   18563     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18564       as_ln_s='cp -pR'
   18565   elif ln conf$$.file conf$$ 2>/dev/null; then
   18566     as_ln_s=ln
   18567   else
   18568     as_ln_s='cp -pR'
   18569   fi
   18570 else
   18571   as_ln_s='cp -pR'
   18572 fi
   18573 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18574 rmdir conf$$.dir 2>/dev/null
   18575 
   18576 
   18577 # as_fn_mkdir_p
   18578 # -------------
   18579 # Create "$as_dir" as a directory, including parents if necessary.
   18580 as_fn_mkdir_p ()
   18581 {
   18582 
   18583   case $as_dir in #(
   18584   -*) as_dir=./$as_dir;;
   18585   esac
   18586   test -d "$as_dir" || eval $as_mkdir_p || {
   18587     as_dirs=
   18588     while :; do
   18589       case $as_dir in #(
   18590       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18591       *) as_qdir=$as_dir;;
   18592       esac
   18593       as_dirs="'$as_qdir' $as_dirs"
   18594       as_dir=`$as_dirname -- "$as_dir" ||
   18595 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18596 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18597 	 X"$as_dir" : 'X\(//\)$' \| \
   18598 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18599 $as_echo X"$as_dir" |
   18600     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18601 	    s//\1/
   18602 	    q
   18603 	  }
   18604 	  /^X\(\/\/\)[^/].*/{
   18605 	    s//\1/
   18606 	    q
   18607 	  }
   18608 	  /^X\(\/\/\)$/{
   18609 	    s//\1/
   18610 	    q
   18611 	  }
   18612 	  /^X\(\/\).*/{
   18613 	    s//\1/
   18614 	    q
   18615 	  }
   18616 	  s/.*/./; q'`
   18617       test -d "$as_dir" && break
   18618     done
   18619     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18620   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18621 
   18622 
   18623 } # as_fn_mkdir_p
   18624 if mkdir -p . 2>/dev/null; then
   18625   as_mkdir_p='mkdir -p "$as_dir"'
   18626 else
   18627   test -d ./-p && rmdir ./-p
   18628   as_mkdir_p=false
   18629 fi
   18630 
   18631 
   18632 # as_fn_executable_p FILE
   18633 # -----------------------
   18634 # Test if FILE is an executable regular file.
   18635 as_fn_executable_p ()
   18636 {
   18637   test -f "$1" && test -x "$1"
   18638 } # as_fn_executable_p
   18639 as_test_x='test -x'
   18640 as_executable_p=as_fn_executable_p
   18641 
   18642 # Sed expression to map a string onto a valid CPP name.
   18643 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18644 
   18645 # Sed expression to map a string onto a valid variable name.
   18646 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18647 
   18648 
   18649 exec 6>&1
   18650 ## ----------------------------------- ##
   18651 ## Main body of $CONFIG_STATUS script. ##
   18652 ## ----------------------------------- ##
   18653 _ASEOF
   18654 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18655 
   18656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18657 # Save the log message, to keep $0 and so on meaningful, and to
   18658 # report actual input values of CONFIG_FILES etc. instead of their
   18659 # values after options handling.
   18660 ac_log="
   18661 This file was extended by xf86-video-vesa $as_me 2.3.3, which was
   18662 generated by GNU Autoconf 2.69.  Invocation command line was
   18663 
   18664   CONFIG_FILES    = $CONFIG_FILES
   18665   CONFIG_HEADERS  = $CONFIG_HEADERS
   18666   CONFIG_LINKS    = $CONFIG_LINKS
   18667   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18668   $ $0 $@
   18669 
   18670 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18671 "
   18672 
   18673 _ACEOF
   18674 
   18675 case $ac_config_files in *"
   18676 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18677 esac
   18678 
   18679 case $ac_config_headers in *"
   18680 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18681 esac
   18682 
   18683 
   18684 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18685 # Files that config.status was made for.
   18686 config_files="$ac_config_files"
   18687 config_headers="$ac_config_headers"
   18688 config_commands="$ac_config_commands"
   18689 
   18690 _ACEOF
   18691 
   18692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18693 ac_cs_usage="\
   18694 \`$as_me' instantiates files and other configuration actions
   18695 from templates according to the current configuration.  Unless the files
   18696 and actions are specified as TAGs, all are instantiated by default.
   18697 
   18698 Usage: $0 [OPTION]... [TAG]...
   18699 
   18700   -h, --help       print this help, then exit
   18701   -V, --version    print version number and configuration settings, then exit
   18702       --config     print configuration, then exit
   18703   -q, --quiet, --silent
   18704                    do not print progress messages
   18705   -d, --debug      don't remove temporary files
   18706       --recheck    update $as_me by reconfiguring in the same conditions
   18707       --file=FILE[:TEMPLATE]
   18708                    instantiate the configuration file FILE
   18709       --header=FILE[:TEMPLATE]
   18710                    instantiate the configuration header FILE
   18711 
   18712 Configuration files:
   18713 $config_files
   18714 
   18715 Configuration headers:
   18716 $config_headers
   18717 
   18718 Configuration commands:
   18719 $config_commands
   18720 
   18721 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg>."
   18722 
   18723 _ACEOF
   18724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18725 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18726 ac_cs_version="\\
   18727 xf86-video-vesa config.status 2.3.3
   18728 configured by $0, generated by GNU Autoconf 2.69,
   18729   with options \\"\$ac_cs_config\\"
   18730 
   18731 Copyright (C) 2012 Free Software Foundation, Inc.
   18732 This config.status script is free software; the Free Software Foundation
   18733 gives unlimited permission to copy, distribute and modify it."
   18734 
   18735 ac_pwd='$ac_pwd'
   18736 srcdir='$srcdir'
   18737 INSTALL='$INSTALL'
   18738 MKDIR_P='$MKDIR_P'
   18739 AWK='$AWK'
   18740 test -n "\$AWK" || AWK=awk
   18741 _ACEOF
   18742 
   18743 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18744 # The default lists apply if the user does not specify any file.
   18745 ac_need_defaults=:
   18746 while test $# != 0
   18747 do
   18748   case $1 in
   18749   --*=?*)
   18750     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18751     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18752     ac_shift=:
   18753     ;;
   18754   --*=)
   18755     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18756     ac_optarg=
   18757     ac_shift=:
   18758     ;;
   18759   *)
   18760     ac_option=$1
   18761     ac_optarg=$2
   18762     ac_shift=shift
   18763     ;;
   18764   esac
   18765 
   18766   case $ac_option in
   18767   # Handling of the options.
   18768   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18769     ac_cs_recheck=: ;;
   18770   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18771     $as_echo "$ac_cs_version"; exit ;;
   18772   --config | --confi | --conf | --con | --co | --c )
   18773     $as_echo "$ac_cs_config"; exit ;;
   18774   --debug | --debu | --deb | --de | --d | -d )
   18775     debug=: ;;
   18776   --file | --fil | --fi | --f )
   18777     $ac_shift
   18778     case $ac_optarg in
   18779     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18780     '') as_fn_error $? "missing file argument" ;;
   18781     esac
   18782     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18783     ac_need_defaults=false;;
   18784   --header | --heade | --head | --hea )
   18785     $ac_shift
   18786     case $ac_optarg in
   18787     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18788     esac
   18789     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18790     ac_need_defaults=false;;
   18791   --he | --h)
   18792     # Conflict between --help and --header
   18793     as_fn_error $? "ambiguous option: \`$1'
   18794 Try \`$0 --help' for more information.";;
   18795   --help | --hel | -h )
   18796     $as_echo "$ac_cs_usage"; exit ;;
   18797   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18798   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18799     ac_cs_silent=: ;;
   18800 
   18801   # This is an error.
   18802   -*) as_fn_error $? "unrecognized option: \`$1'
   18803 Try \`$0 --help' for more information." ;;
   18804 
   18805   *) as_fn_append ac_config_targets " $1"
   18806      ac_need_defaults=false ;;
   18807 
   18808   esac
   18809   shift
   18810 done
   18811 
   18812 ac_configure_extra_args=
   18813 
   18814 if $ac_cs_silent; then
   18815   exec 6>/dev/null
   18816   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18817 fi
   18818 
   18819 _ACEOF
   18820 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18821 if \$ac_cs_recheck; then
   18822   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18823   shift
   18824   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18825   CONFIG_SHELL='$SHELL'
   18826   export CONFIG_SHELL
   18827   exec "\$@"
   18828 fi
   18829 
   18830 _ACEOF
   18831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18832 exec 5>>config.log
   18833 {
   18834   echo
   18835   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18836 ## Running $as_me. ##
   18837 _ASBOX
   18838   $as_echo "$ac_log"
   18839 } >&5
   18840 
   18841 _ACEOF
   18842 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18843 #
   18844 # INIT-COMMANDS
   18845 #
   18846 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18847 
   18848 
   18849 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18850 # if CDPATH is set.
   18851 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18852 
   18853 sed_quote_subst='$sed_quote_subst'
   18854 double_quote_subst='$double_quote_subst'
   18855 delay_variable_subst='$delay_variable_subst'
   18856 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   18857 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   18858 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   18859 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   18860 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   18861 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   18862 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   18863 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   18864 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   18865 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   18866 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   18867 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   18868 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   18869 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   18870 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   18871 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   18872 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   18873 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   18874 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   18875 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   18876 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   18877 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   18878 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   18879 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   18880 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   18881 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   18882 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   18883 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   18884 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   18885 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   18886 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   18887 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   18888 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   18889 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   18890 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   18891 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   18892 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   18893 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   18894 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   18895 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   18896 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   18897 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   18898 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   18899 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   18900 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   18901 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18902 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18903 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   18904 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   18905 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   18906 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   18907 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   18908 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   18909 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   18910 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   18911 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   18912 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"`'
   18913 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   18914 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   18915 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   18916 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   18917 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   18918 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   18919 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   18920 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   18921 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   18922 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   18923 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   18924 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   18925 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   18926 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   18927 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   18928 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   18929 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   18930 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   18931 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18932 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   18933 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   18934 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   18935 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   18936 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   18937 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   18938 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   18939 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   18940 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18941 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   18942 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   18943 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   18944 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18945 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   18946 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   18947 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   18948 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   18949 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   18950 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   18951 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18952 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   18953 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   18954 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   18955 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   18956 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   18957 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   18958 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   18959 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   18960 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   18961 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   18962 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   18963 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   18964 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   18965 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   18966 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   18967 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   18968 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   18969 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   18970 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   18971 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   18972 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   18973 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   18974 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   18975 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   18976 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   18977 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   18978 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   18979 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   18980 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   18981 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   18982 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   18983 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   18984 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   18985 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   18986 
   18987 LTCC='$LTCC'
   18988 LTCFLAGS='$LTCFLAGS'
   18989 compiler='$compiler_DEFAULT'
   18990 
   18991 # A function that is used when there is no print builtin or printf.
   18992 func_fallback_echo ()
   18993 {
   18994   eval 'cat <<_LTECHO_EOF
   18995 \$1
   18996 _LTECHO_EOF'
   18997 }
   18998 
   18999 # Quote evaled strings.
   19000 for var in SHELL \
   19001 ECHO \
   19002 PATH_SEPARATOR \
   19003 SED \
   19004 GREP \
   19005 EGREP \
   19006 FGREP \
   19007 LD \
   19008 NM \
   19009 LN_S \
   19010 lt_SP2NL \
   19011 lt_NL2SP \
   19012 reload_flag \
   19013 OBJDUMP \
   19014 deplibs_check_method \
   19015 file_magic_cmd \
   19016 file_magic_glob \
   19017 want_nocaseglob \
   19018 DLLTOOL \
   19019 sharedlib_from_linklib_cmd \
   19020 AR \
   19021 AR_FLAGS \
   19022 archiver_list_spec \
   19023 STRIP \
   19024 RANLIB \
   19025 CC \
   19026 CFLAGS \
   19027 compiler \
   19028 lt_cv_sys_global_symbol_pipe \
   19029 lt_cv_sys_global_symbol_to_cdecl \
   19030 lt_cv_sys_global_symbol_to_c_name_address \
   19031 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19032 nm_file_list_spec \
   19033 lt_prog_compiler_no_builtin_flag \
   19034 lt_prog_compiler_pic \
   19035 lt_prog_compiler_wl \
   19036 lt_prog_compiler_static \
   19037 lt_cv_prog_compiler_c_o \
   19038 need_locks \
   19039 MANIFEST_TOOL \
   19040 DSYMUTIL \
   19041 NMEDIT \
   19042 LIPO \
   19043 OTOOL \
   19044 OTOOL64 \
   19045 shrext_cmds \
   19046 export_dynamic_flag_spec \
   19047 whole_archive_flag_spec \
   19048 compiler_needs_object \
   19049 with_gnu_ld \
   19050 allow_undefined_flag \
   19051 no_undefined_flag \
   19052 hardcode_libdir_flag_spec \
   19053 hardcode_libdir_separator \
   19054 exclude_expsyms \
   19055 include_expsyms \
   19056 file_list_spec \
   19057 variables_saved_for_relink \
   19058 libname_spec \
   19059 library_names_spec \
   19060 soname_spec \
   19061 install_override_mode \
   19062 finish_eval \
   19063 old_striplib \
   19064 striplib; do
   19065     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19066     *[\\\\\\\`\\"\\\$]*)
   19067       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19068       ;;
   19069     *)
   19070       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19071       ;;
   19072     esac
   19073 done
   19074 
   19075 # Double-quote double-evaled strings.
   19076 for var in reload_cmds \
   19077 old_postinstall_cmds \
   19078 old_postuninstall_cmds \
   19079 old_archive_cmds \
   19080 extract_expsyms_cmds \
   19081 old_archive_from_new_cmds \
   19082 old_archive_from_expsyms_cmds \
   19083 archive_cmds \
   19084 archive_expsym_cmds \
   19085 module_cmds \
   19086 module_expsym_cmds \
   19087 export_symbols_cmds \
   19088 prelink_cmds \
   19089 postlink_cmds \
   19090 postinstall_cmds \
   19091 postuninstall_cmds \
   19092 finish_cmds \
   19093 sys_lib_search_path_spec \
   19094 sys_lib_dlsearch_path_spec; do
   19095     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19096     *[\\\\\\\`\\"\\\$]*)
   19097       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19098       ;;
   19099     *)
   19100       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19101       ;;
   19102     esac
   19103 done
   19104 
   19105 ac_aux_dir='$ac_aux_dir'
   19106 xsi_shell='$xsi_shell'
   19107 lt_shell_append='$lt_shell_append'
   19108 
   19109 # See if we are running on zsh, and set the options which allow our
   19110 # commands through without removal of \ escapes INIT.
   19111 if test -n "\${ZSH_VERSION+set}" ; then
   19112    setopt NO_GLOB_SUBST
   19113 fi
   19114 
   19115 
   19116     PACKAGE='$PACKAGE'
   19117     VERSION='$VERSION'
   19118     TIMESTAMP='$TIMESTAMP'
   19119     RM='$RM'
   19120     ofile='$ofile'
   19121 
   19122 
   19123 
   19124 
   19125 _ACEOF
   19126 
   19127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19128 
   19129 # Handling of arguments.
   19130 for ac_config_target in $ac_config_targets
   19131 do
   19132   case $ac_config_target in
   19133     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19134     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19135     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19136     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19137     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19138     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19139 
   19140   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19141   esac
   19142 done
   19143 
   19144 
   19145 # If the user did not use the arguments to specify the items to instantiate,
   19146 # then the envvar interface is used.  Set only those that are not.
   19147 # We use the long form for the default assignment because of an extremely
   19148 # bizarre bug on SunOS 4.1.3.
   19149 if $ac_need_defaults; then
   19150   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19151   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19152   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19153 fi
   19154 
   19155 # Have a temporary directory for convenience.  Make it in the build tree
   19156 # simply because there is no reason against having it here, and in addition,
   19157 # creating and moving files from /tmp can sometimes cause problems.
   19158 # Hook for its removal unless debugging.
   19159 # Note that there is a small window in which the directory will not be cleaned:
   19160 # after its creation but before its name has been assigned to `$tmp'.
   19161 $debug ||
   19162 {
   19163   tmp= ac_tmp=
   19164   trap 'exit_status=$?
   19165   : "${ac_tmp:=$tmp}"
   19166   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19167 ' 0
   19168   trap 'as_fn_exit 1' 1 2 13 15
   19169 }
   19170 # Create a (secure) tmp directory for tmp files.
   19171 
   19172 {
   19173   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19174   test -d "$tmp"
   19175 }  ||
   19176 {
   19177   tmp=./conf$$-$RANDOM
   19178   (umask 077 && mkdir "$tmp")
   19179 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19180 ac_tmp=$tmp
   19181 
   19182 # Set up the scripts for CONFIG_FILES section.
   19183 # No need to generate them if there are no CONFIG_FILES.
   19184 # This happens for instance with `./config.status config.h'.
   19185 if test -n "$CONFIG_FILES"; then
   19186 
   19187 
   19188 ac_cr=`echo X | tr X '\015'`
   19189 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19190 # But we know of no other shell where ac_cr would be empty at this
   19191 # point, so we can use a bashism as a fallback.
   19192 if test "x$ac_cr" = x; then
   19193   eval ac_cr=\$\'\\r\'
   19194 fi
   19195 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19196 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19197   ac_cs_awk_cr='\\r'
   19198 else
   19199   ac_cs_awk_cr=$ac_cr
   19200 fi
   19201 
   19202 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19203 _ACEOF
   19204 
   19205 
   19206 {
   19207   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19208   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19209   echo "_ACEOF"
   19210 } >conf$$subs.sh ||
   19211   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19212 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19213 ac_delim='%!_!# '
   19214 for ac_last_try in false false false false false :; do
   19215   . ./conf$$subs.sh ||
   19216     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19217 
   19218   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19219   if test $ac_delim_n = $ac_delim_num; then
   19220     break
   19221   elif $ac_last_try; then
   19222     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19223   else
   19224     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19225   fi
   19226 done
   19227 rm -f conf$$subs.sh
   19228 
   19229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19230 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19231 _ACEOF
   19232 sed -n '
   19233 h
   19234 s/^/S["/; s/!.*/"]=/
   19235 p
   19236 g
   19237 s/^[^!]*!//
   19238 :repl
   19239 t repl
   19240 s/'"$ac_delim"'$//
   19241 t delim
   19242 :nl
   19243 h
   19244 s/\(.\{148\}\)..*/\1/
   19245 t more1
   19246 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19247 p
   19248 n
   19249 b repl
   19250 :more1
   19251 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19252 p
   19253 g
   19254 s/.\{148\}//
   19255 t nl
   19256 :delim
   19257 h
   19258 s/\(.\{148\}\)..*/\1/
   19259 t more2
   19260 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19261 p
   19262 b
   19263 :more2
   19264 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19265 p
   19266 g
   19267 s/.\{148\}//
   19268 t delim
   19269 ' <conf$$subs.awk | sed '
   19270 /^[^""]/{
   19271   N
   19272   s/\n//
   19273 }
   19274 ' >>$CONFIG_STATUS || ac_write_fail=1
   19275 rm -f conf$$subs.awk
   19276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19277 _ACAWK
   19278 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19279   for (key in S) S_is_set[key] = 1
   19280   FS = ""
   19281 
   19282 }
   19283 {
   19284   line = $ 0
   19285   nfields = split(line, field, "@")
   19286   substed = 0
   19287   len = length(field[1])
   19288   for (i = 2; i < nfields; i++) {
   19289     key = field[i]
   19290     keylen = length(key)
   19291     if (S_is_set[key]) {
   19292       value = S[key]
   19293       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19294       len += length(value) + length(field[++i])
   19295       substed = 1
   19296     } else
   19297       len += 1 + keylen
   19298   }
   19299 
   19300   print line
   19301 }
   19302 
   19303 _ACAWK
   19304 _ACEOF
   19305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19306 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19307   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19308 else
   19309   cat
   19310 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19311   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19312 _ACEOF
   19313 
   19314 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19315 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19316 # trailing colons and then remove the whole line if VPATH becomes empty
   19317 # (actually we leave an empty line to preserve line numbers).
   19318 if test "x$srcdir" = x.; then
   19319   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19320 h
   19321 s///
   19322 s/^/:/
   19323 s/[	 ]*$/:/
   19324 s/:\$(srcdir):/:/g
   19325 s/:\${srcdir}:/:/g
   19326 s/:@srcdir@:/:/g
   19327 s/^:*//
   19328 s/:*$//
   19329 x
   19330 s/\(=[	 ]*\).*/\1/
   19331 G
   19332 s/\n//
   19333 s/^[^=]*=[	 ]*$//
   19334 }'
   19335 fi
   19336 
   19337 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19338 fi # test -n "$CONFIG_FILES"
   19339 
   19340 # Set up the scripts for CONFIG_HEADERS section.
   19341 # No need to generate them if there are no CONFIG_HEADERS.
   19342 # This happens for instance with `./config.status Makefile'.
   19343 if test -n "$CONFIG_HEADERS"; then
   19344 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19345 BEGIN {
   19346 _ACEOF
   19347 
   19348 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19349 # here-document in config.status, that substitutes the proper values into
   19350 # config.h.in to produce config.h.
   19351 
   19352 # Create a delimiter string that does not exist in confdefs.h, to ease
   19353 # handling of long lines.
   19354 ac_delim='%!_!# '
   19355 for ac_last_try in false false :; do
   19356   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19357   if test -z "$ac_tt"; then
   19358     break
   19359   elif $ac_last_try; then
   19360     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19361   else
   19362     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19363   fi
   19364 done
   19365 
   19366 # For the awk script, D is an array of macro values keyed by name,
   19367 # likewise P contains macro parameters if any.  Preserve backslash
   19368 # newline sequences.
   19369 
   19370 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19371 sed -n '
   19372 s/.\{148\}/&'"$ac_delim"'/g
   19373 t rset
   19374 :rset
   19375 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19376 t def
   19377 d
   19378 :def
   19379 s/\\$//
   19380 t bsnl
   19381 s/["\\]/\\&/g
   19382 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19383 D["\1"]=" \3"/p
   19384 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19385 d
   19386 :bsnl
   19387 s/["\\]/\\&/g
   19388 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19389 D["\1"]=" \3\\\\\\n"\\/p
   19390 t cont
   19391 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19392 t cont
   19393 d
   19394 :cont
   19395 n
   19396 s/.\{148\}/&'"$ac_delim"'/g
   19397 t clear
   19398 :clear
   19399 s/\\$//
   19400 t bsnlc
   19401 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19402 d
   19403 :bsnlc
   19404 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19405 b cont
   19406 ' <confdefs.h | sed '
   19407 s/'"$ac_delim"'/"\\\
   19408 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19409 
   19410 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19411   for (key in D) D_is_set[key] = 1
   19412   FS = ""
   19413 }
   19414 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19415   line = \$ 0
   19416   split(line, arg, " ")
   19417   if (arg[1] == "#") {
   19418     defundef = arg[2]
   19419     mac1 = arg[3]
   19420   } else {
   19421     defundef = substr(arg[1], 2)
   19422     mac1 = arg[2]
   19423   }
   19424   split(mac1, mac2, "(") #)
   19425   macro = mac2[1]
   19426   prefix = substr(line, 1, index(line, defundef) - 1)
   19427   if (D_is_set[macro]) {
   19428     # Preserve the white space surrounding the "#".
   19429     print prefix "define", macro P[macro] D[macro]
   19430     next
   19431   } else {
   19432     # Replace #undef with comments.  This is necessary, for example,
   19433     # in the case of _POSIX_SOURCE, which is predefined and required
   19434     # on some systems where configure will not decide to define it.
   19435     if (defundef == "undef") {
   19436       print "/*", prefix defundef, macro, "*/"
   19437       next
   19438     }
   19439   }
   19440 }
   19441 { print }
   19442 _ACAWK
   19443 _ACEOF
   19444 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19445   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19446 fi # test -n "$CONFIG_HEADERS"
   19447 
   19448 
   19449 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19450 shift
   19451 for ac_tag
   19452 do
   19453   case $ac_tag in
   19454   :[FHLC]) ac_mode=$ac_tag; continue;;
   19455   esac
   19456   case $ac_mode$ac_tag in
   19457   :[FHL]*:*);;
   19458   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19459   :[FH]-) ac_tag=-:-;;
   19460   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19461   esac
   19462   ac_save_IFS=$IFS
   19463   IFS=:
   19464   set x $ac_tag
   19465   IFS=$ac_save_IFS
   19466   shift
   19467   ac_file=$1
   19468   shift
   19469 
   19470   case $ac_mode in
   19471   :L) ac_source=$1;;
   19472   :[FH])
   19473     ac_file_inputs=
   19474     for ac_f
   19475     do
   19476       case $ac_f in
   19477       -) ac_f="$ac_tmp/stdin";;
   19478       *) # Look for the file first in the build tree, then in the source tree
   19479 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19480 	 # because $ac_f cannot contain `:'.
   19481 	 test -f "$ac_f" ||
   19482 	   case $ac_f in
   19483 	   [\\/$]*) false;;
   19484 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19485 	   esac ||
   19486 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19487       esac
   19488       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19489       as_fn_append ac_file_inputs " '$ac_f'"
   19490     done
   19491 
   19492     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19493     # use $as_me), people would be surprised to read:
   19494     #    /* config.h.  Generated by config.status.  */
   19495     configure_input='Generated from '`
   19496 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19497 	`' by configure.'
   19498     if test x"$ac_file" != x-; then
   19499       configure_input="$ac_file.  $configure_input"
   19500       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19501 $as_echo "$as_me: creating $ac_file" >&6;}
   19502     fi
   19503     # Neutralize special characters interpreted by sed in replacement strings.
   19504     case $configure_input in #(
   19505     *\&* | *\|* | *\\* )
   19506        ac_sed_conf_input=`$as_echo "$configure_input" |
   19507        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19508     *) ac_sed_conf_input=$configure_input;;
   19509     esac
   19510 
   19511     case $ac_tag in
   19512     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19513       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19514     esac
   19515     ;;
   19516   esac
   19517 
   19518   ac_dir=`$as_dirname -- "$ac_file" ||
   19519 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19520 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19521 	 X"$ac_file" : 'X\(//\)$' \| \
   19522 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19523 $as_echo X"$ac_file" |
   19524     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19525 	    s//\1/
   19526 	    q
   19527 	  }
   19528 	  /^X\(\/\/\)[^/].*/{
   19529 	    s//\1/
   19530 	    q
   19531 	  }
   19532 	  /^X\(\/\/\)$/{
   19533 	    s//\1/
   19534 	    q
   19535 	  }
   19536 	  /^X\(\/\).*/{
   19537 	    s//\1/
   19538 	    q
   19539 	  }
   19540 	  s/.*/./; q'`
   19541   as_dir="$ac_dir"; as_fn_mkdir_p
   19542   ac_builddir=.
   19543 
   19544 case "$ac_dir" in
   19545 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19546 *)
   19547   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19548   # A ".." for each directory in $ac_dir_suffix.
   19549   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19550   case $ac_top_builddir_sub in
   19551   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19552   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19553   esac ;;
   19554 esac
   19555 ac_abs_top_builddir=$ac_pwd
   19556 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19557 # for backward compatibility:
   19558 ac_top_builddir=$ac_top_build_prefix
   19559 
   19560 case $srcdir in
   19561   .)  # We are building in place.
   19562     ac_srcdir=.
   19563     ac_top_srcdir=$ac_top_builddir_sub
   19564     ac_abs_top_srcdir=$ac_pwd ;;
   19565   [\\/]* | ?:[\\/]* )  # Absolute name.
   19566     ac_srcdir=$srcdir$ac_dir_suffix;
   19567     ac_top_srcdir=$srcdir
   19568     ac_abs_top_srcdir=$srcdir ;;
   19569   *) # Relative name.
   19570     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19571     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19572     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19573 esac
   19574 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19575 
   19576 
   19577   case $ac_mode in
   19578   :F)
   19579   #
   19580   # CONFIG_FILE
   19581   #
   19582 
   19583   case $INSTALL in
   19584   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19585   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19586   esac
   19587   ac_MKDIR_P=$MKDIR_P
   19588   case $MKDIR_P in
   19589   [\\/$]* | ?:[\\/]* ) ;;
   19590   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19591   esac
   19592 _ACEOF
   19593 
   19594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19595 # If the template does not know about datarootdir, expand it.
   19596 # FIXME: This hack should be removed a few years after 2.60.
   19597 ac_datarootdir_hack=; ac_datarootdir_seen=
   19598 ac_sed_dataroot='
   19599 /datarootdir/ {
   19600   p
   19601   q
   19602 }
   19603 /@datadir@/p
   19604 /@docdir@/p
   19605 /@infodir@/p
   19606 /@localedir@/p
   19607 /@mandir@/p'
   19608 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19609 *datarootdir*) ac_datarootdir_seen=yes;;
   19610 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19611   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19612 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19613 _ACEOF
   19614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19615   ac_datarootdir_hack='
   19616   s&@datadir@&$datadir&g
   19617   s&@docdir@&$docdir&g
   19618   s&@infodir@&$infodir&g
   19619   s&@localedir@&$localedir&g
   19620   s&@mandir@&$mandir&g
   19621   s&\\\${datarootdir}&$datarootdir&g' ;;
   19622 esac
   19623 _ACEOF
   19624 
   19625 # Neutralize VPATH when `$srcdir' = `.'.
   19626 # Shell code in configure.ac might set extrasub.
   19627 # FIXME: do we really want to maintain this feature?
   19628 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19629 ac_sed_extra="$ac_vpsub
   19630 $extrasub
   19631 _ACEOF
   19632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19633 :t
   19634 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19635 s|@configure_input@|$ac_sed_conf_input|;t t
   19636 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19637 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19638 s&@srcdir@&$ac_srcdir&;t t
   19639 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19640 s&@top_srcdir@&$ac_top_srcdir&;t t
   19641 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19642 s&@builddir@&$ac_builddir&;t t
   19643 s&@abs_builddir@&$ac_abs_builddir&;t t
   19644 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19645 s&@INSTALL@&$ac_INSTALL&;t t
   19646 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19647 $ac_datarootdir_hack
   19648 "
   19649 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19650   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19651 
   19652 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19653   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19654   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19655       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19656   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19657 which seems to be undefined.  Please make sure it is defined" >&5
   19658 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19659 which seems to be undefined.  Please make sure it is defined" >&2;}
   19660 
   19661   rm -f "$ac_tmp/stdin"
   19662   case $ac_file in
   19663   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19664   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19665   esac \
   19666   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19667  ;;
   19668   :H)
   19669   #
   19670   # CONFIG_HEADER
   19671   #
   19672   if test x"$ac_file" != x-; then
   19673     {
   19674       $as_echo "/* $configure_input  */" \
   19675       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19676     } >"$ac_tmp/config.h" \
   19677       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19678     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19679       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19680 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19681     else
   19682       rm -f "$ac_file"
   19683       mv "$ac_tmp/config.h" "$ac_file" \
   19684 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19685     fi
   19686   else
   19687     $as_echo "/* $configure_input  */" \
   19688       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19689       || as_fn_error $? "could not create -" "$LINENO" 5
   19690   fi
   19691 # Compute "$ac_file"'s index in $config_headers.
   19692 _am_arg="$ac_file"
   19693 _am_stamp_count=1
   19694 for _am_header in $config_headers :; do
   19695   case $_am_header in
   19696     $_am_arg | $_am_arg:* )
   19697       break ;;
   19698     * )
   19699       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19700   esac
   19701 done
   19702 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19703 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19704 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19705 	 X"$_am_arg" : 'X\(//\)$' \| \
   19706 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19707 $as_echo X"$_am_arg" |
   19708     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19709 	    s//\1/
   19710 	    q
   19711 	  }
   19712 	  /^X\(\/\/\)[^/].*/{
   19713 	    s//\1/
   19714 	    q
   19715 	  }
   19716 	  /^X\(\/\/\)$/{
   19717 	    s//\1/
   19718 	    q
   19719 	  }
   19720 	  /^X\(\/\).*/{
   19721 	    s//\1/
   19722 	    q
   19723 	  }
   19724 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19725  ;;
   19726 
   19727   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19728 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19729  ;;
   19730   esac
   19731 
   19732 
   19733   case $ac_file$ac_mode in
   19734     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19735   # Older Autoconf quotes --file arguments for eval, but not when files
   19736   # are listed without --file.  Let's play safe and only enable the eval
   19737   # if we detect the quoting.
   19738   case $CONFIG_FILES in
   19739   *\'*) eval set x "$CONFIG_FILES" ;;
   19740   *)   set x $CONFIG_FILES ;;
   19741   esac
   19742   shift
   19743   for mf
   19744   do
   19745     # Strip MF so we end up with the name of the file.
   19746     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19747     # Check whether this is an Automake generated Makefile or not.
   19748     # We used to match only the files named 'Makefile.in', but
   19749     # some people rename them; so instead we look at the file content.
   19750     # Grep'ing the first line is not enough: some people post-process
   19751     # each Makefile.in and add a new line on top of each file to say so.
   19752     # Grep'ing the whole file is not good either: AIX grep has a line
   19753     # limit of 2048, but all sed's we know have understand at least 4000.
   19754     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19755       dirpart=`$as_dirname -- "$mf" ||
   19756 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19757 	 X"$mf" : 'X\(//\)[^/]' \| \
   19758 	 X"$mf" : 'X\(//\)$' \| \
   19759 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19760 $as_echo X"$mf" |
   19761     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19762 	    s//\1/
   19763 	    q
   19764 	  }
   19765 	  /^X\(\/\/\)[^/].*/{
   19766 	    s//\1/
   19767 	    q
   19768 	  }
   19769 	  /^X\(\/\/\)$/{
   19770 	    s//\1/
   19771 	    q
   19772 	  }
   19773 	  /^X\(\/\).*/{
   19774 	    s//\1/
   19775 	    q
   19776 	  }
   19777 	  s/.*/./; q'`
   19778     else
   19779       continue
   19780     fi
   19781     # Extract the definition of DEPDIR, am__include, and am__quote
   19782     # from the Makefile without running 'make'.
   19783     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19784     test -z "$DEPDIR" && continue
   19785     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19786     test -z "$am__include" && continue
   19787     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19788     # Find all dependency output files, they are included files with
   19789     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19790     # simplest approach to changing $(DEPDIR) to its actual value in the
   19791     # expansion.
   19792     for file in `sed -n "
   19793       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19794 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19795       # Make sure the directory exists.
   19796       test -f "$dirpart/$file" && continue
   19797       fdir=`$as_dirname -- "$file" ||
   19798 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19799 	 X"$file" : 'X\(//\)[^/]' \| \
   19800 	 X"$file" : 'X\(//\)$' \| \
   19801 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19802 $as_echo X"$file" |
   19803     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19804 	    s//\1/
   19805 	    q
   19806 	  }
   19807 	  /^X\(\/\/\)[^/].*/{
   19808 	    s//\1/
   19809 	    q
   19810 	  }
   19811 	  /^X\(\/\/\)$/{
   19812 	    s//\1/
   19813 	    q
   19814 	  }
   19815 	  /^X\(\/\).*/{
   19816 	    s//\1/
   19817 	    q
   19818 	  }
   19819 	  s/.*/./; q'`
   19820       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19821       # echo "creating $dirpart/$file"
   19822       echo '# dummy' > "$dirpart/$file"
   19823     done
   19824   done
   19825 }
   19826  ;;
   19827     "libtool":C)
   19828 
   19829     # See if we are running on zsh, and set the options which allow our
   19830     # commands through without removal of \ escapes.
   19831     if test -n "${ZSH_VERSION+set}" ; then
   19832       setopt NO_GLOB_SUBST
   19833     fi
   19834 
   19835     cfgfile="${ofile}T"
   19836     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19837     $RM "$cfgfile"
   19838 
   19839     cat <<_LT_EOF >> "$cfgfile"
   19840 #! $SHELL
   19841 
   19842 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19843 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19844 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19845 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19846 #
   19847 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19848 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19849 #                 Foundation, Inc.
   19850 #   Written by Gordon Matzigkeit, 1996
   19851 #
   19852 #   This file is part of GNU Libtool.
   19853 #
   19854 # GNU Libtool is free software; you can redistribute it and/or
   19855 # modify it under the terms of the GNU General Public License as
   19856 # published by the Free Software Foundation; either version 2 of
   19857 # the License, or (at your option) any later version.
   19858 #
   19859 # As a special exception to the GNU General Public License,
   19860 # if you distribute this file as part of a program or library that
   19861 # is built using GNU Libtool, you may include this file under the
   19862 # same distribution terms that you use for the rest of that program.
   19863 #
   19864 # GNU Libtool is distributed in the hope that it will be useful,
   19865 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   19866 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   19867 # GNU General Public License for more details.
   19868 #
   19869 # You should have received a copy of the GNU General Public License
   19870 # along with GNU Libtool; see the file COPYING.  If not, a copy
   19871 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   19872 # obtained by writing to the Free Software Foundation, Inc.,
   19873 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   19874 
   19875 
   19876 # The names of the tagged configurations supported by this script.
   19877 available_tags=""
   19878 
   19879 # ### BEGIN LIBTOOL CONFIG
   19880 
   19881 # Whether or not to build static libraries.
   19882 build_old_libs=$enable_static
   19883 
   19884 # Which release of libtool.m4 was used?
   19885 macro_version=$macro_version
   19886 macro_revision=$macro_revision
   19887 
   19888 # Whether or not to build shared libraries.
   19889 build_libtool_libs=$enable_shared
   19890 
   19891 # What type of objects to build.
   19892 pic_mode=$pic_mode
   19893 
   19894 # Whether or not to optimize for fast installation.
   19895 fast_install=$enable_fast_install
   19896 
   19897 # Shell to use when invoking shell scripts.
   19898 SHELL=$lt_SHELL
   19899 
   19900 # An echo program that protects backslashes.
   19901 ECHO=$lt_ECHO
   19902 
   19903 # The PATH separator for the build system.
   19904 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   19905 
   19906 # The host system.
   19907 host_alias=$host_alias
   19908 host=$host
   19909 host_os=$host_os
   19910 
   19911 # The build system.
   19912 build_alias=$build_alias
   19913 build=$build
   19914 build_os=$build_os
   19915 
   19916 # A sed program that does not truncate output.
   19917 SED=$lt_SED
   19918 
   19919 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   19920 Xsed="\$SED -e 1s/^X//"
   19921 
   19922 # A grep program that handles long lines.
   19923 GREP=$lt_GREP
   19924 
   19925 # An ERE matcher.
   19926 EGREP=$lt_EGREP
   19927 
   19928 # A literal string matcher.
   19929 FGREP=$lt_FGREP
   19930 
   19931 # A BSD- or MS-compatible name lister.
   19932 NM=$lt_NM
   19933 
   19934 # Whether we need soft or hard links.
   19935 LN_S=$lt_LN_S
   19936 
   19937 # What is the maximum length of a command?
   19938 max_cmd_len=$max_cmd_len
   19939 
   19940 # Object file suffix (normally "o").
   19941 objext=$ac_objext
   19942 
   19943 # Executable file suffix (normally "").
   19944 exeext=$exeext
   19945 
   19946 # whether the shell understands "unset".
   19947 lt_unset=$lt_unset
   19948 
   19949 # turn spaces into newlines.
   19950 SP2NL=$lt_lt_SP2NL
   19951 
   19952 # turn newlines into spaces.
   19953 NL2SP=$lt_lt_NL2SP
   19954 
   19955 # convert \$build file names to \$host format.
   19956 to_host_file_cmd=$lt_cv_to_host_file_cmd
   19957 
   19958 # convert \$build files to toolchain format.
   19959 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   19960 
   19961 # An object symbol dumper.
   19962 OBJDUMP=$lt_OBJDUMP
   19963 
   19964 # Method to check whether dependent libraries are shared objects.
   19965 deplibs_check_method=$lt_deplibs_check_method
   19966 
   19967 # Command to use when deplibs_check_method = "file_magic".
   19968 file_magic_cmd=$lt_file_magic_cmd
   19969 
   19970 # How to find potential files when deplibs_check_method = "file_magic".
   19971 file_magic_glob=$lt_file_magic_glob
   19972 
   19973 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   19974 want_nocaseglob=$lt_want_nocaseglob
   19975 
   19976 # DLL creation program.
   19977 DLLTOOL=$lt_DLLTOOL
   19978 
   19979 # Command to associate shared and link libraries.
   19980 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   19981 
   19982 # The archiver.
   19983 AR=$lt_AR
   19984 
   19985 # Flags to create an archive.
   19986 AR_FLAGS=$lt_AR_FLAGS
   19987 
   19988 # How to feed a file listing to the archiver.
   19989 archiver_list_spec=$lt_archiver_list_spec
   19990 
   19991 # A symbol stripping program.
   19992 STRIP=$lt_STRIP
   19993 
   19994 # Commands used to install an old-style archive.
   19995 RANLIB=$lt_RANLIB
   19996 old_postinstall_cmds=$lt_old_postinstall_cmds
   19997 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   19998 
   19999 # Whether to use a lock for old archive extraction.
   20000 lock_old_archive_extraction=$lock_old_archive_extraction
   20001 
   20002 # A C compiler.
   20003 LTCC=$lt_CC
   20004 
   20005 # LTCC compiler flags.
   20006 LTCFLAGS=$lt_CFLAGS
   20007 
   20008 # Take the output of nm and produce a listing of raw symbols and C names.
   20009 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20010 
   20011 # Transform the output of nm in a proper C declaration.
   20012 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20013 
   20014 # Transform the output of nm in a C name address pair.
   20015 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20016 
   20017 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20018 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20019 
   20020 # Specify filename containing input files for \$NM.
   20021 nm_file_list_spec=$lt_nm_file_list_spec
   20022 
   20023 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20024 lt_sysroot=$lt_sysroot
   20025 
   20026 # The name of the directory that contains temporary libtool files.
   20027 objdir=$objdir
   20028 
   20029 # Used to examine libraries when file_magic_cmd begins with "file".
   20030 MAGIC_CMD=$MAGIC_CMD
   20031 
   20032 # Must we lock files when doing compilation?
   20033 need_locks=$lt_need_locks
   20034 
   20035 # Manifest tool.
   20036 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20037 
   20038 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20039 DSYMUTIL=$lt_DSYMUTIL
   20040 
   20041 # Tool to change global to local symbols on Mac OS X.
   20042 NMEDIT=$lt_NMEDIT
   20043 
   20044 # Tool to manipulate fat objects and archives on Mac OS X.
   20045 LIPO=$lt_LIPO
   20046 
   20047 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20048 OTOOL=$lt_OTOOL
   20049 
   20050 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20051 OTOOL64=$lt_OTOOL64
   20052 
   20053 # Old archive suffix (normally "a").
   20054 libext=$libext
   20055 
   20056 # Shared library suffix (normally ".so").
   20057 shrext_cmds=$lt_shrext_cmds
   20058 
   20059 # The commands to extract the exported symbol list from a shared archive.
   20060 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20061 
   20062 # Variables whose values should be saved in libtool wrapper scripts and
   20063 # restored at link time.
   20064 variables_saved_for_relink=$lt_variables_saved_for_relink
   20065 
   20066 # Do we need the "lib" prefix for modules?
   20067 need_lib_prefix=$need_lib_prefix
   20068 
   20069 # Do we need a version for libraries?
   20070 need_version=$need_version
   20071 
   20072 # Library versioning type.
   20073 version_type=$version_type
   20074 
   20075 # Shared library runtime path variable.
   20076 runpath_var=$runpath_var
   20077 
   20078 # Shared library path variable.
   20079 shlibpath_var=$shlibpath_var
   20080 
   20081 # Is shlibpath searched before the hard-coded library search path?
   20082 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20083 
   20084 # Format of library name prefix.
   20085 libname_spec=$lt_libname_spec
   20086 
   20087 # List of archive names.  First name is the real one, the rest are links.
   20088 # The last name is the one that the linker finds with -lNAME
   20089 library_names_spec=$lt_library_names_spec
   20090 
   20091 # The coded name of the library, if different from the real name.
   20092 soname_spec=$lt_soname_spec
   20093 
   20094 # Permission mode override for installation of shared libraries.
   20095 install_override_mode=$lt_install_override_mode
   20096 
   20097 # Command to use after installation of a shared archive.
   20098 postinstall_cmds=$lt_postinstall_cmds
   20099 
   20100 # Command to use after uninstallation of a shared archive.
   20101 postuninstall_cmds=$lt_postuninstall_cmds
   20102 
   20103 # Commands used to finish a libtool library installation in a directory.
   20104 finish_cmds=$lt_finish_cmds
   20105 
   20106 # As "finish_cmds", except a single script fragment to be evaled but
   20107 # not shown.
   20108 finish_eval=$lt_finish_eval
   20109 
   20110 # Whether we should hardcode library paths into libraries.
   20111 hardcode_into_libs=$hardcode_into_libs
   20112 
   20113 # Compile-time system search path for libraries.
   20114 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20115 
   20116 # Run-time system search path for libraries.
   20117 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20118 
   20119 # Whether dlopen is supported.
   20120 dlopen_support=$enable_dlopen
   20121 
   20122 # Whether dlopen of programs is supported.
   20123 dlopen_self=$enable_dlopen_self
   20124 
   20125 # Whether dlopen of statically linked programs is supported.
   20126 dlopen_self_static=$enable_dlopen_self_static
   20127 
   20128 # Commands to strip libraries.
   20129 old_striplib=$lt_old_striplib
   20130 striplib=$lt_striplib
   20131 
   20132 
   20133 # The linker used to build libraries.
   20134 LD=$lt_LD
   20135 
   20136 # How to create reloadable object files.
   20137 reload_flag=$lt_reload_flag
   20138 reload_cmds=$lt_reload_cmds
   20139 
   20140 # Commands used to build an old-style archive.
   20141 old_archive_cmds=$lt_old_archive_cmds
   20142 
   20143 # A language specific compiler.
   20144 CC=$lt_compiler
   20145 
   20146 # Is the compiler the GNU compiler?
   20147 with_gcc=$GCC
   20148 
   20149 # Compiler flag to turn off builtin functions.
   20150 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20151 
   20152 # Additional compiler flags for building library objects.
   20153 pic_flag=$lt_lt_prog_compiler_pic
   20154 
   20155 # How to pass a linker flag through the compiler.
   20156 wl=$lt_lt_prog_compiler_wl
   20157 
   20158 # Compiler flag to prevent dynamic linking.
   20159 link_static_flag=$lt_lt_prog_compiler_static
   20160 
   20161 # Does compiler simultaneously support -c and -o options?
   20162 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20163 
   20164 # Whether or not to add -lc for building shared libraries.
   20165 build_libtool_need_lc=$archive_cmds_need_lc
   20166 
   20167 # Whether or not to disallow shared libs when runtime libs are static.
   20168 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20169 
   20170 # Compiler flag to allow reflexive dlopens.
   20171 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20172 
   20173 # Compiler flag to generate shared objects directly from archives.
   20174 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20175 
   20176 # Whether the compiler copes with passing no objects directly.
   20177 compiler_needs_object=$lt_compiler_needs_object
   20178 
   20179 # Create an old-style archive from a shared archive.
   20180 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20181 
   20182 # Create a temporary old-style archive to link instead of a shared archive.
   20183 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20184 
   20185 # Commands used to build a shared archive.
   20186 archive_cmds=$lt_archive_cmds
   20187 archive_expsym_cmds=$lt_archive_expsym_cmds
   20188 
   20189 # Commands used to build a loadable module if different from building
   20190 # a shared archive.
   20191 module_cmds=$lt_module_cmds
   20192 module_expsym_cmds=$lt_module_expsym_cmds
   20193 
   20194 # Whether we are building with GNU ld or not.
   20195 with_gnu_ld=$lt_with_gnu_ld
   20196 
   20197 # Flag that allows shared libraries with undefined symbols to be built.
   20198 allow_undefined_flag=$lt_allow_undefined_flag
   20199 
   20200 # Flag that enforces no undefined symbols.
   20201 no_undefined_flag=$lt_no_undefined_flag
   20202 
   20203 # Flag to hardcode \$libdir into a binary during linking.
   20204 # This must work even if \$libdir does not exist
   20205 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20206 
   20207 # Whether we need a single "-rpath" flag with a separated argument.
   20208 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20209 
   20210 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20211 # DIR into the resulting binary.
   20212 hardcode_direct=$hardcode_direct
   20213 
   20214 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20215 # DIR into the resulting binary and the resulting library dependency is
   20216 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20217 # library is relocated.
   20218 hardcode_direct_absolute=$hardcode_direct_absolute
   20219 
   20220 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20221 # into the resulting binary.
   20222 hardcode_minus_L=$hardcode_minus_L
   20223 
   20224 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20225 # into the resulting binary.
   20226 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20227 
   20228 # Set to "yes" if building a shared library automatically hardcodes DIR
   20229 # into the library and all subsequent libraries and executables linked
   20230 # against it.
   20231 hardcode_automatic=$hardcode_automatic
   20232 
   20233 # Set to yes if linker adds runtime paths of dependent libraries
   20234 # to runtime path list.
   20235 inherit_rpath=$inherit_rpath
   20236 
   20237 # Whether libtool must link a program against all its dependency libraries.
   20238 link_all_deplibs=$link_all_deplibs
   20239 
   20240 # Set to "yes" if exported symbols are required.
   20241 always_export_symbols=$always_export_symbols
   20242 
   20243 # The commands to list exported symbols.
   20244 export_symbols_cmds=$lt_export_symbols_cmds
   20245 
   20246 # Symbols that should not be listed in the preloaded symbols.
   20247 exclude_expsyms=$lt_exclude_expsyms
   20248 
   20249 # Symbols that must always be exported.
   20250 include_expsyms=$lt_include_expsyms
   20251 
   20252 # Commands necessary for linking programs (against libraries) with templates.
   20253 prelink_cmds=$lt_prelink_cmds
   20254 
   20255 # Commands necessary for finishing linking programs.
   20256 postlink_cmds=$lt_postlink_cmds
   20257 
   20258 # Specify filename containing input files.
   20259 file_list_spec=$lt_file_list_spec
   20260 
   20261 # How to hardcode a shared library path into an executable.
   20262 hardcode_action=$hardcode_action
   20263 
   20264 # ### END LIBTOOL CONFIG
   20265 
   20266 _LT_EOF
   20267 
   20268   case $host_os in
   20269   aix3*)
   20270     cat <<\_LT_EOF >> "$cfgfile"
   20271 # AIX sometimes has problems with the GCC collect2 program.  For some
   20272 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20273 # vanish in a puff of smoke.
   20274 if test "X${COLLECT_NAMES+set}" != Xset; then
   20275   COLLECT_NAMES=
   20276   export COLLECT_NAMES
   20277 fi
   20278 _LT_EOF
   20279     ;;
   20280   esac
   20281 
   20282 
   20283 ltmain="$ac_aux_dir/ltmain.sh"
   20284 
   20285 
   20286   # We use sed instead of cat because bash on DJGPP gets confused if
   20287   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20288   # text mode, it properly converts lines to CR/LF.  This bash problem
   20289   # is reportedly fixed, but why not run on old versions too?
   20290   sed '$q' "$ltmain" >> "$cfgfile" \
   20291      || (rm -f "$cfgfile"; exit 1)
   20292 
   20293   if test x"$xsi_shell" = xyes; then
   20294   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20295 func_dirname ()\
   20296 {\
   20297 \    case ${1} in\
   20298 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20299 \      *  ) func_dirname_result="${3}" ;;\
   20300 \    esac\
   20301 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20302   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20303     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20304 test 0 -eq $? || _lt_function_replace_fail=:
   20305 
   20306 
   20307   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20308 func_basename ()\
   20309 {\
   20310 \    func_basename_result="${1##*/}"\
   20311 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20312   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20313     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20314 test 0 -eq $? || _lt_function_replace_fail=:
   20315 
   20316 
   20317   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20318 func_dirname_and_basename ()\
   20319 {\
   20320 \    case ${1} in\
   20321 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20322 \      *  ) func_dirname_result="${3}" ;;\
   20323 \    esac\
   20324 \    func_basename_result="${1##*/}"\
   20325 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20326   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20327     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20328 test 0 -eq $? || _lt_function_replace_fail=:
   20329 
   20330 
   20331   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20332 func_stripname ()\
   20333 {\
   20334 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20335 \    # positional parameters, so assign one to ordinary parameter first.\
   20336 \    func_stripname_result=${3}\
   20337 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20338 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20339 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20340   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20341     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20342 test 0 -eq $? || _lt_function_replace_fail=:
   20343 
   20344 
   20345   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20346 func_split_long_opt ()\
   20347 {\
   20348 \    func_split_long_opt_name=${1%%=*}\
   20349 \    func_split_long_opt_arg=${1#*=}\
   20350 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20351   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20352     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20353 test 0 -eq $? || _lt_function_replace_fail=:
   20354 
   20355 
   20356   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20357 func_split_short_opt ()\
   20358 {\
   20359 \    func_split_short_opt_arg=${1#??}\
   20360 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20361 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20362   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20363     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20364 test 0 -eq $? || _lt_function_replace_fail=:
   20365 
   20366 
   20367   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20368 func_lo2o ()\
   20369 {\
   20370 \    case ${1} in\
   20371 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20372 \      *)    func_lo2o_result=${1} ;;\
   20373 \    esac\
   20374 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20375   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20376     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20377 test 0 -eq $? || _lt_function_replace_fail=:
   20378 
   20379 
   20380   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20381 func_xform ()\
   20382 {\
   20383     func_xform_result=${1%.*}.lo\
   20384 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20385   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20386     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20387 test 0 -eq $? || _lt_function_replace_fail=:
   20388 
   20389 
   20390   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20391 func_arith ()\
   20392 {\
   20393     func_arith_result=$(( $* ))\
   20394 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20395   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20396     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20397 test 0 -eq $? || _lt_function_replace_fail=:
   20398 
   20399 
   20400   sed -e '/^func_len ()$/,/^} # func_len /c\
   20401 func_len ()\
   20402 {\
   20403     func_len_result=${#1}\
   20404 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20405   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20406     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20407 test 0 -eq $? || _lt_function_replace_fail=:
   20408 
   20409 fi
   20410 
   20411 if test x"$lt_shell_append" = xyes; then
   20412   sed -e '/^func_append ()$/,/^} # func_append /c\
   20413 func_append ()\
   20414 {\
   20415     eval "${1}+=\\${2}"\
   20416 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20417   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20418     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20419 test 0 -eq $? || _lt_function_replace_fail=:
   20420 
   20421 
   20422   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20423 func_append_quoted ()\
   20424 {\
   20425 \    func_quote_for_eval "${2}"\
   20426 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20427 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20428   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20429     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20430 test 0 -eq $? || _lt_function_replace_fail=:
   20431 
   20432 
   20433   # Save a `func_append' function call where possible by direct use of '+='
   20434   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20435     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20436       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20437   test 0 -eq $? || _lt_function_replace_fail=:
   20438 else
   20439   # Save a `func_append' function call even when '+=' is not available
   20440   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20441     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20442       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20443   test 0 -eq $? || _lt_function_replace_fail=:
   20444 fi
   20445 
   20446 if test x"$_lt_function_replace_fail" = x":"; then
   20447   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20448 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20449 fi
   20450 
   20451 
   20452    mv -f "$cfgfile" "$ofile" ||
   20453     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20454   chmod +x "$ofile"
   20455 
   20456  ;;
   20457 
   20458   esac
   20459 done # for ac_tag
   20460 
   20461 
   20462 as_fn_exit 0
   20463 _ACEOF
   20464 ac_clean_files=$ac_clean_files_save
   20465 
   20466 test $ac_write_fail = 0 ||
   20467   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20468 
   20469 
   20470 # configure is writing to config.log, and then calls config.status.
   20471 # config.status does its own redirection, appending to config.log.
   20472 # Unfortunately, on DOS this fails, as config.log is still kept open
   20473 # by configure, so config.status won't be able to write to it; its
   20474 # output is simply discarded.  So we exec the FD to /dev/null,
   20475 # effectively closing config.log, so it can be properly (re)opened and
   20476 # appended to by config.status.  When coming back to configure, we
   20477 # need to make the FD available again.
   20478 if test "$no_create" != yes; then
   20479   ac_cs_success=:
   20480   ac_config_status_args=
   20481   test "$silent" = yes &&
   20482     ac_config_status_args="$ac_config_status_args --quiet"
   20483   exec 5>/dev/null
   20484   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20485   exec 5>>config.log
   20486   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20487   # would make configure fail if this is the last instruction.
   20488   $ac_cs_success || as_fn_exit 1
   20489 fi
   20490 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20491   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20492 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20493 fi
   20494 
   20495