Home | History | Annotate | Line # | Download | only in dist
configure revision 1.1.1.8
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.69 for xf86-video-neomagic 1.2.9.
      4 #
      5 # Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/Neomagic>.
      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&component=Driver/Neomagic
    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-neomagic'
    593 PACKAGE_TARNAME='xf86-video-neomagic'
    594 PACKAGE_VERSION='1.2.9'
    595 PACKAGE_STRING='xf86-video-neomagic 1.2.9'
    596 PACKAGE_BUGREPORT='https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/Neomagic'
    597 PACKAGE_URL=''
    598 
    599 ac_unique_file="Makefile.am"
    600 # Factoring default headers for most tests.
    601 ac_includes_default="\
    602 #include <stdio.h>
    603 #ifdef HAVE_SYS_TYPES_H
    604 # include <sys/types.h>
    605 #endif
    606 #ifdef HAVE_SYS_STAT_H
    607 # include <sys/stat.h>
    608 #endif
    609 #ifdef STDC_HEADERS
    610 # include <stdlib.h>
    611 # include <stddef.h>
    612 #else
    613 # ifdef HAVE_STDLIB_H
    614 #  include <stdlib.h>
    615 # endif
    616 #endif
    617 #ifdef HAVE_STRING_H
    618 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
    619 #  include <memory.h>
    620 # endif
    621 # include <string.h>
    622 #endif
    623 #ifdef HAVE_STRINGS_H
    624 # include <strings.h>
    625 #endif
    626 #ifdef HAVE_INTTYPES_H
    627 # include <inttypes.h>
    628 #endif
    629 #ifdef HAVE_STDINT_H
    630 # include <stdint.h>
    631 #endif
    632 #ifdef HAVE_UNISTD_H
    633 # include <unistd.h>
    634 #endif"
    635 
    636 ac_subst_vars='am__EXEEXT_FALSE
    637 am__EXEEXT_TRUE
    638 LTLIBOBJS
    639 LIBOBJS
    640 DRIVER_NAME
    641 moduledir
    642 XSERVER_LIBPCIACCESS_FALSE
    643 XSERVER_LIBPCIACCESS_TRUE
    644 PCIACCESS_LIBS
    645 PCIACCESS_CFLAGS
    646 XAA_FALSE
    647 XAA_TRUE
    648 XORG_LIBS
    649 XORG_CFLAGS
    650 OTOOL64
    651 OTOOL
    652 LIPO
    653 NMEDIT
    654 DSYMUTIL
    655 MANIFEST_TOOL
    656 RANLIB
    657 ac_ct_AR
    658 AR
    659 DLLTOOL
    660 OBJDUMP
    661 LN_S
    662 NM
    663 ac_ct_DUMPBIN
    664 DUMPBIN
    665 LD
    666 FGREP
    667 LIBTOOL
    668 MAN_SUBSTS
    669 XORG_MAN_PAGE
    670 ADMIN_MAN_DIR
    671 DRIVER_MAN_DIR
    672 MISC_MAN_DIR
    673 FILE_MAN_DIR
    674 LIB_MAN_DIR
    675 APP_MAN_DIR
    676 ADMIN_MAN_SUFFIX
    677 DRIVER_MAN_SUFFIX
    678 MISC_MAN_SUFFIX
    679 FILE_MAN_SUFFIX
    680 LIB_MAN_SUFFIX
    681 APP_MAN_SUFFIX
    682 SED
    683 host_os
    684 host_vendor
    685 host_cpu
    686 host
    687 build_os
    688 build_vendor
    689 build_cpu
    690 build
    691 INSTALL_CMD
    692 PKG_CONFIG_LIBDIR
    693 PKG_CONFIG_PATH
    694 PKG_CONFIG
    695 CHANGELOG_CMD
    696 STRICT_CFLAGS
    697 CWARNFLAGS
    698 BASE_CFLAGS
    699 EGREP
    700 GREP
    701 CPP
    702 am__fastdepCC_FALSE
    703 am__fastdepCC_TRUE
    704 CCDEPMODE
    705 am__nodep
    706 AMDEPBACKSLASH
    707 AMDEP_FALSE
    708 AMDEP_TRUE
    709 am__quote
    710 am__include
    711 DEPDIR
    712 OBJEXT
    713 EXEEXT
    714 ac_ct_CC
    715 CPPFLAGS
    716 LDFLAGS
    717 CFLAGS
    718 CC
    719 MAINT
    720 MAINTAINER_MODE_FALSE
    721 MAINTAINER_MODE_TRUE
    722 AM_BACKSLASH
    723 AM_DEFAULT_VERBOSITY
    724 AM_DEFAULT_V
    725 AM_V
    726 am__untar
    727 am__tar
    728 AMTAR
    729 am__leading_dot
    730 SET_MAKE
    731 AWK
    732 mkdir_p
    733 MKDIR_P
    734 INSTALL_STRIP_PROGRAM
    735 STRIP
    736 install_sh
    737 MAKEINFO
    738 AUTOHEADER
    739 AUTOMAKE
    740 AUTOCONF
    741 ACLOCAL
    742 VERSION
    743 PACKAGE
    744 CYGPATH_W
    745 am__isrc
    746 INSTALL_DATA
    747 INSTALL_SCRIPT
    748 INSTALL_PROGRAM
    749 target_alias
    750 host_alias
    751 build_alias
    752 LIBS
    753 ECHO_T
    754 ECHO_N
    755 ECHO_C
    756 DEFS
    757 mandir
    758 localedir
    759 libdir
    760 psdir
    761 pdfdir
    762 dvidir
    763 htmldir
    764 infodir
    765 docdir
    766 oldincludedir
    767 includedir
    768 localstatedir
    769 sharedstatedir
    770 sysconfdir
    771 datadir
    772 datarootdir
    773 libexecdir
    774 sbindir
    775 bindir
    776 program_transform_name
    777 prefix
    778 exec_prefix
    779 PACKAGE_URL
    780 PACKAGE_BUGREPORT
    781 PACKAGE_STRING
    782 PACKAGE_VERSION
    783 PACKAGE_TARNAME
    784 PACKAGE_NAME
    785 PATH_SEPARATOR
    786 SHELL'
    787 ac_subst_files=''
    788 ac_user_opts='
    789 enable_option_checking
    790 enable_silent_rules
    791 enable_maintainer_mode
    792 enable_dependency_tracking
    793 enable_selective_werror
    794 enable_strict_compilation
    795 enable_static
    796 enable_shared
    797 with_pic
    798 enable_fast_install
    799 with_gnu_ld
    800 with_sysroot
    801 enable_libtool_lock
    802 with_xorg_module_dir
    803 enable_xaa
    804 '
    805       ac_precious_vars='build_alias
    806 host_alias
    807 target_alias
    808 CC
    809 CFLAGS
    810 LDFLAGS
    811 LIBS
    812 CPPFLAGS
    813 CPP
    814 PKG_CONFIG
    815 PKG_CONFIG_PATH
    816 PKG_CONFIG_LIBDIR
    817 XORG_CFLAGS
    818 XORG_LIBS
    819 PCIACCESS_CFLAGS
    820 PCIACCESS_LIBS'
    821 
    822 
    823 # Initialize some variables set by options.
    824 ac_init_help=
    825 ac_init_version=false
    826 ac_unrecognized_opts=
    827 ac_unrecognized_sep=
    828 # The variables have the same names as the options, with
    829 # dashes changed to underlines.
    830 cache_file=/dev/null
    831 exec_prefix=NONE
    832 no_create=
    833 no_recursion=
    834 prefix=NONE
    835 program_prefix=NONE
    836 program_suffix=NONE
    837 program_transform_name=s,x,x,
    838 silent=
    839 site=
    840 srcdir=
    841 verbose=
    842 x_includes=NONE
    843 x_libraries=NONE
    844 
    845 # Installation directory options.
    846 # These are left unexpanded so users can "make install exec_prefix=/foo"
    847 # and all the variables that are supposed to be based on exec_prefix
    848 # by default will actually change.
    849 # Use braces instead of parens because sh, perl, etc. also accept them.
    850 # (The list follows the same order as the GNU Coding Standards.)
    851 bindir='${exec_prefix}/bin'
    852 sbindir='${exec_prefix}/sbin'
    853 libexecdir='${exec_prefix}/libexec'
    854 datarootdir='${prefix}/share'
    855 datadir='${datarootdir}'
    856 sysconfdir='${prefix}/etc'
    857 sharedstatedir='${prefix}/com'
    858 localstatedir='${prefix}/var'
    859 includedir='${prefix}/include'
    860 oldincludedir='/usr/include'
    861 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
    862 infodir='${datarootdir}/info'
    863 htmldir='${docdir}'
    864 dvidir='${docdir}'
    865 pdfdir='${docdir}'
    866 psdir='${docdir}'
    867 libdir='${exec_prefix}/lib'
    868 localedir='${datarootdir}/locale'
    869 mandir='${datarootdir}/man'
    870 
    871 ac_prev=
    872 ac_dashdash=
    873 for ac_option
    874 do
    875   # If the previous option needs an argument, assign it.
    876   if test -n "$ac_prev"; then
    877     eval $ac_prev=\$ac_option
    878     ac_prev=
    879     continue
    880   fi
    881 
    882   case $ac_option in
    883   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    884   *=)   ac_optarg= ;;
    885   *)    ac_optarg=yes ;;
    886   esac
    887 
    888   # Accept the important Cygnus configure options, so we can diagnose typos.
    889 
    890   case $ac_dashdash$ac_option in
    891   --)
    892     ac_dashdash=yes ;;
    893 
    894   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    895     ac_prev=bindir ;;
    896   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    897     bindir=$ac_optarg ;;
    898 
    899   -build | --build | --buil | --bui | --bu)
    900     ac_prev=build_alias ;;
    901   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    902     build_alias=$ac_optarg ;;
    903 
    904   -cache-file | --cache-file | --cache-fil | --cache-fi \
    905   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    906     ac_prev=cache_file ;;
    907   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    908   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    909     cache_file=$ac_optarg ;;
    910 
    911   --config-cache | -C)
    912     cache_file=config.cache ;;
    913 
    914   -datadir | --datadir | --datadi | --datad)
    915     ac_prev=datadir ;;
    916   -datadir=* | --datadir=* | --datadi=* | --datad=*)
    917     datadir=$ac_optarg ;;
    918 
    919   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
    920   | --dataroo | --dataro | --datar)
    921     ac_prev=datarootdir ;;
    922   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
    923   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
    924     datarootdir=$ac_optarg ;;
    925 
    926   -disable-* | --disable-*)
    927     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    928     # Reject names that are not valid shell variable names.
    929     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    930       as_fn_error $? "invalid feature name: $ac_useropt"
    931     ac_useropt_orig=$ac_useropt
    932     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    933     case $ac_user_opts in
    934       *"
    935 "enable_$ac_useropt"
    936 "*) ;;
    937       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    938 	 ac_unrecognized_sep=', ';;
    939     esac
    940     eval enable_$ac_useropt=no ;;
    941 
    942   -docdir | --docdir | --docdi | --doc | --do)
    943     ac_prev=docdir ;;
    944   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
    945     docdir=$ac_optarg ;;
    946 
    947   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
    948     ac_prev=dvidir ;;
    949   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
    950     dvidir=$ac_optarg ;;
    951 
    952   -enable-* | --enable-*)
    953     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    954     # Reject names that are not valid shell variable names.
    955     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    956       as_fn_error $? "invalid feature name: $ac_useropt"
    957     ac_useropt_orig=$ac_useropt
    958     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    959     case $ac_user_opts in
    960       *"
    961 "enable_$ac_useropt"
    962 "*) ;;
    963       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    964 	 ac_unrecognized_sep=', ';;
    965     esac
    966     eval enable_$ac_useropt=\$ac_optarg ;;
    967 
    968   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    969   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    970   | --exec | --exe | --ex)
    971     ac_prev=exec_prefix ;;
    972   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    973   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    974   | --exec=* | --exe=* | --ex=*)
    975     exec_prefix=$ac_optarg ;;
    976 
    977   -gas | --gas | --ga | --g)
    978     # Obsolete; use --with-gas.
    979     with_gas=yes ;;
    980 
    981   -help | --help | --hel | --he | -h)
    982     ac_init_help=long ;;
    983   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    984     ac_init_help=recursive ;;
    985   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    986     ac_init_help=short ;;
    987 
    988   -host | --host | --hos | --ho)
    989     ac_prev=host_alias ;;
    990   -host=* | --host=* | --hos=* | --ho=*)
    991     host_alias=$ac_optarg ;;
    992 
    993   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
    994     ac_prev=htmldir ;;
    995   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
    996   | --ht=*)
    997     htmldir=$ac_optarg ;;
    998 
    999   -includedir | --includedir | --includedi | --included | --include \
   1000   | --includ | --inclu | --incl | --inc)
   1001     ac_prev=includedir ;;
   1002   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   1003   | --includ=* | --inclu=* | --incl=* | --inc=*)
   1004     includedir=$ac_optarg ;;
   1005 
   1006   -infodir | --infodir | --infodi | --infod | --info | --inf)
   1007     ac_prev=infodir ;;
   1008   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   1009     infodir=$ac_optarg ;;
   1010 
   1011   -libdir | --libdir | --libdi | --libd)
   1012     ac_prev=libdir ;;
   1013   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   1014     libdir=$ac_optarg ;;
   1015 
   1016   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   1017   | --libexe | --libex | --libe)
   1018     ac_prev=libexecdir ;;
   1019   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   1020   | --libexe=* | --libex=* | --libe=*)
   1021     libexecdir=$ac_optarg ;;
   1022 
   1023   -localedir | --localedir | --localedi | --localed | --locale)
   1024     ac_prev=localedir ;;
   1025   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   1026     localedir=$ac_optarg ;;
   1027 
   1028   -localstatedir | --localstatedir | --localstatedi | --localstated \
   1029   | --localstate | --localstat | --localsta | --localst | --locals)
   1030     ac_prev=localstatedir ;;
   1031   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   1032   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   1033     localstatedir=$ac_optarg ;;
   1034 
   1035   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   1036     ac_prev=mandir ;;
   1037   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   1038     mandir=$ac_optarg ;;
   1039 
   1040   -nfp | --nfp | --nf)
   1041     # Obsolete; use --without-fp.
   1042     with_fp=no ;;
   1043 
   1044   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
   1045   | --no-cr | --no-c | -n)
   1046     no_create=yes ;;
   1047 
   1048   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
   1049   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
   1050     no_recursion=yes ;;
   1051 
   1052   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
   1053   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
   1054   | --oldin | --oldi | --old | --ol | --o)
   1055     ac_prev=oldincludedir ;;
   1056   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
   1057   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
   1058   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
   1059     oldincludedir=$ac_optarg ;;
   1060 
   1061   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
   1062     ac_prev=prefix ;;
   1063   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
   1064     prefix=$ac_optarg ;;
   1065 
   1066   -program-prefix | --program-prefix | --program-prefi | --program-pref \
   1067   | --program-pre | --program-pr | --program-p)
   1068     ac_prev=program_prefix ;;
   1069   -program-prefix=* | --program-prefix=* | --program-prefi=* \
   1070   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
   1071     program_prefix=$ac_optarg ;;
   1072 
   1073   -program-suffix | --program-suffix | --program-suffi | --program-suff \
   1074   | --program-suf | --program-su | --program-s)
   1075     ac_prev=program_suffix ;;
   1076   -program-suffix=* | --program-suffix=* | --program-suffi=* \
   1077   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
   1078     program_suffix=$ac_optarg ;;
   1079 
   1080   -program-transform-name | --program-transform-name \
   1081   | --program-transform-nam | --program-transform-na \
   1082   | --program-transform-n | --program-transform- \
   1083   | --program-transform | --program-transfor \
   1084   | --program-transfo | --program-transf \
   1085   | --program-trans | --program-tran \
   1086   | --progr-tra | --program-tr | --program-t)
   1087     ac_prev=program_transform_name ;;
   1088   -program-transform-name=* | --program-transform-name=* \
   1089   | --program-transform-nam=* | --program-transform-na=* \
   1090   | --program-transform-n=* | --program-transform-=* \
   1091   | --program-transform=* | --program-transfor=* \
   1092   | --program-transfo=* | --program-transf=* \
   1093   | --program-trans=* | --program-tran=* \
   1094   | --progr-tra=* | --program-tr=* | --program-t=*)
   1095     program_transform_name=$ac_optarg ;;
   1096 
   1097   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
   1098     ac_prev=pdfdir ;;
   1099   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
   1100     pdfdir=$ac_optarg ;;
   1101 
   1102   -psdir | --psdir | --psdi | --psd | --ps)
   1103     ac_prev=psdir ;;
   1104   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
   1105     psdir=$ac_optarg ;;
   1106 
   1107   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1108   | -silent | --silent | --silen | --sile | --sil)
   1109     silent=yes ;;
   1110 
   1111   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
   1112     ac_prev=sbindir ;;
   1113   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
   1114   | --sbi=* | --sb=*)
   1115     sbindir=$ac_optarg ;;
   1116 
   1117   -sharedstatedir | --sharedstatedir | --sharedstatedi \
   1118   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
   1119   | --sharedst | --shareds | --shared | --share | --shar \
   1120   | --sha | --sh)
   1121     ac_prev=sharedstatedir ;;
   1122   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
   1123   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
   1124   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
   1125   | --sha=* | --sh=*)
   1126     sharedstatedir=$ac_optarg ;;
   1127 
   1128   -site | --site | --sit)
   1129     ac_prev=site ;;
   1130   -site=* | --site=* | --sit=*)
   1131     site=$ac_optarg ;;
   1132 
   1133   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
   1134     ac_prev=srcdir ;;
   1135   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
   1136     srcdir=$ac_optarg ;;
   1137 
   1138   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
   1139   | --syscon | --sysco | --sysc | --sys | --sy)
   1140     ac_prev=sysconfdir ;;
   1141   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
   1142   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
   1143     sysconfdir=$ac_optarg ;;
   1144 
   1145   -target | --target | --targe | --targ | --tar | --ta | --t)
   1146     ac_prev=target_alias ;;
   1147   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
   1148     target_alias=$ac_optarg ;;
   1149 
   1150   -v | -verbose | --verbose | --verbos | --verbo | --verb)
   1151     verbose=yes ;;
   1152 
   1153   -version | --version | --versio | --versi | --vers | -V)
   1154     ac_init_version=: ;;
   1155 
   1156   -with-* | --with-*)
   1157     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
   1158     # Reject names that are not valid shell variable names.
   1159     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1160       as_fn_error $? "invalid package name: $ac_useropt"
   1161     ac_useropt_orig=$ac_useropt
   1162     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1163     case $ac_user_opts in
   1164       *"
   1165 "with_$ac_useropt"
   1166 "*) ;;
   1167       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
   1168 	 ac_unrecognized_sep=', ';;
   1169     esac
   1170     eval with_$ac_useropt=\$ac_optarg ;;
   1171 
   1172   -without-* | --without-*)
   1173     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
   1174     # Reject names that are not valid shell variable names.
   1175     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   1176       as_fn_error $? "invalid package name: $ac_useropt"
   1177     ac_useropt_orig=$ac_useropt
   1178     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   1179     case $ac_user_opts in
   1180       *"
   1181 "with_$ac_useropt"
   1182 "*) ;;
   1183       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
   1184 	 ac_unrecognized_sep=', ';;
   1185     esac
   1186     eval with_$ac_useropt=no ;;
   1187 
   1188   --x)
   1189     # Obsolete; use --with-x.
   1190     with_x=yes ;;
   1191 
   1192   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
   1193   | --x-incl | --x-inc | --x-in | --x-i)
   1194     ac_prev=x_includes ;;
   1195   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
   1196   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
   1197     x_includes=$ac_optarg ;;
   1198 
   1199   -x-libraries | --x-libraries | --x-librarie | --x-librari \
   1200   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
   1201     ac_prev=x_libraries ;;
   1202   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
   1203   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
   1204     x_libraries=$ac_optarg ;;
   1205 
   1206   -*) as_fn_error $? "unrecognized option: \`$ac_option'
   1207 Try \`$0 --help' for more information"
   1208     ;;
   1209 
   1210   *=*)
   1211     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
   1212     # Reject names that are not valid shell variable names.
   1213     case $ac_envvar in #(
   1214       '' | [0-9]* | *[!_$as_cr_alnum]* )
   1215       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
   1216     esac
   1217     eval $ac_envvar=\$ac_optarg
   1218     export $ac_envvar ;;
   1219 
   1220   *)
   1221     # FIXME: should be removed in autoconf 3.0.
   1222     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
   1223     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   1224       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
   1225     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
   1226     ;;
   1227 
   1228   esac
   1229 done
   1230 
   1231 if test -n "$ac_prev"; then
   1232   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
   1233   as_fn_error $? "missing argument to $ac_option"
   1234 fi
   1235 
   1236 if test -n "$ac_unrecognized_opts"; then
   1237   case $enable_option_checking in
   1238     no) ;;
   1239     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
   1240     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
   1241   esac
   1242 fi
   1243 
   1244 # Check all directory arguments for consistency.
   1245 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
   1246 		datadir sysconfdir sharedstatedir localstatedir includedir \
   1247 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
   1248 		libdir localedir mandir
   1249 do
   1250   eval ac_val=\$$ac_var
   1251   # Remove trailing slashes.
   1252   case $ac_val in
   1253     */ )
   1254       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
   1255       eval $ac_var=\$ac_val;;
   1256   esac
   1257   # Be sure to have absolute directory names.
   1258   case $ac_val in
   1259     [\\/$]* | ?:[\\/]* )  continue;;
   1260     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
   1261   esac
   1262   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
   1263 done
   1264 
   1265 # There might be people who depend on the old broken behavior: `$host'
   1266 # used to hold the argument of --host etc.
   1267 # FIXME: To remove some day.
   1268 build=$build_alias
   1269 host=$host_alias
   1270 target=$target_alias
   1271 
   1272 # FIXME: To remove some day.
   1273 if test "x$host_alias" != x; then
   1274   if test "x$build_alias" = x; then
   1275     cross_compiling=maybe
   1276   elif test "x$build_alias" != "x$host_alias"; then
   1277     cross_compiling=yes
   1278   fi
   1279 fi
   1280 
   1281 ac_tool_prefix=
   1282 test -n "$host_alias" && ac_tool_prefix=$host_alias-
   1283 
   1284 test "$silent" = yes && exec 6>/dev/null
   1285 
   1286 
   1287 ac_pwd=`pwd` && test -n "$ac_pwd" &&
   1288 ac_ls_di=`ls -di .` &&
   1289 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
   1290   as_fn_error $? "working directory cannot be determined"
   1291 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
   1292   as_fn_error $? "pwd does not report name of working directory"
   1293 
   1294 
   1295 # Find the source files, if location was not specified.
   1296 if test -z "$srcdir"; then
   1297   ac_srcdir_defaulted=yes
   1298   # Try the directory containing this script, then the parent directory.
   1299   ac_confdir=`$as_dirname -- "$as_myself" ||
   1300 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   1301 	 X"$as_myself" : 'X\(//\)[^/]' \| \
   1302 	 X"$as_myself" : 'X\(//\)$' \| \
   1303 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
   1304 $as_echo X"$as_myself" |
   1305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   1306 	    s//\1/
   1307 	    q
   1308 	  }
   1309 	  /^X\(\/\/\)[^/].*/{
   1310 	    s//\1/
   1311 	    q
   1312 	  }
   1313 	  /^X\(\/\/\)$/{
   1314 	    s//\1/
   1315 	    q
   1316 	  }
   1317 	  /^X\(\/\).*/{
   1318 	    s//\1/
   1319 	    q
   1320 	  }
   1321 	  s/.*/./; q'`
   1322   srcdir=$ac_confdir
   1323   if test ! -r "$srcdir/$ac_unique_file"; then
   1324     srcdir=..
   1325   fi
   1326 else
   1327   ac_srcdir_defaulted=no
   1328 fi
   1329 if test ! -r "$srcdir/$ac_unique_file"; then
   1330   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
   1331   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
   1332 fi
   1333 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
   1334 ac_abs_confdir=`(
   1335 	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
   1336 	pwd)`
   1337 # When building in place, set srcdir=.
   1338 if test "$ac_abs_confdir" = "$ac_pwd"; then
   1339   srcdir=.
   1340 fi
   1341 # Remove unnecessary trailing slashes from srcdir.
   1342 # Double slashes in file names in object file debugging info
   1343 # mess up M-x gdb in Emacs.
   1344 case $srcdir in
   1345 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
   1346 esac
   1347 for ac_var in $ac_precious_vars; do
   1348   eval ac_env_${ac_var}_set=\${${ac_var}+set}
   1349   eval ac_env_${ac_var}_value=\$${ac_var}
   1350   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
   1351   eval ac_cv_env_${ac_var}_value=\$${ac_var}
   1352 done
   1353 
   1354 #
   1355 # Report the --help message.
   1356 #
   1357 if test "$ac_init_help" = "long"; then
   1358   # Omit some internal or obsolete options to make the list less imposing.
   1359   # This message is too long to be a string in the A/UX 3.1 sh.
   1360   cat <<_ACEOF
   1361 \`configure' configures xf86-video-neomagic 1.2.9 to adapt to many kinds of systems.
   1362 
   1363 Usage: $0 [OPTION]... [VAR=VALUE]...
   1364 
   1365 To assign environment variables (e.g., CC, CFLAGS...), specify them as
   1366 VAR=VALUE.  See below for descriptions of some of the useful variables.
   1367 
   1368 Defaults for the options are specified in brackets.
   1369 
   1370 Configuration:
   1371   -h, --help              display this help and exit
   1372       --help=short        display options specific to this package
   1373       --help=recursive    display the short help of all the included packages
   1374   -V, --version           display version information and exit
   1375   -q, --quiet, --silent   do not print \`checking ...' messages
   1376       --cache-file=FILE   cache test results in FILE [disabled]
   1377   -C, --config-cache      alias for \`--cache-file=config.cache'
   1378   -n, --no-create         do not create output files
   1379       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
   1380 
   1381 Installation directories:
   1382   --prefix=PREFIX         install architecture-independent files in PREFIX
   1383                           [$ac_default_prefix]
   1384   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
   1385                           [PREFIX]
   1386 
   1387 By default, \`make install' will install all the files in
   1388 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
   1389 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
   1390 for instance \`--prefix=\$HOME'.
   1391 
   1392 For better control, use the options below.
   1393 
   1394 Fine tuning of the installation directories:
   1395   --bindir=DIR            user executables [EPREFIX/bin]
   1396   --sbindir=DIR           system admin executables [EPREFIX/sbin]
   1397   --libexecdir=DIR        program executables [EPREFIX/libexec]
   1398   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   1399   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   1400   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
   1401   --libdir=DIR            object code libraries [EPREFIX/lib]
   1402   --includedir=DIR        C header files [PREFIX/include]
   1403   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
   1404   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
   1405   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
   1406   --infodir=DIR           info documentation [DATAROOTDIR/info]
   1407   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
   1408   --mandir=DIR            man documentation [DATAROOTDIR/man]
   1409   --docdir=DIR            documentation root
   1410                           [DATAROOTDIR/doc/xf86-video-neomagic]
   1411   --htmldir=DIR           html documentation [DOCDIR]
   1412   --dvidir=DIR            dvi documentation [DOCDIR]
   1413   --pdfdir=DIR            pdf documentation [DOCDIR]
   1414   --psdir=DIR             ps documentation [DOCDIR]
   1415 _ACEOF
   1416 
   1417   cat <<\_ACEOF
   1418 
   1419 Program names:
   1420   --program-prefix=PREFIX            prepend PREFIX to installed program names
   1421   --program-suffix=SUFFIX            append SUFFIX to installed program names
   1422   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
   1423 
   1424 System types:
   1425   --build=BUILD     configure for building on BUILD [guessed]
   1426   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
   1427 _ACEOF
   1428 fi
   1429 
   1430 if test -n "$ac_init_help"; then
   1431   case $ac_init_help in
   1432      short | recursive ) echo "Configuration of xf86-video-neomagic 1.2.9:";;
   1433    esac
   1434   cat <<\_ACEOF
   1435 
   1436 Optional Features:
   1437   --disable-option-checking  ignore unrecognized --enable/--with options
   1438   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1439   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1440   --enable-silent-rules   less verbose build output (undo: "make V=1")
   1441   --disable-silent-rules  verbose build output (undo: "make V=0")
   1442   --enable-maintainer-mode
   1443                           enable make rules and dependencies not useful (and
   1444                           sometimes confusing) to the casual installer
   1445   --enable-dependency-tracking
   1446                           do not reject slow dependency extractors
   1447   --disable-dependency-tracking
   1448                           speeds up one-time build
   1449   --disable-selective-werror
   1450                           Turn off selective compiler errors. (default:
   1451                           enabled)
   1452   --enable-strict-compilation
   1453                           Enable all warnings from compiler and make them
   1454                           errors (default: disabled)
   1455   --enable-static[=PKGS]  build static libraries [default=no]
   1456   --enable-shared[=PKGS]  build shared libraries [default=yes]
   1457   --enable-fast-install[=PKGS]
   1458                           optimize for fast installation [default=yes]
   1459   --disable-libtool-lock  avoid locking (might break parallel builds)
   1460   --enable-xaa            Enable legacy X Acceleration Architecture (XAA)
   1461                           [default=auto]
   1462 
   1463 Optional Packages:
   1464   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1465   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1466   --with-pic[=PKGS]       try to use only PIC/non-PIC objects [default=use
   1467                           both]
   1468   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1469   --with-sysroot=DIR Search for dependent libraries within DIR
   1470                         (or the compiler's sysroot if not specified).
   1471   --with-xorg-module-dir=DIR
   1472                           Default xorg module directory
   1473                           [[default=$libdir/xorg/modules]]
   1474 
   1475 Some influential environment variables:
   1476   CC          C compiler command
   1477   CFLAGS      C compiler flags
   1478   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1479               nonstandard directory <lib dir>
   1480   LIBS        libraries to pass to the linker, e.g. -l<library>
   1481   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
   1482               you have headers in a nonstandard directory <include dir>
   1483   CPP         C preprocessor
   1484   PKG_CONFIG  path to pkg-config utility
   1485   PKG_CONFIG_PATH
   1486               directories to add to pkg-config's search path
   1487   PKG_CONFIG_LIBDIR
   1488               path overriding pkg-config's built-in search path
   1489   XORG_CFLAGS C compiler flags for XORG, overriding pkg-config
   1490   XORG_LIBS   linker flags for XORG, overriding pkg-config
   1491   PCIACCESS_CFLAGS
   1492               C compiler flags for PCIACCESS, overriding pkg-config
   1493   PCIACCESS_LIBS
   1494               linker flags for PCIACCESS, overriding pkg-config
   1495 
   1496 Use these variables to override the choices made by `configure' or to help
   1497 it to find libraries and programs with nonstandard names/locations.
   1498 
   1499 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/Neomagic>.
   1500 _ACEOF
   1501 ac_status=$?
   1502 fi
   1503 
   1504 if test "$ac_init_help" = "recursive"; then
   1505   # If there are subdirs, report their specific --help.
   1506   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1507     test -d "$ac_dir" ||
   1508       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
   1509       continue
   1510     ac_builddir=.
   1511 
   1512 case "$ac_dir" in
   1513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1514 *)
   1515   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   1516   # A ".." for each directory in $ac_dir_suffix.
   1517   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   1518   case $ac_top_builddir_sub in
   1519   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   1520   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   1521   esac ;;
   1522 esac
   1523 ac_abs_top_builddir=$ac_pwd
   1524 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   1525 # for backward compatibility:
   1526 ac_top_builddir=$ac_top_build_prefix
   1527 
   1528 case $srcdir in
   1529   .)  # We are building in place.
   1530     ac_srcdir=.
   1531     ac_top_srcdir=$ac_top_builddir_sub
   1532     ac_abs_top_srcdir=$ac_pwd ;;
   1533   [\\/]* | ?:[\\/]* )  # Absolute name.
   1534     ac_srcdir=$srcdir$ac_dir_suffix;
   1535     ac_top_srcdir=$srcdir
   1536     ac_abs_top_srcdir=$srcdir ;;
   1537   *) # Relative name.
   1538     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   1539     ac_top_srcdir=$ac_top_build_prefix$srcdir
   1540     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   1541 esac
   1542 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   1543 
   1544     cd "$ac_dir" || { ac_status=$?; continue; }
   1545     # Check for guested configure.
   1546     if test -f "$ac_srcdir/configure.gnu"; then
   1547       echo &&
   1548       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
   1549     elif test -f "$ac_srcdir/configure"; then
   1550       echo &&
   1551       $SHELL "$ac_srcdir/configure" --help=recursive
   1552     else
   1553       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1554     fi || ac_status=$?
   1555     cd "$ac_pwd" || { ac_status=$?; break; }
   1556   done
   1557 fi
   1558 
   1559 test -n "$ac_init_help" && exit $ac_status
   1560 if $ac_init_version; then
   1561   cat <<\_ACEOF
   1562 xf86-video-neomagic configure 1.2.9
   1563 generated by GNU Autoconf 2.69
   1564 
   1565 Copyright (C) 2012 Free Software Foundation, Inc.
   1566 This configure script is free software; the Free Software Foundation
   1567 gives unlimited permission to copy, distribute and modify it.
   1568 _ACEOF
   1569   exit
   1570 fi
   1571 
   1572 ## ------------------------ ##
   1573 ## Autoconf initialization. ##
   1574 ## ------------------------ ##
   1575 
   1576 # ac_fn_c_try_compile LINENO
   1577 # --------------------------
   1578 # Try to compile conftest.$ac_ext, and return whether this succeeded.
   1579 ac_fn_c_try_compile ()
   1580 {
   1581   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1582   rm -f conftest.$ac_objext
   1583   if { { ac_try="$ac_compile"
   1584 case "(($ac_try" in
   1585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1586   *) ac_try_echo=$ac_try;;
   1587 esac
   1588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1589 $as_echo "$ac_try_echo"; } >&5
   1590   (eval "$ac_compile") 2>conftest.err
   1591   ac_status=$?
   1592   if test -s conftest.err; then
   1593     grep -v '^ *+' conftest.err >conftest.er1
   1594     cat conftest.er1 >&5
   1595     mv -f conftest.er1 conftest.err
   1596   fi
   1597   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1598   test $ac_status = 0; } && {
   1599 	 test -z "$ac_c_werror_flag" ||
   1600 	 test ! -s conftest.err
   1601        } && test -s conftest.$ac_objext; then :
   1602   ac_retval=0
   1603 else
   1604   $as_echo "$as_me: failed program was:" >&5
   1605 sed 's/^/| /' conftest.$ac_ext >&5
   1606 
   1607 	ac_retval=1
   1608 fi
   1609   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1610   as_fn_set_status $ac_retval
   1611 
   1612 } # ac_fn_c_try_compile
   1613 
   1614 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
   1615 # ---------------------------------------------
   1616 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
   1617 # accordingly.
   1618 ac_fn_c_check_decl ()
   1619 {
   1620   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1621   as_decl_name=`echo $2|sed 's/ *(.*//'`
   1622   as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
   1623   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
   1624 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
   1625 if eval \${$3+:} false; then :
   1626   $as_echo_n "(cached) " >&6
   1627 else
   1628   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1629 /* end confdefs.h.  */
   1630 $4
   1631 int
   1632 main ()
   1633 {
   1634 #ifndef $as_decl_name
   1635 #ifdef __cplusplus
   1636   (void) $as_decl_use;
   1637 #else
   1638   (void) $as_decl_name;
   1639 #endif
   1640 #endif
   1641 
   1642   ;
   1643   return 0;
   1644 }
   1645 _ACEOF
   1646 if ac_fn_c_try_compile "$LINENO"; then :
   1647   eval "$3=yes"
   1648 else
   1649   eval "$3=no"
   1650 fi
   1651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1652 fi
   1653 eval ac_res=\$$3
   1654 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1655 $as_echo "$ac_res" >&6; }
   1656   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1657 
   1658 } # ac_fn_c_check_decl
   1659 
   1660 # ac_fn_c_try_cpp LINENO
   1661 # ----------------------
   1662 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
   1663 ac_fn_c_try_cpp ()
   1664 {
   1665   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1666   if { { ac_try="$ac_cpp conftest.$ac_ext"
   1667 case "(($ac_try" in
   1668   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1669   *) ac_try_echo=$ac_try;;
   1670 esac
   1671 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1672 $as_echo "$ac_try_echo"; } >&5
   1673   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
   1674   ac_status=$?
   1675   if test -s conftest.err; then
   1676     grep -v '^ *+' conftest.err >conftest.er1
   1677     cat conftest.er1 >&5
   1678     mv -f conftest.er1 conftest.err
   1679   fi
   1680   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1681   test $ac_status = 0; } > conftest.i && {
   1682 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
   1683 	 test ! -s conftest.err
   1684        }; then :
   1685   ac_retval=0
   1686 else
   1687   $as_echo "$as_me: failed program was:" >&5
   1688 sed 's/^/| /' conftest.$ac_ext >&5
   1689 
   1690     ac_retval=1
   1691 fi
   1692   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1693   as_fn_set_status $ac_retval
   1694 
   1695 } # ac_fn_c_try_cpp
   1696 
   1697 # ac_fn_c_try_run LINENO
   1698 # ----------------------
   1699 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
   1700 # that executables *can* be run.
   1701 ac_fn_c_try_run ()
   1702 {
   1703   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1704   if { { ac_try="$ac_link"
   1705 case "(($ac_try" in
   1706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1707   *) ac_try_echo=$ac_try;;
   1708 esac
   1709 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1710 $as_echo "$ac_try_echo"; } >&5
   1711   (eval "$ac_link") 2>&5
   1712   ac_status=$?
   1713   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1714   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
   1715   { { case "(($ac_try" in
   1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1717   *) ac_try_echo=$ac_try;;
   1718 esac
   1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1720 $as_echo "$ac_try_echo"; } >&5
   1721   (eval "$ac_try") 2>&5
   1722   ac_status=$?
   1723   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1724   test $ac_status = 0; }; }; then :
   1725   ac_retval=0
   1726 else
   1727   $as_echo "$as_me: program exited with status $ac_status" >&5
   1728        $as_echo "$as_me: failed program was:" >&5
   1729 sed 's/^/| /' conftest.$ac_ext >&5
   1730 
   1731        ac_retval=$ac_status
   1732 fi
   1733   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1734   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1735   as_fn_set_status $ac_retval
   1736 
   1737 } # ac_fn_c_try_run
   1738 
   1739 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
   1740 # -------------------------------------------------------
   1741 # Tests whether HEADER exists and can be compiled using the include files in
   1742 # INCLUDES, setting the cache variable VAR accordingly.
   1743 ac_fn_c_check_header_compile ()
   1744 {
   1745   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1746   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1747 $as_echo_n "checking for $2... " >&6; }
   1748 if eval \${$3+:} false; then :
   1749   $as_echo_n "(cached) " >&6
   1750 else
   1751   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1752 /* end confdefs.h.  */
   1753 $4
   1754 #include <$2>
   1755 _ACEOF
   1756 if ac_fn_c_try_compile "$LINENO"; then :
   1757   eval "$3=yes"
   1758 else
   1759   eval "$3=no"
   1760 fi
   1761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1762 fi
   1763 eval ac_res=\$$3
   1764 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1765 $as_echo "$ac_res" >&6; }
   1766   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1767 
   1768 } # ac_fn_c_check_header_compile
   1769 
   1770 # ac_fn_c_try_link LINENO
   1771 # -----------------------
   1772 # Try to link conftest.$ac_ext, and return whether this succeeded.
   1773 ac_fn_c_try_link ()
   1774 {
   1775   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1776   rm -f conftest.$ac_objext conftest$ac_exeext
   1777   if { { ac_try="$ac_link"
   1778 case "(($ac_try" in
   1779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   1780   *) ac_try_echo=$ac_try;;
   1781 esac
   1782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   1783 $as_echo "$ac_try_echo"; } >&5
   1784   (eval "$ac_link") 2>conftest.err
   1785   ac_status=$?
   1786   if test -s conftest.err; then
   1787     grep -v '^ *+' conftest.err >conftest.er1
   1788     cat conftest.er1 >&5
   1789     mv -f conftest.er1 conftest.err
   1790   fi
   1791   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   1792   test $ac_status = 0; } && {
   1793 	 test -z "$ac_c_werror_flag" ||
   1794 	 test ! -s conftest.err
   1795        } && test -s conftest$ac_exeext && {
   1796 	 test "$cross_compiling" = yes ||
   1797 	 test -x conftest$ac_exeext
   1798        }; then :
   1799   ac_retval=0
   1800 else
   1801   $as_echo "$as_me: failed program was:" >&5
   1802 sed 's/^/| /' conftest.$ac_ext >&5
   1803 
   1804 	ac_retval=1
   1805 fi
   1806   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
   1807   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
   1808   # interfere with the next link command; also delete a directory that is
   1809   # left behind by Apple's compiler.  We do this before executing the actions.
   1810   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
   1811   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1812   as_fn_set_status $ac_retval
   1813 
   1814 } # ac_fn_c_try_link
   1815 
   1816 # ac_fn_c_check_func LINENO FUNC VAR
   1817 # ----------------------------------
   1818 # Tests whether FUNC exists, setting the cache variable VAR accordingly
   1819 ac_fn_c_check_func ()
   1820 {
   1821   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1822   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1823 $as_echo_n "checking for $2... " >&6; }
   1824 if eval \${$3+:} false; then :
   1825   $as_echo_n "(cached) " >&6
   1826 else
   1827   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1828 /* end confdefs.h.  */
   1829 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
   1830    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   1831 #define $2 innocuous_$2
   1832 
   1833 /* System header to define __stub macros and hopefully few prototypes,
   1834     which can conflict with char $2 (); below.
   1835     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   1836     <limits.h> exists even on freestanding compilers.  */
   1837 
   1838 #ifdef __STDC__
   1839 # include <limits.h>
   1840 #else
   1841 # include <assert.h>
   1842 #endif
   1843 
   1844 #undef $2
   1845 
   1846 /* Override any GCC internal prototype to avoid an error.
   1847    Use char because int might match the return type of a GCC
   1848    builtin and then its argument prototype would still apply.  */
   1849 #ifdef __cplusplus
   1850 extern "C"
   1851 #endif
   1852 char $2 ();
   1853 /* The GNU C library defines this for functions which it implements
   1854     to always fail with ENOSYS.  Some functions are actually named
   1855     something starting with __ and the normal name is an alias.  */
   1856 #if defined __stub_$2 || defined __stub___$2
   1857 choke me
   1858 #endif
   1859 
   1860 int
   1861 main ()
   1862 {
   1863 return $2 ();
   1864   ;
   1865   return 0;
   1866 }
   1867 _ACEOF
   1868 if ac_fn_c_try_link "$LINENO"; then :
   1869   eval "$3=yes"
   1870 else
   1871   eval "$3=no"
   1872 fi
   1873 rm -f core conftest.err conftest.$ac_objext \
   1874     conftest$ac_exeext conftest.$ac_ext
   1875 fi
   1876 eval ac_res=\$$3
   1877 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1878 $as_echo "$ac_res" >&6; }
   1879   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1880 
   1881 } # ac_fn_c_check_func
   1882 
   1883 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
   1884 # -------------------------------------------------------
   1885 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
   1886 # the include files in INCLUDES and setting the cache variable VAR
   1887 # accordingly.
   1888 ac_fn_c_check_header_mongrel ()
   1889 {
   1890   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   1891   if eval \${$3+:} false; then :
   1892   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1893 $as_echo_n "checking for $2... " >&6; }
   1894 if eval \${$3+:} false; then :
   1895   $as_echo_n "(cached) " >&6
   1896 fi
   1897 eval ac_res=\$$3
   1898 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1899 $as_echo "$ac_res" >&6; }
   1900 else
   1901   # Is the header compilable?
   1902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
   1903 $as_echo_n "checking $2 usability... " >&6; }
   1904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1905 /* end confdefs.h.  */
   1906 $4
   1907 #include <$2>
   1908 _ACEOF
   1909 if ac_fn_c_try_compile "$LINENO"; then :
   1910   ac_header_compiler=yes
   1911 else
   1912   ac_header_compiler=no
   1913 fi
   1914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   1915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
   1916 $as_echo "$ac_header_compiler" >&6; }
   1917 
   1918 # Is the header present?
   1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
   1920 $as_echo_n "checking $2 presence... " >&6; }
   1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   1922 /* end confdefs.h.  */
   1923 #include <$2>
   1924 _ACEOF
   1925 if ac_fn_c_try_cpp "$LINENO"; then :
   1926   ac_header_preproc=yes
   1927 else
   1928   ac_header_preproc=no
   1929 fi
   1930 rm -f conftest.err conftest.i conftest.$ac_ext
   1931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
   1932 $as_echo "$ac_header_preproc" >&6; }
   1933 
   1934 # So?  What about this header?
   1935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
   1936   yes:no: )
   1937     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
   1938 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
   1939     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1940 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1941     ;;
   1942   no:yes:* )
   1943     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
   1944 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
   1945     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
   1946 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
   1947     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
   1948 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
   1949     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
   1950 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
   1951     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
   1952 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
   1953 ( $as_echo "## ------------------------------------------------------------------------------------------------ ##
   1954 ## Report this to https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/Neomagic ##
   1955 ## ------------------------------------------------------------------------------------------------ ##"
   1956      ) | sed "s/^/$as_me: WARNING:     /" >&2
   1957     ;;
   1958 esac
   1959   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
   1960 $as_echo_n "checking for $2... " >&6; }
   1961 if eval \${$3+:} false; then :
   1962   $as_echo_n "(cached) " >&6
   1963 else
   1964   eval "$3=\$ac_header_compiler"
   1965 fi
   1966 eval ac_res=\$$3
   1967 	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
   1968 $as_echo "$ac_res" >&6; }
   1969 fi
   1970   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
   1971 
   1972 } # ac_fn_c_check_header_mongrel
   1973 cat >config.log <<_ACEOF
   1974 This file contains any messages produced by compilers while
   1975 running configure, to aid debugging if configure makes a mistake.
   1976 
   1977 It was created by xf86-video-neomagic $as_me 1.2.9, which was
   1978 generated by GNU Autoconf 2.69.  Invocation command line was
   1979 
   1980   $ $0 $@
   1981 
   1982 _ACEOF
   1983 exec 5>>config.log
   1984 {
   1985 cat <<_ASUNAME
   1986 ## --------- ##
   1987 ## Platform. ##
   1988 ## --------- ##
   1989 
   1990 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1991 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1992 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1993 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1994 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1995 
   1996 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1997 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1998 
   1999 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   2000 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   2001 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   2002 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
   2003 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   2004 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   2005 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   2006 
   2007 _ASUNAME
   2008 
   2009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2010 for as_dir in $PATH
   2011 do
   2012   IFS=$as_save_IFS
   2013   test -z "$as_dir" && as_dir=.
   2014     $as_echo "PATH: $as_dir"
   2015   done
   2016 IFS=$as_save_IFS
   2017 
   2018 } >&5
   2019 
   2020 cat >&5 <<_ACEOF
   2021 
   2022 
   2023 ## ----------- ##
   2024 ## Core tests. ##
   2025 ## ----------- ##
   2026 
   2027 _ACEOF
   2028 
   2029 
   2030 # Keep a trace of the command line.
   2031 # Strip out --no-create and --no-recursion so they do not pile up.
   2032 # Strip out --silent because we don't want to record it for future runs.
   2033 # Also quote any args containing shell meta-characters.
   2034 # Make two passes to allow for proper duplicate-argument suppression.
   2035 ac_configure_args=
   2036 ac_configure_args0=
   2037 ac_configure_args1=
   2038 ac_must_keep_next=false
   2039 for ac_pass in 1 2
   2040 do
   2041   for ac_arg
   2042   do
   2043     case $ac_arg in
   2044     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   2045     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   2046     | -silent | --silent | --silen | --sile | --sil)
   2047       continue ;;
   2048     *\'*)
   2049       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   2050     esac
   2051     case $ac_pass in
   2052     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
   2053     2)
   2054       as_fn_append ac_configure_args1 " '$ac_arg'"
   2055       if test $ac_must_keep_next = true; then
   2056 	ac_must_keep_next=false # Got value, back to normal.
   2057       else
   2058 	case $ac_arg in
   2059 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   2060 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   2061 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   2062 	  | -with-* | --with-* | -without-* | --without-* | --x)
   2063 	    case "$ac_configure_args0 " in
   2064 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   2065 	    esac
   2066 	    ;;
   2067 	  -* ) ac_must_keep_next=true ;;
   2068 	esac
   2069       fi
   2070       as_fn_append ac_configure_args " '$ac_arg'"
   2071       ;;
   2072     esac
   2073   done
   2074 done
   2075 { ac_configure_args0=; unset ac_configure_args0;}
   2076 { ac_configure_args1=; unset ac_configure_args1;}
   2077 
   2078 # When interrupted or exit'd, cleanup temporary files, and complete
   2079 # config.log.  We remove comments because anyway the quotes in there
   2080 # would cause problems or look ugly.
   2081 # WARNING: Use '\'' to represent an apostrophe within the trap.
   2082 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
   2083 trap 'exit_status=$?
   2084   # Save into config.log some information that might help in debugging.
   2085   {
   2086     echo
   2087 
   2088     $as_echo "## ---------------- ##
   2089 ## Cache variables. ##
   2090 ## ---------------- ##"
   2091     echo
   2092     # The following way of writing the cache mishandles newlines in values,
   2093 (
   2094   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
   2095     eval ac_val=\$$ac_var
   2096     case $ac_val in #(
   2097     *${as_nl}*)
   2098       case $ac_var in #(
   2099       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   2100 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   2101       esac
   2102       case $ac_var in #(
   2103       _ | IFS | as_nl) ;; #(
   2104       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   2105       *) { eval $ac_var=; unset $ac_var;} ;;
   2106       esac ;;
   2107     esac
   2108   done
   2109   (set) 2>&1 |
   2110     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
   2111     *${as_nl}ac_space=\ *)
   2112       sed -n \
   2113 	"s/'\''/'\''\\\\'\'''\''/g;
   2114 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
   2115       ;; #(
   2116     *)
   2117       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   2118       ;;
   2119     esac |
   2120     sort
   2121 )
   2122     echo
   2123 
   2124     $as_echo "## ----------------- ##
   2125 ## Output variables. ##
   2126 ## ----------------- ##"
   2127     echo
   2128     for ac_var in $ac_subst_vars
   2129     do
   2130       eval ac_val=\$$ac_var
   2131       case $ac_val in
   2132       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2133       esac
   2134       $as_echo "$ac_var='\''$ac_val'\''"
   2135     done | sort
   2136     echo
   2137 
   2138     if test -n "$ac_subst_files"; then
   2139       $as_echo "## ------------------- ##
   2140 ## File substitutions. ##
   2141 ## ------------------- ##"
   2142       echo
   2143       for ac_var in $ac_subst_files
   2144       do
   2145 	eval ac_val=\$$ac_var
   2146 	case $ac_val in
   2147 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
   2148 	esac
   2149 	$as_echo "$ac_var='\''$ac_val'\''"
   2150       done | sort
   2151       echo
   2152     fi
   2153 
   2154     if test -s confdefs.h; then
   2155       $as_echo "## ----------- ##
   2156 ## confdefs.h. ##
   2157 ## ----------- ##"
   2158       echo
   2159       cat confdefs.h
   2160       echo
   2161     fi
   2162     test "$ac_signal" != 0 &&
   2163       $as_echo "$as_me: caught signal $ac_signal"
   2164     $as_echo "$as_me: exit $exit_status"
   2165   } >&5
   2166   rm -f core *.core core.conftest.* &&
   2167     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
   2168     exit $exit_status
   2169 ' 0
   2170 for ac_signal in 1 2 13 15; do
   2171   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
   2172 done
   2173 ac_signal=0
   2174 
   2175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   2176 rm -f -r conftest* confdefs.h
   2177 
   2178 $as_echo "/* confdefs.h */" > confdefs.h
   2179 
   2180 # Predefined preprocessor variables.
   2181 
   2182 cat >>confdefs.h <<_ACEOF
   2183 #define PACKAGE_NAME "$PACKAGE_NAME"
   2184 _ACEOF
   2185 
   2186 cat >>confdefs.h <<_ACEOF
   2187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   2188 _ACEOF
   2189 
   2190 cat >>confdefs.h <<_ACEOF
   2191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   2192 _ACEOF
   2193 
   2194 cat >>confdefs.h <<_ACEOF
   2195 #define PACKAGE_STRING "$PACKAGE_STRING"
   2196 _ACEOF
   2197 
   2198 cat >>confdefs.h <<_ACEOF
   2199 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   2200 _ACEOF
   2201 
   2202 cat >>confdefs.h <<_ACEOF
   2203 #define PACKAGE_URL "$PACKAGE_URL"
   2204 _ACEOF
   2205 
   2206 
   2207 # Let the site file select an alternate cache file if it wants to.
   2208 # Prefer an explicitly selected file to automatically selected ones.
   2209 ac_site_file1=NONE
   2210 ac_site_file2=NONE
   2211 if test -n "$CONFIG_SITE"; then
   2212   # We do not want a PATH search for config.site.
   2213   case $CONFIG_SITE in #((
   2214     -*)  ac_site_file1=./$CONFIG_SITE;;
   2215     */*) ac_site_file1=$CONFIG_SITE;;
   2216     *)   ac_site_file1=./$CONFIG_SITE;;
   2217   esac
   2218 elif test "x$prefix" != xNONE; then
   2219   ac_site_file1=$prefix/share/config.site
   2220   ac_site_file2=$prefix/etc/config.site
   2221 else
   2222   ac_site_file1=$ac_default_prefix/share/config.site
   2223   ac_site_file2=$ac_default_prefix/etc/config.site
   2224 fi
   2225 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
   2226 do
   2227   test "x$ac_site_file" = xNONE && continue
   2228   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
   2229     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
   2230 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
   2231     sed 's/^/| /' "$ac_site_file" >&5
   2232     . "$ac_site_file" \
   2233       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2234 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2235 as_fn_error $? "failed to load site script $ac_site_file
   2236 See \`config.log' for more details" "$LINENO" 5; }
   2237   fi
   2238 done
   2239 
   2240 if test -r "$cache_file"; then
   2241   # Some versions of bash will fail to source /dev/null (special files
   2242   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
   2243   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
   2244     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
   2245 $as_echo "$as_me: loading cache $cache_file" >&6;}
   2246     case $cache_file in
   2247       [\\/]* | ?:[\\/]* ) . "$cache_file";;
   2248       *)                      . "./$cache_file";;
   2249     esac
   2250   fi
   2251 else
   2252   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
   2253 $as_echo "$as_me: creating cache $cache_file" >&6;}
   2254   >$cache_file
   2255 fi
   2256 
   2257 # Check that the precious variables saved in the cache have kept the same
   2258 # value.
   2259 ac_cache_corrupted=false
   2260 for ac_var in $ac_precious_vars; do
   2261   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   2262   eval ac_new_set=\$ac_env_${ac_var}_set
   2263   eval ac_old_val=\$ac_cv_env_${ac_var}_value
   2264   eval ac_new_val=\$ac_env_${ac_var}_value
   2265   case $ac_old_set,$ac_new_set in
   2266     set,)
   2267       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   2268 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   2269       ac_cache_corrupted=: ;;
   2270     ,set)
   2271       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
   2272 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   2273       ac_cache_corrupted=: ;;
   2274     ,);;
   2275     *)
   2276       if test "x$ac_old_val" != "x$ac_new_val"; then
   2277 	# differences in whitespace do not lead to failure.
   2278 	ac_old_val_w=`echo x $ac_old_val`
   2279 	ac_new_val_w=`echo x $ac_new_val`
   2280 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
   2281 	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
   2282 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   2283 	  ac_cache_corrupted=:
   2284 	else
   2285 	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   2286 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   2287 	  eval $ac_var=\$ac_old_val
   2288 	fi
   2289 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
   2290 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   2291 	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
   2292 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   2293       fi;;
   2294   esac
   2295   # Pass precious variables to config.status.
   2296   if test "$ac_new_set" = set; then
   2297     case $ac_new_val in
   2298     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   2299     *) ac_arg=$ac_var=$ac_new_val ;;
   2300     esac
   2301     case " $ac_configure_args " in
   2302       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   2303       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
   2304     esac
   2305   fi
   2306 done
   2307 if $ac_cache_corrupted; then
   2308   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   2309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2310   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
   2311 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   2312   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
   2313 fi
   2314 ## -------------------- ##
   2315 ## Main body of script. ##
   2316 ## -------------------- ##
   2317 
   2318 ac_ext=c
   2319 ac_cpp='$CPP $CPPFLAGS'
   2320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2323 
   2324 
   2325 
   2326 ac_config_headers="$ac_config_headers config.h"
   2327 
   2328 ac_aux_dir=
   2329 for ac_dir in . "$srcdir"/.; do
   2330   if test -f "$ac_dir/install-sh"; then
   2331     ac_aux_dir=$ac_dir
   2332     ac_install_sh="$ac_aux_dir/install-sh -c"
   2333     break
   2334   elif test -f "$ac_dir/install.sh"; then
   2335     ac_aux_dir=$ac_dir
   2336     ac_install_sh="$ac_aux_dir/install.sh -c"
   2337     break
   2338   elif test -f "$ac_dir/shtool"; then
   2339     ac_aux_dir=$ac_dir
   2340     ac_install_sh="$ac_aux_dir/shtool install -c"
   2341     break
   2342   fi
   2343 done
   2344 if test -z "$ac_aux_dir"; then
   2345   as_fn_error $? "cannot find install-sh, install.sh, or shtool in . \"$srcdir\"/." "$LINENO" 5
   2346 fi
   2347 
   2348 # These three variables are undocumented and unsupported,
   2349 # and are intended to be withdrawn in a future Autoconf release.
   2350 # They can cause serious problems if a builder's source tree is in a directory
   2351 # whose full name contains unusual characters.
   2352 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
   2353 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
   2354 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
   2355 
   2356 
   2357 
   2358 # Initialize Automake
   2359 am__api_version='1.14'
   2360 
   2361 # Find a good install program.  We prefer a C program (faster),
   2362 # so one script is as good as another.  But avoid the broken or
   2363 # incompatible versions:
   2364 # SysV /etc/install, /usr/sbin/install
   2365 # SunOS /usr/etc/install
   2366 # IRIX /sbin/install
   2367 # AIX /bin/install
   2368 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2369 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2370 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2371 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2372 # OS/2's system install, which has a completely different semantic
   2373 # ./install, which can be erroneously created by make from ./install.sh.
   2374 # Reject install programs that cannot install multiple files.
   2375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
   2376 $as_echo_n "checking for a BSD-compatible install... " >&6; }
   2377 if test -z "$INSTALL"; then
   2378 if ${ac_cv_path_install+:} false; then :
   2379   $as_echo_n "(cached) " >&6
   2380 else
   2381   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2382 for as_dir in $PATH
   2383 do
   2384   IFS=$as_save_IFS
   2385   test -z "$as_dir" && as_dir=.
   2386     # Account for people who put trailing slashes in PATH elements.
   2387 case $as_dir/ in #((
   2388   ./ | .// | /[cC]/* | \
   2389   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2390   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
   2391   /usr/ucb/* ) ;;
   2392   *)
   2393     # OSF1 and SCO ODT 3.0 have their own names for install.
   2394     # Don't use installbsd from OSF since it installs stuff as root
   2395     # by default.
   2396     for ac_prog in ginstall scoinst install; do
   2397       for ac_exec_ext in '' $ac_executable_extensions; do
   2398 	if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2399 	  if test $ac_prog = install &&
   2400 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2401 	    # AIX install.  It has an incompatible calling convention.
   2402 	    :
   2403 	  elif test $ac_prog = install &&
   2404 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2405 	    # program-specific install script used by HP pwplus--don't use.
   2406 	    :
   2407 	  else
   2408 	    rm -rf conftest.one conftest.two conftest.dir
   2409 	    echo one > conftest.one
   2410 	    echo two > conftest.two
   2411 	    mkdir conftest.dir
   2412 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2413 	      test -s conftest.one && test -s conftest.two &&
   2414 	      test -s conftest.dir/conftest.one &&
   2415 	      test -s conftest.dir/conftest.two
   2416 	    then
   2417 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2418 	      break 3
   2419 	    fi
   2420 	  fi
   2421 	fi
   2422       done
   2423     done
   2424     ;;
   2425 esac
   2426 
   2427   done
   2428 IFS=$as_save_IFS
   2429 
   2430 rm -rf conftest.one conftest.two conftest.dir
   2431 
   2432 fi
   2433   if test "${ac_cv_path_install+set}" = set; then
   2434     INSTALL=$ac_cv_path_install
   2435   else
   2436     # As a last resort, use the slow shell script.  Don't cache a
   2437     # value for INSTALL within a source directory, because that will
   2438     # break other packages using the cache if that directory is
   2439     # removed, or if the value is a relative name.
   2440     INSTALL=$ac_install_sh
   2441   fi
   2442 fi
   2443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
   2444 $as_echo "$INSTALL" >&6; }
   2445 
   2446 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2447 # It thinks the first close brace ends the variable substitution.
   2448 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2449 
   2450 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2451 
   2452 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2453 
   2454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
   2455 $as_echo_n "checking whether build environment is sane... " >&6; }
   2456 # Reject unsafe characters in $srcdir or the absolute working directory
   2457 # name.  Accept space and tab only in the latter.
   2458 am_lf='
   2459 '
   2460 case `pwd` in
   2461   *[\\\"\#\$\&\'\`$am_lf]*)
   2462     as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
   2463 esac
   2464 case $srcdir in
   2465   *[\\\"\#\$\&\'\`$am_lf\ \	]*)
   2466     as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
   2467 esac
   2468 
   2469 # Do 'set' in a subshell so we don't clobber the current shell's
   2470 # arguments.  Must try -L first in case configure is actually a
   2471 # symlink; some systems play weird games with the mod time of symlinks
   2472 # (eg FreeBSD returns the mod time of the symlink's containing
   2473 # directory).
   2474 if (
   2475    am_has_slept=no
   2476    for am_try in 1 2; do
   2477      echo "timestamp, slept: $am_has_slept" > conftest.file
   2478      set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
   2479      if test "$*" = "X"; then
   2480 	# -L didn't work.
   2481 	set X `ls -t "$srcdir/configure" conftest.file`
   2482      fi
   2483      if test "$*" != "X $srcdir/configure conftest.file" \
   2484 	&& test "$*" != "X conftest.file $srcdir/configure"; then
   2485 
   2486 	# If neither matched, then we have a broken ls.  This can happen
   2487 	# if, for instance, CONFIG_SHELL is bash and it inherits a
   2488 	# broken ls alias from the environment.  This has actually
   2489 	# happened.  Such a system could not be considered "sane".
   2490 	as_fn_error $? "ls -t appears to fail.  Make sure there is not a broken
   2491   alias in your environment" "$LINENO" 5
   2492      fi
   2493      if test "$2" = conftest.file || test $am_try -eq 2; then
   2494        break
   2495      fi
   2496      # Just in case.
   2497      sleep 1
   2498      am_has_slept=yes
   2499    done
   2500    test "$2" = conftest.file
   2501    )
   2502 then
   2503    # Ok.
   2504    :
   2505 else
   2506    as_fn_error $? "newly created file is older than distributed files!
   2507 Check your system clock" "$LINENO" 5
   2508 fi
   2509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2510 $as_echo "yes" >&6; }
   2511 # If we didn't sleep, we still need to ensure time stamps of config.status and
   2512 # generated files are strictly newer.
   2513 am_sleep_pid=
   2514 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
   2515   ( sleep 1 ) &
   2516   am_sleep_pid=$!
   2517 fi
   2518 
   2519 rm -f conftest.file
   2520 
   2521 test "$program_prefix" != NONE &&
   2522   program_transform_name="s&^&$program_prefix&;$program_transform_name"
   2523 # Use a double $ so make ignores it.
   2524 test "$program_suffix" != NONE &&
   2525   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
   2526 # Double any \ or $.
   2527 # By default was `s,x,x', remove it if useless.
   2528 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
   2529 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
   2530 
   2531 # Expand $ac_aux_dir to an absolute path.
   2532 am_aux_dir=`cd "$ac_aux_dir" && pwd`
   2533 
   2534 if test x"${MISSING+set}" != xset; then
   2535   case $am_aux_dir in
   2536   *\ * | *\	*)
   2537     MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
   2538   *)
   2539     MISSING="\${SHELL} $am_aux_dir/missing" ;;
   2540   esac
   2541 fi
   2542 # Use eval to expand $SHELL
   2543 if eval "$MISSING --is-lightweight"; then
   2544   am_missing_run="$MISSING "
   2545 else
   2546   am_missing_run=
   2547   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
   2548 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
   2549 fi
   2550 
   2551 if test x"${install_sh}" != xset; then
   2552   case $am_aux_dir in
   2553   *\ * | *\	*)
   2554     install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
   2555   *)
   2556     install_sh="\${SHELL} $am_aux_dir/install-sh"
   2557   esac
   2558 fi
   2559 
   2560 # Installed binaries are usually stripped using 'strip' when the user
   2561 # run "make install-strip".  However 'strip' might not be the right
   2562 # tool to use in cross-compilation environments, therefore Automake
   2563 # will honor the 'STRIP' environment variable to overrule this program.
   2564 if test "$cross_compiling" != no; then
   2565   if test -n "$ac_tool_prefix"; then
   2566   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   2567 set dummy ${ac_tool_prefix}strip; ac_word=$2
   2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2569 $as_echo_n "checking for $ac_word... " >&6; }
   2570 if ${ac_cv_prog_STRIP+:} false; then :
   2571   $as_echo_n "(cached) " >&6
   2572 else
   2573   if test -n "$STRIP"; then
   2574   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   2575 else
   2576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2577 for as_dir in $PATH
   2578 do
   2579   IFS=$as_save_IFS
   2580   test -z "$as_dir" && as_dir=.
   2581     for ac_exec_ext in '' $ac_executable_extensions; do
   2582   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2583     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   2584     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2585     break 2
   2586   fi
   2587 done
   2588   done
   2589 IFS=$as_save_IFS
   2590 
   2591 fi
   2592 fi
   2593 STRIP=$ac_cv_prog_STRIP
   2594 if test -n "$STRIP"; then
   2595   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   2596 $as_echo "$STRIP" >&6; }
   2597 else
   2598   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2599 $as_echo "no" >&6; }
   2600 fi
   2601 
   2602 
   2603 fi
   2604 if test -z "$ac_cv_prog_STRIP"; then
   2605   ac_ct_STRIP=$STRIP
   2606   # Extract the first word of "strip", so it can be a program name with args.
   2607 set dummy strip; ac_word=$2
   2608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2609 $as_echo_n "checking for $ac_word... " >&6; }
   2610 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   2611   $as_echo_n "(cached) " >&6
   2612 else
   2613   if test -n "$ac_ct_STRIP"; then
   2614   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   2615 else
   2616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2617 for as_dir in $PATH
   2618 do
   2619   IFS=$as_save_IFS
   2620   test -z "$as_dir" && as_dir=.
   2621     for ac_exec_ext in '' $ac_executable_extensions; do
   2622   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2623     ac_cv_prog_ac_ct_STRIP="strip"
   2624     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2625     break 2
   2626   fi
   2627 done
   2628   done
   2629 IFS=$as_save_IFS
   2630 
   2631 fi
   2632 fi
   2633 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   2634 if test -n "$ac_ct_STRIP"; then
   2635   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   2636 $as_echo "$ac_ct_STRIP" >&6; }
   2637 else
   2638   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2639 $as_echo "no" >&6; }
   2640 fi
   2641 
   2642   if test "x$ac_ct_STRIP" = x; then
   2643     STRIP=":"
   2644   else
   2645     case $cross_compiling:$ac_tool_warned in
   2646 yes:)
   2647 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   2648 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   2649 ac_tool_warned=yes ;;
   2650 esac
   2651     STRIP=$ac_ct_STRIP
   2652   fi
   2653 else
   2654   STRIP="$ac_cv_prog_STRIP"
   2655 fi
   2656 
   2657 fi
   2658 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
   2659 
   2660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
   2661 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
   2662 if test -z "$MKDIR_P"; then
   2663   if ${ac_cv_path_mkdir+:} false; then :
   2664   $as_echo_n "(cached) " >&6
   2665 else
   2666   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2667 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
   2668 do
   2669   IFS=$as_save_IFS
   2670   test -z "$as_dir" && as_dir=.
   2671     for ac_prog in mkdir gmkdir; do
   2672 	 for ac_exec_ext in '' $ac_executable_extensions; do
   2673 	   as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
   2674 	   case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
   2675 	     'mkdir (GNU coreutils) '* | \
   2676 	     'mkdir (coreutils) '* | \
   2677 	     'mkdir (fileutils) '4.1*)
   2678 	       ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
   2679 	       break 3;;
   2680 	   esac
   2681 	 done
   2682        done
   2683   done
   2684 IFS=$as_save_IFS
   2685 
   2686 fi
   2687 
   2688   test -d ./--version && rmdir ./--version
   2689   if test "${ac_cv_path_mkdir+set}" = set; then
   2690     MKDIR_P="$ac_cv_path_mkdir -p"
   2691   else
   2692     # As a last resort, use the slow shell script.  Don't cache a
   2693     # value for MKDIR_P within a source directory, because that will
   2694     # break other packages using the cache if that directory is
   2695     # removed, or if the value is a relative name.
   2696     MKDIR_P="$ac_install_sh -d"
   2697   fi
   2698 fi
   2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
   2700 $as_echo "$MKDIR_P" >&6; }
   2701 
   2702 for ac_prog in gawk mawk nawk awk
   2703 do
   2704   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2705 set dummy $ac_prog; ac_word=$2
   2706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   2707 $as_echo_n "checking for $ac_word... " >&6; }
   2708 if ${ac_cv_prog_AWK+:} false; then :
   2709   $as_echo_n "(cached) " >&6
   2710 else
   2711   if test -n "$AWK"; then
   2712   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2713 else
   2714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2715 for as_dir in $PATH
   2716 do
   2717   IFS=$as_save_IFS
   2718   test -z "$as_dir" && as_dir=.
   2719     for ac_exec_ext in '' $ac_executable_extensions; do
   2720   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2721     ac_cv_prog_AWK="$ac_prog"
   2722     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   2723     break 2
   2724   fi
   2725 done
   2726   done
   2727 IFS=$as_save_IFS
   2728 
   2729 fi
   2730 fi
   2731 AWK=$ac_cv_prog_AWK
   2732 if test -n "$AWK"; then
   2733   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
   2734 $as_echo "$AWK" >&6; }
   2735 else
   2736   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2737 $as_echo "no" >&6; }
   2738 fi
   2739 
   2740 
   2741   test -n "$AWK" && break
   2742 done
   2743 
   2744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2745 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
   2746 set x ${MAKE-make}
   2747 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
   2748 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
   2749   $as_echo_n "(cached) " >&6
   2750 else
   2751   cat >conftest.make <<\_ACEOF
   2752 SHELL = /bin/sh
   2753 all:
   2754 	@echo '@@@%%%=$(MAKE)=@@@%%%'
   2755 _ACEOF
   2756 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
   2757 case `${MAKE-make} -f conftest.make 2>/dev/null` in
   2758   *@@@%%%=?*=@@@%%%*)
   2759     eval ac_cv_prog_make_${ac_make}_set=yes;;
   2760   *)
   2761     eval ac_cv_prog_make_${ac_make}_set=no;;
   2762 esac
   2763 rm -f conftest.make
   2764 fi
   2765 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
   2766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   2767 $as_echo "yes" >&6; }
   2768   SET_MAKE=
   2769 else
   2770   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   2771 $as_echo "no" >&6; }
   2772   SET_MAKE="MAKE=${MAKE-make}"
   2773 fi
   2774 
   2775 rm -rf .tst 2>/dev/null
   2776 mkdir .tst 2>/dev/null
   2777 if test -d .tst; then
   2778   am__leading_dot=.
   2779 else
   2780   am__leading_dot=_
   2781 fi
   2782 rmdir .tst 2>/dev/null
   2783 
   2784 # Check whether --enable-silent-rules was given.
   2785 if test "${enable_silent_rules+set}" = set; then :
   2786   enableval=$enable_silent_rules;
   2787 fi
   2788 
   2789 case $enable_silent_rules in # (((
   2790   yes) AM_DEFAULT_VERBOSITY=0;;
   2791    no) AM_DEFAULT_VERBOSITY=1;;
   2792     *) AM_DEFAULT_VERBOSITY=1;;
   2793 esac
   2794 am_make=${MAKE-make}
   2795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   2796 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   2797 if ${am_cv_make_support_nested_variables+:} false; then :
   2798   $as_echo_n "(cached) " >&6
   2799 else
   2800   if $as_echo 'TRUE=$(BAR$(V))
   2801 BAR0=false
   2802 BAR1=true
   2803 V=1
   2804 am__doit:
   2805 	@$(TRUE)
   2806 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   2807   am_cv_make_support_nested_variables=yes
   2808 else
   2809   am_cv_make_support_nested_variables=no
   2810 fi
   2811 fi
   2812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   2813 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   2814 if test $am_cv_make_support_nested_variables = yes; then
   2815     AM_V='$(V)'
   2816   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   2817 else
   2818   AM_V=$AM_DEFAULT_VERBOSITY
   2819   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   2820 fi
   2821 AM_BACKSLASH='\'
   2822 
   2823 if test "`cd $srcdir && pwd`" != "`pwd`"; then
   2824   # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
   2825   # is not polluted with repeated "-I."
   2826   am__isrc=' -I$(srcdir)'
   2827   # test to see if srcdir already configured
   2828   if test -f $srcdir/config.status; then
   2829     as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
   2830   fi
   2831 fi
   2832 
   2833 # test whether we have cygpath
   2834 if test -z "$CYGPATH_W"; then
   2835   if (cygpath --version) >/dev/null 2>/dev/null; then
   2836     CYGPATH_W='cygpath -w'
   2837   else
   2838     CYGPATH_W=echo
   2839   fi
   2840 fi
   2841 
   2842 
   2843 # Define the identity of the package.
   2844  PACKAGE='xf86-video-neomagic'
   2845  VERSION='1.2.9'
   2846 
   2847 
   2848 cat >>confdefs.h <<_ACEOF
   2849 #define PACKAGE "$PACKAGE"
   2850 _ACEOF
   2851 
   2852 
   2853 cat >>confdefs.h <<_ACEOF
   2854 #define VERSION "$VERSION"
   2855 _ACEOF
   2856 
   2857 # Some tools Automake needs.
   2858 
   2859 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   2860 
   2861 
   2862 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   2863 
   2864 
   2865 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   2866 
   2867 
   2868 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   2869 
   2870 
   2871 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   2872 
   2873 # For better backward compatibility.  To be removed once Automake 1.9.x
   2874 # dies out for good.  For more background, see:
   2875 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
   2876 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
   2877 mkdir_p='$(MKDIR_P)'
   2878 
   2879 # We need awk for the "check" target.  The system "awk" is bad on
   2880 # some platforms.
   2881 # Always define AMTAR for backward compatibility.  Yes, it's still used
   2882 # in the wild :-(  We should find a proper way to deprecate it ...
   2883 AMTAR='$${TAR-tar}'
   2884 
   2885 
   2886 # We'll loop over all known methods to create a tar archive until one works.
   2887 _am_tools='gnutar  pax cpio none'
   2888 
   2889 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
   2890 
   2891 
   2892 
   2893 
   2894 
   2895 
   2896 # POSIX will say in a future version that running "rm -f" with no argument
   2897 # is OK; and we want to be able to make that assumption in our Makefile
   2898 # recipes.  So use an aggressive probe to check that the usage we want is
   2899 # actually supported "in the wild" to an acceptable degree.
   2900 # See automake bug#10828.
   2901 # To make any issue more visible, cause the running configure to be aborted
   2902 # by default if the 'rm' program in use doesn't match our expectations; the
   2903 # user can still override this though.
   2904 if rm -f && rm -fr && rm -rf; then : OK; else
   2905   cat >&2 <<'END'
   2906 Oops!
   2907 
   2908 Your 'rm' program seems unable to run without file operands specified
   2909 on the command line, even when the '-f' option is present.  This is contrary
   2910 to the behaviour of most rm programs out there, and not conforming with
   2911 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
   2912 
   2913 Please tell bug-automake@gnu.org about your system, including the value
   2914 of your $PATH and any error possibly output before this message.  This
   2915 can help us improve future automake versions.
   2916 
   2917 END
   2918   if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
   2919     echo 'Configuration will proceed anyway, since you have set the' >&2
   2920     echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
   2921     echo >&2
   2922   else
   2923     cat >&2 <<'END'
   2924 Aborting the configuration process, to ensure you take notice of the issue.
   2925 
   2926 You can download and install GNU coreutils to get an 'rm' implementation
   2927 that behaves properly: <http://www.gnu.org/software/coreutils/>.
   2928 
   2929 If you want to complete the configuration process using your problematic
   2930 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
   2931 to "yes", and re-run configure.
   2932 
   2933 END
   2934     as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
   2935   fi
   2936 fi
   2937 
   2938 
   2939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
   2940 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
   2941     # Check whether --enable-maintainer-mode was given.
   2942 if test "${enable_maintainer_mode+set}" = set; then :
   2943   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
   2944 else
   2945   USE_MAINTAINER_MODE=no
   2946 fi
   2947 
   2948   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
   2949 $as_echo "$USE_MAINTAINER_MODE" >&6; }
   2950    if test $USE_MAINTAINER_MODE = yes; then
   2951   MAINTAINER_MODE_TRUE=
   2952   MAINTAINER_MODE_FALSE='#'
   2953 else
   2954   MAINTAINER_MODE_TRUE='#'
   2955   MAINTAINER_MODE_FALSE=
   2956 fi
   2957 
   2958   MAINT=$MAINTAINER_MODE_TRUE
   2959 
   2960 
   2961 
   2962 # Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS
   2963 
   2964 
   2965 
   2966 
   2967 
   2968 
   2969 
   2970 
   2971 
   2972 
   2973 
   2974 DEPDIR="${am__leading_dot}deps"
   2975 
   2976 ac_config_commands="$ac_config_commands depfiles"
   2977 
   2978 
   2979 am_make=${MAKE-make}
   2980 cat > confinc << 'END'
   2981 am__doit:
   2982 	@echo this is the am__doit target
   2983 .PHONY: am__doit
   2984 END
   2985 # If we don't find an include directive, just comment out the code.
   2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
   2987 $as_echo_n "checking for style of include used by $am_make... " >&6; }
   2988 am__include="#"
   2989 am__quote=
   2990 _am_result=none
   2991 # First try GNU make style include.
   2992 echo "include confinc" > confmf
   2993 # Ignore all kinds of additional output from 'make'.
   2994 case `$am_make -s -f confmf 2> /dev/null` in #(
   2995 *the\ am__doit\ target*)
   2996   am__include=include
   2997   am__quote=
   2998   _am_result=GNU
   2999   ;;
   3000 esac
   3001 # Now try BSD make style include.
   3002 if test "$am__include" = "#"; then
   3003    echo '.include "confinc"' > confmf
   3004    case `$am_make -s -f confmf 2> /dev/null` in #(
   3005    *the\ am__doit\ target*)
   3006      am__include=.include
   3007      am__quote="\""
   3008      _am_result=BSD
   3009      ;;
   3010    esac
   3011 fi
   3012 
   3013 
   3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
   3015 $as_echo "$_am_result" >&6; }
   3016 rm -f confinc confmf
   3017 
   3018 # Check whether --enable-dependency-tracking was given.
   3019 if test "${enable_dependency_tracking+set}" = set; then :
   3020   enableval=$enable_dependency_tracking;
   3021 fi
   3022 
   3023 if test "x$enable_dependency_tracking" != xno; then
   3024   am_depcomp="$ac_aux_dir/depcomp"
   3025   AMDEPBACKSLASH='\'
   3026   am__nodep='_no'
   3027 fi
   3028  if test "x$enable_dependency_tracking" != xno; then
   3029   AMDEP_TRUE=
   3030   AMDEP_FALSE='#'
   3031 else
   3032   AMDEP_TRUE='#'
   3033   AMDEP_FALSE=
   3034 fi
   3035 
   3036 
   3037 ac_ext=c
   3038 ac_cpp='$CPP $CPPFLAGS'
   3039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3042 if test -n "$ac_tool_prefix"; then
   3043   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3044 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3046 $as_echo_n "checking for $ac_word... " >&6; }
   3047 if ${ac_cv_prog_CC+:} false; then :
   3048   $as_echo_n "(cached) " >&6
   3049 else
   3050   if test -n "$CC"; then
   3051   ac_cv_prog_CC="$CC" # Let the user override the test.
   3052 else
   3053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3054 for as_dir in $PATH
   3055 do
   3056   IFS=$as_save_IFS
   3057   test -z "$as_dir" && as_dir=.
   3058     for ac_exec_ext in '' $ac_executable_extensions; do
   3059   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3060     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3061     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3062     break 2
   3063   fi
   3064 done
   3065   done
   3066 IFS=$as_save_IFS
   3067 
   3068 fi
   3069 fi
   3070 CC=$ac_cv_prog_CC
   3071 if test -n "$CC"; then
   3072   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3073 $as_echo "$CC" >&6; }
   3074 else
   3075   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3076 $as_echo "no" >&6; }
   3077 fi
   3078 
   3079 
   3080 fi
   3081 if test -z "$ac_cv_prog_CC"; then
   3082   ac_ct_CC=$CC
   3083   # Extract the first word of "gcc", so it can be a program name with args.
   3084 set dummy gcc; ac_word=$2
   3085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3086 $as_echo_n "checking for $ac_word... " >&6; }
   3087 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3088   $as_echo_n "(cached) " >&6
   3089 else
   3090   if test -n "$ac_ct_CC"; then
   3091   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3092 else
   3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3094 for as_dir in $PATH
   3095 do
   3096   IFS=$as_save_IFS
   3097   test -z "$as_dir" && as_dir=.
   3098     for ac_exec_ext in '' $ac_executable_extensions; do
   3099   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3100     ac_cv_prog_ac_ct_CC="gcc"
   3101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3102     break 2
   3103   fi
   3104 done
   3105   done
   3106 IFS=$as_save_IFS
   3107 
   3108 fi
   3109 fi
   3110 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3111 if test -n "$ac_ct_CC"; then
   3112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3113 $as_echo "$ac_ct_CC" >&6; }
   3114 else
   3115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3116 $as_echo "no" >&6; }
   3117 fi
   3118 
   3119   if test "x$ac_ct_CC" = x; then
   3120     CC=""
   3121   else
   3122     case $cross_compiling:$ac_tool_warned in
   3123 yes:)
   3124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3125 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3126 ac_tool_warned=yes ;;
   3127 esac
   3128     CC=$ac_ct_CC
   3129   fi
   3130 else
   3131   CC="$ac_cv_prog_CC"
   3132 fi
   3133 
   3134 if test -z "$CC"; then
   3135           if test -n "$ac_tool_prefix"; then
   3136     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3137 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3139 $as_echo_n "checking for $ac_word... " >&6; }
   3140 if ${ac_cv_prog_CC+:} false; then :
   3141   $as_echo_n "(cached) " >&6
   3142 else
   3143   if test -n "$CC"; then
   3144   ac_cv_prog_CC="$CC" # Let the user override the test.
   3145 else
   3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3147 for as_dir in $PATH
   3148 do
   3149   IFS=$as_save_IFS
   3150   test -z "$as_dir" && as_dir=.
   3151     for ac_exec_ext in '' $ac_executable_extensions; do
   3152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3153     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3155     break 2
   3156   fi
   3157 done
   3158   done
   3159 IFS=$as_save_IFS
   3160 
   3161 fi
   3162 fi
   3163 CC=$ac_cv_prog_CC
   3164 if test -n "$CC"; then
   3165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3166 $as_echo "$CC" >&6; }
   3167 else
   3168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3169 $as_echo "no" >&6; }
   3170 fi
   3171 
   3172 
   3173   fi
   3174 fi
   3175 if test -z "$CC"; then
   3176   # Extract the first word of "cc", so it can be a program name with args.
   3177 set dummy cc; ac_word=$2
   3178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3179 $as_echo_n "checking for $ac_word... " >&6; }
   3180 if ${ac_cv_prog_CC+:} false; then :
   3181   $as_echo_n "(cached) " >&6
   3182 else
   3183   if test -n "$CC"; then
   3184   ac_cv_prog_CC="$CC" # Let the user override the test.
   3185 else
   3186   ac_prog_rejected=no
   3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3188 for as_dir in $PATH
   3189 do
   3190   IFS=$as_save_IFS
   3191   test -z "$as_dir" && as_dir=.
   3192     for ac_exec_ext in '' $ac_executable_extensions; do
   3193   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3194     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3195        ac_prog_rejected=yes
   3196        continue
   3197      fi
   3198     ac_cv_prog_CC="cc"
   3199     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3200     break 2
   3201   fi
   3202 done
   3203   done
   3204 IFS=$as_save_IFS
   3205 
   3206 if test $ac_prog_rejected = yes; then
   3207   # We found a bogon in the path, so make sure we never use it.
   3208   set dummy $ac_cv_prog_CC
   3209   shift
   3210   if test $# != 0; then
   3211     # We chose a different compiler from the bogus one.
   3212     # However, it has the same basename, so the bogon will be chosen
   3213     # first if we set CC to just the basename; use the full file name.
   3214     shift
   3215     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3216   fi
   3217 fi
   3218 fi
   3219 fi
   3220 CC=$ac_cv_prog_CC
   3221 if test -n "$CC"; then
   3222   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3223 $as_echo "$CC" >&6; }
   3224 else
   3225   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3226 $as_echo "no" >&6; }
   3227 fi
   3228 
   3229 
   3230 fi
   3231 if test -z "$CC"; then
   3232   if test -n "$ac_tool_prefix"; then
   3233   for ac_prog in cl.exe
   3234   do
   3235     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3236 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3238 $as_echo_n "checking for $ac_word... " >&6; }
   3239 if ${ac_cv_prog_CC+:} false; then :
   3240   $as_echo_n "(cached) " >&6
   3241 else
   3242   if test -n "$CC"; then
   3243   ac_cv_prog_CC="$CC" # Let the user override the test.
   3244 else
   3245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3246 for as_dir in $PATH
   3247 do
   3248   IFS=$as_save_IFS
   3249   test -z "$as_dir" && as_dir=.
   3250     for ac_exec_ext in '' $ac_executable_extensions; do
   3251   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3252     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3253     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3254     break 2
   3255   fi
   3256 done
   3257   done
   3258 IFS=$as_save_IFS
   3259 
   3260 fi
   3261 fi
   3262 CC=$ac_cv_prog_CC
   3263 if test -n "$CC"; then
   3264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
   3265 $as_echo "$CC" >&6; }
   3266 else
   3267   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3268 $as_echo "no" >&6; }
   3269 fi
   3270 
   3271 
   3272     test -n "$CC" && break
   3273   done
   3274 fi
   3275 if test -z "$CC"; then
   3276   ac_ct_CC=$CC
   3277   for ac_prog in cl.exe
   3278 do
   3279   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3280 set dummy $ac_prog; ac_word=$2
   3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   3282 $as_echo_n "checking for $ac_word... " >&6; }
   3283 if ${ac_cv_prog_ac_ct_CC+:} false; then :
   3284   $as_echo_n "(cached) " >&6
   3285 else
   3286   if test -n "$ac_ct_CC"; then
   3287   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3288 else
   3289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3290 for as_dir in $PATH
   3291 do
   3292   IFS=$as_save_IFS
   3293   test -z "$as_dir" && as_dir=.
   3294     for ac_exec_ext in '' $ac_executable_extensions; do
   3295   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3296     ac_cv_prog_ac_ct_CC="$ac_prog"
   3297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   3298     break 2
   3299   fi
   3300 done
   3301   done
   3302 IFS=$as_save_IFS
   3303 
   3304 fi
   3305 fi
   3306 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3307 if test -n "$ac_ct_CC"; then
   3308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
   3309 $as_echo "$ac_ct_CC" >&6; }
   3310 else
   3311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3312 $as_echo "no" >&6; }
   3313 fi
   3314 
   3315 
   3316   test -n "$ac_ct_CC" && break
   3317 done
   3318 
   3319   if test "x$ac_ct_CC" = x; then
   3320     CC=""
   3321   else
   3322     case $cross_compiling:$ac_tool_warned in
   3323 yes:)
   3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   3325 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   3326 ac_tool_warned=yes ;;
   3327 esac
   3328     CC=$ac_ct_CC
   3329   fi
   3330 fi
   3331 
   3332 fi
   3333 
   3334 
   3335 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3336 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3337 as_fn_error $? "no acceptable C compiler found in \$PATH
   3338 See \`config.log' for more details" "$LINENO" 5; }
   3339 
   3340 # Provide some information about the compiler.
   3341 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
   3342 set X $ac_compile
   3343 ac_compiler=$2
   3344 for ac_option in --version -v -V -qversion; do
   3345   { { ac_try="$ac_compiler $ac_option >&5"
   3346 case "(($ac_try" in
   3347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3348   *) ac_try_echo=$ac_try;;
   3349 esac
   3350 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3351 $as_echo "$ac_try_echo"; } >&5
   3352   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
   3353   ac_status=$?
   3354   if test -s conftest.err; then
   3355     sed '10a\
   3356 ... rest of stderr output deleted ...
   3357          10q' conftest.err >conftest.er1
   3358     cat conftest.er1 >&5
   3359   fi
   3360   rm -f conftest.er1 conftest.err
   3361   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3362   test $ac_status = 0; }
   3363 done
   3364 
   3365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3366 /* end confdefs.h.  */
   3367 
   3368 int
   3369 main ()
   3370 {
   3371 
   3372   ;
   3373   return 0;
   3374 }
   3375 _ACEOF
   3376 ac_clean_files_save=$ac_clean_files
   3377 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
   3378 # Try to create an executable without -o first, disregard a.out.
   3379 # It will help us diagnose broken compilers, and finding out an intuition
   3380 # of exeext.
   3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
   3382 $as_echo_n "checking whether the C compiler works... " >&6; }
   3383 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   3384 
   3385 # The possible output files:
   3386 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
   3387 
   3388 ac_rmfiles=
   3389 for ac_file in $ac_files
   3390 do
   3391   case $ac_file in
   3392     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3393     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
   3394   esac
   3395 done
   3396 rm -f $ac_rmfiles
   3397 
   3398 if { { ac_try="$ac_link_default"
   3399 case "(($ac_try" in
   3400   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3401   *) ac_try_echo=$ac_try;;
   3402 esac
   3403 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3404 $as_echo "$ac_try_echo"; } >&5
   3405   (eval "$ac_link_default") 2>&5
   3406   ac_status=$?
   3407   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3408   test $ac_status = 0; }; then :
   3409   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
   3410 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
   3411 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
   3412 # so that the user can short-circuit this test for compilers unknown to
   3413 # Autoconf.
   3414 for ac_file in $ac_files ''
   3415 do
   3416   test -f "$ac_file" || continue
   3417   case $ac_file in
   3418     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
   3419 	;;
   3420     [ab].out )
   3421 	# We found the default executable, but exeext='' is most
   3422 	# certainly right.
   3423 	break;;
   3424     *.* )
   3425 	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
   3426 	then :; else
   3427 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3428 	fi
   3429 	# We set ac_cv_exeext here because the later test for it is not
   3430 	# safe: cross compilers may not add the suffix if given an `-o'
   3431 	# argument, so we may need to know it at that point already.
   3432 	# Even if this section looks crufty: it has the advantage of
   3433 	# actually working.
   3434 	break;;
   3435     * )
   3436 	break;;
   3437   esac
   3438 done
   3439 test "$ac_cv_exeext" = no && ac_cv_exeext=
   3440 
   3441 else
   3442   ac_file=''
   3443 fi
   3444 if test -z "$ac_file"; then :
   3445   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   3446 $as_echo "no" >&6; }
   3447 $as_echo "$as_me: failed program was:" >&5
   3448 sed 's/^/| /' conftest.$ac_ext >&5
   3449 
   3450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3452 as_fn_error 77 "C compiler cannot create executables
   3453 See \`config.log' for more details" "$LINENO" 5; }
   3454 else
   3455   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   3456 $as_echo "yes" >&6; }
   3457 fi
   3458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
   3459 $as_echo_n "checking for C compiler default output file name... " >&6; }
   3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
   3461 $as_echo "$ac_file" >&6; }
   3462 ac_exeext=$ac_cv_exeext
   3463 
   3464 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
   3465 ac_clean_files=$ac_clean_files_save
   3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
   3467 $as_echo_n "checking for suffix of executables... " >&6; }
   3468 if { { ac_try="$ac_link"
   3469 case "(($ac_try" in
   3470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3471   *) ac_try_echo=$ac_try;;
   3472 esac
   3473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3474 $as_echo "$ac_try_echo"; } >&5
   3475   (eval "$ac_link") 2>&5
   3476   ac_status=$?
   3477   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3478   test $ac_status = 0; }; then :
   3479   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   3480 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   3481 # work properly (i.e., refer to `conftest.exe'), while it won't with
   3482 # `rm'.
   3483 for ac_file in conftest.exe conftest conftest.*; do
   3484   test -f "$ac_file" || continue
   3485   case $ac_file in
   3486     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
   3487     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   3488 	  break;;
   3489     * ) break;;
   3490   esac
   3491 done
   3492 else
   3493   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3495 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
   3496 See \`config.log' for more details" "$LINENO" 5; }
   3497 fi
   3498 rm -f conftest conftest$ac_cv_exeext
   3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
   3500 $as_echo "$ac_cv_exeext" >&6; }
   3501 
   3502 rm -f conftest.$ac_ext
   3503 EXEEXT=$ac_cv_exeext
   3504 ac_exeext=$EXEEXT
   3505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3506 /* end confdefs.h.  */
   3507 #include <stdio.h>
   3508 int
   3509 main ()
   3510 {
   3511 FILE *f = fopen ("conftest.out", "w");
   3512  return ferror (f) || fclose (f) != 0;
   3513 
   3514   ;
   3515   return 0;
   3516 }
   3517 _ACEOF
   3518 ac_clean_files="$ac_clean_files conftest.out"
   3519 # Check that the compiler produces executables we can run.  If not, either
   3520 # the compiler is broken, or we cross compile.
   3521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
   3522 $as_echo_n "checking whether we are cross compiling... " >&6; }
   3523 if test "$cross_compiling" != yes; then
   3524   { { ac_try="$ac_link"
   3525 case "(($ac_try" in
   3526   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3527   *) ac_try_echo=$ac_try;;
   3528 esac
   3529 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3530 $as_echo "$ac_try_echo"; } >&5
   3531   (eval "$ac_link") 2>&5
   3532   ac_status=$?
   3533   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3534   test $ac_status = 0; }
   3535   if { ac_try='./conftest$ac_cv_exeext'
   3536   { { case "(($ac_try" in
   3537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3538   *) ac_try_echo=$ac_try;;
   3539 esac
   3540 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3541 $as_echo "$ac_try_echo"; } >&5
   3542   (eval "$ac_try") 2>&5
   3543   ac_status=$?
   3544   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3545   test $ac_status = 0; }; }; then
   3546     cross_compiling=no
   3547   else
   3548     if test "$cross_compiling" = maybe; then
   3549 	cross_compiling=yes
   3550     else
   3551 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3553 as_fn_error $? "cannot run C compiled programs.
   3554 If you meant to cross compile, use \`--host'.
   3555 See \`config.log' for more details" "$LINENO" 5; }
   3556     fi
   3557   fi
   3558 fi
   3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
   3560 $as_echo "$cross_compiling" >&6; }
   3561 
   3562 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
   3563 ac_clean_files=$ac_clean_files_save
   3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
   3565 $as_echo_n "checking for suffix of object files... " >&6; }
   3566 if ${ac_cv_objext+:} false; then :
   3567   $as_echo_n "(cached) " >&6
   3568 else
   3569   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3570 /* end confdefs.h.  */
   3571 
   3572 int
   3573 main ()
   3574 {
   3575 
   3576   ;
   3577   return 0;
   3578 }
   3579 _ACEOF
   3580 rm -f conftest.o conftest.obj
   3581 if { { ac_try="$ac_compile"
   3582 case "(($ac_try" in
   3583   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
   3584   *) ac_try_echo=$ac_try;;
   3585 esac
   3586 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
   3587 $as_echo "$ac_try_echo"; } >&5
   3588   (eval "$ac_compile") 2>&5
   3589   ac_status=$?
   3590   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   3591   test $ac_status = 0; }; then :
   3592   for ac_file in conftest.o conftest.obj conftest.*; do
   3593   test -f "$ac_file" || continue;
   3594   case $ac_file in
   3595     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
   3596     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   3597        break;;
   3598   esac
   3599 done
   3600 else
   3601   $as_echo "$as_me: failed program was:" >&5
   3602 sed 's/^/| /' conftest.$ac_ext >&5
   3603 
   3604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   3605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3606 as_fn_error $? "cannot compute suffix of object files: cannot compile
   3607 See \`config.log' for more details" "$LINENO" 5; }
   3608 fi
   3609 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   3610 fi
   3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
   3612 $as_echo "$ac_cv_objext" >&6; }
   3613 OBJEXT=$ac_cv_objext
   3614 ac_objext=$OBJEXT
   3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
   3616 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
   3617 if ${ac_cv_c_compiler_gnu+:} false; then :
   3618   $as_echo_n "(cached) " >&6
   3619 else
   3620   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3621 /* end confdefs.h.  */
   3622 
   3623 int
   3624 main ()
   3625 {
   3626 #ifndef __GNUC__
   3627        choke me
   3628 #endif
   3629 
   3630   ;
   3631   return 0;
   3632 }
   3633 _ACEOF
   3634 if ac_fn_c_try_compile "$LINENO"; then :
   3635   ac_compiler_gnu=yes
   3636 else
   3637   ac_compiler_gnu=no
   3638 fi
   3639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3640 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3641 
   3642 fi
   3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
   3644 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
   3645 if test $ac_compiler_gnu = yes; then
   3646   GCC=yes
   3647 else
   3648   GCC=
   3649 fi
   3650 ac_test_CFLAGS=${CFLAGS+set}
   3651 ac_save_CFLAGS=$CFLAGS
   3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
   3653 $as_echo_n "checking whether $CC accepts -g... " >&6; }
   3654 if ${ac_cv_prog_cc_g+:} false; then :
   3655   $as_echo_n "(cached) " >&6
   3656 else
   3657   ac_save_c_werror_flag=$ac_c_werror_flag
   3658    ac_c_werror_flag=yes
   3659    ac_cv_prog_cc_g=no
   3660    CFLAGS="-g"
   3661    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3662 /* end confdefs.h.  */
   3663 
   3664 int
   3665 main ()
   3666 {
   3667 
   3668   ;
   3669   return 0;
   3670 }
   3671 _ACEOF
   3672 if ac_fn_c_try_compile "$LINENO"; then :
   3673   ac_cv_prog_cc_g=yes
   3674 else
   3675   CFLAGS=""
   3676       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3677 /* end confdefs.h.  */
   3678 
   3679 int
   3680 main ()
   3681 {
   3682 
   3683   ;
   3684   return 0;
   3685 }
   3686 _ACEOF
   3687 if ac_fn_c_try_compile "$LINENO"; then :
   3688 
   3689 else
   3690   ac_c_werror_flag=$ac_save_c_werror_flag
   3691 	 CFLAGS="-g"
   3692 	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3693 /* end confdefs.h.  */
   3694 
   3695 int
   3696 main ()
   3697 {
   3698 
   3699   ;
   3700   return 0;
   3701 }
   3702 _ACEOF
   3703 if ac_fn_c_try_compile "$LINENO"; then :
   3704   ac_cv_prog_cc_g=yes
   3705 fi
   3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3707 fi
   3708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3709 fi
   3710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   3711    ac_c_werror_flag=$ac_save_c_werror_flag
   3712 fi
   3713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
   3714 $as_echo "$ac_cv_prog_cc_g" >&6; }
   3715 if test "$ac_test_CFLAGS" = set; then
   3716   CFLAGS=$ac_save_CFLAGS
   3717 elif test $ac_cv_prog_cc_g = yes; then
   3718   if test "$GCC" = yes; then
   3719     CFLAGS="-g -O2"
   3720   else
   3721     CFLAGS="-g"
   3722   fi
   3723 else
   3724   if test "$GCC" = yes; then
   3725     CFLAGS="-O2"
   3726   else
   3727     CFLAGS=
   3728   fi
   3729 fi
   3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
   3731 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
   3732 if ${ac_cv_prog_cc_c89+:} false; then :
   3733   $as_echo_n "(cached) " >&6
   3734 else
   3735   ac_cv_prog_cc_c89=no
   3736 ac_save_CC=$CC
   3737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3738 /* end confdefs.h.  */
   3739 #include <stdarg.h>
   3740 #include <stdio.h>
   3741 struct stat;
   3742 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3743 struct buf { int x; };
   3744 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3745 static char *e (p, i)
   3746      char **p;
   3747      int i;
   3748 {
   3749   return p[i];
   3750 }
   3751 static char *f (char * (*g) (char **, int), char **p, ...)
   3752 {
   3753   char *s;
   3754   va_list v;
   3755   va_start (v,p);
   3756   s = g (p, va_arg (v,int));
   3757   va_end (v);
   3758   return s;
   3759 }
   3760 
   3761 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3762    function prototypes and stuff, but not '\xHH' hex character constants.
   3763    These don't provoke an error unfortunately, instead are silently treated
   3764    as 'x'.  The following induces an error, until -std is added to get
   3765    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3766    array size at least.  It's necessary to write '\x00'==0 to get something
   3767    that's true only with -std.  */
   3768 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3769 
   3770 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
   3771    inside strings and character constants.  */
   3772 #define FOO(x) 'x'
   3773 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
   3774 
   3775 int test (int i, double x);
   3776 struct s1 {int (*f) (int a);};
   3777 struct s2 {int (*f) (double a);};
   3778 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3779 int argc;
   3780 char **argv;
   3781 int
   3782 main ()
   3783 {
   3784 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3785   ;
   3786   return 0;
   3787 }
   3788 _ACEOF
   3789 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
   3790 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   3791 do
   3792   CC="$ac_save_CC $ac_arg"
   3793   if ac_fn_c_try_compile "$LINENO"; then :
   3794   ac_cv_prog_cc_c89=$ac_arg
   3795 fi
   3796 rm -f core conftest.err conftest.$ac_objext
   3797   test "x$ac_cv_prog_cc_c89" != "xno" && break
   3798 done
   3799 rm -f conftest.$ac_ext
   3800 CC=$ac_save_CC
   3801 
   3802 fi
   3803 # AC_CACHE_VAL
   3804 case "x$ac_cv_prog_cc_c89" in
   3805   x)
   3806     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   3807 $as_echo "none needed" >&6; } ;;
   3808   xno)
   3809     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   3810 $as_echo "unsupported" >&6; } ;;
   3811   *)
   3812     CC="$CC $ac_cv_prog_cc_c89"
   3813     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
   3814 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
   3815 esac
   3816 if test "x$ac_cv_prog_cc_c89" != xno; then :
   3817 
   3818 fi
   3819 
   3820 ac_ext=c
   3821 ac_cpp='$CPP $CPPFLAGS'
   3822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3825 
   3826 ac_ext=c
   3827 ac_cpp='$CPP $CPPFLAGS'
   3828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
   3832 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
   3833 if ${am_cv_prog_cc_c_o+:} false; then :
   3834   $as_echo_n "(cached) " >&6
   3835 else
   3836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   3837 /* end confdefs.h.  */
   3838 
   3839 int
   3840 main ()
   3841 {
   3842 
   3843   ;
   3844   return 0;
   3845 }
   3846 _ACEOF
   3847   # Make sure it works both with $CC and with simple cc.
   3848   # Following AC_PROG_CC_C_O, we do the test twice because some
   3849   # compilers refuse to overwrite an existing .o file with -o,
   3850   # though they will create one.
   3851   am_cv_prog_cc_c_o=yes
   3852   for am_i in 1 2; do
   3853     if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
   3854    ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
   3855    ac_status=$?
   3856    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3857    (exit $ac_status); } \
   3858          && test -f conftest2.$ac_objext; then
   3859       : OK
   3860     else
   3861       am_cv_prog_cc_c_o=no
   3862       break
   3863     fi
   3864   done
   3865   rm -f core conftest*
   3866   unset am_i
   3867 fi
   3868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
   3869 $as_echo "$am_cv_prog_cc_c_o" >&6; }
   3870 if test "$am_cv_prog_cc_c_o" != yes; then
   3871    # Losing compiler, so override with the script.
   3872    # FIXME: It is wrong to rewrite CC.
   3873    # But if we don't then we get into trouble of one sort or another.
   3874    # A longer-term fix would be to have automake use am__CC in this case,
   3875    # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
   3876    CC="$am_aux_dir/compile $CC"
   3877 fi
   3878 ac_ext=c
   3879 ac_cpp='$CPP $CPPFLAGS'
   3880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3883 
   3884 
   3885 depcc="$CC"   am_compiler_list=
   3886 
   3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
   3888 $as_echo_n "checking dependency style of $depcc... " >&6; }
   3889 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
   3890   $as_echo_n "(cached) " >&6
   3891 else
   3892   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3893   # We make a subdir and do the tests there.  Otherwise we can end up
   3894   # making bogus files that we don't know about and never remove.  For
   3895   # instance it was reported that on HP-UX the gcc test will end up
   3896   # making a dummy file named 'D' -- because '-MD' means "put the output
   3897   # in D".
   3898   rm -rf conftest.dir
   3899   mkdir conftest.dir
   3900   # Copy depcomp to subdir because otherwise we won't find it if we're
   3901   # using a relative directory.
   3902   cp "$am_depcomp" conftest.dir
   3903   cd conftest.dir
   3904   # We will build objects and dependencies in a subdirectory because
   3905   # it helps to detect inapplicable dependency modes.  For instance
   3906   # both Tru64's cc and ICC support -MD to output dependencies as a
   3907   # side effect of compilation, but ICC will put the dependencies in
   3908   # the current directory while Tru64 will put them in the object
   3909   # directory.
   3910   mkdir sub
   3911 
   3912   am_cv_CC_dependencies_compiler_type=none
   3913   if test "$am_compiler_list" = ""; then
   3914      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3915   fi
   3916   am__universal=false
   3917   case " $depcc " in #(
   3918      *\ -arch\ *\ -arch\ *) am__universal=true ;;
   3919      esac
   3920 
   3921   for depmode in $am_compiler_list; do
   3922     # Setup a source with many dependencies, because some compilers
   3923     # like to wrap large dependency lists on column 80 (with \), and
   3924     # we should not choose a depcomp mode which is confused by this.
   3925     #
   3926     # We need to recreate these files for each test, as the compiler may
   3927     # overwrite some of them when testing with obscure command lines.
   3928     # This happens at least with the AIX C compiler.
   3929     : > sub/conftest.c
   3930     for i in 1 2 3 4 5 6; do
   3931       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3932       # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
   3933       # Solaris 10 /bin/sh.
   3934       echo '/* dummy */' > sub/conftst$i.h
   3935     done
   3936     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3937 
   3938     # We check with '-c' and '-o' for the sake of the "dashmstdout"
   3939     # mode.  It turns out that the SunPro C++ compiler does not properly
   3940     # handle '-M -o', and we need to detect this.  Also, some Intel
   3941     # versions had trouble with output in subdirs.
   3942     am__obj=sub/conftest.${OBJEXT-o}
   3943     am__minus_obj="-o $am__obj"
   3944     case $depmode in
   3945     gcc)
   3946       # This depmode causes a compiler race in universal mode.
   3947       test "$am__universal" = false || continue
   3948       ;;
   3949     nosideeffect)
   3950       # After this tag, mechanisms are not by side-effect, so they'll
   3951       # only be used when explicitly requested.
   3952       if test "x$enable_dependency_tracking" = xyes; then
   3953 	continue
   3954       else
   3955 	break
   3956       fi
   3957       ;;
   3958     msvc7 | msvc7msys | msvisualcpp | msvcmsys)
   3959       # This compiler won't grok '-c -o', but also, the minuso test has
   3960       # not run yet.  These depmodes are late enough in the game, and
   3961       # so weak that their functioning should not be impacted.
   3962       am__obj=conftest.${OBJEXT-o}
   3963       am__minus_obj=
   3964       ;;
   3965     none) break ;;
   3966     esac
   3967     if depmode=$depmode \
   3968        source=sub/conftest.c object=$am__obj \
   3969        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3970        $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
   3971          >/dev/null 2>conftest.err &&
   3972        grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
   3973        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3974        grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
   3975        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3976       # icc doesn't choke on unknown options, it will just issue warnings
   3977       # or remarks (even with -Werror).  So we grep stderr for any message
   3978       # that says an option was ignored or not supported.
   3979       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3980       #   icc: Command line warning: ignoring option '-M'; no argument required
   3981       # The diagnosis changed in icc 8.0:
   3982       #   icc: Command line remark: option '-MP' not supported
   3983       if (grep 'ignoring option' conftest.err ||
   3984           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3985         am_cv_CC_dependencies_compiler_type=$depmode
   3986         break
   3987       fi
   3988     fi
   3989   done
   3990 
   3991   cd ..
   3992   rm -rf conftest.dir
   3993 else
   3994   am_cv_CC_dependencies_compiler_type=none
   3995 fi
   3996 
   3997 fi
   3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
   3999 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
   4000 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   4001 
   4002  if
   4003   test "x$enable_dependency_tracking" != xno \
   4004   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   4005   am__fastdepCC_TRUE=
   4006   am__fastdepCC_FALSE='#'
   4007 else
   4008   am__fastdepCC_TRUE='#'
   4009   am__fastdepCC_FALSE=
   4010 fi
   4011 
   4012 
   4013    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
   4014 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
   4015 if ${ac_cv_prog_cc_c99+:} false; then :
   4016   $as_echo_n "(cached) " >&6
   4017 else
   4018   ac_cv_prog_cc_c99=no
   4019 ac_save_CC=$CC
   4020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4021 /* end confdefs.h.  */
   4022 #include <stdarg.h>
   4023 #include <stdbool.h>
   4024 #include <stdlib.h>
   4025 #include <wchar.h>
   4026 #include <stdio.h>
   4027 
   4028 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
   4029 #define debug(...) fprintf (stderr, __VA_ARGS__)
   4030 #define showlist(...) puts (#__VA_ARGS__)
   4031 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
   4032 static void
   4033 test_varargs_macros (void)
   4034 {
   4035   int x = 1234;
   4036   int y = 5678;
   4037   debug ("Flag");
   4038   debug ("X = %d\n", x);
   4039   showlist (The first, second, and third items.);
   4040   report (x>y, "x is %d but y is %d", x, y);
   4041 }
   4042 
   4043 // Check long long types.
   4044 #define BIG64 18446744073709551615ull
   4045 #define BIG32 4294967295ul
   4046 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
   4047 #if !BIG_OK
   4048   your preprocessor is broken;
   4049 #endif
   4050 #if BIG_OK
   4051 #else
   4052   your preprocessor is broken;
   4053 #endif
   4054 static long long int bignum = -9223372036854775807LL;
   4055 static unsigned long long int ubignum = BIG64;
   4056 
   4057 struct incomplete_array
   4058 {
   4059   int datasize;
   4060   double data[];
   4061 };
   4062 
   4063 struct named_init {
   4064   int number;
   4065   const wchar_t *name;
   4066   double average;
   4067 };
   4068 
   4069 typedef const char *ccp;
   4070 
   4071 static inline int
   4072 test_restrict (ccp restrict text)
   4073 {
   4074   // See if C++-style comments work.
   4075   // Iterate through items via the restricted pointer.
   4076   // Also check for declarations in for loops.
   4077   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
   4078     continue;
   4079   return 0;
   4080 }
   4081 
   4082 // Check varargs and va_copy.
   4083 static void
   4084 test_varargs (const char *format, ...)
   4085 {
   4086   va_list args;
   4087   va_start (args, format);
   4088   va_list args_copy;
   4089   va_copy (args_copy, args);
   4090 
   4091   const char *str;
   4092   int number;
   4093   float fnumber;
   4094 
   4095   while (*format)
   4096     {
   4097       switch (*format++)
   4098 	{
   4099 	case 's': // string
   4100 	  str = va_arg (args_copy, const char *);
   4101 	  break;
   4102 	case 'd': // int
   4103 	  number = va_arg (args_copy, int);
   4104 	  break;
   4105 	case 'f': // float
   4106 	  fnumber = va_arg (args_copy, double);
   4107 	  break;
   4108 	default:
   4109 	  break;
   4110 	}
   4111     }
   4112   va_end (args_copy);
   4113   va_end (args);
   4114 }
   4115 
   4116 int
   4117 main ()
   4118 {
   4119 
   4120   // Check bool.
   4121   _Bool success = false;
   4122 
   4123   // Check restrict.
   4124   if (test_restrict ("String literal") == 0)
   4125     success = true;
   4126   char *restrict newvar = "Another string";
   4127 
   4128   // Check varargs.
   4129   test_varargs ("s, d' f .", "string", 65, 34.234);
   4130   test_varargs_macros ();
   4131 
   4132   // Check flexible array members.
   4133   struct incomplete_array *ia =
   4134     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
   4135   ia->datasize = 10;
   4136   for (int i = 0; i < ia->datasize; ++i)
   4137     ia->data[i] = i * 1.234;
   4138 
   4139   // Check named initializers.
   4140   struct named_init ni = {
   4141     .number = 34,
   4142     .name = L"Test wide string",
   4143     .average = 543.34343,
   4144   };
   4145 
   4146   ni.number = 58;
   4147 
   4148   int dynamic_array[ni.number];
   4149   dynamic_array[ni.number - 1] = 543;
   4150 
   4151   // work around unused variable warnings
   4152   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
   4153 	  || dynamic_array[ni.number - 1] != 543);
   4154 
   4155   ;
   4156   return 0;
   4157 }
   4158 _ACEOF
   4159 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
   4160 do
   4161   CC="$ac_save_CC $ac_arg"
   4162   if ac_fn_c_try_compile "$LINENO"; then :
   4163   ac_cv_prog_cc_c99=$ac_arg
   4164 fi
   4165 rm -f core conftest.err conftest.$ac_objext
   4166   test "x$ac_cv_prog_cc_c99" != "xno" && break
   4167 done
   4168 rm -f conftest.$ac_ext
   4169 CC=$ac_save_CC
   4170 
   4171 fi
   4172 # AC_CACHE_VAL
   4173 case "x$ac_cv_prog_cc_c99" in
   4174   x)
   4175     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
   4176 $as_echo "none needed" >&6; } ;;
   4177   xno)
   4178     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
   4179 $as_echo "unsupported" >&6; } ;;
   4180   *)
   4181     CC="$CC $ac_cv_prog_cc_c99"
   4182     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
   4183 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
   4184 esac
   4185 if test "x$ac_cv_prog_cc_c99" != xno; then :
   4186 
   4187 fi
   4188 
   4189 
   4190 
   4191 ac_ext=c
   4192 ac_cpp='$CPP $CPPFLAGS'
   4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
   4197 $as_echo_n "checking how to run the C preprocessor... " >&6; }
   4198 # On Suns, sometimes $CPP names a directory.
   4199 if test -n "$CPP" && test -d "$CPP"; then
   4200   CPP=
   4201 fi
   4202 if test -z "$CPP"; then
   4203   if ${ac_cv_prog_CPP+:} false; then :
   4204   $as_echo_n "(cached) " >&6
   4205 else
   4206       # Double quotes because CPP needs to be expanded
   4207     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4208     do
   4209       ac_preproc_ok=false
   4210 for ac_c_preproc_warn_flag in '' yes
   4211 do
   4212   # Use a header file that comes with gcc, so configuring glibc
   4213   # with a fresh cross-compiler works.
   4214   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4215   # <limits.h> exists even on freestanding compilers.
   4216   # On the NeXT, cc -E runs the code through the compiler's parser,
   4217   # not just through cpp. "Syntax error" is here to catch this case.
   4218   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4219 /* end confdefs.h.  */
   4220 #ifdef __STDC__
   4221 # include <limits.h>
   4222 #else
   4223 # include <assert.h>
   4224 #endif
   4225 		     Syntax error
   4226 _ACEOF
   4227 if ac_fn_c_try_cpp "$LINENO"; then :
   4228 
   4229 else
   4230   # Broken: fails on valid input.
   4231 continue
   4232 fi
   4233 rm -f conftest.err conftest.i conftest.$ac_ext
   4234 
   4235   # OK, works on sane cases.  Now check whether nonexistent headers
   4236   # can be detected and how.
   4237   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4238 /* end confdefs.h.  */
   4239 #include <ac_nonexistent.h>
   4240 _ACEOF
   4241 if ac_fn_c_try_cpp "$LINENO"; then :
   4242   # Broken: success on invalid input.
   4243 continue
   4244 else
   4245   # Passes both tests.
   4246 ac_preproc_ok=:
   4247 break
   4248 fi
   4249 rm -f conftest.err conftest.i conftest.$ac_ext
   4250 
   4251 done
   4252 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4253 rm -f conftest.i conftest.err conftest.$ac_ext
   4254 if $ac_preproc_ok; then :
   4255   break
   4256 fi
   4257 
   4258     done
   4259     ac_cv_prog_CPP=$CPP
   4260 
   4261 fi
   4262   CPP=$ac_cv_prog_CPP
   4263 else
   4264   ac_cv_prog_CPP=$CPP
   4265 fi
   4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
   4267 $as_echo "$CPP" >&6; }
   4268 ac_preproc_ok=false
   4269 for ac_c_preproc_warn_flag in '' yes
   4270 do
   4271   # Use a header file that comes with gcc, so configuring glibc
   4272   # with a fresh cross-compiler works.
   4273   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4274   # <limits.h> exists even on freestanding compilers.
   4275   # On the NeXT, cc -E runs the code through the compiler's parser,
   4276   # not just through cpp. "Syntax error" is here to catch this case.
   4277   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4278 /* end confdefs.h.  */
   4279 #ifdef __STDC__
   4280 # include <limits.h>
   4281 #else
   4282 # include <assert.h>
   4283 #endif
   4284 		     Syntax error
   4285 _ACEOF
   4286 if ac_fn_c_try_cpp "$LINENO"; then :
   4287 
   4288 else
   4289   # Broken: fails on valid input.
   4290 continue
   4291 fi
   4292 rm -f conftest.err conftest.i conftest.$ac_ext
   4293 
   4294   # OK, works on sane cases.  Now check whether nonexistent headers
   4295   # can be detected and how.
   4296   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4297 /* end confdefs.h.  */
   4298 #include <ac_nonexistent.h>
   4299 _ACEOF
   4300 if ac_fn_c_try_cpp "$LINENO"; then :
   4301   # Broken: success on invalid input.
   4302 continue
   4303 else
   4304   # Passes both tests.
   4305 ac_preproc_ok=:
   4306 break
   4307 fi
   4308 rm -f conftest.err conftest.i conftest.$ac_ext
   4309 
   4310 done
   4311 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4312 rm -f conftest.i conftest.err conftest.$ac_ext
   4313 if $ac_preproc_ok; then :
   4314 
   4315 else
   4316   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   4317 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4318 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
   4319 See \`config.log' for more details" "$LINENO" 5; }
   4320 fi
   4321 
   4322 ac_ext=c
   4323 ac_cpp='$CPP $CPPFLAGS'
   4324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4327 
   4328 
   4329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
   4330 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
   4331 if ${ac_cv_path_GREP+:} false; then :
   4332   $as_echo_n "(cached) " >&6
   4333 else
   4334   if test -z "$GREP"; then
   4335   ac_path_GREP_found=false
   4336   # Loop through the user's path and test for each of PROGNAME-LIST
   4337   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4338 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4339 do
   4340   IFS=$as_save_IFS
   4341   test -z "$as_dir" && as_dir=.
   4342     for ac_prog in grep ggrep; do
   4343     for ac_exec_ext in '' $ac_executable_extensions; do
   4344       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
   4345       as_fn_executable_p "$ac_path_GREP" || continue
   4346 # Check for GNU ac_path_GREP and select it if it is found.
   4347   # Check for GNU $ac_path_GREP
   4348 case `"$ac_path_GREP" --version 2>&1` in
   4349 *GNU*)
   4350   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
   4351 *)
   4352   ac_count=0
   4353   $as_echo_n 0123456789 >"conftest.in"
   4354   while :
   4355   do
   4356     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4357     mv "conftest.tmp" "conftest.in"
   4358     cp "conftest.in" "conftest.nl"
   4359     $as_echo 'GREP' >> "conftest.nl"
   4360     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4361     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4362     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4363     if test $ac_count -gt ${ac_path_GREP_max-0}; then
   4364       # Best one so far, save it but keep looking for a better one
   4365       ac_cv_path_GREP="$ac_path_GREP"
   4366       ac_path_GREP_max=$ac_count
   4367     fi
   4368     # 10*(2^10) chars as input seems more than enough
   4369     test $ac_count -gt 10 && break
   4370   done
   4371   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4372 esac
   4373 
   4374       $ac_path_GREP_found && break 3
   4375     done
   4376   done
   4377   done
   4378 IFS=$as_save_IFS
   4379   if test -z "$ac_cv_path_GREP"; then
   4380     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4381   fi
   4382 else
   4383   ac_cv_path_GREP=$GREP
   4384 fi
   4385 
   4386 fi
   4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
   4388 $as_echo "$ac_cv_path_GREP" >&6; }
   4389  GREP="$ac_cv_path_GREP"
   4390 
   4391 
   4392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
   4393 $as_echo_n "checking for egrep... " >&6; }
   4394 if ${ac_cv_path_EGREP+:} false; then :
   4395   $as_echo_n "(cached) " >&6
   4396 else
   4397   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
   4398    then ac_cv_path_EGREP="$GREP -E"
   4399    else
   4400      if test -z "$EGREP"; then
   4401   ac_path_EGREP_found=false
   4402   # Loop through the user's path and test for each of PROGNAME-LIST
   4403   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4404 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   4405 do
   4406   IFS=$as_save_IFS
   4407   test -z "$as_dir" && as_dir=.
   4408     for ac_prog in egrep; do
   4409     for ac_exec_ext in '' $ac_executable_extensions; do
   4410       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
   4411       as_fn_executable_p "$ac_path_EGREP" || continue
   4412 # Check for GNU ac_path_EGREP and select it if it is found.
   4413   # Check for GNU $ac_path_EGREP
   4414 case `"$ac_path_EGREP" --version 2>&1` in
   4415 *GNU*)
   4416   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
   4417 *)
   4418   ac_count=0
   4419   $as_echo_n 0123456789 >"conftest.in"
   4420   while :
   4421   do
   4422     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4423     mv "conftest.tmp" "conftest.in"
   4424     cp "conftest.in" "conftest.nl"
   4425     $as_echo 'EGREP' >> "conftest.nl"
   4426     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4427     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4428     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4429     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
   4430       # Best one so far, save it but keep looking for a better one
   4431       ac_cv_path_EGREP="$ac_path_EGREP"
   4432       ac_path_EGREP_max=$ac_count
   4433     fi
   4434     # 10*(2^10) chars as input seems more than enough
   4435     test $ac_count -gt 10 && break
   4436   done
   4437   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4438 esac
   4439 
   4440       $ac_path_EGREP_found && break 3
   4441     done
   4442   done
   4443   done
   4444 IFS=$as_save_IFS
   4445   if test -z "$ac_cv_path_EGREP"; then
   4446     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   4447   fi
   4448 else
   4449   ac_cv_path_EGREP=$EGREP
   4450 fi
   4451 
   4452    fi
   4453 fi
   4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
   4455 $as_echo "$ac_cv_path_EGREP" >&6; }
   4456  EGREP="$ac_cv_path_EGREP"
   4457 
   4458 
   4459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
   4460 $as_echo_n "checking for ANSI C header files... " >&6; }
   4461 if ${ac_cv_header_stdc+:} false; then :
   4462   $as_echo_n "(cached) " >&6
   4463 else
   4464   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4465 /* end confdefs.h.  */
   4466 #include <stdlib.h>
   4467 #include <stdarg.h>
   4468 #include <string.h>
   4469 #include <float.h>
   4470 
   4471 int
   4472 main ()
   4473 {
   4474 
   4475   ;
   4476   return 0;
   4477 }
   4478 _ACEOF
   4479 if ac_fn_c_try_compile "$LINENO"; then :
   4480   ac_cv_header_stdc=yes
   4481 else
   4482   ac_cv_header_stdc=no
   4483 fi
   4484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4485 
   4486 if test $ac_cv_header_stdc = yes; then
   4487   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4488   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4489 /* end confdefs.h.  */
   4490 #include <string.h>
   4491 
   4492 _ACEOF
   4493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4494   $EGREP "memchr" >/dev/null 2>&1; then :
   4495 
   4496 else
   4497   ac_cv_header_stdc=no
   4498 fi
   4499 rm -f conftest*
   4500 
   4501 fi
   4502 
   4503 if test $ac_cv_header_stdc = yes; then
   4504   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4505   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4506 /* end confdefs.h.  */
   4507 #include <stdlib.h>
   4508 
   4509 _ACEOF
   4510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4511   $EGREP "free" >/dev/null 2>&1; then :
   4512 
   4513 else
   4514   ac_cv_header_stdc=no
   4515 fi
   4516 rm -f conftest*
   4517 
   4518 fi
   4519 
   4520 if test $ac_cv_header_stdc = yes; then
   4521   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4522   if test "$cross_compiling" = yes; then :
   4523   :
   4524 else
   4525   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4526 /* end confdefs.h.  */
   4527 #include <ctype.h>
   4528 #include <stdlib.h>
   4529 #if ((' ' & 0x0FF) == 0x020)
   4530 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4531 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4532 #else
   4533 # define ISLOWER(c) \
   4534 		   (('a' <= (c) && (c) <= 'i') \
   4535 		     || ('j' <= (c) && (c) <= 'r') \
   4536 		     || ('s' <= (c) && (c) <= 'z'))
   4537 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4538 #endif
   4539 
   4540 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4541 int
   4542 main ()
   4543 {
   4544   int i;
   4545   for (i = 0; i < 256; i++)
   4546     if (XOR (islower (i), ISLOWER (i))
   4547 	|| toupper (i) != TOUPPER (i))
   4548       return 2;
   4549   return 0;
   4550 }
   4551 _ACEOF
   4552 if ac_fn_c_try_run "$LINENO"; then :
   4553 
   4554 else
   4555   ac_cv_header_stdc=no
   4556 fi
   4557 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
   4558   conftest.$ac_objext conftest.beam conftest.$ac_ext
   4559 fi
   4560 
   4561 fi
   4562 fi
   4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
   4564 $as_echo "$ac_cv_header_stdc" >&6; }
   4565 if test $ac_cv_header_stdc = yes; then
   4566 
   4567 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
   4568 
   4569 fi
   4570 
   4571 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4572 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4573 		  inttypes.h stdint.h unistd.h
   4574 do :
   4575   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4576 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
   4577 "
   4578 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
   4579   cat >>confdefs.h <<_ACEOF
   4580 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4581 _ACEOF
   4582 
   4583 fi
   4584 
   4585 done
   4586 
   4587 
   4588 
   4589 
   4590 
   4591 
   4592 ac_fn_c_check_decl "$LINENO" "__clang__" "ac_cv_have_decl___clang__" "$ac_includes_default"
   4593 if test "x$ac_cv_have_decl___clang__" = xyes; then :
   4594   CLANGCC="yes"
   4595 else
   4596   CLANGCC="no"
   4597 fi
   4598 
   4599 ac_fn_c_check_decl "$LINENO" "__INTEL_COMPILER" "ac_cv_have_decl___INTEL_COMPILER" "$ac_includes_default"
   4600 if test "x$ac_cv_have_decl___INTEL_COMPILER" = xyes; then :
   4601   INTELCC="yes"
   4602 else
   4603   INTELCC="no"
   4604 fi
   4605 
   4606 ac_fn_c_check_decl "$LINENO" "__SUNPRO_C" "ac_cv_have_decl___SUNPRO_C" "$ac_includes_default"
   4607 if test "x$ac_cv_have_decl___SUNPRO_C" = xyes; then :
   4608   SUNCC="yes"
   4609 else
   4610   SUNCC="no"
   4611 fi
   4612 
   4613 
   4614 
   4615 
   4616 
   4617 
   4618 
   4619 
   4620 
   4621 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
   4622 	if test -n "$ac_tool_prefix"; then
   4623   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
   4624 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
   4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4626 $as_echo_n "checking for $ac_word... " >&6; }
   4627 if ${ac_cv_path_PKG_CONFIG+:} false; then :
   4628   $as_echo_n "(cached) " >&6
   4629 else
   4630   case $PKG_CONFIG in
   4631   [\\/]* | ?:[\\/]*)
   4632   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
   4633   ;;
   4634   *)
   4635   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4636 for as_dir in $PATH
   4637 do
   4638   IFS=$as_save_IFS
   4639   test -z "$as_dir" && as_dir=.
   4640     for ac_exec_ext in '' $ac_executable_extensions; do
   4641   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4642     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4643     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4644     break 2
   4645   fi
   4646 done
   4647   done
   4648 IFS=$as_save_IFS
   4649 
   4650   ;;
   4651 esac
   4652 fi
   4653 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
   4654 if test -n "$PKG_CONFIG"; then
   4655   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
   4656 $as_echo "$PKG_CONFIG" >&6; }
   4657 else
   4658   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4659 $as_echo "no" >&6; }
   4660 fi
   4661 
   4662 
   4663 fi
   4664 if test -z "$ac_cv_path_PKG_CONFIG"; then
   4665   ac_pt_PKG_CONFIG=$PKG_CONFIG
   4666   # Extract the first word of "pkg-config", so it can be a program name with args.
   4667 set dummy pkg-config; ac_word=$2
   4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   4669 $as_echo_n "checking for $ac_word... " >&6; }
   4670 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
   4671   $as_echo_n "(cached) " >&6
   4672 else
   4673   case $ac_pt_PKG_CONFIG in
   4674   [\\/]* | ?:[\\/]*)
   4675   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
   4676   ;;
   4677   *)
   4678   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4679 for as_dir in $PATH
   4680 do
   4681   IFS=$as_save_IFS
   4682   test -z "$as_dir" && as_dir=.
   4683     for ac_exec_ext in '' $ac_executable_extensions; do
   4684   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   4685     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
   4686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   4687     break 2
   4688   fi
   4689 done
   4690   done
   4691 IFS=$as_save_IFS
   4692 
   4693   ;;
   4694 esac
   4695 fi
   4696 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
   4697 if test -n "$ac_pt_PKG_CONFIG"; then
   4698   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
   4699 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
   4700 else
   4701   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4702 $as_echo "no" >&6; }
   4703 fi
   4704 
   4705   if test "x$ac_pt_PKG_CONFIG" = x; then
   4706     PKG_CONFIG=""
   4707   else
   4708     case $cross_compiling:$ac_tool_warned in
   4709 yes:)
   4710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   4711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   4712 ac_tool_warned=yes ;;
   4713 esac
   4714     PKG_CONFIG=$ac_pt_PKG_CONFIG
   4715   fi
   4716 else
   4717   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
   4718 fi
   4719 
   4720 fi
   4721 if test -n "$PKG_CONFIG"; then
   4722 	_pkg_min_version=0.9.0
   4723 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
   4724 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
   4725 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
   4726 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   4727 $as_echo "yes" >&6; }
   4728 	else
   4729 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   4730 $as_echo "no" >&6; }
   4731 		PKG_CONFIG=""
   4732 	fi
   4733 fi
   4734 # Make sure we can run config.sub.
   4735 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
   4736   as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
   4737 
   4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
   4739 $as_echo_n "checking build system type... " >&6; }
   4740 if ${ac_cv_build+:} false; then :
   4741   $as_echo_n "(cached) " >&6
   4742 else
   4743   ac_build_alias=$build_alias
   4744 test "x$ac_build_alias" = x &&
   4745   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
   4746 test "x$ac_build_alias" = x &&
   4747   as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
   4748 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
   4749   as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
   4750 
   4751 fi
   4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
   4753 $as_echo "$ac_cv_build" >&6; }
   4754 case $ac_cv_build in
   4755 *-*-*) ;;
   4756 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
   4757 esac
   4758 build=$ac_cv_build
   4759 ac_save_IFS=$IFS; IFS='-'
   4760 set x $ac_cv_build
   4761 shift
   4762 build_cpu=$1
   4763 build_vendor=$2
   4764 shift; shift
   4765 # Remember, the first character of IFS is used to create $*,
   4766 # except with old shells:
   4767 build_os=$*
   4768 IFS=$ac_save_IFS
   4769 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
   4770 
   4771 
   4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
   4773 $as_echo_n "checking host system type... " >&6; }
   4774 if ${ac_cv_host+:} false; then :
   4775   $as_echo_n "(cached) " >&6
   4776 else
   4777   if test "x$host_alias" = x; then
   4778   ac_cv_host=$ac_cv_build
   4779 else
   4780   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
   4781     as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
   4782 fi
   4783 
   4784 fi
   4785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
   4786 $as_echo "$ac_cv_host" >&6; }
   4787 case $ac_cv_host in
   4788 *-*-*) ;;
   4789 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
   4790 esac
   4791 host=$ac_cv_host
   4792 ac_save_IFS=$IFS; IFS='-'
   4793 set x $ac_cv_host
   4794 shift
   4795 host_cpu=$1
   4796 host_vendor=$2
   4797 shift; shift
   4798 # Remember, the first character of IFS is used to create $*,
   4799 # except with old shells:
   4800 host_os=$*
   4801 IFS=$ac_save_IFS
   4802 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
   4803 
   4804 
   4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   4806 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   4807 if ${ac_cv_path_SED+:} false; then :
   4808   $as_echo_n "(cached) " >&6
   4809 else
   4810             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   4811      for ac_i in 1 2 3 4 5 6 7; do
   4812        ac_script="$ac_script$as_nl$ac_script"
   4813      done
   4814      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   4815      { ac_script=; unset ac_script;}
   4816      if test -z "$SED"; then
   4817   ac_path_SED_found=false
   4818   # Loop through the user's path and test for each of PROGNAME-LIST
   4819   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4820 for as_dir in $PATH
   4821 do
   4822   IFS=$as_save_IFS
   4823   test -z "$as_dir" && as_dir=.
   4824     for ac_prog in sed gsed; do
   4825     for ac_exec_ext in '' $ac_executable_extensions; do
   4826       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   4827       as_fn_executable_p "$ac_path_SED" || continue
   4828 # Check for GNU ac_path_SED and select it if it is found.
   4829   # Check for GNU $ac_path_SED
   4830 case `"$ac_path_SED" --version 2>&1` in
   4831 *GNU*)
   4832   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   4833 *)
   4834   ac_count=0
   4835   $as_echo_n 0123456789 >"conftest.in"
   4836   while :
   4837   do
   4838     cat "conftest.in" "conftest.in" >"conftest.tmp"
   4839     mv "conftest.tmp" "conftest.in"
   4840     cp "conftest.in" "conftest.nl"
   4841     $as_echo '' >> "conftest.nl"
   4842     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   4843     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   4844     as_fn_arith $ac_count + 1 && ac_count=$as_val
   4845     if test $ac_count -gt ${ac_path_SED_max-0}; then
   4846       # Best one so far, save it but keep looking for a better one
   4847       ac_cv_path_SED="$ac_path_SED"
   4848       ac_path_SED_max=$ac_count
   4849     fi
   4850     # 10*(2^10) chars as input seems more than enough
   4851     test $ac_count -gt 10 && break
   4852   done
   4853   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   4854 esac
   4855 
   4856       $ac_path_SED_found && break 3
   4857     done
   4858   done
   4859   done
   4860 IFS=$as_save_IFS
   4861   if test -z "$ac_cv_path_SED"; then
   4862     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   4863   fi
   4864 else
   4865   ac_cv_path_SED=$SED
   4866 fi
   4867 
   4868 fi
   4869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   4870 $as_echo "$ac_cv_path_SED" >&6; }
   4871  SED="$ac_cv_path_SED"
   4872   rm -f conftest.sed
   4873 
   4874 
   4875 
   4876 
   4877 
   4878 
   4879 # Check whether --enable-selective-werror was given.
   4880 if test "${enable_selective_werror+set}" = set; then :
   4881   enableval=$enable_selective_werror; SELECTIVE_WERROR=$enableval
   4882 else
   4883   SELECTIVE_WERROR=yes
   4884 fi
   4885 
   4886 
   4887 
   4888 
   4889 
   4890 # -v is too short to test reliably with XORG_TESTSET_CFLAG
   4891 if test "x$SUNCC" = "xyes"; then
   4892     BASE_CFLAGS="-v"
   4893 else
   4894     BASE_CFLAGS=""
   4895 fi
   4896 
   4897 # This chunk of warnings were those that existed in the legacy CWARNFLAGS
   4898 
   4899 
   4900 
   4901 
   4902 
   4903 
   4904 
   4905 
   4906 
   4907 
   4908 
   4909 
   4910 
   4911 xorg_testset_save_CFLAGS="$CFLAGS"
   4912 
   4913 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   4914 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4915 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   4916 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   4917 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   4918   $as_echo_n "(cached) " >&6
   4919 else
   4920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4921 /* end confdefs.h.  */
   4922 int i;
   4923 _ACEOF
   4924 if ac_fn_c_try_compile "$LINENO"; then :
   4925   xorg_cv_cc_flag_unknown_warning_option=yes
   4926 else
   4927   xorg_cv_cc_flag_unknown_warning_option=no
   4928 fi
   4929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4930 fi
   4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   4932 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   4933 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   4934 	CFLAGS="$xorg_testset_save_CFLAGS"
   4935 fi
   4936 
   4937 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   4938 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4939 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4940 	fi
   4941 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4942 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   4943 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   4944 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   4945   $as_echo_n "(cached) " >&6
   4946 else
   4947   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4948 /* end confdefs.h.  */
   4949 int i;
   4950 _ACEOF
   4951 if ac_fn_c_try_compile "$LINENO"; then :
   4952   xorg_cv_cc_flag_unused_command_line_argument=yes
   4953 else
   4954   xorg_cv_cc_flag_unused_command_line_argument=no
   4955 fi
   4956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   4957 fi
   4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   4959 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   4960 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   4961 	CFLAGS="$xorg_testset_save_CFLAGS"
   4962 fi
   4963 
   4964 found="no"
   4965 
   4966 	if test $found = "no" ; then
   4967 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   4968 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   4969 		fi
   4970 
   4971 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   4972 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   4973 		fi
   4974 
   4975 		CFLAGS="$CFLAGS -Wall"
   4976 
   4977 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
   4978 $as_echo_n "checking if $CC supports -Wall... " >&6; }
   4979 		cacheid=xorg_cv_cc_flag__Wall
   4980 		if eval \${$cacheid+:} false; then :
   4981   $as_echo_n "(cached) " >&6
   4982 else
   4983   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   4984 /* end confdefs.h.  */
   4985 int i;
   4986 int
   4987 main ()
   4988 {
   4989 
   4990   ;
   4991   return 0;
   4992 }
   4993 _ACEOF
   4994 if ac_fn_c_try_link "$LINENO"; then :
   4995   eval $cacheid=yes
   4996 else
   4997   eval $cacheid=no
   4998 fi
   4999 rm -f core conftest.err conftest.$ac_objext \
   5000     conftest$ac_exeext conftest.$ac_ext
   5001 fi
   5002 
   5003 
   5004 		CFLAGS="$xorg_testset_save_CFLAGS"
   5005 
   5006 		eval supported=\$$cacheid
   5007 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5008 $as_echo "$supported" >&6; }
   5009 		if test "$supported" = "yes" ; then
   5010 			BASE_CFLAGS="$BASE_CFLAGS -Wall"
   5011 			found="yes"
   5012 		fi
   5013 	fi
   5014 
   5015 
   5016 
   5017 
   5018 
   5019 
   5020 
   5021 
   5022 
   5023 
   5024 
   5025 
   5026 
   5027 
   5028 
   5029 xorg_testset_save_CFLAGS="$CFLAGS"
   5030 
   5031 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5032 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5033 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5034 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5035 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5036   $as_echo_n "(cached) " >&6
   5037 else
   5038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5039 /* end confdefs.h.  */
   5040 int i;
   5041 _ACEOF
   5042 if ac_fn_c_try_compile "$LINENO"; then :
   5043   xorg_cv_cc_flag_unknown_warning_option=yes
   5044 else
   5045   xorg_cv_cc_flag_unknown_warning_option=no
   5046 fi
   5047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5048 fi
   5049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5050 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5051 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5052 	CFLAGS="$xorg_testset_save_CFLAGS"
   5053 fi
   5054 
   5055 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5056 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5057 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5058 	fi
   5059 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5060 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5061 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5062 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5063   $as_echo_n "(cached) " >&6
   5064 else
   5065   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5066 /* end confdefs.h.  */
   5067 int i;
   5068 _ACEOF
   5069 if ac_fn_c_try_compile "$LINENO"; then :
   5070   xorg_cv_cc_flag_unused_command_line_argument=yes
   5071 else
   5072   xorg_cv_cc_flag_unused_command_line_argument=no
   5073 fi
   5074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5075 fi
   5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5077 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5078 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5079 	CFLAGS="$xorg_testset_save_CFLAGS"
   5080 fi
   5081 
   5082 found="no"
   5083 
   5084 	if test $found = "no" ; then
   5085 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5086 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5087 		fi
   5088 
   5089 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5090 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5091 		fi
   5092 
   5093 		CFLAGS="$CFLAGS -Wpointer-arith"
   5094 
   5095 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
   5096 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
   5097 		cacheid=xorg_cv_cc_flag__Wpointer_arith
   5098 		if eval \${$cacheid+:} false; then :
   5099   $as_echo_n "(cached) " >&6
   5100 else
   5101   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5102 /* end confdefs.h.  */
   5103 int i;
   5104 int
   5105 main ()
   5106 {
   5107 
   5108   ;
   5109   return 0;
   5110 }
   5111 _ACEOF
   5112 if ac_fn_c_try_link "$LINENO"; then :
   5113   eval $cacheid=yes
   5114 else
   5115   eval $cacheid=no
   5116 fi
   5117 rm -f core conftest.err conftest.$ac_objext \
   5118     conftest$ac_exeext conftest.$ac_ext
   5119 fi
   5120 
   5121 
   5122 		CFLAGS="$xorg_testset_save_CFLAGS"
   5123 
   5124 		eval supported=\$$cacheid
   5125 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5126 $as_echo "$supported" >&6; }
   5127 		if test "$supported" = "yes" ; then
   5128 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-arith"
   5129 			found="yes"
   5130 		fi
   5131 	fi
   5132 
   5133 
   5134 
   5135 
   5136 
   5137 
   5138 
   5139 
   5140 
   5141 
   5142 
   5143 
   5144 
   5145 
   5146 
   5147 xorg_testset_save_CFLAGS="$CFLAGS"
   5148 
   5149 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5150 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5151 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5152 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5153 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5154   $as_echo_n "(cached) " >&6
   5155 else
   5156   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5157 /* end confdefs.h.  */
   5158 int i;
   5159 _ACEOF
   5160 if ac_fn_c_try_compile "$LINENO"; then :
   5161   xorg_cv_cc_flag_unknown_warning_option=yes
   5162 else
   5163   xorg_cv_cc_flag_unknown_warning_option=no
   5164 fi
   5165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5166 fi
   5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5168 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5169 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5170 	CFLAGS="$xorg_testset_save_CFLAGS"
   5171 fi
   5172 
   5173 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5174 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5175 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5176 	fi
   5177 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5178 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5179 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5180 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5181   $as_echo_n "(cached) " >&6
   5182 else
   5183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5184 /* end confdefs.h.  */
   5185 int i;
   5186 _ACEOF
   5187 if ac_fn_c_try_compile "$LINENO"; then :
   5188   xorg_cv_cc_flag_unused_command_line_argument=yes
   5189 else
   5190   xorg_cv_cc_flag_unused_command_line_argument=no
   5191 fi
   5192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5193 fi
   5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5195 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5196 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5197 	CFLAGS="$xorg_testset_save_CFLAGS"
   5198 fi
   5199 
   5200 found="no"
   5201 
   5202 	if test $found = "no" ; then
   5203 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5204 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5205 		fi
   5206 
   5207 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5208 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5209 		fi
   5210 
   5211 		CFLAGS="$CFLAGS -Wmissing-declarations"
   5212 
   5213 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
   5214 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
   5215 		cacheid=xorg_cv_cc_flag__Wmissing_declarations
   5216 		if eval \${$cacheid+:} false; then :
   5217   $as_echo_n "(cached) " >&6
   5218 else
   5219   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5220 /* end confdefs.h.  */
   5221 int i;
   5222 int
   5223 main ()
   5224 {
   5225 
   5226   ;
   5227   return 0;
   5228 }
   5229 _ACEOF
   5230 if ac_fn_c_try_link "$LINENO"; then :
   5231   eval $cacheid=yes
   5232 else
   5233   eval $cacheid=no
   5234 fi
   5235 rm -f core conftest.err conftest.$ac_objext \
   5236     conftest$ac_exeext conftest.$ac_ext
   5237 fi
   5238 
   5239 
   5240 		CFLAGS="$xorg_testset_save_CFLAGS"
   5241 
   5242 		eval supported=\$$cacheid
   5243 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5244 $as_echo "$supported" >&6; }
   5245 		if test "$supported" = "yes" ; then
   5246 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-declarations"
   5247 			found="yes"
   5248 		fi
   5249 	fi
   5250 
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 xorg_testset_save_CFLAGS="$CFLAGS"
   5266 
   5267 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5268 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5269 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5270 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5271 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5272   $as_echo_n "(cached) " >&6
   5273 else
   5274   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5275 /* end confdefs.h.  */
   5276 int i;
   5277 _ACEOF
   5278 if ac_fn_c_try_compile "$LINENO"; then :
   5279   xorg_cv_cc_flag_unknown_warning_option=yes
   5280 else
   5281   xorg_cv_cc_flag_unknown_warning_option=no
   5282 fi
   5283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5284 fi
   5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5286 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5287 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5288 	CFLAGS="$xorg_testset_save_CFLAGS"
   5289 fi
   5290 
   5291 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5292 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5293 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5294 	fi
   5295 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5296 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5297 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5298 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5299   $as_echo_n "(cached) " >&6
   5300 else
   5301   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5302 /* end confdefs.h.  */
   5303 int i;
   5304 _ACEOF
   5305 if ac_fn_c_try_compile "$LINENO"; then :
   5306   xorg_cv_cc_flag_unused_command_line_argument=yes
   5307 else
   5308   xorg_cv_cc_flag_unused_command_line_argument=no
   5309 fi
   5310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5311 fi
   5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5313 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5314 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5315 	CFLAGS="$xorg_testset_save_CFLAGS"
   5316 fi
   5317 
   5318 found="no"
   5319 
   5320 	if test $found = "no" ; then
   5321 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5322 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5323 		fi
   5324 
   5325 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5326 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5327 		fi
   5328 
   5329 		CFLAGS="$CFLAGS -Wformat=2"
   5330 
   5331 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
   5332 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
   5333 		cacheid=xorg_cv_cc_flag__Wformat_2
   5334 		if eval \${$cacheid+:} false; then :
   5335   $as_echo_n "(cached) " >&6
   5336 else
   5337   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5338 /* end confdefs.h.  */
   5339 int i;
   5340 int
   5341 main ()
   5342 {
   5343 
   5344   ;
   5345   return 0;
   5346 }
   5347 _ACEOF
   5348 if ac_fn_c_try_link "$LINENO"; then :
   5349   eval $cacheid=yes
   5350 else
   5351   eval $cacheid=no
   5352 fi
   5353 rm -f core conftest.err conftest.$ac_objext \
   5354     conftest$ac_exeext conftest.$ac_ext
   5355 fi
   5356 
   5357 
   5358 		CFLAGS="$xorg_testset_save_CFLAGS"
   5359 
   5360 		eval supported=\$$cacheid
   5361 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5362 $as_echo "$supported" >&6; }
   5363 		if test "$supported" = "yes" ; then
   5364 			BASE_CFLAGS="$BASE_CFLAGS -Wformat=2"
   5365 			found="yes"
   5366 		fi
   5367 	fi
   5368 
   5369 	if test $found = "no" ; then
   5370 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5371 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5372 		fi
   5373 
   5374 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5375 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5376 		fi
   5377 
   5378 		CFLAGS="$CFLAGS -Wformat"
   5379 
   5380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat" >&5
   5381 $as_echo_n "checking if $CC supports -Wformat... " >&6; }
   5382 		cacheid=xorg_cv_cc_flag__Wformat
   5383 		if eval \${$cacheid+:} false; then :
   5384   $as_echo_n "(cached) " >&6
   5385 else
   5386   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5387 /* end confdefs.h.  */
   5388 int i;
   5389 int
   5390 main ()
   5391 {
   5392 
   5393   ;
   5394   return 0;
   5395 }
   5396 _ACEOF
   5397 if ac_fn_c_try_link "$LINENO"; then :
   5398   eval $cacheid=yes
   5399 else
   5400   eval $cacheid=no
   5401 fi
   5402 rm -f core conftest.err conftest.$ac_objext \
   5403     conftest$ac_exeext conftest.$ac_ext
   5404 fi
   5405 
   5406 
   5407 		CFLAGS="$xorg_testset_save_CFLAGS"
   5408 
   5409 		eval supported=\$$cacheid
   5410 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5411 $as_echo "$supported" >&6; }
   5412 		if test "$supported" = "yes" ; then
   5413 			BASE_CFLAGS="$BASE_CFLAGS -Wformat"
   5414 			found="yes"
   5415 		fi
   5416 	fi
   5417 
   5418 
   5419 
   5420 
   5421 
   5422 
   5423 
   5424 
   5425 
   5426 
   5427 
   5428 
   5429 
   5430 
   5431 
   5432 
   5433 
   5434 xorg_testset_save_CFLAGS="$CFLAGS"
   5435 
   5436 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5437 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5438 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5439 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5440 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5441   $as_echo_n "(cached) " >&6
   5442 else
   5443   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5444 /* end confdefs.h.  */
   5445 int i;
   5446 _ACEOF
   5447 if ac_fn_c_try_compile "$LINENO"; then :
   5448   xorg_cv_cc_flag_unknown_warning_option=yes
   5449 else
   5450   xorg_cv_cc_flag_unknown_warning_option=no
   5451 fi
   5452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5453 fi
   5454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5455 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5456 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5457 	CFLAGS="$xorg_testset_save_CFLAGS"
   5458 fi
   5459 
   5460 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5461 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5462 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5463 	fi
   5464 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5465 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5466 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5467 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5468   $as_echo_n "(cached) " >&6
   5469 else
   5470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5471 /* end confdefs.h.  */
   5472 int i;
   5473 _ACEOF
   5474 if ac_fn_c_try_compile "$LINENO"; then :
   5475   xorg_cv_cc_flag_unused_command_line_argument=yes
   5476 else
   5477   xorg_cv_cc_flag_unused_command_line_argument=no
   5478 fi
   5479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5480 fi
   5481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5482 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5483 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5484 	CFLAGS="$xorg_testset_save_CFLAGS"
   5485 fi
   5486 
   5487 found="no"
   5488 
   5489 	if test $found = "no" ; then
   5490 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5491 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5492 		fi
   5493 
   5494 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5495 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5496 		fi
   5497 
   5498 		CFLAGS="$CFLAGS -Wstrict-prototypes"
   5499 
   5500 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
   5501 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
   5502 		cacheid=xorg_cv_cc_flag__Wstrict_prototypes
   5503 		if eval \${$cacheid+:} false; then :
   5504   $as_echo_n "(cached) " >&6
   5505 else
   5506   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5507 /* end confdefs.h.  */
   5508 int i;
   5509 int
   5510 main ()
   5511 {
   5512 
   5513   ;
   5514   return 0;
   5515 }
   5516 _ACEOF
   5517 if ac_fn_c_try_link "$LINENO"; then :
   5518   eval $cacheid=yes
   5519 else
   5520   eval $cacheid=no
   5521 fi
   5522 rm -f core conftest.err conftest.$ac_objext \
   5523     conftest$ac_exeext conftest.$ac_ext
   5524 fi
   5525 
   5526 
   5527 		CFLAGS="$xorg_testset_save_CFLAGS"
   5528 
   5529 		eval supported=\$$cacheid
   5530 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5531 $as_echo "$supported" >&6; }
   5532 		if test "$supported" = "yes" ; then
   5533 			BASE_CFLAGS="$BASE_CFLAGS -Wstrict-prototypes"
   5534 			found="yes"
   5535 		fi
   5536 	fi
   5537 
   5538 
   5539 
   5540 
   5541 
   5542 
   5543 
   5544 
   5545 
   5546 
   5547 
   5548 
   5549 
   5550 
   5551 
   5552 xorg_testset_save_CFLAGS="$CFLAGS"
   5553 
   5554 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5555 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5556 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5557 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5558 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5559   $as_echo_n "(cached) " >&6
   5560 else
   5561   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5562 /* end confdefs.h.  */
   5563 int i;
   5564 _ACEOF
   5565 if ac_fn_c_try_compile "$LINENO"; then :
   5566   xorg_cv_cc_flag_unknown_warning_option=yes
   5567 else
   5568   xorg_cv_cc_flag_unknown_warning_option=no
   5569 fi
   5570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5571 fi
   5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5573 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5574 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5575 	CFLAGS="$xorg_testset_save_CFLAGS"
   5576 fi
   5577 
   5578 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5579 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5580 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5581 	fi
   5582 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5583 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5584 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5585 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5586   $as_echo_n "(cached) " >&6
   5587 else
   5588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5589 /* end confdefs.h.  */
   5590 int i;
   5591 _ACEOF
   5592 if ac_fn_c_try_compile "$LINENO"; then :
   5593   xorg_cv_cc_flag_unused_command_line_argument=yes
   5594 else
   5595   xorg_cv_cc_flag_unused_command_line_argument=no
   5596 fi
   5597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5598 fi
   5599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5600 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5601 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5602 	CFLAGS="$xorg_testset_save_CFLAGS"
   5603 fi
   5604 
   5605 found="no"
   5606 
   5607 	if test $found = "no" ; then
   5608 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5609 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5610 		fi
   5611 
   5612 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5613 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5614 		fi
   5615 
   5616 		CFLAGS="$CFLAGS -Wmissing-prototypes"
   5617 
   5618 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
   5619 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
   5620 		cacheid=xorg_cv_cc_flag__Wmissing_prototypes
   5621 		if eval \${$cacheid+:} false; then :
   5622   $as_echo_n "(cached) " >&6
   5623 else
   5624   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5625 /* end confdefs.h.  */
   5626 int i;
   5627 int
   5628 main ()
   5629 {
   5630 
   5631   ;
   5632   return 0;
   5633 }
   5634 _ACEOF
   5635 if ac_fn_c_try_link "$LINENO"; then :
   5636   eval $cacheid=yes
   5637 else
   5638   eval $cacheid=no
   5639 fi
   5640 rm -f core conftest.err conftest.$ac_objext \
   5641     conftest$ac_exeext conftest.$ac_ext
   5642 fi
   5643 
   5644 
   5645 		CFLAGS="$xorg_testset_save_CFLAGS"
   5646 
   5647 		eval supported=\$$cacheid
   5648 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5649 $as_echo "$supported" >&6; }
   5650 		if test "$supported" = "yes" ; then
   5651 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-prototypes"
   5652 			found="yes"
   5653 		fi
   5654 	fi
   5655 
   5656 
   5657 
   5658 
   5659 
   5660 
   5661 
   5662 
   5663 
   5664 
   5665 
   5666 
   5667 
   5668 
   5669 
   5670 xorg_testset_save_CFLAGS="$CFLAGS"
   5671 
   5672 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5673 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5674 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5675 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5676 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5677   $as_echo_n "(cached) " >&6
   5678 else
   5679   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5680 /* end confdefs.h.  */
   5681 int i;
   5682 _ACEOF
   5683 if ac_fn_c_try_compile "$LINENO"; then :
   5684   xorg_cv_cc_flag_unknown_warning_option=yes
   5685 else
   5686   xorg_cv_cc_flag_unknown_warning_option=no
   5687 fi
   5688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5689 fi
   5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5691 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5692 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5693 	CFLAGS="$xorg_testset_save_CFLAGS"
   5694 fi
   5695 
   5696 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5697 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5698 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5699 	fi
   5700 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5701 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5702 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5703 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5704   $as_echo_n "(cached) " >&6
   5705 else
   5706   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5707 /* end confdefs.h.  */
   5708 int i;
   5709 _ACEOF
   5710 if ac_fn_c_try_compile "$LINENO"; then :
   5711   xorg_cv_cc_flag_unused_command_line_argument=yes
   5712 else
   5713   xorg_cv_cc_flag_unused_command_line_argument=no
   5714 fi
   5715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5716 fi
   5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5718 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5719 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5720 	CFLAGS="$xorg_testset_save_CFLAGS"
   5721 fi
   5722 
   5723 found="no"
   5724 
   5725 	if test $found = "no" ; then
   5726 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5727 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5728 		fi
   5729 
   5730 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5731 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5732 		fi
   5733 
   5734 		CFLAGS="$CFLAGS -Wnested-externs"
   5735 
   5736 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
   5737 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
   5738 		cacheid=xorg_cv_cc_flag__Wnested_externs
   5739 		if eval \${$cacheid+:} false; then :
   5740   $as_echo_n "(cached) " >&6
   5741 else
   5742   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5743 /* end confdefs.h.  */
   5744 int i;
   5745 int
   5746 main ()
   5747 {
   5748 
   5749   ;
   5750   return 0;
   5751 }
   5752 _ACEOF
   5753 if ac_fn_c_try_link "$LINENO"; then :
   5754   eval $cacheid=yes
   5755 else
   5756   eval $cacheid=no
   5757 fi
   5758 rm -f core conftest.err conftest.$ac_objext \
   5759     conftest$ac_exeext conftest.$ac_ext
   5760 fi
   5761 
   5762 
   5763 		CFLAGS="$xorg_testset_save_CFLAGS"
   5764 
   5765 		eval supported=\$$cacheid
   5766 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5767 $as_echo "$supported" >&6; }
   5768 		if test "$supported" = "yes" ; then
   5769 			BASE_CFLAGS="$BASE_CFLAGS -Wnested-externs"
   5770 			found="yes"
   5771 		fi
   5772 	fi
   5773 
   5774 
   5775 
   5776 
   5777 
   5778 
   5779 
   5780 
   5781 
   5782 
   5783 
   5784 
   5785 
   5786 
   5787 
   5788 xorg_testset_save_CFLAGS="$CFLAGS"
   5789 
   5790 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5791 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5792 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5793 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5794 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5795   $as_echo_n "(cached) " >&6
   5796 else
   5797   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5798 /* end confdefs.h.  */
   5799 int i;
   5800 _ACEOF
   5801 if ac_fn_c_try_compile "$LINENO"; then :
   5802   xorg_cv_cc_flag_unknown_warning_option=yes
   5803 else
   5804   xorg_cv_cc_flag_unknown_warning_option=no
   5805 fi
   5806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5807 fi
   5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5809 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5810 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5811 	CFLAGS="$xorg_testset_save_CFLAGS"
   5812 fi
   5813 
   5814 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5815 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5816 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5817 	fi
   5818 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5819 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5820 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5821 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5822   $as_echo_n "(cached) " >&6
   5823 else
   5824   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5825 /* end confdefs.h.  */
   5826 int i;
   5827 _ACEOF
   5828 if ac_fn_c_try_compile "$LINENO"; then :
   5829   xorg_cv_cc_flag_unused_command_line_argument=yes
   5830 else
   5831   xorg_cv_cc_flag_unused_command_line_argument=no
   5832 fi
   5833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5834 fi
   5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5836 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5837 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5838 	CFLAGS="$xorg_testset_save_CFLAGS"
   5839 fi
   5840 
   5841 found="no"
   5842 
   5843 	if test $found = "no" ; then
   5844 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5845 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5846 		fi
   5847 
   5848 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5849 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5850 		fi
   5851 
   5852 		CFLAGS="$CFLAGS -Wbad-function-cast"
   5853 
   5854 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
   5855 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
   5856 		cacheid=xorg_cv_cc_flag__Wbad_function_cast
   5857 		if eval \${$cacheid+:} false; then :
   5858   $as_echo_n "(cached) " >&6
   5859 else
   5860   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5861 /* end confdefs.h.  */
   5862 int i;
   5863 int
   5864 main ()
   5865 {
   5866 
   5867   ;
   5868   return 0;
   5869 }
   5870 _ACEOF
   5871 if ac_fn_c_try_link "$LINENO"; then :
   5872   eval $cacheid=yes
   5873 else
   5874   eval $cacheid=no
   5875 fi
   5876 rm -f core conftest.err conftest.$ac_objext \
   5877     conftest$ac_exeext conftest.$ac_ext
   5878 fi
   5879 
   5880 
   5881 		CFLAGS="$xorg_testset_save_CFLAGS"
   5882 
   5883 		eval supported=\$$cacheid
   5884 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   5885 $as_echo "$supported" >&6; }
   5886 		if test "$supported" = "yes" ; then
   5887 			BASE_CFLAGS="$BASE_CFLAGS -Wbad-function-cast"
   5888 			found="yes"
   5889 		fi
   5890 	fi
   5891 
   5892 
   5893 
   5894 
   5895 
   5896 
   5897 
   5898 
   5899 
   5900 
   5901 
   5902 
   5903 
   5904 
   5905 
   5906 xorg_testset_save_CFLAGS="$CFLAGS"
   5907 
   5908 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   5909 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5910 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   5911 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   5912 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   5913   $as_echo_n "(cached) " >&6
   5914 else
   5915   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5916 /* end confdefs.h.  */
   5917 int i;
   5918 _ACEOF
   5919 if ac_fn_c_try_compile "$LINENO"; then :
   5920   xorg_cv_cc_flag_unknown_warning_option=yes
   5921 else
   5922   xorg_cv_cc_flag_unknown_warning_option=no
   5923 fi
   5924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5925 fi
   5926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   5927 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   5928 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   5929 	CFLAGS="$xorg_testset_save_CFLAGS"
   5930 fi
   5931 
   5932 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   5933 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5934 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5935 	fi
   5936 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5937 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   5938 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   5939 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   5940   $as_echo_n "(cached) " >&6
   5941 else
   5942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5943 /* end confdefs.h.  */
   5944 int i;
   5945 _ACEOF
   5946 if ac_fn_c_try_compile "$LINENO"; then :
   5947   xorg_cv_cc_flag_unused_command_line_argument=yes
   5948 else
   5949   xorg_cv_cc_flag_unused_command_line_argument=no
   5950 fi
   5951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   5952 fi
   5953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   5954 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   5955 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   5956 	CFLAGS="$xorg_testset_save_CFLAGS"
   5957 fi
   5958 
   5959 found="no"
   5960 
   5961 	if test $found = "no" ; then
   5962 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   5963 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   5964 		fi
   5965 
   5966 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   5967 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   5968 		fi
   5969 
   5970 		CFLAGS="$CFLAGS -Wold-style-definition"
   5971 
   5972 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
   5973 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
   5974 		cacheid=xorg_cv_cc_flag__Wold_style_definition
   5975 		if eval \${$cacheid+:} false; then :
   5976   $as_echo_n "(cached) " >&6
   5977 else
   5978   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   5979 /* end confdefs.h.  */
   5980 int i;
   5981 int
   5982 main ()
   5983 {
   5984 
   5985   ;
   5986   return 0;
   5987 }
   5988 _ACEOF
   5989 if ac_fn_c_try_link "$LINENO"; then :
   5990   eval $cacheid=yes
   5991 else
   5992   eval $cacheid=no
   5993 fi
   5994 rm -f core conftest.err conftest.$ac_objext \
   5995     conftest$ac_exeext conftest.$ac_ext
   5996 fi
   5997 
   5998 
   5999 		CFLAGS="$xorg_testset_save_CFLAGS"
   6000 
   6001 		eval supported=\$$cacheid
   6002 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6003 $as_echo "$supported" >&6; }
   6004 		if test "$supported" = "yes" ; then
   6005 			BASE_CFLAGS="$BASE_CFLAGS -Wold-style-definition"
   6006 			found="yes"
   6007 		fi
   6008 	fi
   6009 
   6010 	if test $found = "no" ; then
   6011 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6012 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6013 		fi
   6014 
   6015 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6016 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6017 		fi
   6018 
   6019 		CFLAGS="$CFLAGS -fd"
   6020 
   6021 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fd" >&5
   6022 $as_echo_n "checking if $CC supports -fd... " >&6; }
   6023 		cacheid=xorg_cv_cc_flag__fd
   6024 		if eval \${$cacheid+:} false; then :
   6025   $as_echo_n "(cached) " >&6
   6026 else
   6027   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6028 /* end confdefs.h.  */
   6029 int i;
   6030 int
   6031 main ()
   6032 {
   6033 
   6034   ;
   6035   return 0;
   6036 }
   6037 _ACEOF
   6038 if ac_fn_c_try_link "$LINENO"; then :
   6039   eval $cacheid=yes
   6040 else
   6041   eval $cacheid=no
   6042 fi
   6043 rm -f core conftest.err conftest.$ac_objext \
   6044     conftest$ac_exeext conftest.$ac_ext
   6045 fi
   6046 
   6047 
   6048 		CFLAGS="$xorg_testset_save_CFLAGS"
   6049 
   6050 		eval supported=\$$cacheid
   6051 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6052 $as_echo "$supported" >&6; }
   6053 		if test "$supported" = "yes" ; then
   6054 			BASE_CFLAGS="$BASE_CFLAGS -fd"
   6055 			found="yes"
   6056 		fi
   6057 	fi
   6058 
   6059 
   6060 
   6061 
   6062 
   6063 
   6064 
   6065 
   6066 
   6067 
   6068 
   6069 
   6070 
   6071 
   6072 
   6073 xorg_testset_save_CFLAGS="$CFLAGS"
   6074 
   6075 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6076 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6077 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6078 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6079 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6080   $as_echo_n "(cached) " >&6
   6081 else
   6082   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6083 /* end confdefs.h.  */
   6084 int i;
   6085 _ACEOF
   6086 if ac_fn_c_try_compile "$LINENO"; then :
   6087   xorg_cv_cc_flag_unknown_warning_option=yes
   6088 else
   6089   xorg_cv_cc_flag_unknown_warning_option=no
   6090 fi
   6091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6092 fi
   6093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6094 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6095 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6096 	CFLAGS="$xorg_testset_save_CFLAGS"
   6097 fi
   6098 
   6099 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6100 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6101 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6102 	fi
   6103 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6104 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6105 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6106 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6107   $as_echo_n "(cached) " >&6
   6108 else
   6109   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6110 /* end confdefs.h.  */
   6111 int i;
   6112 _ACEOF
   6113 if ac_fn_c_try_compile "$LINENO"; then :
   6114   xorg_cv_cc_flag_unused_command_line_argument=yes
   6115 else
   6116   xorg_cv_cc_flag_unused_command_line_argument=no
   6117 fi
   6118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6119 fi
   6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6121 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6122 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6123 	CFLAGS="$xorg_testset_save_CFLAGS"
   6124 fi
   6125 
   6126 found="no"
   6127 
   6128 	if test $found = "no" ; then
   6129 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6130 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6131 		fi
   6132 
   6133 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6134 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6135 		fi
   6136 
   6137 		CFLAGS="$CFLAGS -Wdeclaration-after-statement"
   6138 
   6139 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
   6140 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
   6141 		cacheid=xorg_cv_cc_flag__Wdeclaration_after_statement
   6142 		if eval \${$cacheid+:} false; then :
   6143   $as_echo_n "(cached) " >&6
   6144 else
   6145   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6146 /* end confdefs.h.  */
   6147 int i;
   6148 int
   6149 main ()
   6150 {
   6151 
   6152   ;
   6153   return 0;
   6154 }
   6155 _ACEOF
   6156 if ac_fn_c_try_link "$LINENO"; then :
   6157   eval $cacheid=yes
   6158 else
   6159   eval $cacheid=no
   6160 fi
   6161 rm -f core conftest.err conftest.$ac_objext \
   6162     conftest$ac_exeext conftest.$ac_ext
   6163 fi
   6164 
   6165 
   6166 		CFLAGS="$xorg_testset_save_CFLAGS"
   6167 
   6168 		eval supported=\$$cacheid
   6169 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6170 $as_echo "$supported" >&6; }
   6171 		if test "$supported" = "yes" ; then
   6172 			BASE_CFLAGS="$BASE_CFLAGS -Wdeclaration-after-statement"
   6173 			found="yes"
   6174 		fi
   6175 	fi
   6176 
   6177 
   6178 
   6179 
   6180 
   6181 # This chunk adds additional warnings that could catch undesired effects.
   6182 
   6183 
   6184 
   6185 
   6186 
   6187 
   6188 
   6189 
   6190 
   6191 
   6192 
   6193 
   6194 
   6195 xorg_testset_save_CFLAGS="$CFLAGS"
   6196 
   6197 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6198 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6199 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6200 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6201 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6202   $as_echo_n "(cached) " >&6
   6203 else
   6204   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6205 /* end confdefs.h.  */
   6206 int i;
   6207 _ACEOF
   6208 if ac_fn_c_try_compile "$LINENO"; then :
   6209   xorg_cv_cc_flag_unknown_warning_option=yes
   6210 else
   6211   xorg_cv_cc_flag_unknown_warning_option=no
   6212 fi
   6213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6214 fi
   6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6216 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6217 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6218 	CFLAGS="$xorg_testset_save_CFLAGS"
   6219 fi
   6220 
   6221 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6222 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6223 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6224 	fi
   6225 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6226 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6227 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6228 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6229   $as_echo_n "(cached) " >&6
   6230 else
   6231   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6232 /* end confdefs.h.  */
   6233 int i;
   6234 _ACEOF
   6235 if ac_fn_c_try_compile "$LINENO"; then :
   6236   xorg_cv_cc_flag_unused_command_line_argument=yes
   6237 else
   6238   xorg_cv_cc_flag_unused_command_line_argument=no
   6239 fi
   6240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6241 fi
   6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6243 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6244 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6245 	CFLAGS="$xorg_testset_save_CFLAGS"
   6246 fi
   6247 
   6248 found="no"
   6249 
   6250 	if test $found = "no" ; then
   6251 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6252 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6253 		fi
   6254 
   6255 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6256 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6257 		fi
   6258 
   6259 		CFLAGS="$CFLAGS -Wunused"
   6260 
   6261 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wunused" >&5
   6262 $as_echo_n "checking if $CC supports -Wunused... " >&6; }
   6263 		cacheid=xorg_cv_cc_flag__Wunused
   6264 		if eval \${$cacheid+:} false; then :
   6265   $as_echo_n "(cached) " >&6
   6266 else
   6267   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6268 /* end confdefs.h.  */
   6269 int i;
   6270 int
   6271 main ()
   6272 {
   6273 
   6274   ;
   6275   return 0;
   6276 }
   6277 _ACEOF
   6278 if ac_fn_c_try_link "$LINENO"; then :
   6279   eval $cacheid=yes
   6280 else
   6281   eval $cacheid=no
   6282 fi
   6283 rm -f core conftest.err conftest.$ac_objext \
   6284     conftest$ac_exeext conftest.$ac_ext
   6285 fi
   6286 
   6287 
   6288 		CFLAGS="$xorg_testset_save_CFLAGS"
   6289 
   6290 		eval supported=\$$cacheid
   6291 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6292 $as_echo "$supported" >&6; }
   6293 		if test "$supported" = "yes" ; then
   6294 			BASE_CFLAGS="$BASE_CFLAGS -Wunused"
   6295 			found="yes"
   6296 		fi
   6297 	fi
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 xorg_testset_save_CFLAGS="$CFLAGS"
   6314 
   6315 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6316 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6317 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6318 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6319 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6320   $as_echo_n "(cached) " >&6
   6321 else
   6322   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6323 /* end confdefs.h.  */
   6324 int i;
   6325 _ACEOF
   6326 if ac_fn_c_try_compile "$LINENO"; then :
   6327   xorg_cv_cc_flag_unknown_warning_option=yes
   6328 else
   6329   xorg_cv_cc_flag_unknown_warning_option=no
   6330 fi
   6331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6332 fi
   6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6334 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6335 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6336 	CFLAGS="$xorg_testset_save_CFLAGS"
   6337 fi
   6338 
   6339 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6340 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6341 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6342 	fi
   6343 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6344 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6345 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6346 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6347   $as_echo_n "(cached) " >&6
   6348 else
   6349   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6350 /* end confdefs.h.  */
   6351 int i;
   6352 _ACEOF
   6353 if ac_fn_c_try_compile "$LINENO"; then :
   6354   xorg_cv_cc_flag_unused_command_line_argument=yes
   6355 else
   6356   xorg_cv_cc_flag_unused_command_line_argument=no
   6357 fi
   6358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6359 fi
   6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6361 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6362 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6363 	CFLAGS="$xorg_testset_save_CFLAGS"
   6364 fi
   6365 
   6366 found="no"
   6367 
   6368 	if test $found = "no" ; then
   6369 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6370 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6371 		fi
   6372 
   6373 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6374 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6375 		fi
   6376 
   6377 		CFLAGS="$CFLAGS -Wuninitialized"
   6378 
   6379 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
   6380 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
   6381 		cacheid=xorg_cv_cc_flag__Wuninitialized
   6382 		if eval \${$cacheid+:} false; then :
   6383   $as_echo_n "(cached) " >&6
   6384 else
   6385   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6386 /* end confdefs.h.  */
   6387 int i;
   6388 int
   6389 main ()
   6390 {
   6391 
   6392   ;
   6393   return 0;
   6394 }
   6395 _ACEOF
   6396 if ac_fn_c_try_link "$LINENO"; then :
   6397   eval $cacheid=yes
   6398 else
   6399   eval $cacheid=no
   6400 fi
   6401 rm -f core conftest.err conftest.$ac_objext \
   6402     conftest$ac_exeext conftest.$ac_ext
   6403 fi
   6404 
   6405 
   6406 		CFLAGS="$xorg_testset_save_CFLAGS"
   6407 
   6408 		eval supported=\$$cacheid
   6409 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6410 $as_echo "$supported" >&6; }
   6411 		if test "$supported" = "yes" ; then
   6412 			BASE_CFLAGS="$BASE_CFLAGS -Wuninitialized"
   6413 			found="yes"
   6414 		fi
   6415 	fi
   6416 
   6417 
   6418 
   6419 
   6420 
   6421 
   6422 
   6423 
   6424 
   6425 
   6426 
   6427 
   6428 
   6429 
   6430 
   6431 xorg_testset_save_CFLAGS="$CFLAGS"
   6432 
   6433 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6434 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6435 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6436 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6437 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6438   $as_echo_n "(cached) " >&6
   6439 else
   6440   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6441 /* end confdefs.h.  */
   6442 int i;
   6443 _ACEOF
   6444 if ac_fn_c_try_compile "$LINENO"; then :
   6445   xorg_cv_cc_flag_unknown_warning_option=yes
   6446 else
   6447   xorg_cv_cc_flag_unknown_warning_option=no
   6448 fi
   6449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6450 fi
   6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6452 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6453 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6454 	CFLAGS="$xorg_testset_save_CFLAGS"
   6455 fi
   6456 
   6457 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6458 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6459 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6460 	fi
   6461 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6462 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6463 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6464 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6465   $as_echo_n "(cached) " >&6
   6466 else
   6467   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6468 /* end confdefs.h.  */
   6469 int i;
   6470 _ACEOF
   6471 if ac_fn_c_try_compile "$LINENO"; then :
   6472   xorg_cv_cc_flag_unused_command_line_argument=yes
   6473 else
   6474   xorg_cv_cc_flag_unused_command_line_argument=no
   6475 fi
   6476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6477 fi
   6478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6479 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6480 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6481 	CFLAGS="$xorg_testset_save_CFLAGS"
   6482 fi
   6483 
   6484 found="no"
   6485 
   6486 	if test $found = "no" ; then
   6487 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6488 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6489 		fi
   6490 
   6491 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6492 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6493 		fi
   6494 
   6495 		CFLAGS="$CFLAGS -Wshadow"
   6496 
   6497 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
   6498 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
   6499 		cacheid=xorg_cv_cc_flag__Wshadow
   6500 		if eval \${$cacheid+:} false; then :
   6501   $as_echo_n "(cached) " >&6
   6502 else
   6503   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6504 /* end confdefs.h.  */
   6505 int i;
   6506 int
   6507 main ()
   6508 {
   6509 
   6510   ;
   6511   return 0;
   6512 }
   6513 _ACEOF
   6514 if ac_fn_c_try_link "$LINENO"; then :
   6515   eval $cacheid=yes
   6516 else
   6517   eval $cacheid=no
   6518 fi
   6519 rm -f core conftest.err conftest.$ac_objext \
   6520     conftest$ac_exeext conftest.$ac_ext
   6521 fi
   6522 
   6523 
   6524 		CFLAGS="$xorg_testset_save_CFLAGS"
   6525 
   6526 		eval supported=\$$cacheid
   6527 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6528 $as_echo "$supported" >&6; }
   6529 		if test "$supported" = "yes" ; then
   6530 			BASE_CFLAGS="$BASE_CFLAGS -Wshadow"
   6531 			found="yes"
   6532 		fi
   6533 	fi
   6534 
   6535 
   6536 
   6537 
   6538 
   6539 
   6540 
   6541 
   6542 
   6543 
   6544 
   6545 
   6546 
   6547 
   6548 
   6549 xorg_testset_save_CFLAGS="$CFLAGS"
   6550 
   6551 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6552 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6553 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6554 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6555 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6556   $as_echo_n "(cached) " >&6
   6557 else
   6558   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6559 /* end confdefs.h.  */
   6560 int i;
   6561 _ACEOF
   6562 if ac_fn_c_try_compile "$LINENO"; then :
   6563   xorg_cv_cc_flag_unknown_warning_option=yes
   6564 else
   6565   xorg_cv_cc_flag_unknown_warning_option=no
   6566 fi
   6567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6568 fi
   6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6570 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6571 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6572 	CFLAGS="$xorg_testset_save_CFLAGS"
   6573 fi
   6574 
   6575 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6576 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6577 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6578 	fi
   6579 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6580 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6581 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6582 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6583   $as_echo_n "(cached) " >&6
   6584 else
   6585   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6586 /* end confdefs.h.  */
   6587 int i;
   6588 _ACEOF
   6589 if ac_fn_c_try_compile "$LINENO"; then :
   6590   xorg_cv_cc_flag_unused_command_line_argument=yes
   6591 else
   6592   xorg_cv_cc_flag_unused_command_line_argument=no
   6593 fi
   6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6595 fi
   6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6597 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6598 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6599 	CFLAGS="$xorg_testset_save_CFLAGS"
   6600 fi
   6601 
   6602 found="no"
   6603 
   6604 	if test $found = "no" ; then
   6605 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6606 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6607 		fi
   6608 
   6609 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6610 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6611 		fi
   6612 
   6613 		CFLAGS="$CFLAGS -Wmissing-noreturn"
   6614 
   6615 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-noreturn" >&5
   6616 $as_echo_n "checking if $CC supports -Wmissing-noreturn... " >&6; }
   6617 		cacheid=xorg_cv_cc_flag__Wmissing_noreturn
   6618 		if eval \${$cacheid+:} false; then :
   6619   $as_echo_n "(cached) " >&6
   6620 else
   6621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6622 /* end confdefs.h.  */
   6623 int i;
   6624 int
   6625 main ()
   6626 {
   6627 
   6628   ;
   6629   return 0;
   6630 }
   6631 _ACEOF
   6632 if ac_fn_c_try_link "$LINENO"; then :
   6633   eval $cacheid=yes
   6634 else
   6635   eval $cacheid=no
   6636 fi
   6637 rm -f core conftest.err conftest.$ac_objext \
   6638     conftest$ac_exeext conftest.$ac_ext
   6639 fi
   6640 
   6641 
   6642 		CFLAGS="$xorg_testset_save_CFLAGS"
   6643 
   6644 		eval supported=\$$cacheid
   6645 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6646 $as_echo "$supported" >&6; }
   6647 		if test "$supported" = "yes" ; then
   6648 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-noreturn"
   6649 			found="yes"
   6650 		fi
   6651 	fi
   6652 
   6653 
   6654 
   6655 
   6656 
   6657 
   6658 
   6659 
   6660 
   6661 
   6662 
   6663 
   6664 
   6665 
   6666 
   6667 xorg_testset_save_CFLAGS="$CFLAGS"
   6668 
   6669 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6670 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6671 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6672 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6673 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6674   $as_echo_n "(cached) " >&6
   6675 else
   6676   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6677 /* end confdefs.h.  */
   6678 int i;
   6679 _ACEOF
   6680 if ac_fn_c_try_compile "$LINENO"; then :
   6681   xorg_cv_cc_flag_unknown_warning_option=yes
   6682 else
   6683   xorg_cv_cc_flag_unknown_warning_option=no
   6684 fi
   6685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6686 fi
   6687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6688 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6689 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6690 	CFLAGS="$xorg_testset_save_CFLAGS"
   6691 fi
   6692 
   6693 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6694 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6695 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6696 	fi
   6697 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6698 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6699 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6700 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6701   $as_echo_n "(cached) " >&6
   6702 else
   6703   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6704 /* end confdefs.h.  */
   6705 int i;
   6706 _ACEOF
   6707 if ac_fn_c_try_compile "$LINENO"; then :
   6708   xorg_cv_cc_flag_unused_command_line_argument=yes
   6709 else
   6710   xorg_cv_cc_flag_unused_command_line_argument=no
   6711 fi
   6712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6713 fi
   6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6715 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6716 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6717 	CFLAGS="$xorg_testset_save_CFLAGS"
   6718 fi
   6719 
   6720 found="no"
   6721 
   6722 	if test $found = "no" ; then
   6723 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6724 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6725 		fi
   6726 
   6727 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6728 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6729 		fi
   6730 
   6731 		CFLAGS="$CFLAGS -Wmissing-format-attribute"
   6732 
   6733 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
   6734 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
   6735 		cacheid=xorg_cv_cc_flag__Wmissing_format_attribute
   6736 		if eval \${$cacheid+:} false; then :
   6737   $as_echo_n "(cached) " >&6
   6738 else
   6739   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6740 /* end confdefs.h.  */
   6741 int i;
   6742 int
   6743 main ()
   6744 {
   6745 
   6746   ;
   6747   return 0;
   6748 }
   6749 _ACEOF
   6750 if ac_fn_c_try_link "$LINENO"; then :
   6751   eval $cacheid=yes
   6752 else
   6753   eval $cacheid=no
   6754 fi
   6755 rm -f core conftest.err conftest.$ac_objext \
   6756     conftest$ac_exeext conftest.$ac_ext
   6757 fi
   6758 
   6759 
   6760 		CFLAGS="$xorg_testset_save_CFLAGS"
   6761 
   6762 		eval supported=\$$cacheid
   6763 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6764 $as_echo "$supported" >&6; }
   6765 		if test "$supported" = "yes" ; then
   6766 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-format-attribute"
   6767 			found="yes"
   6768 		fi
   6769 	fi
   6770 
   6771 
   6772 
   6773 
   6774 
   6775 
   6776 
   6777 
   6778 
   6779 
   6780 
   6781 
   6782 
   6783 
   6784 
   6785 xorg_testset_save_CFLAGS="$CFLAGS"
   6786 
   6787 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6788 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6789 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6790 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6791 if ${xorg_cv_cc_flag_unknown_warning_option+:} 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_unknown_warning_option=yes
   6800 else
   6801   xorg_cv_cc_flag_unknown_warning_option=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_unknown_warning_option" >&5
   6806 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6807 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6808 	CFLAGS="$xorg_testset_save_CFLAGS"
   6809 fi
   6810 
   6811 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6812 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6813 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6814 	fi
   6815 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6816 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6817 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6818 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6819   $as_echo_n "(cached) " >&6
   6820 else
   6821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6822 /* end confdefs.h.  */
   6823 int i;
   6824 _ACEOF
   6825 if ac_fn_c_try_compile "$LINENO"; then :
   6826   xorg_cv_cc_flag_unused_command_line_argument=yes
   6827 else
   6828   xorg_cv_cc_flag_unused_command_line_argument=no
   6829 fi
   6830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6831 fi
   6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6833 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6834 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6835 	CFLAGS="$xorg_testset_save_CFLAGS"
   6836 fi
   6837 
   6838 found="no"
   6839 
   6840 	if test $found = "no" ; then
   6841 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6842 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6843 		fi
   6844 
   6845 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6846 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6847 		fi
   6848 
   6849 		CFLAGS="$CFLAGS -Wredundant-decls"
   6850 
   6851 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
   6852 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
   6853 		cacheid=xorg_cv_cc_flag__Wredundant_decls
   6854 		if eval \${$cacheid+:} false; then :
   6855   $as_echo_n "(cached) " >&6
   6856 else
   6857   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6858 /* end confdefs.h.  */
   6859 int i;
   6860 int
   6861 main ()
   6862 {
   6863 
   6864   ;
   6865   return 0;
   6866 }
   6867 _ACEOF
   6868 if ac_fn_c_try_link "$LINENO"; then :
   6869   eval $cacheid=yes
   6870 else
   6871   eval $cacheid=no
   6872 fi
   6873 rm -f core conftest.err conftest.$ac_objext \
   6874     conftest$ac_exeext conftest.$ac_ext
   6875 fi
   6876 
   6877 
   6878 		CFLAGS="$xorg_testset_save_CFLAGS"
   6879 
   6880 		eval supported=\$$cacheid
   6881 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   6882 $as_echo "$supported" >&6; }
   6883 		if test "$supported" = "yes" ; then
   6884 			BASE_CFLAGS="$BASE_CFLAGS -Wredundant-decls"
   6885 			found="yes"
   6886 		fi
   6887 	fi
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 
   6901 
   6902 
   6903 xorg_testset_save_CFLAGS="$CFLAGS"
   6904 
   6905 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   6906 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6907 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   6908 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   6909 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   6910   $as_echo_n "(cached) " >&6
   6911 else
   6912   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6913 /* end confdefs.h.  */
   6914 int i;
   6915 _ACEOF
   6916 if ac_fn_c_try_compile "$LINENO"; then :
   6917   xorg_cv_cc_flag_unknown_warning_option=yes
   6918 else
   6919   xorg_cv_cc_flag_unknown_warning_option=no
   6920 fi
   6921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6922 fi
   6923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   6924 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   6925 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   6926 	CFLAGS="$xorg_testset_save_CFLAGS"
   6927 fi
   6928 
   6929 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   6930 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6931 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6932 	fi
   6933 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6934 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   6935 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   6936 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   6937   $as_echo_n "(cached) " >&6
   6938 else
   6939   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6940 /* end confdefs.h.  */
   6941 int i;
   6942 _ACEOF
   6943 if ac_fn_c_try_compile "$LINENO"; then :
   6944   xorg_cv_cc_flag_unused_command_line_argument=yes
   6945 else
   6946   xorg_cv_cc_flag_unused_command_line_argument=no
   6947 fi
   6948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   6949 fi
   6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   6951 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   6952 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   6953 	CFLAGS="$xorg_testset_save_CFLAGS"
   6954 fi
   6955 
   6956 found="no"
   6957 
   6958 	if test $found = "no" ; then
   6959 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   6960 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   6961 		fi
   6962 
   6963 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   6964 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   6965 		fi
   6966 
   6967 		CFLAGS="$CFLAGS -Wlogical-op"
   6968 
   6969 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
   6970 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
   6971 		cacheid=xorg_cv_cc_flag__Wlogical_op
   6972 		if eval \${$cacheid+:} false; then :
   6973   $as_echo_n "(cached) " >&6
   6974 else
   6975   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   6976 /* end confdefs.h.  */
   6977 int i;
   6978 int
   6979 main ()
   6980 {
   6981 
   6982   ;
   6983   return 0;
   6984 }
   6985 _ACEOF
   6986 if ac_fn_c_try_link "$LINENO"; then :
   6987   eval $cacheid=yes
   6988 else
   6989   eval $cacheid=no
   6990 fi
   6991 rm -f core conftest.err conftest.$ac_objext \
   6992     conftest$ac_exeext conftest.$ac_ext
   6993 fi
   6994 
   6995 
   6996 		CFLAGS="$xorg_testset_save_CFLAGS"
   6997 
   6998 		eval supported=\$$cacheid
   6999 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7000 $as_echo "$supported" >&6; }
   7001 		if test "$supported" = "yes" ; then
   7002 			BASE_CFLAGS="$BASE_CFLAGS -Wlogical-op"
   7003 			found="yes"
   7004 		fi
   7005 	fi
   7006 
   7007 
   7008 
   7009 # These are currently disabled because they are noisy.  They will be enabled
   7010 # in the future once the codebase is sufficiently modernized to silence
   7011 # them.  For now, I don't want them to drown out the other warnings.
   7012 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wparentheses])
   7013 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-align])
   7014 # XORG_TESTSET_CFLAG([[BASE_]PREFIX[FLAGS]], [-Wcast-qual])
   7015 
   7016 # Turn some warnings into errors, so we don't accidently get successful builds
   7017 # when there are problems that should be fixed.
   7018 
   7019 if test "x$SELECTIVE_WERROR" = "xyes" ; then
   7020 
   7021 
   7022 
   7023 
   7024 
   7025 
   7026 
   7027 
   7028 
   7029 
   7030 
   7031 
   7032 
   7033 xorg_testset_save_CFLAGS="$CFLAGS"
   7034 
   7035 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7036 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7037 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7038 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7039 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7040   $as_echo_n "(cached) " >&6
   7041 else
   7042   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7043 /* end confdefs.h.  */
   7044 int i;
   7045 _ACEOF
   7046 if ac_fn_c_try_compile "$LINENO"; then :
   7047   xorg_cv_cc_flag_unknown_warning_option=yes
   7048 else
   7049   xorg_cv_cc_flag_unknown_warning_option=no
   7050 fi
   7051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7052 fi
   7053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7054 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7055 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7056 	CFLAGS="$xorg_testset_save_CFLAGS"
   7057 fi
   7058 
   7059 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7060 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7061 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7062 	fi
   7063 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7064 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7065 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7066 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7067   $as_echo_n "(cached) " >&6
   7068 else
   7069   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7070 /* end confdefs.h.  */
   7071 int i;
   7072 _ACEOF
   7073 if ac_fn_c_try_compile "$LINENO"; then :
   7074   xorg_cv_cc_flag_unused_command_line_argument=yes
   7075 else
   7076   xorg_cv_cc_flag_unused_command_line_argument=no
   7077 fi
   7078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7079 fi
   7080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7081 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7082 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7083 	CFLAGS="$xorg_testset_save_CFLAGS"
   7084 fi
   7085 
   7086 found="no"
   7087 
   7088 	if test $found = "no" ; then
   7089 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7090 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7091 		fi
   7092 
   7093 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7094 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7095 		fi
   7096 
   7097 		CFLAGS="$CFLAGS -Werror=implicit"
   7098 
   7099 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=implicit" >&5
   7100 $as_echo_n "checking if $CC supports -Werror=implicit... " >&6; }
   7101 		cacheid=xorg_cv_cc_flag__Werror_implicit
   7102 		if eval \${$cacheid+:} false; then :
   7103   $as_echo_n "(cached) " >&6
   7104 else
   7105   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7106 /* end confdefs.h.  */
   7107 int i;
   7108 int
   7109 main ()
   7110 {
   7111 
   7112   ;
   7113   return 0;
   7114 }
   7115 _ACEOF
   7116 if ac_fn_c_try_link "$LINENO"; then :
   7117   eval $cacheid=yes
   7118 else
   7119   eval $cacheid=no
   7120 fi
   7121 rm -f core conftest.err conftest.$ac_objext \
   7122     conftest$ac_exeext conftest.$ac_ext
   7123 fi
   7124 
   7125 
   7126 		CFLAGS="$xorg_testset_save_CFLAGS"
   7127 
   7128 		eval supported=\$$cacheid
   7129 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7130 $as_echo "$supported" >&6; }
   7131 		if test "$supported" = "yes" ; then
   7132 			BASE_CFLAGS="$BASE_CFLAGS -Werror=implicit"
   7133 			found="yes"
   7134 		fi
   7135 	fi
   7136 
   7137 	if test $found = "no" ; then
   7138 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7139 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7140 		fi
   7141 
   7142 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7143 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7144 		fi
   7145 
   7146 		CFLAGS="$CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7147 
   7148 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED" >&5
   7149 $as_echo_n "checking if $CC supports -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED... " >&6; }
   7150 		cacheid=xorg_cv_cc_flag__errwarn_E_NO_EXPLICIT_TYPE_GIVEN__errwarn_E_NO_IMPLICIT_DECL_ALLOWED
   7151 		if eval \${$cacheid+:} false; then :
   7152   $as_echo_n "(cached) " >&6
   7153 else
   7154   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7155 /* end confdefs.h.  */
   7156 int i;
   7157 int
   7158 main ()
   7159 {
   7160 
   7161   ;
   7162   return 0;
   7163 }
   7164 _ACEOF
   7165 if ac_fn_c_try_link "$LINENO"; then :
   7166   eval $cacheid=yes
   7167 else
   7168   eval $cacheid=no
   7169 fi
   7170 rm -f core conftest.err conftest.$ac_objext \
   7171     conftest$ac_exeext conftest.$ac_ext
   7172 fi
   7173 
   7174 
   7175 		CFLAGS="$xorg_testset_save_CFLAGS"
   7176 
   7177 		eval supported=\$$cacheid
   7178 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7179 $as_echo "$supported" >&6; }
   7180 		if test "$supported" = "yes" ; then
   7181 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_NO_EXPLICIT_TYPE_GIVEN -errwarn=E_NO_IMPLICIT_DECL_ALLOWED"
   7182 			found="yes"
   7183 		fi
   7184 	fi
   7185 
   7186 
   7187 
   7188 
   7189 
   7190 
   7191 
   7192 
   7193 
   7194 
   7195 
   7196 
   7197 
   7198 
   7199 
   7200 xorg_testset_save_CFLAGS="$CFLAGS"
   7201 
   7202 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7203 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7204 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7205 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7206 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7207   $as_echo_n "(cached) " >&6
   7208 else
   7209   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7210 /* end confdefs.h.  */
   7211 int i;
   7212 _ACEOF
   7213 if ac_fn_c_try_compile "$LINENO"; then :
   7214   xorg_cv_cc_flag_unknown_warning_option=yes
   7215 else
   7216   xorg_cv_cc_flag_unknown_warning_option=no
   7217 fi
   7218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7219 fi
   7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7221 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7222 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7223 	CFLAGS="$xorg_testset_save_CFLAGS"
   7224 fi
   7225 
   7226 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7227 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7228 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7229 	fi
   7230 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7231 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7232 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7233 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7234   $as_echo_n "(cached) " >&6
   7235 else
   7236   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7237 /* end confdefs.h.  */
   7238 int i;
   7239 _ACEOF
   7240 if ac_fn_c_try_compile "$LINENO"; then :
   7241   xorg_cv_cc_flag_unused_command_line_argument=yes
   7242 else
   7243   xorg_cv_cc_flag_unused_command_line_argument=no
   7244 fi
   7245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7246 fi
   7247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7248 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7249 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7250 	CFLAGS="$xorg_testset_save_CFLAGS"
   7251 fi
   7252 
   7253 found="no"
   7254 
   7255 	if test $found = "no" ; then
   7256 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7257 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7258 		fi
   7259 
   7260 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7261 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7262 		fi
   7263 
   7264 		CFLAGS="$CFLAGS -Werror=nonnull"
   7265 
   7266 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=nonnull" >&5
   7267 $as_echo_n "checking if $CC supports -Werror=nonnull... " >&6; }
   7268 		cacheid=xorg_cv_cc_flag__Werror_nonnull
   7269 		if eval \${$cacheid+:} false; then :
   7270   $as_echo_n "(cached) " >&6
   7271 else
   7272   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7273 /* end confdefs.h.  */
   7274 int i;
   7275 int
   7276 main ()
   7277 {
   7278 
   7279   ;
   7280   return 0;
   7281 }
   7282 _ACEOF
   7283 if ac_fn_c_try_link "$LINENO"; then :
   7284   eval $cacheid=yes
   7285 else
   7286   eval $cacheid=no
   7287 fi
   7288 rm -f core conftest.err conftest.$ac_objext \
   7289     conftest$ac_exeext conftest.$ac_ext
   7290 fi
   7291 
   7292 
   7293 		CFLAGS="$xorg_testset_save_CFLAGS"
   7294 
   7295 		eval supported=\$$cacheid
   7296 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7297 $as_echo "$supported" >&6; }
   7298 		if test "$supported" = "yes" ; then
   7299 			BASE_CFLAGS="$BASE_CFLAGS -Werror=nonnull"
   7300 			found="yes"
   7301 		fi
   7302 	fi
   7303 
   7304 
   7305 
   7306 
   7307 
   7308 
   7309 
   7310 
   7311 
   7312 
   7313 
   7314 
   7315 
   7316 
   7317 
   7318 xorg_testset_save_CFLAGS="$CFLAGS"
   7319 
   7320 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7321 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7322 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7323 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7324 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7325   $as_echo_n "(cached) " >&6
   7326 else
   7327   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7328 /* end confdefs.h.  */
   7329 int i;
   7330 _ACEOF
   7331 if ac_fn_c_try_compile "$LINENO"; then :
   7332   xorg_cv_cc_flag_unknown_warning_option=yes
   7333 else
   7334   xorg_cv_cc_flag_unknown_warning_option=no
   7335 fi
   7336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7337 fi
   7338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7339 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7340 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7341 	CFLAGS="$xorg_testset_save_CFLAGS"
   7342 fi
   7343 
   7344 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7345 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7346 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7347 	fi
   7348 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7349 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7350 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7351 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7352   $as_echo_n "(cached) " >&6
   7353 else
   7354   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7355 /* end confdefs.h.  */
   7356 int i;
   7357 _ACEOF
   7358 if ac_fn_c_try_compile "$LINENO"; then :
   7359   xorg_cv_cc_flag_unused_command_line_argument=yes
   7360 else
   7361   xorg_cv_cc_flag_unused_command_line_argument=no
   7362 fi
   7363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7364 fi
   7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7366 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7367 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7368 	CFLAGS="$xorg_testset_save_CFLAGS"
   7369 fi
   7370 
   7371 found="no"
   7372 
   7373 	if test $found = "no" ; then
   7374 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7375 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7376 		fi
   7377 
   7378 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7379 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7380 		fi
   7381 
   7382 		CFLAGS="$CFLAGS -Werror=init-self"
   7383 
   7384 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=init-self" >&5
   7385 $as_echo_n "checking if $CC supports -Werror=init-self... " >&6; }
   7386 		cacheid=xorg_cv_cc_flag__Werror_init_self
   7387 		if eval \${$cacheid+:} false; then :
   7388   $as_echo_n "(cached) " >&6
   7389 else
   7390   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7391 /* end confdefs.h.  */
   7392 int i;
   7393 int
   7394 main ()
   7395 {
   7396 
   7397   ;
   7398   return 0;
   7399 }
   7400 _ACEOF
   7401 if ac_fn_c_try_link "$LINENO"; then :
   7402   eval $cacheid=yes
   7403 else
   7404   eval $cacheid=no
   7405 fi
   7406 rm -f core conftest.err conftest.$ac_objext \
   7407     conftest$ac_exeext conftest.$ac_ext
   7408 fi
   7409 
   7410 
   7411 		CFLAGS="$xorg_testset_save_CFLAGS"
   7412 
   7413 		eval supported=\$$cacheid
   7414 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7415 $as_echo "$supported" >&6; }
   7416 		if test "$supported" = "yes" ; then
   7417 			BASE_CFLAGS="$BASE_CFLAGS -Werror=init-self"
   7418 			found="yes"
   7419 		fi
   7420 	fi
   7421 
   7422 
   7423 
   7424 
   7425 
   7426 
   7427 
   7428 
   7429 
   7430 
   7431 
   7432 
   7433 
   7434 
   7435 
   7436 xorg_testset_save_CFLAGS="$CFLAGS"
   7437 
   7438 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7439 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7440 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7441 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7442 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7443   $as_echo_n "(cached) " >&6
   7444 else
   7445   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7446 /* end confdefs.h.  */
   7447 int i;
   7448 _ACEOF
   7449 if ac_fn_c_try_compile "$LINENO"; then :
   7450   xorg_cv_cc_flag_unknown_warning_option=yes
   7451 else
   7452   xorg_cv_cc_flag_unknown_warning_option=no
   7453 fi
   7454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7455 fi
   7456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7457 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7458 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7459 	CFLAGS="$xorg_testset_save_CFLAGS"
   7460 fi
   7461 
   7462 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7463 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7464 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7465 	fi
   7466 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7467 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7468 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7469 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7470   $as_echo_n "(cached) " >&6
   7471 else
   7472   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7473 /* end confdefs.h.  */
   7474 int i;
   7475 _ACEOF
   7476 if ac_fn_c_try_compile "$LINENO"; then :
   7477   xorg_cv_cc_flag_unused_command_line_argument=yes
   7478 else
   7479   xorg_cv_cc_flag_unused_command_line_argument=no
   7480 fi
   7481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7482 fi
   7483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7484 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7485 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7486 	CFLAGS="$xorg_testset_save_CFLAGS"
   7487 fi
   7488 
   7489 found="no"
   7490 
   7491 	if test $found = "no" ; then
   7492 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7493 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7494 		fi
   7495 
   7496 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7497 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7498 		fi
   7499 
   7500 		CFLAGS="$CFLAGS -Werror=main"
   7501 
   7502 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=main" >&5
   7503 $as_echo_n "checking if $CC supports -Werror=main... " >&6; }
   7504 		cacheid=xorg_cv_cc_flag__Werror_main
   7505 		if eval \${$cacheid+:} false; then :
   7506   $as_echo_n "(cached) " >&6
   7507 else
   7508   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7509 /* end confdefs.h.  */
   7510 int i;
   7511 int
   7512 main ()
   7513 {
   7514 
   7515   ;
   7516   return 0;
   7517 }
   7518 _ACEOF
   7519 if ac_fn_c_try_link "$LINENO"; then :
   7520   eval $cacheid=yes
   7521 else
   7522   eval $cacheid=no
   7523 fi
   7524 rm -f core conftest.err conftest.$ac_objext \
   7525     conftest$ac_exeext conftest.$ac_ext
   7526 fi
   7527 
   7528 
   7529 		CFLAGS="$xorg_testset_save_CFLAGS"
   7530 
   7531 		eval supported=\$$cacheid
   7532 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7533 $as_echo "$supported" >&6; }
   7534 		if test "$supported" = "yes" ; then
   7535 			BASE_CFLAGS="$BASE_CFLAGS -Werror=main"
   7536 			found="yes"
   7537 		fi
   7538 	fi
   7539 
   7540 
   7541 
   7542 
   7543 
   7544 
   7545 
   7546 
   7547 
   7548 
   7549 
   7550 
   7551 
   7552 
   7553 
   7554 xorg_testset_save_CFLAGS="$CFLAGS"
   7555 
   7556 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7557 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7558 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7559 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7560 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7561   $as_echo_n "(cached) " >&6
   7562 else
   7563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7564 /* end confdefs.h.  */
   7565 int i;
   7566 _ACEOF
   7567 if ac_fn_c_try_compile "$LINENO"; then :
   7568   xorg_cv_cc_flag_unknown_warning_option=yes
   7569 else
   7570   xorg_cv_cc_flag_unknown_warning_option=no
   7571 fi
   7572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7573 fi
   7574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7575 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7576 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7577 	CFLAGS="$xorg_testset_save_CFLAGS"
   7578 fi
   7579 
   7580 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7581 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7582 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7583 	fi
   7584 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7585 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7586 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7587 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7588   $as_echo_n "(cached) " >&6
   7589 else
   7590   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7591 /* end confdefs.h.  */
   7592 int i;
   7593 _ACEOF
   7594 if ac_fn_c_try_compile "$LINENO"; then :
   7595   xorg_cv_cc_flag_unused_command_line_argument=yes
   7596 else
   7597   xorg_cv_cc_flag_unused_command_line_argument=no
   7598 fi
   7599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7600 fi
   7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7602 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7603 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7604 	CFLAGS="$xorg_testset_save_CFLAGS"
   7605 fi
   7606 
   7607 found="no"
   7608 
   7609 	if test $found = "no" ; then
   7610 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7611 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7612 		fi
   7613 
   7614 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7615 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7616 		fi
   7617 
   7618 		CFLAGS="$CFLAGS -Werror=missing-braces"
   7619 
   7620 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=missing-braces" >&5
   7621 $as_echo_n "checking if $CC supports -Werror=missing-braces... " >&6; }
   7622 		cacheid=xorg_cv_cc_flag__Werror_missing_braces
   7623 		if eval \${$cacheid+:} false; then :
   7624   $as_echo_n "(cached) " >&6
   7625 else
   7626   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7627 /* end confdefs.h.  */
   7628 int i;
   7629 int
   7630 main ()
   7631 {
   7632 
   7633   ;
   7634   return 0;
   7635 }
   7636 _ACEOF
   7637 if ac_fn_c_try_link "$LINENO"; then :
   7638   eval $cacheid=yes
   7639 else
   7640   eval $cacheid=no
   7641 fi
   7642 rm -f core conftest.err conftest.$ac_objext \
   7643     conftest$ac_exeext conftest.$ac_ext
   7644 fi
   7645 
   7646 
   7647 		CFLAGS="$xorg_testset_save_CFLAGS"
   7648 
   7649 		eval supported=\$$cacheid
   7650 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7651 $as_echo "$supported" >&6; }
   7652 		if test "$supported" = "yes" ; then
   7653 			BASE_CFLAGS="$BASE_CFLAGS -Werror=missing-braces"
   7654 			found="yes"
   7655 		fi
   7656 	fi
   7657 
   7658 
   7659 
   7660 
   7661 
   7662 
   7663 
   7664 
   7665 
   7666 
   7667 
   7668 
   7669 
   7670 
   7671 
   7672 xorg_testset_save_CFLAGS="$CFLAGS"
   7673 
   7674 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7675 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7676 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7677 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7678 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7679   $as_echo_n "(cached) " >&6
   7680 else
   7681   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7682 /* end confdefs.h.  */
   7683 int i;
   7684 _ACEOF
   7685 if ac_fn_c_try_compile "$LINENO"; then :
   7686   xorg_cv_cc_flag_unknown_warning_option=yes
   7687 else
   7688   xorg_cv_cc_flag_unknown_warning_option=no
   7689 fi
   7690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7691 fi
   7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7693 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7694 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7695 	CFLAGS="$xorg_testset_save_CFLAGS"
   7696 fi
   7697 
   7698 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7699 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7700 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7701 	fi
   7702 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7703 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7704 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7705 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7706   $as_echo_n "(cached) " >&6
   7707 else
   7708   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7709 /* end confdefs.h.  */
   7710 int i;
   7711 _ACEOF
   7712 if ac_fn_c_try_compile "$LINENO"; then :
   7713   xorg_cv_cc_flag_unused_command_line_argument=yes
   7714 else
   7715   xorg_cv_cc_flag_unused_command_line_argument=no
   7716 fi
   7717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7718 fi
   7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7720 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7721 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7722 	CFLAGS="$xorg_testset_save_CFLAGS"
   7723 fi
   7724 
   7725 found="no"
   7726 
   7727 	if test $found = "no" ; then
   7728 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7729 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7730 		fi
   7731 
   7732 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7733 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7734 		fi
   7735 
   7736 		CFLAGS="$CFLAGS -Werror=sequence-point"
   7737 
   7738 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=sequence-point" >&5
   7739 $as_echo_n "checking if $CC supports -Werror=sequence-point... " >&6; }
   7740 		cacheid=xorg_cv_cc_flag__Werror_sequence_point
   7741 		if eval \${$cacheid+:} false; then :
   7742   $as_echo_n "(cached) " >&6
   7743 else
   7744   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7745 /* end confdefs.h.  */
   7746 int i;
   7747 int
   7748 main ()
   7749 {
   7750 
   7751   ;
   7752   return 0;
   7753 }
   7754 _ACEOF
   7755 if ac_fn_c_try_link "$LINENO"; then :
   7756   eval $cacheid=yes
   7757 else
   7758   eval $cacheid=no
   7759 fi
   7760 rm -f core conftest.err conftest.$ac_objext \
   7761     conftest$ac_exeext conftest.$ac_ext
   7762 fi
   7763 
   7764 
   7765 		CFLAGS="$xorg_testset_save_CFLAGS"
   7766 
   7767 		eval supported=\$$cacheid
   7768 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7769 $as_echo "$supported" >&6; }
   7770 		if test "$supported" = "yes" ; then
   7771 			BASE_CFLAGS="$BASE_CFLAGS -Werror=sequence-point"
   7772 			found="yes"
   7773 		fi
   7774 	fi
   7775 
   7776 
   7777 
   7778 
   7779 
   7780 
   7781 
   7782 
   7783 
   7784 
   7785 
   7786 
   7787 
   7788 
   7789 
   7790 xorg_testset_save_CFLAGS="$CFLAGS"
   7791 
   7792 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7793 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7794 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7795 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7796 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7797   $as_echo_n "(cached) " >&6
   7798 else
   7799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7800 /* end confdefs.h.  */
   7801 int i;
   7802 _ACEOF
   7803 if ac_fn_c_try_compile "$LINENO"; then :
   7804   xorg_cv_cc_flag_unknown_warning_option=yes
   7805 else
   7806   xorg_cv_cc_flag_unknown_warning_option=no
   7807 fi
   7808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7809 fi
   7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7811 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7812 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7813 	CFLAGS="$xorg_testset_save_CFLAGS"
   7814 fi
   7815 
   7816 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7817 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7818 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7819 	fi
   7820 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7821 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7822 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7823 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7824   $as_echo_n "(cached) " >&6
   7825 else
   7826   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7827 /* end confdefs.h.  */
   7828 int i;
   7829 _ACEOF
   7830 if ac_fn_c_try_compile "$LINENO"; then :
   7831   xorg_cv_cc_flag_unused_command_line_argument=yes
   7832 else
   7833   xorg_cv_cc_flag_unused_command_line_argument=no
   7834 fi
   7835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7836 fi
   7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   7838 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   7839 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   7840 	CFLAGS="$xorg_testset_save_CFLAGS"
   7841 fi
   7842 
   7843 found="no"
   7844 
   7845 	if test $found = "no" ; then
   7846 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7847 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7848 		fi
   7849 
   7850 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7851 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7852 		fi
   7853 
   7854 		CFLAGS="$CFLAGS -Werror=return-type"
   7855 
   7856 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=return-type" >&5
   7857 $as_echo_n "checking if $CC supports -Werror=return-type... " >&6; }
   7858 		cacheid=xorg_cv_cc_flag__Werror_return_type
   7859 		if eval \${$cacheid+:} false; then :
   7860   $as_echo_n "(cached) " >&6
   7861 else
   7862   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7863 /* end confdefs.h.  */
   7864 int i;
   7865 int
   7866 main ()
   7867 {
   7868 
   7869   ;
   7870   return 0;
   7871 }
   7872 _ACEOF
   7873 if ac_fn_c_try_link "$LINENO"; then :
   7874   eval $cacheid=yes
   7875 else
   7876   eval $cacheid=no
   7877 fi
   7878 rm -f core conftest.err conftest.$ac_objext \
   7879     conftest$ac_exeext conftest.$ac_ext
   7880 fi
   7881 
   7882 
   7883 		CFLAGS="$xorg_testset_save_CFLAGS"
   7884 
   7885 		eval supported=\$$cacheid
   7886 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7887 $as_echo "$supported" >&6; }
   7888 		if test "$supported" = "yes" ; then
   7889 			BASE_CFLAGS="$BASE_CFLAGS -Werror=return-type"
   7890 			found="yes"
   7891 		fi
   7892 	fi
   7893 
   7894 	if test $found = "no" ; then
   7895 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7896 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7897 		fi
   7898 
   7899 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   7900 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7901 		fi
   7902 
   7903 		CFLAGS="$CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7904 
   7905 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT" >&5
   7906 $as_echo_n "checking if $CC supports -errwarn=E_FUNC_HAS_NO_RETURN_STMT... " >&6; }
   7907 		cacheid=xorg_cv_cc_flag__errwarn_E_FUNC_HAS_NO_RETURN_STMT
   7908 		if eval \${$cacheid+:} false; then :
   7909   $as_echo_n "(cached) " >&6
   7910 else
   7911   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7912 /* end confdefs.h.  */
   7913 int i;
   7914 int
   7915 main ()
   7916 {
   7917 
   7918   ;
   7919   return 0;
   7920 }
   7921 _ACEOF
   7922 if ac_fn_c_try_link "$LINENO"; then :
   7923   eval $cacheid=yes
   7924 else
   7925   eval $cacheid=no
   7926 fi
   7927 rm -f core conftest.err conftest.$ac_objext \
   7928     conftest$ac_exeext conftest.$ac_ext
   7929 fi
   7930 
   7931 
   7932 		CFLAGS="$xorg_testset_save_CFLAGS"
   7933 
   7934 		eval supported=\$$cacheid
   7935 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   7936 $as_echo "$supported" >&6; }
   7937 		if test "$supported" = "yes" ; then
   7938 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_FUNC_HAS_NO_RETURN_STMT"
   7939 			found="yes"
   7940 		fi
   7941 	fi
   7942 
   7943 
   7944 
   7945 
   7946 
   7947 
   7948 
   7949 
   7950 
   7951 
   7952 
   7953 
   7954 
   7955 
   7956 
   7957 xorg_testset_save_CFLAGS="$CFLAGS"
   7958 
   7959 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   7960 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7961 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   7962 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   7963 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   7964   $as_echo_n "(cached) " >&6
   7965 else
   7966   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7967 /* end confdefs.h.  */
   7968 int i;
   7969 _ACEOF
   7970 if ac_fn_c_try_compile "$LINENO"; then :
   7971   xorg_cv_cc_flag_unknown_warning_option=yes
   7972 else
   7973   xorg_cv_cc_flag_unknown_warning_option=no
   7974 fi
   7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   7976 fi
   7977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   7978 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   7979 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   7980 	CFLAGS="$xorg_testset_save_CFLAGS"
   7981 fi
   7982 
   7983 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   7984 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   7985 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   7986 	fi
   7987 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   7988 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   7989 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   7990 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   7991   $as_echo_n "(cached) " >&6
   7992 else
   7993   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   7994 /* end confdefs.h.  */
   7995 int i;
   7996 _ACEOF
   7997 if ac_fn_c_try_compile "$LINENO"; then :
   7998   xorg_cv_cc_flag_unused_command_line_argument=yes
   7999 else
   8000   xorg_cv_cc_flag_unused_command_line_argument=no
   8001 fi
   8002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8003 fi
   8004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8005 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8006 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8007 	CFLAGS="$xorg_testset_save_CFLAGS"
   8008 fi
   8009 
   8010 found="no"
   8011 
   8012 	if test $found = "no" ; then
   8013 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8014 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8015 		fi
   8016 
   8017 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8018 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8019 		fi
   8020 
   8021 		CFLAGS="$CFLAGS -Werror=trigraphs"
   8022 
   8023 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=trigraphs" >&5
   8024 $as_echo_n "checking if $CC supports -Werror=trigraphs... " >&6; }
   8025 		cacheid=xorg_cv_cc_flag__Werror_trigraphs
   8026 		if eval \${$cacheid+:} false; then :
   8027   $as_echo_n "(cached) " >&6
   8028 else
   8029   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8030 /* end confdefs.h.  */
   8031 int i;
   8032 int
   8033 main ()
   8034 {
   8035 
   8036   ;
   8037   return 0;
   8038 }
   8039 _ACEOF
   8040 if ac_fn_c_try_link "$LINENO"; then :
   8041   eval $cacheid=yes
   8042 else
   8043   eval $cacheid=no
   8044 fi
   8045 rm -f core conftest.err conftest.$ac_objext \
   8046     conftest$ac_exeext conftest.$ac_ext
   8047 fi
   8048 
   8049 
   8050 		CFLAGS="$xorg_testset_save_CFLAGS"
   8051 
   8052 		eval supported=\$$cacheid
   8053 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8054 $as_echo "$supported" >&6; }
   8055 		if test "$supported" = "yes" ; then
   8056 			BASE_CFLAGS="$BASE_CFLAGS -Werror=trigraphs"
   8057 			found="yes"
   8058 		fi
   8059 	fi
   8060 
   8061 
   8062 
   8063 
   8064 
   8065 
   8066 
   8067 
   8068 
   8069 
   8070 
   8071 
   8072 
   8073 
   8074 
   8075 xorg_testset_save_CFLAGS="$CFLAGS"
   8076 
   8077 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8078 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8079 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8080 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8081 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8082   $as_echo_n "(cached) " >&6
   8083 else
   8084   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8085 /* end confdefs.h.  */
   8086 int i;
   8087 _ACEOF
   8088 if ac_fn_c_try_compile "$LINENO"; then :
   8089   xorg_cv_cc_flag_unknown_warning_option=yes
   8090 else
   8091   xorg_cv_cc_flag_unknown_warning_option=no
   8092 fi
   8093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8094 fi
   8095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8096 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8097 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8098 	CFLAGS="$xorg_testset_save_CFLAGS"
   8099 fi
   8100 
   8101 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8102 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8103 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8104 	fi
   8105 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8106 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8107 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8108 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8109   $as_echo_n "(cached) " >&6
   8110 else
   8111   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8112 /* end confdefs.h.  */
   8113 int i;
   8114 _ACEOF
   8115 if ac_fn_c_try_compile "$LINENO"; then :
   8116   xorg_cv_cc_flag_unused_command_line_argument=yes
   8117 else
   8118   xorg_cv_cc_flag_unused_command_line_argument=no
   8119 fi
   8120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8121 fi
   8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8123 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8124 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8125 	CFLAGS="$xorg_testset_save_CFLAGS"
   8126 fi
   8127 
   8128 found="no"
   8129 
   8130 	if test $found = "no" ; then
   8131 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8132 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8133 		fi
   8134 
   8135 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8136 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8137 		fi
   8138 
   8139 		CFLAGS="$CFLAGS -Werror=array-bounds"
   8140 
   8141 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=array-bounds" >&5
   8142 $as_echo_n "checking if $CC supports -Werror=array-bounds... " >&6; }
   8143 		cacheid=xorg_cv_cc_flag__Werror_array_bounds
   8144 		if eval \${$cacheid+:} false; then :
   8145   $as_echo_n "(cached) " >&6
   8146 else
   8147   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8148 /* end confdefs.h.  */
   8149 int i;
   8150 int
   8151 main ()
   8152 {
   8153 
   8154   ;
   8155   return 0;
   8156 }
   8157 _ACEOF
   8158 if ac_fn_c_try_link "$LINENO"; then :
   8159   eval $cacheid=yes
   8160 else
   8161   eval $cacheid=no
   8162 fi
   8163 rm -f core conftest.err conftest.$ac_objext \
   8164     conftest$ac_exeext conftest.$ac_ext
   8165 fi
   8166 
   8167 
   8168 		CFLAGS="$xorg_testset_save_CFLAGS"
   8169 
   8170 		eval supported=\$$cacheid
   8171 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8172 $as_echo "$supported" >&6; }
   8173 		if test "$supported" = "yes" ; then
   8174 			BASE_CFLAGS="$BASE_CFLAGS -Werror=array-bounds"
   8175 			found="yes"
   8176 		fi
   8177 	fi
   8178 
   8179 
   8180 
   8181 
   8182 
   8183 
   8184 
   8185 
   8186 
   8187 
   8188 
   8189 
   8190 
   8191 
   8192 
   8193 xorg_testset_save_CFLAGS="$CFLAGS"
   8194 
   8195 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8196 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8197 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8198 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8199 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8200   $as_echo_n "(cached) " >&6
   8201 else
   8202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8203 /* end confdefs.h.  */
   8204 int i;
   8205 _ACEOF
   8206 if ac_fn_c_try_compile "$LINENO"; then :
   8207   xorg_cv_cc_flag_unknown_warning_option=yes
   8208 else
   8209   xorg_cv_cc_flag_unknown_warning_option=no
   8210 fi
   8211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8212 fi
   8213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8214 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8215 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8216 	CFLAGS="$xorg_testset_save_CFLAGS"
   8217 fi
   8218 
   8219 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8220 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8221 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8222 	fi
   8223 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8224 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8225 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8226 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8227   $as_echo_n "(cached) " >&6
   8228 else
   8229   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8230 /* end confdefs.h.  */
   8231 int i;
   8232 _ACEOF
   8233 if ac_fn_c_try_compile "$LINENO"; then :
   8234   xorg_cv_cc_flag_unused_command_line_argument=yes
   8235 else
   8236   xorg_cv_cc_flag_unused_command_line_argument=no
   8237 fi
   8238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8239 fi
   8240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8241 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8242 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8243 	CFLAGS="$xorg_testset_save_CFLAGS"
   8244 fi
   8245 
   8246 found="no"
   8247 
   8248 	if test $found = "no" ; then
   8249 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8250 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8251 		fi
   8252 
   8253 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8254 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8255 		fi
   8256 
   8257 		CFLAGS="$CFLAGS -Werror=write-strings"
   8258 
   8259 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=write-strings" >&5
   8260 $as_echo_n "checking if $CC supports -Werror=write-strings... " >&6; }
   8261 		cacheid=xorg_cv_cc_flag__Werror_write_strings
   8262 		if eval \${$cacheid+:} false; then :
   8263   $as_echo_n "(cached) " >&6
   8264 else
   8265   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8266 /* end confdefs.h.  */
   8267 int i;
   8268 int
   8269 main ()
   8270 {
   8271 
   8272   ;
   8273   return 0;
   8274 }
   8275 _ACEOF
   8276 if ac_fn_c_try_link "$LINENO"; then :
   8277   eval $cacheid=yes
   8278 else
   8279   eval $cacheid=no
   8280 fi
   8281 rm -f core conftest.err conftest.$ac_objext \
   8282     conftest$ac_exeext conftest.$ac_ext
   8283 fi
   8284 
   8285 
   8286 		CFLAGS="$xorg_testset_save_CFLAGS"
   8287 
   8288 		eval supported=\$$cacheid
   8289 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8290 $as_echo "$supported" >&6; }
   8291 		if test "$supported" = "yes" ; then
   8292 			BASE_CFLAGS="$BASE_CFLAGS -Werror=write-strings"
   8293 			found="yes"
   8294 		fi
   8295 	fi
   8296 
   8297 
   8298 
   8299 
   8300 
   8301 
   8302 
   8303 
   8304 
   8305 
   8306 
   8307 
   8308 
   8309 
   8310 
   8311 xorg_testset_save_CFLAGS="$CFLAGS"
   8312 
   8313 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8314 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8316 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8317 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8318   $as_echo_n "(cached) " >&6
   8319 else
   8320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8321 /* end confdefs.h.  */
   8322 int i;
   8323 _ACEOF
   8324 if ac_fn_c_try_compile "$LINENO"; then :
   8325   xorg_cv_cc_flag_unknown_warning_option=yes
   8326 else
   8327   xorg_cv_cc_flag_unknown_warning_option=no
   8328 fi
   8329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8330 fi
   8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8332 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8333 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8334 	CFLAGS="$xorg_testset_save_CFLAGS"
   8335 fi
   8336 
   8337 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8338 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8339 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8340 	fi
   8341 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8342 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8343 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8344 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8345   $as_echo_n "(cached) " >&6
   8346 else
   8347   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8348 /* end confdefs.h.  */
   8349 int i;
   8350 _ACEOF
   8351 if ac_fn_c_try_compile "$LINENO"; then :
   8352   xorg_cv_cc_flag_unused_command_line_argument=yes
   8353 else
   8354   xorg_cv_cc_flag_unused_command_line_argument=no
   8355 fi
   8356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8357 fi
   8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8359 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8360 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8361 	CFLAGS="$xorg_testset_save_CFLAGS"
   8362 fi
   8363 
   8364 found="no"
   8365 
   8366 	if test $found = "no" ; then
   8367 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8368 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8369 		fi
   8370 
   8371 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8372 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8373 		fi
   8374 
   8375 		CFLAGS="$CFLAGS -Werror=address"
   8376 
   8377 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=address" >&5
   8378 $as_echo_n "checking if $CC supports -Werror=address... " >&6; }
   8379 		cacheid=xorg_cv_cc_flag__Werror_address
   8380 		if eval \${$cacheid+:} false; then :
   8381   $as_echo_n "(cached) " >&6
   8382 else
   8383   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8384 /* end confdefs.h.  */
   8385 int i;
   8386 int
   8387 main ()
   8388 {
   8389 
   8390   ;
   8391   return 0;
   8392 }
   8393 _ACEOF
   8394 if ac_fn_c_try_link "$LINENO"; then :
   8395   eval $cacheid=yes
   8396 else
   8397   eval $cacheid=no
   8398 fi
   8399 rm -f core conftest.err conftest.$ac_objext \
   8400     conftest$ac_exeext conftest.$ac_ext
   8401 fi
   8402 
   8403 
   8404 		CFLAGS="$xorg_testset_save_CFLAGS"
   8405 
   8406 		eval supported=\$$cacheid
   8407 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8408 $as_echo "$supported" >&6; }
   8409 		if test "$supported" = "yes" ; then
   8410 			BASE_CFLAGS="$BASE_CFLAGS -Werror=address"
   8411 			found="yes"
   8412 		fi
   8413 	fi
   8414 
   8415 
   8416 
   8417 
   8418 
   8419 
   8420 
   8421 
   8422 
   8423 
   8424 
   8425 
   8426 
   8427 
   8428 
   8429 xorg_testset_save_CFLAGS="$CFLAGS"
   8430 
   8431 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8432 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8434 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8435 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8436   $as_echo_n "(cached) " >&6
   8437 else
   8438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8439 /* end confdefs.h.  */
   8440 int i;
   8441 _ACEOF
   8442 if ac_fn_c_try_compile "$LINENO"; then :
   8443   xorg_cv_cc_flag_unknown_warning_option=yes
   8444 else
   8445   xorg_cv_cc_flag_unknown_warning_option=no
   8446 fi
   8447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8448 fi
   8449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8450 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8451 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8452 	CFLAGS="$xorg_testset_save_CFLAGS"
   8453 fi
   8454 
   8455 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8456 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8457 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8458 	fi
   8459 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8460 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8461 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8462 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8463   $as_echo_n "(cached) " >&6
   8464 else
   8465   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8466 /* end confdefs.h.  */
   8467 int i;
   8468 _ACEOF
   8469 if ac_fn_c_try_compile "$LINENO"; then :
   8470   xorg_cv_cc_flag_unused_command_line_argument=yes
   8471 else
   8472   xorg_cv_cc_flag_unused_command_line_argument=no
   8473 fi
   8474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8475 fi
   8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8477 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8478 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8479 	CFLAGS="$xorg_testset_save_CFLAGS"
   8480 fi
   8481 
   8482 found="no"
   8483 
   8484 	if test $found = "no" ; then
   8485 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8486 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8487 		fi
   8488 
   8489 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8490 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8491 		fi
   8492 
   8493 		CFLAGS="$CFLAGS -Werror=int-to-pointer-cast"
   8494 
   8495 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=int-to-pointer-cast" >&5
   8496 $as_echo_n "checking if $CC supports -Werror=int-to-pointer-cast... " >&6; }
   8497 		cacheid=xorg_cv_cc_flag__Werror_int_to_pointer_cast
   8498 		if eval \${$cacheid+:} false; then :
   8499   $as_echo_n "(cached) " >&6
   8500 else
   8501   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8502 /* end confdefs.h.  */
   8503 int i;
   8504 int
   8505 main ()
   8506 {
   8507 
   8508   ;
   8509   return 0;
   8510 }
   8511 _ACEOF
   8512 if ac_fn_c_try_link "$LINENO"; then :
   8513   eval $cacheid=yes
   8514 else
   8515   eval $cacheid=no
   8516 fi
   8517 rm -f core conftest.err conftest.$ac_objext \
   8518     conftest$ac_exeext conftest.$ac_ext
   8519 fi
   8520 
   8521 
   8522 		CFLAGS="$xorg_testset_save_CFLAGS"
   8523 
   8524 		eval supported=\$$cacheid
   8525 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8526 $as_echo "$supported" >&6; }
   8527 		if test "$supported" = "yes" ; then
   8528 			BASE_CFLAGS="$BASE_CFLAGS -Werror=int-to-pointer-cast"
   8529 			found="yes"
   8530 		fi
   8531 	fi
   8532 
   8533 	if test $found = "no" ; then
   8534 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8535 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8536 		fi
   8537 
   8538 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8539 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8540 		fi
   8541 
   8542 		CFLAGS="$CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8543 
   8544 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION" >&5
   8545 $as_echo_n "checking if $CC supports -errwarn=E_BAD_PTR_INT_COMBINATION... " >&6; }
   8546 		cacheid=xorg_cv_cc_flag__errwarn_E_BAD_PTR_INT_COMBINATION
   8547 		if eval \${$cacheid+:} false; then :
   8548   $as_echo_n "(cached) " >&6
   8549 else
   8550   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8551 /* end confdefs.h.  */
   8552 int i;
   8553 int
   8554 main ()
   8555 {
   8556 
   8557   ;
   8558   return 0;
   8559 }
   8560 _ACEOF
   8561 if ac_fn_c_try_link "$LINENO"; then :
   8562   eval $cacheid=yes
   8563 else
   8564   eval $cacheid=no
   8565 fi
   8566 rm -f core conftest.err conftest.$ac_objext \
   8567     conftest$ac_exeext conftest.$ac_ext
   8568 fi
   8569 
   8570 
   8571 		CFLAGS="$xorg_testset_save_CFLAGS"
   8572 
   8573 		eval supported=\$$cacheid
   8574 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8575 $as_echo "$supported" >&6; }
   8576 		if test "$supported" = "yes" ; then
   8577 			BASE_CFLAGS="$BASE_CFLAGS -errwarn=E_BAD_PTR_INT_COMBINATION"
   8578 			found="yes"
   8579 		fi
   8580 	fi
   8581 
   8582 
   8583 
   8584 
   8585 
   8586 
   8587 
   8588 
   8589 
   8590 
   8591 
   8592 
   8593 
   8594 
   8595 
   8596 xorg_testset_save_CFLAGS="$CFLAGS"
   8597 
   8598 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8599 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8600 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8601 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8602 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8603   $as_echo_n "(cached) " >&6
   8604 else
   8605   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8606 /* end confdefs.h.  */
   8607 int i;
   8608 _ACEOF
   8609 if ac_fn_c_try_compile "$LINENO"; then :
   8610   xorg_cv_cc_flag_unknown_warning_option=yes
   8611 else
   8612   xorg_cv_cc_flag_unknown_warning_option=no
   8613 fi
   8614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8615 fi
   8616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8617 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8618 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8619 	CFLAGS="$xorg_testset_save_CFLAGS"
   8620 fi
   8621 
   8622 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8623 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8624 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8625 	fi
   8626 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8627 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8628 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8629 if ${xorg_cv_cc_flag_unused_command_line_argument+:} 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 _ACEOF
   8636 if ac_fn_c_try_compile "$LINENO"; then :
   8637   xorg_cv_cc_flag_unused_command_line_argument=yes
   8638 else
   8639   xorg_cv_cc_flag_unused_command_line_argument=no
   8640 fi
   8641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8642 fi
   8643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8644 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8645 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8646 	CFLAGS="$xorg_testset_save_CFLAGS"
   8647 fi
   8648 
   8649 found="no"
   8650 
   8651 	if test $found = "no" ; then
   8652 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8653 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8654 		fi
   8655 
   8656 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8657 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8658 		fi
   8659 
   8660 		CFLAGS="$CFLAGS -Werror=pointer-to-int-cast"
   8661 
   8662 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=pointer-to-int-cast" >&5
   8663 $as_echo_n "checking if $CC supports -Werror=pointer-to-int-cast... " >&6; }
   8664 		cacheid=xorg_cv_cc_flag__Werror_pointer_to_int_cast
   8665 		if eval \${$cacheid+:} false; then :
   8666   $as_echo_n "(cached) " >&6
   8667 else
   8668   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8669 /* end confdefs.h.  */
   8670 int i;
   8671 int
   8672 main ()
   8673 {
   8674 
   8675   ;
   8676   return 0;
   8677 }
   8678 _ACEOF
   8679 if ac_fn_c_try_link "$LINENO"; then :
   8680   eval $cacheid=yes
   8681 else
   8682   eval $cacheid=no
   8683 fi
   8684 rm -f core conftest.err conftest.$ac_objext \
   8685     conftest$ac_exeext conftest.$ac_ext
   8686 fi
   8687 
   8688 
   8689 		CFLAGS="$xorg_testset_save_CFLAGS"
   8690 
   8691 		eval supported=\$$cacheid
   8692 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8693 $as_echo "$supported" >&6; }
   8694 		if test "$supported" = "yes" ; then
   8695 			BASE_CFLAGS="$BASE_CFLAGS -Werror=pointer-to-int-cast"
   8696 			found="yes"
   8697 		fi
   8698 	fi
   8699 
   8700  # Also -errwarn=E_BAD_PTR_INT_COMBINATION
   8701 else
   8702 { $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
   8703 $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;}
   8704 
   8705 
   8706 
   8707 
   8708 
   8709 
   8710 
   8711 
   8712 
   8713 
   8714 
   8715 
   8716 
   8717 xorg_testset_save_CFLAGS="$CFLAGS"
   8718 
   8719 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8720 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8721 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8722 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8723 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8724   $as_echo_n "(cached) " >&6
   8725 else
   8726   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8727 /* end confdefs.h.  */
   8728 int i;
   8729 _ACEOF
   8730 if ac_fn_c_try_compile "$LINENO"; then :
   8731   xorg_cv_cc_flag_unknown_warning_option=yes
   8732 else
   8733   xorg_cv_cc_flag_unknown_warning_option=no
   8734 fi
   8735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8736 fi
   8737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8738 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8739 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8740 	CFLAGS="$xorg_testset_save_CFLAGS"
   8741 fi
   8742 
   8743 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8744 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8745 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8746 	fi
   8747 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8748 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8749 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8750 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8751   $as_echo_n "(cached) " >&6
   8752 else
   8753   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8754 /* end confdefs.h.  */
   8755 int i;
   8756 _ACEOF
   8757 if ac_fn_c_try_compile "$LINENO"; then :
   8758   xorg_cv_cc_flag_unused_command_line_argument=yes
   8759 else
   8760   xorg_cv_cc_flag_unused_command_line_argument=no
   8761 fi
   8762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8763 fi
   8764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8765 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8766 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8767 	CFLAGS="$xorg_testset_save_CFLAGS"
   8768 fi
   8769 
   8770 found="no"
   8771 
   8772 	if test $found = "no" ; then
   8773 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8774 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8775 		fi
   8776 
   8777 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8778 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8779 		fi
   8780 
   8781 		CFLAGS="$CFLAGS -Wimplicit"
   8782 
   8783 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wimplicit" >&5
   8784 $as_echo_n "checking if $CC supports -Wimplicit... " >&6; }
   8785 		cacheid=xorg_cv_cc_flag__Wimplicit
   8786 		if eval \${$cacheid+:} false; then :
   8787   $as_echo_n "(cached) " >&6
   8788 else
   8789   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8790 /* end confdefs.h.  */
   8791 int i;
   8792 int
   8793 main ()
   8794 {
   8795 
   8796   ;
   8797   return 0;
   8798 }
   8799 _ACEOF
   8800 if ac_fn_c_try_link "$LINENO"; then :
   8801   eval $cacheid=yes
   8802 else
   8803   eval $cacheid=no
   8804 fi
   8805 rm -f core conftest.err conftest.$ac_objext \
   8806     conftest$ac_exeext conftest.$ac_ext
   8807 fi
   8808 
   8809 
   8810 		CFLAGS="$xorg_testset_save_CFLAGS"
   8811 
   8812 		eval supported=\$$cacheid
   8813 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8814 $as_echo "$supported" >&6; }
   8815 		if test "$supported" = "yes" ; then
   8816 			BASE_CFLAGS="$BASE_CFLAGS -Wimplicit"
   8817 			found="yes"
   8818 		fi
   8819 	fi
   8820 
   8821 
   8822 
   8823 
   8824 
   8825 
   8826 
   8827 
   8828 
   8829 
   8830 
   8831 
   8832 
   8833 
   8834 
   8835 xorg_testset_save_CFLAGS="$CFLAGS"
   8836 
   8837 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8838 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8839 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8840 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8841 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8842   $as_echo_n "(cached) " >&6
   8843 else
   8844   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8845 /* end confdefs.h.  */
   8846 int i;
   8847 _ACEOF
   8848 if ac_fn_c_try_compile "$LINENO"; then :
   8849   xorg_cv_cc_flag_unknown_warning_option=yes
   8850 else
   8851   xorg_cv_cc_flag_unknown_warning_option=no
   8852 fi
   8853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8854 fi
   8855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8856 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8857 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8858 	CFLAGS="$xorg_testset_save_CFLAGS"
   8859 fi
   8860 
   8861 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8862 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8863 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8864 	fi
   8865 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8866 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8867 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8868 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8869   $as_echo_n "(cached) " >&6
   8870 else
   8871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8872 /* end confdefs.h.  */
   8873 int i;
   8874 _ACEOF
   8875 if ac_fn_c_try_compile "$LINENO"; then :
   8876   xorg_cv_cc_flag_unused_command_line_argument=yes
   8877 else
   8878   xorg_cv_cc_flag_unused_command_line_argument=no
   8879 fi
   8880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8881 fi
   8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   8883 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   8884 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   8885 	CFLAGS="$xorg_testset_save_CFLAGS"
   8886 fi
   8887 
   8888 found="no"
   8889 
   8890 	if test $found = "no" ; then
   8891 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8892 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8893 		fi
   8894 
   8895 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   8896 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8897 		fi
   8898 
   8899 		CFLAGS="$CFLAGS -Wnonnull"
   8900 
   8901 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnonnull" >&5
   8902 $as_echo_n "checking if $CC supports -Wnonnull... " >&6; }
   8903 		cacheid=xorg_cv_cc_flag__Wnonnull
   8904 		if eval \${$cacheid+:} false; then :
   8905   $as_echo_n "(cached) " >&6
   8906 else
   8907   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8908 /* end confdefs.h.  */
   8909 int i;
   8910 int
   8911 main ()
   8912 {
   8913 
   8914   ;
   8915   return 0;
   8916 }
   8917 _ACEOF
   8918 if ac_fn_c_try_link "$LINENO"; then :
   8919   eval $cacheid=yes
   8920 else
   8921   eval $cacheid=no
   8922 fi
   8923 rm -f core conftest.err conftest.$ac_objext \
   8924     conftest$ac_exeext conftest.$ac_ext
   8925 fi
   8926 
   8927 
   8928 		CFLAGS="$xorg_testset_save_CFLAGS"
   8929 
   8930 		eval supported=\$$cacheid
   8931 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   8932 $as_echo "$supported" >&6; }
   8933 		if test "$supported" = "yes" ; then
   8934 			BASE_CFLAGS="$BASE_CFLAGS -Wnonnull"
   8935 			found="yes"
   8936 		fi
   8937 	fi
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 xorg_testset_save_CFLAGS="$CFLAGS"
   8954 
   8955 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   8956 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8957 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   8958 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   8959 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   8960   $as_echo_n "(cached) " >&6
   8961 else
   8962   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8963 /* end confdefs.h.  */
   8964 int i;
   8965 _ACEOF
   8966 if ac_fn_c_try_compile "$LINENO"; then :
   8967   xorg_cv_cc_flag_unknown_warning_option=yes
   8968 else
   8969   xorg_cv_cc_flag_unknown_warning_option=no
   8970 fi
   8971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8972 fi
   8973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   8974 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   8975 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   8976 	CFLAGS="$xorg_testset_save_CFLAGS"
   8977 fi
   8978 
   8979 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   8980 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   8981 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   8982 	fi
   8983 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   8984 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   8985 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   8986 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   8987   $as_echo_n "(cached) " >&6
   8988 else
   8989   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   8990 /* end confdefs.h.  */
   8991 int i;
   8992 _ACEOF
   8993 if ac_fn_c_try_compile "$LINENO"; then :
   8994   xorg_cv_cc_flag_unused_command_line_argument=yes
   8995 else
   8996   xorg_cv_cc_flag_unused_command_line_argument=no
   8997 fi
   8998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   8999 fi
   9000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9001 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9002 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9003 	CFLAGS="$xorg_testset_save_CFLAGS"
   9004 fi
   9005 
   9006 found="no"
   9007 
   9008 	if test $found = "no" ; then
   9009 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9010 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9011 		fi
   9012 
   9013 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9014 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9015 		fi
   9016 
   9017 		CFLAGS="$CFLAGS -Winit-self"
   9018 
   9019 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
   9020 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
   9021 		cacheid=xorg_cv_cc_flag__Winit_self
   9022 		if eval \${$cacheid+:} false; then :
   9023   $as_echo_n "(cached) " >&6
   9024 else
   9025   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9026 /* end confdefs.h.  */
   9027 int i;
   9028 int
   9029 main ()
   9030 {
   9031 
   9032   ;
   9033   return 0;
   9034 }
   9035 _ACEOF
   9036 if ac_fn_c_try_link "$LINENO"; then :
   9037   eval $cacheid=yes
   9038 else
   9039   eval $cacheid=no
   9040 fi
   9041 rm -f core conftest.err conftest.$ac_objext \
   9042     conftest$ac_exeext conftest.$ac_ext
   9043 fi
   9044 
   9045 
   9046 		CFLAGS="$xorg_testset_save_CFLAGS"
   9047 
   9048 		eval supported=\$$cacheid
   9049 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9050 $as_echo "$supported" >&6; }
   9051 		if test "$supported" = "yes" ; then
   9052 			BASE_CFLAGS="$BASE_CFLAGS -Winit-self"
   9053 			found="yes"
   9054 		fi
   9055 	fi
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 xorg_testset_save_CFLAGS="$CFLAGS"
   9072 
   9073 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9074 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9075 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9076 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9077 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9078   $as_echo_n "(cached) " >&6
   9079 else
   9080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9081 /* end confdefs.h.  */
   9082 int i;
   9083 _ACEOF
   9084 if ac_fn_c_try_compile "$LINENO"; then :
   9085   xorg_cv_cc_flag_unknown_warning_option=yes
   9086 else
   9087   xorg_cv_cc_flag_unknown_warning_option=no
   9088 fi
   9089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9090 fi
   9091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9092 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9093 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9094 	CFLAGS="$xorg_testset_save_CFLAGS"
   9095 fi
   9096 
   9097 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9098 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9099 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9100 	fi
   9101 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9102 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9103 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9104 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9105   $as_echo_n "(cached) " >&6
   9106 else
   9107   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9108 /* end confdefs.h.  */
   9109 int i;
   9110 _ACEOF
   9111 if ac_fn_c_try_compile "$LINENO"; then :
   9112   xorg_cv_cc_flag_unused_command_line_argument=yes
   9113 else
   9114   xorg_cv_cc_flag_unused_command_line_argument=no
   9115 fi
   9116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9117 fi
   9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9119 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9120 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9121 	CFLAGS="$xorg_testset_save_CFLAGS"
   9122 fi
   9123 
   9124 found="no"
   9125 
   9126 	if test $found = "no" ; then
   9127 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9128 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9129 		fi
   9130 
   9131 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9132 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9133 		fi
   9134 
   9135 		CFLAGS="$CFLAGS -Wmain"
   9136 
   9137 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmain" >&5
   9138 $as_echo_n "checking if $CC supports -Wmain... " >&6; }
   9139 		cacheid=xorg_cv_cc_flag__Wmain
   9140 		if eval \${$cacheid+:} false; then :
   9141   $as_echo_n "(cached) " >&6
   9142 else
   9143   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9144 /* end confdefs.h.  */
   9145 int i;
   9146 int
   9147 main ()
   9148 {
   9149 
   9150   ;
   9151   return 0;
   9152 }
   9153 _ACEOF
   9154 if ac_fn_c_try_link "$LINENO"; then :
   9155   eval $cacheid=yes
   9156 else
   9157   eval $cacheid=no
   9158 fi
   9159 rm -f core conftest.err conftest.$ac_objext \
   9160     conftest$ac_exeext conftest.$ac_ext
   9161 fi
   9162 
   9163 
   9164 		CFLAGS="$xorg_testset_save_CFLAGS"
   9165 
   9166 		eval supported=\$$cacheid
   9167 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9168 $as_echo "$supported" >&6; }
   9169 		if test "$supported" = "yes" ; then
   9170 			BASE_CFLAGS="$BASE_CFLAGS -Wmain"
   9171 			found="yes"
   9172 		fi
   9173 	fi
   9174 
   9175 
   9176 
   9177 
   9178 
   9179 
   9180 
   9181 
   9182 
   9183 
   9184 
   9185 
   9186 
   9187 
   9188 
   9189 xorg_testset_save_CFLAGS="$CFLAGS"
   9190 
   9191 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9192 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9193 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9194 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9195 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9196   $as_echo_n "(cached) " >&6
   9197 else
   9198   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9199 /* end confdefs.h.  */
   9200 int i;
   9201 _ACEOF
   9202 if ac_fn_c_try_compile "$LINENO"; then :
   9203   xorg_cv_cc_flag_unknown_warning_option=yes
   9204 else
   9205   xorg_cv_cc_flag_unknown_warning_option=no
   9206 fi
   9207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9208 fi
   9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9210 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9211 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9212 	CFLAGS="$xorg_testset_save_CFLAGS"
   9213 fi
   9214 
   9215 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9216 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9217 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9218 	fi
   9219 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9220 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9221 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9222 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9223   $as_echo_n "(cached) " >&6
   9224 else
   9225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9226 /* end confdefs.h.  */
   9227 int i;
   9228 _ACEOF
   9229 if ac_fn_c_try_compile "$LINENO"; then :
   9230   xorg_cv_cc_flag_unused_command_line_argument=yes
   9231 else
   9232   xorg_cv_cc_flag_unused_command_line_argument=no
   9233 fi
   9234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9235 fi
   9236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9237 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9238 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9239 	CFLAGS="$xorg_testset_save_CFLAGS"
   9240 fi
   9241 
   9242 found="no"
   9243 
   9244 	if test $found = "no" ; then
   9245 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9246 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9247 		fi
   9248 
   9249 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9250 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9251 		fi
   9252 
   9253 		CFLAGS="$CFLAGS -Wmissing-braces"
   9254 
   9255 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-braces" >&5
   9256 $as_echo_n "checking if $CC supports -Wmissing-braces... " >&6; }
   9257 		cacheid=xorg_cv_cc_flag__Wmissing_braces
   9258 		if eval \${$cacheid+:} false; then :
   9259   $as_echo_n "(cached) " >&6
   9260 else
   9261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9262 /* end confdefs.h.  */
   9263 int i;
   9264 int
   9265 main ()
   9266 {
   9267 
   9268   ;
   9269   return 0;
   9270 }
   9271 _ACEOF
   9272 if ac_fn_c_try_link "$LINENO"; then :
   9273   eval $cacheid=yes
   9274 else
   9275   eval $cacheid=no
   9276 fi
   9277 rm -f core conftest.err conftest.$ac_objext \
   9278     conftest$ac_exeext conftest.$ac_ext
   9279 fi
   9280 
   9281 
   9282 		CFLAGS="$xorg_testset_save_CFLAGS"
   9283 
   9284 		eval supported=\$$cacheid
   9285 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9286 $as_echo "$supported" >&6; }
   9287 		if test "$supported" = "yes" ; then
   9288 			BASE_CFLAGS="$BASE_CFLAGS -Wmissing-braces"
   9289 			found="yes"
   9290 		fi
   9291 	fi
   9292 
   9293 
   9294 
   9295 
   9296 
   9297 
   9298 
   9299 
   9300 
   9301 
   9302 
   9303 
   9304 
   9305 
   9306 
   9307 xorg_testset_save_CFLAGS="$CFLAGS"
   9308 
   9309 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9310 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9311 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9312 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9313 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9314   $as_echo_n "(cached) " >&6
   9315 else
   9316   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9317 /* end confdefs.h.  */
   9318 int i;
   9319 _ACEOF
   9320 if ac_fn_c_try_compile "$LINENO"; then :
   9321   xorg_cv_cc_flag_unknown_warning_option=yes
   9322 else
   9323   xorg_cv_cc_flag_unknown_warning_option=no
   9324 fi
   9325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9326 fi
   9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9328 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9329 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9330 	CFLAGS="$xorg_testset_save_CFLAGS"
   9331 fi
   9332 
   9333 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9334 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9335 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9336 	fi
   9337 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9338 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9339 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9340 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9341   $as_echo_n "(cached) " >&6
   9342 else
   9343   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9344 /* end confdefs.h.  */
   9345 int i;
   9346 _ACEOF
   9347 if ac_fn_c_try_compile "$LINENO"; then :
   9348   xorg_cv_cc_flag_unused_command_line_argument=yes
   9349 else
   9350   xorg_cv_cc_flag_unused_command_line_argument=no
   9351 fi
   9352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9353 fi
   9354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9355 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9356 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9357 	CFLAGS="$xorg_testset_save_CFLAGS"
   9358 fi
   9359 
   9360 found="no"
   9361 
   9362 	if test $found = "no" ; then
   9363 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9364 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9365 		fi
   9366 
   9367 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9368 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9369 		fi
   9370 
   9371 		CFLAGS="$CFLAGS -Wsequence-point"
   9372 
   9373 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wsequence-point" >&5
   9374 $as_echo_n "checking if $CC supports -Wsequence-point... " >&6; }
   9375 		cacheid=xorg_cv_cc_flag__Wsequence_point
   9376 		if eval \${$cacheid+:} false; then :
   9377   $as_echo_n "(cached) " >&6
   9378 else
   9379   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9380 /* end confdefs.h.  */
   9381 int i;
   9382 int
   9383 main ()
   9384 {
   9385 
   9386   ;
   9387   return 0;
   9388 }
   9389 _ACEOF
   9390 if ac_fn_c_try_link "$LINENO"; then :
   9391   eval $cacheid=yes
   9392 else
   9393   eval $cacheid=no
   9394 fi
   9395 rm -f core conftest.err conftest.$ac_objext \
   9396     conftest$ac_exeext conftest.$ac_ext
   9397 fi
   9398 
   9399 
   9400 		CFLAGS="$xorg_testset_save_CFLAGS"
   9401 
   9402 		eval supported=\$$cacheid
   9403 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9404 $as_echo "$supported" >&6; }
   9405 		if test "$supported" = "yes" ; then
   9406 			BASE_CFLAGS="$BASE_CFLAGS -Wsequence-point"
   9407 			found="yes"
   9408 		fi
   9409 	fi
   9410 
   9411 
   9412 
   9413 
   9414 
   9415 
   9416 
   9417 
   9418 
   9419 
   9420 
   9421 
   9422 
   9423 
   9424 
   9425 xorg_testset_save_CFLAGS="$CFLAGS"
   9426 
   9427 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9428 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9429 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9430 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9431 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9432   $as_echo_n "(cached) " >&6
   9433 else
   9434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9435 /* end confdefs.h.  */
   9436 int i;
   9437 _ACEOF
   9438 if ac_fn_c_try_compile "$LINENO"; then :
   9439   xorg_cv_cc_flag_unknown_warning_option=yes
   9440 else
   9441   xorg_cv_cc_flag_unknown_warning_option=no
   9442 fi
   9443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9444 fi
   9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9446 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9447 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9448 	CFLAGS="$xorg_testset_save_CFLAGS"
   9449 fi
   9450 
   9451 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9452 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9453 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9454 	fi
   9455 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9456 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9457 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9458 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9459   $as_echo_n "(cached) " >&6
   9460 else
   9461   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9462 /* end confdefs.h.  */
   9463 int i;
   9464 _ACEOF
   9465 if ac_fn_c_try_compile "$LINENO"; then :
   9466   xorg_cv_cc_flag_unused_command_line_argument=yes
   9467 else
   9468   xorg_cv_cc_flag_unused_command_line_argument=no
   9469 fi
   9470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9471 fi
   9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9473 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9474 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9475 	CFLAGS="$xorg_testset_save_CFLAGS"
   9476 fi
   9477 
   9478 found="no"
   9479 
   9480 	if test $found = "no" ; then
   9481 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9482 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9483 		fi
   9484 
   9485 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9486 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9487 		fi
   9488 
   9489 		CFLAGS="$CFLAGS -Wreturn-type"
   9490 
   9491 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wreturn-type" >&5
   9492 $as_echo_n "checking if $CC supports -Wreturn-type... " >&6; }
   9493 		cacheid=xorg_cv_cc_flag__Wreturn_type
   9494 		if eval \${$cacheid+:} false; then :
   9495   $as_echo_n "(cached) " >&6
   9496 else
   9497   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9498 /* end confdefs.h.  */
   9499 int i;
   9500 int
   9501 main ()
   9502 {
   9503 
   9504   ;
   9505   return 0;
   9506 }
   9507 _ACEOF
   9508 if ac_fn_c_try_link "$LINENO"; then :
   9509   eval $cacheid=yes
   9510 else
   9511   eval $cacheid=no
   9512 fi
   9513 rm -f core conftest.err conftest.$ac_objext \
   9514     conftest$ac_exeext conftest.$ac_ext
   9515 fi
   9516 
   9517 
   9518 		CFLAGS="$xorg_testset_save_CFLAGS"
   9519 
   9520 		eval supported=\$$cacheid
   9521 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9522 $as_echo "$supported" >&6; }
   9523 		if test "$supported" = "yes" ; then
   9524 			BASE_CFLAGS="$BASE_CFLAGS -Wreturn-type"
   9525 			found="yes"
   9526 		fi
   9527 	fi
   9528 
   9529 
   9530 
   9531 
   9532 
   9533 
   9534 
   9535 
   9536 
   9537 
   9538 
   9539 
   9540 
   9541 
   9542 
   9543 xorg_testset_save_CFLAGS="$CFLAGS"
   9544 
   9545 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9546 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9547 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9548 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9549 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9550   $as_echo_n "(cached) " >&6
   9551 else
   9552   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9553 /* end confdefs.h.  */
   9554 int i;
   9555 _ACEOF
   9556 if ac_fn_c_try_compile "$LINENO"; then :
   9557   xorg_cv_cc_flag_unknown_warning_option=yes
   9558 else
   9559   xorg_cv_cc_flag_unknown_warning_option=no
   9560 fi
   9561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9562 fi
   9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9564 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9565 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9566 	CFLAGS="$xorg_testset_save_CFLAGS"
   9567 fi
   9568 
   9569 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9570 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9571 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9572 	fi
   9573 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9574 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9575 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9576 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9577   $as_echo_n "(cached) " >&6
   9578 else
   9579   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9580 /* end confdefs.h.  */
   9581 int i;
   9582 _ACEOF
   9583 if ac_fn_c_try_compile "$LINENO"; then :
   9584   xorg_cv_cc_flag_unused_command_line_argument=yes
   9585 else
   9586   xorg_cv_cc_flag_unused_command_line_argument=no
   9587 fi
   9588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9589 fi
   9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9591 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9592 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9593 	CFLAGS="$xorg_testset_save_CFLAGS"
   9594 fi
   9595 
   9596 found="no"
   9597 
   9598 	if test $found = "no" ; then
   9599 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9600 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9601 		fi
   9602 
   9603 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9604 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9605 		fi
   9606 
   9607 		CFLAGS="$CFLAGS -Wtrigraphs"
   9608 
   9609 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrigraphs" >&5
   9610 $as_echo_n "checking if $CC supports -Wtrigraphs... " >&6; }
   9611 		cacheid=xorg_cv_cc_flag__Wtrigraphs
   9612 		if eval \${$cacheid+:} false; then :
   9613   $as_echo_n "(cached) " >&6
   9614 else
   9615   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9616 /* end confdefs.h.  */
   9617 int i;
   9618 int
   9619 main ()
   9620 {
   9621 
   9622   ;
   9623   return 0;
   9624 }
   9625 _ACEOF
   9626 if ac_fn_c_try_link "$LINENO"; then :
   9627   eval $cacheid=yes
   9628 else
   9629   eval $cacheid=no
   9630 fi
   9631 rm -f core conftest.err conftest.$ac_objext \
   9632     conftest$ac_exeext conftest.$ac_ext
   9633 fi
   9634 
   9635 
   9636 		CFLAGS="$xorg_testset_save_CFLAGS"
   9637 
   9638 		eval supported=\$$cacheid
   9639 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9640 $as_echo "$supported" >&6; }
   9641 		if test "$supported" = "yes" ; then
   9642 			BASE_CFLAGS="$BASE_CFLAGS -Wtrigraphs"
   9643 			found="yes"
   9644 		fi
   9645 	fi
   9646 
   9647 
   9648 
   9649 
   9650 
   9651 
   9652 
   9653 
   9654 
   9655 
   9656 
   9657 
   9658 
   9659 
   9660 
   9661 xorg_testset_save_CFLAGS="$CFLAGS"
   9662 
   9663 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9664 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9665 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9666 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9667 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9668   $as_echo_n "(cached) " >&6
   9669 else
   9670   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9671 /* end confdefs.h.  */
   9672 int i;
   9673 _ACEOF
   9674 if ac_fn_c_try_compile "$LINENO"; then :
   9675   xorg_cv_cc_flag_unknown_warning_option=yes
   9676 else
   9677   xorg_cv_cc_flag_unknown_warning_option=no
   9678 fi
   9679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9680 fi
   9681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9682 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9683 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9684 	CFLAGS="$xorg_testset_save_CFLAGS"
   9685 fi
   9686 
   9687 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9688 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9689 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9690 	fi
   9691 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9692 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9693 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9694 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9695   $as_echo_n "(cached) " >&6
   9696 else
   9697   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9698 /* end confdefs.h.  */
   9699 int i;
   9700 _ACEOF
   9701 if ac_fn_c_try_compile "$LINENO"; then :
   9702   xorg_cv_cc_flag_unused_command_line_argument=yes
   9703 else
   9704   xorg_cv_cc_flag_unused_command_line_argument=no
   9705 fi
   9706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9707 fi
   9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9709 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9710 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9711 	CFLAGS="$xorg_testset_save_CFLAGS"
   9712 fi
   9713 
   9714 found="no"
   9715 
   9716 	if test $found = "no" ; then
   9717 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9718 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9719 		fi
   9720 
   9721 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9722 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9723 		fi
   9724 
   9725 		CFLAGS="$CFLAGS -Warray-bounds"
   9726 
   9727 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Warray-bounds" >&5
   9728 $as_echo_n "checking if $CC supports -Warray-bounds... " >&6; }
   9729 		cacheid=xorg_cv_cc_flag__Warray_bounds
   9730 		if eval \${$cacheid+:} false; then :
   9731   $as_echo_n "(cached) " >&6
   9732 else
   9733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9734 /* end confdefs.h.  */
   9735 int i;
   9736 int
   9737 main ()
   9738 {
   9739 
   9740   ;
   9741   return 0;
   9742 }
   9743 _ACEOF
   9744 if ac_fn_c_try_link "$LINENO"; then :
   9745   eval $cacheid=yes
   9746 else
   9747   eval $cacheid=no
   9748 fi
   9749 rm -f core conftest.err conftest.$ac_objext \
   9750     conftest$ac_exeext conftest.$ac_ext
   9751 fi
   9752 
   9753 
   9754 		CFLAGS="$xorg_testset_save_CFLAGS"
   9755 
   9756 		eval supported=\$$cacheid
   9757 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9758 $as_echo "$supported" >&6; }
   9759 		if test "$supported" = "yes" ; then
   9760 			BASE_CFLAGS="$BASE_CFLAGS -Warray-bounds"
   9761 			found="yes"
   9762 		fi
   9763 	fi
   9764 
   9765 
   9766 
   9767 
   9768 
   9769 
   9770 
   9771 
   9772 
   9773 
   9774 
   9775 
   9776 
   9777 
   9778 
   9779 xorg_testset_save_CFLAGS="$CFLAGS"
   9780 
   9781 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9782 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9783 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9784 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9785 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9786   $as_echo_n "(cached) " >&6
   9787 else
   9788   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9789 /* end confdefs.h.  */
   9790 int i;
   9791 _ACEOF
   9792 if ac_fn_c_try_compile "$LINENO"; then :
   9793   xorg_cv_cc_flag_unknown_warning_option=yes
   9794 else
   9795   xorg_cv_cc_flag_unknown_warning_option=no
   9796 fi
   9797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9798 fi
   9799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9800 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9801 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9802 	CFLAGS="$xorg_testset_save_CFLAGS"
   9803 fi
   9804 
   9805 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9806 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9807 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9808 	fi
   9809 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9810 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9811 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9812 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9813   $as_echo_n "(cached) " >&6
   9814 else
   9815   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9816 /* end confdefs.h.  */
   9817 int i;
   9818 _ACEOF
   9819 if ac_fn_c_try_compile "$LINENO"; then :
   9820   xorg_cv_cc_flag_unused_command_line_argument=yes
   9821 else
   9822   xorg_cv_cc_flag_unused_command_line_argument=no
   9823 fi
   9824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9825 fi
   9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9827 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9828 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9829 	CFLAGS="$xorg_testset_save_CFLAGS"
   9830 fi
   9831 
   9832 found="no"
   9833 
   9834 	if test $found = "no" ; then
   9835 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9836 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9837 		fi
   9838 
   9839 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9840 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9841 		fi
   9842 
   9843 		CFLAGS="$CFLAGS -Wwrite-strings"
   9844 
   9845 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
   9846 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
   9847 		cacheid=xorg_cv_cc_flag__Wwrite_strings
   9848 		if eval \${$cacheid+:} false; then :
   9849   $as_echo_n "(cached) " >&6
   9850 else
   9851   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9852 /* end confdefs.h.  */
   9853 int i;
   9854 int
   9855 main ()
   9856 {
   9857 
   9858   ;
   9859   return 0;
   9860 }
   9861 _ACEOF
   9862 if ac_fn_c_try_link "$LINENO"; then :
   9863   eval $cacheid=yes
   9864 else
   9865   eval $cacheid=no
   9866 fi
   9867 rm -f core conftest.err conftest.$ac_objext \
   9868     conftest$ac_exeext conftest.$ac_ext
   9869 fi
   9870 
   9871 
   9872 		CFLAGS="$xorg_testset_save_CFLAGS"
   9873 
   9874 		eval supported=\$$cacheid
   9875 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9876 $as_echo "$supported" >&6; }
   9877 		if test "$supported" = "yes" ; then
   9878 			BASE_CFLAGS="$BASE_CFLAGS -Wwrite-strings"
   9879 			found="yes"
   9880 		fi
   9881 	fi
   9882 
   9883 
   9884 
   9885 
   9886 
   9887 
   9888 
   9889 
   9890 
   9891 
   9892 
   9893 
   9894 
   9895 
   9896 
   9897 xorg_testset_save_CFLAGS="$CFLAGS"
   9898 
   9899 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   9900 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9901 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   9902 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   9903 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   9904   $as_echo_n "(cached) " >&6
   9905 else
   9906   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9907 /* end confdefs.h.  */
   9908 int i;
   9909 _ACEOF
   9910 if ac_fn_c_try_compile "$LINENO"; then :
   9911   xorg_cv_cc_flag_unknown_warning_option=yes
   9912 else
   9913   xorg_cv_cc_flag_unknown_warning_option=no
   9914 fi
   9915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9916 fi
   9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   9918 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   9919 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   9920 	CFLAGS="$xorg_testset_save_CFLAGS"
   9921 fi
   9922 
   9923 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   9924 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9925 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9926 	fi
   9927 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9928 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   9929 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   9930 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   9931   $as_echo_n "(cached) " >&6
   9932 else
   9933   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9934 /* end confdefs.h.  */
   9935 int i;
   9936 _ACEOF
   9937 if ac_fn_c_try_compile "$LINENO"; then :
   9938   xorg_cv_cc_flag_unused_command_line_argument=yes
   9939 else
   9940   xorg_cv_cc_flag_unused_command_line_argument=no
   9941 fi
   9942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   9943 fi
   9944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   9945 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   9946 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   9947 	CFLAGS="$xorg_testset_save_CFLAGS"
   9948 fi
   9949 
   9950 found="no"
   9951 
   9952 	if test $found = "no" ; then
   9953 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   9954 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   9955 		fi
   9956 
   9957 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   9958 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   9959 		fi
   9960 
   9961 		CFLAGS="$CFLAGS -Waddress"
   9962 
   9963 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Waddress" >&5
   9964 $as_echo_n "checking if $CC supports -Waddress... " >&6; }
   9965 		cacheid=xorg_cv_cc_flag__Waddress
   9966 		if eval \${$cacheid+:} false; then :
   9967   $as_echo_n "(cached) " >&6
   9968 else
   9969   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   9970 /* end confdefs.h.  */
   9971 int i;
   9972 int
   9973 main ()
   9974 {
   9975 
   9976   ;
   9977   return 0;
   9978 }
   9979 _ACEOF
   9980 if ac_fn_c_try_link "$LINENO"; then :
   9981   eval $cacheid=yes
   9982 else
   9983   eval $cacheid=no
   9984 fi
   9985 rm -f core conftest.err conftest.$ac_objext \
   9986     conftest$ac_exeext conftest.$ac_ext
   9987 fi
   9988 
   9989 
   9990 		CFLAGS="$xorg_testset_save_CFLAGS"
   9991 
   9992 		eval supported=\$$cacheid
   9993 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   9994 $as_echo "$supported" >&6; }
   9995 		if test "$supported" = "yes" ; then
   9996 			BASE_CFLAGS="$BASE_CFLAGS -Waddress"
   9997 			found="yes"
   9998 		fi
   9999 	fi
   10000 
   10001 
   10002 
   10003 
   10004 
   10005 
   10006 
   10007 
   10008 
   10009 
   10010 
   10011 
   10012 
   10013 
   10014 
   10015 xorg_testset_save_CFLAGS="$CFLAGS"
   10016 
   10017 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10018 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10019 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10020 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10021 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10022   $as_echo_n "(cached) " >&6
   10023 else
   10024   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10025 /* end confdefs.h.  */
   10026 int i;
   10027 _ACEOF
   10028 if ac_fn_c_try_compile "$LINENO"; then :
   10029   xorg_cv_cc_flag_unknown_warning_option=yes
   10030 else
   10031   xorg_cv_cc_flag_unknown_warning_option=no
   10032 fi
   10033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10034 fi
   10035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10036 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10037 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10038 	CFLAGS="$xorg_testset_save_CFLAGS"
   10039 fi
   10040 
   10041 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10042 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10043 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10044 	fi
   10045 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10046 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10047 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10048 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10049   $as_echo_n "(cached) " >&6
   10050 else
   10051   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10052 /* end confdefs.h.  */
   10053 int i;
   10054 _ACEOF
   10055 if ac_fn_c_try_compile "$LINENO"; then :
   10056   xorg_cv_cc_flag_unused_command_line_argument=yes
   10057 else
   10058   xorg_cv_cc_flag_unused_command_line_argument=no
   10059 fi
   10060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10061 fi
   10062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10063 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10064 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10065 	CFLAGS="$xorg_testset_save_CFLAGS"
   10066 fi
   10067 
   10068 found="no"
   10069 
   10070 	if test $found = "no" ; then
   10071 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10072 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10073 		fi
   10074 
   10075 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10076 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10077 		fi
   10078 
   10079 		CFLAGS="$CFLAGS -Wint-to-pointer-cast"
   10080 
   10081 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wint-to-pointer-cast" >&5
   10082 $as_echo_n "checking if $CC supports -Wint-to-pointer-cast... " >&6; }
   10083 		cacheid=xorg_cv_cc_flag__Wint_to_pointer_cast
   10084 		if eval \${$cacheid+:} false; then :
   10085   $as_echo_n "(cached) " >&6
   10086 else
   10087   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10088 /* end confdefs.h.  */
   10089 int i;
   10090 int
   10091 main ()
   10092 {
   10093 
   10094   ;
   10095   return 0;
   10096 }
   10097 _ACEOF
   10098 if ac_fn_c_try_link "$LINENO"; then :
   10099   eval $cacheid=yes
   10100 else
   10101   eval $cacheid=no
   10102 fi
   10103 rm -f core conftest.err conftest.$ac_objext \
   10104     conftest$ac_exeext conftest.$ac_ext
   10105 fi
   10106 
   10107 
   10108 		CFLAGS="$xorg_testset_save_CFLAGS"
   10109 
   10110 		eval supported=\$$cacheid
   10111 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10112 $as_echo "$supported" >&6; }
   10113 		if test "$supported" = "yes" ; then
   10114 			BASE_CFLAGS="$BASE_CFLAGS -Wint-to-pointer-cast"
   10115 			found="yes"
   10116 		fi
   10117 	fi
   10118 
   10119 
   10120 
   10121 
   10122 
   10123 
   10124 
   10125 
   10126 
   10127 
   10128 
   10129 
   10130 
   10131 
   10132 
   10133 xorg_testset_save_CFLAGS="$CFLAGS"
   10134 
   10135 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10136 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10137 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10138 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10139 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10140   $as_echo_n "(cached) " >&6
   10141 else
   10142   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10143 /* end confdefs.h.  */
   10144 int i;
   10145 _ACEOF
   10146 if ac_fn_c_try_compile "$LINENO"; then :
   10147   xorg_cv_cc_flag_unknown_warning_option=yes
   10148 else
   10149   xorg_cv_cc_flag_unknown_warning_option=no
   10150 fi
   10151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10152 fi
   10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10154 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10155 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10156 	CFLAGS="$xorg_testset_save_CFLAGS"
   10157 fi
   10158 
   10159 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10160 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10161 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10162 	fi
   10163 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10164 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10165 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10166 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10167   $as_echo_n "(cached) " >&6
   10168 else
   10169   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10170 /* end confdefs.h.  */
   10171 int i;
   10172 _ACEOF
   10173 if ac_fn_c_try_compile "$LINENO"; then :
   10174   xorg_cv_cc_flag_unused_command_line_argument=yes
   10175 else
   10176   xorg_cv_cc_flag_unused_command_line_argument=no
   10177 fi
   10178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10179 fi
   10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10181 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10182 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10183 	CFLAGS="$xorg_testset_save_CFLAGS"
   10184 fi
   10185 
   10186 found="no"
   10187 
   10188 	if test $found = "no" ; then
   10189 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10190 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10191 		fi
   10192 
   10193 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10194 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10195 		fi
   10196 
   10197 		CFLAGS="$CFLAGS -Wpointer-to-int-cast"
   10198 
   10199 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-to-int-cast" >&5
   10200 $as_echo_n "checking if $CC supports -Wpointer-to-int-cast... " >&6; }
   10201 		cacheid=xorg_cv_cc_flag__Wpointer_to_int_cast
   10202 		if eval \${$cacheid+:} false; then :
   10203   $as_echo_n "(cached) " >&6
   10204 else
   10205   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10206 /* end confdefs.h.  */
   10207 int i;
   10208 int
   10209 main ()
   10210 {
   10211 
   10212   ;
   10213   return 0;
   10214 }
   10215 _ACEOF
   10216 if ac_fn_c_try_link "$LINENO"; then :
   10217   eval $cacheid=yes
   10218 else
   10219   eval $cacheid=no
   10220 fi
   10221 rm -f core conftest.err conftest.$ac_objext \
   10222     conftest$ac_exeext conftest.$ac_ext
   10223 fi
   10224 
   10225 
   10226 		CFLAGS="$xorg_testset_save_CFLAGS"
   10227 
   10228 		eval supported=\$$cacheid
   10229 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10230 $as_echo "$supported" >&6; }
   10231 		if test "$supported" = "yes" ; then
   10232 			BASE_CFLAGS="$BASE_CFLAGS -Wpointer-to-int-cast"
   10233 			found="yes"
   10234 		fi
   10235 	fi
   10236 
   10237 
   10238 fi
   10239 
   10240 
   10241 
   10242 
   10243 
   10244 
   10245 
   10246 		CWARNFLAGS="$BASE_CFLAGS"
   10247 		if  test "x$GCC" = xyes ; then
   10248 		    CWARNFLAGS="$CWARNFLAGS -fno-strict-aliasing"
   10249 		fi
   10250 
   10251 
   10252 
   10253 
   10254 
   10255 
   10256 
   10257 
   10258 # Check whether --enable-strict-compilation was given.
   10259 if test "${enable_strict_compilation+set}" = set; then :
   10260   enableval=$enable_strict_compilation; STRICT_COMPILE=$enableval
   10261 else
   10262   STRICT_COMPILE=no
   10263 fi
   10264 
   10265 
   10266 
   10267 
   10268 
   10269 
   10270 STRICT_CFLAGS=""
   10271 
   10272 
   10273 
   10274 
   10275 
   10276 
   10277 
   10278 
   10279 
   10280 
   10281 
   10282 
   10283 
   10284 xorg_testset_save_CFLAGS="$CFLAGS"
   10285 
   10286 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10287 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10288 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10289 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10290 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10291   $as_echo_n "(cached) " >&6
   10292 else
   10293   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10294 /* end confdefs.h.  */
   10295 int i;
   10296 _ACEOF
   10297 if ac_fn_c_try_compile "$LINENO"; then :
   10298   xorg_cv_cc_flag_unknown_warning_option=yes
   10299 else
   10300   xorg_cv_cc_flag_unknown_warning_option=no
   10301 fi
   10302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10303 fi
   10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10305 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10306 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10307 	CFLAGS="$xorg_testset_save_CFLAGS"
   10308 fi
   10309 
   10310 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10311 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10312 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10313 	fi
   10314 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10315 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10316 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10317 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10318   $as_echo_n "(cached) " >&6
   10319 else
   10320   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10321 /* end confdefs.h.  */
   10322 int i;
   10323 _ACEOF
   10324 if ac_fn_c_try_compile "$LINENO"; then :
   10325   xorg_cv_cc_flag_unused_command_line_argument=yes
   10326 else
   10327   xorg_cv_cc_flag_unused_command_line_argument=no
   10328 fi
   10329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10330 fi
   10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10332 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10333 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10334 	CFLAGS="$xorg_testset_save_CFLAGS"
   10335 fi
   10336 
   10337 found="no"
   10338 
   10339 	if test $found = "no" ; then
   10340 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10341 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10342 		fi
   10343 
   10344 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10345 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10346 		fi
   10347 
   10348 		CFLAGS="$CFLAGS -pedantic"
   10349 
   10350 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -pedantic" >&5
   10351 $as_echo_n "checking if $CC supports -pedantic... " >&6; }
   10352 		cacheid=xorg_cv_cc_flag__pedantic
   10353 		if eval \${$cacheid+:} false; then :
   10354   $as_echo_n "(cached) " >&6
   10355 else
   10356   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10357 /* end confdefs.h.  */
   10358 int i;
   10359 int
   10360 main ()
   10361 {
   10362 
   10363   ;
   10364   return 0;
   10365 }
   10366 _ACEOF
   10367 if ac_fn_c_try_link "$LINENO"; then :
   10368   eval $cacheid=yes
   10369 else
   10370   eval $cacheid=no
   10371 fi
   10372 rm -f core conftest.err conftest.$ac_objext \
   10373     conftest$ac_exeext conftest.$ac_ext
   10374 fi
   10375 
   10376 
   10377 		CFLAGS="$xorg_testset_save_CFLAGS"
   10378 
   10379 		eval supported=\$$cacheid
   10380 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10381 $as_echo "$supported" >&6; }
   10382 		if test "$supported" = "yes" ; then
   10383 			STRICT_CFLAGS="$STRICT_CFLAGS -pedantic"
   10384 			found="yes"
   10385 		fi
   10386 	fi
   10387 
   10388 
   10389 
   10390 
   10391 
   10392 
   10393 
   10394 
   10395 
   10396 
   10397 
   10398 
   10399 
   10400 
   10401 
   10402 xorg_testset_save_CFLAGS="$CFLAGS"
   10403 
   10404 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10405 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10406 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10407 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10408 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10409   $as_echo_n "(cached) " >&6
   10410 else
   10411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10412 /* end confdefs.h.  */
   10413 int i;
   10414 _ACEOF
   10415 if ac_fn_c_try_compile "$LINENO"; then :
   10416   xorg_cv_cc_flag_unknown_warning_option=yes
   10417 else
   10418   xorg_cv_cc_flag_unknown_warning_option=no
   10419 fi
   10420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10421 fi
   10422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10423 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10424 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10425 	CFLAGS="$xorg_testset_save_CFLAGS"
   10426 fi
   10427 
   10428 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10429 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10430 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10431 	fi
   10432 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10433 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10434 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10435 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10436   $as_echo_n "(cached) " >&6
   10437 else
   10438   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10439 /* end confdefs.h.  */
   10440 int i;
   10441 _ACEOF
   10442 if ac_fn_c_try_compile "$LINENO"; then :
   10443   xorg_cv_cc_flag_unused_command_line_argument=yes
   10444 else
   10445   xorg_cv_cc_flag_unused_command_line_argument=no
   10446 fi
   10447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10448 fi
   10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10450 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10451 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10452 	CFLAGS="$xorg_testset_save_CFLAGS"
   10453 fi
   10454 
   10455 found="no"
   10456 
   10457 	if test $found = "no" ; then
   10458 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10459 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10460 		fi
   10461 
   10462 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10463 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10464 		fi
   10465 
   10466 		CFLAGS="$CFLAGS -Werror"
   10467 
   10468 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror" >&5
   10469 $as_echo_n "checking if $CC supports -Werror... " >&6; }
   10470 		cacheid=xorg_cv_cc_flag__Werror
   10471 		if eval \${$cacheid+:} false; then :
   10472   $as_echo_n "(cached) " >&6
   10473 else
   10474   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10475 /* end confdefs.h.  */
   10476 int i;
   10477 int
   10478 main ()
   10479 {
   10480 
   10481   ;
   10482   return 0;
   10483 }
   10484 _ACEOF
   10485 if ac_fn_c_try_link "$LINENO"; then :
   10486   eval $cacheid=yes
   10487 else
   10488   eval $cacheid=no
   10489 fi
   10490 rm -f core conftest.err conftest.$ac_objext \
   10491     conftest$ac_exeext conftest.$ac_ext
   10492 fi
   10493 
   10494 
   10495 		CFLAGS="$xorg_testset_save_CFLAGS"
   10496 
   10497 		eval supported=\$$cacheid
   10498 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10499 $as_echo "$supported" >&6; }
   10500 		if test "$supported" = "yes" ; then
   10501 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror"
   10502 			found="yes"
   10503 		fi
   10504 	fi
   10505 
   10506 	if test $found = "no" ; then
   10507 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10508 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10509 		fi
   10510 
   10511 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10512 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10513 		fi
   10514 
   10515 		CFLAGS="$CFLAGS -errwarn"
   10516 
   10517 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -errwarn" >&5
   10518 $as_echo_n "checking if $CC supports -errwarn... " >&6; }
   10519 		cacheid=xorg_cv_cc_flag__errwarn
   10520 		if eval \${$cacheid+:} false; then :
   10521   $as_echo_n "(cached) " >&6
   10522 else
   10523   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10524 /* end confdefs.h.  */
   10525 int i;
   10526 int
   10527 main ()
   10528 {
   10529 
   10530   ;
   10531   return 0;
   10532 }
   10533 _ACEOF
   10534 if ac_fn_c_try_link "$LINENO"; then :
   10535   eval $cacheid=yes
   10536 else
   10537   eval $cacheid=no
   10538 fi
   10539 rm -f core conftest.err conftest.$ac_objext \
   10540     conftest$ac_exeext conftest.$ac_ext
   10541 fi
   10542 
   10543 
   10544 		CFLAGS="$xorg_testset_save_CFLAGS"
   10545 
   10546 		eval supported=\$$cacheid
   10547 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10548 $as_echo "$supported" >&6; }
   10549 		if test "$supported" = "yes" ; then
   10550 			STRICT_CFLAGS="$STRICT_CFLAGS -errwarn"
   10551 			found="yes"
   10552 		fi
   10553 	fi
   10554 
   10555 
   10556 
   10557 # Earlier versions of gcc (eg: 4.2) support -Werror=attributes, but do not
   10558 # activate it with -Werror, so we add it here explicitly.
   10559 
   10560 
   10561 
   10562 
   10563 
   10564 
   10565 
   10566 
   10567 
   10568 
   10569 
   10570 
   10571 
   10572 xorg_testset_save_CFLAGS="$CFLAGS"
   10573 
   10574 if test "x$xorg_testset_cc_unknown_warning_option" = "x" ; then
   10575 	CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10576 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unknown-warning-option" >&5
   10577 $as_echo_n "checking if $CC supports -Werror=unknown-warning-option... " >&6; }
   10578 if ${xorg_cv_cc_flag_unknown_warning_option+:} false; then :
   10579   $as_echo_n "(cached) " >&6
   10580 else
   10581   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10582 /* end confdefs.h.  */
   10583 int i;
   10584 _ACEOF
   10585 if ac_fn_c_try_compile "$LINENO"; then :
   10586   xorg_cv_cc_flag_unknown_warning_option=yes
   10587 else
   10588   xorg_cv_cc_flag_unknown_warning_option=no
   10589 fi
   10590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10591 fi
   10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unknown_warning_option" >&5
   10593 $as_echo "$xorg_cv_cc_flag_unknown_warning_option" >&6; }
   10594 	xorg_testset_cc_unknown_warning_option=$xorg_cv_cc_flag_unknown_warning_option
   10595 	CFLAGS="$xorg_testset_save_CFLAGS"
   10596 fi
   10597 
   10598 if test "x$xorg_testset_cc_unused_command_line_argument" = "x" ; then
   10599 	if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10600 		CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10601 	fi
   10602 	CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10603 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=unused-command-line-argument" >&5
   10604 $as_echo_n "checking if $CC supports -Werror=unused-command-line-argument... " >&6; }
   10605 if ${xorg_cv_cc_flag_unused_command_line_argument+:} false; then :
   10606   $as_echo_n "(cached) " >&6
   10607 else
   10608   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10609 /* end confdefs.h.  */
   10610 int i;
   10611 _ACEOF
   10612 if ac_fn_c_try_compile "$LINENO"; then :
   10613   xorg_cv_cc_flag_unused_command_line_argument=yes
   10614 else
   10615   xorg_cv_cc_flag_unused_command_line_argument=no
   10616 fi
   10617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   10618 fi
   10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xorg_cv_cc_flag_unused_command_line_argument" >&5
   10620 $as_echo "$xorg_cv_cc_flag_unused_command_line_argument" >&6; }
   10621 	xorg_testset_cc_unused_command_line_argument=$xorg_cv_cc_flag_unused_command_line_argument
   10622 	CFLAGS="$xorg_testset_save_CFLAGS"
   10623 fi
   10624 
   10625 found="no"
   10626 
   10627 	if test $found = "no" ; then
   10628 		if test "x$xorg_testset_cc_unknown_warning_option" = "xyes" ; then
   10629 			CFLAGS="$CFLAGS -Werror=unknown-warning-option"
   10630 		fi
   10631 
   10632 		if test "x$xorg_testset_cc_unused_command_line_argument" = "xyes" ; then
   10633 			CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
   10634 		fi
   10635 
   10636 		CFLAGS="$CFLAGS -Werror=attributes"
   10637 
   10638 		{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Werror=attributes" >&5
   10639 $as_echo_n "checking if $CC supports -Werror=attributes... " >&6; }
   10640 		cacheid=xorg_cv_cc_flag__Werror_attributes
   10641 		if eval \${$cacheid+:} false; then :
   10642   $as_echo_n "(cached) " >&6
   10643 else
   10644   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   10645 /* end confdefs.h.  */
   10646 int i;
   10647 int
   10648 main ()
   10649 {
   10650 
   10651   ;
   10652   return 0;
   10653 }
   10654 _ACEOF
   10655 if ac_fn_c_try_link "$LINENO"; then :
   10656   eval $cacheid=yes
   10657 else
   10658   eval $cacheid=no
   10659 fi
   10660 rm -f core conftest.err conftest.$ac_objext \
   10661     conftest$ac_exeext conftest.$ac_ext
   10662 fi
   10663 
   10664 
   10665 		CFLAGS="$xorg_testset_save_CFLAGS"
   10666 
   10667 		eval supported=\$$cacheid
   10668 		{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $supported" >&5
   10669 $as_echo "$supported" >&6; }
   10670 		if test "$supported" = "yes" ; then
   10671 			STRICT_CFLAGS="$STRICT_CFLAGS -Werror=attributes"
   10672 			found="yes"
   10673 		fi
   10674 	fi
   10675 
   10676 
   10677 
   10678 if test "x$STRICT_COMPILE" = "xyes"; then
   10679     BASE_CFLAGS="$BASE_CFLAGS $STRICT_CFLAGS"
   10680     CWARNFLAGS="$CWARNFLAGS $STRICT_CFLAGS"
   10681 fi
   10682 
   10683 
   10684 
   10685 
   10686 
   10687 
   10688 cat >>confdefs.h <<_ACEOF
   10689 #define PACKAGE_VERSION_MAJOR `echo $PACKAGE_VERSION | cut -d . -f 1`
   10690 _ACEOF
   10691 
   10692 	PVM=`echo $PACKAGE_VERSION | cut -d . -f 2 | cut -d - -f 1`
   10693 	if test "x$PVM" = "x"; then
   10694 		PVM="0"
   10695 	fi
   10696 
   10697 cat >>confdefs.h <<_ACEOF
   10698 #define PACKAGE_VERSION_MINOR $PVM
   10699 _ACEOF
   10700 
   10701 	PVP=`echo $PACKAGE_VERSION | cut -d . -f 3 | cut -d - -f 1`
   10702 	if test "x$PVP" = "x"; then
   10703 		PVP="0"
   10704 	fi
   10705 
   10706 cat >>confdefs.h <<_ACEOF
   10707 #define PACKAGE_VERSION_PATCHLEVEL $PVP
   10708 _ACEOF
   10709 
   10710 
   10711 
   10712 CHANGELOG_CMD="(GIT_DIR=\$(top_srcdir)/.git git log > \$(top_srcdir)/.changelog.tmp && \
   10713 mv \$(top_srcdir)/.changelog.tmp \$(top_srcdir)/ChangeLog) \
   10714 || (rm -f \$(top_srcdir)/.changelog.tmp; touch \$(top_srcdir)/ChangeLog; \
   10715 echo 'git directory not found: installing possibly empty changelog.' >&2)"
   10716 
   10717 
   10718 
   10719 
   10720 macros_datadir=`$PKG_CONFIG --print-errors --variable=pkgdatadir xorg-macros`
   10721 INSTALL_CMD="(cp -f "$macros_datadir/INSTALL" \$(top_srcdir)/.INSTALL.tmp && \
   10722 mv \$(top_srcdir)/.INSTALL.tmp \$(top_srcdir)/INSTALL) \
   10723 || (rm -f \$(top_srcdir)/.INSTALL.tmp; touch \$(top_srcdir)/INSTALL; \
   10724 echo 'util-macros \"pkgdatadir\" from xorg-macros.pc not found: installing possibly empty INSTALL.' >&2)"
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 if test x$APP_MAN_SUFFIX = x    ; then
   10732     APP_MAN_SUFFIX=1
   10733 fi
   10734 if test x$APP_MAN_DIR = x    ; then
   10735     APP_MAN_DIR='$(mandir)/man$(APP_MAN_SUFFIX)'
   10736 fi
   10737 
   10738 if test x$LIB_MAN_SUFFIX = x    ; then
   10739     LIB_MAN_SUFFIX=3
   10740 fi
   10741 if test x$LIB_MAN_DIR = x    ; then
   10742     LIB_MAN_DIR='$(mandir)/man$(LIB_MAN_SUFFIX)'
   10743 fi
   10744 
   10745 if test x$FILE_MAN_SUFFIX = x    ; then
   10746     case $host_os in
   10747 	solaris*)	FILE_MAN_SUFFIX=4  ;;
   10748 	*)		FILE_MAN_SUFFIX=5  ;;
   10749     esac
   10750 fi
   10751 if test x$FILE_MAN_DIR = x    ; then
   10752     FILE_MAN_DIR='$(mandir)/man$(FILE_MAN_SUFFIX)'
   10753 fi
   10754 
   10755 if test x$MISC_MAN_SUFFIX = x    ; then
   10756     case $host_os in
   10757 	solaris*)	MISC_MAN_SUFFIX=5  ;;
   10758 	*)		MISC_MAN_SUFFIX=7  ;;
   10759     esac
   10760 fi
   10761 if test x$MISC_MAN_DIR = x    ; then
   10762     MISC_MAN_DIR='$(mandir)/man$(MISC_MAN_SUFFIX)'
   10763 fi
   10764 
   10765 if test x$DRIVER_MAN_SUFFIX = x    ; then
   10766     case $host_os in
   10767 	solaris*)	DRIVER_MAN_SUFFIX=7  ;;
   10768 	*)		DRIVER_MAN_SUFFIX=4  ;;
   10769     esac
   10770 fi
   10771 if test x$DRIVER_MAN_DIR = x    ; then
   10772     DRIVER_MAN_DIR='$(mandir)/man$(DRIVER_MAN_SUFFIX)'
   10773 fi
   10774 
   10775 if test x$ADMIN_MAN_SUFFIX = x    ; then
   10776     case $host_os in
   10777 	solaris*)	ADMIN_MAN_SUFFIX=1m ;;
   10778 	*)		ADMIN_MAN_SUFFIX=8  ;;
   10779     esac
   10780 fi
   10781 if test x$ADMIN_MAN_DIR = x    ; then
   10782     ADMIN_MAN_DIR='$(mandir)/man$(ADMIN_MAN_SUFFIX)'
   10783 fi
   10784 
   10785 
   10786 
   10787 
   10788 
   10789 
   10790 
   10791 
   10792 
   10793 
   10794 
   10795 
   10796 
   10797 
   10798 
   10799 XORG_MAN_PAGE="X Version 11"
   10800 
   10801 MAN_SUBSTS="\
   10802 	-e 's|__vendorversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10803 	-e 's|__xorgversion__|\"\$(PACKAGE_STRING)\" \"\$(XORG_MAN_PAGE)\"|' \
   10804 	-e 's|__xservername__|Xorg|g' \
   10805 	-e 's|__xconfigfile__|xorg.conf|g' \
   10806 	-e 's|__projectroot__|\$(prefix)|g' \
   10807 	-e 's|__apploaddir__|\$(appdefaultdir)|g' \
   10808 	-e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
   10809 	-e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
   10810 	-e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
   10811 	-e 's|__libmansuffix__|\$(LIB_MAN_SUFFIX)|g' \
   10812 	-e 's|__miscmansuffix__|\$(MISC_MAN_SUFFIX)|g' \
   10813 	-e 's|__filemansuffix__|\$(FILE_MAN_SUFFIX)|g'"
   10814 
   10815 
   10816 
   10817 # Check whether --enable-silent-rules was given.
   10818 if test "${enable_silent_rules+set}" = set; then :
   10819   enableval=$enable_silent_rules;
   10820 fi
   10821 
   10822 case $enable_silent_rules in # (((
   10823   yes) AM_DEFAULT_VERBOSITY=0;;
   10824    no) AM_DEFAULT_VERBOSITY=1;;
   10825     *) AM_DEFAULT_VERBOSITY=0;;
   10826 esac
   10827 am_make=${MAKE-make}
   10828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
   10829 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
   10830 if ${am_cv_make_support_nested_variables+:} false; then :
   10831   $as_echo_n "(cached) " >&6
   10832 else
   10833   if $as_echo 'TRUE=$(BAR$(V))
   10834 BAR0=false
   10835 BAR1=true
   10836 V=1
   10837 am__doit:
   10838 	@$(TRUE)
   10839 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
   10840   am_cv_make_support_nested_variables=yes
   10841 else
   10842   am_cv_make_support_nested_variables=no
   10843 fi
   10844 fi
   10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
   10846 $as_echo "$am_cv_make_support_nested_variables" >&6; }
   10847 if test $am_cv_make_support_nested_variables = yes; then
   10848     AM_V='$(V)'
   10849   AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
   10850 else
   10851   AM_V=$AM_DEFAULT_VERBOSITY
   10852   AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
   10853 fi
   10854 AM_BACKSLASH='\'
   10855 
   10856 
   10857 
   10858 # Initialize libtool
   10859 # Check whether --enable-static was given.
   10860 if test "${enable_static+set}" = set; then :
   10861   enableval=$enable_static; p=${PACKAGE-default}
   10862     case $enableval in
   10863     yes) enable_static=yes ;;
   10864     no) enable_static=no ;;
   10865     *)
   10866      enable_static=no
   10867       # Look at the argument we got.  We use all the common list separators.
   10868       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   10869       for pkg in $enableval; do
   10870 	IFS="$lt_save_ifs"
   10871 	if test "X$pkg" = "X$p"; then
   10872 	  enable_static=yes
   10873 	fi
   10874       done
   10875       IFS="$lt_save_ifs"
   10876       ;;
   10877     esac
   10878 else
   10879   enable_static=no
   10880 fi
   10881 
   10882 
   10883 
   10884 
   10885 
   10886 
   10887 
   10888 
   10889 
   10890 case `pwd` in
   10891   *\ * | *\	*)
   10892     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
   10893 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
   10894 esac
   10895 
   10896 
   10897 
   10898 macro_version='2.4.2'
   10899 macro_revision='1.3337'
   10900 
   10901 
   10902 
   10903 
   10904 
   10905 
   10906 
   10907 
   10908 
   10909 
   10910 
   10911 
   10912 
   10913 ltmain="$ac_aux_dir/ltmain.sh"
   10914 
   10915 # Backslashify metacharacters that are still active within
   10916 # double-quoted strings.
   10917 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   10918 
   10919 # Same as above, but do not quote variable references.
   10920 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   10921 
   10922 # Sed substitution to delay expansion of an escaped shell variable in a
   10923 # double_quote_subst'ed string.
   10924 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   10925 
   10926 # Sed substitution to delay expansion of an escaped single quote.
   10927 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   10928 
   10929 # Sed substitution to avoid accidental globbing in evaled expressions
   10930 no_glob_subst='s/\*/\\\*/g'
   10931 
   10932 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   10933 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
   10934 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
   10935 
   10936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
   10937 $as_echo_n "checking how to print strings... " >&6; }
   10938 # Test print first, because it will be a builtin if present.
   10939 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
   10940    test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
   10941   ECHO='print -r --'
   10942 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
   10943   ECHO='printf %s\n'
   10944 else
   10945   # Use this function as a fallback that always works.
   10946   func_fallback_echo ()
   10947   {
   10948     eval 'cat <<_LTECHO_EOF
   10949 $1
   10950 _LTECHO_EOF'
   10951   }
   10952   ECHO='func_fallback_echo'
   10953 fi
   10954 
   10955 # func_echo_all arg...
   10956 # Invoke $ECHO with all args, space-separated.
   10957 func_echo_all ()
   10958 {
   10959     $ECHO ""
   10960 }
   10961 
   10962 case "$ECHO" in
   10963   printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
   10964 $as_echo "printf" >&6; } ;;
   10965   print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
   10966 $as_echo "print -r" >&6; } ;;
   10967   *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
   10968 $as_echo "cat" >&6; } ;;
   10969 esac
   10970 
   10971 
   10972 
   10973 
   10974 
   10975 
   10976 
   10977 
   10978 
   10979 
   10980 
   10981 
   10982 
   10983 
   10984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
   10985 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
   10986 if ${ac_cv_path_SED+:} false; then :
   10987   $as_echo_n "(cached) " >&6
   10988 else
   10989             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
   10990      for ac_i in 1 2 3 4 5 6 7; do
   10991        ac_script="$ac_script$as_nl$ac_script"
   10992      done
   10993      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
   10994      { ac_script=; unset ac_script;}
   10995      if test -z "$SED"; then
   10996   ac_path_SED_found=false
   10997   # Loop through the user's path and test for each of PROGNAME-LIST
   10998   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   10999 for as_dir in $PATH
   11000 do
   11001   IFS=$as_save_IFS
   11002   test -z "$as_dir" && as_dir=.
   11003     for ac_prog in sed gsed; do
   11004     for ac_exec_ext in '' $ac_executable_extensions; do
   11005       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
   11006       as_fn_executable_p "$ac_path_SED" || continue
   11007 # Check for GNU ac_path_SED and select it if it is found.
   11008   # Check for GNU $ac_path_SED
   11009 case `"$ac_path_SED" --version 2>&1` in
   11010 *GNU*)
   11011   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
   11012 *)
   11013   ac_count=0
   11014   $as_echo_n 0123456789 >"conftest.in"
   11015   while :
   11016   do
   11017     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11018     mv "conftest.tmp" "conftest.in"
   11019     cp "conftest.in" "conftest.nl"
   11020     $as_echo '' >> "conftest.nl"
   11021     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11022     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11023     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11024     if test $ac_count -gt ${ac_path_SED_max-0}; then
   11025       # Best one so far, save it but keep looking for a better one
   11026       ac_cv_path_SED="$ac_path_SED"
   11027       ac_path_SED_max=$ac_count
   11028     fi
   11029     # 10*(2^10) chars as input seems more than enough
   11030     test $ac_count -gt 10 && break
   11031   done
   11032   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11033 esac
   11034 
   11035       $ac_path_SED_found && break 3
   11036     done
   11037   done
   11038   done
   11039 IFS=$as_save_IFS
   11040   if test -z "$ac_cv_path_SED"; then
   11041     as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
   11042   fi
   11043 else
   11044   ac_cv_path_SED=$SED
   11045 fi
   11046 
   11047 fi
   11048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
   11049 $as_echo "$ac_cv_path_SED" >&6; }
   11050  SED="$ac_cv_path_SED"
   11051   rm -f conftest.sed
   11052 
   11053 test -z "$SED" && SED=sed
   11054 Xsed="$SED -e 1s/^X//"
   11055 
   11056 
   11057 
   11058 
   11059 
   11060 
   11061 
   11062 
   11063 
   11064 
   11065 
   11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
   11067 $as_echo_n "checking for fgrep... " >&6; }
   11068 if ${ac_cv_path_FGREP+:} false; then :
   11069   $as_echo_n "(cached) " >&6
   11070 else
   11071   if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
   11072    then ac_cv_path_FGREP="$GREP -F"
   11073    else
   11074      if test -z "$FGREP"; then
   11075   ac_path_FGREP_found=false
   11076   # Loop through the user's path and test for each of PROGNAME-LIST
   11077   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11078 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
   11079 do
   11080   IFS=$as_save_IFS
   11081   test -z "$as_dir" && as_dir=.
   11082     for ac_prog in fgrep; do
   11083     for ac_exec_ext in '' $ac_executable_extensions; do
   11084       ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
   11085       as_fn_executable_p "$ac_path_FGREP" || continue
   11086 # Check for GNU ac_path_FGREP and select it if it is found.
   11087   # Check for GNU $ac_path_FGREP
   11088 case `"$ac_path_FGREP" --version 2>&1` in
   11089 *GNU*)
   11090   ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
   11091 *)
   11092   ac_count=0
   11093   $as_echo_n 0123456789 >"conftest.in"
   11094   while :
   11095   do
   11096     cat "conftest.in" "conftest.in" >"conftest.tmp"
   11097     mv "conftest.tmp" "conftest.in"
   11098     cp "conftest.in" "conftest.nl"
   11099     $as_echo 'FGREP' >> "conftest.nl"
   11100     "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
   11101     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
   11102     as_fn_arith $ac_count + 1 && ac_count=$as_val
   11103     if test $ac_count -gt ${ac_path_FGREP_max-0}; then
   11104       # Best one so far, save it but keep looking for a better one
   11105       ac_cv_path_FGREP="$ac_path_FGREP"
   11106       ac_path_FGREP_max=$ac_count
   11107     fi
   11108     # 10*(2^10) chars as input seems more than enough
   11109     test $ac_count -gt 10 && break
   11110   done
   11111   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
   11112 esac
   11113 
   11114       $ac_path_FGREP_found && break 3
   11115     done
   11116   done
   11117   done
   11118 IFS=$as_save_IFS
   11119   if test -z "$ac_cv_path_FGREP"; then
   11120     as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
   11121   fi
   11122 else
   11123   ac_cv_path_FGREP=$FGREP
   11124 fi
   11125 
   11126    fi
   11127 fi
   11128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
   11129 $as_echo "$ac_cv_path_FGREP" >&6; }
   11130  FGREP="$ac_cv_path_FGREP"
   11131 
   11132 
   11133 test -z "$GREP" && GREP=grep
   11134 
   11135 
   11136 
   11137 
   11138 
   11139 
   11140 
   11141 
   11142 
   11143 
   11144 
   11145 
   11146 
   11147 
   11148 
   11149 
   11150 
   11151 
   11152 
   11153 # Check whether --with-gnu-ld was given.
   11154 if test "${with_gnu_ld+set}" = set; then :
   11155   withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
   11156 else
   11157   with_gnu_ld=no
   11158 fi
   11159 
   11160 ac_prog=ld
   11161 if test "$GCC" = yes; then
   11162   # Check if gcc -print-prog-name=ld gives a path.
   11163   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
   11164 $as_echo_n "checking for ld used by $CC... " >&6; }
   11165   case $host in
   11166   *-*-mingw*)
   11167     # gcc leaves a trailing carriage return which upsets mingw
   11168     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   11169   *)
   11170     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   11171   esac
   11172   case $ac_prog in
   11173     # Accept absolute paths.
   11174     [\\/]* | ?:[\\/]*)
   11175       re_direlt='/[^/][^/]*/\.\./'
   11176       # Canonicalize the pathname of ld
   11177       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   11178       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   11179 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   11180       done
   11181       test -z "$LD" && LD="$ac_prog"
   11182       ;;
   11183   "")
   11184     # If it fails, then pretend we aren't using GCC.
   11185     ac_prog=ld
   11186     ;;
   11187   *)
   11188     # If it is relative, then search for the first ld in PATH.
   11189     with_gnu_ld=unknown
   11190     ;;
   11191   esac
   11192 elif test "$with_gnu_ld" = yes; then
   11193   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
   11194 $as_echo_n "checking for GNU ld... " >&6; }
   11195 else
   11196   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
   11197 $as_echo_n "checking for non-GNU ld... " >&6; }
   11198 fi
   11199 if ${lt_cv_path_LD+:} false; then :
   11200   $as_echo_n "(cached) " >&6
   11201 else
   11202   if test -z "$LD"; then
   11203   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11204   for ac_dir in $PATH; do
   11205     IFS="$lt_save_ifs"
   11206     test -z "$ac_dir" && ac_dir=.
   11207     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   11208       lt_cv_path_LD="$ac_dir/$ac_prog"
   11209       # Check to see if the program is GNU ld.  I'd rather use --version,
   11210       # but apparently some variants of GNU ld only accept -v.
   11211       # Break only if it was the GNU/non-GNU ld that we prefer.
   11212       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   11213       *GNU* | *'with BFD'*)
   11214 	test "$with_gnu_ld" != no && break
   11215 	;;
   11216       *)
   11217 	test "$with_gnu_ld" != yes && break
   11218 	;;
   11219       esac
   11220     fi
   11221   done
   11222   IFS="$lt_save_ifs"
   11223 else
   11224   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   11225 fi
   11226 fi
   11227 
   11228 LD="$lt_cv_path_LD"
   11229 if test -n "$LD"; then
   11230   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
   11231 $as_echo "$LD" >&6; }
   11232 else
   11233   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11234 $as_echo "no" >&6; }
   11235 fi
   11236 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
   11237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
   11238 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
   11239 if ${lt_cv_prog_gnu_ld+:} false; then :
   11240   $as_echo_n "(cached) " >&6
   11241 else
   11242   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   11243 case `$LD -v 2>&1 </dev/null` in
   11244 *GNU* | *'with BFD'*)
   11245   lt_cv_prog_gnu_ld=yes
   11246   ;;
   11247 *)
   11248   lt_cv_prog_gnu_ld=no
   11249   ;;
   11250 esac
   11251 fi
   11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
   11253 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
   11254 with_gnu_ld=$lt_cv_prog_gnu_ld
   11255 
   11256 
   11257 
   11258 
   11259 
   11260 
   11261 
   11262 
   11263 
   11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
   11265 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
   11266 if ${lt_cv_path_NM+:} false; then :
   11267   $as_echo_n "(cached) " >&6
   11268 else
   11269   if test -n "$NM"; then
   11270   # Let the user override the test.
   11271   lt_cv_path_NM="$NM"
   11272 else
   11273   lt_nm_to_check="${ac_tool_prefix}nm"
   11274   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   11275     lt_nm_to_check="$lt_nm_to_check nm"
   11276   fi
   11277   for lt_tmp_nm in $lt_nm_to_check; do
   11278     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   11279     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   11280       IFS="$lt_save_ifs"
   11281       test -z "$ac_dir" && ac_dir=.
   11282       tmp_nm="$ac_dir/$lt_tmp_nm"
   11283       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   11284 	# Check to see if the nm accepts a BSD-compat flag.
   11285 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   11286 	#   nm: unknown option "B" ignored
   11287 	# Tru64's nm complains that /dev/null is an invalid object file
   11288 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   11289 	*/dev/null* | *'Invalid file or object type'*)
   11290 	  lt_cv_path_NM="$tmp_nm -B"
   11291 	  break
   11292 	  ;;
   11293 	*)
   11294 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   11295 	  */dev/null*)
   11296 	    lt_cv_path_NM="$tmp_nm -p"
   11297 	    break
   11298 	    ;;
   11299 	  *)
   11300 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   11301 	    continue # so that we can try to find one that supports BSD flags
   11302 	    ;;
   11303 	  esac
   11304 	  ;;
   11305 	esac
   11306       fi
   11307     done
   11308     IFS="$lt_save_ifs"
   11309   done
   11310   : ${lt_cv_path_NM=no}
   11311 fi
   11312 fi
   11313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
   11314 $as_echo "$lt_cv_path_NM" >&6; }
   11315 if test "$lt_cv_path_NM" != "no"; then
   11316   NM="$lt_cv_path_NM"
   11317 else
   11318   # Didn't find any BSD compatible name lister, look for dumpbin.
   11319   if test -n "$DUMPBIN"; then :
   11320     # Let the user override the test.
   11321   else
   11322     if test -n "$ac_tool_prefix"; then
   11323   for ac_prog in dumpbin "link -dump"
   11324   do
   11325     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   11326 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   11327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11328 $as_echo_n "checking for $ac_word... " >&6; }
   11329 if ${ac_cv_prog_DUMPBIN+:} false; then :
   11330   $as_echo_n "(cached) " >&6
   11331 else
   11332   if test -n "$DUMPBIN"; then
   11333   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   11334 else
   11335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11336 for as_dir in $PATH
   11337 do
   11338   IFS=$as_save_IFS
   11339   test -z "$as_dir" && as_dir=.
   11340     for ac_exec_ext in '' $ac_executable_extensions; do
   11341   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11342     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   11343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11344     break 2
   11345   fi
   11346 done
   11347   done
   11348 IFS=$as_save_IFS
   11349 
   11350 fi
   11351 fi
   11352 DUMPBIN=$ac_cv_prog_DUMPBIN
   11353 if test -n "$DUMPBIN"; then
   11354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
   11355 $as_echo "$DUMPBIN" >&6; }
   11356 else
   11357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11358 $as_echo "no" >&6; }
   11359 fi
   11360 
   11361 
   11362     test -n "$DUMPBIN" && break
   11363   done
   11364 fi
   11365 if test -z "$DUMPBIN"; then
   11366   ac_ct_DUMPBIN=$DUMPBIN
   11367   for ac_prog in dumpbin "link -dump"
   11368 do
   11369   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11370 set dummy $ac_prog; ac_word=$2
   11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11372 $as_echo_n "checking for $ac_word... " >&6; }
   11373 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
   11374   $as_echo_n "(cached) " >&6
   11375 else
   11376   if test -n "$ac_ct_DUMPBIN"; then
   11377   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   11378 else
   11379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11380 for as_dir in $PATH
   11381 do
   11382   IFS=$as_save_IFS
   11383   test -z "$as_dir" && as_dir=.
   11384     for ac_exec_ext in '' $ac_executable_extensions; do
   11385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11386     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   11387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11388     break 2
   11389   fi
   11390 done
   11391   done
   11392 IFS=$as_save_IFS
   11393 
   11394 fi
   11395 fi
   11396 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   11397 if test -n "$ac_ct_DUMPBIN"; then
   11398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
   11399 $as_echo "$ac_ct_DUMPBIN" >&6; }
   11400 else
   11401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11402 $as_echo "no" >&6; }
   11403 fi
   11404 
   11405 
   11406   test -n "$ac_ct_DUMPBIN" && break
   11407 done
   11408 
   11409   if test "x$ac_ct_DUMPBIN" = x; then
   11410     DUMPBIN=":"
   11411   else
   11412     case $cross_compiling:$ac_tool_warned in
   11413 yes:)
   11414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11416 ac_tool_warned=yes ;;
   11417 esac
   11418     DUMPBIN=$ac_ct_DUMPBIN
   11419   fi
   11420 fi
   11421 
   11422     case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
   11423     *COFF*)
   11424       DUMPBIN="$DUMPBIN -symbols"
   11425       ;;
   11426     *)
   11427       DUMPBIN=:
   11428       ;;
   11429     esac
   11430   fi
   11431 
   11432   if test "$DUMPBIN" != ":"; then
   11433     NM="$DUMPBIN"
   11434   fi
   11435 fi
   11436 test -z "$NM" && NM=nm
   11437 
   11438 
   11439 
   11440 
   11441 
   11442 
   11443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
   11444 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
   11445 if ${lt_cv_nm_interface+:} false; then :
   11446   $as_echo_n "(cached) " >&6
   11447 else
   11448   lt_cv_nm_interface="BSD nm"
   11449   echo "int some_variable = 0;" > conftest.$ac_ext
   11450   (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
   11451   (eval "$ac_compile" 2>conftest.err)
   11452   cat conftest.err >&5
   11453   (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   11454   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   11455   cat conftest.err >&5
   11456   (eval echo "\"\$as_me:$LINENO: output\"" >&5)
   11457   cat conftest.out >&5
   11458   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   11459     lt_cv_nm_interface="MS dumpbin"
   11460   fi
   11461   rm -f conftest*
   11462 fi
   11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
   11464 $as_echo "$lt_cv_nm_interface" >&6; }
   11465 
   11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
   11467 $as_echo_n "checking whether ln -s works... " >&6; }
   11468 LN_S=$as_ln_s
   11469 if test "$LN_S" = "ln -s"; then
   11470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   11471 $as_echo "yes" >&6; }
   11472 else
   11473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
   11474 $as_echo "no, using $LN_S" >&6; }
   11475 fi
   11476 
   11477 # find the maximum length of command line arguments
   11478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
   11479 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
   11480 if ${lt_cv_sys_max_cmd_len+:} false; then :
   11481   $as_echo_n "(cached) " >&6
   11482 else
   11483     i=0
   11484   teststring="ABCD"
   11485 
   11486   case $build_os in
   11487   msdosdjgpp*)
   11488     # On DJGPP, this test can blow up pretty badly due to problems in libc
   11489     # (any single argument exceeding 2000 bytes causes a buffer overrun
   11490     # during glob expansion).  Even if it were fixed, the result of this
   11491     # check would be larger than it should be.
   11492     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   11493     ;;
   11494 
   11495   gnu*)
   11496     # Under GNU Hurd, this test is not required because there is
   11497     # no limit to the length of command line arguments.
   11498     # Libtool will interpret -1 as no limit whatsoever
   11499     lt_cv_sys_max_cmd_len=-1;
   11500     ;;
   11501 
   11502   cygwin* | mingw* | cegcc*)
   11503     # On Win9x/ME, this test blows up -- it succeeds, but takes
   11504     # about 5 minutes as the teststring grows exponentially.
   11505     # Worse, since 9x/ME are not pre-emptively multitasking,
   11506     # you end up with a "frozen" computer, even though with patience
   11507     # the test eventually succeeds (with a max line length of 256k).
   11508     # Instead, let's just punt: use the minimum linelength reported by
   11509     # all of the supported platforms: 8192 (on NT/2K/XP).
   11510     lt_cv_sys_max_cmd_len=8192;
   11511     ;;
   11512 
   11513   mint*)
   11514     # On MiNT this can take a long time and run out of memory.
   11515     lt_cv_sys_max_cmd_len=8192;
   11516     ;;
   11517 
   11518   amigaos*)
   11519     # On AmigaOS with pdksh, this test takes hours, literally.
   11520     # So we just punt and use a minimum line length of 8192.
   11521     lt_cv_sys_max_cmd_len=8192;
   11522     ;;
   11523 
   11524   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   11525     # This has been around since 386BSD, at least.  Likely further.
   11526     if test -x /sbin/sysctl; then
   11527       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   11528     elif test -x /usr/sbin/sysctl; then
   11529       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   11530     else
   11531       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   11532     fi
   11533     # And add a safety zone
   11534     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11535     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11536     ;;
   11537 
   11538   interix*)
   11539     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   11540     lt_cv_sys_max_cmd_len=196608
   11541     ;;
   11542 
   11543   os2*)
   11544     # The test takes a long time on OS/2.
   11545     lt_cv_sys_max_cmd_len=8192
   11546     ;;
   11547 
   11548   osf*)
   11549     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   11550     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   11551     # nice to cause kernel panics so lets avoid the loop below.
   11552     # First set a reasonable default.
   11553     lt_cv_sys_max_cmd_len=16384
   11554     #
   11555     if test -x /sbin/sysconfig; then
   11556       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   11557         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   11558       esac
   11559     fi
   11560     ;;
   11561   sco3.2v5*)
   11562     lt_cv_sys_max_cmd_len=102400
   11563     ;;
   11564   sysv5* | sco5v6* | sysv4.2uw2*)
   11565     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   11566     if test -n "$kargmax"; then
   11567       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   11568     else
   11569       lt_cv_sys_max_cmd_len=32768
   11570     fi
   11571     ;;
   11572   *)
   11573     lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
   11574     if test -n "$lt_cv_sys_max_cmd_len" && \
   11575 	test undefined != "$lt_cv_sys_max_cmd_len"; then
   11576       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   11577       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   11578     else
   11579       # Make teststring a little bigger before we do anything with it.
   11580       # a 1K string should be a reasonable start.
   11581       for i in 1 2 3 4 5 6 7 8 ; do
   11582         teststring=$teststring$teststring
   11583       done
   11584       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   11585       # If test is not a shell built-in, we'll probably end up computing a
   11586       # maximum length that is only half of the actual maximum length, but
   11587       # we can't tell.
   11588       while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
   11589 	         = "X$teststring$teststring"; } >/dev/null 2>&1 &&
   11590 	      test $i != 17 # 1/2 MB should be enough
   11591       do
   11592         i=`expr $i + 1`
   11593         teststring=$teststring$teststring
   11594       done
   11595       # Only check the string length outside the loop.
   11596       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   11597       teststring=
   11598       # Add a significant safety factor because C++ compilers can tack on
   11599       # massive amounts of additional arguments before passing them to the
   11600       # linker.  It appears as though 1/2 is a usable value.
   11601       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   11602     fi
   11603     ;;
   11604   esac
   11605 
   11606 fi
   11607 
   11608 if test -n $lt_cv_sys_max_cmd_len ; then
   11609   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
   11610 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
   11611 else
   11612   { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
   11613 $as_echo "none" >&6; }
   11614 fi
   11615 max_cmd_len=$lt_cv_sys_max_cmd_len
   11616 
   11617 
   11618 
   11619 
   11620 
   11621 
   11622 : ${CP="cp -f"}
   11623 : ${MV="mv -f"}
   11624 : ${RM="rm -f"}
   11625 
   11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
   11627 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
   11628 # Try some XSI features
   11629 xsi_shell=no
   11630 ( _lt_dummy="a/b/c"
   11631   test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
   11632       = c,a/b,b/c, \
   11633     && eval 'test $(( 1 + 1 )) -eq 2 \
   11634     && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
   11635   && xsi_shell=yes
   11636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
   11637 $as_echo "$xsi_shell" >&6; }
   11638 
   11639 
   11640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
   11641 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
   11642 lt_shell_append=no
   11643 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   11644     >/dev/null 2>&1 \
   11645   && lt_shell_append=yes
   11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
   11647 $as_echo "$lt_shell_append" >&6; }
   11648 
   11649 
   11650 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   11651   lt_unset=unset
   11652 else
   11653   lt_unset=false
   11654 fi
   11655 
   11656 
   11657 
   11658 
   11659 
   11660 # test EBCDIC or ASCII
   11661 case `echo X|tr X '\101'` in
   11662  A) # ASCII based system
   11663     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   11664   lt_SP2NL='tr \040 \012'
   11665   lt_NL2SP='tr \015\012 \040\040'
   11666   ;;
   11667  *) # EBCDIC based system
   11668   lt_SP2NL='tr \100 \n'
   11669   lt_NL2SP='tr \r\n \100\100'
   11670   ;;
   11671 esac
   11672 
   11673 
   11674 
   11675 
   11676 
   11677 
   11678 
   11679 
   11680 
   11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
   11682 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
   11683 if ${lt_cv_to_host_file_cmd+:} false; then :
   11684   $as_echo_n "(cached) " >&6
   11685 else
   11686   case $host in
   11687   *-*-mingw* )
   11688     case $build in
   11689       *-*-mingw* ) # actually msys
   11690         lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
   11691         ;;
   11692       *-*-cygwin* )
   11693         lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
   11694         ;;
   11695       * ) # otherwise, assume *nix
   11696         lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
   11697         ;;
   11698     esac
   11699     ;;
   11700   *-*-cygwin* )
   11701     case $build in
   11702       *-*-mingw* ) # actually msys
   11703         lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
   11704         ;;
   11705       *-*-cygwin* )
   11706         lt_cv_to_host_file_cmd=func_convert_file_noop
   11707         ;;
   11708       * ) # otherwise, assume *nix
   11709         lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
   11710         ;;
   11711     esac
   11712     ;;
   11713   * ) # unhandled hosts (and "normal" native builds)
   11714     lt_cv_to_host_file_cmd=func_convert_file_noop
   11715     ;;
   11716 esac
   11717 
   11718 fi
   11719 
   11720 to_host_file_cmd=$lt_cv_to_host_file_cmd
   11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
   11722 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
   11723 
   11724 
   11725 
   11726 
   11727 
   11728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
   11729 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
   11730 if ${lt_cv_to_tool_file_cmd+:} false; then :
   11731   $as_echo_n "(cached) " >&6
   11732 else
   11733   #assume ordinary cross tools, or native build.
   11734 lt_cv_to_tool_file_cmd=func_convert_file_noop
   11735 case $host in
   11736   *-*-mingw* )
   11737     case $build in
   11738       *-*-mingw* ) # actually msys
   11739         lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
   11740         ;;
   11741     esac
   11742     ;;
   11743 esac
   11744 
   11745 fi
   11746 
   11747 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
   11749 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
   11750 
   11751 
   11752 
   11753 
   11754 
   11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
   11756 $as_echo_n "checking for $LD option to reload object files... " >&6; }
   11757 if ${lt_cv_ld_reload_flag+:} false; then :
   11758   $as_echo_n "(cached) " >&6
   11759 else
   11760   lt_cv_ld_reload_flag='-r'
   11761 fi
   11762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
   11763 $as_echo "$lt_cv_ld_reload_flag" >&6; }
   11764 reload_flag=$lt_cv_ld_reload_flag
   11765 case $reload_flag in
   11766 "" | " "*) ;;
   11767 *) reload_flag=" $reload_flag" ;;
   11768 esac
   11769 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11770 case $host_os in
   11771   cygwin* | mingw* | pw32* | cegcc*)
   11772     if test "$GCC" != yes; then
   11773       reload_cmds=false
   11774     fi
   11775     ;;
   11776   darwin*)
   11777     if test "$GCC" = yes; then
   11778       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   11779     else
   11780       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   11781     fi
   11782     ;;
   11783 esac
   11784 
   11785 
   11786 
   11787 
   11788 
   11789 
   11790 
   11791 
   11792 
   11793 if test -n "$ac_tool_prefix"; then
   11794   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
   11795 set dummy ${ac_tool_prefix}objdump; ac_word=$2
   11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11797 $as_echo_n "checking for $ac_word... " >&6; }
   11798 if ${ac_cv_prog_OBJDUMP+:} false; then :
   11799   $as_echo_n "(cached) " >&6
   11800 else
   11801   if test -n "$OBJDUMP"; then
   11802   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
   11803 else
   11804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11805 for as_dir in $PATH
   11806 do
   11807   IFS=$as_save_IFS
   11808   test -z "$as_dir" && as_dir=.
   11809     for ac_exec_ext in '' $ac_executable_extensions; do
   11810   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11811     ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
   11812     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11813     break 2
   11814   fi
   11815 done
   11816   done
   11817 IFS=$as_save_IFS
   11818 
   11819 fi
   11820 fi
   11821 OBJDUMP=$ac_cv_prog_OBJDUMP
   11822 if test -n "$OBJDUMP"; then
   11823   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
   11824 $as_echo "$OBJDUMP" >&6; }
   11825 else
   11826   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11827 $as_echo "no" >&6; }
   11828 fi
   11829 
   11830 
   11831 fi
   11832 if test -z "$ac_cv_prog_OBJDUMP"; then
   11833   ac_ct_OBJDUMP=$OBJDUMP
   11834   # Extract the first word of "objdump", so it can be a program name with args.
   11835 set dummy objdump; ac_word=$2
   11836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   11837 $as_echo_n "checking for $ac_word... " >&6; }
   11838 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
   11839   $as_echo_n "(cached) " >&6
   11840 else
   11841   if test -n "$ac_ct_OBJDUMP"; then
   11842   ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
   11843 else
   11844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11845 for as_dir in $PATH
   11846 do
   11847   IFS=$as_save_IFS
   11848   test -z "$as_dir" && as_dir=.
   11849     for ac_exec_ext in '' $ac_executable_extensions; do
   11850   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11851     ac_cv_prog_ac_ct_OBJDUMP="objdump"
   11852     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   11853     break 2
   11854   fi
   11855 done
   11856   done
   11857 IFS=$as_save_IFS
   11858 
   11859 fi
   11860 fi
   11861 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
   11862 if test -n "$ac_ct_OBJDUMP"; then
   11863   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
   11864 $as_echo "$ac_ct_OBJDUMP" >&6; }
   11865 else
   11866   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   11867 $as_echo "no" >&6; }
   11868 fi
   11869 
   11870   if test "x$ac_ct_OBJDUMP" = x; then
   11871     OBJDUMP="false"
   11872   else
   11873     case $cross_compiling:$ac_tool_warned in
   11874 yes:)
   11875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   11876 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   11877 ac_tool_warned=yes ;;
   11878 esac
   11879     OBJDUMP=$ac_ct_OBJDUMP
   11880   fi
   11881 else
   11882   OBJDUMP="$ac_cv_prog_OBJDUMP"
   11883 fi
   11884 
   11885 test -z "$OBJDUMP" && OBJDUMP=objdump
   11886 
   11887 
   11888 
   11889 
   11890 
   11891 
   11892 
   11893 
   11894 
   11895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
   11896 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
   11897 if ${lt_cv_deplibs_check_method+:} false; then :
   11898   $as_echo_n "(cached) " >&6
   11899 else
   11900   lt_cv_file_magic_cmd='$MAGIC_CMD'
   11901 lt_cv_file_magic_test_file=
   11902 lt_cv_deplibs_check_method='unknown'
   11903 # Need to set the preceding variable on all platforms that support
   11904 # interlibrary dependencies.
   11905 # 'none' -- dependencies not supported.
   11906 # `unknown' -- same as none, but documents that we really don't know.
   11907 # 'pass_all' -- all dependencies passed with no checks.
   11908 # 'test_compile' -- check by making test program.
   11909 # 'file_magic [[regex]]' -- check by looking for files in library path
   11910 # which responds to the $file_magic_cmd with a given extended regex.
   11911 # If you have `file' or equivalent on your system and you're not sure
   11912 # whether `pass_all' will *always* work, you probably want this one.
   11913 
   11914 case $host_os in
   11915 aix[4-9]*)
   11916   lt_cv_deplibs_check_method=pass_all
   11917   ;;
   11918 
   11919 beos*)
   11920   lt_cv_deplibs_check_method=pass_all
   11921   ;;
   11922 
   11923 bsdi[45]*)
   11924   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   11925   lt_cv_file_magic_cmd='/usr/bin/file -L'
   11926   lt_cv_file_magic_test_file=/shlib/libc.so
   11927   ;;
   11928 
   11929 cygwin*)
   11930   # func_win32_libid is a shell function defined in ltmain.sh
   11931   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11932   lt_cv_file_magic_cmd='func_win32_libid'
   11933   ;;
   11934 
   11935 mingw* | pw32*)
   11936   # Base MSYS/MinGW do not provide the 'file' command needed by
   11937   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   11938   # unless we find 'file', for example because we are cross-compiling.
   11939   # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
   11940   if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
   11941     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   11942     lt_cv_file_magic_cmd='func_win32_libid'
   11943   else
   11944     # Keep this pattern in sync with the one in func_win32_libid.
   11945     lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
   11946     lt_cv_file_magic_cmd='$OBJDUMP -f'
   11947   fi
   11948   ;;
   11949 
   11950 cegcc*)
   11951   # use the weaker test based on 'objdump'. See mingw*.
   11952   lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
   11953   lt_cv_file_magic_cmd='$OBJDUMP -f'
   11954   ;;
   11955 
   11956 darwin* | rhapsody*)
   11957   lt_cv_deplibs_check_method=pass_all
   11958   ;;
   11959 
   11960 freebsd* | dragonfly*)
   11961   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   11962     case $host_cpu in
   11963     i*86 )
   11964       # Not sure whether the presence of OpenBSD here was a mistake.
   11965       # Let's accept both of them until this is cleared up.
   11966       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   11967       lt_cv_file_magic_cmd=/usr/bin/file
   11968       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   11969       ;;
   11970     esac
   11971   else
   11972     lt_cv_deplibs_check_method=pass_all
   11973   fi
   11974   ;;
   11975 
   11976 haiku*)
   11977   lt_cv_deplibs_check_method=pass_all
   11978   ;;
   11979 
   11980 hpux10.20* | hpux11*)
   11981   lt_cv_file_magic_cmd=/usr/bin/file
   11982   case $host_cpu in
   11983   ia64*)
   11984     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   11985     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   11986     ;;
   11987   hppa*64*)
   11988     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]'
   11989     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   11990     ;;
   11991   *)
   11992     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
   11993     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   11994     ;;
   11995   esac
   11996   ;;
   11997 
   11998 interix[3-9]*)
   11999   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   12000   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   12001   ;;
   12002 
   12003 irix5* | irix6* | nonstopux*)
   12004   case $LD in
   12005   *-32|*"-32 ") libmagic=32-bit;;
   12006   *-n32|*"-n32 ") libmagic=N32;;
   12007   *-64|*"-64 ") libmagic=64-bit;;
   12008   *) libmagic=never-match;;
   12009   esac
   12010   lt_cv_deplibs_check_method=pass_all
   12011   ;;
   12012 
   12013 # This must be glibc/ELF.
   12014 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   12015   lt_cv_deplibs_check_method=pass_all
   12016   ;;
   12017 
   12018 netbsd* | netbsdelf*-gnu)
   12019   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   12020     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12021   else
   12022     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   12023   fi
   12024   ;;
   12025 
   12026 newos6*)
   12027   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   12028   lt_cv_file_magic_cmd=/usr/bin/file
   12029   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   12030   ;;
   12031 
   12032 *nto* | *qnx*)
   12033   lt_cv_deplibs_check_method=pass_all
   12034   ;;
   12035 
   12036 openbsd*)
   12037   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   12038     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   12039   else
   12040     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   12041   fi
   12042   ;;
   12043 
   12044 osf3* | osf4* | osf5*)
   12045   lt_cv_deplibs_check_method=pass_all
   12046   ;;
   12047 
   12048 rdos*)
   12049   lt_cv_deplibs_check_method=pass_all
   12050   ;;
   12051 
   12052 solaris*)
   12053   lt_cv_deplibs_check_method=pass_all
   12054   ;;
   12055 
   12056 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   12057   lt_cv_deplibs_check_method=pass_all
   12058   ;;
   12059 
   12060 sysv4 | sysv4.3*)
   12061   case $host_vendor in
   12062   motorola)
   12063     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]'
   12064     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   12065     ;;
   12066   ncr)
   12067     lt_cv_deplibs_check_method=pass_all
   12068     ;;
   12069   sequent)
   12070     lt_cv_file_magic_cmd='/bin/file'
   12071     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   12072     ;;
   12073   sni)
   12074     lt_cv_file_magic_cmd='/bin/file'
   12075     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   12076     lt_cv_file_magic_test_file=/lib/libc.so
   12077     ;;
   12078   siemens)
   12079     lt_cv_deplibs_check_method=pass_all
   12080     ;;
   12081   pc)
   12082     lt_cv_deplibs_check_method=pass_all
   12083     ;;
   12084   esac
   12085   ;;
   12086 
   12087 tpf*)
   12088   lt_cv_deplibs_check_method=pass_all
   12089   ;;
   12090 esac
   12091 
   12092 fi
   12093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
   12094 $as_echo "$lt_cv_deplibs_check_method" >&6; }
   12095 
   12096 file_magic_glob=
   12097 want_nocaseglob=no
   12098 if test "$build" = "$host"; then
   12099   case $host_os in
   12100   mingw* | pw32*)
   12101     if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
   12102       want_nocaseglob=yes
   12103     else
   12104       file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
   12105     fi
   12106     ;;
   12107   esac
   12108 fi
   12109 
   12110 file_magic_cmd=$lt_cv_file_magic_cmd
   12111 deplibs_check_method=$lt_cv_deplibs_check_method
   12112 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   12113 
   12114 
   12115 
   12116 
   12117 
   12118 
   12119 
   12120 
   12121 
   12122 
   12123 
   12124 
   12125 
   12126 
   12127 
   12128 
   12129 
   12130 
   12131 
   12132 
   12133 
   12134 
   12135 if test -n "$ac_tool_prefix"; then
   12136   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
   12137 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
   12138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12139 $as_echo_n "checking for $ac_word... " >&6; }
   12140 if ${ac_cv_prog_DLLTOOL+:} false; then :
   12141   $as_echo_n "(cached) " >&6
   12142 else
   12143   if test -n "$DLLTOOL"; then
   12144   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
   12145 else
   12146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12147 for as_dir in $PATH
   12148 do
   12149   IFS=$as_save_IFS
   12150   test -z "$as_dir" && as_dir=.
   12151     for ac_exec_ext in '' $ac_executable_extensions; do
   12152   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12153     ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
   12154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12155     break 2
   12156   fi
   12157 done
   12158   done
   12159 IFS=$as_save_IFS
   12160 
   12161 fi
   12162 fi
   12163 DLLTOOL=$ac_cv_prog_DLLTOOL
   12164 if test -n "$DLLTOOL"; then
   12165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
   12166 $as_echo "$DLLTOOL" >&6; }
   12167 else
   12168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12169 $as_echo "no" >&6; }
   12170 fi
   12171 
   12172 
   12173 fi
   12174 if test -z "$ac_cv_prog_DLLTOOL"; then
   12175   ac_ct_DLLTOOL=$DLLTOOL
   12176   # Extract the first word of "dlltool", so it can be a program name with args.
   12177 set dummy dlltool; ac_word=$2
   12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12179 $as_echo_n "checking for $ac_word... " >&6; }
   12180 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
   12181   $as_echo_n "(cached) " >&6
   12182 else
   12183   if test -n "$ac_ct_DLLTOOL"; then
   12184   ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
   12185 else
   12186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12187 for as_dir in $PATH
   12188 do
   12189   IFS=$as_save_IFS
   12190   test -z "$as_dir" && as_dir=.
   12191     for ac_exec_ext in '' $ac_executable_extensions; do
   12192   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12193     ac_cv_prog_ac_ct_DLLTOOL="dlltool"
   12194     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12195     break 2
   12196   fi
   12197 done
   12198   done
   12199 IFS=$as_save_IFS
   12200 
   12201 fi
   12202 fi
   12203 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
   12204 if test -n "$ac_ct_DLLTOOL"; then
   12205   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
   12206 $as_echo "$ac_ct_DLLTOOL" >&6; }
   12207 else
   12208   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12209 $as_echo "no" >&6; }
   12210 fi
   12211 
   12212   if test "x$ac_ct_DLLTOOL" = x; then
   12213     DLLTOOL="false"
   12214   else
   12215     case $cross_compiling:$ac_tool_warned in
   12216 yes:)
   12217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12219 ac_tool_warned=yes ;;
   12220 esac
   12221     DLLTOOL=$ac_ct_DLLTOOL
   12222   fi
   12223 else
   12224   DLLTOOL="$ac_cv_prog_DLLTOOL"
   12225 fi
   12226 
   12227 test -z "$DLLTOOL" && DLLTOOL=dlltool
   12228 
   12229 
   12230 
   12231 
   12232 
   12233 
   12234 
   12235 
   12236 
   12237 
   12238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
   12239 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
   12240 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
   12241   $as_echo_n "(cached) " >&6
   12242 else
   12243   lt_cv_sharedlib_from_linklib_cmd='unknown'
   12244 
   12245 case $host_os in
   12246 cygwin* | mingw* | pw32* | cegcc*)
   12247   # two different shell functions defined in ltmain.sh
   12248   # decide which to use based on capabilities of $DLLTOOL
   12249   case `$DLLTOOL --help 2>&1` in
   12250   *--identify-strict*)
   12251     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
   12252     ;;
   12253   *)
   12254     lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
   12255     ;;
   12256   esac
   12257   ;;
   12258 *)
   12259   # fallback: assume linklib IS sharedlib
   12260   lt_cv_sharedlib_from_linklib_cmd="$ECHO"
   12261   ;;
   12262 esac
   12263 
   12264 fi
   12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
   12266 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
   12267 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
   12268 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
   12269 
   12270 
   12271 
   12272 
   12273 
   12274 
   12275 
   12276 if test -n "$ac_tool_prefix"; then
   12277   for ac_prog in ar
   12278   do
   12279     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   12280 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12282 $as_echo_n "checking for $ac_word... " >&6; }
   12283 if ${ac_cv_prog_AR+:} false; then :
   12284   $as_echo_n "(cached) " >&6
   12285 else
   12286   if test -n "$AR"; then
   12287   ac_cv_prog_AR="$AR" # Let the user override the test.
   12288 else
   12289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12290 for as_dir in $PATH
   12291 do
   12292   IFS=$as_save_IFS
   12293   test -z "$as_dir" && as_dir=.
   12294     for ac_exec_ext in '' $ac_executable_extensions; do
   12295   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12296     ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
   12297     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12298     break 2
   12299   fi
   12300 done
   12301   done
   12302 IFS=$as_save_IFS
   12303 
   12304 fi
   12305 fi
   12306 AR=$ac_cv_prog_AR
   12307 if test -n "$AR"; then
   12308   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
   12309 $as_echo "$AR" >&6; }
   12310 else
   12311   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12312 $as_echo "no" >&6; }
   12313 fi
   12314 
   12315 
   12316     test -n "$AR" && break
   12317   done
   12318 fi
   12319 if test -z "$AR"; then
   12320   ac_ct_AR=$AR
   12321   for ac_prog in ar
   12322 do
   12323   # Extract the first word of "$ac_prog", so it can be a program name with args.
   12324 set dummy $ac_prog; ac_word=$2
   12325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12326 $as_echo_n "checking for $ac_word... " >&6; }
   12327 if ${ac_cv_prog_ac_ct_AR+:} false; then :
   12328   $as_echo_n "(cached) " >&6
   12329 else
   12330   if test -n "$ac_ct_AR"; then
   12331   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   12332 else
   12333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12334 for as_dir in $PATH
   12335 do
   12336   IFS=$as_save_IFS
   12337   test -z "$as_dir" && as_dir=.
   12338     for ac_exec_ext in '' $ac_executable_extensions; do
   12339   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12340     ac_cv_prog_ac_ct_AR="$ac_prog"
   12341     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12342     break 2
   12343   fi
   12344 done
   12345   done
   12346 IFS=$as_save_IFS
   12347 
   12348 fi
   12349 fi
   12350 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   12351 if test -n "$ac_ct_AR"; then
   12352   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
   12353 $as_echo "$ac_ct_AR" >&6; }
   12354 else
   12355   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12356 $as_echo "no" >&6; }
   12357 fi
   12358 
   12359 
   12360   test -n "$ac_ct_AR" && break
   12361 done
   12362 
   12363   if test "x$ac_ct_AR" = x; then
   12364     AR="false"
   12365   else
   12366     case $cross_compiling:$ac_tool_warned in
   12367 yes:)
   12368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12369 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12370 ac_tool_warned=yes ;;
   12371 esac
   12372     AR=$ac_ct_AR
   12373   fi
   12374 fi
   12375 
   12376 : ${AR=ar}
   12377 : ${AR_FLAGS=cru}
   12378 
   12379 
   12380 
   12381 
   12382 
   12383 
   12384 
   12385 
   12386 
   12387 
   12388 
   12389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
   12390 $as_echo_n "checking for archiver @FILE support... " >&6; }
   12391 if ${lt_cv_ar_at_file+:} false; then :
   12392   $as_echo_n "(cached) " >&6
   12393 else
   12394   lt_cv_ar_at_file=no
   12395    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   12396 /* end confdefs.h.  */
   12397 
   12398 int
   12399 main ()
   12400 {
   12401 
   12402   ;
   12403   return 0;
   12404 }
   12405 _ACEOF
   12406 if ac_fn_c_try_compile "$LINENO"; then :
   12407   echo conftest.$ac_objext > conftest.lst
   12408       lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
   12409       { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12410   (eval $lt_ar_try) 2>&5
   12411   ac_status=$?
   12412   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12413   test $ac_status = 0; }
   12414       if test "$ac_status" -eq 0; then
   12415 	# Ensure the archiver fails upon bogus file names.
   12416 	rm -f conftest.$ac_objext libconftest.a
   12417 	{ { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
   12418   (eval $lt_ar_try) 2>&5
   12419   ac_status=$?
   12420   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12421   test $ac_status = 0; }
   12422 	if test "$ac_status" -ne 0; then
   12423           lt_cv_ar_at_file=@
   12424         fi
   12425       fi
   12426       rm -f conftest.* libconftest.a
   12427 
   12428 fi
   12429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
   12430 
   12431 fi
   12432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
   12433 $as_echo "$lt_cv_ar_at_file" >&6; }
   12434 
   12435 if test "x$lt_cv_ar_at_file" = xno; then
   12436   archiver_list_spec=
   12437 else
   12438   archiver_list_spec=$lt_cv_ar_at_file
   12439 fi
   12440 
   12441 
   12442 
   12443 
   12444 
   12445 
   12446 
   12447 if test -n "$ac_tool_prefix"; then
   12448   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   12449 set dummy ${ac_tool_prefix}strip; ac_word=$2
   12450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12451 $as_echo_n "checking for $ac_word... " >&6; }
   12452 if ${ac_cv_prog_STRIP+:} false; then :
   12453   $as_echo_n "(cached) " >&6
   12454 else
   12455   if test -n "$STRIP"; then
   12456   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   12457 else
   12458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12459 for as_dir in $PATH
   12460 do
   12461   IFS=$as_save_IFS
   12462   test -z "$as_dir" && as_dir=.
   12463     for ac_exec_ext in '' $ac_executable_extensions; do
   12464   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12465     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   12466     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12467     break 2
   12468   fi
   12469 done
   12470   done
   12471 IFS=$as_save_IFS
   12472 
   12473 fi
   12474 fi
   12475 STRIP=$ac_cv_prog_STRIP
   12476 if test -n "$STRIP"; then
   12477   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
   12478 $as_echo "$STRIP" >&6; }
   12479 else
   12480   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12481 $as_echo "no" >&6; }
   12482 fi
   12483 
   12484 
   12485 fi
   12486 if test -z "$ac_cv_prog_STRIP"; then
   12487   ac_ct_STRIP=$STRIP
   12488   # Extract the first word of "strip", so it can be a program name with args.
   12489 set dummy strip; ac_word=$2
   12490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12491 $as_echo_n "checking for $ac_word... " >&6; }
   12492 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
   12493   $as_echo_n "(cached) " >&6
   12494 else
   12495   if test -n "$ac_ct_STRIP"; then
   12496   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   12497 else
   12498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12499 for as_dir in $PATH
   12500 do
   12501   IFS=$as_save_IFS
   12502   test -z "$as_dir" && as_dir=.
   12503     for ac_exec_ext in '' $ac_executable_extensions; do
   12504   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12505     ac_cv_prog_ac_ct_STRIP="strip"
   12506     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12507     break 2
   12508   fi
   12509 done
   12510   done
   12511 IFS=$as_save_IFS
   12512 
   12513 fi
   12514 fi
   12515 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   12516 if test -n "$ac_ct_STRIP"; then
   12517   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
   12518 $as_echo "$ac_ct_STRIP" >&6; }
   12519 else
   12520   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12521 $as_echo "no" >&6; }
   12522 fi
   12523 
   12524   if test "x$ac_ct_STRIP" = x; then
   12525     STRIP=":"
   12526   else
   12527     case $cross_compiling:$ac_tool_warned in
   12528 yes:)
   12529 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12530 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12531 ac_tool_warned=yes ;;
   12532 esac
   12533     STRIP=$ac_ct_STRIP
   12534   fi
   12535 else
   12536   STRIP="$ac_cv_prog_STRIP"
   12537 fi
   12538 
   12539 test -z "$STRIP" && STRIP=:
   12540 
   12541 
   12542 
   12543 
   12544 
   12545 
   12546 if test -n "$ac_tool_prefix"; then
   12547   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   12548 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   12549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12550 $as_echo_n "checking for $ac_word... " >&6; }
   12551 if ${ac_cv_prog_RANLIB+:} false; then :
   12552   $as_echo_n "(cached) " >&6
   12553 else
   12554   if test -n "$RANLIB"; then
   12555   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   12556 else
   12557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12558 for as_dir in $PATH
   12559 do
   12560   IFS=$as_save_IFS
   12561   test -z "$as_dir" && as_dir=.
   12562     for ac_exec_ext in '' $ac_executable_extensions; do
   12563   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12564     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   12565     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12566     break 2
   12567   fi
   12568 done
   12569   done
   12570 IFS=$as_save_IFS
   12571 
   12572 fi
   12573 fi
   12574 RANLIB=$ac_cv_prog_RANLIB
   12575 if test -n "$RANLIB"; then
   12576   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
   12577 $as_echo "$RANLIB" >&6; }
   12578 else
   12579   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12580 $as_echo "no" >&6; }
   12581 fi
   12582 
   12583 
   12584 fi
   12585 if test -z "$ac_cv_prog_RANLIB"; then
   12586   ac_ct_RANLIB=$RANLIB
   12587   # Extract the first word of "ranlib", so it can be a program name with args.
   12588 set dummy ranlib; ac_word=$2
   12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   12590 $as_echo_n "checking for $ac_word... " >&6; }
   12591 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
   12592   $as_echo_n "(cached) " >&6
   12593 else
   12594   if test -n "$ac_ct_RANLIB"; then
   12595   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   12596 else
   12597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   12598 for as_dir in $PATH
   12599 do
   12600   IFS=$as_save_IFS
   12601   test -z "$as_dir" && as_dir=.
   12602     for ac_exec_ext in '' $ac_executable_extensions; do
   12603   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   12604     ac_cv_prog_ac_ct_RANLIB="ranlib"
   12605     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   12606     break 2
   12607   fi
   12608 done
   12609   done
   12610 IFS=$as_save_IFS
   12611 
   12612 fi
   12613 fi
   12614 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   12615 if test -n "$ac_ct_RANLIB"; then
   12616   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
   12617 $as_echo "$ac_ct_RANLIB" >&6; }
   12618 else
   12619   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   12620 $as_echo "no" >&6; }
   12621 fi
   12622 
   12623   if test "x$ac_ct_RANLIB" = x; then
   12624     RANLIB=":"
   12625   else
   12626     case $cross_compiling:$ac_tool_warned in
   12627 yes:)
   12628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   12629 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   12630 ac_tool_warned=yes ;;
   12631 esac
   12632     RANLIB=$ac_ct_RANLIB
   12633   fi
   12634 else
   12635   RANLIB="$ac_cv_prog_RANLIB"
   12636 fi
   12637 
   12638 test -z "$RANLIB" && RANLIB=:
   12639 
   12640 
   12641 
   12642 
   12643 
   12644 
   12645 # Determine commands to create old-style static archives.
   12646 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
   12647 old_postinstall_cmds='chmod 644 $oldlib'
   12648 old_postuninstall_cmds=
   12649 
   12650 if test -n "$RANLIB"; then
   12651   case $host_os in
   12652   openbsd*)
   12653     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
   12654     ;;
   12655   *)
   12656     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
   12657     ;;
   12658   esac
   12659   old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
   12660 fi
   12661 
   12662 case $host_os in
   12663   darwin*)
   12664     lock_old_archive_extraction=yes ;;
   12665   *)
   12666     lock_old_archive_extraction=no ;;
   12667 esac
   12668 
   12669 
   12670 
   12671 
   12672 
   12673 
   12674 
   12675 
   12676 
   12677 
   12678 
   12679 
   12680 
   12681 
   12682 
   12683 
   12684 
   12685 
   12686 
   12687 
   12688 
   12689 
   12690 
   12691 
   12692 
   12693 
   12694 
   12695 
   12696 
   12697 
   12698 
   12699 
   12700 
   12701 
   12702 
   12703 
   12704 
   12705 
   12706 
   12707 # If no C compiler was specified, use CC.
   12708 LTCC=${LTCC-"$CC"}
   12709 
   12710 # If no C compiler flags were specified, use CFLAGS.
   12711 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   12712 
   12713 # Allow CC to be a program name with arguments.
   12714 compiler=$CC
   12715 
   12716 
   12717 # Check for command to grab the raw symbol name followed by C symbol from nm.
   12718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
   12719 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
   12720 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
   12721   $as_echo_n "(cached) " >&6
   12722 else
   12723 
   12724 # These are sane defaults that work on at least a few old systems.
   12725 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   12726 
   12727 # Character class describing NM global symbol codes.
   12728 symcode='[BCDEGRST]'
   12729 
   12730 # Regexp to match symbols that can be accessed directly from C.
   12731 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   12732 
   12733 # Define system-specific variables.
   12734 case $host_os in
   12735 aix*)
   12736   symcode='[BCDT]'
   12737   ;;
   12738 cygwin* | mingw* | pw32* | cegcc*)
   12739   symcode='[ABCDGISTW]'
   12740   ;;
   12741 hpux*)
   12742   if test "$host_cpu" = ia64; then
   12743     symcode='[ABCDEGRST]'
   12744   fi
   12745   ;;
   12746 irix* | nonstopux*)
   12747   symcode='[BCDEGRST]'
   12748   ;;
   12749 osf*)
   12750   symcode='[BCDEGQRST]'
   12751   ;;
   12752 solaris*)
   12753   symcode='[BDRT]'
   12754   ;;
   12755 sco3.2v5*)
   12756   symcode='[DT]'
   12757   ;;
   12758 sysv4.2uw2*)
   12759   symcode='[DT]'
   12760   ;;
   12761 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   12762   symcode='[ABDT]'
   12763   ;;
   12764 sysv4)
   12765   symcode='[DFNSTU]'
   12766   ;;
   12767 esac
   12768 
   12769 # If we're using GNU nm, then use its standard symbol codes.
   12770 case `$NM -V 2>&1` in
   12771 *GNU* | *'with BFD'*)
   12772   symcode='[ABCDGIRSTW]' ;;
   12773 esac
   12774 
   12775 # Transform an extracted symbol line into a proper C declaration.
   12776 # Some systems (esp. on ia64) link data and code symbols differently,
   12777 # so use this general approach.
   12778 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   12779 
   12780 # Transform an extracted symbol line into symbol name and symbol address
   12781 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   12782 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'"
   12783 
   12784 # Handle CRLF in mingw tool chain
   12785 opt_cr=
   12786 case $build_os in
   12787 mingw*)
   12788   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   12789   ;;
   12790 esac
   12791 
   12792 # Try without a prefix underscore, then with it.
   12793 for ac_symprfx in "" "_"; do
   12794 
   12795   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   12796   symxfrm="\\1 $ac_symprfx\\2 \\2"
   12797 
   12798   # Write the raw and C identifiers.
   12799   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12800     # Fake it for dumpbin and say T for any non-static function
   12801     # and D for any global variable.
   12802     # Also find C++ and __fastcall symbols from MSVC++,
   12803     # which start with @ or ?.
   12804     lt_cv_sys_global_symbol_pipe="$AWK '"\
   12805 "     {last_section=section; section=\$ 3};"\
   12806 "     /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
   12807 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   12808 "     \$ 0!~/External *\|/{next};"\
   12809 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   12810 "     {if(hide[section]) next};"\
   12811 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   12812 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   12813 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   12814 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   12815 "     ' prfx=^$ac_symprfx"
   12816   else
   12817     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   12818   fi
   12819   lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
   12820 
   12821   # Check to see that the pipe works correctly.
   12822   pipe_works=no
   12823 
   12824   rm -f conftest*
   12825   cat > conftest.$ac_ext <<_LT_EOF
   12826 #ifdef __cplusplus
   12827 extern "C" {
   12828 #endif
   12829 char nm_test_var;
   12830 void nm_test_func(void);
   12831 void nm_test_func(void){}
   12832 #ifdef __cplusplus
   12833 }
   12834 #endif
   12835 int main(){nm_test_var='a';nm_test_func();return(0);}
   12836 _LT_EOF
   12837 
   12838   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   12839   (eval $ac_compile) 2>&5
   12840   ac_status=$?
   12841   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12842   test $ac_status = 0; }; then
   12843     # Now try to grab the symbols.
   12844     nlist=conftest.nm
   12845     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
   12846   (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
   12847   ac_status=$?
   12848   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12849   test $ac_status = 0; } && test -s "$nlist"; then
   12850       # Try sorting and uniquifying the output.
   12851       if sort "$nlist" | uniq > "$nlist"T; then
   12852 	mv -f "$nlist"T "$nlist"
   12853       else
   12854 	rm -f "$nlist"T
   12855       fi
   12856 
   12857       # Make sure that we snagged all the symbols we need.
   12858       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   12859 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   12860 	  cat <<_LT_EOF > conftest.$ac_ext
   12861 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
   12862 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
   12863 /* DATA imports from DLLs on WIN32 con't be const, because runtime
   12864    relocations are performed -- see ld's documentation on pseudo-relocs.  */
   12865 # define LT_DLSYM_CONST
   12866 #elif defined(__osf__)
   12867 /* This system does not cope well with relocations in const data.  */
   12868 # define LT_DLSYM_CONST
   12869 #else
   12870 # define LT_DLSYM_CONST const
   12871 #endif
   12872 
   12873 #ifdef __cplusplus
   12874 extern "C" {
   12875 #endif
   12876 
   12877 _LT_EOF
   12878 	  # Now generate the symbol file.
   12879 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   12880 
   12881 	  cat <<_LT_EOF >> conftest.$ac_ext
   12882 
   12883 /* The mapping between symbol names and symbols.  */
   12884 LT_DLSYM_CONST struct {
   12885   const char *name;
   12886   void       *address;
   12887 }
   12888 lt__PROGRAM__LTX_preloaded_symbols[] =
   12889 {
   12890   { "@PROGRAM@", (void *) 0 },
   12891 _LT_EOF
   12892 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   12893 	  cat <<\_LT_EOF >> conftest.$ac_ext
   12894   {0, (void *) 0}
   12895 };
   12896 
   12897 /* This works around a problem in FreeBSD linker */
   12898 #ifdef FREEBSD_WORKAROUND
   12899 static const void *lt_preloaded_setup() {
   12900   return lt__PROGRAM__LTX_preloaded_symbols;
   12901 }
   12902 #endif
   12903 
   12904 #ifdef __cplusplus
   12905 }
   12906 #endif
   12907 _LT_EOF
   12908 	  # Now try linking the two files.
   12909 	  mv conftest.$ac_objext conftstm.$ac_objext
   12910 	  lt_globsym_save_LIBS=$LIBS
   12911 	  lt_globsym_save_CFLAGS=$CFLAGS
   12912 	  LIBS="conftstm.$ac_objext"
   12913 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   12914 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   12915   (eval $ac_link) 2>&5
   12916   ac_status=$?
   12917   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   12918   test $ac_status = 0; } && test -s conftest${ac_exeext}; then
   12919 	    pipe_works=yes
   12920 	  fi
   12921 	  LIBS=$lt_globsym_save_LIBS
   12922 	  CFLAGS=$lt_globsym_save_CFLAGS
   12923 	else
   12924 	  echo "cannot find nm_test_func in $nlist" >&5
   12925 	fi
   12926       else
   12927 	echo "cannot find nm_test_var in $nlist" >&5
   12928       fi
   12929     else
   12930       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   12931     fi
   12932   else
   12933     echo "$progname: failed program was:" >&5
   12934     cat conftest.$ac_ext >&5
   12935   fi
   12936   rm -rf conftest* conftst*
   12937 
   12938   # Do not use the global_symbol_pipe unless it works.
   12939   if test "$pipe_works" = yes; then
   12940     break
   12941   else
   12942     lt_cv_sys_global_symbol_pipe=
   12943   fi
   12944 done
   12945 
   12946 fi
   12947 
   12948 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   12949   lt_cv_sys_global_symbol_to_cdecl=
   12950 fi
   12951 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   12952   { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
   12953 $as_echo "failed" >&6; }
   12954 else
   12955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
   12956 $as_echo "ok" >&6; }
   12957 fi
   12958 
   12959 # Response file support.
   12960 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   12961   nm_file_list_spec='@'
   12962 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
   12963   nm_file_list_spec='@'
   12964 fi
   12965 
   12966 
   12967 
   12968 
   12969 
   12970 
   12971 
   12972 
   12973 
   12974 
   12975 
   12976 
   12977 
   12978 
   12979 
   12980 
   12981 
   12982 
   12983 
   12984 
   12985 
   12986 
   12987 
   12988 
   12989 
   12990 
   12991 
   12992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
   12993 $as_echo_n "checking for sysroot... " >&6; }
   12994 
   12995 # Check whether --with-sysroot was given.
   12996 if test "${with_sysroot+set}" = set; then :
   12997   withval=$with_sysroot;
   12998 else
   12999   with_sysroot=no
   13000 fi
   13001 
   13002 
   13003 lt_sysroot=
   13004 case ${with_sysroot} in #(
   13005  yes)
   13006    if test "$GCC" = yes; then
   13007      lt_sysroot=`$CC --print-sysroot 2>/dev/null`
   13008    fi
   13009    ;; #(
   13010  /*)
   13011    lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
   13012    ;; #(
   13013  no|'')
   13014    ;; #(
   13015  *)
   13016    { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
   13017 $as_echo "${with_sysroot}" >&6; }
   13018    as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
   13019    ;;
   13020 esac
   13021 
   13022  { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
   13023 $as_echo "${lt_sysroot:-no}" >&6; }
   13024 
   13025 
   13026 
   13027 
   13028 
   13029 # Check whether --enable-libtool-lock was given.
   13030 if test "${enable_libtool_lock+set}" = set; then :
   13031   enableval=$enable_libtool_lock;
   13032 fi
   13033 
   13034 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   13035 
   13036 # Some flags need to be propagated to the compiler or linker for good
   13037 # libtool support.
   13038 case $host in
   13039 ia64-*-hpux*)
   13040   # Find out which ABI we are using.
   13041   echo 'int i;' > conftest.$ac_ext
   13042   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13043   (eval $ac_compile) 2>&5
   13044   ac_status=$?
   13045   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13046   test $ac_status = 0; }; then
   13047     case `/usr/bin/file conftest.$ac_objext` in
   13048       *ELF-32*)
   13049 	HPUX_IA64_MODE="32"
   13050 	;;
   13051       *ELF-64*)
   13052 	HPUX_IA64_MODE="64"
   13053 	;;
   13054     esac
   13055   fi
   13056   rm -rf conftest*
   13057   ;;
   13058 *-*-irix6*)
   13059   # Find out which ABI we are using.
   13060   echo '#line '$LINENO' "configure"' > conftest.$ac_ext
   13061   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13062   (eval $ac_compile) 2>&5
   13063   ac_status=$?
   13064   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13065   test $ac_status = 0; }; then
   13066     if test "$lt_cv_prog_gnu_ld" = yes; then
   13067       case `/usr/bin/file conftest.$ac_objext` in
   13068 	*32-bit*)
   13069 	  LD="${LD-ld} -melf32bsmip"
   13070 	  ;;
   13071 	*N32*)
   13072 	  LD="${LD-ld} -melf32bmipn32"
   13073 	  ;;
   13074 	*64-bit*)
   13075 	  LD="${LD-ld} -melf64bmip"
   13076 	;;
   13077       esac
   13078     else
   13079       case `/usr/bin/file conftest.$ac_objext` in
   13080 	*32-bit*)
   13081 	  LD="${LD-ld} -32"
   13082 	  ;;
   13083 	*N32*)
   13084 	  LD="${LD-ld} -n32"
   13085 	  ;;
   13086 	*64-bit*)
   13087 	  LD="${LD-ld} -64"
   13088 	  ;;
   13089       esac
   13090     fi
   13091   fi
   13092   rm -rf conftest*
   13093   ;;
   13094 
   13095 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
   13096 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   13097   # Find out which ABI we are using.
   13098   echo 'int i;' > conftest.$ac_ext
   13099   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13100   (eval $ac_compile) 2>&5
   13101   ac_status=$?
   13102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13103   test $ac_status = 0; }; then
   13104     case `/usr/bin/file conftest.o` in
   13105       *32-bit*)
   13106 	case $host in
   13107 	  x86_64-*kfreebsd*-gnu)
   13108 	    LD="${LD-ld} -m elf_i386_fbsd"
   13109 	    ;;
   13110 	  x86_64-*linux*)
   13111 	    case `/usr/bin/file conftest.o` in
   13112 	      *x86-64*)
   13113 		LD="${LD-ld} -m elf32_x86_64"
   13114 		;;
   13115 	      *)
   13116 		LD="${LD-ld} -m elf_i386"
   13117 		;;
   13118 	    esac
   13119 	    ;;
   13120 	  powerpc64le-*)
   13121 	    LD="${LD-ld} -m elf32lppclinux"
   13122 	    ;;
   13123 	  powerpc64-*)
   13124 	    LD="${LD-ld} -m elf32ppclinux"
   13125 	    ;;
   13126 	  s390x-*linux*)
   13127 	    LD="${LD-ld} -m elf_s390"
   13128 	    ;;
   13129 	  sparc64-*linux*)
   13130 	    LD="${LD-ld} -m elf32_sparc"
   13131 	    ;;
   13132 	esac
   13133 	;;
   13134       *64-bit*)
   13135 	case $host in
   13136 	  x86_64-*kfreebsd*-gnu)
   13137 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   13138 	    ;;
   13139 	  x86_64-*linux*)
   13140 	    LD="${LD-ld} -m elf_x86_64"
   13141 	    ;;
   13142 	  powerpcle-*)
   13143 	    LD="${LD-ld} -m elf64lppc"
   13144 	    ;;
   13145 	  powerpc-*)
   13146 	    LD="${LD-ld} -m elf64ppc"
   13147 	    ;;
   13148 	  s390*-*linux*|s390*-*tpf*)
   13149 	    LD="${LD-ld} -m elf64_s390"
   13150 	    ;;
   13151 	  sparc*-*linux*)
   13152 	    LD="${LD-ld} -m elf64_sparc"
   13153 	    ;;
   13154 	esac
   13155 	;;
   13156     esac
   13157   fi
   13158   rm -rf conftest*
   13159   ;;
   13160 
   13161 *-*-sco3.2v5*)
   13162   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   13163   SAVE_CFLAGS="$CFLAGS"
   13164   CFLAGS="$CFLAGS -belf"
   13165   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
   13166 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
   13167 if ${lt_cv_cc_needs_belf+:} false; then :
   13168   $as_echo_n "(cached) " >&6
   13169 else
   13170   ac_ext=c
   13171 ac_cpp='$CPP $CPPFLAGS'
   13172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13175 
   13176      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13177 /* end confdefs.h.  */
   13178 
   13179 int
   13180 main ()
   13181 {
   13182 
   13183   ;
   13184   return 0;
   13185 }
   13186 _ACEOF
   13187 if ac_fn_c_try_link "$LINENO"; then :
   13188   lt_cv_cc_needs_belf=yes
   13189 else
   13190   lt_cv_cc_needs_belf=no
   13191 fi
   13192 rm -f core conftest.err conftest.$ac_objext \
   13193     conftest$ac_exeext conftest.$ac_ext
   13194      ac_ext=c
   13195 ac_cpp='$CPP $CPPFLAGS'
   13196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   13197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   13198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   13199 
   13200 fi
   13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
   13202 $as_echo "$lt_cv_cc_needs_belf" >&6; }
   13203   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   13204     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   13205     CFLAGS="$SAVE_CFLAGS"
   13206   fi
   13207   ;;
   13208 *-*solaris*)
   13209   # Find out which ABI we are using.
   13210   echo 'int i;' > conftest.$ac_ext
   13211   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   13212   (eval $ac_compile) 2>&5
   13213   ac_status=$?
   13214   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   13215   test $ac_status = 0; }; then
   13216     case `/usr/bin/file conftest.o` in
   13217     *64-bit*)
   13218       case $lt_cv_prog_gnu_ld in
   13219       yes*)
   13220         case $host in
   13221         i?86-*-solaris*)
   13222           LD="${LD-ld} -m elf_x86_64"
   13223           ;;
   13224         sparc*-*-solaris*)
   13225           LD="${LD-ld} -m elf64_sparc"
   13226           ;;
   13227         esac
   13228         # GNU ld 2.21 introduced _sol2 emulations.  Use them if available.
   13229         if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
   13230           LD="${LD-ld}_sol2"
   13231         fi
   13232         ;;
   13233       *)
   13234 	if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
   13235 	  LD="${LD-ld} -64"
   13236 	fi
   13237 	;;
   13238       esac
   13239       ;;
   13240     esac
   13241   fi
   13242   rm -rf conftest*
   13243   ;;
   13244 esac
   13245 
   13246 need_locks="$enable_libtool_lock"
   13247 
   13248 if test -n "$ac_tool_prefix"; then
   13249   # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
   13250 set dummy ${ac_tool_prefix}mt; ac_word=$2
   13251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13252 $as_echo_n "checking for $ac_word... " >&6; }
   13253 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
   13254   $as_echo_n "(cached) " >&6
   13255 else
   13256   if test -n "$MANIFEST_TOOL"; then
   13257   ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
   13258 else
   13259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13260 for as_dir in $PATH
   13261 do
   13262   IFS=$as_save_IFS
   13263   test -z "$as_dir" && as_dir=.
   13264     for ac_exec_ext in '' $ac_executable_extensions; do
   13265   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13266     ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
   13267     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13268     break 2
   13269   fi
   13270 done
   13271   done
   13272 IFS=$as_save_IFS
   13273 
   13274 fi
   13275 fi
   13276 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
   13277 if test -n "$MANIFEST_TOOL"; then
   13278   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
   13279 $as_echo "$MANIFEST_TOOL" >&6; }
   13280 else
   13281   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13282 $as_echo "no" >&6; }
   13283 fi
   13284 
   13285 
   13286 fi
   13287 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
   13288   ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
   13289   # Extract the first word of "mt", so it can be a program name with args.
   13290 set dummy mt; ac_word=$2
   13291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13292 $as_echo_n "checking for $ac_word... " >&6; }
   13293 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
   13294   $as_echo_n "(cached) " >&6
   13295 else
   13296   if test -n "$ac_ct_MANIFEST_TOOL"; then
   13297   ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
   13298 else
   13299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13300 for as_dir in $PATH
   13301 do
   13302   IFS=$as_save_IFS
   13303   test -z "$as_dir" && as_dir=.
   13304     for ac_exec_ext in '' $ac_executable_extensions; do
   13305   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13306     ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
   13307     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13308     break 2
   13309   fi
   13310 done
   13311   done
   13312 IFS=$as_save_IFS
   13313 
   13314 fi
   13315 fi
   13316 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
   13317 if test -n "$ac_ct_MANIFEST_TOOL"; then
   13318   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
   13319 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
   13320 else
   13321   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13322 $as_echo "no" >&6; }
   13323 fi
   13324 
   13325   if test "x$ac_ct_MANIFEST_TOOL" = x; then
   13326     MANIFEST_TOOL=":"
   13327   else
   13328     case $cross_compiling:$ac_tool_warned in
   13329 yes:)
   13330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13331 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13332 ac_tool_warned=yes ;;
   13333 esac
   13334     MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
   13335   fi
   13336 else
   13337   MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
   13338 fi
   13339 
   13340 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
   13341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
   13342 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
   13343 if ${lt_cv_path_mainfest_tool+:} false; then :
   13344   $as_echo_n "(cached) " >&6
   13345 else
   13346   lt_cv_path_mainfest_tool=no
   13347   echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
   13348   $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
   13349   cat conftest.err >&5
   13350   if $GREP 'Manifest Tool' conftest.out > /dev/null; then
   13351     lt_cv_path_mainfest_tool=yes
   13352   fi
   13353   rm -f conftest*
   13354 fi
   13355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
   13356 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
   13357 if test "x$lt_cv_path_mainfest_tool" != xyes; then
   13358   MANIFEST_TOOL=:
   13359 fi
   13360 
   13361 
   13362 
   13363 
   13364 
   13365 
   13366   case $host_os in
   13367     rhapsody* | darwin*)
   13368     if test -n "$ac_tool_prefix"; then
   13369   # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
   13370 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
   13371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13372 $as_echo_n "checking for $ac_word... " >&6; }
   13373 if ${ac_cv_prog_DSYMUTIL+:} false; then :
   13374   $as_echo_n "(cached) " >&6
   13375 else
   13376   if test -n "$DSYMUTIL"; then
   13377   ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
   13378 else
   13379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13380 for as_dir in $PATH
   13381 do
   13382   IFS=$as_save_IFS
   13383   test -z "$as_dir" && as_dir=.
   13384     for ac_exec_ext in '' $ac_executable_extensions; do
   13385   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13386     ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
   13387     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13388     break 2
   13389   fi
   13390 done
   13391   done
   13392 IFS=$as_save_IFS
   13393 
   13394 fi
   13395 fi
   13396 DSYMUTIL=$ac_cv_prog_DSYMUTIL
   13397 if test -n "$DSYMUTIL"; then
   13398   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
   13399 $as_echo "$DSYMUTIL" >&6; }
   13400 else
   13401   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13402 $as_echo "no" >&6; }
   13403 fi
   13404 
   13405 
   13406 fi
   13407 if test -z "$ac_cv_prog_DSYMUTIL"; then
   13408   ac_ct_DSYMUTIL=$DSYMUTIL
   13409   # Extract the first word of "dsymutil", so it can be a program name with args.
   13410 set dummy dsymutil; ac_word=$2
   13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13412 $as_echo_n "checking for $ac_word... " >&6; }
   13413 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
   13414   $as_echo_n "(cached) " >&6
   13415 else
   13416   if test -n "$ac_ct_DSYMUTIL"; then
   13417   ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
   13418 else
   13419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13420 for as_dir in $PATH
   13421 do
   13422   IFS=$as_save_IFS
   13423   test -z "$as_dir" && as_dir=.
   13424     for ac_exec_ext in '' $ac_executable_extensions; do
   13425   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13426     ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
   13427     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13428     break 2
   13429   fi
   13430 done
   13431   done
   13432 IFS=$as_save_IFS
   13433 
   13434 fi
   13435 fi
   13436 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
   13437 if test -n "$ac_ct_DSYMUTIL"; then
   13438   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
   13439 $as_echo "$ac_ct_DSYMUTIL" >&6; }
   13440 else
   13441   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13442 $as_echo "no" >&6; }
   13443 fi
   13444 
   13445   if test "x$ac_ct_DSYMUTIL" = x; then
   13446     DSYMUTIL=":"
   13447   else
   13448     case $cross_compiling:$ac_tool_warned in
   13449 yes:)
   13450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13451 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13452 ac_tool_warned=yes ;;
   13453 esac
   13454     DSYMUTIL=$ac_ct_DSYMUTIL
   13455   fi
   13456 else
   13457   DSYMUTIL="$ac_cv_prog_DSYMUTIL"
   13458 fi
   13459 
   13460     if test -n "$ac_tool_prefix"; then
   13461   # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
   13462 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
   13463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13464 $as_echo_n "checking for $ac_word... " >&6; }
   13465 if ${ac_cv_prog_NMEDIT+:} false; then :
   13466   $as_echo_n "(cached) " >&6
   13467 else
   13468   if test -n "$NMEDIT"; then
   13469   ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
   13470 else
   13471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13472 for as_dir in $PATH
   13473 do
   13474   IFS=$as_save_IFS
   13475   test -z "$as_dir" && as_dir=.
   13476     for ac_exec_ext in '' $ac_executable_extensions; do
   13477   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13478     ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
   13479     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13480     break 2
   13481   fi
   13482 done
   13483   done
   13484 IFS=$as_save_IFS
   13485 
   13486 fi
   13487 fi
   13488 NMEDIT=$ac_cv_prog_NMEDIT
   13489 if test -n "$NMEDIT"; then
   13490   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
   13491 $as_echo "$NMEDIT" >&6; }
   13492 else
   13493   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13494 $as_echo "no" >&6; }
   13495 fi
   13496 
   13497 
   13498 fi
   13499 if test -z "$ac_cv_prog_NMEDIT"; then
   13500   ac_ct_NMEDIT=$NMEDIT
   13501   # Extract the first word of "nmedit", so it can be a program name with args.
   13502 set dummy nmedit; ac_word=$2
   13503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13504 $as_echo_n "checking for $ac_word... " >&6; }
   13505 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
   13506   $as_echo_n "(cached) " >&6
   13507 else
   13508   if test -n "$ac_ct_NMEDIT"; then
   13509   ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
   13510 else
   13511 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13512 for as_dir in $PATH
   13513 do
   13514   IFS=$as_save_IFS
   13515   test -z "$as_dir" && as_dir=.
   13516     for ac_exec_ext in '' $ac_executable_extensions; do
   13517   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13518     ac_cv_prog_ac_ct_NMEDIT="nmedit"
   13519     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13520     break 2
   13521   fi
   13522 done
   13523   done
   13524 IFS=$as_save_IFS
   13525 
   13526 fi
   13527 fi
   13528 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
   13529 if test -n "$ac_ct_NMEDIT"; then
   13530   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
   13531 $as_echo "$ac_ct_NMEDIT" >&6; }
   13532 else
   13533   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13534 $as_echo "no" >&6; }
   13535 fi
   13536 
   13537   if test "x$ac_ct_NMEDIT" = x; then
   13538     NMEDIT=":"
   13539   else
   13540     case $cross_compiling:$ac_tool_warned in
   13541 yes:)
   13542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13543 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13544 ac_tool_warned=yes ;;
   13545 esac
   13546     NMEDIT=$ac_ct_NMEDIT
   13547   fi
   13548 else
   13549   NMEDIT="$ac_cv_prog_NMEDIT"
   13550 fi
   13551 
   13552     if test -n "$ac_tool_prefix"; then
   13553   # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
   13554 set dummy ${ac_tool_prefix}lipo; ac_word=$2
   13555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13556 $as_echo_n "checking for $ac_word... " >&6; }
   13557 if ${ac_cv_prog_LIPO+:} false; then :
   13558   $as_echo_n "(cached) " >&6
   13559 else
   13560   if test -n "$LIPO"; then
   13561   ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
   13562 else
   13563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13564 for as_dir in $PATH
   13565 do
   13566   IFS=$as_save_IFS
   13567   test -z "$as_dir" && as_dir=.
   13568     for ac_exec_ext in '' $ac_executable_extensions; do
   13569   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13570     ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
   13571     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13572     break 2
   13573   fi
   13574 done
   13575   done
   13576 IFS=$as_save_IFS
   13577 
   13578 fi
   13579 fi
   13580 LIPO=$ac_cv_prog_LIPO
   13581 if test -n "$LIPO"; then
   13582   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
   13583 $as_echo "$LIPO" >&6; }
   13584 else
   13585   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13586 $as_echo "no" >&6; }
   13587 fi
   13588 
   13589 
   13590 fi
   13591 if test -z "$ac_cv_prog_LIPO"; then
   13592   ac_ct_LIPO=$LIPO
   13593   # Extract the first word of "lipo", so it can be a program name with args.
   13594 set dummy lipo; ac_word=$2
   13595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13596 $as_echo_n "checking for $ac_word... " >&6; }
   13597 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
   13598   $as_echo_n "(cached) " >&6
   13599 else
   13600   if test -n "$ac_ct_LIPO"; then
   13601   ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
   13602 else
   13603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13604 for as_dir in $PATH
   13605 do
   13606   IFS=$as_save_IFS
   13607   test -z "$as_dir" && as_dir=.
   13608     for ac_exec_ext in '' $ac_executable_extensions; do
   13609   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13610     ac_cv_prog_ac_ct_LIPO="lipo"
   13611     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13612     break 2
   13613   fi
   13614 done
   13615   done
   13616 IFS=$as_save_IFS
   13617 
   13618 fi
   13619 fi
   13620 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
   13621 if test -n "$ac_ct_LIPO"; then
   13622   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
   13623 $as_echo "$ac_ct_LIPO" >&6; }
   13624 else
   13625   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13626 $as_echo "no" >&6; }
   13627 fi
   13628 
   13629   if test "x$ac_ct_LIPO" = x; then
   13630     LIPO=":"
   13631   else
   13632     case $cross_compiling:$ac_tool_warned in
   13633 yes:)
   13634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13635 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13636 ac_tool_warned=yes ;;
   13637 esac
   13638     LIPO=$ac_ct_LIPO
   13639   fi
   13640 else
   13641   LIPO="$ac_cv_prog_LIPO"
   13642 fi
   13643 
   13644     if test -n "$ac_tool_prefix"; then
   13645   # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
   13646 set dummy ${ac_tool_prefix}otool; ac_word=$2
   13647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13648 $as_echo_n "checking for $ac_word... " >&6; }
   13649 if ${ac_cv_prog_OTOOL+:} false; then :
   13650   $as_echo_n "(cached) " >&6
   13651 else
   13652   if test -n "$OTOOL"; then
   13653   ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
   13654 else
   13655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13656 for as_dir in $PATH
   13657 do
   13658   IFS=$as_save_IFS
   13659   test -z "$as_dir" && as_dir=.
   13660     for ac_exec_ext in '' $ac_executable_extensions; do
   13661   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13662     ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
   13663     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13664     break 2
   13665   fi
   13666 done
   13667   done
   13668 IFS=$as_save_IFS
   13669 
   13670 fi
   13671 fi
   13672 OTOOL=$ac_cv_prog_OTOOL
   13673 if test -n "$OTOOL"; then
   13674   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
   13675 $as_echo "$OTOOL" >&6; }
   13676 else
   13677   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13678 $as_echo "no" >&6; }
   13679 fi
   13680 
   13681 
   13682 fi
   13683 if test -z "$ac_cv_prog_OTOOL"; then
   13684   ac_ct_OTOOL=$OTOOL
   13685   # Extract the first word of "otool", so it can be a program name with args.
   13686 set dummy otool; ac_word=$2
   13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13688 $as_echo_n "checking for $ac_word... " >&6; }
   13689 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
   13690   $as_echo_n "(cached) " >&6
   13691 else
   13692   if test -n "$ac_ct_OTOOL"; then
   13693   ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
   13694 else
   13695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13696 for as_dir in $PATH
   13697 do
   13698   IFS=$as_save_IFS
   13699   test -z "$as_dir" && as_dir=.
   13700     for ac_exec_ext in '' $ac_executable_extensions; do
   13701   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13702     ac_cv_prog_ac_ct_OTOOL="otool"
   13703     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13704     break 2
   13705   fi
   13706 done
   13707   done
   13708 IFS=$as_save_IFS
   13709 
   13710 fi
   13711 fi
   13712 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
   13713 if test -n "$ac_ct_OTOOL"; then
   13714   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
   13715 $as_echo "$ac_ct_OTOOL" >&6; }
   13716 else
   13717   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13718 $as_echo "no" >&6; }
   13719 fi
   13720 
   13721   if test "x$ac_ct_OTOOL" = x; then
   13722     OTOOL=":"
   13723   else
   13724     case $cross_compiling:$ac_tool_warned in
   13725 yes:)
   13726 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13727 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13728 ac_tool_warned=yes ;;
   13729 esac
   13730     OTOOL=$ac_ct_OTOOL
   13731   fi
   13732 else
   13733   OTOOL="$ac_cv_prog_OTOOL"
   13734 fi
   13735 
   13736     if test -n "$ac_tool_prefix"; then
   13737   # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
   13738 set dummy ${ac_tool_prefix}otool64; ac_word=$2
   13739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13740 $as_echo_n "checking for $ac_word... " >&6; }
   13741 if ${ac_cv_prog_OTOOL64+:} false; then :
   13742   $as_echo_n "(cached) " >&6
   13743 else
   13744   if test -n "$OTOOL64"; then
   13745   ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
   13746 else
   13747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13748 for as_dir in $PATH
   13749 do
   13750   IFS=$as_save_IFS
   13751   test -z "$as_dir" && as_dir=.
   13752     for ac_exec_ext in '' $ac_executable_extensions; do
   13753   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13754     ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
   13755     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13756     break 2
   13757   fi
   13758 done
   13759   done
   13760 IFS=$as_save_IFS
   13761 
   13762 fi
   13763 fi
   13764 OTOOL64=$ac_cv_prog_OTOOL64
   13765 if test -n "$OTOOL64"; then
   13766   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
   13767 $as_echo "$OTOOL64" >&6; }
   13768 else
   13769   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13770 $as_echo "no" >&6; }
   13771 fi
   13772 
   13773 
   13774 fi
   13775 if test -z "$ac_cv_prog_OTOOL64"; then
   13776   ac_ct_OTOOL64=$OTOOL64
   13777   # Extract the first word of "otool64", so it can be a program name with args.
   13778 set dummy otool64; ac_word=$2
   13779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
   13780 $as_echo_n "checking for $ac_word... " >&6; }
   13781 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
   13782   $as_echo_n "(cached) " >&6
   13783 else
   13784   if test -n "$ac_ct_OTOOL64"; then
   13785   ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
   13786 else
   13787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13788 for as_dir in $PATH
   13789 do
   13790   IFS=$as_save_IFS
   13791   test -z "$as_dir" && as_dir=.
   13792     for ac_exec_ext in '' $ac_executable_extensions; do
   13793   if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   13794     ac_cv_prog_ac_ct_OTOOL64="otool64"
   13795     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
   13796     break 2
   13797   fi
   13798 done
   13799   done
   13800 IFS=$as_save_IFS
   13801 
   13802 fi
   13803 fi
   13804 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
   13805 if test -n "$ac_ct_OTOOL64"; then
   13806   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
   13807 $as_echo "$ac_ct_OTOOL64" >&6; }
   13808 else
   13809   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   13810 $as_echo "no" >&6; }
   13811 fi
   13812 
   13813   if test "x$ac_ct_OTOOL64" = x; then
   13814     OTOOL64=":"
   13815   else
   13816     case $cross_compiling:$ac_tool_warned in
   13817 yes:)
   13818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
   13819 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
   13820 ac_tool_warned=yes ;;
   13821 esac
   13822     OTOOL64=$ac_ct_OTOOL64
   13823   fi
   13824 else
   13825   OTOOL64="$ac_cv_prog_OTOOL64"
   13826 fi
   13827 
   13828 
   13829 
   13830 
   13831 
   13832 
   13833 
   13834 
   13835 
   13836 
   13837 
   13838 
   13839 
   13840 
   13841 
   13842 
   13843 
   13844 
   13845 
   13846 
   13847 
   13848 
   13849 
   13850 
   13851 
   13852 
   13853 
   13854     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
   13855 $as_echo_n "checking for -single_module linker flag... " >&6; }
   13856 if ${lt_cv_apple_cc_single_mod+:} false; then :
   13857   $as_echo_n "(cached) " >&6
   13858 else
   13859   lt_cv_apple_cc_single_mod=no
   13860       if test -z "${LT_MULTI_MODULE}"; then
   13861 	# By default we will add the -single_module flag. You can override
   13862 	# by either setting the environment variable LT_MULTI_MODULE
   13863 	# non-empty at configure time, or by adding -multi_module to the
   13864 	# link flags.
   13865 	rm -rf libconftest.dylib*
   13866 	echo "int foo(void){return 1;}" > conftest.c
   13867 	echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13868 -dynamiclib -Wl,-single_module conftest.c" >&5
   13869 	$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   13870 	  -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
   13871         _lt_result=$?
   13872 	# If there is a non-empty error log, and "single_module"
   13873 	# appears in it, assume the flag caused a linker warning
   13874         if test -s conftest.err && $GREP single_module conftest.err; then
   13875 	  cat conftest.err >&5
   13876 	# Otherwise, if the output was created with a 0 exit code from
   13877 	# the compiler, it worked.
   13878 	elif test -f libconftest.dylib && test $_lt_result -eq 0; then
   13879 	  lt_cv_apple_cc_single_mod=yes
   13880 	else
   13881 	  cat conftest.err >&5
   13882 	fi
   13883 	rm -rf libconftest.dylib*
   13884 	rm -f conftest.*
   13885       fi
   13886 fi
   13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
   13888 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
   13889 
   13890     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
   13891 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
   13892 if ${lt_cv_ld_exported_symbols_list+:} false; then :
   13893   $as_echo_n "(cached) " >&6
   13894 else
   13895   lt_cv_ld_exported_symbols_list=no
   13896       save_LDFLAGS=$LDFLAGS
   13897       echo "_main" > conftest.sym
   13898       LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
   13899       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   13900 /* end confdefs.h.  */
   13901 
   13902 int
   13903 main ()
   13904 {
   13905 
   13906   ;
   13907   return 0;
   13908 }
   13909 _ACEOF
   13910 if ac_fn_c_try_link "$LINENO"; then :
   13911   lt_cv_ld_exported_symbols_list=yes
   13912 else
   13913   lt_cv_ld_exported_symbols_list=no
   13914 fi
   13915 rm -f core conftest.err conftest.$ac_objext \
   13916     conftest$ac_exeext conftest.$ac_ext
   13917 	LDFLAGS="$save_LDFLAGS"
   13918 
   13919 fi
   13920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
   13921 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
   13922 
   13923     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
   13924 $as_echo_n "checking for -force_load linker flag... " >&6; }
   13925 if ${lt_cv_ld_force_load+:} false; then :
   13926   $as_echo_n "(cached) " >&6
   13927 else
   13928   lt_cv_ld_force_load=no
   13929       cat > conftest.c << _LT_EOF
   13930 int forced_loaded() { return 2;}
   13931 _LT_EOF
   13932       echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
   13933       $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
   13934       echo "$AR cru libconftest.a conftest.o" >&5
   13935       $AR cru libconftest.a conftest.o 2>&5
   13936       echo "$RANLIB libconftest.a" >&5
   13937       $RANLIB libconftest.a 2>&5
   13938       cat > conftest.c << _LT_EOF
   13939 int main() { return 0;}
   13940 _LT_EOF
   13941       echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
   13942       $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
   13943       _lt_result=$?
   13944       if test -s conftest.err && $GREP force_load conftest.err; then
   13945 	cat conftest.err >&5
   13946       elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
   13947 	lt_cv_ld_force_load=yes
   13948       else
   13949 	cat conftest.err >&5
   13950       fi
   13951         rm -f conftest.err libconftest.a conftest conftest.c
   13952         rm -rf conftest.dSYM
   13953 
   13954 fi
   13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
   13956 $as_echo "$lt_cv_ld_force_load" >&6; }
   13957     case $host_os in
   13958     rhapsody* | darwin1.[012])
   13959       _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
   13960     darwin1.*)
   13961       _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13962     darwin*) # darwin 5.x on
   13963       # if running on 10.5 or later, the deployment target defaults
   13964       # to the OS version, if on x86, and 10.4, the deployment
   13965       # target defaults to 10.4. Don't you love it?
   13966       case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
   13967 	10.0,*86*-darwin8*|10.0,*-darwin[91]*)
   13968 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13969 	10.[012]*)
   13970 	  _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
   13971 	10.*)
   13972 	  _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
   13973       esac
   13974     ;;
   13975   esac
   13976     if test "$lt_cv_apple_cc_single_mod" = "yes"; then
   13977       _lt_dar_single_mod='$single_module'
   13978     fi
   13979     if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
   13980       _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
   13981     else
   13982       _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
   13983     fi
   13984     if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
   13985       _lt_dsymutil='~$DSYMUTIL $lib || :'
   13986     else
   13987       _lt_dsymutil=
   13988     fi
   13989     ;;
   13990   esac
   13991 
   13992 for ac_header in dlfcn.h
   13993 do :
   13994   ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
   13995 "
   13996 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
   13997   cat >>confdefs.h <<_ACEOF
   13998 #define HAVE_DLFCN_H 1
   13999 _ACEOF
   14000 
   14001 fi
   14002 
   14003 done
   14004 
   14005 
   14006 
   14007 
   14008 
   14009 # Set options
   14010 
   14011 
   14012 
   14013         enable_dlopen=no
   14014 
   14015 
   14016   enable_win32_dll=no
   14017 
   14018 
   14019             # Check whether --enable-shared was given.
   14020 if test "${enable_shared+set}" = set; then :
   14021   enableval=$enable_shared; p=${PACKAGE-default}
   14022     case $enableval in
   14023     yes) enable_shared=yes ;;
   14024     no) enable_shared=no ;;
   14025     *)
   14026       enable_shared=no
   14027       # Look at the argument we got.  We use all the common list separators.
   14028       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   14029       for pkg in $enableval; do
   14030 	IFS="$lt_save_ifs"
   14031 	if test "X$pkg" = "X$p"; then
   14032 	  enable_shared=yes
   14033 	fi
   14034       done
   14035       IFS="$lt_save_ifs"
   14036       ;;
   14037     esac
   14038 else
   14039   enable_shared=yes
   14040 fi
   14041 
   14042 
   14043 
   14044 
   14045 
   14046 
   14047 
   14048 
   14049 
   14050 
   14051 
   14052 # Check whether --with-pic was given.
   14053 if test "${with_pic+set}" = set; then :
   14054   withval=$with_pic; lt_p=${PACKAGE-default}
   14055     case $withval in
   14056     yes|no) pic_mode=$withval ;;
   14057     *)
   14058       pic_mode=default
   14059       # Look at the argument we got.  We use all the common list separators.
   14060       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   14061       for lt_pkg in $withval; do
   14062 	IFS="$lt_save_ifs"
   14063 	if test "X$lt_pkg" = "X$lt_p"; then
   14064 	  pic_mode=yes
   14065 	fi
   14066       done
   14067       IFS="$lt_save_ifs"
   14068       ;;
   14069     esac
   14070 else
   14071   pic_mode=default
   14072 fi
   14073 
   14074 
   14075 test -z "$pic_mode" && pic_mode=default
   14076 
   14077 
   14078 
   14079 
   14080 
   14081 
   14082 
   14083   # Check whether --enable-fast-install was given.
   14084 if test "${enable_fast_install+set}" = set; then :
   14085   enableval=$enable_fast_install; p=${PACKAGE-default}
   14086     case $enableval in
   14087     yes) enable_fast_install=yes ;;
   14088     no) enable_fast_install=no ;;
   14089     *)
   14090       enable_fast_install=no
   14091       # Look at the argument we got.  We use all the common list separators.
   14092       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   14093       for pkg in $enableval; do
   14094 	IFS="$lt_save_ifs"
   14095 	if test "X$pkg" = "X$p"; then
   14096 	  enable_fast_install=yes
   14097 	fi
   14098       done
   14099       IFS="$lt_save_ifs"
   14100       ;;
   14101     esac
   14102 else
   14103   enable_fast_install=yes
   14104 fi
   14105 
   14106 
   14107 
   14108 
   14109 
   14110 
   14111 
   14112 
   14113 
   14114 
   14115 
   14116 # This can be used to rebuild libtool when needed
   14117 LIBTOOL_DEPS="$ltmain"
   14118 
   14119 # Always use our own libtool.
   14120 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   14121 
   14122 
   14123 
   14124 
   14125 
   14126 
   14127 
   14128 
   14129 
   14130 
   14131 
   14132 
   14133 
   14134 
   14135 
   14136 
   14137 
   14138 
   14139 
   14140 
   14141 
   14142 
   14143 
   14144 
   14145 
   14146 
   14147 
   14148 
   14149 
   14150 
   14151 test -z "$LN_S" && LN_S="ln -s"
   14152 
   14153 
   14154 
   14155 
   14156 
   14157 
   14158 
   14159 
   14160 
   14161 
   14162 
   14163 
   14164 
   14165 
   14166 if test -n "${ZSH_VERSION+set}" ; then
   14167    setopt NO_GLOB_SUBST
   14168 fi
   14169 
   14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
   14171 $as_echo_n "checking for objdir... " >&6; }
   14172 if ${lt_cv_objdir+:} false; then :
   14173   $as_echo_n "(cached) " >&6
   14174 else
   14175   rm -f .libs 2>/dev/null
   14176 mkdir .libs 2>/dev/null
   14177 if test -d .libs; then
   14178   lt_cv_objdir=.libs
   14179 else
   14180   # MS-DOS does not allow filenames that begin with a dot.
   14181   lt_cv_objdir=_libs
   14182 fi
   14183 rmdir .libs 2>/dev/null
   14184 fi
   14185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
   14186 $as_echo "$lt_cv_objdir" >&6; }
   14187 objdir=$lt_cv_objdir
   14188 
   14189 
   14190 
   14191 
   14192 
   14193 cat >>confdefs.h <<_ACEOF
   14194 #define LT_OBJDIR "$lt_cv_objdir/"
   14195 _ACEOF
   14196 
   14197 
   14198 
   14199 
   14200 case $host_os in
   14201 aix3*)
   14202   # AIX sometimes has problems with the GCC collect2 program.  For some
   14203   # reason, if we set the COLLECT_NAMES environment variable, the problems
   14204   # vanish in a puff of smoke.
   14205   if test "X${COLLECT_NAMES+set}" != Xset; then
   14206     COLLECT_NAMES=
   14207     export COLLECT_NAMES
   14208   fi
   14209   ;;
   14210 esac
   14211 
   14212 # Global variables:
   14213 ofile=libtool
   14214 can_build_shared=yes
   14215 
   14216 # All known linkers require a `.a' archive for static linking (except MSVC,
   14217 # which needs '.lib').
   14218 libext=a
   14219 
   14220 with_gnu_ld="$lt_cv_prog_gnu_ld"
   14221 
   14222 old_CC="$CC"
   14223 old_CFLAGS="$CFLAGS"
   14224 
   14225 # Set sane defaults for various variables
   14226 test -z "$CC" && CC=cc
   14227 test -z "$LTCC" && LTCC=$CC
   14228 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   14229 test -z "$LD" && LD=ld
   14230 test -z "$ac_objext" && ac_objext=o
   14231 
   14232 for cc_temp in $compiler""; do
   14233   case $cc_temp in
   14234     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   14235     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   14236     \-*) ;;
   14237     *) break;;
   14238   esac
   14239 done
   14240 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
   14241 
   14242 
   14243 # Only perform the check for file, if the check method requires it
   14244 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   14245 case $deplibs_check_method in
   14246 file_magic*)
   14247   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   14248     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
   14249 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
   14250 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14251   $as_echo_n "(cached) " >&6
   14252 else
   14253   case $MAGIC_CMD in
   14254 [\\/*] |  ?:[\\/]*)
   14255   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14256   ;;
   14257 *)
   14258   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14259   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14260   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14261   for ac_dir in $ac_dummy; do
   14262     IFS="$lt_save_ifs"
   14263     test -z "$ac_dir" && ac_dir=.
   14264     if test -f $ac_dir/${ac_tool_prefix}file; then
   14265       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   14266       if test -n "$file_magic_test_file"; then
   14267 	case $deplibs_check_method in
   14268 	"file_magic "*)
   14269 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14270 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14271 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14272 	    $EGREP "$file_magic_regex" > /dev/null; then
   14273 	    :
   14274 	  else
   14275 	    cat <<_LT_EOF 1>&2
   14276 
   14277 *** Warning: the command libtool uses to detect shared libraries,
   14278 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14279 *** The result is that libtool may fail to recognize shared libraries
   14280 *** as such.  This will affect the creation of libtool libraries that
   14281 *** depend on shared libraries, but programs linked with such libtool
   14282 *** libraries will work regardless of this problem.  Nevertheless, you
   14283 *** may want to report the problem to your system manager and/or to
   14284 *** bug-libtool@gnu.org
   14285 
   14286 _LT_EOF
   14287 	  fi ;;
   14288 	esac
   14289       fi
   14290       break
   14291     fi
   14292   done
   14293   IFS="$lt_save_ifs"
   14294   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14295   ;;
   14296 esac
   14297 fi
   14298 
   14299 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14300 if test -n "$MAGIC_CMD"; then
   14301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14302 $as_echo "$MAGIC_CMD" >&6; }
   14303 else
   14304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14305 $as_echo "no" >&6; }
   14306 fi
   14307 
   14308 
   14309 
   14310 
   14311 
   14312 if test -z "$lt_cv_path_MAGIC_CMD"; then
   14313   if test -n "$ac_tool_prefix"; then
   14314     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
   14315 $as_echo_n "checking for file... " >&6; }
   14316 if ${lt_cv_path_MAGIC_CMD+:} false; then :
   14317   $as_echo_n "(cached) " >&6
   14318 else
   14319   case $MAGIC_CMD in
   14320 [\\/*] |  ?:[\\/]*)
   14321   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   14322   ;;
   14323 *)
   14324   lt_save_MAGIC_CMD="$MAGIC_CMD"
   14325   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   14326   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   14327   for ac_dir in $ac_dummy; do
   14328     IFS="$lt_save_ifs"
   14329     test -z "$ac_dir" && ac_dir=.
   14330     if test -f $ac_dir/file; then
   14331       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   14332       if test -n "$file_magic_test_file"; then
   14333 	case $deplibs_check_method in
   14334 	"file_magic "*)
   14335 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   14336 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14337 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   14338 	    $EGREP "$file_magic_regex" > /dev/null; then
   14339 	    :
   14340 	  else
   14341 	    cat <<_LT_EOF 1>&2
   14342 
   14343 *** Warning: the command libtool uses to detect shared libraries,
   14344 *** $file_magic_cmd, produces output that libtool cannot recognize.
   14345 *** The result is that libtool may fail to recognize shared libraries
   14346 *** as such.  This will affect the creation of libtool libraries that
   14347 *** depend on shared libraries, but programs linked with such libtool
   14348 *** libraries will work regardless of this problem.  Nevertheless, you
   14349 *** may want to report the problem to your system manager and/or to
   14350 *** bug-libtool@gnu.org
   14351 
   14352 _LT_EOF
   14353 	  fi ;;
   14354 	esac
   14355       fi
   14356       break
   14357     fi
   14358   done
   14359   IFS="$lt_save_ifs"
   14360   MAGIC_CMD="$lt_save_MAGIC_CMD"
   14361   ;;
   14362 esac
   14363 fi
   14364 
   14365 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   14366 if test -n "$MAGIC_CMD"; then
   14367   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
   14368 $as_echo "$MAGIC_CMD" >&6; }
   14369 else
   14370   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   14371 $as_echo "no" >&6; }
   14372 fi
   14373 
   14374 
   14375   else
   14376     MAGIC_CMD=:
   14377   fi
   14378 fi
   14379 
   14380   fi
   14381   ;;
   14382 esac
   14383 
   14384 # Use C for the default configuration in the libtool script
   14385 
   14386 lt_save_CC="$CC"
   14387 ac_ext=c
   14388 ac_cpp='$CPP $CPPFLAGS'
   14389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   14390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   14391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   14392 
   14393 
   14394 # Source file extension for C test sources.
   14395 ac_ext=c
   14396 
   14397 # Object file extension for compiled C test sources.
   14398 objext=o
   14399 objext=$objext
   14400 
   14401 # Code to be used in simple compile tests
   14402 lt_simple_compile_test_code="int some_variable = 0;"
   14403 
   14404 # Code to be used in simple link tests
   14405 lt_simple_link_test_code='int main(){return(0);}'
   14406 
   14407 
   14408 
   14409 
   14410 
   14411 
   14412 
   14413 # If no C compiler was specified, use CC.
   14414 LTCC=${LTCC-"$CC"}
   14415 
   14416 # If no C compiler flags were specified, use CFLAGS.
   14417 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   14418 
   14419 # Allow CC to be a program name with arguments.
   14420 compiler=$CC
   14421 
   14422 # Save the default compiler, since it gets overwritten when the other
   14423 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   14424 compiler_DEFAULT=$CC
   14425 
   14426 # save warnings/boilerplate of simple test code
   14427 ac_outfile=conftest.$ac_objext
   14428 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   14429 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14430 _lt_compiler_boilerplate=`cat conftest.err`
   14431 $RM conftest*
   14432 
   14433 ac_outfile=conftest.$ac_objext
   14434 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   14435 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   14436 _lt_linker_boilerplate=`cat conftest.err`
   14437 $RM -r conftest*
   14438 
   14439 
   14440 if test -n "$compiler"; then
   14441 
   14442 lt_prog_compiler_no_builtin_flag=
   14443 
   14444 if test "$GCC" = yes; then
   14445   case $cc_basename in
   14446   nvcc*)
   14447     lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
   14448   *)
   14449     lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
   14450   esac
   14451 
   14452   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   14453 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
   14454 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
   14455   $as_echo_n "(cached) " >&6
   14456 else
   14457   lt_cv_prog_compiler_rtti_exceptions=no
   14458    ac_outfile=conftest.$ac_objext
   14459    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14460    lt_compiler_flag="-fno-rtti -fno-exceptions"
   14461    # Insert the option either (1) after the last *FLAGS variable, or
   14462    # (2) before a word containing "conftest.", or (3) at the end.
   14463    # Note that $ac_compile itself does not contain backslashes and begins
   14464    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14465    # The option is referenced via a variable to avoid confusing sed.
   14466    lt_compile=`echo "$ac_compile" | $SED \
   14467    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14468    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14469    -e 's:$: $lt_compiler_flag:'`
   14470    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14471    (eval "$lt_compile" 2>conftest.err)
   14472    ac_status=$?
   14473    cat conftest.err >&5
   14474    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14475    if (exit $ac_status) && test -s "$ac_outfile"; then
   14476      # The compiler can only warn and ignore the option if not recognized
   14477      # So say no if there are warnings other than the usual output.
   14478      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14479      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14480      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14481        lt_cv_prog_compiler_rtti_exceptions=yes
   14482      fi
   14483    fi
   14484    $RM conftest*
   14485 
   14486 fi
   14487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   14488 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
   14489 
   14490 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   14491     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   14492 else
   14493     :
   14494 fi
   14495 
   14496 fi
   14497 
   14498 
   14499 
   14500 
   14501 
   14502 
   14503   lt_prog_compiler_wl=
   14504 lt_prog_compiler_pic=
   14505 lt_prog_compiler_static=
   14506 
   14507 
   14508   if test "$GCC" = yes; then
   14509     lt_prog_compiler_wl='-Wl,'
   14510     lt_prog_compiler_static='-static'
   14511 
   14512     case $host_os in
   14513       aix*)
   14514       # All AIX code is PIC.
   14515       if test "$host_cpu" = ia64; then
   14516 	# AIX 5 now supports IA64 processor
   14517 	lt_prog_compiler_static='-Bstatic'
   14518       fi
   14519       ;;
   14520 
   14521     amigaos*)
   14522       case $host_cpu in
   14523       powerpc)
   14524             # see comment about AmigaOS4 .so support
   14525             lt_prog_compiler_pic='-fPIC'
   14526         ;;
   14527       m68k)
   14528             # FIXME: we need at least 68020 code to build shared libraries, but
   14529             # adding the `-m68020' flag to GCC prevents building anything better,
   14530             # like `-m68040'.
   14531             lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   14532         ;;
   14533       esac
   14534       ;;
   14535 
   14536     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   14537       # PIC is the default for these OSes.
   14538       ;;
   14539 
   14540     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14541       # This hack is so that the source file can tell whether it is being
   14542       # built for inclusion in a dll (and should export symbols for example).
   14543       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   14544       # (--disable-auto-import) libraries
   14545       lt_prog_compiler_pic='-DDLL_EXPORT'
   14546       ;;
   14547 
   14548     darwin* | rhapsody*)
   14549       # PIC is the default on this platform
   14550       # Common symbols not allowed in MH_DYLIB files
   14551       lt_prog_compiler_pic='-fno-common'
   14552       ;;
   14553 
   14554     haiku*)
   14555       # PIC is the default for Haiku.
   14556       # The "-static" flag exists, but is broken.
   14557       lt_prog_compiler_static=
   14558       ;;
   14559 
   14560     hpux*)
   14561       # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
   14562       # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
   14563       # sets the default TLS model and affects inlining.
   14564       case $host_cpu in
   14565       hppa*64*)
   14566 	# +Z the default
   14567 	;;
   14568       *)
   14569 	lt_prog_compiler_pic='-fPIC'
   14570 	;;
   14571       esac
   14572       ;;
   14573 
   14574     interix[3-9]*)
   14575       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   14576       # Instead, we relocate shared libraries at runtime.
   14577       ;;
   14578 
   14579     msdosdjgpp*)
   14580       # Just because we use GCC doesn't mean we suddenly get shared libraries
   14581       # on systems that don't support them.
   14582       lt_prog_compiler_can_build_shared=no
   14583       enable_shared=no
   14584       ;;
   14585 
   14586     *nto* | *qnx*)
   14587       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14588       # it will coredump.
   14589       lt_prog_compiler_pic='-fPIC -shared'
   14590       ;;
   14591 
   14592     sysv4*MP*)
   14593       if test -d /usr/nec; then
   14594 	lt_prog_compiler_pic=-Kconform_pic
   14595       fi
   14596       ;;
   14597 
   14598     *)
   14599       lt_prog_compiler_pic='-fPIC'
   14600       ;;
   14601     esac
   14602 
   14603     case $cc_basename in
   14604     nvcc*) # Cuda Compiler Driver 2.2
   14605       lt_prog_compiler_wl='-Xlinker '
   14606       if test -n "$lt_prog_compiler_pic"; then
   14607         lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
   14608       fi
   14609       ;;
   14610     esac
   14611   else
   14612     # PORTME Check for flag to pass linker flags through the system compiler.
   14613     case $host_os in
   14614     aix*)
   14615       lt_prog_compiler_wl='-Wl,'
   14616       if test "$host_cpu" = ia64; then
   14617 	# AIX 5 now supports IA64 processor
   14618 	lt_prog_compiler_static='-Bstatic'
   14619       else
   14620 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   14621       fi
   14622       ;;
   14623 
   14624     mingw* | cygwin* | pw32* | os2* | cegcc*)
   14625       # This hack is so that the source file can tell whether it is being
   14626       # built for inclusion in a dll (and should export symbols for example).
   14627       lt_prog_compiler_pic='-DDLL_EXPORT'
   14628       ;;
   14629 
   14630     hpux9* | hpux10* | hpux11*)
   14631       lt_prog_compiler_wl='-Wl,'
   14632       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   14633       # not for PA HP-UX.
   14634       case $host_cpu in
   14635       hppa*64*|ia64*)
   14636 	# +Z the default
   14637 	;;
   14638       *)
   14639 	lt_prog_compiler_pic='+Z'
   14640 	;;
   14641       esac
   14642       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   14643       lt_prog_compiler_static='${wl}-a ${wl}archive'
   14644       ;;
   14645 
   14646     irix5* | irix6* | nonstopux*)
   14647       lt_prog_compiler_wl='-Wl,'
   14648       # PIC (with -KPIC) is the default.
   14649       lt_prog_compiler_static='-non_shared'
   14650       ;;
   14651 
   14652     linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   14653       case $cc_basename in
   14654       # old Intel for x86_64 which still supported -KPIC.
   14655       ecc*)
   14656 	lt_prog_compiler_wl='-Wl,'
   14657 	lt_prog_compiler_pic='-KPIC'
   14658 	lt_prog_compiler_static='-static'
   14659         ;;
   14660       # icc used to be incompatible with GCC.
   14661       # ICC 10 doesn't accept -KPIC any more.
   14662       icc* | ifort*)
   14663 	lt_prog_compiler_wl='-Wl,'
   14664 	lt_prog_compiler_pic='-fPIC'
   14665 	lt_prog_compiler_static='-static'
   14666         ;;
   14667       # Lahey Fortran 8.1.
   14668       lf95*)
   14669 	lt_prog_compiler_wl='-Wl,'
   14670 	lt_prog_compiler_pic='--shared'
   14671 	lt_prog_compiler_static='--static'
   14672 	;;
   14673       nagfor*)
   14674 	# NAG Fortran compiler
   14675 	lt_prog_compiler_wl='-Wl,-Wl,,'
   14676 	lt_prog_compiler_pic='-PIC'
   14677 	lt_prog_compiler_static='-Bstatic'
   14678 	;;
   14679       pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
   14680         # Portland Group compilers (*not* the Pentium gcc compiler,
   14681 	# which looks to be a dead project)
   14682 	lt_prog_compiler_wl='-Wl,'
   14683 	lt_prog_compiler_pic='-fpic'
   14684 	lt_prog_compiler_static='-Bstatic'
   14685         ;;
   14686       ccc*)
   14687         lt_prog_compiler_wl='-Wl,'
   14688         # All Alpha code is PIC.
   14689         lt_prog_compiler_static='-non_shared'
   14690         ;;
   14691       xl* | bgxl* | bgf* | mpixl*)
   14692 	# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
   14693 	lt_prog_compiler_wl='-Wl,'
   14694 	lt_prog_compiler_pic='-qpic'
   14695 	lt_prog_compiler_static='-qstaticlink'
   14696 	;;
   14697       *)
   14698 	case `$CC -V 2>&1 | sed 5q` in
   14699 	*Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
   14700 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   14701 	  lt_prog_compiler_pic='-KPIC'
   14702 	  lt_prog_compiler_static='-Bstatic'
   14703 	  lt_prog_compiler_wl=''
   14704 	  ;;
   14705 	*Sun\ F* | *Sun*Fortran*)
   14706 	  lt_prog_compiler_pic='-KPIC'
   14707 	  lt_prog_compiler_static='-Bstatic'
   14708 	  lt_prog_compiler_wl='-Qoption ld '
   14709 	  ;;
   14710 	*Sun\ C*)
   14711 	  # Sun C 5.9
   14712 	  lt_prog_compiler_pic='-KPIC'
   14713 	  lt_prog_compiler_static='-Bstatic'
   14714 	  lt_prog_compiler_wl='-Wl,'
   14715 	  ;;
   14716         *Intel*\ [CF]*Compiler*)
   14717 	  lt_prog_compiler_wl='-Wl,'
   14718 	  lt_prog_compiler_pic='-fPIC'
   14719 	  lt_prog_compiler_static='-static'
   14720 	  ;;
   14721 	*Portland\ Group*)
   14722 	  lt_prog_compiler_wl='-Wl,'
   14723 	  lt_prog_compiler_pic='-fpic'
   14724 	  lt_prog_compiler_static='-Bstatic'
   14725 	  ;;
   14726 	esac
   14727 	;;
   14728       esac
   14729       ;;
   14730 
   14731     newsos6)
   14732       lt_prog_compiler_pic='-KPIC'
   14733       lt_prog_compiler_static='-Bstatic'
   14734       ;;
   14735 
   14736     *nto* | *qnx*)
   14737       # QNX uses GNU C++, but need to define -shared option too, otherwise
   14738       # it will coredump.
   14739       lt_prog_compiler_pic='-fPIC -shared'
   14740       ;;
   14741 
   14742     osf3* | osf4* | osf5*)
   14743       lt_prog_compiler_wl='-Wl,'
   14744       # All OSF/1 code is PIC.
   14745       lt_prog_compiler_static='-non_shared'
   14746       ;;
   14747 
   14748     rdos*)
   14749       lt_prog_compiler_static='-non_shared'
   14750       ;;
   14751 
   14752     solaris*)
   14753       lt_prog_compiler_pic='-KPIC'
   14754       lt_prog_compiler_static='-Bstatic'
   14755       case $cc_basename in
   14756       f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
   14757 	lt_prog_compiler_wl='-Qoption ld ';;
   14758       *)
   14759 	lt_prog_compiler_wl='-Wl,';;
   14760       esac
   14761       ;;
   14762 
   14763     sunos4*)
   14764       lt_prog_compiler_wl='-Qoption ld '
   14765       lt_prog_compiler_pic='-PIC'
   14766       lt_prog_compiler_static='-Bstatic'
   14767       ;;
   14768 
   14769     sysv4 | sysv4.2uw2* | sysv4.3*)
   14770       lt_prog_compiler_wl='-Wl,'
   14771       lt_prog_compiler_pic='-KPIC'
   14772       lt_prog_compiler_static='-Bstatic'
   14773       ;;
   14774 
   14775     sysv4*MP*)
   14776       if test -d /usr/nec ;then
   14777 	lt_prog_compiler_pic='-Kconform_pic'
   14778 	lt_prog_compiler_static='-Bstatic'
   14779       fi
   14780       ;;
   14781 
   14782     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   14783       lt_prog_compiler_wl='-Wl,'
   14784       lt_prog_compiler_pic='-KPIC'
   14785       lt_prog_compiler_static='-Bstatic'
   14786       ;;
   14787 
   14788     unicos*)
   14789       lt_prog_compiler_wl='-Wl,'
   14790       lt_prog_compiler_can_build_shared=no
   14791       ;;
   14792 
   14793     uts4*)
   14794       lt_prog_compiler_pic='-pic'
   14795       lt_prog_compiler_static='-Bstatic'
   14796       ;;
   14797 
   14798     *)
   14799       lt_prog_compiler_can_build_shared=no
   14800       ;;
   14801     esac
   14802   fi
   14803 
   14804 case $host_os in
   14805   # For platforms which do not support PIC, -DPIC is meaningless:
   14806   *djgpp*)
   14807     lt_prog_compiler_pic=
   14808     ;;
   14809   *)
   14810     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   14811     ;;
   14812 esac
   14813 
   14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
   14815 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
   14816 if ${lt_cv_prog_compiler_pic+:} false; then :
   14817   $as_echo_n "(cached) " >&6
   14818 else
   14819   lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
   14820 fi
   14821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
   14822 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
   14823 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
   14824 
   14825 #
   14826 # Check to make sure the PIC flag actually works.
   14827 #
   14828 if test -n "$lt_prog_compiler_pic"; then
   14829   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   14830 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
   14831 if ${lt_cv_prog_compiler_pic_works+:} false; then :
   14832   $as_echo_n "(cached) " >&6
   14833 else
   14834   lt_cv_prog_compiler_pic_works=no
   14835    ac_outfile=conftest.$ac_objext
   14836    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14837    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   14838    # Insert the option either (1) after the last *FLAGS variable, or
   14839    # (2) before a word containing "conftest.", or (3) at the end.
   14840    # Note that $ac_compile itself does not contain backslashes and begins
   14841    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14842    # The option is referenced via a variable to avoid confusing sed.
   14843    lt_compile=`echo "$ac_compile" | $SED \
   14844    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14845    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14846    -e 's:$: $lt_compiler_flag:'`
   14847    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14848    (eval "$lt_compile" 2>conftest.err)
   14849    ac_status=$?
   14850    cat conftest.err >&5
   14851    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14852    if (exit $ac_status) && test -s "$ac_outfile"; then
   14853      # The compiler can only warn and ignore the option if not recognized
   14854      # So say no if there are warnings other than the usual output.
   14855      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
   14856      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14857      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   14858        lt_cv_prog_compiler_pic_works=yes
   14859      fi
   14860    fi
   14861    $RM conftest*
   14862 
   14863 fi
   14864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
   14865 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
   14866 
   14867 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
   14868     case $lt_prog_compiler_pic in
   14869      "" | " "*) ;;
   14870      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   14871      esac
   14872 else
   14873     lt_prog_compiler_pic=
   14874      lt_prog_compiler_can_build_shared=no
   14875 fi
   14876 
   14877 fi
   14878 
   14879 
   14880 
   14881 
   14882 
   14883 
   14884 
   14885 
   14886 
   14887 
   14888 
   14889 #
   14890 # Check to make sure the static flag actually works.
   14891 #
   14892 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   14893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   14894 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
   14895 if ${lt_cv_prog_compiler_static_works+:} false; then :
   14896   $as_echo_n "(cached) " >&6
   14897 else
   14898   lt_cv_prog_compiler_static_works=no
   14899    save_LDFLAGS="$LDFLAGS"
   14900    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   14901    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   14902    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   14903      # The linker can only warn and ignore the option if not recognized
   14904      # So say no if there are warnings
   14905      if test -s conftest.err; then
   14906        # Append any errors to the config.log.
   14907        cat conftest.err 1>&5
   14908        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   14909        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   14910        if diff conftest.exp conftest.er2 >/dev/null; then
   14911          lt_cv_prog_compiler_static_works=yes
   14912        fi
   14913      else
   14914        lt_cv_prog_compiler_static_works=yes
   14915      fi
   14916    fi
   14917    $RM -r conftest*
   14918    LDFLAGS="$save_LDFLAGS"
   14919 
   14920 fi
   14921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
   14922 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
   14923 
   14924 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
   14925     :
   14926 else
   14927     lt_prog_compiler_static=
   14928 fi
   14929 
   14930 
   14931 
   14932 
   14933 
   14934 
   14935 
   14936   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14937 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14938 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14939   $as_echo_n "(cached) " >&6
   14940 else
   14941   lt_cv_prog_compiler_c_o=no
   14942    $RM -r conftest 2>/dev/null
   14943    mkdir conftest
   14944    cd conftest
   14945    mkdir out
   14946    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   14947 
   14948    lt_compiler_flag="-o out/conftest2.$ac_objext"
   14949    # Insert the option either (1) after the last *FLAGS variable, or
   14950    # (2) before a word containing "conftest.", or (3) at the end.
   14951    # Note that $ac_compile itself does not contain backslashes and begins
   14952    # with a dollar sign (not a hyphen), so the echo should work correctly.
   14953    lt_compile=`echo "$ac_compile" | $SED \
   14954    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   14955    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   14956    -e 's:$: $lt_compiler_flag:'`
   14957    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   14958    (eval "$lt_compile" 2>out/conftest.err)
   14959    ac_status=$?
   14960    cat out/conftest.err >&5
   14961    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   14962    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   14963    then
   14964      # The compiler can only warn and ignore the option if not recognized
   14965      # So say no if there are warnings
   14966      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   14967      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   14968      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   14969        lt_cv_prog_compiler_c_o=yes
   14970      fi
   14971    fi
   14972    chmod u+w . 2>&5
   14973    $RM conftest*
   14974    # SGI C++ compiler will create directory out/ii_files/ for
   14975    # template instantiation
   14976    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   14977    $RM out/* && rmdir out
   14978    cd ..
   14979    $RM -r conftest
   14980    $RM conftest*
   14981 
   14982 fi
   14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   14984 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   14985 
   14986 
   14987 
   14988 
   14989 
   14990 
   14991   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
   14992 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
   14993 if ${lt_cv_prog_compiler_c_o+:} false; then :
   14994   $as_echo_n "(cached) " >&6
   14995 else
   14996   lt_cv_prog_compiler_c_o=no
   14997    $RM -r conftest 2>/dev/null
   14998    mkdir conftest
   14999    cd conftest
   15000    mkdir out
   15001    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   15002 
   15003    lt_compiler_flag="-o out/conftest2.$ac_objext"
   15004    # Insert the option either (1) after the last *FLAGS variable, or
   15005    # (2) before a word containing "conftest.", or (3) at the end.
   15006    # Note that $ac_compile itself does not contain backslashes and begins
   15007    # with a dollar sign (not a hyphen), so the echo should work correctly.
   15008    lt_compile=`echo "$ac_compile" | $SED \
   15009    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   15010    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   15011    -e 's:$: $lt_compiler_flag:'`
   15012    (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
   15013    (eval "$lt_compile" 2>out/conftest.err)
   15014    ac_status=$?
   15015    cat out/conftest.err >&5
   15016    echo "$as_me:$LINENO: \$? = $ac_status" >&5
   15017    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   15018    then
   15019      # The compiler can only warn and ignore the option if not recognized
   15020      # So say no if there are warnings
   15021      $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
   15022      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   15023      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   15024        lt_cv_prog_compiler_c_o=yes
   15025      fi
   15026    fi
   15027    chmod u+w . 2>&5
   15028    $RM conftest*
   15029    # SGI C++ compiler will create directory out/ii_files/ for
   15030    # template instantiation
   15031    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   15032    $RM out/* && rmdir out
   15033    cd ..
   15034    $RM -r conftest
   15035    $RM conftest*
   15036 
   15037 fi
   15038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
   15039 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
   15040 
   15041 
   15042 
   15043 
   15044 hard_links="nottested"
   15045 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   15046   # do not overwrite the value of need_locks provided by the user
   15047   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
   15048 $as_echo_n "checking if we can lock with hard links... " >&6; }
   15049   hard_links=yes
   15050   $RM conftest*
   15051   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15052   touch conftest.a
   15053   ln conftest.a conftest.b 2>&5 || hard_links=no
   15054   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   15055   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
   15056 $as_echo "$hard_links" >&6; }
   15057   if test "$hard_links" = no; then
   15058     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   15059 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   15060     need_locks=warn
   15061   fi
   15062 else
   15063   need_locks=no
   15064 fi
   15065 
   15066 
   15067 
   15068 
   15069 
   15070 
   15071   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   15072 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
   15073 
   15074   runpath_var=
   15075   allow_undefined_flag=
   15076   always_export_symbols=no
   15077   archive_cmds=
   15078   archive_expsym_cmds=
   15079   compiler_needs_object=no
   15080   enable_shared_with_static_runtimes=no
   15081   export_dynamic_flag_spec=
   15082   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   15083   hardcode_automatic=no
   15084   hardcode_direct=no
   15085   hardcode_direct_absolute=no
   15086   hardcode_libdir_flag_spec=
   15087   hardcode_libdir_separator=
   15088   hardcode_minus_L=no
   15089   hardcode_shlibpath_var=unsupported
   15090   inherit_rpath=no
   15091   link_all_deplibs=unknown
   15092   module_cmds=
   15093   module_expsym_cmds=
   15094   old_archive_from_new_cmds=
   15095   old_archive_from_expsyms_cmds=
   15096   thread_safe_flag_spec=
   15097   whole_archive_flag_spec=
   15098   # include_expsyms should be a list of space-separated symbols to be *always*
   15099   # included in the symbol list
   15100   include_expsyms=
   15101   # exclude_expsyms can be an extended regexp of symbols to exclude
   15102   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   15103   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   15104   # as well as any symbol that contains `d'.
   15105   exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
   15106   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   15107   # platforms (ab)use it in PIC code, but their linkers get confused if
   15108   # the symbol is explicitly referenced.  Since portable code cannot
   15109   # rely on this symbol name, it's probably fine to never include it in
   15110   # preloaded symbol tables.
   15111   # Exclude shared library initialization/finalization symbols.
   15112   extract_expsyms_cmds=
   15113 
   15114   case $host_os in
   15115   cygwin* | mingw* | pw32* | cegcc*)
   15116     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   15117     # When not using gcc, we currently assume that we are using
   15118     # Microsoft Visual C++.
   15119     if test "$GCC" != yes; then
   15120       with_gnu_ld=no
   15121     fi
   15122     ;;
   15123   interix*)
   15124     # we just hope/assume this is gcc and not c89 (= MSVC++)
   15125     with_gnu_ld=yes
   15126     ;;
   15127   openbsd*)
   15128     with_gnu_ld=no
   15129     ;;
   15130   linux* | k*bsd*-gnu | gnu*)
   15131     link_all_deplibs=no
   15132     ;;
   15133   esac
   15134 
   15135   ld_shlibs=yes
   15136 
   15137   # On some targets, GNU ld is compatible enough with the native linker
   15138   # that we're better off using the native interface for both.
   15139   lt_use_gnu_ld_interface=no
   15140   if test "$with_gnu_ld" = yes; then
   15141     case $host_os in
   15142       aix*)
   15143 	# The AIX port of GNU ld has always aspired to compatibility
   15144 	# with the native linker.  However, as the warning in the GNU ld
   15145 	# block says, versions before 2.19.5* couldn't really create working
   15146 	# shared libraries, regardless of the interface used.
   15147 	case `$LD -v 2>&1` in
   15148 	  *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
   15149 	  *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
   15150 	  *\ \(GNU\ Binutils\)\ [3-9]*) ;;
   15151 	  *)
   15152 	    lt_use_gnu_ld_interface=yes
   15153 	    ;;
   15154 	esac
   15155 	;;
   15156       *)
   15157 	lt_use_gnu_ld_interface=yes
   15158 	;;
   15159     esac
   15160   fi
   15161 
   15162   if test "$lt_use_gnu_ld_interface" = yes; then
   15163     # If archive_cmds runs LD, not CC, wlarc should be empty
   15164     wlarc='${wl}'
   15165 
   15166     # Set some defaults for GNU ld with shared library support. These
   15167     # are reset later if shared libraries are not supported. Putting them
   15168     # here allows them to be overridden if necessary.
   15169     runpath_var=LD_RUN_PATH
   15170     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15171     export_dynamic_flag_spec='${wl}--export-dynamic'
   15172     # ancient GNU ld didn't support --whole-archive et. al.
   15173     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   15174       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   15175     else
   15176       whole_archive_flag_spec=
   15177     fi
   15178     supports_anon_versioning=no
   15179     case `$LD -v 2>&1` in
   15180       *GNU\ gold*) supports_anon_versioning=yes ;;
   15181       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   15182       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   15183       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   15184       *\ 2.11.*) ;; # other 2.11 versions
   15185       *) supports_anon_versioning=yes ;;
   15186     esac
   15187 
   15188     # See if GNU ld supports shared libraries.
   15189     case $host_os in
   15190     aix[3-9]*)
   15191       # On AIX/PPC, the GNU linker is very broken
   15192       if test "$host_cpu" != ia64; then
   15193 	ld_shlibs=no
   15194 	cat <<_LT_EOF 1>&2
   15195 
   15196 *** Warning: the GNU linker, at least up to release 2.19, is reported
   15197 *** to be unable to reliably create shared libraries on AIX.
   15198 *** Therefore, libtool is disabling shared libraries support.  If you
   15199 *** really care for shared libraries, you may want to install binutils
   15200 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
   15201 *** You will then need to restart the configuration process.
   15202 
   15203 _LT_EOF
   15204       fi
   15205       ;;
   15206 
   15207     amigaos*)
   15208       case $host_cpu in
   15209       powerpc)
   15210             # see comment about AmigaOS4 .so support
   15211             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15212             archive_expsym_cmds=''
   15213         ;;
   15214       m68k)
   15215             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)'
   15216             hardcode_libdir_flag_spec='-L$libdir'
   15217             hardcode_minus_L=yes
   15218         ;;
   15219       esac
   15220       ;;
   15221 
   15222     beos*)
   15223       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15224 	allow_undefined_flag=unsupported
   15225 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   15226 	# support --undefined.  This deserves some investigation.  FIXME
   15227 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15228       else
   15229 	ld_shlibs=no
   15230       fi
   15231       ;;
   15232 
   15233     cygwin* | mingw* | pw32* | cegcc*)
   15234       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   15235       # as there is no search path for DLLs.
   15236       hardcode_libdir_flag_spec='-L$libdir'
   15237       export_dynamic_flag_spec='${wl}--export-all-symbols'
   15238       allow_undefined_flag=unsupported
   15239       always_export_symbols=no
   15240       enable_shared_with_static_runtimes=yes
   15241       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'
   15242       exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
   15243 
   15244       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   15245         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15246 	# If the export-symbols file already is a .def file (1st line
   15247 	# is EXPORTS), use it as is; otherwise, prepend...
   15248 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15249 	  cp $export_symbols $output_objdir/$soname.def;
   15250 	else
   15251 	  echo EXPORTS > $output_objdir/$soname.def;
   15252 	  cat $export_symbols >> $output_objdir/$soname.def;
   15253 	fi~
   15254 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   15255       else
   15256 	ld_shlibs=no
   15257       fi
   15258       ;;
   15259 
   15260     haiku*)
   15261       archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15262       link_all_deplibs=yes
   15263       ;;
   15264 
   15265     interix[3-9]*)
   15266       hardcode_direct=no
   15267       hardcode_shlibpath_var=no
   15268       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   15269       export_dynamic_flag_spec='${wl}-E'
   15270       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   15271       # Instead, shared libraries are loaded at an image base (0x10000000 by
   15272       # default) and relocated if they conflict, which is a slow very memory
   15273       # consuming and fragmenting process.  To avoid this, we pick a random,
   15274       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   15275       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   15276       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   15277       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'
   15278       ;;
   15279 
   15280     gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
   15281       tmp_diet=no
   15282       if test "$host_os" = linux-dietlibc; then
   15283 	case $cc_basename in
   15284 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   15285 	esac
   15286       fi
   15287       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   15288 	 && test "$tmp_diet" = no
   15289       then
   15290 	tmp_addflag=' $pic_flag'
   15291 	tmp_sharedflag='-shared'
   15292 	case $cc_basename,$host_cpu in
   15293         pgcc*)				# Portland Group C compiler
   15294 	  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'
   15295 	  tmp_addflag=' $pic_flag'
   15296 	  ;;
   15297 	pgf77* | pgf90* | pgf95* | pgfortran*)
   15298 					# Portland Group f77 and f90 compilers
   15299 	  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'
   15300 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   15301 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   15302 	  tmp_addflag=' -i_dynamic' ;;
   15303 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   15304 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   15305 	ifc* | ifort*)			# Intel Fortran compiler
   15306 	  tmp_addflag=' -nofor_main' ;;
   15307 	lf95*)				# Lahey Fortran 8.1
   15308 	  whole_archive_flag_spec=
   15309 	  tmp_sharedflag='--shared' ;;
   15310 	xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
   15311 	  tmp_sharedflag='-qmkshrobj'
   15312 	  tmp_addflag= ;;
   15313 	nvcc*)	# Cuda Compiler Driver 2.2
   15314 	  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'
   15315 	  compiler_needs_object=yes
   15316 	  ;;
   15317 	esac
   15318 	case `$CC -V 2>&1 | sed 5q` in
   15319 	*Sun\ C*)			# Sun C 5.9
   15320 	  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'
   15321 	  compiler_needs_object=yes
   15322 	  tmp_sharedflag='-G' ;;
   15323 	*Sun\ F*)			# Sun Fortran 8.3
   15324 	  tmp_sharedflag='-G' ;;
   15325 	esac
   15326 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15327 
   15328         if test "x$supports_anon_versioning" = xyes; then
   15329           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15330 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15331 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   15332 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   15333         fi
   15334 
   15335 	case $cc_basename in
   15336 	xlf* | bgf* | bgxlf* | mpixlf*)
   15337 	  # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
   15338 	  whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
   15339 	  hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15340 	  archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
   15341 	  if test "x$supports_anon_versioning" = xyes; then
   15342 	    archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   15343 	      cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   15344 	      echo "local: *; };" >> $output_objdir/$libname.ver~
   15345 	      $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
   15346 	  fi
   15347 	  ;;
   15348 	esac
   15349       else
   15350         ld_shlibs=no
   15351       fi
   15352       ;;
   15353 
   15354     netbsd* | netbsdelf*-gnu)
   15355       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15356 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   15357 	wlarc=
   15358       else
   15359 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15360 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15361       fi
   15362       ;;
   15363 
   15364     solaris*)
   15365       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   15366 	ld_shlibs=no
   15367 	cat <<_LT_EOF 1>&2
   15368 
   15369 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   15370 *** create shared libraries on Solaris systems.  Therefore, libtool
   15371 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15372 *** binutils to release 2.9.1 or newer.  Another option is to modify
   15373 *** your PATH or compiler configuration so that the native linker is
   15374 *** used, and then restart.
   15375 
   15376 _LT_EOF
   15377       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15378 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15379 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15380       else
   15381 	ld_shlibs=no
   15382       fi
   15383       ;;
   15384 
   15385     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   15386       case `$LD -v 2>&1` in
   15387         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   15388 	ld_shlibs=no
   15389 	cat <<_LT_EOF 1>&2
   15390 
   15391 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   15392 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   15393 *** is disabling shared libraries support.  We urge you to upgrade GNU
   15394 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   15395 *** your PATH or compiler configuration so that the native linker is
   15396 *** used, and then restart.
   15397 
   15398 _LT_EOF
   15399 	;;
   15400 	*)
   15401 	  # For security reasons, it is highly recommended that you always
   15402 	  # use absolute paths for naming shared libraries, and exclude the
   15403 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   15404 	  # requires that you compile everything twice, which is a pain.
   15405 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15406 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15407 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15408 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15409 	  else
   15410 	    ld_shlibs=no
   15411 	  fi
   15412 	;;
   15413       esac
   15414       ;;
   15415 
   15416     sunos4*)
   15417       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15418       wlarc=
   15419       hardcode_direct=yes
   15420       hardcode_shlibpath_var=no
   15421       ;;
   15422 
   15423     *)
   15424       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   15425 	archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15426 	archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   15427       else
   15428 	ld_shlibs=no
   15429       fi
   15430       ;;
   15431     esac
   15432 
   15433     if test "$ld_shlibs" = no; then
   15434       runpath_var=
   15435       hardcode_libdir_flag_spec=
   15436       export_dynamic_flag_spec=
   15437       whole_archive_flag_spec=
   15438     fi
   15439   else
   15440     # PORTME fill in a description of your system's linker (not GNU ld)
   15441     case $host_os in
   15442     aix3*)
   15443       allow_undefined_flag=unsupported
   15444       always_export_symbols=yes
   15445       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'
   15446       # Note: this linker hardcodes the directories in LIBPATH if there
   15447       # are no directories specified by -L.
   15448       hardcode_minus_L=yes
   15449       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   15450 	# Neither direct hardcoding nor static linking is supported with a
   15451 	# broken collect2.
   15452 	hardcode_direct=unsupported
   15453       fi
   15454       ;;
   15455 
   15456     aix[4-9]*)
   15457       if test "$host_cpu" = ia64; then
   15458 	# On IA64, the linker does run time linking by default, so we don't
   15459 	# have to do anything special.
   15460 	aix_use_runtimelinking=no
   15461 	exp_sym_flag='-Bexport'
   15462 	no_entry_flag=""
   15463       else
   15464 	# If we're using GNU nm, then we don't want the "-C" option.
   15465 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   15466 	# Also, AIX nm treats weak defined symbols like other global
   15467 	# defined symbols, whereas GNU nm marks them as "W".
   15468 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   15469 	  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'
   15470 	else
   15471 	  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'
   15472 	fi
   15473 	aix_use_runtimelinking=no
   15474 
   15475 	# Test if we are trying to use run time linking or normal
   15476 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   15477 	# need to do runtime linking.
   15478 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   15479 	  for ld_flag in $LDFLAGS; do
   15480 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   15481 	    aix_use_runtimelinking=yes
   15482 	    break
   15483 	  fi
   15484 	  done
   15485 	  ;;
   15486 	esac
   15487 
   15488 	exp_sym_flag='-bexport'
   15489 	no_entry_flag='-bnoentry'
   15490       fi
   15491 
   15492       # When large executables or shared objects are built, AIX ld can
   15493       # have problems creating the table of contents.  If linking a library
   15494       # or program results in "error TOC overflow" add -mminimal-toc to
   15495       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   15496       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   15497 
   15498       archive_cmds=''
   15499       hardcode_direct=yes
   15500       hardcode_direct_absolute=yes
   15501       hardcode_libdir_separator=':'
   15502       link_all_deplibs=yes
   15503       file_list_spec='${wl}-f,'
   15504 
   15505       if test "$GCC" = yes; then
   15506 	case $host_os in aix4.[012]|aix4.[012].*)
   15507 	# We only want to do this on AIX 4.2 and lower, the check
   15508 	# below for broken collect2 doesn't work under 4.3+
   15509 	  collect2name=`${CC} -print-prog-name=collect2`
   15510 	  if test -f "$collect2name" &&
   15511 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   15512 	  then
   15513 	  # We have reworked collect2
   15514 	  :
   15515 	  else
   15516 	  # We have old collect2
   15517 	  hardcode_direct=unsupported
   15518 	  # It fails to find uninstalled libraries when the uninstalled
   15519 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   15520 	  # to unsupported forces relinking
   15521 	  hardcode_minus_L=yes
   15522 	  hardcode_libdir_flag_spec='-L$libdir'
   15523 	  hardcode_libdir_separator=
   15524 	  fi
   15525 	  ;;
   15526 	esac
   15527 	shared_flag='-shared'
   15528 	if test "$aix_use_runtimelinking" = yes; then
   15529 	  shared_flag="$shared_flag "'${wl}-G'
   15530 	fi
   15531 	link_all_deplibs=no
   15532       else
   15533 	# not using gcc
   15534 	if test "$host_cpu" = ia64; then
   15535 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   15536 	# chokes on -Wl,-G. The following line is correct:
   15537 	  shared_flag='-G'
   15538 	else
   15539 	  if test "$aix_use_runtimelinking" = yes; then
   15540 	    shared_flag='${wl}-G'
   15541 	  else
   15542 	    shared_flag='${wl}-bM:SRE'
   15543 	  fi
   15544 	fi
   15545       fi
   15546 
   15547       export_dynamic_flag_spec='${wl}-bexpall'
   15548       # It seems that -bexpall does not export symbols beginning with
   15549       # underscore (_), so it is better to generate a list of symbols to export.
   15550       always_export_symbols=yes
   15551       if test "$aix_use_runtimelinking" = yes; then
   15552 	# Warning - without using the other runtime loading flags (-brtl),
   15553 	# -berok will link without error, but may produce a broken library.
   15554 	allow_undefined_flag='-berok'
   15555         # Determine the default libpath from the value encoded in an
   15556         # empty executable.
   15557         if test "${lt_cv_aix_libpath+set}" = set; then
   15558   aix_libpath=$lt_cv_aix_libpath
   15559 else
   15560   if ${lt_cv_aix_libpath_+:} false; then :
   15561   $as_echo_n "(cached) " >&6
   15562 else
   15563   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15564 /* end confdefs.h.  */
   15565 
   15566 int
   15567 main ()
   15568 {
   15569 
   15570   ;
   15571   return 0;
   15572 }
   15573 _ACEOF
   15574 if ac_fn_c_try_link "$LINENO"; then :
   15575 
   15576   lt_aix_libpath_sed='
   15577       /Import File Strings/,/^$/ {
   15578 	  /^0/ {
   15579 	      s/^0  *\([^ ]*\) *$/\1/
   15580 	      p
   15581 	  }
   15582       }'
   15583   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15584   # Check for a 64-bit object if we didn't find anything.
   15585   if test -z "$lt_cv_aix_libpath_"; then
   15586     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15587   fi
   15588 fi
   15589 rm -f core conftest.err conftest.$ac_objext \
   15590     conftest$ac_exeext conftest.$ac_ext
   15591   if test -z "$lt_cv_aix_libpath_"; then
   15592     lt_cv_aix_libpath_="/usr/lib:/lib"
   15593   fi
   15594 
   15595 fi
   15596 
   15597   aix_libpath=$lt_cv_aix_libpath_
   15598 fi
   15599 
   15600         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15601         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"
   15602       else
   15603 	if test "$host_cpu" = ia64; then
   15604 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   15605 	  allow_undefined_flag="-z nodefs"
   15606 	  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"
   15607 	else
   15608 	 # Determine the default libpath from the value encoded in an
   15609 	 # empty executable.
   15610 	 if test "${lt_cv_aix_libpath+set}" = set; then
   15611   aix_libpath=$lt_cv_aix_libpath
   15612 else
   15613   if ${lt_cv_aix_libpath_+:} false; then :
   15614   $as_echo_n "(cached) " >&6
   15615 else
   15616   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15617 /* end confdefs.h.  */
   15618 
   15619 int
   15620 main ()
   15621 {
   15622 
   15623   ;
   15624   return 0;
   15625 }
   15626 _ACEOF
   15627 if ac_fn_c_try_link "$LINENO"; then :
   15628 
   15629   lt_aix_libpath_sed='
   15630       /Import File Strings/,/^$/ {
   15631 	  /^0/ {
   15632 	      s/^0  *\([^ ]*\) *$/\1/
   15633 	      p
   15634 	  }
   15635       }'
   15636   lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15637   # Check for a 64-bit object if we didn't find anything.
   15638   if test -z "$lt_cv_aix_libpath_"; then
   15639     lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   15640   fi
   15641 fi
   15642 rm -f core conftest.err conftest.$ac_objext \
   15643     conftest$ac_exeext conftest.$ac_ext
   15644   if test -z "$lt_cv_aix_libpath_"; then
   15645     lt_cv_aix_libpath_="/usr/lib:/lib"
   15646   fi
   15647 
   15648 fi
   15649 
   15650   aix_libpath=$lt_cv_aix_libpath_
   15651 fi
   15652 
   15653 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   15654 	  # Warning - without using the other run time loading flags,
   15655 	  # -berok will link without error, but may produce a broken library.
   15656 	  no_undefined_flag=' ${wl}-bernotok'
   15657 	  allow_undefined_flag=' ${wl}-berok'
   15658 	  if test "$with_gnu_ld" = yes; then
   15659 	    # We only use this code for GNU lds that support --whole-archive.
   15660 	    whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
   15661 	  else
   15662 	    # Exported symbols can be pulled into shared objects from archives
   15663 	    whole_archive_flag_spec='$convenience'
   15664 	  fi
   15665 	  archive_cmds_need_lc=yes
   15666 	  # This is similar to how AIX traditionally builds its shared libraries.
   15667 	  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'
   15668 	fi
   15669       fi
   15670       ;;
   15671 
   15672     amigaos*)
   15673       case $host_cpu in
   15674       powerpc)
   15675             # see comment about AmigaOS4 .so support
   15676             archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   15677             archive_expsym_cmds=''
   15678         ;;
   15679       m68k)
   15680             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)'
   15681             hardcode_libdir_flag_spec='-L$libdir'
   15682             hardcode_minus_L=yes
   15683         ;;
   15684       esac
   15685       ;;
   15686 
   15687     bsdi[45]*)
   15688       export_dynamic_flag_spec=-rdynamic
   15689       ;;
   15690 
   15691     cygwin* | mingw* | pw32* | cegcc*)
   15692       # When not using gcc, we currently assume that we are using
   15693       # Microsoft Visual C++.
   15694       # hardcode_libdir_flag_spec is actually meaningless, as there is
   15695       # no search path for DLLs.
   15696       case $cc_basename in
   15697       cl*)
   15698 	# Native MSVC
   15699 	hardcode_libdir_flag_spec=' '
   15700 	allow_undefined_flag=unsupported
   15701 	always_export_symbols=yes
   15702 	file_list_spec='@'
   15703 	# Tell ltmain to make .lib files, not .a files.
   15704 	libext=lib
   15705 	# Tell ltmain to make .dll files, not .so files.
   15706 	shrext_cmds=".dll"
   15707 	# FIXME: Setting linknames here is a bad hack.
   15708 	archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
   15709 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   15710 	    sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
   15711 	  else
   15712 	    sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
   15713 	  fi~
   15714 	  $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
   15715 	  linknames='
   15716 	# The linker will not automatically build a static lib if we build a DLL.
   15717 	# _LT_TAGVAR(old_archive_from_new_cmds, )='true'
   15718 	enable_shared_with_static_runtimes=yes
   15719 	exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
   15720 	export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   15721 	# Don't use ranlib
   15722 	old_postinstall_cmds='chmod 644 $oldlib'
   15723 	postlink_cmds='lt_outputfile="@OUTPUT@"~
   15724 	  lt_tool_outputfile="@TOOL_OUTPUT@"~
   15725 	  case $lt_outputfile in
   15726 	    *.exe|*.EXE) ;;
   15727 	    *)
   15728 	      lt_outputfile="$lt_outputfile.exe"
   15729 	      lt_tool_outputfile="$lt_tool_outputfile.exe"
   15730 	      ;;
   15731 	  esac~
   15732 	  if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
   15733 	    $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
   15734 	    $RM "$lt_outputfile.manifest";
   15735 	  fi'
   15736 	;;
   15737       *)
   15738 	# Assume MSVC wrapper
   15739 	hardcode_libdir_flag_spec=' '
   15740 	allow_undefined_flag=unsupported
   15741 	# Tell ltmain to make .lib files, not .a files.
   15742 	libext=lib
   15743 	# Tell ltmain to make .dll files, not .so files.
   15744 	shrext_cmds=".dll"
   15745 	# FIXME: Setting linknames here is a bad hack.
   15746 	archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
   15747 	# The linker will automatically build a .lib file if we build a DLL.
   15748 	old_archive_from_new_cmds='true'
   15749 	# FIXME: Should let the user specify the lib program.
   15750 	old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   15751 	enable_shared_with_static_runtimes=yes
   15752 	;;
   15753       esac
   15754       ;;
   15755 
   15756     darwin* | rhapsody*)
   15757 
   15758 
   15759   archive_cmds_need_lc=no
   15760   hardcode_direct=no
   15761   hardcode_automatic=yes
   15762   hardcode_shlibpath_var=unsupported
   15763   if test "$lt_cv_ld_force_load" = "yes"; then
   15764     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\"`'
   15765 
   15766   else
   15767     whole_archive_flag_spec=''
   15768   fi
   15769   link_all_deplibs=yes
   15770   allow_undefined_flag="$_lt_dar_allow_undefined"
   15771   case $cc_basename in
   15772      ifort*) _lt_dar_can_shared=yes ;;
   15773      *) _lt_dar_can_shared=$GCC ;;
   15774   esac
   15775   if test "$_lt_dar_can_shared" = "yes"; then
   15776     output_verbose_link_cmd=func_echo_all
   15777     archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
   15778     module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
   15779     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}"
   15780     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}"
   15781 
   15782   else
   15783   ld_shlibs=no
   15784   fi
   15785 
   15786       ;;
   15787 
   15788     dgux*)
   15789       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15790       hardcode_libdir_flag_spec='-L$libdir'
   15791       hardcode_shlibpath_var=no
   15792       ;;
   15793 
   15794     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   15795     # support.  Future versions do this automatically, but an explicit c++rt0.o
   15796     # does not break anything, and helps significantly (at the cost of a little
   15797     # extra space).
   15798     freebsd2.2*)
   15799       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   15800       hardcode_libdir_flag_spec='-R$libdir'
   15801       hardcode_direct=yes
   15802       hardcode_shlibpath_var=no
   15803       ;;
   15804 
   15805     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   15806     freebsd2.*)
   15807       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   15808       hardcode_direct=yes
   15809       hardcode_minus_L=yes
   15810       hardcode_shlibpath_var=no
   15811       ;;
   15812 
   15813     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   15814     freebsd* | dragonfly*)
   15815       archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   15816       hardcode_libdir_flag_spec='-R$libdir'
   15817       hardcode_direct=yes
   15818       hardcode_shlibpath_var=no
   15819       ;;
   15820 
   15821     hpux9*)
   15822       if test "$GCC" = yes; then
   15823 	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'
   15824       else
   15825 	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'
   15826       fi
   15827       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15828       hardcode_libdir_separator=:
   15829       hardcode_direct=yes
   15830 
   15831       # hardcode_minus_L: Not really in the search PATH,
   15832       # but as the default location of the library.
   15833       hardcode_minus_L=yes
   15834       export_dynamic_flag_spec='${wl}-E'
   15835       ;;
   15836 
   15837     hpux10*)
   15838       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15839 	archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15840       else
   15841 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15842       fi
   15843       if test "$with_gnu_ld" = no; then
   15844 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15845 	hardcode_libdir_separator=:
   15846 	hardcode_direct=yes
   15847 	hardcode_direct_absolute=yes
   15848 	export_dynamic_flag_spec='${wl}-E'
   15849 	# hardcode_minus_L: Not really in the search PATH,
   15850 	# but as the default location of the library.
   15851 	hardcode_minus_L=yes
   15852       fi
   15853       ;;
   15854 
   15855     hpux11*)
   15856       if test "$GCC" = yes && test "$with_gnu_ld" = no; then
   15857 	case $host_cpu in
   15858 	hppa*64*)
   15859 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15860 	  ;;
   15861 	ia64*)
   15862 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15863 	  ;;
   15864 	*)
   15865 	  archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15866 	  ;;
   15867 	esac
   15868       else
   15869 	case $host_cpu in
   15870 	hppa*64*)
   15871 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   15872 	  ;;
   15873 	ia64*)
   15874 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   15875 	  ;;
   15876 	*)
   15877 
   15878 	  # Older versions of the 11.00 compiler do not understand -b yet
   15879 	  # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
   15880 	  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
   15881 $as_echo_n "checking if $CC understands -b... " >&6; }
   15882 if ${lt_cv_prog_compiler__b+:} false; then :
   15883   $as_echo_n "(cached) " >&6
   15884 else
   15885   lt_cv_prog_compiler__b=no
   15886    save_LDFLAGS="$LDFLAGS"
   15887    LDFLAGS="$LDFLAGS -b"
   15888    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   15889    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   15890      # The linker can only warn and ignore the option if not recognized
   15891      # So say no if there are warnings
   15892      if test -s conftest.err; then
   15893        # Append any errors to the config.log.
   15894        cat conftest.err 1>&5
   15895        $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
   15896        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   15897        if diff conftest.exp conftest.er2 >/dev/null; then
   15898          lt_cv_prog_compiler__b=yes
   15899        fi
   15900      else
   15901        lt_cv_prog_compiler__b=yes
   15902      fi
   15903    fi
   15904    $RM -r conftest*
   15905    LDFLAGS="$save_LDFLAGS"
   15906 
   15907 fi
   15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
   15909 $as_echo "$lt_cv_prog_compiler__b" >&6; }
   15910 
   15911 if test x"$lt_cv_prog_compiler__b" = xyes; then
   15912     archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   15913 else
   15914     archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   15915 fi
   15916 
   15917 	  ;;
   15918 	esac
   15919       fi
   15920       if test "$with_gnu_ld" = no; then
   15921 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   15922 	hardcode_libdir_separator=:
   15923 
   15924 	case $host_cpu in
   15925 	hppa*64*|ia64*)
   15926 	  hardcode_direct=no
   15927 	  hardcode_shlibpath_var=no
   15928 	  ;;
   15929 	*)
   15930 	  hardcode_direct=yes
   15931 	  hardcode_direct_absolute=yes
   15932 	  export_dynamic_flag_spec='${wl}-E'
   15933 
   15934 	  # hardcode_minus_L: Not really in the search PATH,
   15935 	  # but as the default location of the library.
   15936 	  hardcode_minus_L=yes
   15937 	  ;;
   15938 	esac
   15939       fi
   15940       ;;
   15941 
   15942     irix5* | irix6* | nonstopux*)
   15943       if test "$GCC" = yes; then
   15944 	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'
   15945 	# Try to use the -exported_symbol ld option, if it does not
   15946 	# work, assume that -exports_file does not work either and
   15947 	# implicitly export all symbols.
   15948 	# This should be the same for all languages, so no per-tag cache variable.
   15949 	{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
   15950 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
   15951 if ${lt_cv_irix_exported_symbol+:} false; then :
   15952   $as_echo_n "(cached) " >&6
   15953 else
   15954   save_LDFLAGS="$LDFLAGS"
   15955 	   LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   15956 	   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   15957 /* end confdefs.h.  */
   15958 int foo (void) { return 0; }
   15959 _ACEOF
   15960 if ac_fn_c_try_link "$LINENO"; then :
   15961   lt_cv_irix_exported_symbol=yes
   15962 else
   15963   lt_cv_irix_exported_symbol=no
   15964 fi
   15965 rm -f core conftest.err conftest.$ac_objext \
   15966     conftest$ac_exeext conftest.$ac_ext
   15967            LDFLAGS="$save_LDFLAGS"
   15968 fi
   15969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
   15970 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
   15971 	if test "$lt_cv_irix_exported_symbol" = yes; then
   15972           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'
   15973 	fi
   15974       else
   15975 	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'
   15976 	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'
   15977       fi
   15978       archive_cmds_need_lc='no'
   15979       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   15980       hardcode_libdir_separator=:
   15981       inherit_rpath=yes
   15982       link_all_deplibs=yes
   15983       ;;
   15984 
   15985     netbsd* | netbsdelf*-gnu)
   15986       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   15987 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   15988       else
   15989 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   15990       fi
   15991       hardcode_libdir_flag_spec='-R$libdir'
   15992       hardcode_direct=yes
   15993       hardcode_shlibpath_var=no
   15994       ;;
   15995 
   15996     newsos6)
   15997       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   15998       hardcode_direct=yes
   15999       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   16000       hardcode_libdir_separator=:
   16001       hardcode_shlibpath_var=no
   16002       ;;
   16003 
   16004     *nto* | *qnx*)
   16005       ;;
   16006 
   16007     openbsd*)
   16008       if test -f /usr/libexec/ld.so; then
   16009 	hardcode_direct=yes
   16010 	hardcode_shlibpath_var=no
   16011 	hardcode_direct_absolute=yes
   16012 	if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   16013 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16014 	  archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   16015 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   16016 	  export_dynamic_flag_spec='${wl}-E'
   16017 	else
   16018 	  case $host_os in
   16019 	   openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   16020 	     archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   16021 	     hardcode_libdir_flag_spec='-R$libdir'
   16022 	     ;;
   16023 	   *)
   16024 	     archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   16025 	     hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   16026 	     ;;
   16027 	  esac
   16028 	fi
   16029       else
   16030 	ld_shlibs=no
   16031       fi
   16032       ;;
   16033 
   16034     os2*)
   16035       hardcode_libdir_flag_spec='-L$libdir'
   16036       hardcode_minus_L=yes
   16037       allow_undefined_flag=unsupported
   16038       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'
   16039       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   16040       ;;
   16041 
   16042     osf3*)
   16043       if test "$GCC" = yes; then
   16044 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   16045 	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'
   16046       else
   16047 	allow_undefined_flag=' -expect_unresolved \*'
   16048 	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'
   16049       fi
   16050       archive_cmds_need_lc='no'
   16051       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   16052       hardcode_libdir_separator=:
   16053       ;;
   16054 
   16055     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   16056       if test "$GCC" = yes; then
   16057 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   16058 	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'
   16059 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   16060       else
   16061 	allow_undefined_flag=' -expect_unresolved \*'
   16062 	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'
   16063 	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~
   16064 	$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'
   16065 
   16066 	# Both c and cxx compiler support -rpath directly
   16067 	hardcode_libdir_flag_spec='-rpath $libdir'
   16068       fi
   16069       archive_cmds_need_lc='no'
   16070       hardcode_libdir_separator=:
   16071       ;;
   16072 
   16073     solaris*)
   16074       no_undefined_flag=' -z defs'
   16075       if test "$GCC" = yes; then
   16076 	wlarc='${wl}'
   16077 	archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   16078 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16079 	  $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'
   16080       else
   16081 	case `$CC -V 2>&1` in
   16082 	*"Compilers 5.0"*)
   16083 	  wlarc=''
   16084 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16085 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16086 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   16087 	  ;;
   16088 	*)
   16089 	  wlarc='${wl}'
   16090 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16091 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   16092 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   16093 	  ;;
   16094 	esac
   16095       fi
   16096       hardcode_libdir_flag_spec='-R$libdir'
   16097       hardcode_shlibpath_var=no
   16098       case $host_os in
   16099       solaris2.[0-5] | solaris2.[0-5].*) ;;
   16100       *)
   16101 	# The compiler driver will combine and reorder linker options,
   16102 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   16103 	# but is careful enough not to reorder.
   16104 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   16105 	if test "$GCC" = yes; then
   16106 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   16107 	else
   16108 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   16109 	fi
   16110 	;;
   16111       esac
   16112       link_all_deplibs=yes
   16113       ;;
   16114 
   16115     sunos4*)
   16116       if test "x$host_vendor" = xsequent; then
   16117 	# Use $CC to link under sequent, because it throws in some extra .o
   16118 	# files that make .init and .fini sections work.
   16119 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   16120       else
   16121 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   16122       fi
   16123       hardcode_libdir_flag_spec='-L$libdir'
   16124       hardcode_direct=yes
   16125       hardcode_minus_L=yes
   16126       hardcode_shlibpath_var=no
   16127       ;;
   16128 
   16129     sysv4)
   16130       case $host_vendor in
   16131 	sni)
   16132 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16133 	  hardcode_direct=yes # is this really true???
   16134 	;;
   16135 	siemens)
   16136 	  ## LD is ld it makes a PLAMLIB
   16137 	  ## CC just makes a GrossModule.
   16138 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   16139 	  reload_cmds='$CC -r -o $output$reload_objs'
   16140 	  hardcode_direct=no
   16141         ;;
   16142 	motorola)
   16143 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16144 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   16145 	;;
   16146       esac
   16147       runpath_var='LD_RUN_PATH'
   16148       hardcode_shlibpath_var=no
   16149       ;;
   16150 
   16151     sysv4.3*)
   16152       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16153       hardcode_shlibpath_var=no
   16154       export_dynamic_flag_spec='-Bexport'
   16155       ;;
   16156 
   16157     sysv4*MP*)
   16158       if test -d /usr/nec; then
   16159 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16160 	hardcode_shlibpath_var=no
   16161 	runpath_var=LD_RUN_PATH
   16162 	hardcode_runpath_var=yes
   16163 	ld_shlibs=yes
   16164       fi
   16165       ;;
   16166 
   16167     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   16168       no_undefined_flag='${wl}-z,text'
   16169       archive_cmds_need_lc=no
   16170       hardcode_shlibpath_var=no
   16171       runpath_var='LD_RUN_PATH'
   16172 
   16173       if test "$GCC" = yes; then
   16174 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16175 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16176       else
   16177 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16178 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16179       fi
   16180       ;;
   16181 
   16182     sysv5* | sco3.2v5* | sco5v6*)
   16183       # Note: We can NOT use -z defs as we might desire, because we do not
   16184       # link with -lc, and that would cause any symbols used from libc to
   16185       # always be unresolved, which means just about no library would
   16186       # ever link correctly.  If we're not using GNU ld we use -z text
   16187       # though, which does catch some bad symbols but isn't as heavy-handed
   16188       # as -z defs.
   16189       no_undefined_flag='${wl}-z,text'
   16190       allow_undefined_flag='${wl}-z,nodefs'
   16191       archive_cmds_need_lc=no
   16192       hardcode_shlibpath_var=no
   16193       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   16194       hardcode_libdir_separator=':'
   16195       link_all_deplibs=yes
   16196       export_dynamic_flag_spec='${wl}-Bexport'
   16197       runpath_var='LD_RUN_PATH'
   16198 
   16199       if test "$GCC" = yes; then
   16200 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16201 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16202       else
   16203 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16204 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   16205       fi
   16206       ;;
   16207 
   16208     uts4*)
   16209       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   16210       hardcode_libdir_flag_spec='-L$libdir'
   16211       hardcode_shlibpath_var=no
   16212       ;;
   16213 
   16214     *)
   16215       ld_shlibs=no
   16216       ;;
   16217     esac
   16218 
   16219     if test x$host_vendor = xsni; then
   16220       case $host in
   16221       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   16222 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   16223 	;;
   16224       esac
   16225     fi
   16226   fi
   16227 
   16228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
   16229 $as_echo "$ld_shlibs" >&6; }
   16230 test "$ld_shlibs" = no && can_build_shared=no
   16231 
   16232 with_gnu_ld=$with_gnu_ld
   16233 
   16234 
   16235 
   16236 
   16237 
   16238 
   16239 
   16240 
   16241 
   16242 
   16243 
   16244 
   16245 
   16246 
   16247 
   16248 #
   16249 # Do we need to explicitly link libc?
   16250 #
   16251 case "x$archive_cmds_need_lc" in
   16252 x|xyes)
   16253   # Assume -lc should be added
   16254   archive_cmds_need_lc=yes
   16255 
   16256   if test "$enable_shared" = yes && test "$GCC" = yes; then
   16257     case $archive_cmds in
   16258     *'~'*)
   16259       # FIXME: we may have to deal with multi-command sequences.
   16260       ;;
   16261     '$CC '*)
   16262       # Test whether the compiler implicitly links with -lc since on some
   16263       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   16264       # to ld, don't add -lc before -lgcc.
   16265       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
   16266 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
   16267 if ${lt_cv_archive_cmds_need_lc+:} false; then :
   16268   $as_echo_n "(cached) " >&6
   16269 else
   16270   $RM conftest*
   16271 	echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   16272 
   16273 	if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
   16274   (eval $ac_compile) 2>&5
   16275   ac_status=$?
   16276   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16277   test $ac_status = 0; } 2>conftest.err; then
   16278 	  soname=conftest
   16279 	  lib=conftest
   16280 	  libobjs=conftest.$ac_objext
   16281 	  deplibs=
   16282 	  wl=$lt_prog_compiler_wl
   16283 	  pic_flag=$lt_prog_compiler_pic
   16284 	  compiler_flags=-v
   16285 	  linker_flags=-v
   16286 	  verstring=
   16287 	  output_objdir=.
   16288 	  libname=conftest
   16289 	  lt_save_allow_undefined_flag=$allow_undefined_flag
   16290 	  allow_undefined_flag=
   16291 	  if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
   16292   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   16293   ac_status=$?
   16294   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   16295   test $ac_status = 0; }
   16296 	  then
   16297 	    lt_cv_archive_cmds_need_lc=no
   16298 	  else
   16299 	    lt_cv_archive_cmds_need_lc=yes
   16300 	  fi
   16301 	  allow_undefined_flag=$lt_save_allow_undefined_flag
   16302 	else
   16303 	  cat conftest.err 1>&5
   16304 	fi
   16305 	$RM conftest*
   16306 
   16307 fi
   16308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
   16309 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
   16310       archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
   16311       ;;
   16312     esac
   16313   fi
   16314   ;;
   16315 esac
   16316 
   16317 
   16318 
   16319 
   16320 
   16321 
   16322 
   16323 
   16324 
   16325 
   16326 
   16327 
   16328 
   16329 
   16330 
   16331 
   16332 
   16333 
   16334 
   16335 
   16336 
   16337 
   16338 
   16339 
   16340 
   16341 
   16342 
   16343 
   16344 
   16345 
   16346 
   16347 
   16348 
   16349 
   16350 
   16351 
   16352 
   16353 
   16354 
   16355 
   16356 
   16357 
   16358 
   16359 
   16360 
   16361 
   16362 
   16363 
   16364 
   16365 
   16366 
   16367 
   16368 
   16369 
   16370 
   16371 
   16372 
   16373 
   16374 
   16375 
   16376 
   16377 
   16378 
   16379 
   16380 
   16381 
   16382 
   16383 
   16384 
   16385 
   16386 
   16387 
   16388 
   16389 
   16390 
   16391 
   16392 
   16393 
   16394 
   16395 
   16396 
   16397 
   16398 
   16399 
   16400 
   16401 
   16402 
   16403 
   16404 
   16405 
   16406 
   16407 
   16408 
   16409 
   16410 
   16411 
   16412 
   16413 
   16414 
   16415 
   16416 
   16417 
   16418 
   16419 
   16420 
   16421 
   16422 
   16423 
   16424 
   16425 
   16426 
   16427 
   16428 
   16429 
   16430 
   16431 
   16432 
   16433 
   16434 
   16435 
   16436 
   16437 
   16438 
   16439 
   16440 
   16441 
   16442 
   16443 
   16444 
   16445 
   16446 
   16447 
   16448 
   16449 
   16450 
   16451 
   16452 
   16453 
   16454 
   16455 
   16456 
   16457 
   16458 
   16459 
   16460 
   16461 
   16462 
   16463 
   16464 
   16465 
   16466 
   16467 
   16468   { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
   16469 $as_echo_n "checking dynamic linker characteristics... " >&6; }
   16470 
   16471 if test "$GCC" = yes; then
   16472   case $host_os in
   16473     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   16474     *) lt_awk_arg="/^libraries:/" ;;
   16475   esac
   16476   case $host_os in
   16477     mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
   16478     *) lt_sed_strip_eq="s,=/,/,g" ;;
   16479   esac
   16480   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
   16481   case $lt_search_path_spec in
   16482   *\;*)
   16483     # if the path contains ";" then we assume it to be the separator
   16484     # otherwise default to the standard path separator (i.e. ":") - it is
   16485     # assumed that no part of a normal pathname contains ";" but that should
   16486     # okay in the real world where ";" in dirpaths is itself problematic.
   16487     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
   16488     ;;
   16489   *)
   16490     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
   16491     ;;
   16492   esac
   16493   # Ok, now we have the path, separated by spaces, we can step through it
   16494   # and add multilib dir if necessary.
   16495   lt_tmp_lt_search_path_spec=
   16496   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   16497   for lt_sys_path in $lt_search_path_spec; do
   16498     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   16499       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   16500     else
   16501       test -d "$lt_sys_path" && \
   16502 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   16503     fi
   16504   done
   16505   lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
   16506 BEGIN {RS=" "; FS="/|\n";} {
   16507   lt_foo="";
   16508   lt_count=0;
   16509   for (lt_i = NF; lt_i > 0; lt_i--) {
   16510     if ($lt_i != "" && $lt_i != ".") {
   16511       if ($lt_i == "..") {
   16512         lt_count++;
   16513       } else {
   16514         if (lt_count == 0) {
   16515           lt_foo="/" $lt_i lt_foo;
   16516         } else {
   16517           lt_count--;
   16518         }
   16519       }
   16520     }
   16521   }
   16522   if (lt_foo != "") { lt_freq[lt_foo]++; }
   16523   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   16524 }'`
   16525   # AWK program above erroneously prepends '/' to C:/dos/paths
   16526   # for these hosts.
   16527   case $host_os in
   16528     mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
   16529       $SED 's,/\([A-Za-z]:\),\1,g'` ;;
   16530   esac
   16531   sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
   16532 else
   16533   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   16534 fi
   16535 library_names_spec=
   16536 libname_spec='lib$name'
   16537 soname_spec=
   16538 shrext_cmds=".so"
   16539 postinstall_cmds=
   16540 postuninstall_cmds=
   16541 finish_cmds=
   16542 finish_eval=
   16543 shlibpath_var=
   16544 shlibpath_overrides_runpath=unknown
   16545 version_type=none
   16546 dynamic_linker="$host_os ld.so"
   16547 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   16548 need_lib_prefix=unknown
   16549 hardcode_into_libs=no
   16550 
   16551 # when you set need_version to no, make sure it does not cause -set_version
   16552 # flags to be left without arguments
   16553 need_version=unknown
   16554 
   16555 case $host_os in
   16556 aix3*)
   16557   version_type=linux # correct to gnu/linux during the next big refactor
   16558   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   16559   shlibpath_var=LIBPATH
   16560 
   16561   # AIX 3 has no versioning support, so we append a major version to the name.
   16562   soname_spec='${libname}${release}${shared_ext}$major'
   16563   ;;
   16564 
   16565 aix[4-9]*)
   16566   version_type=linux # correct to gnu/linux during the next big refactor
   16567   need_lib_prefix=no
   16568   need_version=no
   16569   hardcode_into_libs=yes
   16570   if test "$host_cpu" = ia64; then
   16571     # AIX 5 supports IA64
   16572     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   16573     shlibpath_var=LD_LIBRARY_PATH
   16574   else
   16575     # With GCC up to 2.95.x, collect2 would create an import file
   16576     # for dependence libraries.  The import file would start with
   16577     # the line `#! .'.  This would cause the generated library to
   16578     # depend on `.', always an invalid library.  This was fixed in
   16579     # development snapshots of GCC prior to 3.0.
   16580     case $host_os in
   16581       aix4 | aix4.[01] | aix4.[01].*)
   16582       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   16583 	   echo ' yes '
   16584 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   16585 	:
   16586       else
   16587 	can_build_shared=no
   16588       fi
   16589       ;;
   16590     esac
   16591     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   16592     # soname into executable. Probably we can add versioning support to
   16593     # collect2, so additional links can be useful in future.
   16594     if test "$aix_use_runtimelinking" = yes; then
   16595       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   16596       # instead of lib<name>.a to let people know that these are not
   16597       # typical AIX shared libraries.
   16598       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16599     else
   16600       # We preserve .a as extension for shared libraries through AIX4.2
   16601       # and later when we are not doing run time linking.
   16602       library_names_spec='${libname}${release}.a $libname.a'
   16603       soname_spec='${libname}${release}${shared_ext}$major'
   16604     fi
   16605     shlibpath_var=LIBPATH
   16606   fi
   16607   ;;
   16608 
   16609 amigaos*)
   16610   case $host_cpu in
   16611   powerpc)
   16612     # Since July 2007 AmigaOS4 officially supports .so libraries.
   16613     # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
   16614     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16615     ;;
   16616   m68k)
   16617     library_names_spec='$libname.ixlibrary $libname.a'
   16618     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   16619     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'
   16620     ;;
   16621   esac
   16622   ;;
   16623 
   16624 beos*)
   16625   library_names_spec='${libname}${shared_ext}'
   16626   dynamic_linker="$host_os ld.so"
   16627   shlibpath_var=LIBRARY_PATH
   16628   ;;
   16629 
   16630 bsdi[45]*)
   16631   version_type=linux # correct to gnu/linux during the next big refactor
   16632   need_version=no
   16633   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16634   soname_spec='${libname}${release}${shared_ext}$major'
   16635   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   16636   shlibpath_var=LD_LIBRARY_PATH
   16637   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   16638   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   16639   # the default ld.so.conf also contains /usr/contrib/lib and
   16640   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   16641   # libtool to hard-code these into programs
   16642   ;;
   16643 
   16644 cygwin* | mingw* | pw32* | cegcc*)
   16645   version_type=windows
   16646   shrext_cmds=".dll"
   16647   need_version=no
   16648   need_lib_prefix=no
   16649 
   16650   case $GCC,$cc_basename in
   16651   yes,*)
   16652     # gcc
   16653     library_names_spec='$libname.dll.a'
   16654     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16655     postinstall_cmds='base_file=`basename \${file}`~
   16656       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16657       dldir=$destdir/`dirname \$dlpath`~
   16658       test -d \$dldir || mkdir -p \$dldir~
   16659       $install_prog $dir/$dlname \$dldir/$dlname~
   16660       chmod a+x \$dldir/$dlname~
   16661       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   16662         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   16663       fi'
   16664     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16665       dlpath=$dir/\$dldll~
   16666        $RM \$dlpath'
   16667     shlibpath_overrides_runpath=yes
   16668 
   16669     case $host_os in
   16670     cygwin*)
   16671       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   16672       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16673 
   16674       sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
   16675       ;;
   16676     mingw* | cegcc*)
   16677       # MinGW DLLs use traditional 'lib' prefix
   16678       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16679       ;;
   16680     pw32*)
   16681       # pw32 DLLs use 'pw' prefix rather than 'lib'
   16682       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16683       ;;
   16684     esac
   16685     dynamic_linker='Win32 ld.exe'
   16686     ;;
   16687 
   16688   *,cl*)
   16689     # Native MSVC
   16690     libname_spec='$name'
   16691     soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   16692     library_names_spec='${libname}.dll.lib'
   16693 
   16694     case $build_os in
   16695     mingw*)
   16696       sys_lib_search_path_spec=
   16697       lt_save_ifs=$IFS
   16698       IFS=';'
   16699       for lt_path in $LIB
   16700       do
   16701         IFS=$lt_save_ifs
   16702         # Let DOS variable expansion print the short 8.3 style file name.
   16703         lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
   16704         sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
   16705       done
   16706       IFS=$lt_save_ifs
   16707       # Convert to MSYS style.
   16708       sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
   16709       ;;
   16710     cygwin*)
   16711       # Convert to unix form, then to dos form, then back to unix form
   16712       # but this time dos style (no spaces!) so that the unix form looks
   16713       # like /cygdrive/c/PROGRA~1:/cygdr...
   16714       sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
   16715       sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
   16716       sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16717       ;;
   16718     *)
   16719       sys_lib_search_path_spec="$LIB"
   16720       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   16721         # It is most probably a Windows format PATH.
   16722         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   16723       else
   16724         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
   16725       fi
   16726       # FIXME: find the short name or the path components, as spaces are
   16727       # common. (e.g. "Program Files" -> "PROGRA~1")
   16728       ;;
   16729     esac
   16730 
   16731     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   16732     postinstall_cmds='base_file=`basename \${file}`~
   16733       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   16734       dldir=$destdir/`dirname \$dlpath`~
   16735       test -d \$dldir || mkdir -p \$dldir~
   16736       $install_prog $dir/$dlname \$dldir/$dlname'
   16737     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   16738       dlpath=$dir/\$dldll~
   16739        $RM \$dlpath'
   16740     shlibpath_overrides_runpath=yes
   16741     dynamic_linker='Win32 link.exe'
   16742     ;;
   16743 
   16744   *)
   16745     # Assume MSVC wrapper
   16746     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   16747     dynamic_linker='Win32 ld.exe'
   16748     ;;
   16749   esac
   16750   # FIXME: first we should search . and the directory the executable is in
   16751   shlibpath_var=PATH
   16752   ;;
   16753 
   16754 darwin* | rhapsody*)
   16755   dynamic_linker="$host_os dyld"
   16756   version_type=darwin
   16757   need_lib_prefix=no
   16758   need_version=no
   16759   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   16760   soname_spec='${libname}${release}${major}$shared_ext'
   16761   shlibpath_overrides_runpath=yes
   16762   shlibpath_var=DYLD_LIBRARY_PATH
   16763   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   16764 
   16765   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   16766   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   16767   ;;
   16768 
   16769 dgux*)
   16770   version_type=linux # correct to gnu/linux during the next big refactor
   16771   need_lib_prefix=no
   16772   need_version=no
   16773   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   16774   soname_spec='${libname}${release}${shared_ext}$major'
   16775   shlibpath_var=LD_LIBRARY_PATH
   16776   ;;
   16777 
   16778 freebsd* | dragonfly*)
   16779   # DragonFly does not have aout.  When/if they implement a new
   16780   # versioning mechanism, adjust this.
   16781   if test -x /usr/bin/objformat; then
   16782     objformat=`/usr/bin/objformat`
   16783   else
   16784     case $host_os in
   16785     freebsd[23].*) objformat=aout ;;
   16786     *) objformat=elf ;;
   16787     esac
   16788   fi
   16789   version_type=freebsd-$objformat
   16790   case $version_type in
   16791     freebsd-elf*)
   16792       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   16793       need_version=no
   16794       need_lib_prefix=no
   16795       ;;
   16796     freebsd-*)
   16797       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   16798       need_version=yes
   16799       ;;
   16800   esac
   16801   shlibpath_var=LD_LIBRARY_PATH
   16802   case $host_os in
   16803   freebsd2.*)
   16804     shlibpath_overrides_runpath=yes
   16805     ;;
   16806   freebsd3.[01]* | freebsdelf3.[01]*)
   16807     shlibpath_overrides_runpath=yes
   16808     hardcode_into_libs=yes
   16809     ;;
   16810   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   16811   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   16812     shlibpath_overrides_runpath=no
   16813     hardcode_into_libs=yes
   16814     ;;
   16815   *) # from 4.6 on, and DragonFly
   16816     shlibpath_overrides_runpath=yes
   16817     hardcode_into_libs=yes
   16818     ;;
   16819   esac
   16820   ;;
   16821 
   16822 haiku*)
   16823   version_type=linux # correct to gnu/linux during the next big refactor
   16824   need_lib_prefix=no
   16825   need_version=no
   16826   dynamic_linker="$host_os runtime_loader"
   16827   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   16828   soname_spec='${libname}${release}${shared_ext}$major'
   16829   shlibpath_var=LIBRARY_PATH
   16830   shlibpath_overrides_runpath=yes
   16831   sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
   16832   hardcode_into_libs=yes
   16833   ;;
   16834 
   16835 hpux9* | hpux10* | hpux11*)
   16836   # Give a soname corresponding to the major version so that dld.sl refuses to
   16837   # link against other versions.
   16838   version_type=sunos
   16839   need_lib_prefix=no
   16840   need_version=no
   16841   case $host_cpu in
   16842   ia64*)
   16843     shrext_cmds='.so'
   16844     hardcode_into_libs=yes
   16845     dynamic_linker="$host_os dld.so"
   16846     shlibpath_var=LD_LIBRARY_PATH
   16847     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16848     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16849     soname_spec='${libname}${release}${shared_ext}$major'
   16850     if test "X$HPUX_IA64_MODE" = X32; then
   16851       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   16852     else
   16853       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   16854     fi
   16855     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16856     ;;
   16857   hppa*64*)
   16858     shrext_cmds='.sl'
   16859     hardcode_into_libs=yes
   16860     dynamic_linker="$host_os dld.sl"
   16861     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   16862     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   16863     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16864     soname_spec='${libname}${release}${shared_ext}$major'
   16865     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   16866     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   16867     ;;
   16868   *)
   16869     shrext_cmds='.sl'
   16870     dynamic_linker="$host_os dld.sl"
   16871     shlibpath_var=SHLIB_PATH
   16872     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   16873     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16874     soname_spec='${libname}${release}${shared_ext}$major'
   16875     ;;
   16876   esac
   16877   # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
   16878   postinstall_cmds='chmod 555 $lib'
   16879   # or fails outright, so override atomically:
   16880   install_override_mode=555
   16881   ;;
   16882 
   16883 interix[3-9]*)
   16884   version_type=linux # correct to gnu/linux during the next big refactor
   16885   need_lib_prefix=no
   16886   need_version=no
   16887   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   16888   soname_spec='${libname}${release}${shared_ext}$major'
   16889   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   16890   shlibpath_var=LD_LIBRARY_PATH
   16891   shlibpath_overrides_runpath=no
   16892   hardcode_into_libs=yes
   16893   ;;
   16894 
   16895 irix5* | irix6* | nonstopux*)
   16896   case $host_os in
   16897     nonstopux*) version_type=nonstopux ;;
   16898     *)
   16899 	if test "$lt_cv_prog_gnu_ld" = yes; then
   16900 		version_type=linux # correct to gnu/linux during the next big refactor
   16901 	else
   16902 		version_type=irix
   16903 	fi ;;
   16904   esac
   16905   need_lib_prefix=no
   16906   need_version=no
   16907   soname_spec='${libname}${release}${shared_ext}$major'
   16908   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   16909   case $host_os in
   16910   irix5* | nonstopux*)
   16911     libsuff= shlibsuff=
   16912     ;;
   16913   *)
   16914     case $LD in # libtool.m4 will add one of these switches to LD
   16915     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   16916       libsuff= shlibsuff= libmagic=32-bit;;
   16917     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   16918       libsuff=32 shlibsuff=N32 libmagic=N32;;
   16919     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   16920       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   16921     *) libsuff= shlibsuff= libmagic=never-match;;
   16922     esac
   16923     ;;
   16924   esac
   16925   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   16926   shlibpath_overrides_runpath=no
   16927   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   16928   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   16929   hardcode_into_libs=yes
   16930   ;;
   16931 
   16932 # No shared lib support for Linux oldld, aout, or coff.
   16933 linux*oldld* | linux*aout* | linux*coff*)
   16934   dynamic_linker=no
   16935   ;;
   16936 
   16937 # This must be glibc/ELF.
   16938 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
   16939   version_type=linux # correct to gnu/linux during the next big refactor
   16940   need_lib_prefix=no
   16941   need_version=no
   16942   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   16943   soname_spec='${libname}${release}${shared_ext}$major'
   16944   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   16945   shlibpath_var=LD_LIBRARY_PATH
   16946   shlibpath_overrides_runpath=no
   16947 
   16948   # Some binutils ld are patched to set DT_RUNPATH
   16949   if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
   16950   $as_echo_n "(cached) " >&6
   16951 else
   16952   lt_cv_shlibpath_overrides_runpath=no
   16953     save_LDFLAGS=$LDFLAGS
   16954     save_libdir=$libdir
   16955     eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   16956 	 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   16957     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   16958 /* end confdefs.h.  */
   16959 
   16960 int
   16961 main ()
   16962 {
   16963 
   16964   ;
   16965   return 0;
   16966 }
   16967 _ACEOF
   16968 if ac_fn_c_try_link "$LINENO"; then :
   16969   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
   16970   lt_cv_shlibpath_overrides_runpath=yes
   16971 fi
   16972 fi
   16973 rm -f core conftest.err conftest.$ac_objext \
   16974     conftest$ac_exeext conftest.$ac_ext
   16975     LDFLAGS=$save_LDFLAGS
   16976     libdir=$save_libdir
   16977 
   16978 fi
   16979 
   16980   shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
   16981 
   16982   # This implies no fast_install, which is unacceptable.
   16983   # Some rework will be needed to allow for fast_install
   16984   # before this can be enabled.
   16985   hardcode_into_libs=yes
   16986 
   16987   # Append ld.so.conf contents to the search path
   16988   if test -f /etc/ld.so.conf; then
   16989     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' ' '`
   16990     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   16991   fi
   16992 
   16993   # We used to test for /lib/ld.so.1 and disable shared libraries on
   16994   # powerpc, because MkLinux only supported shared libraries with the
   16995   # GNU dynamic linker.  Since this was broken with cross compilers,
   16996   # most powerpc-linux boxes support dynamic linking these days and
   16997   # people can always --disable-shared, the test was removed, and we
   16998   # assume the GNU/Linux dynamic linker is in use.
   16999   dynamic_linker='GNU/Linux ld.so'
   17000   ;;
   17001 
   17002 netbsdelf*-gnu)
   17003   version_type=linux
   17004   need_lib_prefix=no
   17005   need_version=no
   17006   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17007   soname_spec='${libname}${release}${shared_ext}$major'
   17008   shlibpath_var=LD_LIBRARY_PATH
   17009   shlibpath_overrides_runpath=no
   17010   hardcode_into_libs=yes
   17011   dynamic_linker='NetBSD ld.elf_so'
   17012   ;;
   17013 
   17014 netbsd*)
   17015   version_type=sunos
   17016   need_lib_prefix=no
   17017   need_version=no
   17018   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   17019     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17020     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17021     dynamic_linker='NetBSD (a.out) ld.so'
   17022   else
   17023     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   17024     soname_spec='${libname}${release}${shared_ext}$major'
   17025     dynamic_linker='NetBSD ld.elf_so'
   17026   fi
   17027   shlibpath_var=LD_LIBRARY_PATH
   17028   shlibpath_overrides_runpath=yes
   17029   hardcode_into_libs=yes
   17030   ;;
   17031 
   17032 newsos6)
   17033   version_type=linux # correct to gnu/linux during the next big refactor
   17034   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17035   shlibpath_var=LD_LIBRARY_PATH
   17036   shlibpath_overrides_runpath=yes
   17037   ;;
   17038 
   17039 *nto* | *qnx*)
   17040   version_type=qnx
   17041   need_lib_prefix=no
   17042   need_version=no
   17043   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17044   soname_spec='${libname}${release}${shared_ext}$major'
   17045   shlibpath_var=LD_LIBRARY_PATH
   17046   shlibpath_overrides_runpath=no
   17047   hardcode_into_libs=yes
   17048   dynamic_linker='ldqnx.so'
   17049   ;;
   17050 
   17051 openbsd*)
   17052   version_type=sunos
   17053   sys_lib_dlsearch_path_spec="/usr/lib"
   17054   need_lib_prefix=no
   17055   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   17056   case $host_os in
   17057     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   17058     *)				need_version=no  ;;
   17059   esac
   17060   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17061   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   17062   shlibpath_var=LD_LIBRARY_PATH
   17063   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   17064     case $host_os in
   17065       openbsd2.[89] | openbsd2.[89].*)
   17066 	shlibpath_overrides_runpath=no
   17067 	;;
   17068       *)
   17069 	shlibpath_overrides_runpath=yes
   17070 	;;
   17071       esac
   17072   else
   17073     shlibpath_overrides_runpath=yes
   17074   fi
   17075   ;;
   17076 
   17077 os2*)
   17078   libname_spec='$name'
   17079   shrext_cmds=".dll"
   17080   need_lib_prefix=no
   17081   library_names_spec='$libname${shared_ext} $libname.a'
   17082   dynamic_linker='OS/2 ld.exe'
   17083   shlibpath_var=LIBPATH
   17084   ;;
   17085 
   17086 osf3* | osf4* | osf5*)
   17087   version_type=osf
   17088   need_lib_prefix=no
   17089   need_version=no
   17090   soname_spec='${libname}${release}${shared_ext}$major'
   17091   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17092   shlibpath_var=LD_LIBRARY_PATH
   17093   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   17094   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   17095   ;;
   17096 
   17097 rdos*)
   17098   dynamic_linker=no
   17099   ;;
   17100 
   17101 solaris*)
   17102   version_type=linux # correct to gnu/linux during the next big refactor
   17103   need_lib_prefix=no
   17104   need_version=no
   17105   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17106   soname_spec='${libname}${release}${shared_ext}$major'
   17107   shlibpath_var=LD_LIBRARY_PATH
   17108   shlibpath_overrides_runpath=yes
   17109   hardcode_into_libs=yes
   17110   # ldd complains unless libraries are executable
   17111   postinstall_cmds='chmod +x $lib'
   17112   ;;
   17113 
   17114 sunos4*)
   17115   version_type=sunos
   17116   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   17117   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   17118   shlibpath_var=LD_LIBRARY_PATH
   17119   shlibpath_overrides_runpath=yes
   17120   if test "$with_gnu_ld" = yes; then
   17121     need_lib_prefix=no
   17122   fi
   17123   need_version=yes
   17124   ;;
   17125 
   17126 sysv4 | sysv4.3*)
   17127   version_type=linux # correct to gnu/linux during the next big refactor
   17128   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17129   soname_spec='${libname}${release}${shared_ext}$major'
   17130   shlibpath_var=LD_LIBRARY_PATH
   17131   case $host_vendor in
   17132     sni)
   17133       shlibpath_overrides_runpath=no
   17134       need_lib_prefix=no
   17135       runpath_var=LD_RUN_PATH
   17136       ;;
   17137     siemens)
   17138       need_lib_prefix=no
   17139       ;;
   17140     motorola)
   17141       need_lib_prefix=no
   17142       need_version=no
   17143       shlibpath_overrides_runpath=no
   17144       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   17145       ;;
   17146   esac
   17147   ;;
   17148 
   17149 sysv4*MP*)
   17150   if test -d /usr/nec ;then
   17151     version_type=linux # correct to gnu/linux during the next big refactor
   17152     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   17153     soname_spec='$libname${shared_ext}.$major'
   17154     shlibpath_var=LD_LIBRARY_PATH
   17155   fi
   17156   ;;
   17157 
   17158 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   17159   version_type=freebsd-elf
   17160   need_lib_prefix=no
   17161   need_version=no
   17162   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   17163   soname_spec='${libname}${release}${shared_ext}$major'
   17164   shlibpath_var=LD_LIBRARY_PATH
   17165   shlibpath_overrides_runpath=yes
   17166   hardcode_into_libs=yes
   17167   if test "$with_gnu_ld" = yes; then
   17168     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   17169   else
   17170     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   17171     case $host_os in
   17172       sco3.2v5*)
   17173         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   17174 	;;
   17175     esac
   17176   fi
   17177   sys_lib_dlsearch_path_spec='/usr/lib'
   17178   ;;
   17179 
   17180 tpf*)
   17181   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   17182   version_type=linux # correct to gnu/linux during the next big refactor
   17183   need_lib_prefix=no
   17184   need_version=no
   17185   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17186   shlibpath_var=LD_LIBRARY_PATH
   17187   shlibpath_overrides_runpath=no
   17188   hardcode_into_libs=yes
   17189   ;;
   17190 
   17191 uts4*)
   17192   version_type=linux # correct to gnu/linux during the next big refactor
   17193   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   17194   soname_spec='${libname}${release}${shared_ext}$major'
   17195   shlibpath_var=LD_LIBRARY_PATH
   17196   ;;
   17197 
   17198 *)
   17199   dynamic_linker=no
   17200   ;;
   17201 esac
   17202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
   17203 $as_echo "$dynamic_linker" >&6; }
   17204 test "$dynamic_linker" = no && can_build_shared=no
   17205 
   17206 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   17207 if test "$GCC" = yes; then
   17208   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   17209 fi
   17210 
   17211 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
   17212   sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
   17213 fi
   17214 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
   17215   sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
   17216 fi
   17217 
   17218 
   17219 
   17220 
   17221 
   17222 
   17223 
   17224 
   17225 
   17226 
   17227 
   17228 
   17229 
   17230 
   17231 
   17232 
   17233 
   17234 
   17235 
   17236 
   17237 
   17238 
   17239 
   17240 
   17241 
   17242 
   17243 
   17244 
   17245 
   17246 
   17247 
   17248 
   17249 
   17250 
   17251 
   17252 
   17253 
   17254 
   17255 
   17256 
   17257 
   17258 
   17259 
   17260 
   17261 
   17262 
   17263 
   17264 
   17265 
   17266 
   17267 
   17268 
   17269 
   17270 
   17271 
   17272 
   17273 
   17274 
   17275 
   17276 
   17277 
   17278 
   17279 
   17280 
   17281 
   17282 
   17283 
   17284 
   17285 
   17286 
   17287 
   17288 
   17289 
   17290 
   17291 
   17292 
   17293 
   17294 
   17295 
   17296 
   17297 
   17298 
   17299 
   17300 
   17301 
   17302 
   17303 
   17304 
   17305 
   17306 
   17307 
   17308 
   17309   { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
   17310 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
   17311 hardcode_action=
   17312 if test -n "$hardcode_libdir_flag_spec" ||
   17313    test -n "$runpath_var" ||
   17314    test "X$hardcode_automatic" = "Xyes" ; then
   17315 
   17316   # We can hardcode non-existent directories.
   17317   if test "$hardcode_direct" != no &&
   17318      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   17319      # have to relink, otherwise we might link with an installed library
   17320      # when we should be linking with a yet-to-be-installed one
   17321      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   17322      test "$hardcode_minus_L" != no; then
   17323     # Linking always hardcodes the temporary library directory.
   17324     hardcode_action=relink
   17325   else
   17326     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   17327     hardcode_action=immediate
   17328   fi
   17329 else
   17330   # We cannot hardcode anything, or else we can only hardcode existing
   17331   # directories.
   17332   hardcode_action=unsupported
   17333 fi
   17334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
   17335 $as_echo "$hardcode_action" >&6; }
   17336 
   17337 if test "$hardcode_action" = relink ||
   17338    test "$inherit_rpath" = yes; then
   17339   # Fast installation is not supported
   17340   enable_fast_install=no
   17341 elif test "$shlibpath_overrides_runpath" = yes ||
   17342      test "$enable_shared" = no; then
   17343   # Fast installation is not necessary
   17344   enable_fast_install=needless
   17345 fi
   17346 
   17347 
   17348 
   17349 
   17350 
   17351 
   17352   if test "x$enable_dlopen" != xyes; then
   17353   enable_dlopen=unknown
   17354   enable_dlopen_self=unknown
   17355   enable_dlopen_self_static=unknown
   17356 else
   17357   lt_cv_dlopen=no
   17358   lt_cv_dlopen_libs=
   17359 
   17360   case $host_os in
   17361   beos*)
   17362     lt_cv_dlopen="load_add_on"
   17363     lt_cv_dlopen_libs=
   17364     lt_cv_dlopen_self=yes
   17365     ;;
   17366 
   17367   mingw* | pw32* | cegcc*)
   17368     lt_cv_dlopen="LoadLibrary"
   17369     lt_cv_dlopen_libs=
   17370     ;;
   17371 
   17372   cygwin*)
   17373     lt_cv_dlopen="dlopen"
   17374     lt_cv_dlopen_libs=
   17375     ;;
   17376 
   17377   darwin*)
   17378   # if libdl is installed we need to link against it
   17379     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17380 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17381 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17382   $as_echo_n "(cached) " >&6
   17383 else
   17384   ac_check_lib_save_LIBS=$LIBS
   17385 LIBS="-ldl  $LIBS"
   17386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17387 /* end confdefs.h.  */
   17388 
   17389 /* Override any GCC internal prototype to avoid an error.
   17390    Use char because int might match the return type of a GCC
   17391    builtin and then its argument prototype would still apply.  */
   17392 #ifdef __cplusplus
   17393 extern "C"
   17394 #endif
   17395 char dlopen ();
   17396 int
   17397 main ()
   17398 {
   17399 return dlopen ();
   17400   ;
   17401   return 0;
   17402 }
   17403 _ACEOF
   17404 if ac_fn_c_try_link "$LINENO"; then :
   17405   ac_cv_lib_dl_dlopen=yes
   17406 else
   17407   ac_cv_lib_dl_dlopen=no
   17408 fi
   17409 rm -f core conftest.err conftest.$ac_objext \
   17410     conftest$ac_exeext conftest.$ac_ext
   17411 LIBS=$ac_check_lib_save_LIBS
   17412 fi
   17413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17414 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17415 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17416   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17417 else
   17418 
   17419     lt_cv_dlopen="dyld"
   17420     lt_cv_dlopen_libs=
   17421     lt_cv_dlopen_self=yes
   17422 
   17423 fi
   17424 
   17425     ;;
   17426 
   17427   *)
   17428     ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
   17429 if test "x$ac_cv_func_shl_load" = xyes; then :
   17430   lt_cv_dlopen="shl_load"
   17431 else
   17432   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
   17433 $as_echo_n "checking for shl_load in -ldld... " >&6; }
   17434 if ${ac_cv_lib_dld_shl_load+:} false; then :
   17435   $as_echo_n "(cached) " >&6
   17436 else
   17437   ac_check_lib_save_LIBS=$LIBS
   17438 LIBS="-ldld  $LIBS"
   17439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17440 /* end confdefs.h.  */
   17441 
   17442 /* Override any GCC internal prototype to avoid an error.
   17443    Use char because int might match the return type of a GCC
   17444    builtin and then its argument prototype would still apply.  */
   17445 #ifdef __cplusplus
   17446 extern "C"
   17447 #endif
   17448 char shl_load ();
   17449 int
   17450 main ()
   17451 {
   17452 return shl_load ();
   17453   ;
   17454   return 0;
   17455 }
   17456 _ACEOF
   17457 if ac_fn_c_try_link "$LINENO"; then :
   17458   ac_cv_lib_dld_shl_load=yes
   17459 else
   17460   ac_cv_lib_dld_shl_load=no
   17461 fi
   17462 rm -f core conftest.err conftest.$ac_objext \
   17463     conftest$ac_exeext conftest.$ac_ext
   17464 LIBS=$ac_check_lib_save_LIBS
   17465 fi
   17466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
   17467 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
   17468 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
   17469   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
   17470 else
   17471   ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
   17472 if test "x$ac_cv_func_dlopen" = xyes; then :
   17473   lt_cv_dlopen="dlopen"
   17474 else
   17475   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
   17476 $as_echo_n "checking for dlopen in -ldl... " >&6; }
   17477 if ${ac_cv_lib_dl_dlopen+:} false; then :
   17478   $as_echo_n "(cached) " >&6
   17479 else
   17480   ac_check_lib_save_LIBS=$LIBS
   17481 LIBS="-ldl  $LIBS"
   17482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17483 /* end confdefs.h.  */
   17484 
   17485 /* Override any GCC internal prototype to avoid an error.
   17486    Use char because int might match the return type of a GCC
   17487    builtin and then its argument prototype would still apply.  */
   17488 #ifdef __cplusplus
   17489 extern "C"
   17490 #endif
   17491 char dlopen ();
   17492 int
   17493 main ()
   17494 {
   17495 return dlopen ();
   17496   ;
   17497   return 0;
   17498 }
   17499 _ACEOF
   17500 if ac_fn_c_try_link "$LINENO"; then :
   17501   ac_cv_lib_dl_dlopen=yes
   17502 else
   17503   ac_cv_lib_dl_dlopen=no
   17504 fi
   17505 rm -f core conftest.err conftest.$ac_objext \
   17506     conftest$ac_exeext conftest.$ac_ext
   17507 LIBS=$ac_check_lib_save_LIBS
   17508 fi
   17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
   17510 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
   17511 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
   17512   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   17513 else
   17514   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
   17515 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
   17516 if ${ac_cv_lib_svld_dlopen+:} false; then :
   17517   $as_echo_n "(cached) " >&6
   17518 else
   17519   ac_check_lib_save_LIBS=$LIBS
   17520 LIBS="-lsvld  $LIBS"
   17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17522 /* end confdefs.h.  */
   17523 
   17524 /* Override any GCC internal prototype to avoid an error.
   17525    Use char because int might match the return type of a GCC
   17526    builtin and then its argument prototype would still apply.  */
   17527 #ifdef __cplusplus
   17528 extern "C"
   17529 #endif
   17530 char dlopen ();
   17531 int
   17532 main ()
   17533 {
   17534 return dlopen ();
   17535   ;
   17536   return 0;
   17537 }
   17538 _ACEOF
   17539 if ac_fn_c_try_link "$LINENO"; then :
   17540   ac_cv_lib_svld_dlopen=yes
   17541 else
   17542   ac_cv_lib_svld_dlopen=no
   17543 fi
   17544 rm -f core conftest.err conftest.$ac_objext \
   17545     conftest$ac_exeext conftest.$ac_ext
   17546 LIBS=$ac_check_lib_save_LIBS
   17547 fi
   17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
   17549 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
   17550 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
   17551   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   17552 else
   17553   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
   17554 $as_echo_n "checking for dld_link in -ldld... " >&6; }
   17555 if ${ac_cv_lib_dld_dld_link+:} false; then :
   17556   $as_echo_n "(cached) " >&6
   17557 else
   17558   ac_check_lib_save_LIBS=$LIBS
   17559 LIBS="-ldld  $LIBS"
   17560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
   17561 /* end confdefs.h.  */
   17562 
   17563 /* Override any GCC internal prototype to avoid an error.
   17564    Use char because int might match the return type of a GCC
   17565    builtin and then its argument prototype would still apply.  */
   17566 #ifdef __cplusplus
   17567 extern "C"
   17568 #endif
   17569 char dld_link ();
   17570 int
   17571 main ()
   17572 {
   17573 return dld_link ();
   17574   ;
   17575   return 0;
   17576 }
   17577 _ACEOF
   17578 if ac_fn_c_try_link "$LINENO"; then :
   17579   ac_cv_lib_dld_dld_link=yes
   17580 else
   17581   ac_cv_lib_dld_dld_link=no
   17582 fi
   17583 rm -f core conftest.err conftest.$ac_objext \
   17584     conftest$ac_exeext conftest.$ac_ext
   17585 LIBS=$ac_check_lib_save_LIBS
   17586 fi
   17587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
   17588 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
   17589 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
   17590   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
   17591 fi
   17592 
   17593 
   17594 fi
   17595 
   17596 
   17597 fi
   17598 
   17599 
   17600 fi
   17601 
   17602 
   17603 fi
   17604 
   17605 
   17606 fi
   17607 
   17608     ;;
   17609   esac
   17610 
   17611   if test "x$lt_cv_dlopen" != xno; then
   17612     enable_dlopen=yes
   17613   else
   17614     enable_dlopen=no
   17615   fi
   17616 
   17617   case $lt_cv_dlopen in
   17618   dlopen)
   17619     save_CPPFLAGS="$CPPFLAGS"
   17620     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   17621 
   17622     save_LDFLAGS="$LDFLAGS"
   17623     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   17624 
   17625     save_LIBS="$LIBS"
   17626     LIBS="$lt_cv_dlopen_libs $LIBS"
   17627 
   17628     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
   17629 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
   17630 if ${lt_cv_dlopen_self+:} false; then :
   17631   $as_echo_n "(cached) " >&6
   17632 else
   17633   	  if test "$cross_compiling" = yes; then :
   17634   lt_cv_dlopen_self=cross
   17635 else
   17636   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17637   lt_status=$lt_dlunknown
   17638   cat > conftest.$ac_ext <<_LT_EOF
   17639 #line $LINENO "configure"
   17640 #include "confdefs.h"
   17641 
   17642 #if HAVE_DLFCN_H
   17643 #include <dlfcn.h>
   17644 #endif
   17645 
   17646 #include <stdio.h>
   17647 
   17648 #ifdef RTLD_GLOBAL
   17649 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17650 #else
   17651 #  ifdef DL_GLOBAL
   17652 #    define LT_DLGLOBAL		DL_GLOBAL
   17653 #  else
   17654 #    define LT_DLGLOBAL		0
   17655 #  endif
   17656 #endif
   17657 
   17658 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17659    find out it does not work in some platform. */
   17660 #ifndef LT_DLLAZY_OR_NOW
   17661 #  ifdef RTLD_LAZY
   17662 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17663 #  else
   17664 #    ifdef DL_LAZY
   17665 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17666 #    else
   17667 #      ifdef RTLD_NOW
   17668 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17669 #      else
   17670 #        ifdef DL_NOW
   17671 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17672 #        else
   17673 #          define LT_DLLAZY_OR_NOW	0
   17674 #        endif
   17675 #      endif
   17676 #    endif
   17677 #  endif
   17678 #endif
   17679 
   17680 /* When -fvisbility=hidden is used, assume the code has been annotated
   17681    correspondingly for the symbols needed.  */
   17682 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17683 int fnord () __attribute__((visibility("default")));
   17684 #endif
   17685 
   17686 int fnord () { return 42; }
   17687 int main ()
   17688 {
   17689   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17690   int status = $lt_dlunknown;
   17691 
   17692   if (self)
   17693     {
   17694       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17695       else
   17696         {
   17697 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17698           else puts (dlerror ());
   17699 	}
   17700       /* dlclose (self); */
   17701     }
   17702   else
   17703     puts (dlerror ());
   17704 
   17705   return status;
   17706 }
   17707 _LT_EOF
   17708   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17709   (eval $ac_link) 2>&5
   17710   ac_status=$?
   17711   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17712   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17713     (./conftest; exit; ) >&5 2>/dev/null
   17714     lt_status=$?
   17715     case x$lt_status in
   17716       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   17717       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   17718       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   17719     esac
   17720   else :
   17721     # compilation failed
   17722     lt_cv_dlopen_self=no
   17723   fi
   17724 fi
   17725 rm -fr conftest*
   17726 
   17727 
   17728 fi
   17729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
   17730 $as_echo "$lt_cv_dlopen_self" >&6; }
   17731 
   17732     if test "x$lt_cv_dlopen_self" = xyes; then
   17733       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   17734       { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
   17735 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
   17736 if ${lt_cv_dlopen_self_static+:} false; then :
   17737   $as_echo_n "(cached) " >&6
   17738 else
   17739   	  if test "$cross_compiling" = yes; then :
   17740   lt_cv_dlopen_self_static=cross
   17741 else
   17742   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   17743   lt_status=$lt_dlunknown
   17744   cat > conftest.$ac_ext <<_LT_EOF
   17745 #line $LINENO "configure"
   17746 #include "confdefs.h"
   17747 
   17748 #if HAVE_DLFCN_H
   17749 #include <dlfcn.h>
   17750 #endif
   17751 
   17752 #include <stdio.h>
   17753 
   17754 #ifdef RTLD_GLOBAL
   17755 #  define LT_DLGLOBAL		RTLD_GLOBAL
   17756 #else
   17757 #  ifdef DL_GLOBAL
   17758 #    define LT_DLGLOBAL		DL_GLOBAL
   17759 #  else
   17760 #    define LT_DLGLOBAL		0
   17761 #  endif
   17762 #endif
   17763 
   17764 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   17765    find out it does not work in some platform. */
   17766 #ifndef LT_DLLAZY_OR_NOW
   17767 #  ifdef RTLD_LAZY
   17768 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   17769 #  else
   17770 #    ifdef DL_LAZY
   17771 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   17772 #    else
   17773 #      ifdef RTLD_NOW
   17774 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   17775 #      else
   17776 #        ifdef DL_NOW
   17777 #          define LT_DLLAZY_OR_NOW	DL_NOW
   17778 #        else
   17779 #          define LT_DLLAZY_OR_NOW	0
   17780 #        endif
   17781 #      endif
   17782 #    endif
   17783 #  endif
   17784 #endif
   17785 
   17786 /* When -fvisbility=hidden is used, assume the code has been annotated
   17787    correspondingly for the symbols needed.  */
   17788 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
   17789 int fnord () __attribute__((visibility("default")));
   17790 #endif
   17791 
   17792 int fnord () { return 42; }
   17793 int main ()
   17794 {
   17795   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   17796   int status = $lt_dlunknown;
   17797 
   17798   if (self)
   17799     {
   17800       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   17801       else
   17802         {
   17803 	  if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
   17804           else puts (dlerror ());
   17805 	}
   17806       /* dlclose (self); */
   17807     }
   17808   else
   17809     puts (dlerror ());
   17810 
   17811   return status;
   17812 }
   17813 _LT_EOF
   17814   if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
   17815   (eval $ac_link) 2>&5
   17816   ac_status=$?
   17817   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   17818   test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
   17819     (./conftest; exit; ) >&5 2>/dev/null
   17820     lt_status=$?
   17821     case x$lt_status in
   17822       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   17823       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   17824       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   17825     esac
   17826   else :
   17827     # compilation failed
   17828     lt_cv_dlopen_self_static=no
   17829   fi
   17830 fi
   17831 rm -fr conftest*
   17832 
   17833 
   17834 fi
   17835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
   17836 $as_echo "$lt_cv_dlopen_self_static" >&6; }
   17837     fi
   17838 
   17839     CPPFLAGS="$save_CPPFLAGS"
   17840     LDFLAGS="$save_LDFLAGS"
   17841     LIBS="$save_LIBS"
   17842     ;;
   17843   esac
   17844 
   17845   case $lt_cv_dlopen_self in
   17846   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   17847   *) enable_dlopen_self=unknown ;;
   17848   esac
   17849 
   17850   case $lt_cv_dlopen_self_static in
   17851   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   17852   *) enable_dlopen_self_static=unknown ;;
   17853   esac
   17854 fi
   17855 
   17856 
   17857 
   17858 
   17859 
   17860 
   17861 
   17862 
   17863 
   17864 
   17865 
   17866 
   17867 
   17868 
   17869 
   17870 
   17871 
   17872 striplib=
   17873 old_striplib=
   17874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
   17875 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
   17876 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   17877   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   17878   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   17879   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17880 $as_echo "yes" >&6; }
   17881 else
   17882 # FIXME - insert some real tests, host_os isn't really good enough
   17883   case $host_os in
   17884   darwin*)
   17885     if test -n "$STRIP" ; then
   17886       striplib="$STRIP -x"
   17887       old_striplib="$STRIP -S"
   17888       { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   17889 $as_echo "yes" >&6; }
   17890     else
   17891       { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17892 $as_echo "no" >&6; }
   17893     fi
   17894     ;;
   17895   *)
   17896     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   17897 $as_echo "no" >&6; }
   17898     ;;
   17899   esac
   17900 fi
   17901 
   17902 
   17903 
   17904 
   17905 
   17906 
   17907 
   17908 
   17909 
   17910 
   17911 
   17912 
   17913   # Report which library types will actually be built
   17914   { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
   17915 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
   17916   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
   17917 $as_echo "$can_build_shared" >&6; }
   17918 
   17919   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
   17920 $as_echo_n "checking whether to build shared libraries... " >&6; }
   17921   test "$can_build_shared" = "no" && enable_shared=no
   17922 
   17923   # On AIX, shared libraries and static libraries use the same namespace, and
   17924   # are all built from PIC.
   17925   case $host_os in
   17926   aix3*)
   17927     test "$enable_shared" = yes && enable_static=no
   17928     if test -n "$RANLIB"; then
   17929       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   17930       postinstall_cmds='$RANLIB $lib'
   17931     fi
   17932     ;;
   17933 
   17934   aix[4-9]*)
   17935     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   17936       test "$enable_shared" = yes && enable_static=no
   17937     fi
   17938     ;;
   17939   esac
   17940   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
   17941 $as_echo "$enable_shared" >&6; }
   17942 
   17943   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
   17944 $as_echo_n "checking whether to build static libraries... " >&6; }
   17945   # Make sure either enable_shared or enable_static is yes.
   17946   test "$enable_shared" = yes || enable_static=yes
   17947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
   17948 $as_echo "$enable_static" >&6; }
   17949 
   17950 
   17951 
   17952 
   17953 fi
   17954 ac_ext=c
   17955 ac_cpp='$CPP $CPPFLAGS'
   17956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   17957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   17958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   17959 
   17960 CC="$lt_save_CC"
   17961 
   17962 
   17963 
   17964 
   17965 
   17966 
   17967 
   17968 
   17969 
   17970 
   17971 
   17972 
   17973 
   17974 
   17975 
   17976         ac_config_commands="$ac_config_commands libtool"
   17977 
   17978 
   17979 
   17980 
   17981 # Only expand once:
   17982 
   17983 
   17984 
   17985 
   17986 
   17987 # Define a configure option for an alternate module directory
   17988 
   17989 # Check whether --with-xorg-module-dir was given.
   17990 if test "${with_xorg_module_dir+set}" = set; then :
   17991   withval=$with_xorg_module_dir; moduledir="$withval"
   17992 else
   17993   moduledir="$libdir/xorg/modules"
   17994 fi
   17995 
   17996 
   17997 # Obtain compiler/linker options for the driver dependencies
   17998 
   17999 pkg_failed=no
   18000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XORG" >&5
   18001 $as_echo_n "checking for XORG... " >&6; }
   18002 
   18003 if test -n "$XORG_CFLAGS"; then
   18004     pkg_cv_XORG_CFLAGS="$XORG_CFLAGS"
   18005  elif test -n "$PKG_CONFIG"; then
   18006     if test -n "$PKG_CONFIG" && \
   18007     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18008   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18009   ac_status=$?
   18010   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18011   test $ac_status = 0; }; then
   18012   pkg_cv_XORG_CFLAGS=`$PKG_CONFIG --cflags "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18013 		      test "x$?" != "x0" && pkg_failed=yes
   18014 else
   18015   pkg_failed=yes
   18016 fi
   18017  else
   18018     pkg_failed=untried
   18019 fi
   18020 if test -n "$XORG_LIBS"; then
   18021     pkg_cv_XORG_LIBS="$XORG_LIBS"
   18022  elif test -n "$PKG_CONFIG"; then
   18023     if test -n "$PKG_CONFIG" && \
   18024     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"xorg-server >= 1.0.99.901 xproto fontsproto \$REQUIRED_MODULES\""; } >&5
   18025   ($PKG_CONFIG --exists --print-errors "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES") 2>&5
   18026   ac_status=$?
   18027   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18028   test $ac_status = 0; }; then
   18029   pkg_cv_XORG_LIBS=`$PKG_CONFIG --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>/dev/null`
   18030 		      test "x$?" != "x0" && pkg_failed=yes
   18031 else
   18032   pkg_failed=yes
   18033 fi
   18034  else
   18035     pkg_failed=untried
   18036 fi
   18037 
   18038 
   18039 
   18040 if test $pkg_failed = yes; then
   18041    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18042 $as_echo "no" >&6; }
   18043 
   18044 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18045         _pkg_short_errors_supported=yes
   18046 else
   18047         _pkg_short_errors_supported=no
   18048 fi
   18049         if test $_pkg_short_errors_supported = yes; then
   18050 	        XORG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18051         else
   18052 	        XORG_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES" 2>&1`
   18053         fi
   18054 	# Put the nasty error message in config.log where it belongs
   18055 	echo "$XORG_PKG_ERRORS" >&5
   18056 
   18057 	as_fn_error $? "Package requirements (xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES) were not met:
   18058 
   18059 $XORG_PKG_ERRORS
   18060 
   18061 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18062 installed software in a non-standard prefix.
   18063 
   18064 Alternatively, you may set the environment variables XORG_CFLAGS
   18065 and XORG_LIBS to avoid the need to call pkg-config.
   18066 See the pkg-config man page for more details." "$LINENO" 5
   18067 elif test $pkg_failed = untried; then
   18068      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18069 $as_echo "no" >&6; }
   18070 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18072 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18073 is in your PATH or set the PKG_CONFIG environment variable to the full
   18074 path to pkg-config.
   18075 
   18076 Alternatively, you may set the environment variables XORG_CFLAGS
   18077 and XORG_LIBS to avoid the need to call pkg-config.
   18078 See the pkg-config man page for more details.
   18079 
   18080 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18081 See \`config.log' for more details" "$LINENO" 5; }
   18082 else
   18083 	XORG_CFLAGS=$pkg_cv_XORG_CFLAGS
   18084 	XORG_LIBS=$pkg_cv_XORG_LIBS
   18085         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18086 $as_echo "yes" >&6; }
   18087 
   18088 fi
   18089 
   18090 save_CFLAGS="$CFLAGS"
   18091 CFLAGS="$XORG_CFLAGS"
   18092 ac_fn_c_check_decl "$LINENO" "xf86ConfigIsaEntity" "ac_cv_have_decl_xf86ConfigIsaEntity" "#include \"xf86.h\"
   18093 "
   18094 if test "x$ac_cv_have_decl_xf86ConfigIsaEntity" = xyes; then :
   18095 
   18096 $as_echo "#define HAVE_ISA 1" >>confdefs.h
   18097 
   18098 fi
   18099 
   18100 CFLAGS="$save_CFLAGS"
   18101 
   18102 # Checks for libraries.
   18103 SAVE_CPPFLAGS="$CPPFLAGS"
   18104 CPPFLAGS="$CPPFLAGS $XORG_CFLAGS"
   18105 ac_fn_c_check_decl "$LINENO" "XSERVER_LIBPCIACCESS" "ac_cv_have_decl_XSERVER_LIBPCIACCESS" "#include \"xorg-server.h\"
   18106 "
   18107 if test "x$ac_cv_have_decl_XSERVER_LIBPCIACCESS" = xyes; then :
   18108   XSERVER_LIBPCIACCESS=yes
   18109 else
   18110   XSERVER_LIBPCIACCESS=no
   18111 fi
   18112 
   18113 CPPFLAGS="$SAVE_CPPFLAGS"
   18114 
   18115 # Check whether --enable-xaa was given.
   18116 if test "${enable_xaa+set}" = set; then :
   18117   enableval=$enable_xaa; XAA="$enableval"
   18118 else
   18119   XAA=auto
   18120 fi
   18121 
   18122 if test "x$XAA" != xno; then
   18123         save_CFLAGS=$CFLAGS
   18124         save_CPPFLAGS=$CPPFLAGS
   18125         CFLAGS=$XORG_CFLAGS
   18126         CPPFLAGS="$XORG_CFLAGS"
   18127         for ac_header in xaa.h
   18128 do :
   18129   ac_fn_c_check_header_mongrel "$LINENO" "xaa.h" "ac_cv_header_xaa_h" "$ac_includes_default"
   18130 if test "x$ac_cv_header_xaa_h" = xyes; then :
   18131   cat >>confdefs.h <<_ACEOF
   18132 #define HAVE_XAA_H 1
   18133 _ACEOF
   18134  XAA=yes
   18135 else
   18136   XAA=no
   18137 fi
   18138 
   18139 done
   18140 
   18141         CFLAGS=$save_CFLAGS
   18142         CPPFLAGS=$save_CPPFLAGS
   18143 fi
   18144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to include XAA support" >&5
   18145 $as_echo_n "checking whether to include XAA support... " >&6; }
   18146  if test "x$XAA" = xyes; then
   18147   XAA_TRUE=
   18148   XAA_FALSE='#'
   18149 else
   18150   XAA_TRUE='#'
   18151   XAA_FALSE=
   18152 fi
   18153 
   18154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XAA" >&5
   18155 $as_echo "$XAA" >&6; }
   18156 
   18157 if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18158 
   18159 pkg_failed=no
   18160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PCIACCESS" >&5
   18161 $as_echo_n "checking for PCIACCESS... " >&6; }
   18162 
   18163 if test -n "$PCIACCESS_CFLAGS"; then
   18164     pkg_cv_PCIACCESS_CFLAGS="$PCIACCESS_CFLAGS"
   18165  elif test -n "$PKG_CONFIG"; then
   18166     if test -n "$PKG_CONFIG" && \
   18167     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18168   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18169   ac_status=$?
   18170   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18171   test $ac_status = 0; }; then
   18172   pkg_cv_PCIACCESS_CFLAGS=`$PKG_CONFIG --cflags "pciaccess >= 0.8.0" 2>/dev/null`
   18173 		      test "x$?" != "x0" && pkg_failed=yes
   18174 else
   18175   pkg_failed=yes
   18176 fi
   18177  else
   18178     pkg_failed=untried
   18179 fi
   18180 if test -n "$PCIACCESS_LIBS"; then
   18181     pkg_cv_PCIACCESS_LIBS="$PCIACCESS_LIBS"
   18182  elif test -n "$PKG_CONFIG"; then
   18183     if test -n "$PKG_CONFIG" && \
   18184     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pciaccess >= 0.8.0\""; } >&5
   18185   ($PKG_CONFIG --exists --print-errors "pciaccess >= 0.8.0") 2>&5
   18186   ac_status=$?
   18187   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   18188   test $ac_status = 0; }; then
   18189   pkg_cv_PCIACCESS_LIBS=`$PKG_CONFIG --libs "pciaccess >= 0.8.0" 2>/dev/null`
   18190 		      test "x$?" != "x0" && pkg_failed=yes
   18191 else
   18192   pkg_failed=yes
   18193 fi
   18194  else
   18195     pkg_failed=untried
   18196 fi
   18197 
   18198 
   18199 
   18200 if test $pkg_failed = yes; then
   18201    	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18202 $as_echo "no" >&6; }
   18203 
   18204 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
   18205         _pkg_short_errors_supported=yes
   18206 else
   18207         _pkg_short_errors_supported=no
   18208 fi
   18209         if test $_pkg_short_errors_supported = yes; then
   18210 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18211         else
   18212 	        PCIACCESS_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "pciaccess >= 0.8.0" 2>&1`
   18213         fi
   18214 	# Put the nasty error message in config.log where it belongs
   18215 	echo "$PCIACCESS_PKG_ERRORS" >&5
   18216 
   18217 	as_fn_error $? "Package requirements (pciaccess >= 0.8.0) were not met:
   18218 
   18219 $PCIACCESS_PKG_ERRORS
   18220 
   18221 Consider adjusting the PKG_CONFIG_PATH environment variable if you
   18222 installed software in a non-standard prefix.
   18223 
   18224 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18225 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18226 See the pkg-config man page for more details." "$LINENO" 5
   18227 elif test $pkg_failed = untried; then
   18228      	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
   18229 $as_echo "no" >&6; }
   18230 	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   18231 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   18232 as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
   18233 is in your PATH or set the PKG_CONFIG environment variable to the full
   18234 path to pkg-config.
   18235 
   18236 Alternatively, you may set the environment variables PCIACCESS_CFLAGS
   18237 and PCIACCESS_LIBS to avoid the need to call pkg-config.
   18238 See the pkg-config man page for more details.
   18239 
   18240 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
   18241 See \`config.log' for more details" "$LINENO" 5; }
   18242 else
   18243 	PCIACCESS_CFLAGS=$pkg_cv_PCIACCESS_CFLAGS
   18244 	PCIACCESS_LIBS=$pkg_cv_PCIACCESS_LIBS
   18245         { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
   18246 $as_echo "yes" >&6; }
   18247 
   18248 fi
   18249     XORG_CFLAGS="$XORG_CFLAGS $PCIACCESS_CFLAGS"
   18250 fi
   18251  if test "x$XSERVER_LIBPCIACCESS" = xyes; then
   18252   XSERVER_LIBPCIACCESS_TRUE=
   18253   XSERVER_LIBPCIACCESS_FALSE='#'
   18254 else
   18255   XSERVER_LIBPCIACCESS_TRUE='#'
   18256   XSERVER_LIBPCIACCESS_FALSE=
   18257 fi
   18258 
   18259 
   18260 
   18261 
   18262 DRIVER_NAME=neomagic
   18263 
   18264 
   18265 ac_config_files="$ac_config_files Makefile src/Makefile man/Makefile"
   18266 
   18267 cat >confcache <<\_ACEOF
   18268 # This file is a shell script that caches the results of configure
   18269 # tests run on this system so they can be shared between configure
   18270 # scripts and configure runs, see configure's option --config-cache.
   18271 # It is not useful on other systems.  If it contains results you don't
   18272 # want to keep, you may remove or edit it.
   18273 #
   18274 # config.status only pays attention to the cache file if you give it
   18275 # the --recheck option to rerun configure.
   18276 #
   18277 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   18278 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   18279 # following values.
   18280 
   18281 _ACEOF
   18282 
   18283 # The following way of writing the cache mishandles newlines in values,
   18284 # but we know of no workaround that is simple, portable, and efficient.
   18285 # So, we kill variables containing newlines.
   18286 # Ultrix sh set writes to stderr and can't be redirected directly,
   18287 # and sets the high bit in the cache file unless we assign to the vars.
   18288 (
   18289   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
   18290     eval ac_val=\$$ac_var
   18291     case $ac_val in #(
   18292     *${as_nl}*)
   18293       case $ac_var in #(
   18294       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
   18295 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
   18296       esac
   18297       case $ac_var in #(
   18298       _ | IFS | as_nl) ;; #(
   18299       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
   18300       *) { eval $ac_var=; unset $ac_var;} ;;
   18301       esac ;;
   18302     esac
   18303   done
   18304 
   18305   (set) 2>&1 |
   18306     case $as_nl`(ac_space=' '; set) 2>&1` in #(
   18307     *${as_nl}ac_space=\ *)
   18308       # `set' does not quote correctly, so add quotes: double-quote
   18309       # substitution turns \\\\ into \\, and sed turns \\ into \.
   18310       sed -n \
   18311 	"s/'/'\\\\''/g;
   18312 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   18313       ;; #(
   18314     *)
   18315       # `set' quotes correctly as required by POSIX, so do not add quotes.
   18316       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
   18317       ;;
   18318     esac |
   18319     sort
   18320 ) |
   18321   sed '
   18322      /^ac_cv_env_/b end
   18323      t clear
   18324      :clear
   18325      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   18326      t end
   18327      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   18328      :end' >>confcache
   18329 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
   18330   if test -w "$cache_file"; then
   18331     if test "x$cache_file" != "x/dev/null"; then
   18332       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
   18333 $as_echo "$as_me: updating cache $cache_file" >&6;}
   18334       if test ! -f "$cache_file" || test -h "$cache_file"; then
   18335 	cat confcache >"$cache_file"
   18336       else
   18337         case $cache_file in #(
   18338         */* | ?:*)
   18339 	  mv -f confcache "$cache_file"$$ &&
   18340 	  mv -f "$cache_file"$$ "$cache_file" ;; #(
   18341         *)
   18342 	  mv -f confcache "$cache_file" ;;
   18343 	esac
   18344       fi
   18345     fi
   18346   else
   18347     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
   18348 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
   18349   fi
   18350 fi
   18351 rm -f confcache
   18352 
   18353 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   18354 # Let make expand exec_prefix.
   18355 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   18356 
   18357 DEFS=-DHAVE_CONFIG_H
   18358 
   18359 ac_libobjs=
   18360 ac_ltlibobjs=
   18361 U=
   18362 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   18363   # 1. Remove the extension, and $U if already installed.
   18364   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
   18365   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
   18366   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
   18367   #    will be set to the directory where LIBOBJS objects are built.
   18368   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
   18369   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
   18370 done
   18371 LIBOBJS=$ac_libobjs
   18372 
   18373 LTLIBOBJS=$ac_ltlibobjs
   18374 
   18375 
   18376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
   18377 $as_echo_n "checking that generated files are newer than configure... " >&6; }
   18378    if test -n "$am_sleep_pid"; then
   18379      # Hide warnings about reused PIDs.
   18380      wait $am_sleep_pid 2>/dev/null
   18381    fi
   18382    { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
   18383 $as_echo "done" >&6; }
   18384  if test -n "$EXEEXT"; then
   18385   am__EXEEXT_TRUE=
   18386   am__EXEEXT_FALSE='#'
   18387 else
   18388   am__EXEEXT_TRUE='#'
   18389   am__EXEEXT_FALSE=
   18390 fi
   18391 
   18392 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   18393   as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
   18394 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18395 fi
   18396 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   18397   as_fn_error $? "conditional \"AMDEP\" was never defined.
   18398 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18399 fi
   18400 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   18401   as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
   18402 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18403 fi
   18404 if test -z "${XAA_TRUE}" && test -z "${XAA_FALSE}"; then
   18405   as_fn_error $? "conditional \"XAA\" was never defined.
   18406 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18407 fi
   18408 if test -z "${XSERVER_LIBPCIACCESS_TRUE}" && test -z "${XSERVER_LIBPCIACCESS_FALSE}"; then
   18409   as_fn_error $? "conditional \"XSERVER_LIBPCIACCESS\" was never defined.
   18410 Usually this means the macro was only invoked conditionally." "$LINENO" 5
   18411 fi
   18412 
   18413 : "${CONFIG_STATUS=./config.status}"
   18414 ac_write_fail=0
   18415 ac_clean_files_save=$ac_clean_files
   18416 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   18417 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
   18418 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
   18419 as_write_fail=0
   18420 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
   18421 #! $SHELL
   18422 # Generated by $as_me.
   18423 # Run this file to recreate the current configuration.
   18424 # Compiler output produced by configure, useful for debugging
   18425 # configure, is in config.log if it exists.
   18426 
   18427 debug=false
   18428 ac_cs_recheck=false
   18429 ac_cs_silent=false
   18430 
   18431 SHELL=\${CONFIG_SHELL-$SHELL}
   18432 export SHELL
   18433 _ASEOF
   18434 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
   18435 ## -------------------- ##
   18436 ## M4sh Initialization. ##
   18437 ## -------------------- ##
   18438 
   18439 # Be more Bourne compatible
   18440 DUALCASE=1; export DUALCASE # for MKS sh
   18441 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
   18442   emulate sh
   18443   NULLCMD=:
   18444   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   18445   # is contrary to our usage.  Disable this feature.
   18446   alias -g '${1+"$@"}'='"$@"'
   18447   setopt NO_GLOB_SUBST
   18448 else
   18449   case `(set -o) 2>/dev/null` in #(
   18450   *posix*) :
   18451     set -o posix ;; #(
   18452   *) :
   18453      ;;
   18454 esac
   18455 fi
   18456 
   18457 
   18458 as_nl='
   18459 '
   18460 export as_nl
   18461 # Printing a long string crashes Solaris 7 /usr/bin/printf.
   18462 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
   18463 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
   18464 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
   18465 # Prefer a ksh shell builtin over an external printf program on Solaris,
   18466 # but without wasting forks for bash or zsh.
   18467 if test -z "$BASH_VERSION$ZSH_VERSION" \
   18468     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
   18469   as_echo='print -r --'
   18470   as_echo_n='print -rn --'
   18471 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
   18472   as_echo='printf %s\n'
   18473   as_echo_n='printf %s'
   18474 else
   18475   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
   18476     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
   18477     as_echo_n='/usr/ucb/echo -n'
   18478   else
   18479     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
   18480     as_echo_n_body='eval
   18481       arg=$1;
   18482       case $arg in #(
   18483       *"$as_nl"*)
   18484 	expr "X$arg" : "X\\(.*\\)$as_nl";
   18485 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
   18486       esac;
   18487       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
   18488     '
   18489     export as_echo_n_body
   18490     as_echo_n='sh -c $as_echo_n_body as_echo'
   18491   fi
   18492   export as_echo_body
   18493   as_echo='sh -c $as_echo_body as_echo'
   18494 fi
   18495 
   18496 # The user is always right.
   18497 if test "${PATH_SEPARATOR+set}" != set; then
   18498   PATH_SEPARATOR=:
   18499   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
   18500     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
   18501       PATH_SEPARATOR=';'
   18502   }
   18503 fi
   18504 
   18505 
   18506 # IFS
   18507 # We need space, tab and new line, in precisely that order.  Quoting is
   18508 # there to prevent editors from complaining about space-tab.
   18509 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
   18510 # splitting by setting IFS to empty value.)
   18511 IFS=" ""	$as_nl"
   18512 
   18513 # Find who we are.  Look in the path if we contain no directory separator.
   18514 as_myself=
   18515 case $0 in #((
   18516   *[\\/]* ) as_myself=$0 ;;
   18517   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   18518 for as_dir in $PATH
   18519 do
   18520   IFS=$as_save_IFS
   18521   test -z "$as_dir" && as_dir=.
   18522     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   18523   done
   18524 IFS=$as_save_IFS
   18525 
   18526      ;;
   18527 esac
   18528 # We did not find ourselves, most probably we were run as `sh COMMAND'
   18529 # in which case we are not to be found in the path.
   18530 if test "x$as_myself" = x; then
   18531   as_myself=$0
   18532 fi
   18533 if test ! -f "$as_myself"; then
   18534   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   18535   exit 1
   18536 fi
   18537 
   18538 # Unset variables that we do not need and which cause bugs (e.g. in
   18539 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
   18540 # suppresses any "Segmentation fault" message there.  '((' could
   18541 # trigger a bug in pdksh 5.2.14.
   18542 for as_var in BASH_ENV ENV MAIL MAILPATH
   18543 do eval test x\${$as_var+set} = xset \
   18544   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
   18545 done
   18546 PS1='$ '
   18547 PS2='> '
   18548 PS4='+ '
   18549 
   18550 # NLS nuisances.
   18551 LC_ALL=C
   18552 export LC_ALL
   18553 LANGUAGE=C
   18554 export LANGUAGE
   18555 
   18556 # CDPATH.
   18557 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   18558 
   18559 
   18560 # as_fn_error STATUS ERROR [LINENO LOG_FD]
   18561 # ----------------------------------------
   18562 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
   18563 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
   18564 # script with STATUS, using 1 if that was 0.
   18565 as_fn_error ()
   18566 {
   18567   as_status=$1; test $as_status -eq 0 && as_status=1
   18568   if test "$4"; then
   18569     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
   18570     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
   18571   fi
   18572   $as_echo "$as_me: error: $2" >&2
   18573   as_fn_exit $as_status
   18574 } # as_fn_error
   18575 
   18576 
   18577 # as_fn_set_status STATUS
   18578 # -----------------------
   18579 # Set $? to STATUS, without forking.
   18580 as_fn_set_status ()
   18581 {
   18582   return $1
   18583 } # as_fn_set_status
   18584 
   18585 # as_fn_exit STATUS
   18586 # -----------------
   18587 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
   18588 as_fn_exit ()
   18589 {
   18590   set +e
   18591   as_fn_set_status $1
   18592   exit $1
   18593 } # as_fn_exit
   18594 
   18595 # as_fn_unset VAR
   18596 # ---------------
   18597 # Portably unset VAR.
   18598 as_fn_unset ()
   18599 {
   18600   { eval $1=; unset $1;}
   18601 }
   18602 as_unset=as_fn_unset
   18603 # as_fn_append VAR VALUE
   18604 # ----------------------
   18605 # Append the text in VALUE to the end of the definition contained in VAR. Take
   18606 # advantage of any shell optimizations that allow amortized linear growth over
   18607 # repeated appends, instead of the typical quadratic growth present in naive
   18608 # implementations.
   18609 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
   18610   eval 'as_fn_append ()
   18611   {
   18612     eval $1+=\$2
   18613   }'
   18614 else
   18615   as_fn_append ()
   18616   {
   18617     eval $1=\$$1\$2
   18618   }
   18619 fi # as_fn_append
   18620 
   18621 # as_fn_arith ARG...
   18622 # ------------------
   18623 # Perform arithmetic evaluation on the ARGs, and store the result in the
   18624 # global $as_val. Take advantage of shells that can avoid forks. The arguments
   18625 # must be portable across $(()) and expr.
   18626 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
   18627   eval 'as_fn_arith ()
   18628   {
   18629     as_val=$(( $* ))
   18630   }'
   18631 else
   18632   as_fn_arith ()
   18633   {
   18634     as_val=`expr "$@" || test $? -eq 1`
   18635   }
   18636 fi # as_fn_arith
   18637 
   18638 
   18639 if expr a : '\(a\)' >/dev/null 2>&1 &&
   18640    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   18641   as_expr=expr
   18642 else
   18643   as_expr=false
   18644 fi
   18645 
   18646 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   18647   as_basename=basename
   18648 else
   18649   as_basename=false
   18650 fi
   18651 
   18652 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   18653   as_dirname=dirname
   18654 else
   18655   as_dirname=false
   18656 fi
   18657 
   18658 as_me=`$as_basename -- "$0" ||
   18659 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   18660 	 X"$0" : 'X\(//\)$' \| \
   18661 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   18662 $as_echo X/"$0" |
   18663     sed '/^.*\/\([^/][^/]*\)\/*$/{
   18664 	    s//\1/
   18665 	    q
   18666 	  }
   18667 	  /^X\/\(\/\/\)$/{
   18668 	    s//\1/
   18669 	    q
   18670 	  }
   18671 	  /^X\/\(\/\).*/{
   18672 	    s//\1/
   18673 	    q
   18674 	  }
   18675 	  s/.*/./; q'`
   18676 
   18677 # Avoid depending upon Character Ranges.
   18678 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   18679 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   18680 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   18681 as_cr_digits='0123456789'
   18682 as_cr_alnum=$as_cr_Letters$as_cr_digits
   18683 
   18684 ECHO_C= ECHO_N= ECHO_T=
   18685 case `echo -n x` in #(((((
   18686 -n*)
   18687   case `echo 'xy\c'` in
   18688   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   18689   xy)  ECHO_C='\c';;
   18690   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
   18691        ECHO_T='	';;
   18692   esac;;
   18693 *)
   18694   ECHO_N='-n';;
   18695 esac
   18696 
   18697 rm -f conf$$ conf$$.exe conf$$.file
   18698 if test -d conf$$.dir; then
   18699   rm -f conf$$.dir/conf$$.file
   18700 else
   18701   rm -f conf$$.dir
   18702   mkdir conf$$.dir 2>/dev/null
   18703 fi
   18704 if (echo >conf$$.file) 2>/dev/null; then
   18705   if ln -s conf$$.file conf$$ 2>/dev/null; then
   18706     as_ln_s='ln -s'
   18707     # ... but there are two gotchas:
   18708     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   18709     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   18710     # In both cases, we have to default to `cp -pR'.
   18711     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   18712       as_ln_s='cp -pR'
   18713   elif ln conf$$.file conf$$ 2>/dev/null; then
   18714     as_ln_s=ln
   18715   else
   18716     as_ln_s='cp -pR'
   18717   fi
   18718 else
   18719   as_ln_s='cp -pR'
   18720 fi
   18721 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   18722 rmdir conf$$.dir 2>/dev/null
   18723 
   18724 
   18725 # as_fn_mkdir_p
   18726 # -------------
   18727 # Create "$as_dir" as a directory, including parents if necessary.
   18728 as_fn_mkdir_p ()
   18729 {
   18730 
   18731   case $as_dir in #(
   18732   -*) as_dir=./$as_dir;;
   18733   esac
   18734   test -d "$as_dir" || eval $as_mkdir_p || {
   18735     as_dirs=
   18736     while :; do
   18737       case $as_dir in #(
   18738       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
   18739       *) as_qdir=$as_dir;;
   18740       esac
   18741       as_dirs="'$as_qdir' $as_dirs"
   18742       as_dir=`$as_dirname -- "$as_dir" ||
   18743 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   18744 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   18745 	 X"$as_dir" : 'X\(//\)$' \| \
   18746 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
   18747 $as_echo X"$as_dir" |
   18748     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   18749 	    s//\1/
   18750 	    q
   18751 	  }
   18752 	  /^X\(\/\/\)[^/].*/{
   18753 	    s//\1/
   18754 	    q
   18755 	  }
   18756 	  /^X\(\/\/\)$/{
   18757 	    s//\1/
   18758 	    q
   18759 	  }
   18760 	  /^X\(\/\).*/{
   18761 	    s//\1/
   18762 	    q
   18763 	  }
   18764 	  s/.*/./; q'`
   18765       test -d "$as_dir" && break
   18766     done
   18767     test -z "$as_dirs" || eval "mkdir $as_dirs"
   18768   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
   18769 
   18770 
   18771 } # as_fn_mkdir_p
   18772 if mkdir -p . 2>/dev/null; then
   18773   as_mkdir_p='mkdir -p "$as_dir"'
   18774 else
   18775   test -d ./-p && rmdir ./-p
   18776   as_mkdir_p=false
   18777 fi
   18778 
   18779 
   18780 # as_fn_executable_p FILE
   18781 # -----------------------
   18782 # Test if FILE is an executable regular file.
   18783 as_fn_executable_p ()
   18784 {
   18785   test -f "$1" && test -x "$1"
   18786 } # as_fn_executable_p
   18787 as_test_x='test -x'
   18788 as_executable_p=as_fn_executable_p
   18789 
   18790 # Sed expression to map a string onto a valid CPP name.
   18791 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   18792 
   18793 # Sed expression to map a string onto a valid variable name.
   18794 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   18795 
   18796 
   18797 exec 6>&1
   18798 ## ----------------------------------- ##
   18799 ## Main body of $CONFIG_STATUS script. ##
   18800 ## ----------------------------------- ##
   18801 _ASEOF
   18802 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
   18803 
   18804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18805 # Save the log message, to keep $0 and so on meaningful, and to
   18806 # report actual input values of CONFIG_FILES etc. instead of their
   18807 # values after options handling.
   18808 ac_log="
   18809 This file was extended by xf86-video-neomagic $as_me 1.2.9, which was
   18810 generated by GNU Autoconf 2.69.  Invocation command line was
   18811 
   18812   CONFIG_FILES    = $CONFIG_FILES
   18813   CONFIG_HEADERS  = $CONFIG_HEADERS
   18814   CONFIG_LINKS    = $CONFIG_LINKS
   18815   CONFIG_COMMANDS = $CONFIG_COMMANDS
   18816   $ $0 $@
   18817 
   18818 on `(hostname || uname -n) 2>/dev/null | sed 1q`
   18819 "
   18820 
   18821 _ACEOF
   18822 
   18823 case $ac_config_files in *"
   18824 "*) set x $ac_config_files; shift; ac_config_files=$*;;
   18825 esac
   18826 
   18827 case $ac_config_headers in *"
   18828 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
   18829 esac
   18830 
   18831 
   18832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18833 # Files that config.status was made for.
   18834 config_files="$ac_config_files"
   18835 config_headers="$ac_config_headers"
   18836 config_commands="$ac_config_commands"
   18837 
   18838 _ACEOF
   18839 
   18840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18841 ac_cs_usage="\
   18842 \`$as_me' instantiates files and other configuration actions
   18843 from templates according to the current configuration.  Unless the files
   18844 and actions are specified as TAGs, all are instantiated by default.
   18845 
   18846 Usage: $0 [OPTION]... [TAG]...
   18847 
   18848   -h, --help       print this help, then exit
   18849   -V, --version    print version number and configuration settings, then exit
   18850       --config     print configuration, then exit
   18851   -q, --quiet, --silent
   18852                    do not print progress messages
   18853   -d, --debug      don't remove temporary files
   18854       --recheck    update $as_me by reconfiguring in the same conditions
   18855       --file=FILE[:TEMPLATE]
   18856                    instantiate the configuration file FILE
   18857       --header=FILE[:TEMPLATE]
   18858                    instantiate the configuration header FILE
   18859 
   18860 Configuration files:
   18861 $config_files
   18862 
   18863 Configuration headers:
   18864 $config_headers
   18865 
   18866 Configuration commands:
   18867 $config_commands
   18868 
   18869 Report bugs to <https://bugs.freedesktop.org/enter_bug.cgi?product=xorg&component=Driver/Neomagic>."
   18870 
   18871 _ACEOF
   18872 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18873 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
   18874 ac_cs_version="\\
   18875 xf86-video-neomagic config.status 1.2.9
   18876 configured by $0, generated by GNU Autoconf 2.69,
   18877   with options \\"\$ac_cs_config\\"
   18878 
   18879 Copyright (C) 2012 Free Software Foundation, Inc.
   18880 This config.status script is free software; the Free Software Foundation
   18881 gives unlimited permission to copy, distribute and modify it."
   18882 
   18883 ac_pwd='$ac_pwd'
   18884 srcdir='$srcdir'
   18885 INSTALL='$INSTALL'
   18886 MKDIR_P='$MKDIR_P'
   18887 AWK='$AWK'
   18888 test -n "\$AWK" || AWK=awk
   18889 _ACEOF
   18890 
   18891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18892 # The default lists apply if the user does not specify any file.
   18893 ac_need_defaults=:
   18894 while test $# != 0
   18895 do
   18896   case $1 in
   18897   --*=?*)
   18898     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18899     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
   18900     ac_shift=:
   18901     ;;
   18902   --*=)
   18903     ac_option=`expr "X$1" : 'X\([^=]*\)='`
   18904     ac_optarg=
   18905     ac_shift=:
   18906     ;;
   18907   *)
   18908     ac_option=$1
   18909     ac_optarg=$2
   18910     ac_shift=shift
   18911     ;;
   18912   esac
   18913 
   18914   case $ac_option in
   18915   # Handling of the options.
   18916   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   18917     ac_cs_recheck=: ;;
   18918   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
   18919     $as_echo "$ac_cs_version"; exit ;;
   18920   --config | --confi | --conf | --con | --co | --c )
   18921     $as_echo "$ac_cs_config"; exit ;;
   18922   --debug | --debu | --deb | --de | --d | -d )
   18923     debug=: ;;
   18924   --file | --fil | --fi | --f )
   18925     $ac_shift
   18926     case $ac_optarg in
   18927     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18928     '') as_fn_error $? "missing file argument" ;;
   18929     esac
   18930     as_fn_append CONFIG_FILES " '$ac_optarg'"
   18931     ac_need_defaults=false;;
   18932   --header | --heade | --head | --hea )
   18933     $ac_shift
   18934     case $ac_optarg in
   18935     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
   18936     esac
   18937     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
   18938     ac_need_defaults=false;;
   18939   --he | --h)
   18940     # Conflict between --help and --header
   18941     as_fn_error $? "ambiguous option: \`$1'
   18942 Try \`$0 --help' for more information.";;
   18943   --help | --hel | -h )
   18944     $as_echo "$ac_cs_usage"; exit ;;
   18945   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   18946   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   18947     ac_cs_silent=: ;;
   18948 
   18949   # This is an error.
   18950   -*) as_fn_error $? "unrecognized option: \`$1'
   18951 Try \`$0 --help' for more information." ;;
   18952 
   18953   *) as_fn_append ac_config_targets " $1"
   18954      ac_need_defaults=false ;;
   18955 
   18956   esac
   18957   shift
   18958 done
   18959 
   18960 ac_configure_extra_args=
   18961 
   18962 if $ac_cs_silent; then
   18963   exec 6>/dev/null
   18964   ac_configure_extra_args="$ac_configure_extra_args --silent"
   18965 fi
   18966 
   18967 _ACEOF
   18968 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18969 if \$ac_cs_recheck; then
   18970   set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   18971   shift
   18972   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
   18973   CONFIG_SHELL='$SHELL'
   18974   export CONFIG_SHELL
   18975   exec "\$@"
   18976 fi
   18977 
   18978 _ACEOF
   18979 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   18980 exec 5>>config.log
   18981 {
   18982   echo
   18983   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   18984 ## Running $as_me. ##
   18985 _ASBOX
   18986   $as_echo "$ac_log"
   18987 } >&5
   18988 
   18989 _ACEOF
   18990 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   18991 #
   18992 # INIT-COMMANDS
   18993 #
   18994 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   18995 
   18996 
   18997 # The HP-UX ksh and POSIX shell print the target directory to stdout
   18998 # if CDPATH is set.
   18999 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   19000 
   19001 sed_quote_subst='$sed_quote_subst'
   19002 double_quote_subst='$double_quote_subst'
   19003 delay_variable_subst='$delay_variable_subst'
   19004 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
   19005 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
   19006 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
   19007 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
   19008 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
   19009 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
   19010 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
   19011 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
   19012 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
   19013 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
   19014 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
   19015 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
   19016 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
   19017 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
   19018 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
   19019 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
   19020 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
   19021 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
   19022 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
   19023 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
   19024 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
   19025 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
   19026 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
   19027 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
   19028 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
   19029 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
   19030 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
   19031 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
   19032 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
   19033 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
   19034 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
   19035 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
   19036 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
   19037 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
   19038 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
   19039 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
   19040 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
   19041 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
   19042 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
   19043 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
   19044 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
   19045 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
   19046 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
   19047 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
   19048 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
   19049 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19050 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19051 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
   19052 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
   19053 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
   19054 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
   19055 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
   19056 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
   19057 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
   19058 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
   19059 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
   19060 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"`'
   19061 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
   19062 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
   19063 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
   19064 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
   19065 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
   19066 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
   19067 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
   19068 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
   19069 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
   19070 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
   19071 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
   19072 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
   19073 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
   19074 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
   19075 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
   19076 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
   19077 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
   19078 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
   19079 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19080 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
   19081 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
   19082 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
   19083 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
   19084 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
   19085 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
   19086 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
   19087 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
   19088 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19089 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
   19090 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
   19091 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
   19092 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19093 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
   19094 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
   19095 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
   19096 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
   19097 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
   19098 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
   19099 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19100 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
   19101 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
   19102 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
   19103 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
   19104 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
   19105 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
   19106 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
   19107 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
   19108 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
   19109 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
   19110 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
   19111 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
   19112 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
   19113 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
   19114 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
   19115 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
   19116 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
   19117 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
   19118 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
   19119 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
   19120 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
   19121 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
   19122 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
   19123 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
   19124 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
   19125 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
   19126 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
   19127 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
   19128 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
   19129 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
   19130 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
   19131 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
   19132 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
   19133 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
   19134 
   19135 LTCC='$LTCC'
   19136 LTCFLAGS='$LTCFLAGS'
   19137 compiler='$compiler_DEFAULT'
   19138 
   19139 # A function that is used when there is no print builtin or printf.
   19140 func_fallback_echo ()
   19141 {
   19142   eval 'cat <<_LTECHO_EOF
   19143 \$1
   19144 _LTECHO_EOF'
   19145 }
   19146 
   19147 # Quote evaled strings.
   19148 for var in SHELL \
   19149 ECHO \
   19150 PATH_SEPARATOR \
   19151 SED \
   19152 GREP \
   19153 EGREP \
   19154 FGREP \
   19155 LD \
   19156 NM \
   19157 LN_S \
   19158 lt_SP2NL \
   19159 lt_NL2SP \
   19160 reload_flag \
   19161 OBJDUMP \
   19162 deplibs_check_method \
   19163 file_magic_cmd \
   19164 file_magic_glob \
   19165 want_nocaseglob \
   19166 DLLTOOL \
   19167 sharedlib_from_linklib_cmd \
   19168 AR \
   19169 AR_FLAGS \
   19170 archiver_list_spec \
   19171 STRIP \
   19172 RANLIB \
   19173 CC \
   19174 CFLAGS \
   19175 compiler \
   19176 lt_cv_sys_global_symbol_pipe \
   19177 lt_cv_sys_global_symbol_to_cdecl \
   19178 lt_cv_sys_global_symbol_to_c_name_address \
   19179 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
   19180 nm_file_list_spec \
   19181 lt_prog_compiler_no_builtin_flag \
   19182 lt_prog_compiler_pic \
   19183 lt_prog_compiler_wl \
   19184 lt_prog_compiler_static \
   19185 lt_cv_prog_compiler_c_o \
   19186 need_locks \
   19187 MANIFEST_TOOL \
   19188 DSYMUTIL \
   19189 NMEDIT \
   19190 LIPO \
   19191 OTOOL \
   19192 OTOOL64 \
   19193 shrext_cmds \
   19194 export_dynamic_flag_spec \
   19195 whole_archive_flag_spec \
   19196 compiler_needs_object \
   19197 with_gnu_ld \
   19198 allow_undefined_flag \
   19199 no_undefined_flag \
   19200 hardcode_libdir_flag_spec \
   19201 hardcode_libdir_separator \
   19202 exclude_expsyms \
   19203 include_expsyms \
   19204 file_list_spec \
   19205 variables_saved_for_relink \
   19206 libname_spec \
   19207 library_names_spec \
   19208 soname_spec \
   19209 install_override_mode \
   19210 finish_eval \
   19211 old_striplib \
   19212 striplib; do
   19213     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19214     *[\\\\\\\`\\"\\\$]*)
   19215       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   19216       ;;
   19217     *)
   19218       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19219       ;;
   19220     esac
   19221 done
   19222 
   19223 # Double-quote double-evaled strings.
   19224 for var in reload_cmds \
   19225 old_postinstall_cmds \
   19226 old_postuninstall_cmds \
   19227 old_archive_cmds \
   19228 extract_expsyms_cmds \
   19229 old_archive_from_new_cmds \
   19230 old_archive_from_expsyms_cmds \
   19231 archive_cmds \
   19232 archive_expsym_cmds \
   19233 module_cmds \
   19234 module_expsym_cmds \
   19235 export_symbols_cmds \
   19236 prelink_cmds \
   19237 postlink_cmds \
   19238 postinstall_cmds \
   19239 postuninstall_cmds \
   19240 finish_cmds \
   19241 sys_lib_search_path_spec \
   19242 sys_lib_dlsearch_path_spec; do
   19243     case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
   19244     *[\\\\\\\`\\"\\\$]*)
   19245       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   19246       ;;
   19247     *)
   19248       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   19249       ;;
   19250     esac
   19251 done
   19252 
   19253 ac_aux_dir='$ac_aux_dir'
   19254 xsi_shell='$xsi_shell'
   19255 lt_shell_append='$lt_shell_append'
   19256 
   19257 # See if we are running on zsh, and set the options which allow our
   19258 # commands through without removal of \ escapes INIT.
   19259 if test -n "\${ZSH_VERSION+set}" ; then
   19260    setopt NO_GLOB_SUBST
   19261 fi
   19262 
   19263 
   19264     PACKAGE='$PACKAGE'
   19265     VERSION='$VERSION'
   19266     TIMESTAMP='$TIMESTAMP'
   19267     RM='$RM'
   19268     ofile='$ofile'
   19269 
   19270 
   19271 
   19272 
   19273 _ACEOF
   19274 
   19275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19276 
   19277 # Handling of arguments.
   19278 for ac_config_target in $ac_config_targets
   19279 do
   19280   case $ac_config_target in
   19281     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
   19282     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   19283     "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   19284     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   19285     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
   19286     "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
   19287 
   19288   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
   19289   esac
   19290 done
   19291 
   19292 
   19293 # If the user did not use the arguments to specify the items to instantiate,
   19294 # then the envvar interface is used.  Set only those that are not.
   19295 # We use the long form for the default assignment because of an extremely
   19296 # bizarre bug on SunOS 4.1.3.
   19297 if $ac_need_defaults; then
   19298   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   19299   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   19300   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   19301 fi
   19302 
   19303 # Have a temporary directory for convenience.  Make it in the build tree
   19304 # simply because there is no reason against having it here, and in addition,
   19305 # creating and moving files from /tmp can sometimes cause problems.
   19306 # Hook for its removal unless debugging.
   19307 # Note that there is a small window in which the directory will not be cleaned:
   19308 # after its creation but before its name has been assigned to `$tmp'.
   19309 $debug ||
   19310 {
   19311   tmp= ac_tmp=
   19312   trap 'exit_status=$?
   19313   : "${ac_tmp:=$tmp}"
   19314   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
   19315 ' 0
   19316   trap 'as_fn_exit 1' 1 2 13 15
   19317 }
   19318 # Create a (secure) tmp directory for tmp files.
   19319 
   19320 {
   19321   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
   19322   test -d "$tmp"
   19323 }  ||
   19324 {
   19325   tmp=./conf$$-$RANDOM
   19326   (umask 077 && mkdir "$tmp")
   19327 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
   19328 ac_tmp=$tmp
   19329 
   19330 # Set up the scripts for CONFIG_FILES section.
   19331 # No need to generate them if there are no CONFIG_FILES.
   19332 # This happens for instance with `./config.status config.h'.
   19333 if test -n "$CONFIG_FILES"; then
   19334 
   19335 
   19336 ac_cr=`echo X | tr X '\015'`
   19337 # On cygwin, bash can eat \r inside `` if the user requested igncr.
   19338 # But we know of no other shell where ac_cr would be empty at this
   19339 # point, so we can use a bashism as a fallback.
   19340 if test "x$ac_cr" = x; then
   19341   eval ac_cr=\$\'\\r\'
   19342 fi
   19343 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
   19344 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
   19345   ac_cs_awk_cr='\\r'
   19346 else
   19347   ac_cs_awk_cr=$ac_cr
   19348 fi
   19349 
   19350 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
   19351 _ACEOF
   19352 
   19353 
   19354 {
   19355   echo "cat >conf$$subs.awk <<_ACEOF" &&
   19356   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
   19357   echo "_ACEOF"
   19358 } >conf$$subs.sh ||
   19359   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19360 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
   19361 ac_delim='%!_!# '
   19362 for ac_last_try in false false false false false :; do
   19363   . ./conf$$subs.sh ||
   19364     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19365 
   19366   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
   19367   if test $ac_delim_n = $ac_delim_num; then
   19368     break
   19369   elif $ac_last_try; then
   19370     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
   19371   else
   19372     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19373   fi
   19374 done
   19375 rm -f conf$$subs.sh
   19376 
   19377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19378 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
   19379 _ACEOF
   19380 sed -n '
   19381 h
   19382 s/^/S["/; s/!.*/"]=/
   19383 p
   19384 g
   19385 s/^[^!]*!//
   19386 :repl
   19387 t repl
   19388 s/'"$ac_delim"'$//
   19389 t delim
   19390 :nl
   19391 h
   19392 s/\(.\{148\}\)..*/\1/
   19393 t more1
   19394 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
   19395 p
   19396 n
   19397 b repl
   19398 :more1
   19399 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19400 p
   19401 g
   19402 s/.\{148\}//
   19403 t nl
   19404 :delim
   19405 h
   19406 s/\(.\{148\}\)..*/\1/
   19407 t more2
   19408 s/["\\]/\\&/g; s/^/"/; s/$/"/
   19409 p
   19410 b
   19411 :more2
   19412 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
   19413 p
   19414 g
   19415 s/.\{148\}//
   19416 t delim
   19417 ' <conf$$subs.awk | sed '
   19418 /^[^""]/{
   19419   N
   19420   s/\n//
   19421 }
   19422 ' >>$CONFIG_STATUS || ac_write_fail=1
   19423 rm -f conf$$subs.awk
   19424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19425 _ACAWK
   19426 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
   19427   for (key in S) S_is_set[key] = 1
   19428   FS = ""
   19429 
   19430 }
   19431 {
   19432   line = $ 0
   19433   nfields = split(line, field, "@")
   19434   substed = 0
   19435   len = length(field[1])
   19436   for (i = 2; i < nfields; i++) {
   19437     key = field[i]
   19438     keylen = length(key)
   19439     if (S_is_set[key]) {
   19440       value = S[key]
   19441       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
   19442       len += length(value) + length(field[++i])
   19443       substed = 1
   19444     } else
   19445       len += 1 + keylen
   19446   }
   19447 
   19448   print line
   19449 }
   19450 
   19451 _ACAWK
   19452 _ACEOF
   19453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19454 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
   19455   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
   19456 else
   19457   cat
   19458 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
   19459   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
   19460 _ACEOF
   19461 
   19462 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
   19463 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
   19464 # trailing colons and then remove the whole line if VPATH becomes empty
   19465 # (actually we leave an empty line to preserve line numbers).
   19466 if test "x$srcdir" = x.; then
   19467   ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
   19468 h
   19469 s///
   19470 s/^/:/
   19471 s/[	 ]*$/:/
   19472 s/:\$(srcdir):/:/g
   19473 s/:\${srcdir}:/:/g
   19474 s/:@srcdir@:/:/g
   19475 s/^:*//
   19476 s/:*$//
   19477 x
   19478 s/\(=[	 ]*\).*/\1/
   19479 G
   19480 s/\n//
   19481 s/^[^=]*=[	 ]*$//
   19482 }'
   19483 fi
   19484 
   19485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19486 fi # test -n "$CONFIG_FILES"
   19487 
   19488 # Set up the scripts for CONFIG_HEADERS section.
   19489 # No need to generate them if there are no CONFIG_HEADERS.
   19490 # This happens for instance with `./config.status Makefile'.
   19491 if test -n "$CONFIG_HEADERS"; then
   19492 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
   19493 BEGIN {
   19494 _ACEOF
   19495 
   19496 # Transform confdefs.h into an awk script `defines.awk', embedded as
   19497 # here-document in config.status, that substitutes the proper values into
   19498 # config.h.in to produce config.h.
   19499 
   19500 # Create a delimiter string that does not exist in confdefs.h, to ease
   19501 # handling of long lines.
   19502 ac_delim='%!_!# '
   19503 for ac_last_try in false false :; do
   19504   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
   19505   if test -z "$ac_tt"; then
   19506     break
   19507   elif $ac_last_try; then
   19508     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
   19509   else
   19510     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
   19511   fi
   19512 done
   19513 
   19514 # For the awk script, D is an array of macro values keyed by name,
   19515 # likewise P contains macro parameters if any.  Preserve backslash
   19516 # newline sequences.
   19517 
   19518 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
   19519 sed -n '
   19520 s/.\{148\}/&'"$ac_delim"'/g
   19521 t rset
   19522 :rset
   19523 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
   19524 t def
   19525 d
   19526 :def
   19527 s/\\$//
   19528 t bsnl
   19529 s/["\\]/\\&/g
   19530 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19531 D["\1"]=" \3"/p
   19532 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
   19533 d
   19534 :bsnl
   19535 s/["\\]/\\&/g
   19536 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
   19537 D["\1"]=" \3\\\\\\n"\\/p
   19538 t cont
   19539 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
   19540 t cont
   19541 d
   19542 :cont
   19543 n
   19544 s/.\{148\}/&'"$ac_delim"'/g
   19545 t clear
   19546 :clear
   19547 s/\\$//
   19548 t bsnlc
   19549 s/["\\]/\\&/g; s/^/"/; s/$/"/p
   19550 d
   19551 :bsnlc
   19552 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
   19553 b cont
   19554 ' <confdefs.h | sed '
   19555 s/'"$ac_delim"'/"\\\
   19556 "/g' >>$CONFIG_STATUS || ac_write_fail=1
   19557 
   19558 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19559   for (key in D) D_is_set[key] = 1
   19560   FS = ""
   19561 }
   19562 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
   19563   line = \$ 0
   19564   split(line, arg, " ")
   19565   if (arg[1] == "#") {
   19566     defundef = arg[2]
   19567     mac1 = arg[3]
   19568   } else {
   19569     defundef = substr(arg[1], 2)
   19570     mac1 = arg[2]
   19571   }
   19572   split(mac1, mac2, "(") #)
   19573   macro = mac2[1]
   19574   prefix = substr(line, 1, index(line, defundef) - 1)
   19575   if (D_is_set[macro]) {
   19576     # Preserve the white space surrounding the "#".
   19577     print prefix "define", macro P[macro] D[macro]
   19578     next
   19579   } else {
   19580     # Replace #undef with comments.  This is necessary, for example,
   19581     # in the case of _POSIX_SOURCE, which is predefined and required
   19582     # on some systems where configure will not decide to define it.
   19583     if (defundef == "undef") {
   19584       print "/*", prefix defundef, macro, "*/"
   19585       next
   19586     }
   19587   }
   19588 }
   19589 { print }
   19590 _ACAWK
   19591 _ACEOF
   19592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19593   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
   19594 fi # test -n "$CONFIG_HEADERS"
   19595 
   19596 
   19597 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
   19598 shift
   19599 for ac_tag
   19600 do
   19601   case $ac_tag in
   19602   :[FHLC]) ac_mode=$ac_tag; continue;;
   19603   esac
   19604   case $ac_mode$ac_tag in
   19605   :[FHL]*:*);;
   19606   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
   19607   :[FH]-) ac_tag=-:-;;
   19608   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
   19609   esac
   19610   ac_save_IFS=$IFS
   19611   IFS=:
   19612   set x $ac_tag
   19613   IFS=$ac_save_IFS
   19614   shift
   19615   ac_file=$1
   19616   shift
   19617 
   19618   case $ac_mode in
   19619   :L) ac_source=$1;;
   19620   :[FH])
   19621     ac_file_inputs=
   19622     for ac_f
   19623     do
   19624       case $ac_f in
   19625       -) ac_f="$ac_tmp/stdin";;
   19626       *) # Look for the file first in the build tree, then in the source tree
   19627 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
   19628 	 # because $ac_f cannot contain `:'.
   19629 	 test -f "$ac_f" ||
   19630 	   case $ac_f in
   19631 	   [\\/$]*) false;;
   19632 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
   19633 	   esac ||
   19634 	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
   19635       esac
   19636       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
   19637       as_fn_append ac_file_inputs " '$ac_f'"
   19638     done
   19639 
   19640     # Let's still pretend it is `configure' which instantiates (i.e., don't
   19641     # use $as_me), people would be surprised to read:
   19642     #    /* config.h.  Generated by config.status.  */
   19643     configure_input='Generated from '`
   19644 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
   19645 	`' by configure.'
   19646     if test x"$ac_file" != x-; then
   19647       configure_input="$ac_file.  $configure_input"
   19648       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
   19649 $as_echo "$as_me: creating $ac_file" >&6;}
   19650     fi
   19651     # Neutralize special characters interpreted by sed in replacement strings.
   19652     case $configure_input in #(
   19653     *\&* | *\|* | *\\* )
   19654        ac_sed_conf_input=`$as_echo "$configure_input" |
   19655        sed 's/[\\\\&|]/\\\\&/g'`;; #(
   19656     *) ac_sed_conf_input=$configure_input;;
   19657     esac
   19658 
   19659     case $ac_tag in
   19660     *:-:* | *:-) cat >"$ac_tmp/stdin" \
   19661       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
   19662     esac
   19663     ;;
   19664   esac
   19665 
   19666   ac_dir=`$as_dirname -- "$ac_file" ||
   19667 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19668 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   19669 	 X"$ac_file" : 'X\(//\)$' \| \
   19670 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
   19671 $as_echo X"$ac_file" |
   19672     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19673 	    s//\1/
   19674 	    q
   19675 	  }
   19676 	  /^X\(\/\/\)[^/].*/{
   19677 	    s//\1/
   19678 	    q
   19679 	  }
   19680 	  /^X\(\/\/\)$/{
   19681 	    s//\1/
   19682 	    q
   19683 	  }
   19684 	  /^X\(\/\).*/{
   19685 	    s//\1/
   19686 	    q
   19687 	  }
   19688 	  s/.*/./; q'`
   19689   as_dir="$ac_dir"; as_fn_mkdir_p
   19690   ac_builddir=.
   19691 
   19692 case "$ac_dir" in
   19693 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19694 *)
   19695   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
   19696   # A ".." for each directory in $ac_dir_suffix.
   19697   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
   19698   case $ac_top_builddir_sub in
   19699   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
   19700   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
   19701   esac ;;
   19702 esac
   19703 ac_abs_top_builddir=$ac_pwd
   19704 ac_abs_builddir=$ac_pwd$ac_dir_suffix
   19705 # for backward compatibility:
   19706 ac_top_builddir=$ac_top_build_prefix
   19707 
   19708 case $srcdir in
   19709   .)  # We are building in place.
   19710     ac_srcdir=.
   19711     ac_top_srcdir=$ac_top_builddir_sub
   19712     ac_abs_top_srcdir=$ac_pwd ;;
   19713   [\\/]* | ?:[\\/]* )  # Absolute name.
   19714     ac_srcdir=$srcdir$ac_dir_suffix;
   19715     ac_top_srcdir=$srcdir
   19716     ac_abs_top_srcdir=$srcdir ;;
   19717   *) # Relative name.
   19718     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
   19719     ac_top_srcdir=$ac_top_build_prefix$srcdir
   19720     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
   19721 esac
   19722 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
   19723 
   19724 
   19725   case $ac_mode in
   19726   :F)
   19727   #
   19728   # CONFIG_FILE
   19729   #
   19730 
   19731   case $INSTALL in
   19732   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   19733   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
   19734   esac
   19735   ac_MKDIR_P=$MKDIR_P
   19736   case $MKDIR_P in
   19737   [\\/$]* | ?:[\\/]* ) ;;
   19738   */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
   19739   esac
   19740 _ACEOF
   19741 
   19742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19743 # If the template does not know about datarootdir, expand it.
   19744 # FIXME: This hack should be removed a few years after 2.60.
   19745 ac_datarootdir_hack=; ac_datarootdir_seen=
   19746 ac_sed_dataroot='
   19747 /datarootdir/ {
   19748   p
   19749   q
   19750 }
   19751 /@datadir@/p
   19752 /@docdir@/p
   19753 /@infodir@/p
   19754 /@localedir@/p
   19755 /@mandir@/p'
   19756 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
   19757 *datarootdir*) ac_datarootdir_seen=yes;;
   19758 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
   19759   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
   19760 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
   19761 _ACEOF
   19762 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19763   ac_datarootdir_hack='
   19764   s&@datadir@&$datadir&g
   19765   s&@docdir@&$docdir&g
   19766   s&@infodir@&$infodir&g
   19767   s&@localedir@&$localedir&g
   19768   s&@mandir@&$mandir&g
   19769   s&\\\${datarootdir}&$datarootdir&g' ;;
   19770 esac
   19771 _ACEOF
   19772 
   19773 # Neutralize VPATH when `$srcdir' = `.'.
   19774 # Shell code in configure.ac might set extrasub.
   19775 # FIXME: do we really want to maintain this feature?
   19776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
   19777 ac_sed_extra="$ac_vpsub
   19778 $extrasub
   19779 _ACEOF
   19780 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
   19781 :t
   19782 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   19783 s|@configure_input@|$ac_sed_conf_input|;t t
   19784 s&@top_builddir@&$ac_top_builddir_sub&;t t
   19785 s&@top_build_prefix@&$ac_top_build_prefix&;t t
   19786 s&@srcdir@&$ac_srcdir&;t t
   19787 s&@abs_srcdir@&$ac_abs_srcdir&;t t
   19788 s&@top_srcdir@&$ac_top_srcdir&;t t
   19789 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
   19790 s&@builddir@&$ac_builddir&;t t
   19791 s&@abs_builddir@&$ac_abs_builddir&;t t
   19792 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
   19793 s&@INSTALL@&$ac_INSTALL&;t t
   19794 s&@MKDIR_P@&$ac_MKDIR_P&;t t
   19795 $ac_datarootdir_hack
   19796 "
   19797 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
   19798   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19799 
   19800 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
   19801   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
   19802   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
   19803       "$ac_tmp/out"`; test -z "$ac_out"; } &&
   19804   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19805 which seems to be undefined.  Please make sure it is defined" >&5
   19806 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
   19807 which seems to be undefined.  Please make sure it is defined" >&2;}
   19808 
   19809   rm -f "$ac_tmp/stdin"
   19810   case $ac_file in
   19811   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
   19812   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
   19813   esac \
   19814   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19815  ;;
   19816   :H)
   19817   #
   19818   # CONFIG_HEADER
   19819   #
   19820   if test x"$ac_file" != x-; then
   19821     {
   19822       $as_echo "/* $configure_input  */" \
   19823       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
   19824     } >"$ac_tmp/config.h" \
   19825       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19826     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
   19827       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
   19828 $as_echo "$as_me: $ac_file is unchanged" >&6;}
   19829     else
   19830       rm -f "$ac_file"
   19831       mv "$ac_tmp/config.h" "$ac_file" \
   19832 	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
   19833     fi
   19834   else
   19835     $as_echo "/* $configure_input  */" \
   19836       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
   19837       || as_fn_error $? "could not create -" "$LINENO" 5
   19838   fi
   19839 # Compute "$ac_file"'s index in $config_headers.
   19840 _am_arg="$ac_file"
   19841 _am_stamp_count=1
   19842 for _am_header in $config_headers :; do
   19843   case $_am_header in
   19844     $_am_arg | $_am_arg:* )
   19845       break ;;
   19846     * )
   19847       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   19848   esac
   19849 done
   19850 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
   19851 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19852 	 X"$_am_arg" : 'X\(//\)[^/]' \| \
   19853 	 X"$_am_arg" : 'X\(//\)$' \| \
   19854 	 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
   19855 $as_echo X"$_am_arg" |
   19856     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19857 	    s//\1/
   19858 	    q
   19859 	  }
   19860 	  /^X\(\/\/\)[^/].*/{
   19861 	    s//\1/
   19862 	    q
   19863 	  }
   19864 	  /^X\(\/\/\)$/{
   19865 	    s//\1/
   19866 	    q
   19867 	  }
   19868 	  /^X\(\/\).*/{
   19869 	    s//\1/
   19870 	    q
   19871 	  }
   19872 	  s/.*/./; q'`/stamp-h$_am_stamp_count
   19873  ;;
   19874 
   19875   :C)  { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
   19876 $as_echo "$as_me: executing $ac_file commands" >&6;}
   19877  ;;
   19878   esac
   19879 
   19880 
   19881   case $ac_file$ac_mode in
   19882     "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
   19883   # Older Autoconf quotes --file arguments for eval, but not when files
   19884   # are listed without --file.  Let's play safe and only enable the eval
   19885   # if we detect the quoting.
   19886   case $CONFIG_FILES in
   19887   *\'*) eval set x "$CONFIG_FILES" ;;
   19888   *)   set x $CONFIG_FILES ;;
   19889   esac
   19890   shift
   19891   for mf
   19892   do
   19893     # Strip MF so we end up with the name of the file.
   19894     mf=`echo "$mf" | sed -e 's/:.*$//'`
   19895     # Check whether this is an Automake generated Makefile or not.
   19896     # We used to match only the files named 'Makefile.in', but
   19897     # some people rename them; so instead we look at the file content.
   19898     # Grep'ing the first line is not enough: some people post-process
   19899     # each Makefile.in and add a new line on top of each file to say so.
   19900     # Grep'ing the whole file is not good either: AIX grep has a line
   19901     # limit of 2048, but all sed's we know have understand at least 4000.
   19902     if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
   19903       dirpart=`$as_dirname -- "$mf" ||
   19904 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19905 	 X"$mf" : 'X\(//\)[^/]' \| \
   19906 	 X"$mf" : 'X\(//\)$' \| \
   19907 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
   19908 $as_echo X"$mf" |
   19909     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19910 	    s//\1/
   19911 	    q
   19912 	  }
   19913 	  /^X\(\/\/\)[^/].*/{
   19914 	    s//\1/
   19915 	    q
   19916 	  }
   19917 	  /^X\(\/\/\)$/{
   19918 	    s//\1/
   19919 	    q
   19920 	  }
   19921 	  /^X\(\/\).*/{
   19922 	    s//\1/
   19923 	    q
   19924 	  }
   19925 	  s/.*/./; q'`
   19926     else
   19927       continue
   19928     fi
   19929     # Extract the definition of DEPDIR, am__include, and am__quote
   19930     # from the Makefile without running 'make'.
   19931     DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   19932     test -z "$DEPDIR" && continue
   19933     am__include=`sed -n 's/^am__include = //p' < "$mf"`
   19934     test -z "$am__include" && continue
   19935     am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   19936     # Find all dependency output files, they are included files with
   19937     # $(DEPDIR) in their names.  We invoke sed twice because it is the
   19938     # simplest approach to changing $(DEPDIR) to its actual value in the
   19939     # expansion.
   19940     for file in `sed -n "
   19941       s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   19942 	 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
   19943       # Make sure the directory exists.
   19944       test -f "$dirpart/$file" && continue
   19945       fdir=`$as_dirname -- "$file" ||
   19946 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   19947 	 X"$file" : 'X\(//\)[^/]' \| \
   19948 	 X"$file" : 'X\(//\)$' \| \
   19949 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
   19950 $as_echo X"$file" |
   19951     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
   19952 	    s//\1/
   19953 	    q
   19954 	  }
   19955 	  /^X\(\/\/\)[^/].*/{
   19956 	    s//\1/
   19957 	    q
   19958 	  }
   19959 	  /^X\(\/\/\)$/{
   19960 	    s//\1/
   19961 	    q
   19962 	  }
   19963 	  /^X\(\/\).*/{
   19964 	    s//\1/
   19965 	    q
   19966 	  }
   19967 	  s/.*/./; q'`
   19968       as_dir=$dirpart/$fdir; as_fn_mkdir_p
   19969       # echo "creating $dirpart/$file"
   19970       echo '# dummy' > "$dirpart/$file"
   19971     done
   19972   done
   19973 }
   19974  ;;
   19975     "libtool":C)
   19976 
   19977     # See if we are running on zsh, and set the options which allow our
   19978     # commands through without removal of \ escapes.
   19979     if test -n "${ZSH_VERSION+set}" ; then
   19980       setopt NO_GLOB_SUBST
   19981     fi
   19982 
   19983     cfgfile="${ofile}T"
   19984     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   19985     $RM "$cfgfile"
   19986 
   19987     cat <<_LT_EOF >> "$cfgfile"
   19988 #! $SHELL
   19989 
   19990 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   19991 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
   19992 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   19993 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   19994 #
   19995 #   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   19996 #                 2006, 2007, 2008, 2009, 2010, 2011 Free Software
   19997 #                 Foundation, Inc.
   19998 #   Written by Gordon Matzigkeit, 1996
   19999 #
   20000 #   This file is part of GNU Libtool.
   20001 #
   20002 # GNU Libtool is free software; you can redistribute it and/or
   20003 # modify it under the terms of the GNU General Public License as
   20004 # published by the Free Software Foundation; either version 2 of
   20005 # the License, or (at your option) any later version.
   20006 #
   20007 # As a special exception to the GNU General Public License,
   20008 # if you distribute this file as part of a program or library that
   20009 # is built using GNU Libtool, you may include this file under the
   20010 # same distribution terms that you use for the rest of that program.
   20011 #
   20012 # GNU Libtool is distributed in the hope that it will be useful,
   20013 # but WITHOUT ANY WARRANTY; without even the implied warranty of
   20014 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   20015 # GNU General Public License for more details.
   20016 #
   20017 # You should have received a copy of the GNU General Public License
   20018 # along with GNU Libtool; see the file COPYING.  If not, a copy
   20019 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
   20020 # obtained by writing to the Free Software Foundation, Inc.,
   20021 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
   20022 
   20023 
   20024 # The names of the tagged configurations supported by this script.
   20025 available_tags=""
   20026 
   20027 # ### BEGIN LIBTOOL CONFIG
   20028 
   20029 # Whether or not to build static libraries.
   20030 build_old_libs=$enable_static
   20031 
   20032 # Which release of libtool.m4 was used?
   20033 macro_version=$macro_version
   20034 macro_revision=$macro_revision
   20035 
   20036 # Whether or not to build shared libraries.
   20037 build_libtool_libs=$enable_shared
   20038 
   20039 # What type of objects to build.
   20040 pic_mode=$pic_mode
   20041 
   20042 # Whether or not to optimize for fast installation.
   20043 fast_install=$enable_fast_install
   20044 
   20045 # Shell to use when invoking shell scripts.
   20046 SHELL=$lt_SHELL
   20047 
   20048 # An echo program that protects backslashes.
   20049 ECHO=$lt_ECHO
   20050 
   20051 # The PATH separator for the build system.
   20052 PATH_SEPARATOR=$lt_PATH_SEPARATOR
   20053 
   20054 # The host system.
   20055 host_alias=$host_alias
   20056 host=$host
   20057 host_os=$host_os
   20058 
   20059 # The build system.
   20060 build_alias=$build_alias
   20061 build=$build
   20062 build_os=$build_os
   20063 
   20064 # A sed program that does not truncate output.
   20065 SED=$lt_SED
   20066 
   20067 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   20068 Xsed="\$SED -e 1s/^X//"
   20069 
   20070 # A grep program that handles long lines.
   20071 GREP=$lt_GREP
   20072 
   20073 # An ERE matcher.
   20074 EGREP=$lt_EGREP
   20075 
   20076 # A literal string matcher.
   20077 FGREP=$lt_FGREP
   20078 
   20079 # A BSD- or MS-compatible name lister.
   20080 NM=$lt_NM
   20081 
   20082 # Whether we need soft or hard links.
   20083 LN_S=$lt_LN_S
   20084 
   20085 # What is the maximum length of a command?
   20086 max_cmd_len=$max_cmd_len
   20087 
   20088 # Object file suffix (normally "o").
   20089 objext=$ac_objext
   20090 
   20091 # Executable file suffix (normally "").
   20092 exeext=$exeext
   20093 
   20094 # whether the shell understands "unset".
   20095 lt_unset=$lt_unset
   20096 
   20097 # turn spaces into newlines.
   20098 SP2NL=$lt_lt_SP2NL
   20099 
   20100 # turn newlines into spaces.
   20101 NL2SP=$lt_lt_NL2SP
   20102 
   20103 # convert \$build file names to \$host format.
   20104 to_host_file_cmd=$lt_cv_to_host_file_cmd
   20105 
   20106 # convert \$build files to toolchain format.
   20107 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
   20108 
   20109 # An object symbol dumper.
   20110 OBJDUMP=$lt_OBJDUMP
   20111 
   20112 # Method to check whether dependent libraries are shared objects.
   20113 deplibs_check_method=$lt_deplibs_check_method
   20114 
   20115 # Command to use when deplibs_check_method = "file_magic".
   20116 file_magic_cmd=$lt_file_magic_cmd
   20117 
   20118 # How to find potential files when deplibs_check_method = "file_magic".
   20119 file_magic_glob=$lt_file_magic_glob
   20120 
   20121 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
   20122 want_nocaseglob=$lt_want_nocaseglob
   20123 
   20124 # DLL creation program.
   20125 DLLTOOL=$lt_DLLTOOL
   20126 
   20127 # Command to associate shared and link libraries.
   20128 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
   20129 
   20130 # The archiver.
   20131 AR=$lt_AR
   20132 
   20133 # Flags to create an archive.
   20134 AR_FLAGS=$lt_AR_FLAGS
   20135 
   20136 # How to feed a file listing to the archiver.
   20137 archiver_list_spec=$lt_archiver_list_spec
   20138 
   20139 # A symbol stripping program.
   20140 STRIP=$lt_STRIP
   20141 
   20142 # Commands used to install an old-style archive.
   20143 RANLIB=$lt_RANLIB
   20144 old_postinstall_cmds=$lt_old_postinstall_cmds
   20145 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   20146 
   20147 # Whether to use a lock for old archive extraction.
   20148 lock_old_archive_extraction=$lock_old_archive_extraction
   20149 
   20150 # A C compiler.
   20151 LTCC=$lt_CC
   20152 
   20153 # LTCC compiler flags.
   20154 LTCFLAGS=$lt_CFLAGS
   20155 
   20156 # Take the output of nm and produce a listing of raw symbols and C names.
   20157 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   20158 
   20159 # Transform the output of nm in a proper C declaration.
   20160 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   20161 
   20162 # Transform the output of nm in a C name address pair.
   20163 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   20164 
   20165 # Transform the output of nm in a C name address pair when lib prefix is needed.
   20166 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
   20167 
   20168 # Specify filename containing input files for \$NM.
   20169 nm_file_list_spec=$lt_nm_file_list_spec
   20170 
   20171 # The root where to search for dependent libraries,and in which our libraries should be installed.
   20172 lt_sysroot=$lt_sysroot
   20173 
   20174 # The name of the directory that contains temporary libtool files.
   20175 objdir=$objdir
   20176 
   20177 # Used to examine libraries when file_magic_cmd begins with "file".
   20178 MAGIC_CMD=$MAGIC_CMD
   20179 
   20180 # Must we lock files when doing compilation?
   20181 need_locks=$lt_need_locks
   20182 
   20183 # Manifest tool.
   20184 MANIFEST_TOOL=$lt_MANIFEST_TOOL
   20185 
   20186 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
   20187 DSYMUTIL=$lt_DSYMUTIL
   20188 
   20189 # Tool to change global to local symbols on Mac OS X.
   20190 NMEDIT=$lt_NMEDIT
   20191 
   20192 # Tool to manipulate fat objects and archives on Mac OS X.
   20193 LIPO=$lt_LIPO
   20194 
   20195 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
   20196 OTOOL=$lt_OTOOL
   20197 
   20198 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
   20199 OTOOL64=$lt_OTOOL64
   20200 
   20201 # Old archive suffix (normally "a").
   20202 libext=$libext
   20203 
   20204 # Shared library suffix (normally ".so").
   20205 shrext_cmds=$lt_shrext_cmds
   20206 
   20207 # The commands to extract the exported symbol list from a shared archive.
   20208 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   20209 
   20210 # Variables whose values should be saved in libtool wrapper scripts and
   20211 # restored at link time.
   20212 variables_saved_for_relink=$lt_variables_saved_for_relink
   20213 
   20214 # Do we need the "lib" prefix for modules?
   20215 need_lib_prefix=$need_lib_prefix
   20216 
   20217 # Do we need a version for libraries?
   20218 need_version=$need_version
   20219 
   20220 # Library versioning type.
   20221 version_type=$version_type
   20222 
   20223 # Shared library runtime path variable.
   20224 runpath_var=$runpath_var
   20225 
   20226 # Shared library path variable.
   20227 shlibpath_var=$shlibpath_var
   20228 
   20229 # Is shlibpath searched before the hard-coded library search path?
   20230 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   20231 
   20232 # Format of library name prefix.
   20233 libname_spec=$lt_libname_spec
   20234 
   20235 # List of archive names.  First name is the real one, the rest are links.
   20236 # The last name is the one that the linker finds with -lNAME
   20237 library_names_spec=$lt_library_names_spec
   20238 
   20239 # The coded name of the library, if different from the real name.
   20240 soname_spec=$lt_soname_spec
   20241 
   20242 # Permission mode override for installation of shared libraries.
   20243 install_override_mode=$lt_install_override_mode
   20244 
   20245 # Command to use after installation of a shared archive.
   20246 postinstall_cmds=$lt_postinstall_cmds
   20247 
   20248 # Command to use after uninstallation of a shared archive.
   20249 postuninstall_cmds=$lt_postuninstall_cmds
   20250 
   20251 # Commands used to finish a libtool library installation in a directory.
   20252 finish_cmds=$lt_finish_cmds
   20253 
   20254 # As "finish_cmds", except a single script fragment to be evaled but
   20255 # not shown.
   20256 finish_eval=$lt_finish_eval
   20257 
   20258 # Whether we should hardcode library paths into libraries.
   20259 hardcode_into_libs=$hardcode_into_libs
   20260 
   20261 # Compile-time system search path for libraries.
   20262 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   20263 
   20264 # Run-time system search path for libraries.
   20265 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   20266 
   20267 # Whether dlopen is supported.
   20268 dlopen_support=$enable_dlopen
   20269 
   20270 # Whether dlopen of programs is supported.
   20271 dlopen_self=$enable_dlopen_self
   20272 
   20273 # Whether dlopen of statically linked programs is supported.
   20274 dlopen_self_static=$enable_dlopen_self_static
   20275 
   20276 # Commands to strip libraries.
   20277 old_striplib=$lt_old_striplib
   20278 striplib=$lt_striplib
   20279 
   20280 
   20281 # The linker used to build libraries.
   20282 LD=$lt_LD
   20283 
   20284 # How to create reloadable object files.
   20285 reload_flag=$lt_reload_flag
   20286 reload_cmds=$lt_reload_cmds
   20287 
   20288 # Commands used to build an old-style archive.
   20289 old_archive_cmds=$lt_old_archive_cmds
   20290 
   20291 # A language specific compiler.
   20292 CC=$lt_compiler
   20293 
   20294 # Is the compiler the GNU compiler?
   20295 with_gcc=$GCC
   20296 
   20297 # Compiler flag to turn off builtin functions.
   20298 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   20299 
   20300 # Additional compiler flags for building library objects.
   20301 pic_flag=$lt_lt_prog_compiler_pic
   20302 
   20303 # How to pass a linker flag through the compiler.
   20304 wl=$lt_lt_prog_compiler_wl
   20305 
   20306 # Compiler flag to prevent dynamic linking.
   20307 link_static_flag=$lt_lt_prog_compiler_static
   20308 
   20309 # Does compiler simultaneously support -c and -o options?
   20310 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   20311 
   20312 # Whether or not to add -lc for building shared libraries.
   20313 build_libtool_need_lc=$archive_cmds_need_lc
   20314 
   20315 # Whether or not to disallow shared libs when runtime libs are static.
   20316 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   20317 
   20318 # Compiler flag to allow reflexive dlopens.
   20319 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   20320 
   20321 # Compiler flag to generate shared objects directly from archives.
   20322 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   20323 
   20324 # Whether the compiler copes with passing no objects directly.
   20325 compiler_needs_object=$lt_compiler_needs_object
   20326 
   20327 # Create an old-style archive from a shared archive.
   20328 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   20329 
   20330 # Create a temporary old-style archive to link instead of a shared archive.
   20331 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   20332 
   20333 # Commands used to build a shared archive.
   20334 archive_cmds=$lt_archive_cmds
   20335 archive_expsym_cmds=$lt_archive_expsym_cmds
   20336 
   20337 # Commands used to build a loadable module if different from building
   20338 # a shared archive.
   20339 module_cmds=$lt_module_cmds
   20340 module_expsym_cmds=$lt_module_expsym_cmds
   20341 
   20342 # Whether we are building with GNU ld or not.
   20343 with_gnu_ld=$lt_with_gnu_ld
   20344 
   20345 # Flag that allows shared libraries with undefined symbols to be built.
   20346 allow_undefined_flag=$lt_allow_undefined_flag
   20347 
   20348 # Flag that enforces no undefined symbols.
   20349 no_undefined_flag=$lt_no_undefined_flag
   20350 
   20351 # Flag to hardcode \$libdir into a binary during linking.
   20352 # This must work even if \$libdir does not exist
   20353 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   20354 
   20355 # Whether we need a single "-rpath" flag with a separated argument.
   20356 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   20357 
   20358 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20359 # DIR into the resulting binary.
   20360 hardcode_direct=$hardcode_direct
   20361 
   20362 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   20363 # DIR into the resulting binary and the resulting library dependency is
   20364 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   20365 # library is relocated.
   20366 hardcode_direct_absolute=$hardcode_direct_absolute
   20367 
   20368 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   20369 # into the resulting binary.
   20370 hardcode_minus_L=$hardcode_minus_L
   20371 
   20372 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   20373 # into the resulting binary.
   20374 hardcode_shlibpath_var=$hardcode_shlibpath_var
   20375 
   20376 # Set to "yes" if building a shared library automatically hardcodes DIR
   20377 # into the library and all subsequent libraries and executables linked
   20378 # against it.
   20379 hardcode_automatic=$hardcode_automatic
   20380 
   20381 # Set to yes if linker adds runtime paths of dependent libraries
   20382 # to runtime path list.
   20383 inherit_rpath=$inherit_rpath
   20384 
   20385 # Whether libtool must link a program against all its dependency libraries.
   20386 link_all_deplibs=$link_all_deplibs
   20387 
   20388 # Set to "yes" if exported symbols are required.
   20389 always_export_symbols=$always_export_symbols
   20390 
   20391 # The commands to list exported symbols.
   20392 export_symbols_cmds=$lt_export_symbols_cmds
   20393 
   20394 # Symbols that should not be listed in the preloaded symbols.
   20395 exclude_expsyms=$lt_exclude_expsyms
   20396 
   20397 # Symbols that must always be exported.
   20398 include_expsyms=$lt_include_expsyms
   20399 
   20400 # Commands necessary for linking programs (against libraries) with templates.
   20401 prelink_cmds=$lt_prelink_cmds
   20402 
   20403 # Commands necessary for finishing linking programs.
   20404 postlink_cmds=$lt_postlink_cmds
   20405 
   20406 # Specify filename containing input files.
   20407 file_list_spec=$lt_file_list_spec
   20408 
   20409 # How to hardcode a shared library path into an executable.
   20410 hardcode_action=$hardcode_action
   20411 
   20412 # ### END LIBTOOL CONFIG
   20413 
   20414 _LT_EOF
   20415 
   20416   case $host_os in
   20417   aix3*)
   20418     cat <<\_LT_EOF >> "$cfgfile"
   20419 # AIX sometimes has problems with the GCC collect2 program.  For some
   20420 # reason, if we set the COLLECT_NAMES environment variable, the problems
   20421 # vanish in a puff of smoke.
   20422 if test "X${COLLECT_NAMES+set}" != Xset; then
   20423   COLLECT_NAMES=
   20424   export COLLECT_NAMES
   20425 fi
   20426 _LT_EOF
   20427     ;;
   20428   esac
   20429 
   20430 
   20431 ltmain="$ac_aux_dir/ltmain.sh"
   20432 
   20433 
   20434   # We use sed instead of cat because bash on DJGPP gets confused if
   20435   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   20436   # text mode, it properly converts lines to CR/LF.  This bash problem
   20437   # is reportedly fixed, but why not run on old versions too?
   20438   sed '$q' "$ltmain" >> "$cfgfile" \
   20439      || (rm -f "$cfgfile"; exit 1)
   20440 
   20441   if test x"$xsi_shell" = xyes; then
   20442   sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
   20443 func_dirname ()\
   20444 {\
   20445 \    case ${1} in\
   20446 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20447 \      *  ) func_dirname_result="${3}" ;;\
   20448 \    esac\
   20449 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
   20450   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20451     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20452 test 0 -eq $? || _lt_function_replace_fail=:
   20453 
   20454 
   20455   sed -e '/^func_basename ()$/,/^} # func_basename /c\
   20456 func_basename ()\
   20457 {\
   20458 \    func_basename_result="${1##*/}"\
   20459 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20460   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20461     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20462 test 0 -eq $? || _lt_function_replace_fail=:
   20463 
   20464 
   20465   sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
   20466 func_dirname_and_basename ()\
   20467 {\
   20468 \    case ${1} in\
   20469 \      */*) func_dirname_result="${1%/*}${2}" ;;\
   20470 \      *  ) func_dirname_result="${3}" ;;\
   20471 \    esac\
   20472 \    func_basename_result="${1##*/}"\
   20473 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
   20474   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20475     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20476 test 0 -eq $? || _lt_function_replace_fail=:
   20477 
   20478 
   20479   sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
   20480 func_stripname ()\
   20481 {\
   20482 \    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
   20483 \    # positional parameters, so assign one to ordinary parameter first.\
   20484 \    func_stripname_result=${3}\
   20485 \    func_stripname_result=${func_stripname_result#"${1}"}\
   20486 \    func_stripname_result=${func_stripname_result%"${2}"}\
   20487 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
   20488   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20489     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20490 test 0 -eq $? || _lt_function_replace_fail=:
   20491 
   20492 
   20493   sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
   20494 func_split_long_opt ()\
   20495 {\
   20496 \    func_split_long_opt_name=${1%%=*}\
   20497 \    func_split_long_opt_arg=${1#*=}\
   20498 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20499   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20500     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20501 test 0 -eq $? || _lt_function_replace_fail=:
   20502 
   20503 
   20504   sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
   20505 func_split_short_opt ()\
   20506 {\
   20507 \    func_split_short_opt_arg=${1#??}\
   20508 \    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
   20509 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
   20510   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20511     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20512 test 0 -eq $? || _lt_function_replace_fail=:
   20513 
   20514 
   20515   sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
   20516 func_lo2o ()\
   20517 {\
   20518 \    case ${1} in\
   20519 \      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
   20520 \      *)    func_lo2o_result=${1} ;;\
   20521 \    esac\
   20522 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
   20523   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20524     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20525 test 0 -eq $? || _lt_function_replace_fail=:
   20526 
   20527 
   20528   sed -e '/^func_xform ()$/,/^} # func_xform /c\
   20529 func_xform ()\
   20530 {\
   20531     func_xform_result=${1%.*}.lo\
   20532 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
   20533   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20534     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20535 test 0 -eq $? || _lt_function_replace_fail=:
   20536 
   20537 
   20538   sed -e '/^func_arith ()$/,/^} # func_arith /c\
   20539 func_arith ()\
   20540 {\
   20541     func_arith_result=$(( $* ))\
   20542 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
   20543   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20544     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20545 test 0 -eq $? || _lt_function_replace_fail=:
   20546 
   20547 
   20548   sed -e '/^func_len ()$/,/^} # func_len /c\
   20549 func_len ()\
   20550 {\
   20551     func_len_result=${#1}\
   20552 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
   20553   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20554     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20555 test 0 -eq $? || _lt_function_replace_fail=:
   20556 
   20557 fi
   20558 
   20559 if test x"$lt_shell_append" = xyes; then
   20560   sed -e '/^func_append ()$/,/^} # func_append /c\
   20561 func_append ()\
   20562 {\
   20563     eval "${1}+=\\${2}"\
   20564 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
   20565   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20566     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20567 test 0 -eq $? || _lt_function_replace_fail=:
   20568 
   20569 
   20570   sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
   20571 func_append_quoted ()\
   20572 {\
   20573 \    func_quote_for_eval "${2}"\
   20574 \    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
   20575 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
   20576   && mv -f "$cfgfile.tmp" "$cfgfile" \
   20577     || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20578 test 0 -eq $? || _lt_function_replace_fail=:
   20579 
   20580 
   20581   # Save a `func_append' function call where possible by direct use of '+='
   20582   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
   20583     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20584       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20585   test 0 -eq $? || _lt_function_replace_fail=:
   20586 else
   20587   # Save a `func_append' function call even when '+=' is not available
   20588   sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
   20589     && mv -f "$cfgfile.tmp" "$cfgfile" \
   20590       || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
   20591   test 0 -eq $? || _lt_function_replace_fail=:
   20592 fi
   20593 
   20594 if test x"$_lt_function_replace_fail" = x":"; then
   20595   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
   20596 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
   20597 fi
   20598 
   20599 
   20600    mv -f "$cfgfile" "$ofile" ||
   20601     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   20602   chmod +x "$ofile"
   20603 
   20604  ;;
   20605 
   20606   esac
   20607 done # for ac_tag
   20608 
   20609 
   20610 as_fn_exit 0
   20611 _ACEOF
   20612 ac_clean_files=$ac_clean_files_save
   20613 
   20614 test $ac_write_fail = 0 ||
   20615   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
   20616 
   20617 
   20618 # configure is writing to config.log, and then calls config.status.
   20619 # config.status does its own redirection, appending to config.log.
   20620 # Unfortunately, on DOS this fails, as config.log is still kept open
   20621 # by configure, so config.status won't be able to write to it; its
   20622 # output is simply discarded.  So we exec the FD to /dev/null,
   20623 # effectively closing config.log, so it can be properly (re)opened and
   20624 # appended to by config.status.  When coming back to configure, we
   20625 # need to make the FD available again.
   20626 if test "$no_create" != yes; then
   20627   ac_cs_success=:
   20628   ac_config_status_args=
   20629   test "$silent" = yes &&
   20630     ac_config_status_args="$ac_config_status_args --quiet"
   20631   exec 5>/dev/null
   20632   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   20633   exec 5>>config.log
   20634   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   20635   # would make configure fail if this is the last instruction.
   20636   $ac_cs_success || as_fn_exit 1
   20637 fi
   20638 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
   20639   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
   20640 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
   20641 fi
   20642 
   20643